2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for transmission 2.33.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://trac.transmissionbt.com/newticket about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status
=$1; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec
; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo
; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo
; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix
=/usr
/local
694 ac_config_libobj_dir
=.
701 # Identity of this package.
702 PACKAGE_NAME
='transmission'
703 PACKAGE_TARNAME
='transmission'
704 PACKAGE_VERSION
='2.33'
705 PACKAGE_STRING
='transmission 2.33'
706 PACKAGE_BUGREPORT
='http://trac.transmissionbt.com/newticket'
709 ac_unique_file
="libtransmission/transmission.h"
710 # Factoring default headers for most tests.
711 ac_includes_default
="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars
='am__EXEEXT_FALSE
759 transmissionlocaledir
779 INTLTOOL_SERVICE_RULE
781 INTLTOOL_SCHEMAS_RULE
783 INTLTOOL_XML_NOMERGE_RULE
788 INTLTOOL_SOUNDLIST_RULE
795 INTLTOOL_DIRECTORY_RULE
796 INTLTOOL_DESKTOP_RULE
807 LIBAPPINDICATOR_CFLAGS
841 LIBAPPINDICATOR_MINIMUM
905 INSTALL_STRIP_PROGRAM
951 program_transform_name
966 enable_option_checking
972 enable_dependency_tracking
983 enable_libappindicator
991 ac_precious_vars
='build_alias
1017 LIBAPPINDICATOR_CFLAGS
1018 LIBAPPINDICATOR_LIBS
1025 # Initialize some variables set by options.
1027 ac_init_version
=false
1028 ac_unrecognized_opts
=
1029 ac_unrecognized_sep
=
1030 # The variables have the same names as the options, with
1031 # dashes changed to underlines.
1032 cache_file
=/dev
/null
1039 program_transform_name
=s
,x
,x
,
1047 # Installation directory options.
1048 # These are left unexpanded so users can "make install exec_prefix=/foo"
1049 # and all the variables that are supposed to be based on exec_prefix
1050 # by default will actually change.
1051 # Use braces instead of parens because sh, perl, etc. also accept them.
1052 # (The list follows the same order as the GNU Coding Standards.)
1053 bindir
='${exec_prefix}/bin'
1054 sbindir
='${exec_prefix}/sbin'
1055 libexecdir
='${exec_prefix}/libexec'
1056 datarootdir
='${prefix}/share'
1057 datadir
='${datarootdir}'
1058 sysconfdir
='${prefix}/etc'
1059 sharedstatedir
='${prefix}/com'
1060 localstatedir
='${prefix}/var'
1061 includedir
='${prefix}/include'
1062 oldincludedir
='/usr/include'
1063 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1064 infodir
='${datarootdir}/info'
1069 libdir
='${exec_prefix}/lib'
1070 localedir
='${datarootdir}/locale'
1071 mandir
='${datarootdir}/man'
1077 # If the previous option needs an argument, assign it.
1078 if test -n "$ac_prev"; then
1079 eval $ac_prev=\
$ac_option
1085 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1090 # Accept the important Cygnus configure options, so we can diagnose typos.
1092 case $ac_dashdash$ac_option in
1096 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1098 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1099 bindir
=$ac_optarg ;;
1101 -build |
--build |
--buil |
--bui |
--bu)
1102 ac_prev
=build_alias
;;
1103 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1104 build_alias
=$ac_optarg ;;
1106 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1107 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1108 ac_prev
=cache_file
;;
1109 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1110 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1111 cache_file
=$ac_optarg ;;
1113 --config-cache |
-C)
1114 cache_file
=config.cache
;;
1116 -datadir |
--datadir |
--datadi |
--datad)
1118 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1119 datadir
=$ac_optarg ;;
1121 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1122 |
--dataroo |
--dataro |
--datar)
1123 ac_prev
=datarootdir
;;
1124 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1125 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1126 datarootdir
=$ac_optarg ;;
1128 -disable-* |
--disable-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error $?
"invalid feature name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1137 "enable_
$ac_useropt"
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval enable_
$ac_useropt=no
;;
1144 -docdir |
--docdir |
--docdi |
--doc |
--do)
1146 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1147 docdir
=$ac_optarg ;;
1149 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1151 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1152 dvidir
=$ac_optarg ;;
1154 -enable-* |
--enable-*)
1155 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1158 as_fn_error $?
"invalid feature name: $ac_useropt"
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1163 "enable_
$ac_useropt"
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval enable_
$ac_useropt=\
$ac_optarg ;;
1170 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1171 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1172 |
--exec |
--exe |
--ex)
1173 ac_prev
=exec_prefix
;;
1174 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1175 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1176 |
--exec=* |
--exe=* |
--ex=*)
1177 exec_prefix
=$ac_optarg ;;
1179 -gas |
--gas |
--ga |
--g)
1180 # Obsolete; use --with-gas.
1183 -help |
--help |
--hel |
--he |
-h)
1184 ac_init_help
=long
;;
1185 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1186 ac_init_help
=recursive
;;
1187 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1188 ac_init_help
=short
;;
1190 -host |
--host |
--hos |
--ho)
1191 ac_prev
=host_alias
;;
1192 -host=* |
--host=* |
--hos=* |
--ho=*)
1193 host_alias
=$ac_optarg ;;
1195 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1197 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1199 htmldir
=$ac_optarg ;;
1201 -includedir |
--includedir |
--includedi |
--included |
--include \
1202 |
--includ |
--inclu |
--incl |
--inc)
1203 ac_prev
=includedir
;;
1204 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1205 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1206 includedir
=$ac_optarg ;;
1208 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1210 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1211 infodir
=$ac_optarg ;;
1213 -libdir |
--libdir |
--libdi |
--libd)
1215 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1216 libdir
=$ac_optarg ;;
1218 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1219 |
--libexe |
--libex |
--libe)
1220 ac_prev
=libexecdir
;;
1221 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1222 |
--libexe=* |
--libex=* |
--libe=*)
1223 libexecdir
=$ac_optarg ;;
1225 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1226 ac_prev
=localedir
;;
1227 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1228 localedir
=$ac_optarg ;;
1230 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1231 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1232 ac_prev
=localstatedir
;;
1233 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1234 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1235 localstatedir
=$ac_optarg ;;
1237 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1239 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1240 mandir
=$ac_optarg ;;
1242 -nfp |
--nfp |
--nf)
1243 # Obsolete; use --without-fp.
1246 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1247 |
--no-cr |
--no-c |
-n)
1250 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1251 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1254 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1255 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1256 |
--oldin |
--oldi |
--old |
--ol |
--o)
1257 ac_prev
=oldincludedir
;;
1258 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1259 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1260 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1261 oldincludedir
=$ac_optarg ;;
1263 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1265 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1266 prefix
=$ac_optarg ;;
1268 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1269 |
--program-pre |
--program-pr |
--program-p)
1270 ac_prev
=program_prefix
;;
1271 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1272 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1273 program_prefix
=$ac_optarg ;;
1275 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1276 |
--program-suf |
--program-su |
--program-s)
1277 ac_prev
=program_suffix
;;
1278 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1279 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1280 program_suffix
=$ac_optarg ;;
1282 -program-transform-name |
--program-transform-name \
1283 |
--program-transform-nam |
--program-transform-na \
1284 |
--program-transform-n |
--program-transform- \
1285 |
--program-transform |
--program-transfor \
1286 |
--program-transfo |
--program-transf \
1287 |
--program-trans |
--program-tran \
1288 |
--progr-tra |
--program-tr |
--program-t)
1289 ac_prev
=program_transform_name
;;
1290 -program-transform-name=* |
--program-transform-name=* \
1291 |
--program-transform-nam=* |
--program-transform-na=* \
1292 |
--program-transform-n=* |
--program-transform-=* \
1293 |
--program-transform=* |
--program-transfor=* \
1294 |
--program-transfo=* |
--program-transf=* \
1295 |
--program-trans=* |
--program-tran=* \
1296 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1297 program_transform_name
=$ac_optarg ;;
1299 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1301 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1302 pdfdir
=$ac_optarg ;;
1304 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1306 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1309 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1310 |
-silent |
--silent |
--silen |
--sile |
--sil)
1313 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1315 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1317 sbindir
=$ac_optarg ;;
1319 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1320 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1321 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1323 ac_prev
=sharedstatedir
;;
1324 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1325 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1326 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1328 sharedstatedir
=$ac_optarg ;;
1330 -site |
--site |
--sit)
1332 -site=* |
--site=* |
--sit=*)
1335 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1337 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1338 srcdir
=$ac_optarg ;;
1340 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1341 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1342 ac_prev
=sysconfdir
;;
1343 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1344 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1345 sysconfdir
=$ac_optarg ;;
1347 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1348 ac_prev
=target_alias
;;
1349 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1350 target_alias
=$ac_optarg ;;
1352 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1355 -version |
--version |
--versio |
--versi |
--vers |
-V)
1356 ac_init_version
=: ;;
1359 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1360 # Reject names that are not valid shell variable names.
1361 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1362 as_fn_error $?
"invalid package name: $ac_useropt"
1363 ac_useropt_orig
=$ac_useropt
1364 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1365 case $ac_user_opts in
1369 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1370 ac_unrecognized_sep
=', ';;
1372 eval with_
$ac_useropt=\
$ac_optarg ;;
1374 -without-* |
--without-*)
1375 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1378 as_fn_error $?
"invalid package name: $ac_useropt"
1379 ac_useropt_orig
=$ac_useropt
1380 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1381 case $ac_user_opts in
1385 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1386 ac_unrecognized_sep
=', ';;
1388 eval with_
$ac_useropt=no
;;
1391 # Obsolete; use --with-x.
1394 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1395 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1396 ac_prev
=x_includes
;;
1397 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1398 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1399 x_includes
=$ac_optarg ;;
1401 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1402 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1403 ac_prev
=x_libraries
;;
1404 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1405 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1406 x_libraries
=$ac_optarg ;;
1408 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1409 Try \`$0 --help' for more information"
1413 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 case $ac_envvar in #(
1416 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1417 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1419 eval $ac_envvar=\
$ac_optarg
1420 export $ac_envvar ;;
1423 # FIXME: should be removed in autoconf 3.0.
1424 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1425 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1426 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1427 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1433 if test -n "$ac_prev"; then
1434 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1435 as_fn_error $?
"missing argument to $ac_option"
1438 if test -n "$ac_unrecognized_opts"; then
1439 case $enable_option_checking in
1441 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1442 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1446 # Check all directory arguments for consistency.
1447 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1448 datadir sysconfdir sharedstatedir localstatedir includedir \
1449 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1450 libdir localedir mandir
1452 eval ac_val
=\$
$ac_var
1453 # Remove trailing slashes.
1456 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1457 eval $ac_var=\
$ac_val;;
1459 # Be sure to have absolute directory names.
1461 [\\/$
]* | ?
:[\\/]* ) continue;;
1462 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1464 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1467 # There might be people who depend on the old broken behavior: `$host'
1468 # used to hold the argument of --host etc.
1469 # FIXME: To remove some day.
1472 target
=$target_alias
1474 # FIXME: To remove some day.
1475 if test "x$host_alias" != x
; then
1476 if test "x$build_alias" = x
; then
1477 cross_compiling
=maybe
1478 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1479 If a cross compiler is detected then cross compile mode will be used" >&2
1480 elif test "x$build_alias" != "x$host_alias"; then
1486 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1488 test "$silent" = yes && exec 6>/dev
/null
1491 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1492 ac_ls_di
=`ls -di .` &&
1493 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1494 as_fn_error $?
"working directory cannot be determined"
1495 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1496 as_fn_error $?
"pwd does not report name of working directory"
1499 # Find the source files, if location was not specified.
1500 if test -z "$srcdir"; then
1501 ac_srcdir_defaulted
=yes
1502 # Try the directory containing this script, then the parent directory.
1503 ac_confdir
=`$as_dirname -- "$as_myself" ||
1504 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1505 X"$as_myself" : 'X\(//\)[^/]' \| \
1506 X"$as_myself" : 'X\(//\)$' \| \
1507 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1508 $as_echo X"$as_myself" |
1509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1527 if test ! -r "$srcdir/$ac_unique_file"; then
1531 ac_srcdir_defaulted
=no
1533 if test ! -r "$srcdir/$ac_unique_file"; then
1534 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1535 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1537 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1539 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1541 # When building in place, set srcdir=.
1542 if test "$ac_abs_confdir" = "$ac_pwd"; then
1545 # Remove unnecessary trailing slashes from srcdir.
1546 # Double slashes in file names in object file debugging info
1547 # mess up M-x gdb in Emacs.
1549 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1551 for ac_var
in $ac_precious_vars; do
1552 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1553 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1554 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1555 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1559 # Report the --help message.
1561 if test "$ac_init_help" = "long"; then
1562 # Omit some internal or obsolete options to make the list less imposing.
1563 # This message is too long to be a string in the A/UX 3.1 sh.
1565 \`configure' configures transmission 2.33 to adapt to many kinds of systems.
1567 Usage: $0 [OPTION]... [VAR=VALUE]...
1569 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1570 VAR=VALUE. See below for descriptions of some of the useful variables.
1572 Defaults for the options are specified in brackets.
1575 -h, --help display this help and exit
1576 --help=short display options specific to this package
1577 --help=recursive display the short help of all the included packages
1578 -V, --version display version information and exit
1579 -q, --quiet, --silent do not print \`checking ...' messages
1580 --cache-file=FILE cache test results in FILE [disabled]
1581 -C, --config-cache alias for \`--cache-file=config.cache'
1582 -n, --no-create do not create output files
1583 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1585 Installation directories:
1586 --prefix=PREFIX install architecture-independent files in PREFIX
1587 [$ac_default_prefix]
1588 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1591 By default, \`make install' will install all the files in
1592 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1593 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1594 for instance \`--prefix=\$HOME'.
1596 For better control, use the options below.
1598 Fine tuning of the installation directories:
1599 --bindir=DIR user executables [EPREFIX/bin]
1600 --sbindir=DIR system admin executables [EPREFIX/sbin]
1601 --libexecdir=DIR program executables [EPREFIX/libexec]
1602 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1603 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1604 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1605 --libdir=DIR object code libraries [EPREFIX/lib]
1606 --includedir=DIR C header files [PREFIX/include]
1607 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1608 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1609 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1610 --infodir=DIR info documentation [DATAROOTDIR/info]
1611 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1612 --mandir=DIR man documentation [DATAROOTDIR/man]
1613 --docdir=DIR documentation root [DATAROOTDIR/doc/transmission]
1614 --htmldir=DIR html documentation [DOCDIR]
1615 --dvidir=DIR dvi documentation [DOCDIR]
1616 --pdfdir=DIR pdf documentation [DOCDIR]
1617 --psdir=DIR ps documentation [DOCDIR]
1623 --program-prefix=PREFIX prepend PREFIX to installed program names
1624 --program-suffix=SUFFIX append SUFFIX to installed program names
1625 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1628 --build=BUILD configure
for building on BUILD
[guessed
]
1629 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1633 if test -n "$ac_init_help"; then
1634 case $ac_init_help in
1635 short | recursive
) echo "Configuration of transmission 2.33:";;
1640 --disable-option-checking ignore unrecognized
--enable/--with options
1641 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1642 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1643 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1644 --disable-silent-rules verbose build output (undo: `make V
=0')
1645 --enable-shared[=PKGS] build shared libraries [default=yes]
1646 --enable-static[=PKGS] build static libraries [default=yes]
1647 --enable-fast-install[=PKGS]
1648 optimize for fast installation [default=yes]
1649 --disable-dependency-tracking speeds up one-time build
1650 --enable-dependency-tracking do not reject slow dependency extractors
1651 --disable-libtool-lock avoid locking (might break parallel builds)
1652 --disable-largefile omit support for large files
1653 --enable-utp build µTP support
1654 --enable-gtk build gtk client
1655 --enable-libnotify enable notifications
1656 --enable-libappindicator
1657 enable AppIndicator support
1658 --enable-libcanberra enable sounds
1659 --enable-nls enable native language support
1660 --disable-nls do not use Native Language Support
1661 --enable-lightweight optimize libtransmission for low-resource systems:
1662 smaller cache size, prefer unencrypted peer
1664 --enable-cli build command-line client
1665 --enable-mac build Mac client
1666 --enable-daemon build daemon
1669 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1670 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1671 --with-pic try to use only PIC/non-PIC objects [default=use
1673 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1674 --with-zlib=DIR search for ZLIB in DIR/include and DIR/lib
1675 --with-zlib-includes=DIR
1676 search for ZLIB includes in DIR
1677 --with-inotify Enable inotify support (default=auto)
1678 --with-kqueue Enable kqueue support (default=auto)
1680 Some influential environment variables:
1681 CC C compiler command
1682 CFLAGS C compiler flags
1683 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1684 nonstandard directory <lib dir>
1685 LIBS libraries to pass to the linker, e.g. -l<library>
1686 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1687 you have headers in a nonstandard directory <include dir>
1689 CXX C++ compiler command
1690 CXXFLAGS C++ compiler flags
1691 CXXCPP C++ preprocessor
1692 PKG_CONFIG path to pkg-config utility
1694 C compiler flags for OPENSSL, overriding pkg-config
1696 linker flags for OPENSSL, overriding pkg-config
1698 C compiler flags for LIBCURL, overriding pkg-config
1700 linker flags for LIBCURL, overriding pkg-config
1702 C compiler flags for LIBEVENT, overriding pkg-config
1704 linker flags for LIBEVENT, overriding pkg-config
1705 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1706 GTK_LIBS linker flags for GTK, overriding pkg-config
1707 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1708 GIO_LIBS linker flags for GIO, overriding pkg-config
1710 C compiler flags for LIBNOTIFY, overriding pkg-config
1712 linker flags for LIBNOTIFY, overriding pkg-config
1713 LIBAPPINDICATOR_CFLAGS
1714 C compiler flags for LIBAPPINDICATOR, overriding pkg-config
1715 LIBAPPINDICATOR_LIBS
1716 linker flags for LIBAPPINDICATOR, overriding pkg-config
1718 C compiler flags for LIBCANBERRA, overriding pkg-config
1720 linker flags for LIBCANBERRA, overriding pkg-config
1722 C compiler flags for DBUS_GLIB, overriding pkg-config
1724 linker flags for DBUS_GLIB, overriding pkg-config
1726 Use these variables to override the choices made by `configure' or to
help
1727 it to
find libraries and programs with nonstandard names
/locations.
1729 Report bugs to
<http
://trac.transmissionbt.com
/newticket
>.
1734 if test "$ac_init_help" = "recursive"; then
1735 # If there are subdirs, report their specific --help.
1736 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1737 test -d "$ac_dir" ||
1738 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1743 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1745 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1746 # A ".." for each directory in $ac_dir_suffix.
1747 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1748 case $ac_top_builddir_sub in
1749 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1750 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1753 ac_abs_top_builddir
=$ac_pwd
1754 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1755 # for backward compatibility:
1756 ac_top_builddir
=$ac_top_build_prefix
1759 .
) # We are building in place.
1761 ac_top_srcdir
=$ac_top_builddir_sub
1762 ac_abs_top_srcdir
=$ac_pwd ;;
1763 [\\/]* | ?
:[\\/]* ) # Absolute name.
1764 ac_srcdir
=$srcdir$ac_dir_suffix;
1765 ac_top_srcdir
=$srcdir
1766 ac_abs_top_srcdir
=$srcdir ;;
1768 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1769 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1770 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1772 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1774 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1775 # Check for guested configure.
1776 if test -f "$ac_srcdir/configure.gnu"; then
1778 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1779 elif test -f "$ac_srcdir/configure"; then
1781 $SHELL "$ac_srcdir/configure" --help=recursive
1783 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1785 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1789 test -n "$ac_init_help" && exit $ac_status
1790 if $ac_init_version; then
1792 transmission configure
2.33
1793 generated by GNU Autoconf
2.67
1795 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1796 This configure
script is free software
; the Free Software Foundation
1797 gives unlimited permission to copy
, distribute and modify it.
1802 ## ------------------------ ##
1803 ## Autoconf initialization. ##
1804 ## ------------------------ ##
1806 # ac_fn_c_try_compile LINENO
1807 # --------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_c_try_compile
()
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 rm -f conftest.
$ac_objext
1813 if { { ac_try
="$ac_compile"
1815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_c_try_compile
1844 # ac_fn_c_try_link LINENO
1845 # -----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 rm -f conftest.$ac_objext conftest$ac_exeext
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1854 *) ac_try_echo
=$ac_try;;
1856 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>conftest.err
1860 if test -s conftest.err
; then
1861 grep -v '^ *+' conftest.err
>conftest.er1
1862 cat conftest.er1
>&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && {
1867 test -z "$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1869 } && test -s conftest
$ac_exeext && {
1870 test "$cross_compiling" = yes ||
1871 $as_test_x conftest
$ac_exeext
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.
$ac_ext >&5
1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882 # interfere with the next link command; also delete a directory that is
1883 # left behind by Apple's compiler. We do this before executing the actions.
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1886 as_fn_set_status
$ac_retval
1888 } # ac_fn_c_try_link
1890 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1891 # -------------------------------------------------------
1892 # Tests whether HEADER exists and can be compiled using the include files in
1893 # INCLUDES, setting the cache variable VAR accordingly.
1894 ac_fn_c_check_header_compile
()
1896 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval "test \"\${$3+set}\"" = set; then :
1900 $as_echo_n "(cached) " >&6
1902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1907 if ac_fn_c_try_compile
"$LINENO"; then :
1912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916 $as_echo "$ac_res" >&6; }
1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1919 } # ac_fn_c_check_header_compile
1921 # ac_fn_c_try_cpp LINENO
1922 # ----------------------
1923 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1926 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1927 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1930 *) ac_try_echo=$ac_try;;
1932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1933 $as_echo "$ac_try_echo"; } >&5
1934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1936 if test -s conftest.err; then
1937 grep -v '^ *+' conftest.err >conftest.er1
1938 cat conftest.er1 >&5
1939 mv -f conftest.er1 conftest.err
1941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test $ac_status = 0; } > conftest.i && {
1943 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1944 test ! -s conftest.err
1948 $as_echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.$ac_ext >&5
1953 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1954 as_fn_set_status $ac_retval
1958 # ac_fn_c_try_run LINENO
1959 # ----------------------
1960 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1961 # that executables *can* be run.
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_link"
1967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1968 *) ac_try_echo
=$ac_try;;
1970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_link") 2>&5
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1976 { { case "(($ac_try" in
1977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_try") 2>&5
1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1985 test $ac_status = 0; }; }; then :
1988 $as_echo "$as_me: program exited with status $ac_status" >&5
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1992 ac_retval=$ac_status
1994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1996 as_fn_set_status $ac_retval
2000 # ac_fn_c_check_func LINENO FUNC VAR
2001 # ----------------------------------
2002 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2003 ac_fn_c_check_func ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval "test \"\${$3+set}\"" = set; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2013 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2015 #define $2 innocuous_$2
2017 /* System header to define __stub macros and hopefully few prototypes,
2018 which can conflict with char $2 (); below.
2019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2020 <limits.h> exists even on freestanding compilers. */
2023 # include <limits.h>
2025 # include <assert.h>
2030 /* Override any GCC internal prototype to avoid an error.
2031 Use char because int might match the return type of a GCC
2032 builtin and then its argument prototype would still apply. */
2037 /* The GNU C library defines this for functions which it implements
2038 to always fail with ENOSYS. Some functions are actually named
2039 something starting with __ and the normal name is an alias. */
2040 #if defined __stub_$2 || defined __stub___$2
2052 if ac_fn_c_try_link "$LINENO"; then :
2057 rm -f core conftest.err conftest.$ac_objext \
2058 conftest$ac_exeext conftest.$ac_ext
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2063 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 } # ac_fn_c_check_func
2067 # ac_fn_cxx_try_compile LINENO
2068 # ----------------------------
2069 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2070 ac_fn_cxx_try_compile ()
2072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2073 rm -f conftest.$ac_objext
2074 if { { ac_try="$ac_compile"
2076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2077 *) ac_try_echo
=$ac_try;;
2079 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2080 $as_echo "$ac_try_echo"; } >&5
2081 (eval "$ac_compile") 2>conftest.err
2083 if test -s conftest.err
; then
2084 grep -v '^ *+' conftest.err
>conftest.er1
2085 cat conftest.er1
>&5
2086 mv -f conftest.er1 conftest.err
2088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2089 test $ac_status = 0; } && {
2090 test -z "$ac_cxx_werror_flag" ||
2091 test ! -s conftest.err
2092 } && test -s conftest.
$ac_objext; then :
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.
$ac_ext >&5
2100 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2101 as_fn_set_status
$ac_retval
2103 } # ac_fn_cxx_try_compile
2105 # ac_fn_cxx_try_cpp LINENO
2106 # ------------------------
2107 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2108 ac_fn_cxx_try_cpp
()
2110 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2111 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2114 *) ac_try_echo=$ac_try;;
2116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2117 $as_echo "$ac_try_echo"; } >&5
2118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2120 if test -s conftest.err; then
2121 grep -v '^ *+' conftest.err >conftest.er1
2122 cat conftest.er1 >&5
2123 mv -f conftest.er1 conftest.err
2125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 test $ac_status = 0; } > conftest.i && {
2127 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2128 test ! -s conftest.err
2132 $as_echo "$as_me: failed program was:" >&5
2133 sed 's/^/| /' conftest.$ac_ext >&5
2137 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2138 as_fn_set_status $ac_retval
2140 } # ac_fn_cxx_try_cpp
2142 # ac_fn_cxx_try_link LINENO
2143 # -------------------------
2144 # Try to link conftest.$ac_ext, and return whether this succeeded.
2145 ac_fn_cxx_try_link ()
2147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148 rm -f conftest.$ac_objext conftest$ac_exeext
2149 if { { ac_try="$ac_link"
2151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2152 *) ac_try_echo
=$ac_try;;
2154 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2155 $as_echo "$ac_try_echo"; } >&5
2156 (eval "$ac_link") 2>conftest.err
2158 if test -s conftest.err
; then
2159 grep -v '^ *+' conftest.err
>conftest.er1
2160 cat conftest.er1
>&5
2161 mv -f conftest.er1 conftest.err
2163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2164 test $ac_status = 0; } && {
2165 test -z "$ac_cxx_werror_flag" ||
2166 test ! -s conftest.err
2167 } && test -s conftest
$ac_exeext && {
2168 test "$cross_compiling" = yes ||
2169 $as_test_x conftest
$ac_exeext
2173 $as_echo "$as_me: failed program was:" >&5
2174 sed 's/^/| /' conftest.
$ac_ext >&5
2178 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2179 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2180 # interfere with the next link command; also delete a directory that is
2181 # left behind by Apple's compiler. We do this before executing the actions.
2182 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2183 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2184 as_fn_set_status
$ac_retval
2186 } # ac_fn_cxx_try_link
2188 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2189 # -------------------------------------------------------
2190 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2191 # the include files in INCLUDES and setting the cache variable VAR
2193 ac_fn_c_check_header_mongrel
()
2195 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2196 if eval "test \"\${$3+set}\"" = set; then :
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198 $as_echo_n "checking for $2... " >&6; }
2199 if eval "test \"\${$3+set}\"" = set; then :
2200 $as_echo_n "(cached) " >&6
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2206 # Is the header compilable?
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2208 $as_echo_n "checking $2 usability... " >&6; }
2209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2214 if ac_fn_c_try_compile
"$LINENO"; then :
2215 ac_header_compiler
=yes
2217 ac_header_compiler
=no
2219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2221 $as_echo "$ac_header_compiler" >&6; }
2223 # Is the header present?
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2225 $as_echo_n "checking $2 presence... " >&6; }
2226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2230 if ac_fn_c_try_cpp
"$LINENO"; then :
2231 ac_header_preproc
=yes
2233 ac_header_preproc
=no
2235 rm -f conftest.err conftest.i conftest.
$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2237 $as_echo "$ac_header_preproc" >&6; }
2239 # So? What about this header?
2240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2243 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2245 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2249 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2251 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2253 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2255 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 ( $as_echo "## ------------------------------------------------------- ##
2259 ## Report this to http://trac.transmissionbt.com/newticket ##
2260 ## ------------------------------------------------------- ##"
2261 ) |
sed "s/^/$as_me: WARNING: /" >&2
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2265 $as_echo_n "checking for $2... " >&6; }
2266 if eval "test \"\${$3+set}\"" = set; then :
2267 $as_echo_n "(cached) " >&6
2269 eval "$3=\$ac_header_compiler"
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2275 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2277 } # ac_fn_c_check_header_mongrel
2279 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2280 # ---------------------------------------------
2281 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2283 ac_fn_c_check_decl
()
2285 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2286 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2287 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2289 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2290 if eval "test \"\${$3+set}\"" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2299 #ifndef $as_decl_name
2301 (void) $as_decl_use;
2303 (void) $as_decl_name;
2311 if ac_fn_c_try_compile
"$LINENO"; then :
2316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2320 $as_echo "$ac_res" >&6; }
2321 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2323 } # ac_fn_c_check_decl
2324 cat >config.log
<<_ACEOF
2325 This file contains any messages produced by compilers while
2326 running configure, to aid debugging if configure makes a mistake.
2328 It was created by transmission $as_me 2.33, which was
2329 generated by GNU Autoconf 2.67. Invocation command line was
2341 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2342 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2343 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2344 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2345 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2347 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2348 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2350 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2351 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2352 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2353 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2354 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2355 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2356 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 $as_echo "PATH: $as_dir"
2381 # Keep a trace of the command line.
2382 # Strip out --no-create and --no-recursion so they do not pile up.
2383 # Strip out --silent because we don't want to record it for future runs.
2384 # Also quote any args containing shell meta-characters.
2385 # Make two passes to allow for proper duplicate-argument suppression.
2389 ac_must_keep_next
=false
2395 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2396 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2397 |
-silent |
--silent |
--silen |
--sile |
--sil)
2400 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2403 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2405 as_fn_append ac_configure_args1
" '$ac_arg'"
2406 if test $ac_must_keep_next = true
; then
2407 ac_must_keep_next
=false
# Got value, back to normal.
2410 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2411 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2412 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2413 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2414 case "$ac_configure_args0 " in
2415 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2418 -* ) ac_must_keep_next
=true
;;
2421 as_fn_append ac_configure_args
" '$ac_arg'"
2426 { ac_configure_args0
=; unset ac_configure_args0
;}
2427 { ac_configure_args1
=; unset ac_configure_args1
;}
2429 # When interrupted or exit'd, cleanup temporary files, and complete
2430 # config.log. We remove comments because anyway the quotes in there
2431 # would cause problems or look ugly.
2432 # WARNING: Use '\'' to represent an apostrophe within the trap.
2433 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2434 trap 'exit_status=$?
2435 # Save into config.log some information that might help in debugging.
2439 $as_echo "## ---------------- ##
2440 ## Cache variables. ##
2441 ## ---------------- ##"
2443 # The following way of writing the cache mishandles newlines in values,
2445 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2446 eval ac_val=\$$ac_var
2450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2454 _ | IFS | as_nl) ;; #(
2455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2456 *) { eval $ac_var=; unset $ac_var;} ;;
2461 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2462 *${as_nl}ac_space=\ *)
2464 "s/'\''/'\''\\\\'\'''\''/g;
2465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2475 $as_echo "## ----------------- ##
2476 ## Output variables. ##
2477 ## ----------------- ##"
2479 for ac_var in $ac_subst_vars
2481 eval ac_val=\$$ac_var
2483 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2485 $as_echo "$ac_var='\''$ac_val'\''"
2489 if test -n "$ac_subst_files"; then
2490 $as_echo "## ------------------- ##
2491 ## File substitutions. ##
2492 ## ------------------- ##"
2494 for ac_var
in $ac_subst_files
2496 eval ac_val
=\$
$ac_var
2498 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2500 $as_echo "$ac_var='\''$ac_val'\''"
2505 if test -s confdefs.h; then
2506 $as_echo "## ----------- ##
2513 test "$ac_signal" != 0 &&
2514 $as_echo "$as_me: caught signal $ac_signal"
2515 $as_echo "$as_me: exit $exit_status"
2517 rm -f core *.core core.conftest.* &&
2518 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2521 for ac_signal
in 1 2 13 15; do
2522 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2527 rm -f -r conftest
* confdefs.h
2529 $as_echo "/* confdefs.h */" > confdefs.h
2531 # Predefined preprocessor variables.
2533 cat >>confdefs.h
<<_ACEOF
2534 #define PACKAGE_NAME "$PACKAGE_NAME"
2537 cat >>confdefs.h
<<_ACEOF
2538 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2541 cat >>confdefs.h
<<_ACEOF
2542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2545 cat >>confdefs.h
<<_ACEOF
2546 #define PACKAGE_STRING "$PACKAGE_STRING"
2549 cat >>confdefs.h
<<_ACEOF
2550 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2553 cat >>confdefs.h
<<_ACEOF
2554 #define PACKAGE_URL "$PACKAGE_URL"
2558 # Let the site file select an alternate cache file if it wants to.
2559 # Prefer an explicitly selected file to automatically selected ones.
2562 if test -n "$CONFIG_SITE"; then
2563 # We do not want a PATH search for config.site.
2564 case $CONFIG_SITE in #((
2565 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2566 */*) ac_site_file1
=$CONFIG_SITE;;
2567 *) ac_site_file1
=.
/$CONFIG_SITE;;
2569 elif test "x$prefix" != xNONE
; then
2570 ac_site_file1
=$prefix/share
/config.site
2571 ac_site_file2
=$prefix/etc
/config.site
2573 ac_site_file1
=$ac_default_prefix/share
/config.site
2574 ac_site_file2
=$ac_default_prefix/etc
/config.site
2576 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2578 test "x$ac_site_file" = xNONE
&& continue
2579 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2581 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2582 sed 's/^/| /' "$ac_site_file" >&5
2584 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2586 as_fn_error $?
"failed to load site script $ac_site_file
2587 See \`config.log' for more details" "$LINENO" 5 ; }
2591 if test -r "$cache_file"; then
2592 # Some versions of bash will fail to source /dev/null (special files
2593 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2594 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2596 $as_echo "$as_me: loading cache $cache_file" >&6;}
2598 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2599 *) .
"./$cache_file";;
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2604 $as_echo "$as_me: creating cache $cache_file" >&6;}
2608 # Check that the precious variables saved in the cache have kept the same
2610 ac_cache_corrupted
=false
2611 for ac_var
in $ac_precious_vars; do
2612 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2613 eval ac_new_set
=\
$ac_env_${ac_var}_set
2614 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2615 eval ac_new_val
=\
$ac_env_${ac_var}_value
2616 case $ac_old_set,$ac_new_set in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2619 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2620 ac_cache_corrupted
=: ;;
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2623 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2624 ac_cache_corrupted
=: ;;
2627 if test "x$ac_old_val" != "x$ac_new_val"; then
2628 # differences in whitespace do not lead to failure.
2629 ac_old_val_w
=`echo x $ac_old_val`
2630 ac_new_val_w
=`echo x $ac_new_val`
2631 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2633 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2634 ac_cache_corrupted
=:
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2637 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2638 eval $ac_var=\
$ac_old_val
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2641 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2643 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2646 # Pass precious variables to config.status.
2647 if test "$ac_new_set" = set; then
2649 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2650 *) ac_arg
=$ac_var=$ac_new_val ;;
2652 case " $ac_configure_args " in
2653 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2654 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2658 if $ac_cache_corrupted; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2662 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2663 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2665 ## -------------------- ##
2666 ## Main body of script. ##
2667 ## -------------------- ##
2670 ac_cpp
='$CPP $CPPFLAGS'
2671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2676 USERAGENT_PREFIX
=2.33
2678 PEERID_PREFIX
=-TR2330-
2681 # Check whether --enable-silent-rules was given.
2682 if test "${enable_silent_rules+set}" = set; then :
2683 enableval
=$enable_silent_rules;
2686 case $enable_silent_rules in
2687 yes) AM_DEFAULT_VERBOSITY
=0;;
2688 no
) AM_DEFAULT_VERBOSITY
=1;;
2689 *) AM_DEFAULT_VERBOSITY
=0;;
2697 am__api_version='1.11'
2700 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2701 if test -f "$ac_dir/install-sh"; then
2703 ac_install_sh="$ac_aux_dir/install-sh -c"
2705 elif test -f "$ac_dir/install.sh"; then
2707 ac_install_sh="$ac_aux_dir/install.sh -c"
2709 elif test -f "$ac_dir/shtool"; then
2711 ac_install_sh="$ac_aux_dir/shtool install -c"
2715 if test -z "$ac_aux_dir"; then
2716 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2719 # These three variables are undocumented and unsupported,
2720 # and are intended to be withdrawn in a future Autoconf release.
2721 # They can cause serious problems if a builder's
source tree is
in a directory
2722 # whose full name contains unusual characters.
2723 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2724 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2725 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2728 # Find a good install program. We prefer a C program (faster),
2729 # so one script is as good as another. But avoid the broken or
2730 # incompatible versions:
2731 # SysV /etc/install, /usr/sbin/install
2732 # SunOS /usr/etc/install
2733 # IRIX /sbin/install
2735 # AmigaOS /C/install, which installs bootblocks on floppy discs
2736 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2737 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2738 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2739 # OS/2's system install, which has a completely different semantic
2740 # ./install, which can be erroneously created by make from ./install.sh.
2741 # Reject install programs that cannot install multiple files.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2743 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2744 if test -z "$INSTALL"; then
2745 if test "${ac_cv_path_install+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 # Account for people who put trailing slashes in PATH elements.
2754 case $as_dir/ in #((
2755 .
/ | .
// |
/[cC
]/* | \
2756 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2757 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2760 # OSF1 and SCO ODT 3.0 have their own names for install.
2761 # Don't use installbsd from OSF since it installs stuff as root
2763 for ac_prog
in ginstall scoinst
install; do
2764 for ac_exec_ext
in '' $ac_executable_extensions; do
2765 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2766 if test $ac_prog = install &&
2767 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2768 # AIX install. It has an incompatible calling convention.
2770 elif test $ac_prog = install &&
2771 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2772 # program-specific install script used by HP pwplus--don't use.
2775 rm -rf conftest.one conftest.two conftest.dir
2776 echo one
> conftest.one
2777 echo two
> conftest.two
2779 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2780 test -s conftest.one
&& test -s conftest.two
&&
2781 test -s conftest.dir
/conftest.one
&&
2782 test -s conftest.dir
/conftest.two
2784 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2797 rm -rf conftest.one conftest.two conftest.dir
2800 if test "${ac_cv_path_install+set}" = set; then
2801 INSTALL
=$ac_cv_path_install
2803 # As a last resort, use the slow shell script. Don't cache a
2804 # value for INSTALL within a source directory, because that will
2805 # break other packages using the cache if that directory is
2806 # removed, or if the value is a relative name.
2807 INSTALL
=$ac_install_sh
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2811 $as_echo "$INSTALL" >&6; }
2813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2814 # It thinks the first close brace ends the variable substitution.
2815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2819 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2822 $as_echo_n "checking whether build environment is sane... " >&6; }
2825 echo timestamp
> conftest.
file
2826 # Reject unsafe characters in $srcdir or the absolute working directory
2827 # name. Accept space and tab only in the latter.
2831 *[\\\"\
#\$\&\'\`$am_lf]*)
2832 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
2835 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2836 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2839 # Do `set' in a subshell so we don't clobber the current shell's
2840 # arguments. Must try -L first in case configure is actually a
2841 # symlink; some systems play weird games with the mod time of symlinks
2842 # (eg FreeBSD returns the mod time of the symlink's containing
2845 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2846 if test "$*" = "X"; then
2848 set X
`ls -t "$srcdir/configure" conftest.file`
2851 if test "$*" != "X $srcdir/configure conftest.file" \
2852 && test "$*" != "X conftest.file $srcdir/configure"; then
2854 # If neither matched, then we have a broken ls. This can happen
2855 # if, for instance, CONFIG_SHELL is bash and it inherits a
2856 # broken ls alias from the environment. This has actually
2857 # happened. Such a system could not be considered "sane".
2858 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2859 alias in your environment" "$LINENO" 5
2862 test "$2" = conftest.
file
2868 as_fn_error $?
"newly created file is older than distributed files!
2869 Check your system clock" "$LINENO" 5
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2873 test "$program_prefix" != NONE
&&
2874 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2875 # Use a double $ so make ignores it.
2876 test "$program_suffix" != NONE
&&
2877 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2878 # Double any \ or $.
2879 # By default was `s,x,x', remove it if useless.
2880 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2881 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2883 # expand $ac_aux_dir to an absolute path
2884 am_aux_dir
=`cd $ac_aux_dir && pwd`
2886 if test x
"${MISSING+set}" != xset
; then
2889 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2891 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2894 # Use eval to expand $SHELL
2895 if eval "$MISSING --run true"; then
2896 am_missing_run
="$MISSING --run "
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2900 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2903 if test x
"${install_sh}" != xset
; then
2906 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2908 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2912 # Installed binaries are usually stripped using `strip' when the user
2913 # run `make install-strip'. However `strip' might not be the right
2914 # tool to use in cross-compilation environments, therefore Automake
2915 # will honor the `STRIP' environment variable to overrule this program.
2916 if test "$cross_compiling" != no
; then
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2919 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_STRIP+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$STRIP"; then
2926 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 STRIP
=$ac_cv_prog_STRIP
2946 if test -n "$STRIP"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2948 $as_echo "$STRIP" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2956 if test -z "$ac_cv_prog_STRIP"; then
2958 # Extract the first word of "strip", so it can be a program name with args.
2959 set dummy strip
; ac_word
=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_STRIP"; then
2966 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_STRIP
="strip"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2986 if test -n "$ac_ct_STRIP"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2988 $as_echo "$ac_ct_STRIP" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2994 if test "x$ac_ct_STRIP" = x
; then
2997 case $cross_compiling:$ac_tool_warned in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned
=yes ;;
3006 STRIP
="$ac_cv_prog_STRIP"
3010 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3013 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3014 if test -z "$MKDIR_P"; then
3015 if test "${ac_cv_path_mkdir+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3019 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3022 test -z "$as_dir" && as_dir
=.
3023 for ac_prog
in mkdir gmkdir
; do
3024 for ac_exec_ext
in '' $ac_executable_extensions; do
3025 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3026 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3027 'mkdir (GNU coreutils) '* | \
3028 'mkdir (coreutils) '* | \
3029 'mkdir (fileutils) '4.1*)
3030 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3040 test -d .
/--version && rmdir .
/--version
3041 if test "${ac_cv_path_mkdir+set}" = set; then
3042 MKDIR_P
="$ac_cv_path_mkdir -p"
3044 # As a last resort, use the slow shell script. Don't cache a
3045 # value for MKDIR_P within a source directory, because that will
3046 # break other packages using the cache if that directory is
3047 # removed, or if the value is a relative name.
3048 MKDIR_P
="$ac_install_sh -d"
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3052 $as_echo "$MKDIR_P" >&6; }
3056 [\\/$
]* | ?
:[\\/]*) ;;
3057 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3060 for ac_prog
in gawk mawk nawk
awk
3062 # Extract the first word of "$ac_prog", so it can be a program name with args.
3063 set dummy
$ac_prog; ac_word
=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if test "${ac_cv_prog_AWK+set}" = set; then :
3067 $as_echo_n "(cached) " >&6
3069 if test -n "$AWK"; then
3070 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 ac_cv_prog_AWK
="$ac_prog"
3080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$AWK"; then
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3092 $as_echo "$AWK" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3099 test -n "$AWK" && break
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3103 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3105 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3106 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3107 $as_echo_n "(cached) " >&6
3109 cat >conftest.
make <<\_ACEOF
3112 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3114 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3115 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3117 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3119 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3123 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3125 $as_echo "yes" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 SET_MAKE
="MAKE=${MAKE-make}"
3133 rm -rf .tst
2>/dev
/null
3134 mkdir .tst
2>/dev
/null
3135 if test -d .tst
; then
3140 rmdir .tst
2>/dev
/null
3142 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3143 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3144 # is not polluted with repeated "-I."
3145 am__isrc
=' -I$(srcdir)'
3146 # test to see if srcdir already configured
3147 if test -f $srcdir/config.status
; then
3148 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3152 # test whether we have cygpath
3153 if test -z "$CYGPATH_W"; then
3154 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3155 CYGPATH_W
='cygpath -w'
3162 # Define the identity of the package.
3163 PACKAGE
='transmission'
3167 cat >>confdefs.h
<<_ACEOF
3168 #define PACKAGE "$PACKAGE"
3172 cat >>confdefs.h
<<_ACEOF
3173 #define VERSION "$VERSION"
3176 # Some tools Automake needs.
3178 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3181 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3184 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3187 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3190 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3192 # We need awk for the "check" target. The system "awk" is bad on
3194 # Always define AMTAR for backward compatibility.
3196 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
3200 $as_echo_n "checking how to create a pax tar archive... " >&6; }
3201 # Loop over all known methods to create a tar archive until one works.
3202 _am_tools
='gnutar pax cpio none'
3203 _am_tools
=${am_cv_prog_tar_pax-$_am_tools}
3204 # Do not fold the above two line into one, because Tru64 sh and
3205 # Solaris sh will not grok spaces in the rhs of `-'.
3206 for _am_tool
in $_am_tools
3210 for _am_tar
in tar gnutar gtar
;
3212 { echo "$as_me:$LINENO: $_am_tar --version" >&5
3213 ($_am_tar --version) >&5 2>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } && break
3218 am__tar
="$_am_tar --format=posix -chf - "'"$$tardir"'
3219 am__tar_
="$_am_tar --format=posix -chf - "'"$tardir"'
3220 am__untar
="$_am_tar -xf -"
3223 # Must skip GNU tar: if it does not support --format= it doesn't create
3224 # ustar tarball either.
3225 (tar --version) >/dev
/null
2>&1 && continue
3226 am__tar
='tar chf - "$$tardir"'
3227 am__tar_
='tar chf - "$tardir"'
3228 am__untar
='tar xf -'
3231 am__tar
='pax -L -x pax -w "$$tardir"'
3232 am__tar_
='pax -L -x pax -w "$tardir"'
3236 am__tar
='find "$$tardir" -print | cpio -o -H pax -L'
3237 am__tar_
='find "$tardir" -print | cpio -o -H pax -L'
3238 am__untar
='cpio -i -H pax -d'
3247 # If the value was cached, stop now. We just wanted to have am__tar
3248 # and am__untar set.
3249 test -n "${am_cv_prog_tar_pax}" && break
3251 # tar/untar a dummy directory, and stop if the command works
3254 echo GrepMe
> conftest.dir
/file
3255 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3256 (tardir
=conftest.dir
&& eval $am__tar_ >conftest.
tar) >&5 2>&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }
3261 if test -s conftest.
tar; then
3262 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3263 ($am__untar <conftest.
tar) >&5 2>&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }
3267 grep GrepMe conftest.dir
/file >/dev
/null
2>&1 && break
3272 if test "${am_cv_prog_tar_pax+set}" = set; then :
3273 $as_echo_n "(cached) " >&6
3275 am_cv_prog_tar_pax
=$_am_tool
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3279 $as_echo "$am_cv_prog_tar_pax" >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3288 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3293 macro_version
='2.2.6b'
3294 macro_revision
='1.3017'
3308 ltmain
="$ac_aux_dir/ltmain.sh"
3310 # Make sure we can run config.sub.
3311 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3312 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3315 $as_echo_n "checking build system type... " >&6; }
3316 if test "${ac_cv_build+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 ac_build_alias
=$build_alias
3320 test "x$ac_build_alias" = x
&&
3321 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3322 test "x$ac_build_alias" = x
&&
3323 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3324 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3325 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3329 $as_echo "$ac_cv_build" >&6; }
3330 case $ac_cv_build in
3332 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
3335 ac_save_IFS
=$IFS; IFS
='-'
3341 # Remember, the first character of IFS is used to create $*,
3342 # except with old shells:
3345 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3349 $as_echo_n "checking host system type... " >&6; }
3350 if test "${ac_cv_host+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3353 if test "x$host_alias" = x
; then
3354 ac_cv_host
=$ac_cv_build
3356 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3357 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3362 $as_echo "$ac_cv_host" >&6; }
3365 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
3368 ac_save_IFS
=$IFS; IFS
='-'
3374 # Remember, the first character of IFS is used to create $*,
3375 # except with old shells:
3378 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3381 DEPDIR
="${am__leading_dot}deps"
3383 ac_config_commands
="$ac_config_commands depfiles"
3386 am_make
=${MAKE-make}
3387 cat > confinc
<< 'END'
3389 @
echo this is the am__doit target
3392 # If we don't find an include directive, just comment out the code.
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3394 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3398 # First try GNU make style include.
3399 echo "include confinc" > confmf
3400 # Ignore all kinds of additional output from `make'.
3401 case `$am_make -s -f confmf 2> /dev/null` in #(
3402 *the\ am__doit\ target
*)
3408 # Now try BSD make style include.
3409 if test "$am__include" = "#"; then
3410 echo '.include "confinc"' > confmf
3411 case `$am_make -s -f confmf 2> /dev/null` in #(
3412 *the\ am__doit\ target
*)
3413 am__include
=.include
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3422 $as_echo "$_am_result" >&6; }
3423 rm -f confinc confmf
3425 # Check whether --enable-dependency-tracking was given.
3426 if test "${enable_dependency_tracking+set}" = set; then :
3427 enableval
=$enable_dependency_tracking;
3430 if test "x$enable_dependency_tracking" != xno
; then
3431 am_depcomp
="$ac_aux_dir/depcomp"
3434 if test "x$enable_dependency_tracking" != xno; then
3444 ac_cpp
='$CPP $CPPFLAGS'
3445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3448 if test -n "$ac_tool_prefix"; then
3449 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3450 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452 $as_echo_n "checking for $ac_word... " >&6; }
3453 if test "${ac_cv_prog_CC+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3456 if test -n "$CC"; then
3457 ac_cv_prog_CC
="$CC" # Let the user override the test.
3459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3463 test -z "$as_dir" && as_dir
=.
3464 for ac_exec_ext
in '' $ac_executable_extensions; do
3465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3466 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 if test -n "$CC"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3479 $as_echo "$CC" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3487 if test -z "$ac_cv_prog_CC"; then
3489 # Extract the first word of "gcc", so it can be a program name with args.
3490 set dummy gcc
; ac_word
=$2
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3492 $as_echo_n "checking for $ac_word... " >&6; }
3493 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 if test -n "$ac_ct_CC"; then
3497 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3503 test -z "$as_dir" && as_dir
=.
3504 for ac_exec_ext
in '' $ac_executable_extensions; do
3505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3506 ac_cv_prog_ac_ct_CC
="gcc"
3507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3517 if test -n "$ac_ct_CC"; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3519 $as_echo "$ac_ct_CC" >&6; }
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 $as_echo "no" >&6; }
3525 if test "x$ac_ct_CC" = x
; then
3528 case $cross_compiling:$ac_tool_warned in
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3532 ac_tool_warned
=yes ;;
3540 if test -z "$CC"; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3543 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if test "${ac_cv_prog_CC+set}" = set; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$CC"; then
3550 ac_cv_prog_CC
="$CC" # Let the user override the test.
3552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir
=.
3557 for ac_exec_ext
in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 if test -n "$CC"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3572 $as_echo "$CC" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3581 if test -z "$CC"; then
3582 # Extract the first word of "cc", so it can be a program name with args.
3583 set dummy cc
; ac_word
=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if test "${ac_cv_prog_CC+set}" = set; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$CC"; then
3590 ac_cv_prog_CC
="$CC" # Let the user override the test.
3593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir
=.
3598 for ac_exec_ext
in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3601 ac_prog_rejected
=yes
3605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 if test $ac_prog_rejected = yes; then
3613 # We found a bogon in the path, so make sure we never use it.
3614 set dummy
$ac_cv_prog_CC
3616 if test $# != 0; then
3617 # We chose a different compiler from the bogus one.
3618 # However, it has the same basename, so the bogon will be chosen
3619 # first if we set CC to just the basename; use the full file name.
3621 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3627 if test -n "$CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3637 if test -z "$CC"; then
3638 if test -n "$ac_tool_prefix"; then
3639 for ac_prog
in cl.exe
3641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3642 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if test "${ac_cv_prog_CC+set}" = set; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$CC"; then
3649 ac_cv_prog_CC
="$CC" # Let the user override the test.
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 if test -n "$CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3671 $as_echo "$CC" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3678 test -n "$CC" && break
3681 if test -z "$CC"; then
3683 for ac_prog
in cl.exe
3685 # Extract the first word of "$ac_prog", so it can be a program name with args.
3686 set dummy
$ac_prog; ac_word
=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3692 if test -n "$ac_ct_CC"; then
3693 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 ac_cv_prog_ac_ct_CC
="$ac_prog"
3703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3713 if test -n "$ac_ct_CC"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3715 $as_echo "$ac_ct_CC" >&6; }
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3718 $as_echo "no" >&6; }
3722 test -n "$ac_ct_CC" && break
3725 if test "x$ac_ct_CC" = x
; then
3728 case $cross_compiling:$ac_tool_warned in
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3732 ac_tool_warned
=yes ;;
3741 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3743 as_fn_error $?
"no acceptable C compiler found in \$PATH
3744 See \`config.log' for more details" "$LINENO" 5 ; }
3746 # Provide some information about the compiler.
3747 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3750 for ac_option
in --version -v -V -qversion; do
3751 { { ac_try
="$ac_compiler $ac_option >&5"
3753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3760 if test -s conftest.err; then
3762 ... rest of stderr output deleted ...
3763 10q' conftest.err >conftest.er1
3764 cat conftest.er1 >&5
3766 rm -f conftest.er1 conftest.err
3767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3768 test $ac_status = 0; }
3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h. */
3782 ac_clean_files_save=$ac_clean_files
3783 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3784 # Try to create an executable without -o first, disregard a.out.
3785 # It will help us diagnose broken compilers, and finding out an intuition
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3788 $as_echo_n "checking whether the C compiler works... " >&6; }
3789 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3791 # The possible output files:
3792 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3795 for ac_file in $ac_files
3798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3799 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3804 if { { ac_try="$ac_link_default"
3806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3807 *) ac_try_echo
=$ac_try;;
3809 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3810 $as_echo "$ac_try_echo"; } >&5
3811 (eval "$ac_link_default") 2>&5
3813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3814 test $ac_status = 0; }; then :
3815 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3816 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3817 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3818 # so that the user can short-circuit this test for compilers unknown to
3820 for ac_file
in $ac_files ''
3822 test -f "$ac_file" ||
continue
3824 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3827 # We found the default executable, but exeext='' is most
3831 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3833 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3835 # We set ac_cv_exeext here because the later test for it is not
3836 # safe: cross compilers may not add the suffix if given an `-o'
3837 # argument, so we may need to know it at that point already.
3838 # Even if this section looks crufty: it has the advantage of
3845 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3850 if test -z "$ac_file"; then :
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3853 $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error
77 "C compiler cannot create executables
3859 See \`config.log' for more details" "$LINENO" 5 ; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3862 $as_echo "yes" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3865 $as_echo_n "checking for C compiler default output file name... " >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3867 $as_echo "$ac_file" >&6; }
3868 ac_exeext
=$ac_cv_exeext
3870 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3871 ac_clean_files
=$ac_clean_files_save
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3873 $as_echo_n "checking for suffix of executables... " >&6; }
3874 if { { ac_try
="$ac_link"
3876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3877 *) ac_try_echo=$ac_try;;
3879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880 $as_echo "$ac_try_echo"; } >&5
3881 (eval "$ac_link") 2>&5
3883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884 test $ac_status = 0; }; then :
3885 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3886 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3887 # work properly (i.e., refer to `conftest.exe'), while it won't with
3889 for ac_file
in conftest.exe conftest conftest.
*; do
3890 test -f "$ac_file" ||
continue
3892 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3893 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3902 See \`config.log' for more details" "$LINENO" 5 ; }
3904 rm -f conftest conftest
$ac_cv_exeext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3906 $as_echo "$ac_cv_exeext" >&6; }
3908 rm -f conftest.
$ac_ext
3909 EXEEXT
=$ac_cv_exeext
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3917 FILE *f = fopen ("conftest.out", "w");
3918 return ferror (f) || fclose (f) != 0;
3924 ac_clean_files
="$ac_clean_files conftest.out"
3925 # Check that the compiler produces executables we can run. If not, either
3926 # the compiler is broken, or we cross compile.
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3928 $as_echo_n "checking whether we are cross compiling... " >&6; }
3929 if test "$cross_compiling" != yes; then
3930 { { ac_try
="$ac_link"
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link") 2>&5
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }
3941 if { ac_try='./conftest$ac_cv_exeext'
3942 { { case "(($ac_try" in
3943 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3944 *) ac_try_echo
=$ac_try;;
3946 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_try") 2>&5
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; }; then
3954 if test "$cross_compiling" = maybe
; then
3957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3959 as_fn_error $?
"cannot run C compiled programs.
3960 If you meant to cross compile, use \`--host'.
3961 See \`config.log' for more details" "$LINENO" 5 ; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3966 $as_echo "$cross_compiling" >&6; }
3968 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3969 ac_clean_files
=$ac_clean_files_save
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3971 $as_echo_n "checking for suffix of object files... " >&6; }
3972 if test "${ac_cv_objext+set}" = set; then :
3973 $as_echo_n "(cached) " >&6
3975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3986 rm -f conftest.o conftest.obj
3987 if { { ac_try
="$ac_compile"
3989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_compile") 2>&5
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }; then :
3998 for ac_file in conftest.o conftest.obj conftest.*; do
3999 test -f "$ac_file" || continue;
4001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4002 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4013 See \
`config.log' for more details" "$LINENO" 5 ; }
4015 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4018 $as_echo "$ac_cv_objext" >&6; }
4019 OBJEXT=$ac_cv_objext
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4022 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4023 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4024 $as_echo_n "(cached) " >&6
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4040 if ac_fn_c_try_compile "$LINENO"; then :
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4050 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4051 if test $ac_compiler_gnu = yes; then
4056 ac_test_CFLAGS=${CFLAGS+set}
4057 ac_save_CFLAGS=$CFLAGS
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4059 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4060 if test "${ac_cv_prog_cc_g+set}" = set; then :
4061 $as_echo_n "(cached) " >&6
4063 ac_save_c_werror_flag=$ac_c_werror_flag
4064 ac_c_werror_flag=yes
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4078 if ac_fn_c_try_compile "$LINENO"; then :
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4093 if ac_fn_c_try_compile "$LINENO"; then :
4096 ac_c_werror_flag=$ac_save_c_werror_flag
4098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4109 if ac_fn_c_try_compile "$LINENO"; then :
4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_c_werror_flag=$ac_save_c_werror_flag
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4120 $as_echo "$ac_cv_prog_cc_g" >&6; }
4121 if test "$ac_test_CFLAGS" = set; then
4122 CFLAGS=$ac_save_CFLAGS
4123 elif test $ac_cv_prog_cc_g = yes; then
4124 if test "$GCC" = yes; then
4130 if test "$GCC" = yes; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4137 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4138 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 ac_cv_prog_cc_c89=no
4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h. */
4147 #include <sys/types.h>
4148 #include <sys/stat.h>
4149 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4150 struct buf { int x; };
4151 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4152 static char *e (p, i)
4158 static char *f (char * (*g) (char **, int), char **p, ...)
4163 s = g (p, va_arg (v,int));
4168 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4169 function prototypes and stuff, but not '\xHH' hex character constants.
4170 These don't provoke an error unfortunately, instead are silently treated
4171 as 'x'. The following induces an error, until -std is added to get
4172 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4173 array size at least. It's necessary to write '\x00'==0 to get something
4174 that's true only with -std. */
4175 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4177 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4178 inside strings and character constants. */
4180 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4182 int test (int i, double x);
4183 struct s1 {int (*f) (int a);};
4184 struct s2 {int (*f) (double a);};
4185 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4191 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4196 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4197 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4199 CC="$ac_save_CC $ac_arg"
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201 ac_cv_prog_cc_c89=$ac_arg
4203 rm -f core conftest.err conftest.$ac_objext
4204 test "x$ac_cv_prog_cc_c89" != "xno" && break
4206 rm -f conftest.$ac_ext
4211 case "x$ac_cv_prog_cc_c89" in
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4214 $as_echo "none needed" >&6; } ;;
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4217 $as_echo "unsupported" >&6; } ;;
4219 CC="$CC $ac_cv_prog_cc_c89"
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4221 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4223 if test "x$ac_cv_prog_cc_c89" != xno; then :
4228 ac_cpp='$CPP $CPPFLAGS'
4229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4233 depcc="$CC" am_compiler_list=
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4236 $as_echo_n "checking dependency style of $depcc... " >&6; }
4237 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4238 $as_echo_n "(cached) " >&6
4240 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4241 # We make a subdir and do the tests there. Otherwise we can end up
4242 # making bogus files that we don't know about and never remove. For
4243 # instance it was reported that on HP-UX the gcc test will end up
4244 # making a dummy file named `D
' -- because `-MD' means
`put the output
4247 # Copy depcomp to subdir because otherwise we won't find it if we're
4248 # using a relative directory.
4249 cp "$am_depcomp" conftest.dir
4251 # We will build objects and dependencies in a subdirectory because
4252 # it helps to detect inapplicable dependency modes. For instance
4253 # both Tru64's cc and ICC support -MD to output dependencies as a
4254 # side effect of compilation, but ICC will put the dependencies in
4255 # the current directory while Tru64 will put them in the object
4259 am_cv_CC_dependencies_compiler_type=none
4260 if test "$am_compiler_list" = ""; then
4261 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4264 case " $depcc " in #(
4265 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4268 for depmode in $am_compiler_list; do
4269 # Setup a source with many dependencies, because some compilers
4270 # like to wrap large dependency lists on column 80 (with \), and
4271 # we should not choose a depcomp mode which is confused by this.
4273 # We need to recreate these files for each test, as the compiler may
4274 # overwrite some of them when testing with obscure command lines.
4275 # This happens at least with the AIX C compiler.
4277 for i in 1 2 3 4 5 6; do
4278 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4279 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4280 # Solaris 8's
{/usr
,}/bin
/sh.
4281 touch sub
/conftst
$i.h
4283 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4285 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4286 # mode. It turns out that the SunPro C++ compiler does not properly
4287 # handle `-M -o', and we need to detect this. Also, some Intel
4288 # versions had trouble with output in subdirs
4289 am__obj
=sub
/conftest.
${OBJEXT-o}
4290 am__minus_obj
="-o $am__obj"
4293 # This depmode causes a compiler race in universal mode.
4294 test "$am__universal" = false ||
continue
4297 # after this tag, mechanisms are not by side-effect, so they'll
4298 # only be used when explicitly requested
4299 if test "x$enable_dependency_tracking" = xyes
; then
4305 msvisualcpp | msvcmsys
)
4306 # This compiler won't grok `-c -o', but also, the minuso test has
4307 # not run yet. These depmodes are late enough in the game, and
4308 # so weak that their functioning should not be impacted.
4309 am__obj
=conftest.
${OBJEXT-o}
4314 if depmode
=$depmode \
4315 source=sub
/conftest.c object
=$am__obj \
4316 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4317 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4318 >/dev
/null
2>conftest.err
&&
4319 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4320 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4321 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4322 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4323 # icc doesn't choke on unknown options, it will just issue warnings
4324 # or remarks (even with -Werror). So we grep stderr for any message
4325 # that says an option was ignored or not supported.
4326 # When given -MP, icc 7.0 and 7.1 complain thusly:
4327 # icc: Command line warning: ignoring option '-M'; no argument required
4328 # The diagnosis changed in icc 8.0:
4329 # icc: Command line remark: option '-MP' not supported
4330 if (grep 'ignoring option' conftest.err ||
4331 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4332 am_cv_CC_dependencies_compiler_type
=$depmode
4341 am_cv_CC_dependencies_compiler_type
=none
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4346 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4347 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4350 test "x$enable_dependency_tracking" != xno \
4351 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4353 am__fastdepCC_FALSE
='#'
4355 am__fastdepCC_TRUE
='#'
4356 am__fastdepCC_FALSE
=
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362 if test "${ac_cv_path_SED+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4365 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4366 for ac_i
in 1 2 3 4 5 6 7; do
4367 ac_script
="$ac_script$as_nl$ac_script"
4369 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4370 { ac_script
=; unset ac_script
;}
4371 if test -z "$SED"; then
4372 ac_path_SED_found
=false
4373 # Loop through the user's path and test for each of PROGNAME-LIST
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_prog
in sed gsed
; do
4380 for ac_exec_ext
in '' $ac_executable_extensions; do
4381 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4382 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4383 # Check for GNU ac_path_SED and select it if it is found.
4384 # Check for GNU $ac_path_SED
4385 case `"$ac_path_SED" --version 2>&1` in
4387 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4390 $as_echo_n 0123456789 >"conftest.in"
4393 cat "conftest.in" "conftest.in" >"conftest.tmp"
4394 mv "conftest.tmp" "conftest.in"
4395 cp "conftest.in" "conftest.nl"
4396 $as_echo '' >> "conftest.nl"
4397 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4398 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4399 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4400 if test $ac_count -gt ${ac_path_SED_max-0}; then
4401 # Best one so far, save it but keep looking for a better one
4402 ac_cv_path_SED
="$ac_path_SED"
4403 ac_path_SED_max
=$ac_count
4405 # 10*(2^10) chars as input seems more than enough
4406 test $ac_count -gt 10 && break
4408 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4411 $ac_path_SED_found && break 3
4416 if test -z "$ac_cv_path_SED"; then
4417 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4425 $as_echo "$ac_cv_path_SED" >&6; }
4426 SED
="$ac_cv_path_SED"
4429 test -z "$SED" && SED
=sed
4430 Xsed
="$SED -e 1s/^X//"
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4443 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4444 if test "${ac_cv_path_GREP+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 if test -z "$GREP"; then
4448 ac_path_GREP_found
=false
4449 # Loop through the user's path and test for each of PROGNAME-LIST
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_prog
in grep ggrep
; do
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4458 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4459 # Check for GNU ac_path_GREP and select it if it is found.
4460 # Check for GNU $ac_path_GREP
4461 case `"$ac_path_GREP" --version 2>&1` in
4463 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4466 $as_echo_n 0123456789 >"conftest.in"
4469 cat "conftest.in" "conftest.in" >"conftest.tmp"
4470 mv "conftest.tmp" "conftest.in"
4471 cp "conftest.in" "conftest.nl"
4472 $as_echo 'GREP' >> "conftest.nl"
4473 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4474 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4475 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4476 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4477 # Best one so far, save it but keep looking for a better one
4478 ac_cv_path_GREP
="$ac_path_GREP"
4479 ac_path_GREP_max
=$ac_count
4481 # 10*(2^10) chars as input seems more than enough
4482 test $ac_count -gt 10 && break
4484 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4487 $ac_path_GREP_found && break 3
4492 if test -z "$ac_cv_path_GREP"; then
4493 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4496 ac_cv_path_GREP
=$GREP
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4501 $as_echo "$ac_cv_path_GREP" >&6; }
4502 GREP
="$ac_cv_path_GREP"
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4506 $as_echo_n "checking for egrep... " >&6; }
4507 if test "${ac_cv_path_EGREP+set}" = set; then :
4508 $as_echo_n "(cached) " >&6
4510 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4511 then ac_cv_path_EGREP
="$GREP -E"
4513 if test -z "$EGREP"; then
4514 ac_path_EGREP_found
=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_prog
in egrep; do
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4525 # Check for GNU ac_path_EGREP and select it if it is found.
4526 # Check for GNU $ac_path_EGREP
4527 case `"$ac_path_EGREP" --version 2>&1` in
4529 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4532 $as_echo_n 0123456789 >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 $as_echo 'EGREP' >> "conftest.nl"
4539 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4540 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4541 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4542 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_EGREP
="$ac_path_EGREP"
4545 ac_path_EGREP_max
=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4553 $ac_path_EGREP_found && break 3
4558 if test -z "$ac_cv_path_EGREP"; then
4559 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562 ac_cv_path_EGREP
=$EGREP
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4568 $as_echo "$ac_cv_path_EGREP" >&6; }
4569 EGREP
="$ac_cv_path_EGREP"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573 $as_echo_n "checking for fgrep... " >&6; }
4574 if test "${ac_cv_path_FGREP+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4578 then ac_cv_path_FGREP
="$GREP -F"
4580 if test -z "$FGREP"; then
4581 ac_path_FGREP_found
=false
4582 # Loop through the user's path and test for each of PROGNAME-LIST
4583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4587 test -z "$as_dir" && as_dir
=.
4588 for ac_prog
in fgrep
; do
4589 for ac_exec_ext
in '' $ac_executable_extensions; do
4590 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4591 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4592 # Check for GNU ac_path_FGREP and select it if it is found.
4593 # Check for GNU $ac_path_FGREP
4594 case `"$ac_path_FGREP" --version 2>&1` in
4596 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4599 $as_echo_n 0123456789 >"conftest.in"
4602 cat "conftest.in" "conftest.in" >"conftest.tmp"
4603 mv "conftest.tmp" "conftest.in"
4604 cp "conftest.in" "conftest.nl"
4605 $as_echo 'FGREP' >> "conftest.nl"
4606 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4607 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4608 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4609 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610 # Best one so far, save it but keep looking for a better one
4611 ac_cv_path_FGREP
="$ac_path_FGREP"
4612 ac_path_FGREP_max
=$ac_count
4614 # 10*(2^10) chars as input seems more than enough
4615 test $ac_count -gt 10 && break
4617 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4620 $ac_path_FGREP_found && break 3
4625 if test -z "$ac_cv_path_FGREP"; then
4626 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629 ac_cv_path_FGREP
=$FGREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4635 $as_echo "$ac_cv_path_FGREP" >&6; }
4636 FGREP
="$ac_cv_path_FGREP"
4639 test -z "$GREP" && GREP
=grep
4659 # Check whether --with-gnu-ld was given.
4660 if test "${with_gnu_ld+set}" = set; then :
4661 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4667 if test "$GCC" = yes; then
4668 # Check if gcc -print-prog-name=ld gives a path.
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4670 $as_echo_n "checking for ld used by $CC... " >&6; }
4673 # gcc leaves a trailing carriage return which upsets mingw
4674 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4676 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4679 # Accept absolute paths.
4681 re_direlt
='/[^/][^/]*/\.\./'
4682 # Canonicalize the pathname of ld
4683 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4684 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4685 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4687 test -z "$LD" && LD
="$ac_prog"
4690 # If it fails, then pretend we aren't using GCC.
4694 # If it is relative, then search for the first ld in PATH.
4698 elif test "$with_gnu_ld" = yes; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4700 $as_echo_n "checking for GNU ld... " >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4703 $as_echo_n "checking for non-GNU ld... " >&6; }
4705 if test "${lt_cv_path_LD+set}" = set; then :
4706 $as_echo_n "(cached) " >&6
4708 if test -z "$LD"; then
4709 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4710 for ac_dir
in $PATH; do
4712 test -z "$ac_dir" && ac_dir
=.
4713 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4714 lt_cv_path_LD
="$ac_dir/$ac_prog"
4715 # Check to see if the program is GNU ld. I'd rather use --version,
4716 # but apparently some variants of GNU ld only accept -v.
4717 # Break only if it was the GNU/non-GNU ld that we prefer.
4718 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4719 *GNU
* |
*'with BFD'*)
4720 test "$with_gnu_ld" != no
&& break
4723 test "$with_gnu_ld" != yes && break
4730 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4735 if test -n "$LD"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4737 $as_echo "$LD" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4742 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4744 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4745 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4746 $as_echo_n "(cached) " >&6
4748 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4749 case `$LD -v 2>&1 </dev/null` in
4750 *GNU
* |
*'with BFD'*)
4751 lt_cv_prog_gnu_ld
=yes
4754 lt_cv_prog_gnu_ld
=no
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4759 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4760 with_gnu_ld
=$lt_cv_prog_gnu_ld
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4771 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4772 if test "${lt_cv_path_NM+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$NM"; then
4776 # Let the user override the test.
4779 lt_nm_to_check
="${ac_tool_prefix}nm"
4780 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4781 lt_nm_to_check
="$lt_nm_to_check nm"
4783 for lt_tmp_nm
in $lt_nm_to_check; do
4784 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4785 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4787 test -z "$ac_dir" && ac_dir
=.
4788 tmp_nm
="$ac_dir/$lt_tmp_nm"
4789 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4790 # Check to see if the nm accepts a BSD-compat flag.
4791 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4792 # nm: unknown option "B" ignored
4793 # Tru64's nm complains that /dev/null is an invalid object file
4794 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4795 */dev
/null
* |
*'Invalid file or object type'*)
4796 lt_cv_path_NM
="$tmp_nm -B"
4800 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4802 lt_cv_path_NM
="$tmp_nm -p"
4806 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4807 continue # so that we can try to find one that supports BSD flags
4816 : ${lt_cv_path_NM=no}
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4820 $as_echo "$lt_cv_path_NM" >&6; }
4821 if test "$lt_cv_path_NM" != "no"; then
4824 # Didn't find any BSD compatible name lister, look for dumpbin.
4825 if test -n "$ac_tool_prefix"; then
4826 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4829 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$DUMPBIN"; then
4836 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 DUMPBIN
=$ac_cv_prog_DUMPBIN
4856 if test -n "$DUMPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4858 $as_echo "$DUMPBIN" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$DUMPBIN" && break
4868 if test -z "$DUMPBIN"; then
4869 ac_ct_DUMPBIN
=$DUMPBIN
4870 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy
$ac_prog; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$ac_ct_DUMPBIN"; then
4880 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4889 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4900 if test -n "$ac_ct_DUMPBIN"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4902 $as_echo "$ac_ct_DUMPBIN" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$ac_ct_DUMPBIN" && break
4912 if test "x$ac_ct_DUMPBIN" = x
; then
4915 case $cross_compiling:$ac_tool_warned in
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned
=yes ;;
4921 DUMPBIN
=$ac_ct_DUMPBIN
4926 if test "$DUMPBIN" != ":"; then
4930 test -z "$NM" && NM
=nm
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4938 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4939 if test "${lt_cv_nm_interface+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4942 lt_cv_nm_interface
="BSD nm"
4943 echo "int some_variable = 0;" > conftest.
$ac_ext
4944 (eval echo "\"\$as_me:4944: $ac_compile\"" >&5)
4945 (eval "$ac_compile" 2>conftest.err
)
4946 cat conftest.err
>&5
4947 (eval echo "\"\$as_me:4947: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4948 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4949 cat conftest.err
>&5
4950 (eval echo "\"\$as_me:4950: output\"" >&5)
4951 cat conftest.out
>&5
4952 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4953 lt_cv_nm_interface
="MS dumpbin"
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4958 $as_echo "$lt_cv_nm_interface" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4961 $as_echo_n "checking whether ln -s works... " >&6; }
4963 if test "$LN_S" = "ln -s"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4965 $as_echo "yes" >&6; }
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4968 $as_echo "no, using $LN_S" >&6; }
4971 # find the maximum length of command line arguments
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4973 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4974 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4975 $as_echo_n "(cached) " >&6
4982 # On DJGPP, this test can blow up pretty badly due to problems in libc
4983 # (any single argument exceeding 2000 bytes causes a buffer overrun
4984 # during glob expansion). Even if it were fixed, the result of this
4985 # check would be larger than it should be.
4986 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4990 # Under GNU Hurd, this test is not required because there is
4991 # no limit to the length of command line arguments.
4992 # Libtool will interpret -1 as no limit whatsoever
4993 lt_cv_sys_max_cmd_len
=-1;
4996 cygwin
* | mingw
* | cegcc
*)
4997 # On Win9x/ME, this test blows up -- it succeeds, but takes
4998 # about 5 minutes as the teststring grows exponentially.
4999 # Worse, since 9x/ME are not pre-emptively multitasking,
5000 # you end up with a "frozen" computer, even though with patience
5001 # the test eventually succeeds (with a max line length of 256k).
5002 # Instead, let's just punt: use the minimum linelength reported by
5003 # all of the supported platforms: 8192 (on NT/2K/XP).
5004 lt_cv_sys_max_cmd_len
=8192;
5008 # On AmigaOS with pdksh, this test takes hours, literally.
5009 # So we just punt and use a minimum line length of 8192.
5010 lt_cv_sys_max_cmd_len
=8192;
5013 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5014 # This has been around since 386BSD, at least. Likely further.
5015 if test -x /sbin
/sysctl
; then
5016 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5017 elif test -x /usr
/sbin
/sysctl
; then
5018 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5020 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5022 # And add a safety zone
5023 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5024 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5028 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5029 lt_cv_sys_max_cmd_len
=196608
5033 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5034 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5035 # nice to cause kernel panics so lets avoid the loop below.
5036 # First set a reasonable default.
5037 lt_cv_sys_max_cmd_len
=16384
5039 if test -x /sbin
/sysconfig
; then
5040 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5041 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5046 lt_cv_sys_max_cmd_len
=102400
5048 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5049 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5050 if test -n "$kargmax"; then
5051 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5053 lt_cv_sys_max_cmd_len
=32768
5057 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5058 if test -n "$lt_cv_sys_max_cmd_len"; then
5059 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5060 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5062 # Make teststring a little bigger before we do anything with it.
5063 # a 1K string should be a reasonable start.
5064 for i
in 1 2 3 4 5 6 7 8 ; do
5065 teststring
=$teststring$teststring
5067 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5068 # If test is not a shell built-in, we'll probably end up computing a
5069 # maximum length that is only half of the actual maximum length, but
5071 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5072 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5073 test $i != 17 # 1/2 MB should be enough
5076 teststring
=$teststring$teststring
5078 # Only check the string length outside the loop.
5079 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5081 # Add a significant safety factor because C++ compilers can tack on
5082 # massive amounts of additional arguments before passing them to the
5083 # linker. It appears as though 1/2 is a usable value.
5084 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5091 if test -n $lt_cv_sys_max_cmd_len ; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5093 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5096 $as_echo "none" >&6; }
5098 max_cmd_len
=$lt_cv_sys_max_cmd_len
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5110 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5111 # Try some XSI features
5114 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5116 && eval 'test $(( 1 + 1 )) -eq 2 \
5117 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5120 $as_echo "$xsi_shell" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5124 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5126 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5128 && lt_shell_append=yes
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5130 $as_echo "$lt_shell_append" >&6; }
5133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5143 # test EBCDIC or ASCII
5144 case `echo X|tr X '\101'` in
5145 A) # ASCII based system
5146 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5147 lt_SP2NL='tr \040 \012'
5148 lt_NL2SP='tr \015\012 \040\040'
5150 *) # EBCDIC based system
5151 lt_SP2NL='tr \100 \n'
5152 lt_NL2SP='tr \r\n \100\100'
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5165 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5166 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5167 $as_echo_n "(cached
) " >&6
5169 lt_cv_ld_reload_flag='-r'
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5172 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5173 reload_flag=$lt_cv_ld_reload_flag
5174 case $reload_flag in
5176 *) reload_flag=" $reload_flag" ;;
5178 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5181 if test "$GCC" = yes; then
5182 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5184 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5201 $as_echo_n "checking
for $ac_word...
" >&6; }
5202 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5203 $as_echo_n "(cached
) " >&6
5205 if test -n "$OBJDUMP"; then
5206 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5225 OBJDUMP=$ac_cv_prog_OBJDUMP
5226 if test -n "$OBJDUMP"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5228 $as_echo "$OBJDUMP" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5231 $as_echo "no
" >&6; }
5236 if test -z "$ac_cv_prog_OBJDUMP"; then
5237 ac_ct_OBJDUMP=$OBJDUMP
5238 # Extract the first word of "objdump
", so it can be a program name with args.
5239 set dummy objdump; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5241 $as_echo_n "checking
for $ac_word...
" >&6; }
5242 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5243 $as_echo_n "(cached
) " >&6
5245 if test -n "$ac_ct_OBJDUMP"; then
5246 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5265 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5266 if test -n "$ac_ct_OBJDUMP"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5268 $as_echo "$ac_ct_OBJDUMP" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5271 $as_echo "no
" >&6; }
5274 if test "x
$ac_ct_OBJDUMP" = x; then
5277 case $cross_compiling:$ac_tool_warned in
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5280 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5281 ac_tool_warned=yes ;;
5283 OBJDUMP=$ac_ct_OBJDUMP
5286 OBJDUMP="$ac_cv_prog_OBJDUMP"
5289 test -z "$OBJDUMP" && OBJDUMP=objdump
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5300 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5301 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5302 $as_echo_n "(cached
) " >&6
5304 lt_cv_file_magic_cmd='$MAGIC_CMD'
5305 lt_cv_file_magic_test_file=
5306 lt_cv_deplibs_check_method='unknown'
5307 # Need to set the preceding variable on all platforms that support
5308 # interlibrary dependencies.
5309 # 'none' -- dependencies not supported.
5310 # `unknown' -- same as none, but documents that we really don't know.
5311 # 'pass_all' -- all dependencies passed with no checks.
5312 # 'test_compile' -- check by making test program.
5313 # 'file_magic [[regex]]' -- check by looking for files in library path
5314 # which responds to the $file_magic_cmd with a given extended regex.
5315 # If you have `file' or equivalent on your system and you're not sure
5316 # whether `pass_all' will *always* work, you probably want this one.
5320 lt_cv_deplibs_check_method=pass_all
5324 lt_cv_deplibs_check_method=pass_all
5328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5329 lt_cv_file_magic_cmd='/usr/bin/file -L'
5330 lt_cv_file_magic_test_file=/shlib/libc.so
5334 # func_win32_libid is a shell function defined in ltmain.sh
5335 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5336 lt_cv_file_magic_cmd='func_win32_libid'
5340 # Base MSYS/MinGW do not provide the 'file' command needed by
5341 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5342 # unless we find 'file', for example because we are cross-compiling.
5343 if ( file / ) >/dev/null 2>&1; then
5344 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5345 lt_cv_file_magic_cmd='func_win32_libid'
5347 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5348 lt_cv_file_magic_cmd='$OBJDUMP -f'
5353 # use the weaker test based on 'objdump'. See mingw*.
5354 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5355 lt_cv_file_magic_cmd='$OBJDUMP -f'
5358 darwin* | rhapsody*)
5359 lt_cv_deplibs_check_method=pass_all
5362 freebsd* | dragonfly*)
5363 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5366 # Not sure whether the presence of OpenBSD here was a mistake.
5367 # Let's accept both of them until this is cleared up.
5368 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5369 lt_cv_file_magic_cmd=/usr/bin/file
5370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5374 lt_cv_deplibs_check_method=pass_all
5379 lt_cv_deplibs_check_method=pass_all
5382 hpux10.20* | hpux11*)
5383 lt_cv_file_magic_cmd=/usr/bin/file
5386 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5387 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5390 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5391 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5394 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5395 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5401 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5402 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5405 irix5* | irix6* | nonstopux*)
5407 *-32|*"-32 ") libmagic=32-bit;;
5408 *-n32|*"-n32 ") libmagic=N32;;
5409 *-64|*"-64 ") libmagic=64-bit;;
5410 *) libmagic=never-match;;
5412 lt_cv_deplibs_check_method=pass_all
5415 # This must be Linux ELF.
5416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5417 lt_cv_deplibs_check_method=pass_all
5420 netbsd* | netbsdelf*-gnu)
5421 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5422 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5429 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5430 lt_cv_file_magic_cmd=/usr/bin/file
5431 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5435 lt_cv_deplibs_check_method=pass_all
5439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5446 osf3* | osf4* | osf5*)
5447 lt_cv_deplibs_check_method=pass_all
5451 lt_cv_deplibs_check_method=pass_all
5455 lt_cv_deplibs_check_method=pass_all
5458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5459 lt_cv_deplibs_check_method=pass_all
5463 case $host_vendor in
5465 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]'
5466 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5469 lt_cv_deplibs_check_method=pass_all
5472 lt_cv_file_magic_cmd='/bin/file'
5473 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5476 lt_cv_file_magic_cmd='/bin/file'
5477 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5478 lt_cv_file_magic_test_file=/lib/libc.so
5481 lt_cv_deplibs_check_method=pass_all
5484 lt_cv_deplibs_check_method=pass_all
5490 lt_cv_deplibs_check_method=pass_all
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5496 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5497 file_magic_cmd=$lt_cv_file_magic_cmd
5498 deplibs_check_method=$lt_cv_deplibs_check_method
5499 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}ar; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5516 $as_echo_n "checking
for $ac_word...
" >&6; }
5517 if test "${ac_cv_prog_AR+set}" = set; then :
5518 $as_echo_n "(cached
) " >&6
5520 if test -n "$AR"; then
5521 ac_cv_prog_AR="$AR" # Let the user override the test.
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5530 ac_cv_prog_AR="${ac_tool_prefix}ar"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5541 if test -n "$AR"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5543 $as_echo "$AR" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5546 $as_echo "no
" >&6; }
5551 if test -z "$ac_cv_prog_AR"; then
5553 # Extract the first word of "ar", so it can be a program name with args.
5554 set dummy ar; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5556 $as_echo_n "checking
for $ac_word...
" >&6; }
5557 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5558 $as_echo_n "(cached
) " >&6
5560 if test -n "$ac_ct_AR"; then
5561 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5570 ac_cv_prog_ac_ct_AR="ar"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5581 if test -n "$ac_ct_AR"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5583 $as_echo "$ac_ct_AR" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5586 $as_echo "no
" >&6; }
5589 if test "x
$ac_ct_AR" = x; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5595 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5596 ac_tool_warned=yes ;;
5604 test -z "$AR" && AR=ar
5605 test -z "$AR_FLAGS" && AR_FLAGS=cru
5617 if test -n "$ac_tool_prefix"; then
5618 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5619 set dummy ${ac_tool_prefix}strip; ac_word=$2
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5621 $as_echo_n "checking
for $ac_word...
" >&6; }
5622 if test "${ac_cv_prog_STRIP+set}" = set; then :
5623 $as_echo_n "(cached
) " >&6
5625 if test -n "$STRIP"; then
5626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 test -z "$as_dir" && as_dir=.
5633 for ac_exec_ext in '' $ac_executable_extensions; do
5634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5635 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5636 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5645 STRIP=$ac_cv_prog_STRIP
5646 if test -n "$STRIP"; then
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5648 $as_echo "$STRIP" >&6; }
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5651 $as_echo "no
" >&6; }
5656 if test -z "$ac_cv_prog_STRIP"; then
5658 # Extract the first word of "strip
", so it can be a program name with args.
5659 set dummy strip; ac_word=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5661 $as_echo_n "checking
for $ac_word...
" >&6; }
5662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5663 $as_echo_n "(cached
) " >&6
5665 if test -n "$ac_ct_STRIP"; then
5666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5675 ac_cv_prog_ac_ct_STRIP="strip
"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5686 if test -n "$ac_ct_STRIP"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5688 $as_echo "$ac_ct_STRIP" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5691 $as_echo "no
" >&6; }
5694 if test "x
$ac_ct_STRIP" = x; then
5697 case $cross_compiling:$ac_tool_warned in
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5700 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5701 ac_tool_warned=yes ;;
5706 STRIP="$ac_cv_prog_STRIP"
5709 test -z "$STRIP" && STRIP=:
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5720 $as_echo_n "checking
for $ac_word...
" >&6; }
5721 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5722 $as_echo_n "(cached
) " >&6
5724 if test -n "$RANLIB"; then
5725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5744 RANLIB=$ac_cv_prog_RANLIB
5745 if test -n "$RANLIB"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5747 $as_echo "$RANLIB" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5750 $as_echo "no
" >&6; }
5755 if test -z "$ac_cv_prog_RANLIB"; then
5756 ac_ct_RANLIB=$RANLIB
5757 # Extract the first word of "ranlib
", so it can be a program name with args.
5758 set dummy ranlib; ac_word=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5760 $as_echo_n "checking
for $ac_word...
" >&6; }
5761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5762 $as_echo_n "(cached
) " >&6
5764 if test -n "$ac_ct_RANLIB"; then
5765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5774 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5785 if test -n "$ac_ct_RANLIB"; then
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5787 $as_echo "$ac_ct_RANLIB" >&6; }
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5790 $as_echo "no
" >&6; }
5793 if test "x
$ac_ct_RANLIB" = x; then
5796 case $cross_compiling:$ac_tool_warned in
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5799 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5800 ac_tool_warned=yes ;;
5802 RANLIB=$ac_ct_RANLIB
5805 RANLIB="$ac_cv_prog_RANLIB"
5808 test -z "$RANLIB" && RANLIB=:
5815 # Determine commands to create old-style static archives.
5816 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5817 old_postinstall_cmds='chmod 644 $oldlib'
5818 old_postuninstall_cmds=
5820 if test -n "$RANLIB"; then
5823 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5826 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5829 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5865 # If no C compiler was specified, use CC.
5868 # If no C compiler flags were specified, use CFLAGS.
5869 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5871 # Allow CC to be a program name with arguments.
5875 # Check for command to grab the raw symbol name followed by C symbol from nm.
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5877 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5878 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5879 $as_echo_n "(cached
) " >&6
5882 # These are sane defaults that work on at least a few old systems.
5883 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5885 # Character class describing NM global symbol codes.
5886 symcode='[BCDEGRST]'
5888 # Regexp to match symbols that can be accessed directly from C.
5889 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5891 # Define system-specific variables.
5896 cygwin* | mingw* | pw32* | cegcc*)
5897 symcode='[ABCDGISTW]'
5900 if test "$host_cpu" = ia64; then
5901 symcode='[ABCDEGRST]'
5905 symcode='[BCDEGRST]'
5908 symcode='[BCDEGQRST]'
5919 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5927 # If we're using GNU nm, then use its standard symbol codes.
5928 case `$NM -V 2>&1` in
5929 *GNU* | *'with BFD'*)
5930 symcode='[ABCDGIRSTW]' ;;
5933 # Transform an extracted symbol line into a proper C declaration.
5934 # Some systems (esp. on ia64) link data and code symbols differently,
5935 # so use this general approach.
5936 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5938 # Transform an extracted symbol line into symbol name and symbol address
5939 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5940 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'"
5942 # Handle CRLF in mingw tool chain
5946 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5950 # Try without a prefix underscore, then with it.
5951 for ac_symprfx in "" "_
"; do
5953 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5954 symxfrm="\\1 $ac_symprfx\\2 \\2"
5956 # Write the raw and C identifiers.
5957 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5958 # Fake it for dumpbin and say T for any non-static function
5959 # and D for any global variable.
5960 # Also find C++ and __fastcall symbols from MSVC++,
5961 # which start with @ or ?.
5962 lt_cv_sys_global_symbol_pipe="$AWK '"\
5963 " {last_section=section; section=\$ 3};"\
5964 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5965 " \$ 0!~/External *\|/{next};"\
5966 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5967 " {if(hide[section]) next};"\
5968 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5969 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5970 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5971 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5972 " ' prfx
=^
$ac_symprfx"
5974 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5977 # Check to see that the pipe works correctly.
5981 cat > conftest.$ac_ext <<_LT_EOF
5986 void nm_test_func(void);
5987 void nm_test_func(void){}
5991 int main(){nm_test_var='a';nm_test_func();return(0);}
5994 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5995 (eval $ac_compile) 2>&5
5997 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5998 test $ac_status = 0; }; then
5999 # Now try to grab the symbols.
6001 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6002 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6004 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6005 test $ac_status = 0; } && test -s "$nlist"; then
6006 # Try sorting and uniquifying the output.
6007 if sort "$nlist" | uniq > "$nlist"T; then
6008 mv -f "$nlist"T "$nlist"
6013 # Make sure that we snagged all the symbols we need.
6014 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6015 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6016 cat <<_LT_EOF > conftest.$ac_ext
6022 # Now generate the symbol file.
6023 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6025 cat <<_LT_EOF >> conftest.$ac_ext
6027 /* The mapping between symbol names and symbols. */
6032 lt__PROGRAM__LTX_preloaded_symbols[] =
6034 { "@PROGRAM@
", (void *) 0 },
6036 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6037 cat <<\_LT_EOF >> conftest.$ac_ext
6041 /* This works around a problem in FreeBSD linker */
6042 #ifdef FREEBSD_WORKAROUND
6043 static const void *lt_preloaded_setup() {
6044 return lt__PROGRAM__LTX_preloaded_symbols;
6052 # Now try linking the two files.
6053 mv conftest.$ac_objext conftstm.$ac_objext
6054 lt_save_LIBS="$LIBS"
6055 lt_save_CFLAGS="$CFLAGS"
6056 LIBS="conftstm.
$ac_objext"
6057 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6058 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6059 (eval $ac_link) 2>&5
6061 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6062 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6065 LIBS="$lt_save_LIBS"
6066 CFLAGS="$lt_save_CFLAGS"
6068 echo "cannot
find nm_test_func
in $nlist" >&5
6071 echo "cannot
find nm_test_var
in $nlist" >&5
6074 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6077 echo "$progname: failed program was
:" >&5
6078 cat conftest.$ac_ext >&5
6080 rm -rf conftest* conftst*
6082 # Do not use the global_symbol_pipe unless it works.
6083 if test "$pipe_works" = yes; then
6086 lt_cv_sys_global_symbol_pipe=
6092 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6093 lt_cv_sys_global_symbol_to_cdecl=
6095 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6097 $as_echo "failed
" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6100 $as_echo "ok
" >&6; }
6125 # Check whether --enable-libtool-lock was given.
6126 if test "${enable_libtool_lock+set}" = set; then :
6127 enableval=$enable_libtool_lock;
6130 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6132 # Some flags need to be propagated to the compiler or linker for good
6136 # Find out which ABI we are using.
6137 echo 'int i;' > conftest.$ac_ext
6138 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6139 (eval $ac_compile) 2>&5
6141 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6142 test $ac_status = 0; }; then
6143 case `/usr/bin/file conftest.$ac_objext` in
6155 # Find out which ABI we are using.
6156 echo '#line 6156 "configure
"' > conftest.$ac_ext
6157 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6158 (eval $ac_compile) 2>&5
6160 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6161 test $ac_status = 0; }; then
6162 if test "$lt_cv_prog_gnu_ld" = yes; then
6163 case `/usr/bin/file conftest.$ac_objext` in
6165 LD="${LD-ld} -melf32bsmip"
6168 LD="${LD-ld} -melf32bmipn32"
6171 LD="${LD-ld} -melf64bmip"
6175 case `/usr/bin/file conftest.$ac_objext` in
6191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6193 # Find out which ABI we are using.
6194 echo 'int i;' > conftest.$ac_ext
6195 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6196 (eval $ac_compile) 2>&5
6198 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6199 test $ac_status = 0; }; then
6200 case `/usr/bin/file conftest.o` in
6203 x86_64-*kfreebsd*-gnu)
6204 LD="${LD-ld} -m elf_i386_fbsd
"
6207 LD="${LD-ld} -m elf_i386
"
6209 ppc64-*linux*|powerpc64-*linux*)
6210 LD="${LD-ld} -m elf32ppclinux
"
6213 LD="${LD-ld} -m elf_s390
"
6216 LD="${LD-ld} -m elf32_sparc
"
6222 x86_64-*kfreebsd*-gnu)
6223 LD="${LD-ld} -m elf_x86_64_fbsd
"
6226 LD="${LD-ld} -m elf_x86_64
"
6228 ppc*-*linux*|powerpc*-*linux*)
6229 LD="${LD-ld} -m elf64ppc
"
6231 s390*-*linux*|s390*-*tpf*)
6232 LD="${LD-ld} -m elf64_s390
"
6235 LD="${LD-ld} -m elf64_sparc
"
6245 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6246 SAVE_CFLAGS="$CFLAGS"
6247 CFLAGS="$CFLAGS -belf"
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6249 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6250 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6251 $as_echo_n "(cached
) " >&6
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6270 if ac_fn_c_try_link "$LINENO"; then :
6271 lt_cv_cc_needs_belf=yes
6273 lt_cv_cc_needs_belf=no
6275 rm -f core conftest.err conftest.$ac_objext \
6276 conftest$ac_exeext conftest.$ac_ext
6278 ac_cpp='$CPP $CPPFLAGS'
6279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6285 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6286 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6287 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6288 CFLAGS="$SAVE_CFLAGS"
6292 # Find out which ABI we are using.
6293 echo 'int i;' > conftest.$ac_ext
6294 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6295 (eval $ac_compile) 2>&5
6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6298 test $ac_status = 0; }; then
6299 case `/usr/bin/file conftest.o` in
6301 case $lt_cv_prog_gnu_ld in
6302 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6304 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6316 need_locks="$enable_libtool_lock"
6320 rhapsody* | darwin*)
6321 if test -n "$ac_tool_prefix"; then
6322 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6323 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6325 $as_echo_n "checking
for $ac_word...
" >&6; }
6326 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6327 $as_echo_n "(cached
) " >&6
6329 if test -n "$DSYMUTIL"; then
6330 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6349 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6350 if test -n "$DSYMUTIL"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6352 $as_echo "$DSYMUTIL" >&6; }
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6355 $as_echo "no
" >&6; }
6360 if test -z "$ac_cv_prog_DSYMUTIL"; then
6361 ac_ct_DSYMUTIL=$DSYMUTIL
6362 # Extract the first word of "dsymutil
", so it can be a program name with args.
6363 set dummy dsymutil; ac_word=$2
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6365 $as_echo_n "checking
for $ac_word...
" >&6; }
6366 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6367 $as_echo_n "(cached
) " >&6
6369 if test -n "$ac_ct_DSYMUTIL"; then
6370 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 test -z "$as_dir" && as_dir=.
6377 for ac_exec_ext in '' $ac_executable_extensions; do
6378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6379 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6389 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6390 if test -n "$ac_ct_DSYMUTIL"; then
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6392 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6395 $as_echo "no
" >&6; }
6398 if test "x
$ac_ct_DSYMUTIL" = x; then
6401 case $cross_compiling:$ac_tool_warned in
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6405 ac_tool_warned=yes ;;
6407 DSYMUTIL=$ac_ct_DSYMUTIL
6410 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6413 if test -n "$ac_tool_prefix"; then
6414 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6415 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6417 $as_echo_n "checking
for $ac_word...
" >&6; }
6418 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6419 $as_echo_n "(cached
) " >&6
6421 if test -n "$NMEDIT"; then
6422 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 test -z "$as_dir" && as_dir=.
6429 for ac_exec_ext in '' $ac_executable_extensions; do
6430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6441 NMEDIT=$ac_cv_prog_NMEDIT
6442 if test -n "$NMEDIT"; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6444 $as_echo "$NMEDIT" >&6; }
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6447 $as_echo "no
" >&6; }
6452 if test -z "$ac_cv_prog_NMEDIT"; then
6453 ac_ct_NMEDIT=$NMEDIT
6454 # Extract the first word of "nmedit
", so it can be a program name with args.
6455 set dummy nmedit; ac_word=$2
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6457 $as_echo_n "checking
for $ac_word...
" >&6; }
6458 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6459 $as_echo_n "(cached
) " >&6
6461 if test -n "$ac_ct_NMEDIT"; then
6462 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6481 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6482 if test -n "$ac_ct_NMEDIT"; then
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6484 $as_echo "$ac_ct_NMEDIT" >&6; }
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6487 $as_echo "no
" >&6; }
6490 if test "x
$ac_ct_NMEDIT" = x; then
6493 case $cross_compiling:$ac_tool_warned in
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6496 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6497 ac_tool_warned=yes ;;
6499 NMEDIT=$ac_ct_NMEDIT
6502 NMEDIT="$ac_cv_prog_NMEDIT"
6505 if test -n "$ac_tool_prefix"; then
6506 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6507 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6509 $as_echo_n "checking
for $ac_word...
" >&6; }
6510 if test "${ac_cv_prog_LIPO+set}" = set; then :
6511 $as_echo_n "(cached
) " >&6
6513 if test -n "$LIPO"; then
6514 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6523 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6533 LIPO=$ac_cv_prog_LIPO
6534 if test -n "$LIPO"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6536 $as_echo "$LIPO" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6539 $as_echo "no
" >&6; }
6544 if test -z "$ac_cv_prog_LIPO"; then
6546 # Extract the first word of "lipo
", so it can be a program name with args.
6547 set dummy lipo; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6549 $as_echo_n "checking
for $ac_word...
" >&6; }
6550 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6551 $as_echo_n "(cached
) " >&6
6553 if test -n "$ac_ct_LIPO"; then
6554 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_ac_ct_LIPO="lipo
"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6573 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6574 if test -n "$ac_ct_LIPO"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6576 $as_echo "$ac_ct_LIPO" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6579 $as_echo "no
" >&6; }
6582 if test "x
$ac_ct_LIPO" = x; then
6585 case $cross_compiling:$ac_tool_warned in
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6588 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6589 ac_tool_warned=yes ;;
6594 LIPO="$ac_cv_prog_LIPO"
6597 if test -n "$ac_tool_prefix"; then
6598 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6599 set dummy ${ac_tool_prefix}otool; ac_word=$2
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6601 $as_echo_n "checking
for $ac_word...
" >&6; }
6602 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6603 $as_echo_n "(cached
) " >&6
6605 if test -n "$OTOOL"; then
6606 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 test -z "$as_dir" && as_dir=.
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6616 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6625 OTOOL=$ac_cv_prog_OTOOL
6626 if test -n "$OTOOL"; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6628 $as_echo "$OTOOL" >&6; }
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6631 $as_echo "no
" >&6; }
6636 if test -z "$ac_cv_prog_OTOOL"; then
6638 # Extract the first word of "otool
", so it can be a program name with args.
6639 set dummy otool; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6641 $as_echo_n "checking
for $ac_word...
" >&6; }
6642 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6643 $as_echo_n "(cached
) " >&6
6645 if test -n "$ac_ct_OTOOL"; then
6646 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_ac_ct_OTOOL="otool
"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6665 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6666 if test -n "$ac_ct_OTOOL"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6668 $as_echo "$ac_ct_OTOOL" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6671 $as_echo "no
" >&6; }
6674 if test "x
$ac_ct_OTOOL" = x; then
6677 case $cross_compiling:$ac_tool_warned in
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6680 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6681 ac_tool_warned=yes ;;
6686 OTOOL="$ac_cv_prog_OTOOL"
6689 if test -n "$ac_tool_prefix"; then
6690 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6691 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6693 $as_echo_n "checking
for $ac_word...
" >&6; }
6694 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6695 $as_echo_n "(cached
) " >&6
6697 if test -n "$OTOOL64"; then
6698 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6707 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6717 OTOOL64=$ac_cv_prog_OTOOL64
6718 if test -n "$OTOOL64"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6720 $as_echo "$OTOOL64" >&6; }
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6723 $as_echo "no
" >&6; }
6728 if test -z "$ac_cv_prog_OTOOL64"; then
6729 ac_ct_OTOOL64=$OTOOL64
6730 # Extract the first word of "otool64
", so it can be a program name with args.
6731 set dummy otool64; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6733 $as_echo_n "checking
for $ac_word...
" >&6; }
6734 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6735 $as_echo_n "(cached
) " >&6
6737 if test -n "$ac_ct_OTOOL64"; then
6738 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6757 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6758 if test -n "$ac_ct_OTOOL64"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6760 $as_echo "$ac_ct_OTOOL64" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6763 $as_echo "no
" >&6; }
6766 if test "x
$ac_ct_OTOOL64" = x; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6773 ac_tool_warned=yes ;;
6775 OTOOL64=$ac_ct_OTOOL64
6778 OTOOL64="$ac_cv_prog_OTOOL64"
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6808 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6809 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6810 $as_echo_n "(cached
) " >&6
6812 lt_cv_apple_cc_single_mod=no
6813 if test -z "${LT_MULTI_MODULE}"; then
6814 # By default we will add the -single_module flag. You can override
6815 # by either setting the environment variable LT_MULTI_MODULE
6816 # non-empty at configure time, or by adding -multi_module to the
6818 rm -rf libconftest.dylib*
6819 echo "int foo
(void
){return 1;}" > conftest.c
6820 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6821 -dynamiclib -Wl,-single_module conftest.c
" >&5
6822 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6823 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6825 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6826 lt_cv_apple_cc_single_mod=yes
6828 cat conftest.err >&5
6830 rm -rf libconftest.dylib*
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6835 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6837 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6838 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6839 $as_echo_n "(cached
) " >&6
6841 lt_cv_ld_exported_symbols_list=no
6842 save_LDFLAGS=$LDFLAGS
6843 echo "_main
" > conftest.sym
6844 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6846 /* end confdefs.h. */
6856 if ac_fn_c_try_link "$LINENO"; then :
6857 lt_cv_ld_exported_symbols_list=yes
6859 lt_cv_ld_exported_symbols_list=no
6861 rm -f core conftest.err conftest.$ac_objext \
6862 conftest$ac_exeext conftest.$ac_ext
6863 LDFLAGS="$save_LDFLAGS"
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6867 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6869 rhapsody* | darwin1.[012])
6870 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6872 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6873 darwin*) # darwin 5.x on
6874 # if running on 10.5 or later, the deployment target defaults
6875 # to the OS version, if on x86, and 10.4, the deployment
6876 # target defaults to 10.4. Don't you love it?
6877 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6878 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6879 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6881 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6883 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6887 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6888 _lt_dar_single_mod='$single_module'
6890 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6891 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6893 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6895 if test "$DSYMUTIL" != ":"; then
6896 _lt_dsymutil='~$DSYMUTIL $lib || :'
6904 ac_cpp='$CPP $CPPFLAGS'
6905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6909 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6910 # On Suns, sometimes $CPP names a directory.
6911 if test -n "$CPP" && test -d "$CPP"; then
6914 if test -z "$CPP"; then
6915 if test "${ac_cv_prog_CPP+set}" = set; then :
6916 $as_echo_n "(cached
) " >&6
6918 # Double quotes because CPP needs to be expanded
6919 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6922 for ac_c_preproc_warn_flag in '' yes
6924 # Use a header file that comes with gcc, so configuring glibc
6925 # with a fresh cross-compiler works.
6926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6927 # <limits.h> exists even on freestanding compilers.
6928 # On the NeXT, cc -E runs the code through the compiler's parser,
6929 # not just through cpp. "Syntax error
" is here to catch this case.
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6933 # include <limits.h>
6935 # include <assert.h>
6939 if ac_fn_c_try_cpp "$LINENO"; then :
6942 # Broken: fails on valid input.
6945 rm -f conftest.err conftest.i conftest.$ac_ext
6947 # OK, works on sane cases. Now check whether nonexistent headers
6948 # can be detected and how.
6949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950 /* end confdefs.h. */
6951 #include <ac_nonexistent.h>
6953 if ac_fn_c_try_cpp "$LINENO"; then :
6954 # Broken: success on invalid input.
6957 # Passes both tests.
6961 rm -f conftest.err conftest.i conftest.$ac_ext
6964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6965 rm -f conftest.i conftest.err conftest.$ac_ext
6966 if $ac_preproc_ok; then :
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6979 $as_echo "$CPP" >&6; }
6981 for ac_c_preproc_warn_flag in '' yes
6983 # Use a header file that comes with gcc, so configuring glibc
6984 # with a fresh cross-compiler works.
6985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6986 # <limits.h> exists even on freestanding compilers.
6987 # On the NeXT, cc -E runs the code through the compiler's parser,
6988 # not just through cpp. "Syntax error
" is here to catch this case.
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6992 # include <limits.h>
6994 # include <assert.h>
6998 if ac_fn_c_try_cpp "$LINENO"; then :
7001 # Broken: fails on valid input.
7004 rm -f conftest.err conftest.i conftest.$ac_ext
7006 # OK, works on sane cases. Now check whether nonexistent headers
7007 # can be detected and how.
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <ac_nonexistent.h>
7012 if ac_fn_c_try_cpp "$LINENO"; then :
7013 # Broken: success on invalid input.
7016 # Passes both tests.
7020 rm -f conftest.err conftest.i conftest.$ac_ext
7023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7024 rm -f conftest.i conftest.err conftest.$ac_ext
7025 if $ac_preproc_ok; then :
7028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7030 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7031 See \`config.log' for more details
" "$LINENO" 5 ; }
7035 ac_cpp='$CPP $CPPFLAGS'
7036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7042 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7043 if test "${ac_cv_header_stdc+set}" = set; then :
7044 $as_echo_n "(cached
) " >&6
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_header_stdc=yes
7064 ac_cv_header_stdc=no
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 if test $ac_cv_header_stdc = yes; then
7069 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7075 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7076 $EGREP "memchr
" >/dev/null 2>&1; then :
7079 ac_cv_header_stdc=no
7085 if test $ac_cv_header_stdc = yes; then
7086 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7092 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7093 $EGREP "free
" >/dev/null 2>&1; then :
7096 ac_cv_header_stdc=no
7102 if test $ac_cv_header_stdc = yes; then
7103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7104 if test "$cross_compiling" = yes; then :
7107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7108 /* end confdefs.h. */
7111 #if ((' ' & 0x0FF) == 0x020)
7112 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7113 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7115 # define ISLOWER(c) \
7116 (('a' <= (c) && (c) <= 'i') \
7117 || ('j' <= (c) && (c) <= 'r') \
7118 || ('s' <= (c) && (c) <= 'z'))
7119 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7122 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7127 for (i = 0; i < 256; i++)
7128 if (XOR (islower (i), ISLOWER (i))
7129 || toupper (i) != TOUPPER (i))
7134 if ac_fn_c_try_run "$LINENO"; then :
7137 ac_cv_header_stdc=no
7139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7140 conftest.$ac_objext conftest.beam conftest.$ac_ext
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7146 $as_echo "$ac_cv_header_stdc" >&6; }
7147 if test $ac_cv_header_stdc = yes; then
7149 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7154 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7155 inttypes.h stdint.h unistd.h
7157 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7158 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7160 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7161 cat >>confdefs.h
<<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 for ac_header
in dlfcn.h
7172 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7174 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7175 cat >>confdefs.h
<<_ACEOF
7176 #define HAVE_DLFCN_H 1
7195 # Check whether --enable-shared was given.
7196 if test "${enable_shared+set}" = set; then :
7197 enableval
=$enable_shared; p
=${PACKAGE-default}
7199 yes) enable_shared
=yes ;;
7200 no
) enable_shared
=no
;;
7203 # Look at the argument we got. We use all the common list separators.
7204 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7205 for pkg
in $enableval; do
7207 if test "X$pkg" = "X$p"; then
7226 # Check whether --enable-static was given.
7227 if test "${enable_static+set}" = set; then :
7228 enableval
=$enable_static; p
=${PACKAGE-default}
7230 yes) enable_static
=yes ;;
7231 no
) enable_static
=no
;;
7234 # Look at the argument we got. We use all the common list separators.
7235 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7236 for pkg
in $enableval; do
7238 if test "X$pkg" = "X$p"; then
7258 # Check whether --with-pic was given.
7259 if test "${with_pic+set}" = set; then :
7260 withval
=$with_pic; pic_mode
="$withval"
7266 test -z "$pic_mode" && pic_mode
=default
7274 # Check whether --enable-fast-install was given.
7275 if test "${enable_fast_install+set}" = set; then :
7276 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7278 yes) enable_fast_install
=yes ;;
7279 no
) enable_fast_install
=no
;;
7281 enable_fast_install
=no
7282 # Look at the argument we got. We use all the common list separators.
7283 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7284 for pkg
in $enableval; do
7286 if test "X$pkg" = "X$p"; then
7287 enable_fast_install
=yes
7294 enable_fast_install
=yes
7307 # This can be used to rebuild libtool when needed
7308 LIBTOOL_DEPS
="$ltmain"
7310 # Always use our own libtool.
7311 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7337 test -z "$LN_S" && LN_S
="ln -s"
7352 if test -n "${ZSH_VERSION+set}" ; then
7353 setopt NO_GLOB_SUBST
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7357 $as_echo_n "checking for objdir... " >&6; }
7358 if test "${lt_cv_objdir+set}" = set; then :
7359 $as_echo_n "(cached) " >&6
7361 rm -f .libs
2>/dev
/null
7362 mkdir .libs
2>/dev
/null
7363 if test -d .libs
; then
7366 # MS-DOS does not allow filenames that begin with a dot.
7369 rmdir .libs
2>/dev
/null
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7372 $as_echo "$lt_cv_objdir" >&6; }
7373 objdir
=$lt_cv_objdir
7379 cat >>confdefs.h
<<_ACEOF
7380 #define LT_OBJDIR "$lt_cv_objdir/"
7401 # AIX sometimes has problems with the GCC collect2 program. For some
7402 # reason, if we set the COLLECT_NAMES environment variable, the problems
7403 # vanish in a puff of smoke.
7404 if test "X${COLLECT_NAMES+set}" != Xset
; then
7406 export COLLECT_NAMES
7411 # Sed substitution that helps us do robust quoting. It backslashifies
7412 # metacharacters that are still active within double-quoted strings.
7413 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7415 # Same as above, but do not quote variable references.
7416 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7418 # Sed substitution to delay expansion of an escaped shell variable in a
7419 # double_quote_subst'ed string.
7420 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7422 # Sed substitution to delay expansion of an escaped single quote.
7423 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7425 # Sed substitution to avoid accidental globbing in evaled expressions
7426 no_glob_subst
='s/\*/\\\*/g'
7430 can_build_shared
=yes
7432 # All known linkers require a `.a' archive for static linking (except MSVC,
7433 # which needs '.lib').
7436 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7439 old_CFLAGS
="$CFLAGS"
7441 # Set sane defaults for various variables
7442 test -z "$CC" && CC
=cc
7443 test -z "$LTCC" && LTCC
=$CC
7444 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7445 test -z "$LD" && LD
=ld
7446 test -z "$ac_objext" && ac_objext
=o
7448 for cc_temp
in $compiler""; do
7450 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7451 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7456 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7459 # Only perform the check for file, if the check method requires it
7460 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7461 case $deplibs_check_method in
7463 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7465 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7466 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7467 $as_echo_n "(cached) " >&6
7471 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7474 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7475 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7476 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7477 for ac_dir
in $ac_dummy; do
7479 test -z "$ac_dir" && ac_dir
=.
7480 if test -f $ac_dir/${ac_tool_prefix}file; then
7481 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7482 if test -n "$file_magic_test_file"; then
7483 case $deplibs_check_method in
7485 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7486 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7487 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7488 $EGREP "$file_magic_regex" > /dev
/null
; then
7493 *** Warning: the command libtool uses to detect shared libraries,
7494 *** $file_magic_cmd, produces output that libtool cannot recognize.
7495 *** The result is that libtool may fail to recognize shared libraries
7496 *** as such. This will affect the creation of libtool libraries that
7497 *** depend on shared libraries, but programs linked with such libtool
7498 *** libraries will work regardless of this problem. Nevertheless, you
7499 *** may want to report the problem to your system manager and/or to
7500 *** bug-libtool@gnu.org
7510 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7515 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7516 if test -n "$MAGIC_CMD"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7518 $as_echo "$MAGIC_CMD" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7528 if test -z "$lt_cv_path_MAGIC_CMD"; then
7529 if test -n "$ac_tool_prefix"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7531 $as_echo_n "checking for file... " >&6; }
7532 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7533 $as_echo_n "(cached) " >&6
7537 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7540 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7541 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7542 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7543 for ac_dir
in $ac_dummy; do
7545 test -z "$ac_dir" && ac_dir
=.
7546 if test -f $ac_dir/file; then
7547 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7548 if test -n "$file_magic_test_file"; then
7549 case $deplibs_check_method in
7551 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7552 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7553 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7554 $EGREP "$file_magic_regex" > /dev
/null
; then
7559 *** Warning: the command libtool uses to detect shared libraries,
7560 *** $file_magic_cmd, produces output that libtool cannot recognize.
7561 *** The result is that libtool may fail to recognize shared libraries
7562 *** as such. This will affect the creation of libtool libraries that
7563 *** depend on shared libraries, but programs linked with such libtool
7564 *** libraries will work regardless of this problem. Nevertheless, you
7565 *** may want to report the problem to your system manager and/or to
7566 *** bug-libtool@gnu.org
7576 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7581 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7582 if test -n "$MAGIC_CMD"; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7584 $as_echo "$MAGIC_CMD" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587 $as_echo "no" >&6; }
7600 # Use C for the default configuration in the libtool script
7604 ac_cpp
='$CPP $CPPFLAGS'
7605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7610 # Source file extension for C test sources.
7613 # Object file extension for compiled C test sources.
7617 # Code to be used in simple compile tests
7618 lt_simple_compile_test_code
="int some_variable = 0;"
7620 # Code to be used in simple link tests
7621 lt_simple_link_test_code
='int main(){return(0);}'
7629 # If no C compiler was specified, use CC.
7632 # If no C compiler flags were specified, use CFLAGS.
7633 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7635 # Allow CC to be a program name with arguments.
7638 # Save the default compiler, since it gets overwritten when the other
7639 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7640 compiler_DEFAULT
=$CC
7642 # save warnings/boilerplate of simple test code
7643 ac_outfile
=conftest.
$ac_objext
7644 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7645 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7646 _lt_compiler_boilerplate
=`cat conftest.err`
7649 ac_outfile
=conftest.
$ac_objext
7650 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7651 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7652 _lt_linker_boilerplate
=`cat conftest.err`
7657 ## There is no encapsulation within the following macros, do not change
7658 ## the running order or otherwise move them around unless you know exactly
7659 ## what you are doing...
7660 if test -n "$compiler"; then
7662 lt_prog_compiler_no_builtin_flag
=
7664 if test "$GCC" = yes; then
7665 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7668 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7669 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7670 $as_echo_n "(cached) " >&6
7672 lt_cv_prog_compiler_rtti_exceptions
=no
7673 ac_outfile
=conftest.
$ac_objext
7674 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7675 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7676 # Insert the option either (1) after the last *FLAGS variable, or
7677 # (2) before a word containing "conftest.", or (3) at the end.
7678 # Note that $ac_compile itself does not contain backslashes and begins
7679 # with a dollar sign (not a hyphen), so the echo should work correctly.
7680 # The option is referenced via a variable to avoid confusing sed.
7681 lt_compile
=`echo "$ac_compile" | $SED \
7682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684 -e 's:$: $lt_compiler_flag:'`
7685 (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686 (eval "$lt_compile" 2>conftest.err
)
7688 cat conftest.err
>&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 if (exit $ac_status) && test -s "$ac_outfile"; then
7691 # The compiler can only warn and ignore the option if not recognized
7692 # So say no if there are warnings other than the usual output.
7693 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7694 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7695 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7696 lt_cv_prog_compiler_rtti_exceptions
=yes
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7703 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7705 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7706 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7718 lt_prog_compiler_wl
=
7719 lt_prog_compiler_pic
=
7720 lt_prog_compiler_static
=
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7723 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7725 if test "$GCC" = yes; then
7726 lt_prog_compiler_wl
='-Wl,'
7727 lt_prog_compiler_static
='-static'
7731 # All AIX code is PIC.
7732 if test "$host_cpu" = ia64
; then
7733 # AIX 5 now supports IA64 processor
7734 lt_prog_compiler_static
='-Bstatic'
7741 # see comment about AmigaOS4 .so support
7742 lt_prog_compiler_pic
='-fPIC'
7745 # FIXME: we need at least 68020 code to build shared libraries, but
7746 # adding the `-m68020' flag to GCC prevents building anything better,
7748 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7753 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7754 # PIC is the default for these OSes.
7757 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7758 # This hack is so that the source file can tell whether it is being
7759 # built for inclusion in a dll (and should export symbols for example).
7760 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7761 # (--disable-auto-import) libraries
7762 lt_prog_compiler_pic
='-DDLL_EXPORT'
7765 darwin
* | rhapsody
*)
7766 # PIC is the default on this platform
7767 # Common symbols not allowed in MH_DYLIB files
7768 lt_prog_compiler_pic
='-fno-common'
7772 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7773 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7774 # sets the default TLS model and affects inlining.
7780 lt_prog_compiler_pic
='-fPIC'
7786 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7787 # Instead, we relocate shared libraries at runtime.
7791 # Just because we use GCC doesn't mean we suddenly get shared libraries
7792 # on systems that don't support them.
7793 lt_prog_compiler_can_build_shared
=no
7798 # QNX uses GNU C++, but need to define -shared option too, otherwise
7800 lt_prog_compiler_pic
='-fPIC -shared'
7804 if test -d /usr
/nec
; then
7805 lt_prog_compiler_pic
=-Kconform_pic
7810 lt_prog_compiler_pic
='-fPIC'
7814 # PORTME Check for flag to pass linker flags through the system compiler.
7817 lt_prog_compiler_wl
='-Wl,'
7818 if test "$host_cpu" = ia64
; then
7819 # AIX 5 now supports IA64 processor
7820 lt_prog_compiler_static
='-Bstatic'
7822 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7826 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7827 # This hack is so that the source file can tell whether it is being
7828 # built for inclusion in a dll (and should export symbols for example).
7829 lt_prog_compiler_pic
='-DDLL_EXPORT'
7832 hpux9
* | hpux10
* | hpux11
*)
7833 lt_prog_compiler_wl
='-Wl,'
7834 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7841 lt_prog_compiler_pic
='+Z'
7844 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7845 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7848 irix5
* | irix6
* | nonstopux
*)
7849 lt_prog_compiler_wl
='-Wl,'
7850 # PIC (with -KPIC) is the default.
7851 lt_prog_compiler_static
='-non_shared'
7854 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7855 case $cc_basename in
7856 # old Intel for x86_64 which still supported -KPIC.
7858 lt_prog_compiler_wl
='-Wl,'
7859 lt_prog_compiler_pic
='-KPIC'
7860 lt_prog_compiler_static
='-static'
7862 # icc used to be incompatible with GCC.
7863 # ICC 10 doesn't accept -KPIC any more.
7865 lt_prog_compiler_wl
='-Wl,'
7866 lt_prog_compiler_pic
='-fPIC'
7867 lt_prog_compiler_static
='-static'
7869 # Lahey Fortran 8.1.
7871 lt_prog_compiler_wl
='-Wl,'
7872 lt_prog_compiler_pic
='--shared'
7873 lt_prog_compiler_static
='--static'
7875 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7876 # Portland Group compilers (*not* the Pentium gcc compiler,
7877 # which looks to be a dead project)
7878 lt_prog_compiler_wl
='-Wl,'
7879 lt_prog_compiler_pic
='-fpic'
7880 lt_prog_compiler_static
='-Bstatic'
7883 lt_prog_compiler_wl
='-Wl,'
7884 # All Alpha code is PIC.
7885 lt_prog_compiler_static
='-non_shared'
7888 # IBM XL C 8.0/Fortran 10.1 on PPC
7889 lt_prog_compiler_wl
='-Wl,'
7890 lt_prog_compiler_pic
='-qpic'
7891 lt_prog_compiler_static
='-qstaticlink'
7894 case `$CC -V 2>&1 | sed 5q` in
7897 lt_prog_compiler_pic
='-KPIC'
7898 lt_prog_compiler_static
='-Bstatic'
7899 lt_prog_compiler_wl
='-Wl,'
7902 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7903 lt_prog_compiler_pic
='-KPIC'
7904 lt_prog_compiler_static
='-Bstatic'
7905 lt_prog_compiler_wl
=''
7913 lt_prog_compiler_pic
='-KPIC'
7914 lt_prog_compiler_static
='-Bstatic'
7918 # QNX uses GNU C++, but need to define -shared option too, otherwise
7920 lt_prog_compiler_pic
='-fPIC -shared'
7923 osf3
* | osf4
* | osf5
*)
7924 lt_prog_compiler_wl
='-Wl,'
7925 # All OSF/1 code is PIC.
7926 lt_prog_compiler_static
='-non_shared'
7930 lt_prog_compiler_static
='-non_shared'
7934 lt_prog_compiler_pic
='-KPIC'
7935 lt_prog_compiler_static
='-Bstatic'
7936 case $cc_basename in
7938 lt_prog_compiler_wl
='-Qoption ld ';;
7940 lt_prog_compiler_wl
='-Wl,';;
7945 lt_prog_compiler_wl
='-Qoption ld '
7946 lt_prog_compiler_pic
='-PIC'
7947 lt_prog_compiler_static
='-Bstatic'
7950 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7951 lt_prog_compiler_wl
='-Wl,'
7952 lt_prog_compiler_pic
='-KPIC'
7953 lt_prog_compiler_static
='-Bstatic'
7957 if test -d /usr
/nec
;then
7958 lt_prog_compiler_pic
='-Kconform_pic'
7959 lt_prog_compiler_static
='-Bstatic'
7963 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7964 lt_prog_compiler_wl
='-Wl,'
7965 lt_prog_compiler_pic
='-KPIC'
7966 lt_prog_compiler_static
='-Bstatic'
7970 lt_prog_compiler_wl
='-Wl,'
7971 lt_prog_compiler_can_build_shared
=no
7975 lt_prog_compiler_pic
='-pic'
7976 lt_prog_compiler_static
='-Bstatic'
7980 lt_prog_compiler_can_build_shared
=no
7986 # For platforms which do not support PIC, -DPIC is meaningless:
7988 lt_prog_compiler_pic
=
7991 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7995 $as_echo "$lt_prog_compiler_pic" >&6; }
8003 # Check to make sure the PIC flag actually works.
8005 if test -n "$lt_prog_compiler_pic"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8007 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8008 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8009 $as_echo_n "(cached) " >&6
8011 lt_cv_prog_compiler_pic_works
=no
8012 ac_outfile
=conftest.
$ac_objext
8013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8014 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8015 # Insert the option either (1) after the last *FLAGS variable, or
8016 # (2) before a word containing "conftest.", or (3) at the end.
8017 # Note that $ac_compile itself does not contain backslashes and begins
8018 # with a dollar sign (not a hyphen), so the echo should work correctly.
8019 # The option is referenced via a variable to avoid confusing sed.
8020 lt_compile
=`echo "$ac_compile" | $SED \
8021 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8023 -e 's:$: $lt_compiler_flag:'`
8024 (eval echo "\"\$as_me:8024: $lt_compile\"" >&5)
8025 (eval "$lt_compile" 2>conftest.err
)
8027 cat conftest.err
>&5
8028 echo "$as_me:8028: \$? = $ac_status" >&5
8029 if (exit $ac_status) && test -s "$ac_outfile"; then
8030 # The compiler can only warn and ignore the option if not recognized
8031 # So say no if there are warnings other than the usual output.
8032 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8033 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8034 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8035 lt_cv_prog_compiler_pic_works
=yes
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8042 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8044 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8045 case $lt_prog_compiler_pic in
8047 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8050 lt_prog_compiler_pic
=
8051 lt_prog_compiler_can_build_shared
=no
8062 # Check to make sure the static flag actually works.
8064 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8066 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8067 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8068 $as_echo_n "(cached) " >&6
8070 lt_cv_prog_compiler_static_works
=no
8071 save_LDFLAGS
="$LDFLAGS"
8072 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8073 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8074 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8075 # The linker can only warn and ignore the option if not recognized
8076 # So say no if there are warnings
8077 if test -s conftest.err
; then
8078 # Append any errors to the config.log.
8079 cat conftest.err
1>&5
8080 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8081 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8082 if diff conftest.exp conftest.er2
>/dev
/null
; then
8083 lt_cv_prog_compiler_static_works
=yes
8086 lt_cv_prog_compiler_static_works
=yes
8090 LDFLAGS
="$save_LDFLAGS"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8094 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8096 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8099 lt_prog_compiler_static
=
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8109 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8110 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8111 $as_echo_n "(cached) " >&6
8113 lt_cv_prog_compiler_c_o
=no
8114 $RM -r conftest
2>/dev
/null
8118 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8120 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8121 # Insert the option either (1) after the last *FLAGS variable, or
8122 # (2) before a word containing "conftest.", or (3) at the end.
8123 # Note that $ac_compile itself does not contain backslashes and begins
8124 # with a dollar sign (not a hyphen), so the echo should work correctly.
8125 lt_compile
=`echo "$ac_compile" | $SED \
8126 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8128 -e 's:$: $lt_compiler_flag:'`
8129 (eval echo "\"\$as_me:8129: $lt_compile\"" >&5)
8130 (eval "$lt_compile" 2>out
/conftest.err
)
8132 cat out
/conftest.err
>&5
8133 echo "$as_me:8133: \$? = $ac_status" >&5
8134 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8136 # The compiler can only warn and ignore the option if not recognized
8137 # So say no if there are warnings
8138 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8139 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8140 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8141 lt_cv_prog_compiler_c_o
=yes
8146 # SGI C++ compiler will create directory out/ii_files/ for
8147 # template instantiation
8148 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8149 $RM out
/* && rmdir out
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8156 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8164 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8165 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8168 lt_cv_prog_compiler_c_o
=no
8169 $RM -r conftest
2>/dev
/null
8173 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8175 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8176 # Insert the option either (1) after the last *FLAGS variable, or
8177 # (2) before a word containing "conftest.", or (3) at the end.
8178 # Note that $ac_compile itself does not contain backslashes and begins
8179 # with a dollar sign (not a hyphen), so the echo should work correctly.
8180 lt_compile
=`echo "$ac_compile" | $SED \
8181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8183 -e 's:$: $lt_compiler_flag:'`
8184 (eval echo "\"\$as_me:8184: $lt_compile\"" >&5)
8185 (eval "$lt_compile" 2>out
/conftest.err
)
8187 cat out
/conftest.err
>&5
8188 echo "$as_me:8188: \$? = $ac_status" >&5
8189 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8191 # The compiler can only warn and ignore the option if not recognized
8192 # So say no if there are warnings
8193 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8194 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8195 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8196 lt_cv_prog_compiler_c_o
=yes
8201 # SGI C++ compiler will create directory out/ii_files/ for
8202 # template instantiation
8203 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8204 $RM out
/* && rmdir out
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8211 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8216 hard_links
="nottested"
8217 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8218 # do not overwrite the value of need_locks provided by the user
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8220 $as_echo_n "checking if we can lock with hard links... " >&6; }
8223 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8225 ln conftest.a conftest.b
2>&5 || hard_links
=no
8226 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8228 $as_echo "$hard_links" >&6; }
8229 if test "$hard_links" = no
; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8231 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8247 allow_undefined_flag
=
8248 always_export_symbols
=no
8250 archive_expsym_cmds
=
8251 compiler_needs_object
=no
8252 enable_shared_with_static_runtimes
=no
8253 export_dynamic_flag_spec
=
8254 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8255 hardcode_automatic
=no
8257 hardcode_direct_absolute
=no
8258 hardcode_libdir_flag_spec
=
8259 hardcode_libdir_flag_spec_ld
=
8260 hardcode_libdir_separator
=
8262 hardcode_shlibpath_var
=unsupported
8264 link_all_deplibs
=unknown
8267 old_archive_from_new_cmds
=
8268 old_archive_from_expsyms_cmds
=
8269 thread_safe_flag_spec
=
8270 whole_archive_flag_spec
=
8271 # include_expsyms should be a list of space-separated symbols to be *always*
8272 # included in the symbol list
8274 # exclude_expsyms can be an extended regexp of symbols to exclude
8275 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8276 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8277 # as well as any symbol that contains `d'.
8278 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8279 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8280 # platforms (ab)use it in PIC code, but their linkers get confused if
8281 # the symbol is explicitly referenced. Since portable code cannot
8282 # rely on this symbol name, it's probably fine to never include it in
8283 # preloaded symbol tables.
8284 # Exclude shared library initialization/finalization symbols.
8285 extract_expsyms_cmds
=
8288 cygwin
* | mingw
* | pw32
* | cegcc
*)
8289 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8290 # When not using gcc, we currently assume that we are using
8291 # Microsoft Visual C++.
8292 if test "$GCC" != yes; then
8297 # we just hope/assume this is gcc and not c89 (= MSVC++)
8303 linux
* | k
*bsd
*-gnu)
8309 if test "$with_gnu_ld" = yes; then
8310 # If archive_cmds runs LD, not CC, wlarc should be empty
8313 # Set some defaults for GNU ld with shared library support. These
8314 # are reset later if shared libraries are not supported. Putting them
8315 # here allows them to be overridden if necessary.
8316 runpath_var
=LD_RUN_PATH
8317 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8318 export_dynamic_flag_spec
='${wl}--export-dynamic'
8319 # ancient GNU ld didn't support --whole-archive et. al.
8320 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8321 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8323 whole_archive_flag_spec
=
8325 supports_anon_versioning
=no
8326 case `$LD -v 2>&1` in
8327 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8328 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8329 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8330 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8331 *\
2.11.
*) ;; # other 2.11 versions
8332 *) supports_anon_versioning
=yes ;;
8335 # See if GNU ld supports shared libraries.
8338 # On AIX/PPC, the GNU linker is very broken
8339 if test "$host_cpu" != ia64
; then
8343 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8344 *** to be unable to reliably create shared libraries on AIX.
8345 *** Therefore, libtool is disabling shared libraries support. If you
8346 *** really care for shared libraries, you may want to modify your PATH
8347 *** so that a non-GNU linker is found, and then restart.
8356 # see comment about AmigaOS4 .so support
8357 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8358 archive_expsym_cmds
=''
8361 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)'
8362 hardcode_libdir_flag_spec
='-L$libdir'
8363 hardcode_minus_L
=yes
8369 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8370 allow_undefined_flag
=unsupported
8371 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8372 # support --undefined. This deserves some investigation. FIXME
8373 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8379 cygwin
* | mingw
* | pw32
* | cegcc
*)
8380 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8381 # as there is no search path for DLLs.
8382 hardcode_libdir_flag_spec
='-L$libdir'
8383 allow_undefined_flag
=unsupported
8384 always_export_symbols
=no
8385 enable_shared_with_static_runtimes
=yes
8386 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8388 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8389 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8390 # If the export-symbols file already is a .def file (1st line
8391 # is EXPORTS), use it as is; otherwise, prepend...
8392 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8393 cp $export_symbols $output_objdir/$soname.def;
8395 echo EXPORTS > $output_objdir/$soname.def;
8396 cat $export_symbols >> $output_objdir/$soname.def;
8398 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8406 hardcode_shlibpath_var
=no
8407 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8408 export_dynamic_flag_spec
='${wl}-E'
8409 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8410 # Instead, shared libraries are loaded at an image base (0x10000000 by
8411 # default) and relocated if they conflict, which is a slow very memory
8412 # consuming and fragmenting process. To avoid this, we pick a random,
8413 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8414 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8415 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8416 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'
8419 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8421 if test "$host_os" = linux-dietlibc
; then
8422 case $cc_basename in
8423 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8426 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8427 && test "$tmp_diet" = no
8430 tmp_sharedflag
='-shared'
8431 case $cc_basename,$host_cpu in
8432 pgcc
*) # Portland Group C compiler
8433 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8434 tmp_addflag
=' $pic_flag'
8436 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8437 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8438 tmp_addflag
=' $pic_flag -Mnomain' ;;
8439 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8440 tmp_addflag
=' -i_dynamic' ;;
8441 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8442 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8443 ifc
* | ifort
*) # Intel Fortran compiler
8444 tmp_addflag
=' -nofor_main' ;;
8445 lf95
*) # Lahey Fortran 8.1
8446 whole_archive_flag_spec
=
8447 tmp_sharedflag
='--shared' ;;
8448 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8449 tmp_sharedflag
='-qmkshrobj'
8452 case `$CC -V 2>&1 | sed 5q` in
8453 *Sun\ C
*) # Sun C 5.9
8454 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8455 compiler_needs_object
=yes
8456 tmp_sharedflag
='-G' ;;
8457 *Sun\ F
*) # Sun Fortran 8.3
8458 tmp_sharedflag
='-G' ;;
8460 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8462 if test "x$supports_anon_versioning" = xyes
; then
8463 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8464 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8465 echo "local: *; };" >> $output_objdir/$libname.ver~
8466 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8469 case $cc_basename in
8471 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8472 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8473 hardcode_libdir_flag_spec
=
8474 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8475 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8476 if test "x$supports_anon_versioning" = xyes
; then
8477 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8478 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8479 echo "local: *; };" >> $output_objdir/$libname.ver~
8480 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8489 netbsd
* | netbsdelf
*-gnu)
8490 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8491 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8494 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8495 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8500 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8504 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8505 *** create shared libraries on Solaris systems. Therefore, libtool
8506 *** is disabling shared libraries support. We urge you to upgrade GNU
8507 *** binutils to release 2.9.1 or newer. Another option is to modify
8508 *** your PATH or compiler configuration so that the native linker is
8509 *** used, and then restart.
8512 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8513 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8514 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8520 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8521 case `$LD -v 2>&1` in
8522 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8526 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8527 *** reliably create shared libraries on SCO systems. Therefore, libtool
8528 *** is disabling shared libraries support. We urge you to upgrade GNU
8529 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8530 *** your PATH or compiler configuration so that the native linker is
8531 *** used, and then restart.
8536 # For security reasons, it is highly recommended that you always
8537 # use absolute paths for naming shared libraries, and exclude the
8538 # DT_RUNPATH tag from executables and libraries. But doing so
8539 # requires that you compile everything twice, which is a pain.
8540 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8541 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8543 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8552 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8555 hardcode_shlibpath_var
=no
8559 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8560 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8561 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8568 if test "$ld_shlibs" = no
; then
8570 hardcode_libdir_flag_spec
=
8571 export_dynamic_flag_spec
=
8572 whole_archive_flag_spec
=
8575 # PORTME fill in a description of your system's linker (not GNU ld)
8578 allow_undefined_flag
=unsupported
8579 always_export_symbols
=yes
8580 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'
8581 # Note: this linker hardcodes the directories in LIBPATH if there
8582 # are no directories specified by -L.
8583 hardcode_minus_L
=yes
8584 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8585 # Neither direct hardcoding nor static linking is supported with a
8587 hardcode_direct
=unsupported
8592 if test "$host_cpu" = ia64
; then
8593 # On IA64, the linker does run time linking by default, so we don't
8594 # have to do anything special.
8595 aix_use_runtimelinking
=no
8596 exp_sym_flag
='-Bexport'
8599 # If we're using GNU nm, then we don't want the "-C" option.
8600 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8601 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8602 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8604 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'
8606 aix_use_runtimelinking
=no
8608 # Test if we are trying to use run time linking or normal
8609 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8610 # need to do runtime linking.
8611 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8612 for ld_flag
in $LDFLAGS; do
8613 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8614 aix_use_runtimelinking
=yes
8621 exp_sym_flag
='-bexport'
8622 no_entry_flag
='-bnoentry'
8625 # When large executables or shared objects are built, AIX ld can
8626 # have problems creating the table of contents. If linking a library
8627 # or program results in "error TOC overflow" add -mminimal-toc to
8628 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8629 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8633 hardcode_direct_absolute
=yes
8634 hardcode_libdir_separator
=':'
8635 link_all_deplibs
=yes
8636 file_list_spec
='${wl}-f,'
8638 if test "$GCC" = yes; then
8639 case $host_os in aix4.
[012]|aix4.
[012].
*)
8640 # We only want to do this on AIX 4.2 and lower, the check
8641 # below for broken collect2 doesn't work under 4.3+
8642 collect2name
=`${CC} -print-prog-name=collect2`
8643 if test -f "$collect2name" &&
8644 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8646 # We have reworked collect2
8649 # We have old collect2
8650 hardcode_direct
=unsupported
8651 # It fails to find uninstalled libraries when the uninstalled
8652 # path is not listed in the libpath. Setting hardcode_minus_L
8653 # to unsupported forces relinking
8654 hardcode_minus_L
=yes
8655 hardcode_libdir_flag_spec
='-L$libdir'
8656 hardcode_libdir_separator
=
8660 shared_flag
='-shared'
8661 if test "$aix_use_runtimelinking" = yes; then
8662 shared_flag
="$shared_flag "'${wl}-G'
8667 if test "$host_cpu" = ia64
; then
8668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8669 # chokes on -Wl,-G. The following line is correct:
8672 if test "$aix_use_runtimelinking" = yes; then
8673 shared_flag
='${wl}-G'
8675 shared_flag
='${wl}-bM:SRE'
8680 export_dynamic_flag_spec
='${wl}-bexpall'
8681 # It seems that -bexpall does not export symbols beginning with
8682 # underscore (_), so it is better to generate a list of symbols to export.
8683 always_export_symbols
=yes
8684 if test "$aix_use_runtimelinking" = yes; then
8685 # Warning - without using the other runtime loading flags (-brtl),
8686 # -berok will link without error, but may produce a broken library.
8687 allow_undefined_flag
='-berok'
8688 # Determine the default libpath from the value encoded in an
8690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8701 if ac_fn_c_try_link
"$LINENO"; then :
8703 lt_aix_libpath_sed
='
8704 /Import File Strings/,/^$/ {
8710 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8711 # Check for a 64-bit object if we didn't find anything.
8712 if test -z "$aix_libpath"; then
8713 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8716 rm -f core conftest.err conftest.
$ac_objext \
8717 conftest
$ac_exeext conftest.
$ac_ext
8718 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8720 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8721 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8723 if test "$host_cpu" = ia64
; then
8724 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8725 allow_undefined_flag
="-z nodefs"
8726 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"
8728 # Determine the default libpath from the value encoded in an
8730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8741 if ac_fn_c_try_link
"$LINENO"; then :
8743 lt_aix_libpath_sed
='
8744 /Import File Strings/,/^$/ {
8750 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8751 # Check for a 64-bit object if we didn't find anything.
8752 if test -z "$aix_libpath"; then
8753 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8756 rm -f core conftest.err conftest.
$ac_objext \
8757 conftest
$ac_exeext conftest.
$ac_ext
8758 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8760 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8761 # Warning - without using the other run time loading flags,
8762 # -berok will link without error, but may produce a broken library.
8763 no_undefined_flag
=' ${wl}-bernotok'
8764 allow_undefined_flag
=' ${wl}-berok'
8765 # Exported symbols can be pulled into shared objects from archives
8766 whole_archive_flag_spec
='$convenience'
8767 archive_cmds_need_lc
=yes
8768 # This is similar to how AIX traditionally builds its shared libraries.
8769 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'
8777 # see comment about AmigaOS4 .so support
8778 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8779 archive_expsym_cmds
=''
8782 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)'
8783 hardcode_libdir_flag_spec
='-L$libdir'
8784 hardcode_minus_L
=yes
8790 export_dynamic_flag_spec
=-rdynamic
8793 cygwin
* | mingw
* | pw32
* | cegcc
*)
8794 # When not using gcc, we currently assume that we are using
8795 # Microsoft Visual C++.
8796 # hardcode_libdir_flag_spec is actually meaningless, as there is
8797 # no search path for DLLs.
8798 hardcode_libdir_flag_spec
=' '
8799 allow_undefined_flag
=unsupported
8800 # Tell ltmain to make .lib files, not .a files.
8802 # Tell ltmain to make .dll files, not .so files.
8804 # FIXME: Setting linknames here is a bad hack.
8805 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8806 # The linker will automatically build a .lib file if we build a DLL.
8807 old_archive_from_new_cmds
='true'
8808 # FIXME: Should let the user specify the lib program.
8809 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8810 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8811 enable_shared_with_static_runtimes
=yes
8814 darwin
* | rhapsody
*)
8817 archive_cmds_need_lc
=no
8819 hardcode_automatic
=yes
8820 hardcode_shlibpath_var
=unsupported
8821 whole_archive_flag_spec
=''
8822 link_all_deplibs
=yes
8823 allow_undefined_flag
="$_lt_dar_allow_undefined"
8824 case $cc_basename in
8825 ifort
*) _lt_dar_can_shared
=yes ;;
8826 *) _lt_dar_can_shared
=$GCC ;;
8828 if test "$_lt_dar_can_shared" = "yes"; then
8829 output_verbose_link_cmd
=echo
8830 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8831 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8832 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}"
8833 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}"
8842 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8843 hardcode_libdir_flag_spec
='-L$libdir'
8844 hardcode_shlibpath_var
=no
8851 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8852 # support. Future versions do this automatically, but an explicit c++rt0.o
8853 # does not break anything, and helps significantly (at the cost of a little
8856 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8857 hardcode_libdir_flag_spec
='-R$libdir'
8859 hardcode_shlibpath_var
=no
8862 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8864 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8866 hardcode_minus_L
=yes
8867 hardcode_shlibpath_var
=no
8870 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8871 freebsd
* | dragonfly
*)
8872 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8873 hardcode_libdir_flag_spec
='-R$libdir'
8875 hardcode_shlibpath_var
=no
8879 if test "$GCC" = yes; then
8880 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8882 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'
8884 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8885 hardcode_libdir_separator
=:
8888 # hardcode_minus_L: Not really in the search PATH,
8889 # but as the default location of the library.
8890 hardcode_minus_L
=yes
8891 export_dynamic_flag_spec
='${wl}-E'
8895 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8896 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8898 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8900 if test "$with_gnu_ld" = no
; then
8901 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8902 hardcode_libdir_flag_spec_ld
='+b $libdir'
8903 hardcode_libdir_separator
=:
8905 hardcode_direct_absolute
=yes
8906 export_dynamic_flag_spec
='${wl}-E'
8907 # hardcode_minus_L: Not really in the search PATH,
8908 # but as the default location of the library.
8909 hardcode_minus_L
=yes
8914 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8917 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8920 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8923 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8929 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8932 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8935 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8939 if test "$with_gnu_ld" = no
; then
8940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8941 hardcode_libdir_separator
=:
8946 hardcode_shlibpath_var
=no
8950 hardcode_direct_absolute
=yes
8951 export_dynamic_flag_spec
='${wl}-E'
8953 # hardcode_minus_L: Not really in the search PATH,
8954 # but as the default location of the library.
8955 hardcode_minus_L
=yes
8961 irix5
* | irix6
* | nonstopux
*)
8962 if test "$GCC" = yes; then
8963 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8964 # Try to use the -exported_symbol ld option, if it does not
8965 # work, assume that -exports_file does not work either and
8966 # implicitly export all symbols.
8967 save_LDFLAGS
="$LDFLAGS"
8968 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8973 if ac_fn_c_try_link
"$LINENO"; then :
8974 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8977 rm -f core conftest.err conftest.
$ac_objext \
8978 conftest
$ac_exeext conftest.
$ac_ext
8979 LDFLAGS
="$save_LDFLAGS"
8981 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8982 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8984 archive_cmds_need_lc
='no'
8985 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8986 hardcode_libdir_separator
=:
8988 link_all_deplibs
=yes
8991 netbsd
* | netbsdelf
*-gnu)
8992 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8993 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8995 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8997 hardcode_libdir_flag_spec
='-R$libdir'
8999 hardcode_shlibpath_var
=no
9003 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9005 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9006 hardcode_libdir_separator
=:
9007 hardcode_shlibpath_var
=no
9014 if test -f /usr
/libexec
/ld.so
; then
9016 hardcode_shlibpath_var
=no
9017 hardcode_direct_absolute
=yes
9018 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9019 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9021 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9022 export_dynamic_flag_spec
='${wl}-E'
9025 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9026 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9027 hardcode_libdir_flag_spec
='-R$libdir'
9030 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9031 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9041 hardcode_libdir_flag_spec
='-L$libdir'
9042 hardcode_minus_L
=yes
9043 allow_undefined_flag
=unsupported
9044 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'
9045 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9049 if test "$GCC" = yes; then
9050 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9051 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9053 allow_undefined_flag
=' -expect_unresolved \*'
9054 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9056 archive_cmds_need_lc
='no'
9057 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9058 hardcode_libdir_separator
=:
9061 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9062 if test "$GCC" = yes; then
9063 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9064 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9065 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9067 allow_undefined_flag
=' -expect_unresolved \*'
9068 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9069 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~
9070 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9072 # Both c and cxx compiler support -rpath directly
9073 hardcode_libdir_flag_spec
='-rpath $libdir'
9075 archive_cmds_need_lc
='no'
9076 hardcode_libdir_separator
=:
9080 no_undefined_flag
=' -z defs'
9081 if test "$GCC" = yes; then
9083 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9084 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9085 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9087 case `$CC -V 2>&1` in
9090 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9091 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9092 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9096 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9097 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9098 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9102 hardcode_libdir_flag_spec
='-R$libdir'
9103 hardcode_shlibpath_var
=no
9105 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9107 # The compiler driver will combine and reorder linker options,
9108 # but understands `-z linker_flag'. GCC discards it without `$wl',
9109 # but is careful enough not to reorder.
9110 # Supported since Solaris 2.6 (maybe 2.5.1?)
9111 if test "$GCC" = yes; then
9112 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9114 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9118 link_all_deplibs
=yes
9122 if test "x$host_vendor" = xsequent
; then
9123 # Use $CC to link under sequent, because it throws in some extra .o
9124 # files that make .init and .fini sections work.
9125 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9127 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9129 hardcode_libdir_flag_spec
='-L$libdir'
9131 hardcode_minus_L
=yes
9132 hardcode_shlibpath_var
=no
9136 case $host_vendor in
9138 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9139 hardcode_direct
=yes # is this really true???
9142 ## LD is ld it makes a PLAMLIB
9143 ## CC just makes a GrossModule.
9144 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9145 reload_cmds
='$CC -r -o $output$reload_objs'
9149 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9150 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9153 runpath_var
='LD_RUN_PATH'
9154 hardcode_shlibpath_var
=no
9158 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9159 hardcode_shlibpath_var
=no
9160 export_dynamic_flag_spec
='-Bexport'
9164 if test -d /usr
/nec
; then
9165 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9166 hardcode_shlibpath_var
=no
9167 runpath_var
=LD_RUN_PATH
9168 hardcode_runpath_var
=yes
9173 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9174 no_undefined_flag
='${wl}-z,text'
9175 archive_cmds_need_lc
=no
9176 hardcode_shlibpath_var
=no
9177 runpath_var
='LD_RUN_PATH'
9179 if test "$GCC" = yes; then
9180 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9181 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9183 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9184 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 sysv5
* | sco3.2v5
* | sco5v6
*)
9189 # Note: We can NOT use -z defs as we might desire, because we do not
9190 # link with -lc, and that would cause any symbols used from libc to
9191 # always be unresolved, which means just about no library would
9192 # ever link correctly. If we're not using GNU ld we use -z text
9193 # though, which does catch some bad symbols but isn't as heavy-handed
9195 no_undefined_flag
='${wl}-z,text'
9196 allow_undefined_flag
='${wl}-z,nodefs'
9197 archive_cmds_need_lc
=no
9198 hardcode_shlibpath_var
=no
9199 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9200 hardcode_libdir_separator
=':'
9201 link_all_deplibs
=yes
9202 export_dynamic_flag_spec
='${wl}-Bexport'
9203 runpath_var
='LD_RUN_PATH'
9205 if test "$GCC" = yes; then
9206 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9207 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9209 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_libdir_flag_spec
='-L$libdir'
9217 hardcode_shlibpath_var
=no
9225 if test x
$host_vendor = xsni
; then
9227 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9228 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9235 $as_echo "$ld_shlibs" >&6; }
9236 test "$ld_shlibs" = no
&& can_build_shared
=no
9238 with_gnu_ld
=$with_gnu_ld
9255 # Do we need to explicitly link libc?
9257 case "x$archive_cmds_need_lc" in
9259 # Assume -lc should be added
9260 archive_cmds_need_lc
=yes
9262 if test "$enable_shared" = yes && test "$GCC" = yes; then
9263 case $archive_cmds in
9265 # FIXME: we may have to deal with multi-command sequences.
9268 # Test whether the compiler implicitly links with -lc since on some
9269 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9270 # to ld, don't add -lc before -lgcc.
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9272 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9274 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9277 (eval $ac_compile) 2>&5
9279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9280 test $ac_status = 0; } 2>conftest.err
; then
9283 libobjs
=conftest.
$ac_objext
9285 wl
=$lt_prog_compiler_wl
9286 pic_flag
=$lt_prog_compiler_pic
9292 lt_save_allow_undefined_flag
=$allow_undefined_flag
9293 allow_undefined_flag
=
9294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9295 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9298 test $ac_status = 0; }
9300 archive_cmds_need_lc
=no
9302 archive_cmds_need_lc
=yes
9304 allow_undefined_flag
=$lt_save_allow_undefined_flag
9306 cat conftest.err
1>&5
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9310 $as_echo "$archive_cmds_need_lc" >&6; }
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9476 if test "$GCC" = yes; then
9478 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9479 *) lt_awk_arg
="/^libraries:/" ;;
9481 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9482 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9483 # if the path contains ";" then we assume it to be the separator
9484 # otherwise default to the standard path separator (i.e. ":") - it is
9485 # assumed that no part of a normal pathname contains ";" but that should
9486 # okay in the real world where ";" in dirpaths is itself problematic.
9487 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9489 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9491 # Ok, now we have the path, separated by spaces, we can step through it
9492 # and add multilib dir if necessary.
9493 lt_tmp_lt_search_path_spec
=
9494 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9495 for lt_sys_path
in $lt_search_path_spec; do
9496 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9497 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9499 test -d "$lt_sys_path" && \
9500 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9503 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9504 BEGIN {RS=" "; FS="/|\n";} {
9507 for (lt_i = NF; lt_i > 0; lt_i--) {
9508 if ($lt_i != "" && $lt_i != ".") {
9509 if ($lt_i == "..") {
9512 if (lt_count == 0) {
9513 lt_foo="/" $lt_i lt_foo;
9520 if (lt_foo != "") { lt_freq[lt_foo]++; }
9521 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9523 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9525 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9528 libname_spec
='lib$name'
9536 shlibpath_overrides_runpath
=unknown
9538 dynamic_linker
="$host_os ld.so"
9539 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9540 need_lib_prefix
=unknown
9541 hardcode_into_libs
=no
9543 # when you set need_version to no, make sure it does not cause -set_version
9544 # flags to be left without arguments
9545 need_version
=unknown
9550 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9551 shlibpath_var
=LIBPATH
9553 # AIX 3 has no versioning support, so we append a major version to the name.
9554 soname_spec
='${libname}${release}${shared_ext}$major'
9561 hardcode_into_libs
=yes
9562 if test "$host_cpu" = ia64
; then
9563 # AIX 5 supports IA64
9564 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9565 shlibpath_var
=LD_LIBRARY_PATH
9567 # With GCC up to 2.95.x, collect2 would create an import file
9568 # for dependence libraries. The import file would start with
9569 # the line `#! .'. This would cause the generated library to
9570 # depend on `.', always an invalid library. This was fixed in
9571 # development snapshots of GCC prior to 3.0.
9573 aix4 | aix4.
[01] | aix4.
[01].
*)
9574 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9576 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9583 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9584 # soname into executable. Probably we can add versioning support to
9585 # collect2, so additional links can be useful in future.
9586 if test "$aix_use_runtimelinking" = yes; then
9587 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9588 # instead of lib<name>.a to let people know that these are not
9589 # typical AIX shared libraries.
9590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 # We preserve .a as extension for shared libraries through AIX4.2
9593 # and later when we are not doing run time linking.
9594 library_names_spec
='${libname}${release}.a $libname.a'
9595 soname_spec
='${libname}${release}${shared_ext}$major'
9597 shlibpath_var
=LIBPATH
9604 # Since July 2007 AmigaOS4 officially supports .so libraries.
9605 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9609 library_names_spec
='$libname.ixlibrary $libname.a'
9610 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9611 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9617 library_names_spec
='${libname}${shared_ext}'
9618 dynamic_linker
="$host_os ld.so"
9619 shlibpath_var
=LIBRARY_PATH
9625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9626 soname_spec
='${libname}${release}${shared_ext}$major'
9627 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9628 shlibpath_var
=LD_LIBRARY_PATH
9629 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9630 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9631 # the default ld.so.conf also contains /usr/contrib/lib and
9632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9633 # libtool to hard-code these into programs
9636 cygwin
* | mingw
* | pw32
* | cegcc
*)
9637 version_type
=windows
9642 case $GCC,$host_os in
9643 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9644 library_names_spec
='$libname.dll.a'
9645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9646 postinstall_cmds
='base_file=`basename \${file}`~
9647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9648 dldir=$destdir/`dirname \$dlpath`~
9649 test -d \$dldir || mkdir -p \$dldir~
9650 $install_prog $dir/$dlname \$dldir/$dlname~
9651 chmod a+x \$dldir/$dlname~
9652 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9653 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9655 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9656 dlpath=$dir/\$dldll~
9658 shlibpath_overrides_runpath
=yes
9662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9663 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9664 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9667 # MinGW DLLs use traditional 'lib' prefix
9668 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9669 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9670 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9671 # It is most probably a Windows format PATH printed by
9672 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9673 # path with ; separators, and with drive letters. We can handle the
9674 # drive letters (cygwin fileutils understands them), so leave them,
9675 # especially as we might pass files found there to a mingw objdump,
9676 # which wouldn't understand a cygwinified path. Ahh.
9677 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9679 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9683 # pw32 DLLs use 'pw' prefix rather than 'lib'
9684 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9690 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9693 dynamic_linker
='Win32 ld.exe'
9694 # FIXME: first we should search . and the directory the executable is in
9698 darwin
* | rhapsody
*)
9699 dynamic_linker
="$host_os dyld"
9703 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9704 soname_spec
='${libname}${release}${major}$shared_ext'
9705 shlibpath_overrides_runpath
=yes
9706 shlibpath_var
=DYLD_LIBRARY_PATH
9707 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9709 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9710 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9718 soname_spec
='${libname}${release}${shared_ext}$major'
9719 shlibpath_var
=LD_LIBRARY_PATH
9726 freebsd
* | dragonfly
*)
9727 # DragonFly does not have aout. When/if they implement a new
9728 # versioning mechanism, adjust this.
9729 if test -x /usr
/bin
/objformat
; then
9730 objformat
=`/usr/bin/objformat`
9733 freebsd
[123]*) objformat
=aout
;;
9737 version_type
=freebsd-
$objformat
9738 case $version_type in
9740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9745 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9749 shlibpath_var
=LD_LIBRARY_PATH
9752 shlibpath_overrides_runpath
=yes
9754 freebsd3.
[01]* | freebsdelf3.
[01]*)
9755 shlibpath_overrides_runpath
=yes
9756 hardcode_into_libs
=yes
9758 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9759 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9760 shlibpath_overrides_runpath
=no
9761 hardcode_into_libs
=yes
9763 *) # from 4.6 on, and DragonFly
9764 shlibpath_overrides_runpath
=yes
9765 hardcode_into_libs
=yes
9774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9775 soname_spec
='${libname}${release}${shared_ext}$major'
9776 shlibpath_var
=LD_LIBRARY_PATH
9777 hardcode_into_libs
=yes
9780 hpux9
* | hpux10
* | hpux11
*)
9781 # Give a soname corresponding to the major version so that dld.sl refuses to
9782 # link against other versions.
9789 hardcode_into_libs
=yes
9790 dynamic_linker
="$host_os dld.so"
9791 shlibpath_var
=LD_LIBRARY_PATH
9792 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec
='${libname}${release}${shared_ext}$major'
9795 if test "X$HPUX_IA64_MODE" = X32
; then
9796 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9798 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9800 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9804 hardcode_into_libs
=yes
9805 dynamic_linker
="$host_os dld.sl"
9806 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9807 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9808 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9809 soname_spec
='${libname}${release}${shared_ext}$major'
9810 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9811 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9815 dynamic_linker
="$host_os dld.sl"
9816 shlibpath_var
=SHLIB_PATH
9817 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9819 soname_spec
='${libname}${release}${shared_ext}$major'
9822 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9823 postinstall_cmds
='chmod 555 $lib'
9830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9832 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9833 shlibpath_var
=LD_LIBRARY_PATH
9834 shlibpath_overrides_runpath
=no
9835 hardcode_into_libs
=yes
9838 irix5
* | irix6
* | nonstopux
*)
9840 nonstopux
*) version_type
=nonstopux
;;
9842 if test "$lt_cv_prog_gnu_ld" = yes; then
9850 soname_spec
='${libname}${release}${shared_ext}$major'
9851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9853 irix5
* | nonstopux
*)
9857 case $LD in # libtool.m4 will add one of these switches to LD
9858 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9859 libsuff
= shlibsuff
= libmagic
=32-bit;;
9860 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9861 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9862 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9863 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9864 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9868 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9869 shlibpath_overrides_runpath
=no
9870 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9871 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9872 hardcode_into_libs
=yes
9875 # No shared lib support for Linux oldld, aout, or coff.
9876 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9880 # This must be Linux ELF.
9881 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9886 soname_spec
='${libname}${release}${shared_ext}$major'
9887 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9888 shlibpath_var
=LD_LIBRARY_PATH
9889 shlibpath_overrides_runpath
=no
9890 # Some binutils ld are patched to set DT_RUNPATH
9891 save_LDFLAGS
=$LDFLAGS
9893 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9894 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9906 if ac_fn_c_try_link
"$LINENO"; then :
9907 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9908 shlibpath_overrides_runpath
=yes
9911 rm -f core conftest.err conftest.
$ac_objext \
9912 conftest
$ac_exeext conftest.
$ac_ext
9913 LDFLAGS
=$save_LDFLAGS
9916 # This implies no fast_install, which is unacceptable.
9917 # Some rework will be needed to allow for fast_install
9918 # before this can be enabled.
9919 hardcode_into_libs
=yes
9921 # Append ld.so.conf contents to the search path
9922 if test -f /etc
/ld.so.conf
; then
9923 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;/^$/d' | tr '\n' ' '`
9924 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9927 # We used to test for /lib/ld.so.1 and disable shared libraries on
9928 # powerpc, because MkLinux only supported shared libraries with the
9929 # GNU dynamic linker. Since this was broken with cross compilers,
9930 # most powerpc-linux boxes support dynamic linking these days and
9931 # people can always --disable-shared, the test was removed, and we
9932 # assume the GNU/Linux dynamic linker is in use.
9933 dynamic_linker
='GNU/Linux ld.so'
9940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9941 soname_spec
='${libname}${release}${shared_ext}$major'
9942 shlibpath_var
=LD_LIBRARY_PATH
9943 shlibpath_overrides_runpath
=no
9944 hardcode_into_libs
=yes
9945 dynamic_linker
='NetBSD ld.elf_so'
9952 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9954 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9955 dynamic_linker
='NetBSD (a.out) ld.so'
9957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9958 soname_spec
='${libname}${release}${shared_ext}$major'
9959 dynamic_linker
='NetBSD ld.elf_so'
9961 shlibpath_var
=LD_LIBRARY_PATH
9962 shlibpath_overrides_runpath
=yes
9963 hardcode_into_libs
=yes
9968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969 shlibpath_var
=LD_LIBRARY_PATH
9970 shlibpath_overrides_runpath
=yes
9977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9978 soname_spec
='${libname}${release}${shared_ext}$major'
9979 shlibpath_var
=LD_LIBRARY_PATH
9980 shlibpath_overrides_runpath
=no
9981 hardcode_into_libs
=yes
9982 dynamic_linker
='ldqnx.so'
9987 sys_lib_dlsearch_path_spec
="/usr/lib"
9989 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9991 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9992 *) need_version
=no
;;
9994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9995 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9996 shlibpath_var
=LD_LIBRARY_PATH
9997 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9999 openbsd2.
[89] | openbsd2.
[89].
*)
10000 shlibpath_overrides_runpath
=no
10003 shlibpath_overrides_runpath
=yes
10007 shlibpath_overrides_runpath
=yes
10012 libname_spec
='$name'
10015 library_names_spec
='$libname${shared_ext} $libname.a'
10016 dynamic_linker
='OS/2 ld.exe'
10017 shlibpath_var
=LIBPATH
10020 osf3
* | osf4
* | osf5
*)
10024 soname_spec
='${libname}${release}${shared_ext}$major'
10025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10026 shlibpath_var
=LD_LIBRARY_PATH
10027 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10028 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10040 soname_spec
='${libname}${release}${shared_ext}$major'
10041 shlibpath_var
=LD_LIBRARY_PATH
10042 shlibpath_overrides_runpath
=yes
10043 hardcode_into_libs
=yes
10044 # ldd complains unless libraries are executable
10045 postinstall_cmds
='chmod +x $lib'
10050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10051 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10052 shlibpath_var
=LD_LIBRARY_PATH
10053 shlibpath_overrides_runpath
=yes
10054 if test "$with_gnu_ld" = yes; then
10062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10063 soname_spec
='${libname}${release}${shared_ext}$major'
10064 shlibpath_var
=LD_LIBRARY_PATH
10065 case $host_vendor in
10067 shlibpath_overrides_runpath
=no
10069 runpath_var
=LD_RUN_PATH
10077 shlibpath_overrides_runpath
=no
10078 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10084 if test -d /usr
/nec
;then
10086 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10087 soname_spec
='$libname${shared_ext}.$major'
10088 shlibpath_var
=LD_LIBRARY_PATH
10092 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10093 version_type
=freebsd-elf
10096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10097 soname_spec
='${libname}${release}${shared_ext}$major'
10098 shlibpath_var
=LD_LIBRARY_PATH
10099 shlibpath_overrides_runpath
=yes
10100 hardcode_into_libs
=yes
10101 if test "$with_gnu_ld" = yes; then
10102 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10104 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10107 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10111 sys_lib_dlsearch_path_spec
='/usr/lib'
10115 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10120 shlibpath_var
=LD_LIBRARY_PATH
10121 shlibpath_overrides_runpath
=no
10122 hardcode_into_libs
=yes
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec
='${libname}${release}${shared_ext}$major'
10129 shlibpath_var
=LD_LIBRARY_PATH
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10137 $as_echo "$dynamic_linker" >&6; }
10138 test "$dynamic_linker" = no
&& can_build_shared
=no
10140 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10141 if test "$GCC" = yes; then
10142 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10145 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10146 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10148 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10149 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10239 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10241 if test -n "$hardcode_libdir_flag_spec" ||
10242 test -n "$runpath_var" ||
10243 test "X$hardcode_automatic" = "Xyes" ; then
10245 # We can hardcode non-existent directories.
10246 if test "$hardcode_direct" != no
&&
10247 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10248 # have to relink, otherwise we might link with an installed library
10249 # when we should be linking with a yet-to-be-installed one
10250 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10251 test "$hardcode_minus_L" != no
; then
10252 # Linking always hardcodes the temporary library directory.
10253 hardcode_action
=relink
10255 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10256 hardcode_action
=immediate
10259 # We cannot hardcode anything, or else we can only hardcode existing
10261 hardcode_action
=unsupported
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10264 $as_echo "$hardcode_action" >&6; }
10266 if test "$hardcode_action" = relink ||
10267 test "$inherit_rpath" = yes; then
10268 # Fast installation is not supported
10269 enable_fast_install
=no
10270 elif test "$shlibpath_overrides_runpath" = yes ||
10271 test "$enable_shared" = no
; then
10272 # Fast installation is not necessary
10273 enable_fast_install
=needless
10281 if test "x$enable_dlopen" != xyes
; then
10282 enable_dlopen
=unknown
10283 enable_dlopen_self
=unknown
10284 enable_dlopen_self_static
=unknown
10291 lt_cv_dlopen
="load_add_on"
10293 lt_cv_dlopen_self
=yes
10296 mingw
* | pw32
* | cegcc
*)
10297 lt_cv_dlopen
="LoadLibrary"
10302 lt_cv_dlopen
="dlopen"
10307 # if libdl is installed we need to link against it
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10309 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10310 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10311 $as_echo_n "(cached) " >&6
10313 ac_check_lib_save_LIBS
=$LIBS
10315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10333 if ac_fn_c_try_link
"$LINENO"; then :
10334 ac_cv_lib_dl_dlopen
=yes
10336 ac_cv_lib_dl_dlopen
=no
10338 rm -f core conftest.err conftest.
$ac_objext \
10339 conftest
$ac_exeext conftest.
$ac_ext
10340 LIBS
=$ac_check_lib_save_LIBS
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10343 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10344 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10345 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10348 lt_cv_dlopen
="dyld"
10350 lt_cv_dlopen_self
=yes
10357 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10358 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10359 lt_cv_dlopen
="shl_load"
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10362 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10363 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10364 $as_echo_n "(cached) " >&6
10366 ac_check_lib_save_LIBS
=$LIBS
10368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10381 return shl_load ();
10386 if ac_fn_c_try_link
"$LINENO"; then :
10387 ac_cv_lib_dld_shl_load
=yes
10389 ac_cv_lib_dld_shl_load
=no
10391 rm -f core conftest.err conftest.
$ac_objext \
10392 conftest
$ac_exeext conftest.
$ac_ext
10393 LIBS
=$ac_check_lib_save_LIBS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10396 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10397 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10398 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10400 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10401 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10402 lt_cv_dlopen
="dlopen"
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10405 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10407 $as_echo_n "(cached) " >&6
10409 ac_check_lib_save_LIBS
=$LIBS
10411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10429 if ac_fn_c_try_link
"$LINENO"; then :
10430 ac_cv_lib_dl_dlopen
=yes
10432 ac_cv_lib_dl_dlopen
=no
10434 rm -f core conftest.err conftest.
$ac_objext \
10435 conftest
$ac_exeext conftest.
$ac_ext
10436 LIBS
=$ac_check_lib_save_LIBS
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10440 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10441 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10444 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10445 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10446 $as_echo_n "(cached) " >&6
10448 ac_check_lib_save_LIBS
=$LIBS
10449 LIBS
="-lsvld $LIBS"
10450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10468 if ac_fn_c_try_link
"$LINENO"; then :
10469 ac_cv_lib_svld_dlopen
=yes
10471 ac_cv_lib_svld_dlopen
=no
10473 rm -f core conftest.err conftest.
$ac_objext \
10474 conftest
$ac_exeext conftest.
$ac_ext
10475 LIBS
=$ac_check_lib_save_LIBS
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10478 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10479 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10480 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10483 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10484 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10485 $as_echo_n "(cached) " >&6
10487 ac_check_lib_save_LIBS
=$LIBS
10489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10490 /* end confdefs.h. */
10492 /* Override any GCC internal prototype to avoid an error.
10493 Use char because int might match the return type of a GCC
10494 builtin and then its argument prototype would still apply. */
10502 return dld_link ();
10507 if ac_fn_c_try_link
"$LINENO"; then :
10508 ac_cv_lib_dld_dld_link
=yes
10510 ac_cv_lib_dld_dld_link
=no
10512 rm -f core conftest.err conftest.
$ac_objext \
10513 conftest
$ac_exeext conftest.
$ac_ext
10514 LIBS
=$ac_check_lib_save_LIBS
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10517 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10518 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10519 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10540 if test "x$lt_cv_dlopen" != xno
; then
10546 case $lt_cv_dlopen in
10548 save_CPPFLAGS
="$CPPFLAGS"
10549 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10551 save_LDFLAGS
="$LDFLAGS"
10552 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10555 LIBS
="$lt_cv_dlopen_libs $LIBS"
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10558 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10559 if test "${lt_cv_dlopen_self+set}" = set; then :
10560 $as_echo_n "(cached) " >&6
10562 if test "$cross_compiling" = yes; then :
10563 lt_cv_dlopen_self
=cross
10565 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10566 lt_status
=$lt_dlunknown
10567 cat > conftest.
$ac_ext <<_LT_EOF
10568 #line 10568 "configure"
10569 #include "confdefs.h"
10578 # define LT_DLGLOBAL RTLD_GLOBAL
10581 # define LT_DLGLOBAL DL_GLOBAL
10583 # define LT_DLGLOBAL 0
10587 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10588 find out it does not work in some platform. */
10589 #ifndef LT_DLLAZY_OR_NOW
10591 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10594 # define LT_DLLAZY_OR_NOW DL_LAZY
10597 # define LT_DLLAZY_OR_NOW RTLD_NOW
10600 # define LT_DLLAZY_OR_NOW DL_NOW
10602 # define LT_DLLAZY_OR_NOW 0
10609 void fnord() { int i=42;}
10612 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10613 int status = $lt_dlunknown;
10617 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10618 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10619 /* dlclose (self); */
10627 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10628 (eval $ac_link) 2>&5
10630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10631 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10632 (.
/conftest
; exit; ) >&5 2>/dev
/null
10634 case x
$lt_status in
10635 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10636 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10637 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10640 # compilation failed
10641 lt_cv_dlopen_self
=no
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10649 $as_echo "$lt_cv_dlopen_self" >&6; }
10651 if test "x$lt_cv_dlopen_self" = xyes
; then
10652 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10654 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10655 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10656 $as_echo_n "(cached) " >&6
10658 if test "$cross_compiling" = yes; then :
10659 lt_cv_dlopen_self_static
=cross
10661 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10662 lt_status
=$lt_dlunknown
10663 cat > conftest.
$ac_ext <<_LT_EOF
10664 #line 10664 "configure"
10665 #include "confdefs.h"
10674 # define LT_DLGLOBAL RTLD_GLOBAL
10677 # define LT_DLGLOBAL DL_GLOBAL
10679 # define LT_DLGLOBAL 0
10683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10684 find out it does not work in some platform. */
10685 #ifndef LT_DLLAZY_OR_NOW
10687 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10690 # define LT_DLLAZY_OR_NOW DL_LAZY
10693 # define LT_DLLAZY_OR_NOW RTLD_NOW
10696 # define LT_DLLAZY_OR_NOW DL_NOW
10698 # define LT_DLLAZY_OR_NOW 0
10705 void fnord() { int i=42;}
10708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10709 int status = $lt_dlunknown;
10713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10714 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10715 /* dlclose (self); */
10723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10724 (eval $ac_link) 2>&5
10726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10727 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10728 (.
/conftest
; exit; ) >&5 2>/dev
/null
10730 case x
$lt_status in
10731 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10732 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10733 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10736 # compilation failed
10737 lt_cv_dlopen_self_static
=no
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10745 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10748 CPPFLAGS
="$save_CPPFLAGS"
10749 LDFLAGS
="$save_LDFLAGS"
10754 case $lt_cv_dlopen_self in
10755 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10756 *) enable_dlopen_self
=unknown
;;
10759 case $lt_cv_dlopen_self_static in
10760 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10761 *) enable_dlopen_self_static
=unknown
;;
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10784 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10785 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10786 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10787 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10789 $as_echo "yes" >&6; }
10791 # FIXME - insert some real tests, host_os isn't really good enough
10794 if test -n "$STRIP" ; then
10795 striplib
="$STRIP -x"
10796 old_striplib
="$STRIP -S"
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10798 $as_echo "yes" >&6; }
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10801 $as_echo "no" >&6; }
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10806 $as_echo "no" >&6; }
10822 # Report which library types will actually be built
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10824 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10826 $as_echo "$can_build_shared" >&6; }
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10829 $as_echo_n "checking whether to build shared libraries... " >&6; }
10830 test "$can_build_shared" = "no" && enable_shared
=no
10832 # On AIX, shared libraries and static libraries use the same namespace, and
10833 # are all built from PIC.
10836 test "$enable_shared" = yes && enable_static
=no
10837 if test -n "$RANLIB"; then
10838 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10839 postinstall_cmds
='$RANLIB $lib'
10844 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10845 test "$enable_shared" = yes && enable_static
=no
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10850 $as_echo "$enable_shared" >&6; }
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10853 $as_echo_n "checking whether to build static libraries... " >&6; }
10854 # Make sure either enable_shared or enable_static is yes.
10855 test "$enable_shared" = yes || enable_static
=yes
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10857 $as_echo "$enable_static" >&6; }
10864 ac_cpp
='$CPP $CPPFLAGS'
10865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10883 ac_config_commands
="$ac_config_commands libtool"
10888 # Only expand once:
10892 if test 0 = "0"; then
10893 supported_build
=yes
10894 CPPFLAGS
="$CPPFLAGS -DNDEBUG"
10897 if test "x$GCC" = "xyes" ; then
10898 CFLAGS
="$CFLAGS -O0"
10899 CXXFLAGS
="$CXXFLAGS -O0"
10902 if test "x$supported_build" = "xno"; then
10904 TR_UNSTABLE_FALSE
='#'
10906 TR_UNSTABLE_TRUE
='#'
10913 ## MANDATORY for everything
10916 CURL_MINIMUM
=7.15.4
10918 LIBEVENT_MINIMUM
=2.0.10
10920 OPENSSL_MINIMUM
=0.9.4
10925 ## MANDATORY for the GTK+ client
10935 ## OPTIONAL for the GTK+ client
10938 # play the XDG "download done" sound...
10939 CANBERRA_MINIMUM
=0.10
10941 # inhibit hibernation when a torrent is active...
10942 DBUS_GLIB_MINIMUM
=0.70
10944 # implement "watch" directories to use new .torrent files...
10947 # pop up a "download done" notice...
10948 LIBNOTIFY_MINIMUM
=0.4.3
10950 # create the tray icon with AppIndicator
10951 LIBAPPINDICATOR_MINIMUM
=0.0.11
10956 ac_cpp
='$CPP $CPPFLAGS'
10957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10960 if test -n "$ac_tool_prefix"; then
10961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10962 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10964 $as_echo_n "checking for $ac_word... " >&6; }
10965 if test "${ac_cv_prog_CC+set}" = set; then :
10966 $as_echo_n "(cached) " >&6
10968 if test -n "$CC"; then
10969 ac_cv_prog_CC
="$CC" # Let the user override the test.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10978 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 if test -n "$CC"; then
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10991 $as_echo "$CC" >&6; }
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10994 $as_echo "no" >&6; }
10999 if test -z "$ac_cv_prog_CC"; then
11001 # Extract the first word of "gcc", so it can be a program name with args.
11002 set dummy gcc
; ac_word
=$2
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11004 $as_echo_n "checking for $ac_word... " >&6; }
11005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11006 $as_echo_n "(cached) " >&6
11008 if test -n "$ac_ct_CC"; then
11009 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11012 for as_dir
in $PATH
11015 test -z "$as_dir" && as_dir
=.
11016 for ac_exec_ext
in '' $ac_executable_extensions; do
11017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11018 ac_cv_prog_ac_ct_CC
="gcc"
11019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11028 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11029 if test -n "$ac_ct_CC"; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11031 $as_echo "$ac_ct_CC" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11037 if test "x$ac_ct_CC" = x
; then
11040 case $cross_compiling:$ac_tool_warned in
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11044 ac_tool_warned
=yes ;;
11049 CC
="$ac_cv_prog_CC"
11052 if test -z "$CC"; then
11053 if test -n "$ac_tool_prefix"; then
11054 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11055 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11057 $as_echo_n "checking for $ac_word... " >&6; }
11058 if test "${ac_cv_prog_CC+set}" = set; then :
11059 $as_echo_n "(cached) " >&6
11061 if test -n "$CC"; then
11062 ac_cv_prog_CC
="$CC" # Let the user override the test.
11064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11065 for as_dir
in $PATH
11068 test -z "$as_dir" && as_dir
=.
11069 for ac_exec_ext
in '' $ac_executable_extensions; do
11070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11071 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11082 if test -n "$CC"; then
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11084 $as_echo "$CC" >&6; }
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11087 $as_echo "no" >&6; }
11093 if test -z "$CC"; then
11094 # Extract the first word of "cc", so it can be a program name with args.
11095 set dummy cc
; ac_word
=$2
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11097 $as_echo_n "checking for $ac_word... " >&6; }
11098 if test "${ac_cv_prog_CC+set}" = set; then :
11099 $as_echo_n "(cached) " >&6
11101 if test -n "$CC"; then
11102 ac_cv_prog_CC
="$CC" # Let the user override the test.
11104 ac_prog_rejected
=no
11105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11106 for as_dir
in $PATH
11109 test -z "$as_dir" && as_dir
=.
11110 for ac_exec_ext
in '' $ac_executable_extensions; do
11111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11113 ac_prog_rejected
=yes
11117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11124 if test $ac_prog_rejected = yes; then
11125 # We found a bogon in the path, so make sure we never use it.
11126 set dummy
$ac_cv_prog_CC
11128 if test $# != 0; then
11129 # We chose a different compiler from the bogus one.
11130 # However, it has the same basename, so the bogon will be chosen
11131 # first if we set CC to just the basename; use the full file name.
11133 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11139 if test -n "$CC"; then
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11141 $as_echo "$CC" >&6; }
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11144 $as_echo "no" >&6; }
11149 if test -z "$CC"; then
11150 if test -n "$ac_tool_prefix"; then
11151 for ac_prog
in cl.exe
11153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11154 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11156 $as_echo_n "checking for $ac_word... " >&6; }
11157 if test "${ac_cv_prog_CC+set}" = set; then :
11158 $as_echo_n "(cached) " >&6
11160 if test -n "$CC"; then
11161 ac_cv_prog_CC
="$CC" # Let the user override the test.
11163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11164 for as_dir
in $PATH
11167 test -z "$as_dir" && as_dir
=.
11168 for ac_exec_ext
in '' $ac_executable_extensions; do
11169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11181 if test -n "$CC"; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11183 $as_echo "$CC" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11186 $as_echo "no" >&6; }
11190 test -n "$CC" && break
11193 if test -z "$CC"; then
11195 for ac_prog
in cl.exe
11197 # Extract the first word of "$ac_prog", so it can be a program name with args.
11198 set dummy
$ac_prog; ac_word
=$2
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11200 $as_echo_n "checking for $ac_word... " >&6; }
11201 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11202 $as_echo_n "(cached) " >&6
11204 if test -n "$ac_ct_CC"; then
11205 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11208 for as_dir
in $PATH
11211 test -z "$as_dir" && as_dir
=.
11212 for ac_exec_ext
in '' $ac_executable_extensions; do
11213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11214 ac_cv_prog_ac_ct_CC
="$ac_prog"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11224 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11225 if test -n "$ac_ct_CC"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11227 $as_echo "$ac_ct_CC" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11230 $as_echo "no" >&6; }
11234 test -n "$ac_ct_CC" && break
11237 if test "x$ac_ct_CC" = x
; then
11240 case $cross_compiling:$ac_tool_warned in
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11244 ac_tool_warned
=yes ;;
11253 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11255 as_fn_error $?
"no acceptable C compiler found in \$PATH
11256 See \`config.log' for more details" "$LINENO" 5 ; }
11258 # Provide some information about the compiler.
11259 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11262 for ac_option
in --version -v -V -qversion; do
11263 { { ac_try
="$ac_compiler $ac_option >&5"
11264 case "(($ac_try" in
11265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11266 *) ac_try_echo=$ac_try;;
11268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11269 $as_echo "$ac_try_echo"; } >&5
11270 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11272 if test -s conftest.err; then
11274 ... rest of stderr output deleted ...
11275 10q' conftest.err >conftest.er1
11276 cat conftest.er1 >&5
11278 rm -f conftest.er1 conftest.err
11279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11280 test $ac_status = 0; }
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11284 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11285 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11286 $as_echo_n "(cached) " >&6
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11302 if ac_fn_c_try_compile "$LINENO"; then :
11303 ac_compiler_gnu=yes
11307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11308 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11312 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11313 if test $ac_compiler_gnu = yes; then
11318 ac_test_CFLAGS=${CFLAGS+set}
11319 ac_save_CFLAGS=$CFLAGS
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11321 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11322 if test "${ac_cv_prog_cc_g+set}" = set; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_save_c_werror_flag=$ac_c_werror_flag
11326 ac_c_werror_flag=yes
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11340 if ac_fn_c_try_compile "$LINENO"; then :
11341 ac_cv_prog_cc_g=yes
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11355 if ac_fn_c_try_compile "$LINENO"; then :
11358 ac_c_werror_flag=$ac_save_c_werror_flag
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11371 if ac_fn_c_try_compile "$LINENO"; then :
11372 ac_cv_prog_cc_g=yes
11374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11379 ac_c_werror_flag=$ac_save_c_werror_flag
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11382 $as_echo "$ac_cv_prog_cc_g" >&6; }
11383 if test "$ac_test_CFLAGS" = set; then
11384 CFLAGS=$ac_save_CFLAGS
11385 elif test $ac_cv_prog_cc_g = yes; then
11386 if test "$GCC" = yes; then
11392 if test "$GCC" = yes; then
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11399 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11400 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_cv_prog_cc_c89=no
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11407 #include <stdarg.h>
11409 #include <sys/types.h>
11410 #include <sys/stat.h>
11411 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11412 struct buf { int x; };
11413 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11414 static char *e (p, i)
11420 static char *f (char * (*g) (char **, int), char **p, ...)
11425 s = g (p, va_arg (v,int));
11430 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11431 function prototypes and stuff, but not '\xHH' hex character constants.
11432 These don't provoke an error unfortunately, instead are silently treated
11433 as 'x'. The following induces an error, until -std is added to get
11434 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11435 array size at least. It's necessary to write '\x00'==0 to get something
11436 that's true only with -std. */
11437 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11439 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11440 inside strings and character constants. */
11442 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11444 int test (int i, double x);
11445 struct s1 {int (*f) (int a);};
11446 struct s2 {int (*f) (double a);};
11447 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11453 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11458 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11459 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11461 CC="$ac_save_CC $ac_arg"
11462 if ac_fn_c_try_compile "$LINENO"; then :
11463 ac_cv_prog_cc_c89=$ac_arg
11465 rm -f core conftest.err conftest.$ac_objext
11466 test "x$ac_cv_prog_cc_c89" != "xno" && break
11468 rm -f conftest.$ac_ext
11473 case "x$ac_cv_prog_cc_c89" in
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11476 $as_echo "none needed" >&6; } ;;
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11479 $as_echo "unsupported" >&6; } ;;
11481 CC="$CC $ac_cv_prog_cc_c89"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11483 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11485 if test "x$ac_cv_prog_cc_c89" != xno; then :
11490 ac_cpp='$CPP $CPPFLAGS'
11491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11495 depcc="$CC" am_compiler_list=
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11498 $as_echo_n "checking dependency style of $depcc... " >&6; }
11499 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11500 $as_echo_n "(cached) " >&6
11502 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11503 # We make a subdir and do the tests there. Otherwise we can end up
11504 # making bogus files that we don't know about and never remove. For
11505 # instance it was reported that on HP-UX the gcc test will end up
11506 # making a dummy file named `D
' -- because `-MD' means
`put the output
11509 # Copy depcomp to subdir because otherwise we won't find it if we're
11510 # using a relative directory.
11511 cp "$am_depcomp" conftest.dir
11513 # We will build objects and dependencies in a subdirectory because
11514 # it helps to detect inapplicable dependency modes. For instance
11515 # both Tru64's cc and ICC support -MD to output dependencies as a
11516 # side effect of compilation, but ICC will put the dependencies in
11517 # the current directory while Tru64 will put them in the object
11521 am_cv_CC_dependencies_compiler_type=none
11522 if test "$am_compiler_list" = ""; then
11523 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11525 am__universal=false
11526 case " $depcc " in #(
11527 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11530 for depmode in $am_compiler_list; do
11531 # Setup a source with many dependencies, because some compilers
11532 # like to wrap large dependency lists on column 80 (with \), and
11533 # we should not choose a depcomp mode which is confused by this.
11535 # We need to recreate these files for each test, as the compiler may
11536 # overwrite some of them when testing with obscure command lines.
11537 # This happens at least with the AIX C compiler.
11539 for i in 1 2 3 4 5 6; do
11540 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11541 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11542 # Solaris 8's
{/usr
,}/bin
/sh.
11543 touch sub
/conftst
$i.h
11545 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11547 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11548 # mode. It turns out that the SunPro C++ compiler does not properly
11549 # handle `-M -o', and we need to detect this. Also, some Intel
11550 # versions had trouble with output in subdirs
11551 am__obj
=sub
/conftest.
${OBJEXT-o}
11552 am__minus_obj
="-o $am__obj"
11555 # This depmode causes a compiler race in universal mode.
11556 test "$am__universal" = false ||
continue
11559 # after this tag, mechanisms are not by side-effect, so they'll
11560 # only be used when explicitly requested
11561 if test "x$enable_dependency_tracking" = xyes
; then
11567 msvisualcpp | msvcmsys
)
11568 # This compiler won't grok `-c -o', but also, the minuso test has
11569 # not run yet. These depmodes are late enough in the game, and
11570 # so weak that their functioning should not be impacted.
11571 am__obj
=conftest.
${OBJEXT-o}
11576 if depmode
=$depmode \
11577 source=sub
/conftest.c object
=$am__obj \
11578 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11579 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11580 >/dev
/null
2>conftest.err
&&
11581 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11582 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11583 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11584 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11585 # icc doesn't choke on unknown options, it will just issue warnings
11586 # or remarks (even with -Werror). So we grep stderr for any message
11587 # that says an option was ignored or not supported.
11588 # When given -MP, icc 7.0 and 7.1 complain thusly:
11589 # icc: Command line warning: ignoring option '-M'; no argument required
11590 # The diagnosis changed in icc 8.0:
11591 # icc: Command line remark: option '-MP' not supported
11592 if (grep 'ignoring option' conftest.err ||
11593 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11594 am_cv_CC_dependencies_compiler_type
=$depmode
11601 rm -rf conftest.dir
11603 am_cv_CC_dependencies_compiler_type
=none
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11608 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11609 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11612 test "x$enable_dependency_tracking" != xno \
11613 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11614 am__fastdepCC_TRUE
=
11615 am__fastdepCC_FALSE
='#'
11617 am__fastdepCC_TRUE
='#'
11618 am__fastdepCC_FALSE
=
11623 ac_cpp
='$CXXCPP $CPPFLAGS'
11624 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11625 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11626 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11627 if test -z "$CXX"; then
11628 if test -n "$CCC"; then
11631 if test -n "$ac_tool_prefix"; then
11632 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11634 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11635 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11637 $as_echo_n "checking for $ac_word... " >&6; }
11638 if test "${ac_cv_prog_CXX+set}" = set; then :
11639 $as_echo_n "(cached) " >&6
11641 if test -n "$CXX"; then
11642 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11645 for as_dir
in $PATH
11648 test -z "$as_dir" && as_dir
=.
11649 for ac_exec_ext
in '' $ac_executable_extensions; do
11650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11651 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11661 CXX
=$ac_cv_prog_CXX
11662 if test -n "$CXX"; then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11664 $as_echo "$CXX" >&6; }
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667 $as_echo "no" >&6; }
11671 test -n "$CXX" && break
11674 if test -z "$CXX"; then
11676 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11678 # Extract the first word of "$ac_prog", so it can be a program name with args.
11679 set dummy
$ac_prog; ac_word
=$2
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11681 $as_echo_n "checking for $ac_word... " >&6; }
11682 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11683 $as_echo_n "(cached) " >&6
11685 if test -n "$ac_ct_CXX"; then
11686 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11689 for as_dir
in $PATH
11692 test -z "$as_dir" && as_dir
=.
11693 for ac_exec_ext
in '' $ac_executable_extensions; do
11694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11695 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11705 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11706 if test -n "$ac_ct_CXX"; then
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11708 $as_echo "$ac_ct_CXX" >&6; }
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 $as_echo "no" >&6; }
11715 test -n "$ac_ct_CXX" && break
11718 if test "x$ac_ct_CXX" = x
; then
11721 case $cross_compiling:$ac_tool_warned in
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11724 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11725 ac_tool_warned
=yes ;;
11733 # Provide some information about the compiler.
11734 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11737 for ac_option
in --version -v -V -qversion; do
11738 { { ac_try
="$ac_compiler $ac_option >&5"
11739 case "(($ac_try" in
11740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11744 $as_echo "$ac_try_echo"; } >&5
11745 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11747 if test -s conftest.err; then
11749 ... rest of stderr output deleted ...
11750 10q' conftest.err >conftest.er1
11751 cat conftest.er1 >&5
11753 rm -f conftest.er1 conftest.err
11754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11755 test $ac_status = 0; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11759 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11760 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11761 $as_echo_n "(cached) " >&6
11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11777 if ac_fn_cxx_try_compile "$LINENO"; then :
11778 ac_compiler_gnu=yes
11782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11783 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11787 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11788 if test $ac_compiler_gnu = yes; then
11793 ac_test_CXXFLAGS=${CXXFLAGS+set}
11794 ac_save_CXXFLAGS=$CXXFLAGS
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11796 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11797 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11798 $as_echo_n "(cached) " >&6
11800 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11801 ac_cxx_werror_flag=yes
11802 ac_cv_prog_cxx_g=no
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11815 if ac_fn_cxx_try_compile "$LINENO"; then :
11816 ac_cv_prog_cxx_g=yes
11819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11830 if ac_fn_cxx_try_compile "$LINENO"; then :
11833 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11846 if ac_fn_cxx_try_compile "$LINENO"; then :
11847 ac_cv_prog_cxx_g=yes
11849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11854 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11857 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11858 if test "$ac_test_CXXFLAGS" = set; then
11859 CXXFLAGS=$ac_save_CXXFLAGS
11860 elif test $ac_cv_prog_cxx_g = yes; then
11861 if test "$GXX" = yes; then
11867 if test "$GXX" = yes; then
11874 ac_cpp='$CPP $CPPFLAGS'
11875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11879 depcc="$CXX" am_compiler_list=
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11882 $as_echo_n "checking dependency style of $depcc... " >&6; }
11883 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11884 $as_echo_n "(cached) " >&6
11886 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11887 # We make a subdir and do the tests there. Otherwise we can end up
11888 # making bogus files that we don't know about and never remove. For
11889 # instance it was reported that on HP-UX the gcc test will end up
11890 # making a dummy file named `D
' -- because `-MD' means
`put the output
11893 # Copy depcomp to subdir because otherwise we won't find it if we're
11894 # using a relative directory.
11895 cp "$am_depcomp" conftest.dir
11897 # We will build objects and dependencies in a subdirectory because
11898 # it helps to detect inapplicable dependency modes. For instance
11899 # both Tru64's cc and ICC support -MD to output dependencies as a
11900 # side effect of compilation, but ICC will put the dependencies in
11901 # the current directory while Tru64 will put them in the object
11905 am_cv_CXX_dependencies_compiler_type=none
11906 if test "$am_compiler_list" = ""; then
11907 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11909 am__universal=false
11910 case " $depcc " in #(
11911 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11914 for depmode in $am_compiler_list; do
11915 # Setup a source with many dependencies, because some compilers
11916 # like to wrap large dependency lists on column 80 (with \), and
11917 # we should not choose a depcomp mode which is confused by this.
11919 # We need to recreate these files for each test, as the compiler may
11920 # overwrite some of them when testing with obscure command lines.
11921 # This happens at least with the AIX C compiler.
11923 for i in 1 2 3 4 5 6; do
11924 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11925 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11926 # Solaris 8's
{/usr
,}/bin
/sh.
11927 touch sub
/conftst
$i.h
11929 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11932 # mode. It turns out that the SunPro C++ compiler does not properly
11933 # handle `-M -o', and we need to detect this. Also, some Intel
11934 # versions had trouble with output in subdirs
11935 am__obj
=sub
/conftest.
${OBJEXT-o}
11936 am__minus_obj
="-o $am__obj"
11939 # This depmode causes a compiler race in universal mode.
11940 test "$am__universal" = false ||
continue
11943 # after this tag, mechanisms are not by side-effect, so they'll
11944 # only be used when explicitly requested
11945 if test "x$enable_dependency_tracking" = xyes
; then
11951 msvisualcpp | msvcmsys
)
11952 # This compiler won't grok `-c -o', but also, the minuso test has
11953 # not run yet. These depmodes are late enough in the game, and
11954 # so weak that their functioning should not be impacted.
11955 am__obj
=conftest.
${OBJEXT-o}
11960 if depmode
=$depmode \
11961 source=sub
/conftest.c object
=$am__obj \
11962 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11963 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11964 >/dev
/null
2>conftest.err
&&
11965 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11966 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11967 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11968 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11969 # icc doesn't choke on unknown options, it will just issue warnings
11970 # or remarks (even with -Werror). So we grep stderr for any message
11971 # that says an option was ignored or not supported.
11972 # When given -MP, icc 7.0 and 7.1 complain thusly:
11973 # icc: Command line warning: ignoring option '-M'; no argument required
11974 # The diagnosis changed in icc 8.0:
11975 # icc: Command line remark: option '-MP' not supported
11976 if (grep 'ignoring option' conftest.err ||
11977 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11978 am_cv_CXX_dependencies_compiler_type
=$depmode
11985 rm -rf conftest.dir
11987 am_cv_CXX_dependencies_compiler_type
=none
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11992 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11993 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
11996 test "x$enable_dependency_tracking" != xno \
11997 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
11998 am__fastdepCXX_TRUE
=
11999 am__fastdepCXX_FALSE
='#'
12001 am__fastdepCXX_TRUE
='#'
12002 am__fastdepCXX_FALSE
=
12008 ac_cpp
='$CXXCPP $CPPFLAGS'
12009 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12010 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12011 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12012 if test -z "$CXX"; then
12013 if test -n "$CCC"; then
12016 if test -n "$ac_tool_prefix"; then
12017 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12020 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12022 $as_echo_n "checking for $ac_word... " >&6; }
12023 if test "${ac_cv_prog_CXX+set}" = set; then :
12024 $as_echo_n "(cached) " >&6
12026 if test -n "$CXX"; then
12027 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12030 for as_dir
in $PATH
12033 test -z "$as_dir" && as_dir
=.
12034 for ac_exec_ext
in '' $ac_executable_extensions; do
12035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12036 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 CXX
=$ac_cv_prog_CXX
12047 if test -n "$CXX"; then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12049 $as_echo "$CXX" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052 $as_echo "no" >&6; }
12056 test -n "$CXX" && break
12059 if test -z "$CXX"; then
12061 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
12063 # Extract the first word of "$ac_prog", so it can be a program name with args.
12064 set dummy
$ac_prog; ac_word
=$2
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12066 $as_echo_n "checking for $ac_word... " >&6; }
12067 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12068 $as_echo_n "(cached) " >&6
12070 if test -n "$ac_ct_CXX"; then
12071 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12074 for as_dir
in $PATH
12077 test -z "$as_dir" && as_dir
=.
12078 for ac_exec_ext
in '' $ac_executable_extensions; do
12079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12080 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12090 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12091 if test -n "$ac_ct_CXX"; then
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12093 $as_echo "$ac_ct_CXX" >&6; }
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12096 $as_echo "no" >&6; }
12100 test -n "$ac_ct_CXX" && break
12103 if test "x$ac_ct_CXX" = x
; then
12106 case $cross_compiling:$ac_tool_warned in
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12110 ac_tool_warned
=yes ;;
12118 # Provide some information about the compiler.
12119 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12122 for ac_option
in --version -v -V -qversion; do
12123 { { ac_try
="$ac_compiler $ac_option >&5"
12124 case "(($ac_try" in
12125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12126 *) ac_try_echo=$ac_try;;
12128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12129 $as_echo "$ac_try_echo"; } >&5
12130 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12132 if test -s conftest.err; then
12134 ... rest of stderr output deleted ...
12135 10q' conftest.err >conftest.er1
12136 cat conftest.er1 >&5
12138 rm -f conftest.er1 conftest.err
12139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140 test $ac_status = 0; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12144 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12145 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12146 $as_echo_n "(cached) " >&6
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12162 if ac_fn_cxx_try_compile "$LINENO"; then :
12163 ac_compiler_gnu=yes
12167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12168 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12172 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12173 if test $ac_compiler_gnu = yes; then
12178 ac_test_CXXFLAGS=${CXXFLAGS+set}
12179 ac_save_CXXFLAGS=$CXXFLAGS
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12181 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12182 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12183 $as_echo_n "(cached) " >&6
12185 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12186 ac_cxx_werror_flag=yes
12187 ac_cv_prog_cxx_g=no
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12200 if ac_fn_cxx_try_compile "$LINENO"; then :
12201 ac_cv_prog_cxx_g=yes
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12215 if ac_fn_cxx_try_compile "$LINENO"; then :
12218 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12231 if ac_fn_cxx_try_compile "$LINENO"; then :
12232 ac_cv_prog_cxx_g=yes
12234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12239 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12242 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12243 if test "$ac_test_CXXFLAGS" = set; then
12244 CXXFLAGS=$ac_save_CXXFLAGS
12245 elif test $ac_cv_prog_cxx_g = yes; then
12246 if test "$GXX" = yes; then
12252 if test "$GXX" = yes; then
12259 ac_cpp='$CPP $CPPFLAGS'
12260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12264 depcc="$CXX" am_compiler_list=
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12267 $as_echo_n "checking dependency style of $depcc... " >&6; }
12268 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12269 $as_echo_n "(cached) " >&6
12271 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12272 # We make a subdir and do the tests there. Otherwise we can end up
12273 # making bogus files that we don't know about and never remove. For
12274 # instance it was reported that on HP-UX the gcc test will end up
12275 # making a dummy file named `D
' -- because `-MD' means
`put the output
12278 # Copy depcomp to subdir because otherwise we won't find it if we're
12279 # using a relative directory.
12280 cp "$am_depcomp" conftest.dir
12282 # We will build objects and dependencies in a subdirectory because
12283 # it helps to detect inapplicable dependency modes. For instance
12284 # both Tru64's cc and ICC support -MD to output dependencies as a
12285 # side effect of compilation, but ICC will put the dependencies in
12286 # the current directory while Tru64 will put them in the object
12290 am_cv_CXX_dependencies_compiler_type=none
12291 if test "$am_compiler_list" = ""; then
12292 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12294 am__universal=false
12295 case " $depcc " in #(
12296 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12299 for depmode in $am_compiler_list; do
12300 # Setup a source with many dependencies, because some compilers
12301 # like to wrap large dependency lists on column 80 (with \), and
12302 # we should not choose a depcomp mode which is confused by this.
12304 # We need to recreate these files for each test, as the compiler may
12305 # overwrite some of them when testing with obscure command lines.
12306 # This happens at least with the AIX C compiler.
12308 for i in 1 2 3 4 5 6; do
12309 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12310 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12311 # Solaris 8's
{/usr
,}/bin
/sh.
12312 touch sub
/conftst
$i.h
12314 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12316 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12317 # mode. It turns out that the SunPro C++ compiler does not properly
12318 # handle `-M -o', and we need to detect this. Also, some Intel
12319 # versions had trouble with output in subdirs
12320 am__obj
=sub
/conftest.
${OBJEXT-o}
12321 am__minus_obj
="-o $am__obj"
12324 # This depmode causes a compiler race in universal mode.
12325 test "$am__universal" = false ||
continue
12328 # after this tag, mechanisms are not by side-effect, so they'll
12329 # only be used when explicitly requested
12330 if test "x$enable_dependency_tracking" = xyes
; then
12336 msvisualcpp | msvcmsys
)
12337 # This compiler won't grok `-c -o', but also, the minuso test has
12338 # not run yet. These depmodes are late enough in the game, and
12339 # so weak that their functioning should not be impacted.
12340 am__obj
=conftest.
${OBJEXT-o}
12345 if depmode
=$depmode \
12346 source=sub
/conftest.c object
=$am__obj \
12347 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12348 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12349 >/dev
/null
2>conftest.err
&&
12350 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12351 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12352 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12353 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12354 # icc doesn't choke on unknown options, it will just issue warnings
12355 # or remarks (even with -Werror). So we grep stderr for any message
12356 # that says an option was ignored or not supported.
12357 # When given -MP, icc 7.0 and 7.1 complain thusly:
12358 # icc: Command line warning: ignoring option '-M'; no argument required
12359 # The diagnosis changed in icc 8.0:
12360 # icc: Command line remark: option '-MP' not supported
12361 if (grep 'ignoring option' conftest.err ||
12362 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12363 am_cv_CXX_dependencies_compiler_type
=$depmode
12370 rm -rf conftest.dir
12372 am_cv_CXX_dependencies_compiler_type
=none
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12377 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12378 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12381 test "x$enable_dependency_tracking" != xno \
12382 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12383 am__fastdepCXX_TRUE
=
12384 am__fastdepCXX_FALSE
='#'
12386 am__fastdepCXX_TRUE
='#'
12387 am__fastdepCXX_FALSE
=
12391 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12392 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12393 (test "X$CXX" != "Xg++"))) ; then
12395 ac_cpp
='$CXXCPP $CPPFLAGS'
12396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12400 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12401 if test -z "$CXXCPP"; then
12402 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12403 $as_echo_n "(cached) " >&6
12405 # Double quotes because CXXCPP needs to be expanded
12406 for CXXCPP
in "$CXX -E" "/lib/cpp"
12408 ac_preproc_ok
=false
12409 for ac_cxx_preproc_warn_flag
in '' yes
12411 # Use a header file that comes with gcc, so configuring glibc
12412 # with a fresh cross-compiler works.
12413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12414 # <limits.h> exists even on freestanding compilers.
12415 # On the NeXT, cc -E runs the code through the compiler's parser,
12416 # not just through cpp. "Syntax error" is here to catch this case.
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12420 # include <limits.h>
12422 # include <assert.h>
12426 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12429 # Broken: fails on valid input.
12432 rm -f conftest.err conftest.i conftest.
$ac_ext
12434 # OK, works on sane cases. Now check whether nonexistent headers
12435 # can be detected and how.
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 #include <ac_nonexistent.h>
12440 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12441 # Broken: success on invalid input.
12444 # Passes both tests.
12448 rm -f conftest.err conftest.i conftest.
$ac_ext
12451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12452 rm -f conftest.i conftest.err conftest.
$ac_ext
12453 if $ac_preproc_ok; then :
12458 ac_cv_prog_CXXCPP
=$CXXCPP
12461 CXXCPP
=$ac_cv_prog_CXXCPP
12463 ac_cv_prog_CXXCPP
=$CXXCPP
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12466 $as_echo "$CXXCPP" >&6; }
12467 ac_preproc_ok
=false
12468 for ac_cxx_preproc_warn_flag
in '' yes
12470 # Use a header file that comes with gcc, so configuring glibc
12471 # with a fresh cross-compiler works.
12472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12473 # <limits.h> exists even on freestanding compilers.
12474 # On the NeXT, cc -E runs the code through the compiler's parser,
12475 # not just through cpp. "Syntax error" is here to catch this case.
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 # include <limits.h>
12481 # include <assert.h>
12485 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12488 # Broken: fails on valid input.
12491 rm -f conftest.err conftest.i conftest.
$ac_ext
12493 # OK, works on sane cases. Now check whether nonexistent headers
12494 # can be detected and how.
12495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12497 #include <ac_nonexistent.h>
12499 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12500 # Broken: success on invalid input.
12503 # Passes both tests.
12507 rm -f conftest.err conftest.i conftest.
$ac_ext
12510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12511 rm -f conftest.i conftest.err conftest.
$ac_ext
12512 if $ac_preproc_ok; then :
12515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12517 _lt_caught_CXX_error
=yes; }
12521 ac_cpp
='$CPP $CPPFLAGS'
12522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12527 _lt_caught_CXX_error
=yes
12534 ac_cpp
='$CXXCPP $CPPFLAGS'
12535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12539 archive_cmds_need_lc_CXX
=no
12540 allow_undefined_flag_CXX
=
12541 always_export_symbols_CXX
=no
12542 archive_expsym_cmds_CXX
=
12543 compiler_needs_object_CXX
=no
12544 export_dynamic_flag_spec_CXX
=
12545 hardcode_direct_CXX
=no
12546 hardcode_direct_absolute_CXX
=no
12547 hardcode_libdir_flag_spec_CXX
=
12548 hardcode_libdir_flag_spec_ld_CXX
=
12549 hardcode_libdir_separator_CXX
=
12550 hardcode_minus_L_CXX
=no
12551 hardcode_shlibpath_var_CXX
=unsupported
12552 hardcode_automatic_CXX
=no
12553 inherit_rpath_CXX
=no
12555 module_expsym_cmds_CXX
=
12556 link_all_deplibs_CXX
=unknown
12557 old_archive_cmds_CXX
=$old_archive_cmds
12558 no_undefined_flag_CXX
=
12559 whole_archive_flag_spec_CXX
=
12560 enable_shared_with_static_runtimes_CXX
=no
12562 # Source file extension for C++ test sources.
12565 # Object file extension for compiled C++ test sources.
12569 # No sense in running all these tests if we already determined that
12570 # the CXX compiler isn't working. Some variables (like enable_shared)
12571 # are currently assumed to apply to all compilers on this platform,
12572 # and will be corrupted by setting them based on a non-working compiler.
12573 if test "$_lt_caught_CXX_error" != yes; then
12574 # Code to be used in simple compile tests
12575 lt_simple_compile_test_code
="int some_variable = 0;"
12577 # Code to be used in simple link tests
12578 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12580 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12587 # If no C compiler was specified, use CC.
12590 # If no C compiler flags were specified, use CFLAGS.
12591 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12593 # Allow CC to be a program name with arguments.
12597 # save warnings/boilerplate of simple test code
12598 ac_outfile
=conftest.
$ac_objext
12599 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12600 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12601 _lt_compiler_boilerplate
=`cat conftest.err`
12604 ac_outfile
=conftest.
$ac_objext
12605 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12606 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12607 _lt_linker_boilerplate
=`cat conftest.err`
12611 # Allow CC to be a program name with arguments.
12616 lt_save_with_gnu_ld
=$with_gnu_ld
12617 lt_save_path_LD
=$lt_cv_path_LD
12618 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12619 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12621 $as_unset lt_cv_prog_gnu_ld
12623 if test -n "${lt_cv_path_LDCXX+set}"; then
12624 lt_cv_path_LD
=$lt_cv_path_LDCXX
12626 $as_unset lt_cv_path_LD
12628 test -z "${LDCXX+set}" || LD
=$LDCXX
12632 for cc_temp
in $compiler""; do
12634 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12635 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12640 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12643 if test -n "$compiler"; then
12644 # We don't want -fno-exception when compiling C++ code, so set the
12645 # no_builtin_flag separately
12646 if test "$GXX" = yes; then
12647 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12649 lt_prog_compiler_no_builtin_flag_CXX
=
12652 if test "$GXX" = yes; then
12653 # Set up default GNU C++ configuration
12657 # Check whether --with-gnu-ld was given.
12658 if test "${with_gnu_ld+set}" = set; then :
12659 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12665 if test "$GCC" = yes; then
12666 # Check if gcc -print-prog-name=ld gives a path.
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12668 $as_echo_n "checking for ld used by $CC... " >&6; }
12671 # gcc leaves a trailing carriage return which upsets mingw
12672 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12674 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12677 # Accept absolute paths.
12679 re_direlt
='/[^/][^/]*/\.\./'
12680 # Canonicalize the pathname of ld
12681 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12682 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12683 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12685 test -z "$LD" && LD
="$ac_prog"
12688 # If it fails, then pretend we aren't using GCC.
12692 # If it is relative, then search for the first ld in PATH.
12693 with_gnu_ld
=unknown
12696 elif test "$with_gnu_ld" = yes; then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12698 $as_echo_n "checking for GNU ld... " >&6; }
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12701 $as_echo_n "checking for non-GNU ld... " >&6; }
12703 if test "${lt_cv_path_LD+set}" = set; then :
12704 $as_echo_n "(cached) " >&6
12706 if test -z "$LD"; then
12707 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12708 for ac_dir
in $PATH; do
12710 test -z "$ac_dir" && ac_dir
=.
12711 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12712 lt_cv_path_LD
="$ac_dir/$ac_prog"
12713 # Check to see if the program is GNU ld. I'd rather use --version,
12714 # but apparently some variants of GNU ld only accept -v.
12715 # Break only if it was the GNU/non-GNU ld that we prefer.
12716 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12717 *GNU
* |
*'with BFD'*)
12718 test "$with_gnu_ld" != no
&& break
12721 test "$with_gnu_ld" != yes && break
12728 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12732 LD
="$lt_cv_path_LD"
12733 if test -n "$LD"; then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12735 $as_echo "$LD" >&6; }
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12738 $as_echo "no" >&6; }
12740 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12742 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12743 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12744 $as_echo_n "(cached) " >&6
12746 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12747 case `$LD -v 2>&1 </dev/null` in
12748 *GNU
* |
*'with BFD'*)
12749 lt_cv_prog_gnu_ld
=yes
12752 lt_cv_prog_gnu_ld
=no
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12757 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12758 with_gnu_ld
=$lt_cv_prog_gnu_ld
12766 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12767 # archiving commands below assume that GNU ld is being used.
12768 if test "$with_gnu_ld" = yes; then
12769 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12773 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12775 # If archive_cmds runs LD, not CC, wlarc should be empty
12776 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12777 # investigate it a little bit more. (MM)
12780 # ancient GNU ld didn't support --whole-archive et. al.
12781 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12782 $GREP 'no-whole-archive' > /dev
/null
; then
12783 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12785 whole_archive_flag_spec_CXX
=
12791 # A generic and very simple default shared library creation
12792 # command for GNU C++ for the case where it uses the native
12793 # linker, instead of GNU ld. If possible, this setting should
12794 # overridden to take advantage of the native linker features on
12795 # the platform it is being used on.
12796 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12799 # Commands to make compiler produce verbose output that lists
12800 # what "hidden" libraries, object files and flags are used when
12801 # linking a shared library.
12802 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12810 # PORTME: fill in a description of your system's C++ link characteristics
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12816 # FIXME: insert proper C++ library support
12820 if test "$host_cpu" = ia64
; then
12821 # On IA64, the linker does run time linking by default, so we don't
12822 # have to do anything special.
12823 aix_use_runtimelinking
=no
12824 exp_sym_flag
='-Bexport'
12827 aix_use_runtimelinking
=no
12829 # Test if we are trying to use run time linking or normal
12830 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12831 # need to do runtime linking.
12832 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12833 for ld_flag
in $LDFLAGS; do
12836 aix_use_runtimelinking
=yes
12844 exp_sym_flag
='-bexport'
12845 no_entry_flag
='-bnoentry'
12848 # When large executables or shared objects are built, AIX ld can
12849 # have problems creating the table of contents. If linking a library
12850 # or program results in "error TOC overflow" add -mminimal-toc to
12851 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12852 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12854 archive_cmds_CXX
=''
12855 hardcode_direct_CXX
=yes
12856 hardcode_direct_absolute_CXX
=yes
12857 hardcode_libdir_separator_CXX
=':'
12858 link_all_deplibs_CXX
=yes
12859 file_list_spec_CXX
='${wl}-f,'
12861 if test "$GXX" = yes; then
12862 case $host_os in aix4.
[012]|aix4.
[012].
*)
12863 # We only want to do this on AIX 4.2 and lower, the check
12864 # below for broken collect2 doesn't work under 4.3+
12865 collect2name
=`${CC} -print-prog-name=collect2`
12866 if test -f "$collect2name" &&
12867 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12869 # We have reworked collect2
12872 # We have old collect2
12873 hardcode_direct_CXX
=unsupported
12874 # It fails to find uninstalled libraries when the uninstalled
12875 # path is not listed in the libpath. Setting hardcode_minus_L
12876 # to unsupported forces relinking
12877 hardcode_minus_L_CXX
=yes
12878 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12879 hardcode_libdir_separator_CXX
=
12882 shared_flag
='-shared'
12883 if test "$aix_use_runtimelinking" = yes; then
12884 shared_flag
="$shared_flag "'${wl}-G'
12888 if test "$host_cpu" = ia64
; then
12889 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12890 # chokes on -Wl,-G. The following line is correct:
12893 if test "$aix_use_runtimelinking" = yes; then
12894 shared_flag
='${wl}-G'
12896 shared_flag
='${wl}-bM:SRE'
12901 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12902 # It seems that -bexpall does not export symbols beginning with
12903 # underscore (_), so it is better to generate a list of symbols to
12905 always_export_symbols_CXX
=yes
12906 if test "$aix_use_runtimelinking" = yes; then
12907 # Warning - without using the other runtime loading flags (-brtl),
12908 # -berok will link without error, but may produce a broken library.
12909 allow_undefined_flag_CXX
='-berok'
12910 # Determine the default libpath from the value encoded in an empty
12912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12923 if ac_fn_cxx_try_link
"$LINENO"; then :
12925 lt_aix_libpath_sed
='
12926 /Import File Strings/,/^$/ {
12932 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12933 # Check for a 64-bit object if we didn't find anything.
12934 if test -z "$aix_libpath"; then
12935 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12938 rm -f core conftest.err conftest.
$ac_objext \
12939 conftest
$ac_exeext conftest.
$ac_ext
12940 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12942 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12944 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12946 if test "$host_cpu" = ia64
; then
12947 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12948 allow_undefined_flag_CXX
="-z nodefs"
12949 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"
12951 # Determine the default libpath from the value encoded in an
12952 # empty executable.
12953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h. */
12964 if ac_fn_cxx_try_link
"$LINENO"; then :
12966 lt_aix_libpath_sed
='
12967 /Import File Strings/,/^$/ {
12973 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12974 # Check for a 64-bit object if we didn't find anything.
12975 if test -z "$aix_libpath"; then
12976 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12979 rm -f core conftest.err conftest.
$ac_objext \
12980 conftest
$ac_exeext conftest.
$ac_ext
12981 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12983 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12984 # Warning - without using the other run time loading flags,
12985 # -berok will link without error, but may produce a broken library.
12986 no_undefined_flag_CXX
=' ${wl}-bernotok'
12987 allow_undefined_flag_CXX
=' ${wl}-berok'
12988 # Exported symbols can be pulled into shared objects from archives
12989 whole_archive_flag_spec_CXX
='$convenience'
12990 archive_cmds_need_lc_CXX
=yes
12991 # This is similar to how AIX traditionally builds its shared
12993 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'
12999 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13000 allow_undefined_flag_CXX
=unsupported
13001 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13002 # support --undefined. This deserves some investigation. FIXME
13003 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13010 case $cc_basename in
13012 # FIXME: insert proper C++ library support
13018 cygwin
* | mingw
* | pw32
* | cegcc
*)
13019 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13020 # as there is no search path for DLLs.
13021 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13022 allow_undefined_flag_CXX
=unsupported
13023 always_export_symbols_CXX
=no
13024 enable_shared_with_static_runtimes_CXX
=yes
13026 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13027 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'
13028 # If the export-symbols file already is a .def file (1st line
13029 # is EXPORTS), use it as is; otherwise, prepend...
13030 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13031 cp $export_symbols $output_objdir/$soname.def;
13033 echo EXPORTS > $output_objdir/$soname.def;
13034 cat $export_symbols >> $output_objdir/$soname.def;
13036 $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'
13041 darwin
* | rhapsody
*)
13044 archive_cmds_need_lc_CXX
=no
13045 hardcode_direct_CXX
=no
13046 hardcode_automatic_CXX
=yes
13047 hardcode_shlibpath_var_CXX
=unsupported
13048 whole_archive_flag_spec_CXX
=''
13049 link_all_deplibs_CXX
=yes
13050 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13051 case $cc_basename in
13052 ifort
*) _lt_dar_can_shared
=yes ;;
13053 *) _lt_dar_can_shared
=$GCC ;;
13055 if test "$_lt_dar_can_shared" = "yes"; then
13056 output_verbose_link_cmd
=echo
13057 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}"
13058 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13059 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}"
13060 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}"
13061 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13062 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}"
13063 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}"
13073 case $cc_basename in
13075 # FIXME: insert proper C++ library support
13079 # Green Hills C++ Compiler
13080 # FIXME: insert proper C++ library support
13084 # FIXME: insert proper C++ library support
13091 # C++ shared libraries reported to be fairly broken before
13097 archive_cmds_need_lc_CXX
=no
13100 freebsd
* | dragonfly
*)
13101 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13110 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13111 hardcode_libdir_separator_CXX
=:
13112 export_dynamic_flag_spec_CXX
='${wl}-E'
13113 hardcode_direct_CXX
=yes
13114 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13115 # but as the default
13116 # location of the library.
13118 case $cc_basename in
13120 # FIXME: insert proper C++ library support
13124 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'
13125 # Commands to make compiler produce verbose output that lists
13126 # what "hidden" libraries, object files and flags are used when
13127 # linking a shared library.
13129 # There doesn't appear to be a way to prevent this compiler from
13130 # explicitly linking system object files so we need to strip them
13131 # from the output so that they don't get included in the library
13133 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; $ECHO "X$list" | $Xsed'
13136 if test "$GXX" = yes; then
13137 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13139 # FIXME: insert proper C++ library support
13147 if test $with_gnu_ld = no
; then
13148 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13149 hardcode_libdir_separator_CXX
=:
13155 export_dynamic_flag_spec_CXX
='${wl}-E'
13161 hardcode_direct_CXX
=no
13162 hardcode_shlibpath_var_CXX
=no
13165 hardcode_direct_CXX
=yes
13166 hardcode_direct_absolute_CXX
=yes
13167 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13168 # but as the default
13169 # location of the library.
13173 case $cc_basename in
13175 # FIXME: insert proper C++ library support
13181 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13184 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13187 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13190 # Commands to make compiler produce verbose output that lists
13191 # what "hidden" libraries, object files and flags are used when
13192 # linking a shared library.
13194 # There doesn't appear to be a way to prevent this compiler from
13195 # explicitly linking system object files so we need to strip them
13196 # from the output so that they don't get included in the library
13198 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; $ECHO "X$list" | $Xsed'
13201 if test "$GXX" = yes; then
13202 if test $with_gnu_ld = no
; then
13205 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13208 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13211 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13216 # FIXME: insert proper C++ library support
13224 hardcode_direct_CXX
=no
13225 hardcode_shlibpath_var_CXX
=no
13226 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13227 export_dynamic_flag_spec_CXX
='${wl}-E'
13228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13229 # Instead, shared libraries are loaded at an image base (0x10000000 by
13230 # default) and relocated if they conflict, which is a slow very memory
13231 # consuming and fragmenting process. To avoid this, we pick a random,
13232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13234 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'
13235 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'
13238 case $cc_basename in
13241 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13243 # Archives containing C++ object files must be created using
13244 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13245 # necessary to make sure instantiated templates are included
13247 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13250 if test "$GXX" = yes; then
13251 if test "$with_gnu_ld" = no
; then
13252 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13254 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13257 link_all_deplibs_CXX
=yes
13260 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13261 hardcode_libdir_separator_CXX
=:
13262 inherit_rpath_CXX
=yes
13265 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13266 case $cc_basename in
13268 # Kuck and Associates, Inc. (KAI) C++ Compiler
13270 # KCC will only create a shared library if the output file
13271 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13272 # to its proper name (with version) after linking.
13273 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'
13274 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'
13275 # Commands to make compiler produce verbose output that lists
13276 # what "hidden" libraries, object files and flags are used when
13277 # linking a shared library.
13279 # There doesn't appear to be a way to prevent this compiler from
13280 # explicitly linking system object files so we need to strip them
13281 # from the output so that they don't get included in the library
13283 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; $ECHO "X$list" | $Xsed'
13285 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13286 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13288 # Archives containing C++ object files must be created using
13289 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13290 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13295 # version 8.0 and above of icpc choke on multiply defined symbols
13296 # if we add $predep_objects and $postdep_objects, however 7.1 and
13297 # earlier do not add the objects themselves.
13298 case `$CC -V 2>&1` in
13300 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13301 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'
13303 *) # Version 8.0 or newer
13306 ia64
*) tmp_idyn
=' -i_dynamic';;
13308 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13309 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'
13312 archive_cmds_need_lc_CXX
=no
13313 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13314 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13315 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13318 # Portland Group C++ compiler
13320 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
13321 prelink_cmds_CXX
='tpldir=Template.dir~
13323 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13324 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13325 old_archive_cmds_CXX
='tpldir=Template.dir~
13327 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13328 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13330 archive_cmds_CXX
='tpldir=Template.dir~
13332 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13333 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13334 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13336 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13337 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13339 *) # Version 6 will use weak symbols
13340 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13341 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'
13345 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13346 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13347 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13351 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13352 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'
13354 runpath_var
=LD_RUN_PATH
13355 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13356 hardcode_libdir_separator_CXX
=:
13358 # Commands to make compiler produce verbose output that lists
13359 # what "hidden" libraries, object files and flags are used when
13360 # linking a shared library.
13362 # There doesn't appear to be a way to prevent this compiler from
13363 # explicitly linking system object files so we need to strip them
13364 # from the output so that they don't get included in the library
13366 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13369 # IBM XL 8.0 on PPC, with GNU ld
13370 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13371 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13372 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13373 if test "x$supports_anon_versioning" = xyes
; then
13374 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13375 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13376 echo "local: *; };" >> $output_objdir/$libname.ver~
13377 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13381 case `$CC -V 2>&1 | sed 5q` in
13384 no_undefined_flag_CXX
=' -zdefs'
13385 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13386 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'
13387 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13388 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
13389 compiler_needs_object_CXX
=yes
13391 # Not sure whether something based on
13392 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13394 output_verbose_link_cmd
='echo'
13396 # Archives containing C++ object files must be created using
13397 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13398 # necessary to make sure instantiated templates are included
13400 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13408 # FIXME: insert proper C++ library support
13413 # FIXME: insert proper C++ library support
13418 case $cc_basename in
13420 # FIXME: insert proper C++ library support
13424 # FIXME: insert proper C++ library support
13431 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13432 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13434 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13435 hardcode_direct_CXX
=yes
13436 hardcode_shlibpath_var_CXX
=no
13438 # Workaround some broken pre-1.5 toolchains
13439 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13447 # C++ shared libraries are fairly broken
13452 if test -f /usr
/libexec
/ld.so
; then
13453 hardcode_direct_CXX
=yes
13454 hardcode_shlibpath_var_CXX
=no
13455 hardcode_direct_absolute_CXX
=yes
13456 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13457 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13458 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13459 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13460 export_dynamic_flag_spec_CXX
='${wl}-E'
13461 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13463 output_verbose_link_cmd
=echo
13469 osf3
* | osf4
* | osf5
*)
13470 case $cc_basename in
13472 # Kuck and Associates, Inc. (KAI) C++ Compiler
13474 # KCC will only create a shared library if the output file
13475 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13476 # to its proper name (with version) after linking.
13477 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'
13479 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13480 hardcode_libdir_separator_CXX
=:
13482 # Archives containing C++ object files must be created using
13483 # the KAI C++ compiler.
13485 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13486 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13490 # Rational C++ 2.4.1
13491 # FIXME: insert proper C++ library support
13497 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13498 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13499 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13502 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13503 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13504 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13505 echo "-hidden">> $lib.exp~
13506 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
13508 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13512 hardcode_libdir_separator_CXX
=:
13514 # Commands to make compiler produce verbose output that lists
13515 # what "hidden" libraries, object files and flags are used when
13516 # linking a shared library.
13518 # There doesn't appear to be a way to prevent this compiler from
13519 # explicitly linking system object files so we need to strip them
13520 # from the output so that they don't get included in the library
13522 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13525 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13526 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13529 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13532 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13536 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13537 hardcode_libdir_separator_CXX
=:
13539 # Commands to make compiler produce verbose output that lists
13540 # what "hidden" libraries, object files and flags are used when
13541 # linking a shared library.
13542 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13545 # FIXME: insert proper C++ library support
13553 # FIXME: insert proper C++ library support
13558 case $cc_basename in
13561 # FIXME: insert proper C++ library support
13566 # FIXME: insert proper C++ library support
13570 # FIXME: insert proper C++ library support
13577 case $cc_basename in
13579 # Sun C++ 4.2, 5.x and Centerline C++
13580 archive_cmds_need_lc_CXX
=yes
13581 no_undefined_flag_CXX
=' -zdefs'
13582 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13583 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13584 $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'
13586 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13587 hardcode_shlibpath_var_CXX
=no
13589 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13591 # The compiler driver will combine and reorder linker options,
13592 # but understands `-z linker_flag'.
13593 # Supported since Solaris 2.6 (maybe 2.5.1?)
13594 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13597 link_all_deplibs_CXX
=yes
13599 output_verbose_link_cmd
='echo'
13601 # Archives containing C++ object files must be created using
13602 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13603 # necessary to make sure instantiated templates are included
13605 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13608 # Green Hills C++ Compiler
13609 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13611 # The C++ compiler must be used to create the archive.
13612 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13615 # GNU C++ compiler with Solaris linker
13616 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13617 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13618 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13619 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13620 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13621 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13623 # Commands to make compiler produce verbose output that lists
13624 # what "hidden" libraries, object files and flags are used when
13625 # linking a shared library.
13626 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13628 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13630 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13631 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13632 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13634 # Commands to make compiler produce verbose output that lists
13635 # what "hidden" libraries, object files and flags are used when
13636 # linking a shared library.
13637 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13640 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13642 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13644 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13652 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13653 no_undefined_flag_CXX
='${wl}-z,text'
13654 archive_cmds_need_lc_CXX
=no
13655 hardcode_shlibpath_var_CXX
=no
13656 runpath_var
='LD_RUN_PATH'
13658 case $cc_basename in
13660 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13670 sysv5
* | sco3.2v5
* | sco5v6
*)
13671 # Note: We can NOT use -z defs as we might desire, because we do not
13672 # link with -lc, and that would cause any symbols used from libc to
13673 # always be unresolved, which means just about no library would
13674 # ever link correctly. If we're not using GNU ld we use -z text
13675 # though, which does catch some bad symbols but isn't as heavy-handed
13677 no_undefined_flag_CXX
='${wl}-z,text'
13678 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13679 archive_cmds_need_lc_CXX
=no
13680 hardcode_shlibpath_var_CXX
=no
13681 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13682 hardcode_libdir_separator_CXX
=':'
13683 link_all_deplibs_CXX
=yes
13684 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13685 runpath_var
='LD_RUN_PATH'
13687 case $cc_basename in
13689 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13693 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13694 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13700 case $cc_basename in
13702 # NonStop-UX NCC 3.20
13703 # FIXME: insert proper C++ library support
13707 # FIXME: insert proper C++ library support
13714 # FIXME: insert proper C++ library support
13719 # FIXME: insert proper C++ library support
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13725 $as_echo "$ld_shlibs_CXX" >&6; }
13726 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13732 ## There is no encapsulation within the following macros, do not change
13733 ## the running order or otherwise move them around unless you know exactly
13734 ## what you are doing...
13735 # Dependencies to place before and after the object being linked:
13736 predep_objects_CXX
=
13737 postdep_objects_CXX
=
13740 compiler_lib_search_path_CXX
=
13742 cat > conftest.
$ac_ext <<_LT_EOF
13746 Foo (void) { a = 0; }
13752 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13753 (eval $ac_compile) 2>&5
13755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13756 test $ac_status = 0; }; then
13757 # Parse the compiler output and extract the necessary
13758 # objects, libraries and library flags.
13760 # Sentinel used to keep track of whether or not we are before
13761 # the conftest object file.
13762 pre_test_object_deps_done
=no
13764 for p
in `eval "$output_verbose_link_cmd"`; do
13768 # Some compilers place space between "-{L,R}" and the path.
13769 # Remove the space.
13770 if test $p = "-L" ||
13771 test $p = "-R"; then
13778 if test "$pre_test_object_deps_done" = no
; then
13781 # Internal compiler library paths should come after those
13782 # provided the user. The postdeps already come after the
13783 # user supplied libs so there is no need to process them.
13784 if test -z "$compiler_lib_search_path_CXX"; then
13785 compiler_lib_search_path_CXX
="${prev}${p}"
13787 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13790 # The "-l" case would never come before the object being
13791 # linked, so don't bother handling this case.
13794 if test -z "$postdeps_CXX"; then
13795 postdeps_CXX
="${prev}${p}"
13797 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13803 # This assumes that the test object file only shows up
13804 # once in the compiler output.
13805 if test "$p" = "conftest.$objext"; then
13806 pre_test_object_deps_done
=yes
13810 if test "$pre_test_object_deps_done" = no
; then
13811 if test -z "$predep_objects_CXX"; then
13812 predep_objects_CXX
="$p"
13814 predep_objects_CXX
="$predep_objects_CXX $p"
13817 if test -z "$postdep_objects_CXX"; then
13818 postdep_objects_CXX
="$p"
13820 postdep_objects_CXX
="$postdep_objects_CXX $p"
13825 *) ;; # Ignore the rest.
13833 echo "libtool.m4: error: problem compiling CXX test program"
13836 $RM -f confest.
$objext
13838 # PORTME: override above test on systems where it is broken
13841 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13842 # hack all around it, let's just trust "g++" to DTRT.
13843 predep_objects_CXX
=
13844 postdep_objects_CXX
=
13849 case `$CC -V 2>&1 | sed 5q` in
13853 # The more standards-conforming stlport4 library is
13854 # incompatible with the Cstd library. Avoid specifying
13855 # it if it's in CXXFLAGS. Ignore libCrun as
13856 # -library=stlport4 depends on it.
13857 case " $CXX $CXXFLAGS " in
13858 *" -library=stlport4 "*)
13859 solaris_use_stlport4
=yes
13863 if test "$solaris_use_stlport4" != yes; then
13864 postdeps_CXX
='-library=Cstd -library=Crun'
13871 case $cc_basename in
13873 # The more standards-conforming stlport4 library is
13874 # incompatible with the Cstd library. Avoid specifying
13875 # it if it's in CXXFLAGS. Ignore libCrun as
13876 # -library=stlport4 depends on it.
13877 case " $CXX $CXXFLAGS " in
13878 *" -library=stlport4 "*)
13879 solaris_use_stlport4
=yes
13883 # Adding this requires a known-good setup of shared libraries for
13884 # Sun compiler versions before 5.6, else PIC objects from an old
13885 # archive will be linked into the output, leading to subtle bugs.
13886 if test "$solaris_use_stlport4" != yes; then
13887 postdeps_CXX
='-library=Cstd -library=Crun'
13895 case " $postdeps_CXX " in
13896 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13898 compiler_lib_search_dirs_CXX
=
13899 if test -n "${compiler_lib_search_path_CXX}"; then
13900 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13933 lt_prog_compiler_wl_CXX
=
13934 lt_prog_compiler_pic_CXX
=
13935 lt_prog_compiler_static_CXX
=
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13938 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13940 # C++ specific cases for pic, static, wl, etc.
13941 if test "$GXX" = yes; then
13942 lt_prog_compiler_wl_CXX
='-Wl,'
13943 lt_prog_compiler_static_CXX
='-static'
13947 # All AIX code is PIC.
13948 if test "$host_cpu" = ia64
; then
13949 # AIX 5 now supports IA64 processor
13950 lt_prog_compiler_static_CXX
='-Bstatic'
13957 # see comment about AmigaOS4 .so support
13958 lt_prog_compiler_pic_CXX
='-fPIC'
13961 # FIXME: we need at least 68020 code to build shared libraries, but
13962 # adding the `-m68020' flag to GCC prevents building anything better,
13964 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13969 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13970 # PIC is the default for these OSes.
13972 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13973 # This hack is so that the source file can tell whether it is being
13974 # built for inclusion in a dll (and should export symbols for example).
13975 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13976 # (--disable-auto-import) libraries
13977 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13979 darwin
* | rhapsody
*)
13980 # PIC is the default on this platform
13981 # Common symbols not allowed in MH_DYLIB files
13982 lt_prog_compiler_pic_CXX
='-fno-common'
13985 # DJGPP does not support shared libraries at all
13986 lt_prog_compiler_pic_CXX
=
13989 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13990 # Instead, we relocate shared libraries at runtime.
13993 if test -d /usr
/nec
; then
13994 lt_prog_compiler_pic_CXX
=-Kconform_pic
13998 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13999 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14000 # sets the default TLS model and affects inlining.
14005 lt_prog_compiler_pic_CXX
='-fPIC'
14010 # QNX uses GNU C++, but need to define -shared option too, otherwise
14011 # it will coredump.
14012 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14015 lt_prog_compiler_pic_CXX
='-fPIC'
14021 # All AIX code is PIC.
14022 if test "$host_cpu" = ia64
; then
14023 # AIX 5 now supports IA64 processor
14024 lt_prog_compiler_static_CXX
='-Bstatic'
14026 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14030 case $cc_basename in
14032 # Green Hills C++ Compiler
14033 # _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"
14038 case $cc_basename in
14040 lt_prog_compiler_pic_CXX
='-KPIC'
14043 # Green Hills C++ Compiler
14044 lt_prog_compiler_pic_CXX
='-pic'
14050 freebsd
* | dragonfly
*)
14051 # FreeBSD uses GNU C++
14053 hpux9
* | hpux10
* | hpux11
*)
14054 case $cc_basename in
14056 lt_prog_compiler_wl_CXX
='-Wl,'
14057 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14058 if test "$host_cpu" != ia64
; then
14059 lt_prog_compiler_pic_CXX
='+Z'
14063 lt_prog_compiler_wl_CXX
='-Wl,'
14064 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14070 lt_prog_compiler_pic_CXX
='+Z'
14079 # This is c89, which is MS Visual C++ (no shared libs)
14080 # Anyone wants to do a port?
14082 irix5
* | irix6
* | nonstopux
*)
14083 case $cc_basename in
14085 lt_prog_compiler_wl_CXX
='-Wl,'
14086 lt_prog_compiler_static_CXX
='-non_shared'
14087 # CC pic flag -KPIC is the default.
14093 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14094 case $cc_basename in
14097 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14098 lt_prog_compiler_pic_CXX
='-fPIC'
14101 # old Intel C++ for x86_64 which still supported -KPIC.
14102 lt_prog_compiler_wl_CXX
='-Wl,'
14103 lt_prog_compiler_pic_CXX
='-KPIC'
14104 lt_prog_compiler_static_CXX
='-static'
14107 # Intel C++, used to be incompatible with GCC.
14108 # ICC 10 doesn't accept -KPIC any more.
14109 lt_prog_compiler_wl_CXX
='-Wl,'
14110 lt_prog_compiler_pic_CXX
='-fPIC'
14111 lt_prog_compiler_static_CXX
='-static'
14114 # Portland Group C++ compiler
14115 lt_prog_compiler_wl_CXX
='-Wl,'
14116 lt_prog_compiler_pic_CXX
='-fpic'
14117 lt_prog_compiler_static_CXX
='-Bstatic'
14121 # Make sure the PIC flag is empty. It appears that all Alpha
14122 # Linux and Compaq Tru64 Unix objects are PIC.
14123 lt_prog_compiler_pic_CXX
=
14124 lt_prog_compiler_static_CXX
='-non_shared'
14127 # IBM XL 8.0 on PPC
14128 lt_prog_compiler_wl_CXX
='-Wl,'
14129 lt_prog_compiler_pic_CXX
='-qpic'
14130 lt_prog_compiler_static_CXX
='-qstaticlink'
14133 case `$CC -V 2>&1 | sed 5q` in
14136 lt_prog_compiler_pic_CXX
='-KPIC'
14137 lt_prog_compiler_static_CXX
='-Bstatic'
14138 lt_prog_compiler_wl_CXX
='-Qoption ld '
14149 case $cc_basename in
14151 lt_prog_compiler_pic_CXX
='-W c,exportall'
14157 netbsd
* | netbsdelf
*-gnu)
14160 # QNX uses GNU C++, but need to define -shared option too, otherwise
14161 # it will coredump.
14162 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14164 osf3
* | osf4
* | osf5
*)
14165 case $cc_basename in
14167 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14170 # Rational C++ 2.4.1
14171 lt_prog_compiler_pic_CXX
='-pic'
14174 # Digital/Compaq C++
14175 lt_prog_compiler_wl_CXX
='-Wl,'
14176 # Make sure the PIC flag is empty. It appears that all Alpha
14177 # Linux and Compaq Tru64 Unix objects are PIC.
14178 lt_prog_compiler_pic_CXX
=
14179 lt_prog_compiler_static_CXX
='-non_shared'
14188 case $cc_basename in
14190 # Sun C++ 4.2, 5.x and Centerline C++
14191 lt_prog_compiler_pic_CXX
='-KPIC'
14192 lt_prog_compiler_static_CXX
='-Bstatic'
14193 lt_prog_compiler_wl_CXX
='-Qoption ld '
14196 # Green Hills C++ Compiler
14197 lt_prog_compiler_pic_CXX
='-PIC'
14204 case $cc_basename in
14207 lt_prog_compiler_pic_CXX
='-pic'
14208 lt_prog_compiler_static_CXX
='-Bstatic'
14212 lt_prog_compiler_pic_CXX
='-pic'
14218 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14219 case $cc_basename in
14221 lt_prog_compiler_wl_CXX
='-Wl,'
14222 lt_prog_compiler_pic_CXX
='-KPIC'
14223 lt_prog_compiler_static_CXX
='-Bstatic'
14228 case $cc_basename in
14230 # NonStop-UX NCC 3.20
14231 lt_prog_compiler_pic_CXX
='-KPIC'
14240 lt_prog_compiler_can_build_shared_CXX
=no
14246 # For platforms which do not support PIC, -DPIC is meaningless:
14248 lt_prog_compiler_pic_CXX
=
14251 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14255 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14260 # Check to make sure the PIC flag actually works.
14262 if test -n "$lt_prog_compiler_pic_CXX"; then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14264 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14265 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14266 $as_echo_n "(cached) " >&6
14268 lt_cv_prog_compiler_pic_works_CXX
=no
14269 ac_outfile
=conftest.
$ac_objext
14270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14271 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14272 # Insert the option either (1) after the last *FLAGS variable, or
14273 # (2) before a word containing "conftest.", or (3) at the end.
14274 # Note that $ac_compile itself does not contain backslashes and begins
14275 # with a dollar sign (not a hyphen), so the echo should work correctly.
14276 # The option is referenced via a variable to avoid confusing sed.
14277 lt_compile
=`echo "$ac_compile" | $SED \
14278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14280 -e 's:$: $lt_compiler_flag:'`
14281 (eval echo "\"\$as_me:14281: $lt_compile\"" >&5)
14282 (eval "$lt_compile" 2>conftest.err
)
14284 cat conftest.err
>&5
14285 echo "$as_me:14285: \$? = $ac_status" >&5
14286 if (exit $ac_status) && test -s "$ac_outfile"; then
14287 # The compiler can only warn and ignore the option if not recognized
14288 # So say no if there are warnings other than the usual output.
14289 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14290 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14291 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14292 lt_cv_prog_compiler_pic_works_CXX
=yes
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14299 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14301 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14302 case $lt_prog_compiler_pic_CXX in
14304 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14307 lt_prog_compiler_pic_CXX
=
14308 lt_prog_compiler_can_build_shared_CXX
=no
14316 # Check to make sure the static flag actually works.
14318 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14320 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14321 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14322 $as_echo_n "(cached) " >&6
14324 lt_cv_prog_compiler_static_works_CXX
=no
14325 save_LDFLAGS
="$LDFLAGS"
14326 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14327 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14328 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14329 # The linker can only warn and ignore the option if not recognized
14330 # So say no if there are warnings
14331 if test -s conftest.err
; then
14332 # Append any errors to the config.log.
14333 cat conftest.err
1>&5
14334 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14335 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14336 if diff conftest.exp conftest.er2
>/dev
/null
; then
14337 lt_cv_prog_compiler_static_works_CXX
=yes
14340 lt_cv_prog_compiler_static_works_CXX
=yes
14344 LDFLAGS
="$save_LDFLAGS"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14348 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14350 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14353 lt_prog_compiler_static_CXX
=
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14360 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14361 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14362 $as_echo_n "(cached) " >&6
14364 lt_cv_prog_compiler_c_o_CXX
=no
14365 $RM -r conftest
2>/dev
/null
14369 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14371 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14372 # Insert the option either (1) after the last *FLAGS variable, or
14373 # (2) before a word containing "conftest.", or (3) at the end.
14374 # Note that $ac_compile itself does not contain backslashes and begins
14375 # with a dollar sign (not a hyphen), so the echo should work correctly.
14376 lt_compile
=`echo "$ac_compile" | $SED \
14377 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14378 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14379 -e 's:$: $lt_compiler_flag:'`
14380 (eval echo "\"\$as_me:14380: $lt_compile\"" >&5)
14381 (eval "$lt_compile" 2>out
/conftest.err
)
14383 cat out
/conftest.err
>&5
14384 echo "$as_me:14384: \$? = $ac_status" >&5
14385 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14387 # The compiler can only warn and ignore the option if not recognized
14388 # So say no if there are warnings
14389 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14390 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14391 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14392 lt_cv_prog_compiler_c_o_CXX
=yes
14397 # SGI C++ compiler will create directory out/ii_files/ for
14398 # template instantiation
14399 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14400 $RM out
/* && rmdir out
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14407 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14412 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14413 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14414 $as_echo_n "(cached) " >&6
14416 lt_cv_prog_compiler_c_o_CXX
=no
14417 $RM -r conftest
2>/dev
/null
14421 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14423 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14424 # Insert the option either (1) after the last *FLAGS variable, or
14425 # (2) before a word containing "conftest.", or (3) at the end.
14426 # Note that $ac_compile itself does not contain backslashes and begins
14427 # with a dollar sign (not a hyphen), so the echo should work correctly.
14428 lt_compile
=`echo "$ac_compile" | $SED \
14429 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14430 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14431 -e 's:$: $lt_compiler_flag:'`
14432 (eval echo "\"\$as_me:14432: $lt_compile\"" >&5)
14433 (eval "$lt_compile" 2>out
/conftest.err
)
14435 cat out
/conftest.err
>&5
14436 echo "$as_me:14436: \$? = $ac_status" >&5
14437 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14439 # The compiler can only warn and ignore the option if not recognized
14440 # So say no if there are warnings
14441 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14442 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14443 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14444 lt_cv_prog_compiler_c_o_CXX
=yes
14449 # SGI C++ compiler will create directory out/ii_files/ for
14450 # template instantiation
14451 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14452 $RM out
/* && rmdir out
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14459 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14464 hard_links
="nottested"
14465 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14466 # do not overwrite the value of need_locks provided by the user
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14468 $as_echo_n "checking if we can lock with hard links... " >&6; }
14471 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14473 ln conftest.a conftest.b
2>&5 || hard_links
=no
14474 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14476 $as_echo "$hard_links" >&6; }
14477 if test "$hard_links" = no
; then
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14479 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14489 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14491 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14494 # If we're using GNU nm, then we don't want the "-C" option.
14495 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14496 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14497 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14499 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'
14503 export_symbols_cmds_CXX
="$ltdll_cmds"
14505 cygwin
* | mingw
* | cegcc
*)
14506 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14508 linux
* | k
*bsd
*-gnu)
14509 link_all_deplibs_CXX
=no
14512 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14515 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14518 $as_echo "$ld_shlibs_CXX" >&6; }
14519 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14521 with_gnu_ld_CXX
=$with_gnu_ld
14529 # Do we need to explicitly link libc?
14531 case "x$archive_cmds_need_lc_CXX" in
14533 # Assume -lc should be added
14534 archive_cmds_need_lc_CXX
=yes
14536 if test "$enable_shared" = yes && test "$GCC" = yes; then
14537 case $archive_cmds_CXX in
14539 # FIXME: we may have to deal with multi-command sequences.
14542 # Test whether the compiler implicitly links with -lc since on some
14543 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14544 # to ld, don't add -lc before -lgcc.
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14546 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14548 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14551 (eval $ac_compile) 2>&5
14553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14554 test $ac_status = 0; } 2>conftest.err
; then
14557 libobjs
=conftest.
$ac_objext
14559 wl
=$lt_prog_compiler_wl_CXX
14560 pic_flag
=$lt_prog_compiler_pic_CXX
14566 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14567 allow_undefined_flag_CXX
=
14568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14569 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14572 test $ac_status = 0; }
14574 archive_cmds_need_lc_CXX
=no
14576 archive_cmds_need_lc_CXX
=yes
14578 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14580 cat conftest.err
1>&5
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14584 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14655 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14657 library_names_spec
=
14658 libname_spec
='lib$name'
14662 postuninstall_cmds
=
14666 shlibpath_overrides_runpath
=unknown
14668 dynamic_linker
="$host_os ld.so"
14669 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14670 need_lib_prefix
=unknown
14671 hardcode_into_libs
=no
14673 # when you set need_version to no, make sure it does not cause -set_version
14674 # flags to be left without arguments
14675 need_version
=unknown
14680 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14681 shlibpath_var
=LIBPATH
14683 # AIX 3 has no versioning support, so we append a major version to the name.
14684 soname_spec
='${libname}${release}${shared_ext}$major'
14691 hardcode_into_libs
=yes
14692 if test "$host_cpu" = ia64
; then
14693 # AIX 5 supports IA64
14694 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14695 shlibpath_var
=LD_LIBRARY_PATH
14697 # With GCC up to 2.95.x, collect2 would create an import file
14698 # for dependence libraries. The import file would start with
14699 # the line `#! .'. This would cause the generated library to
14700 # depend on `.', always an invalid library. This was fixed in
14701 # development snapshots of GCC prior to 3.0.
14703 aix4 | aix4.
[01] | aix4.
[01].
*)
14704 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14706 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14709 can_build_shared
=no
14713 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14714 # soname into executable. Probably we can add versioning support to
14715 # collect2, so additional links can be useful in future.
14716 if test "$aix_use_runtimelinking" = yes; then
14717 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14718 # instead of lib<name>.a to let people know that these are not
14719 # typical AIX shared libraries.
14720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 # We preserve .a as extension for shared libraries through AIX4.2
14723 # and later when we are not doing run time linking.
14724 library_names_spec
='${libname}${release}.a $libname.a'
14725 soname_spec
='${libname}${release}${shared_ext}$major'
14727 shlibpath_var
=LIBPATH
14734 # Since July 2007 AmigaOS4 officially supports .so libraries.
14735 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739 library_names_spec
='$libname.ixlibrary $libname.a'
14740 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14741 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14747 library_names_spec
='${libname}${shared_ext}'
14748 dynamic_linker
="$host_os ld.so"
14749 shlibpath_var
=LIBRARY_PATH
14755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec
='${libname}${release}${shared_ext}$major'
14757 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14758 shlibpath_var
=LD_LIBRARY_PATH
14759 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14760 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14761 # the default ld.so.conf also contains /usr/contrib/lib and
14762 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14763 # libtool to hard-code these into programs
14766 cygwin
* | mingw
* | pw32
* | cegcc
*)
14767 version_type
=windows
14772 case $GCC,$host_os in
14773 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14774 library_names_spec
='$libname.dll.a'
14775 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14776 postinstall_cmds
='base_file=`basename \${file}`~
14777 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14778 dldir=$destdir/`dirname \$dlpath`~
14779 test -d \$dldir || mkdir -p \$dldir~
14780 $install_prog $dir/$dlname \$dldir/$dlname~
14781 chmod a+x \$dldir/$dlname~
14782 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14783 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14785 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14786 dlpath=$dir/\$dldll~
14788 shlibpath_overrides_runpath
=yes
14792 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14793 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14794 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14797 # MinGW DLLs use traditional 'lib' prefix
14798 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14799 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14800 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14801 # It is most probably a Windows format PATH printed by
14802 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14803 # path with ; separators, and with drive letters. We can handle the
14804 # drive letters (cygwin fileutils understands them), so leave them,
14805 # especially as we might pass files found there to a mingw objdump,
14806 # which wouldn't understand a cygwinified path. Ahh.
14807 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14809 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14813 # pw32 DLLs use 'pw' prefix rather than 'lib'
14814 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14820 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14823 dynamic_linker
='Win32 ld.exe'
14824 # FIXME: first we should search . and the directory the executable is in
14828 darwin
* | rhapsody
*)
14829 dynamic_linker
="$host_os dyld"
14830 version_type
=darwin
14833 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14834 soname_spec
='${libname}${release}${major}$shared_ext'
14835 shlibpath_overrides_runpath
=yes
14836 shlibpath_var
=DYLD_LIBRARY_PATH
14837 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14839 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14847 soname_spec
='${libname}${release}${shared_ext}$major'
14848 shlibpath_var
=LD_LIBRARY_PATH
14855 freebsd
* | dragonfly
*)
14856 # DragonFly does not have aout. When/if they implement a new
14857 # versioning mechanism, adjust this.
14858 if test -x /usr
/bin
/objformat
; then
14859 objformat
=`/usr/bin/objformat`
14862 freebsd
[123]*) objformat
=aout
;;
14863 *) objformat
=elf
;;
14866 version_type
=freebsd-
$objformat
14867 case $version_type in
14869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14874 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14878 shlibpath_var
=LD_LIBRARY_PATH
14881 shlibpath_overrides_runpath
=yes
14883 freebsd3.
[01]* | freebsdelf3.
[01]*)
14884 shlibpath_overrides_runpath
=yes
14885 hardcode_into_libs
=yes
14887 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14888 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14889 shlibpath_overrides_runpath
=no
14890 hardcode_into_libs
=yes
14892 *) # from 4.6 on, and DragonFly
14893 shlibpath_overrides_runpath
=yes
14894 hardcode_into_libs
=yes
14903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14904 soname_spec
='${libname}${release}${shared_ext}$major'
14905 shlibpath_var
=LD_LIBRARY_PATH
14906 hardcode_into_libs
=yes
14909 hpux9
* | hpux10
* | hpux11
*)
14910 # Give a soname corresponding to the major version so that dld.sl refuses to
14911 # link against other versions.
14918 hardcode_into_libs
=yes
14919 dynamic_linker
="$host_os dld.so"
14920 shlibpath_var
=LD_LIBRARY_PATH
14921 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14923 soname_spec
='${libname}${release}${shared_ext}$major'
14924 if test "X$HPUX_IA64_MODE" = X32
; then
14925 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14927 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14929 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14933 hardcode_into_libs
=yes
14934 dynamic_linker
="$host_os dld.sl"
14935 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14936 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14938 soname_spec
='${libname}${release}${shared_ext}$major'
14939 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14940 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14944 dynamic_linker
="$host_os dld.sl"
14945 shlibpath_var
=SHLIB_PATH
14946 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14948 soname_spec
='${libname}${release}${shared_ext}$major'
14951 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14952 postinstall_cmds
='chmod 555 $lib'
14959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14960 soname_spec
='${libname}${release}${shared_ext}$major'
14961 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14962 shlibpath_var
=LD_LIBRARY_PATH
14963 shlibpath_overrides_runpath
=no
14964 hardcode_into_libs
=yes
14967 irix5
* | irix6
* | nonstopux
*)
14969 nonstopux
*) version_type
=nonstopux
;;
14971 if test "$lt_cv_prog_gnu_ld" = yes; then
14979 soname_spec
='${libname}${release}${shared_ext}$major'
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14982 irix5
* | nonstopux
*)
14983 libsuff
= shlibsuff
=
14986 case $LD in # libtool.m4 will add one of these switches to LD
14987 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14988 libsuff
= shlibsuff
= libmagic
=32-bit;;
14989 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14990 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14991 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14992 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14993 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14997 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14998 shlibpath_overrides_runpath
=no
14999 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15000 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15001 hardcode_into_libs
=yes
15004 # No shared lib support for Linux oldld, aout, or coff.
15005 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15009 # This must be Linux ELF.
15010 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15015 soname_spec
='${libname}${release}${shared_ext}$major'
15016 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15017 shlibpath_var
=LD_LIBRARY_PATH
15018 shlibpath_overrides_runpath
=no
15019 # Some binutils ld are patched to set DT_RUNPATH
15020 save_LDFLAGS
=$LDFLAGS
15021 save_libdir
=$libdir
15022 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15023 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15035 if ac_fn_cxx_try_link
"$LINENO"; then :
15036 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15037 shlibpath_overrides_runpath
=yes
15040 rm -f core conftest.err conftest.
$ac_objext \
15041 conftest
$ac_exeext conftest.
$ac_ext
15042 LDFLAGS
=$save_LDFLAGS
15043 libdir
=$save_libdir
15045 # This implies no fast_install, which is unacceptable.
15046 # Some rework will be needed to allow for fast_install
15047 # before this can be enabled.
15048 hardcode_into_libs
=yes
15050 # Append ld.so.conf contents to the search path
15051 if test -f /etc
/ld.so.conf
; then
15052 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;/^$/d' | tr '\n' ' '`
15053 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15056 # We used to test for /lib/ld.so.1 and disable shared libraries on
15057 # powerpc, because MkLinux only supported shared libraries with the
15058 # GNU dynamic linker. Since this was broken with cross compilers,
15059 # most powerpc-linux boxes support dynamic linking these days and
15060 # people can always --disable-shared, the test was removed, and we
15061 # assume the GNU/Linux dynamic linker is in use.
15062 dynamic_linker
='GNU/Linux ld.so'
15069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15070 soname_spec
='${libname}${release}${shared_ext}$major'
15071 shlibpath_var
=LD_LIBRARY_PATH
15072 shlibpath_overrides_runpath
=no
15073 hardcode_into_libs
=yes
15074 dynamic_linker
='NetBSD ld.elf_so'
15081 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15083 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15084 dynamic_linker
='NetBSD (a.out) ld.so'
15086 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15087 soname_spec
='${libname}${release}${shared_ext}$major'
15088 dynamic_linker
='NetBSD ld.elf_so'
15090 shlibpath_var
=LD_LIBRARY_PATH
15091 shlibpath_overrides_runpath
=yes
15092 hardcode_into_libs
=yes
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15098 shlibpath_var
=LD_LIBRARY_PATH
15099 shlibpath_overrides_runpath
=yes
15106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15107 soname_spec
='${libname}${release}${shared_ext}$major'
15108 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=no
15110 hardcode_into_libs
=yes
15111 dynamic_linker
='ldqnx.so'
15116 sys_lib_dlsearch_path_spec
="/usr/lib"
15118 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15120 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15121 *) need_version
=no
;;
15123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15124 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15125 shlibpath_var
=LD_LIBRARY_PATH
15126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15128 openbsd2.
[89] | openbsd2.
[89].
*)
15129 shlibpath_overrides_runpath
=no
15132 shlibpath_overrides_runpath
=yes
15136 shlibpath_overrides_runpath
=yes
15141 libname_spec
='$name'
15144 library_names_spec
='$libname${shared_ext} $libname.a'
15145 dynamic_linker
='OS/2 ld.exe'
15146 shlibpath_var
=LIBPATH
15149 osf3
* | osf4
* | osf5
*)
15153 soname_spec
='${libname}${release}${shared_ext}$major'
15154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15157 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15169 soname_spec
='${libname}${release}${shared_ext}$major'
15170 shlibpath_var
=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath
=yes
15172 hardcode_into_libs
=yes
15173 # ldd complains unless libraries are executable
15174 postinstall_cmds
='chmod +x $lib'
15179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15180 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15181 shlibpath_var
=LD_LIBRARY_PATH
15182 shlibpath_overrides_runpath
=yes
15183 if test "$with_gnu_ld" = yes; then
15191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15192 soname_spec
='${libname}${release}${shared_ext}$major'
15193 shlibpath_var
=LD_LIBRARY_PATH
15194 case $host_vendor in
15196 shlibpath_overrides_runpath
=no
15198 runpath_var
=LD_RUN_PATH
15206 shlibpath_overrides_runpath
=no
15207 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15213 if test -d /usr
/nec
;then
15215 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15216 soname_spec
='$libname${shared_ext}.$major'
15217 shlibpath_var
=LD_LIBRARY_PATH
15221 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15222 version_type
=freebsd-elf
15225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15226 soname_spec
='${libname}${release}${shared_ext}$major'
15227 shlibpath_var
=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath
=yes
15229 hardcode_into_libs
=yes
15230 if test "$with_gnu_ld" = yes; then
15231 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15233 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15236 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15240 sys_lib_dlsearch_path_spec
='/usr/lib'
15244 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15249 shlibpath_var
=LD_LIBRARY_PATH
15250 shlibpath_overrides_runpath
=no
15251 hardcode_into_libs
=yes
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15257 soname_spec
='${libname}${release}${shared_ext}$major'
15258 shlibpath_var
=LD_LIBRARY_PATH
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15266 $as_echo "$dynamic_linker" >&6; }
15267 test "$dynamic_linker" = no
&& can_build_shared
=no
15269 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15270 if test "$GCC" = yes; then
15271 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15274 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15275 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15277 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15278 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15317 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15318 hardcode_action_CXX
=
15319 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15320 test -n "$runpath_var_CXX" ||
15321 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15323 # We can hardcode non-existent directories.
15324 if test "$hardcode_direct_CXX" != no
&&
15325 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15326 # have to relink, otherwise we might link with an installed library
15327 # when we should be linking with a yet-to-be-installed one
15328 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15329 test "$hardcode_minus_L_CXX" != no
; then
15330 # Linking always hardcodes the temporary library directory.
15331 hardcode_action_CXX
=relink
15333 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15334 hardcode_action_CXX
=immediate
15337 # We cannot hardcode anything, or else we can only hardcode existing
15339 hardcode_action_CXX
=unsupported
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15342 $as_echo "$hardcode_action_CXX" >&6; }
15344 if test "$hardcode_action_CXX" = relink ||
15345 test "$inherit_rpath_CXX" = yes; then
15346 # Fast installation is not supported
15347 enable_fast_install
=no
15348 elif test "$shlibpath_overrides_runpath" = yes ||
15349 test "$enable_shared" = no
; then
15350 # Fast installation is not necessary
15351 enable_fast_install
=needless
15360 fi # test -n "$compiler"
15366 with_gnu_ld
=$lt_save_with_gnu_ld
15367 lt_cv_path_LDCXX
=$lt_cv_path_LD
15368 lt_cv_path_LD
=$lt_save_path_LD
15369 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15370 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15371 fi # test "$_lt_caught_CXX_error" != yes
15374 ac_cpp
='$CPP $CPPFLAGS'
15375 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15376 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15377 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15381 $as_echo_n "checking for inline... " >&6; }
15382 if test "${ac_cv_c_inline+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15386 for ac_kw
in inline __inline__ __inline
; do
15387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15388 /* end confdefs.h. */
15389 #ifndef __cplusplus
15391 static $ac_kw foo_t static_foo () {return 0; }
15392 $ac_kw foo_t foo () {return 0; }
15396 if ac_fn_c_try_compile
"$LINENO"; then :
15397 ac_cv_c_inline
=$ac_kw
15399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15400 test "$ac_cv_c_inline" != no
&& break
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15405 $as_echo "$ac_cv_c_inline" >&6; }
15407 case $ac_cv_c_inline in
15410 case $ac_cv_c_inline in
15412 *) ac_val
=$ac_cv_c_inline;;
15414 cat >>confdefs.h
<<_ACEOF
15415 #ifndef __cplusplus
15416 #define inline $ac_val
15422 if test "x$GCC" = "xyes" ; then
15424 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"
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
15427 $as_echo_n "checking gcc version... " >&6; }
15428 GCC_VERSION
=`$CC -dumpversion`
15429 GCC_MAJOR
=`echo $GCC_VERSION | cut -d . -f1`
15430 GCC_MINOR
=`echo $GCC_VERSION | cut -d . -f2`
15431 GCC_VERSION_NUM
=`(expr $GCC_MAJOR "*" 100 + $GCC_MINOR) 2>/dev/null`
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
15434 $as_echo "$GCC_VERSION" >&6; }
15435 if test $GCC_VERSION_NUM -ge 304; then
15436 CFLAGS
="$CFLAGS -Wextra -Wdeclaration-after-statement -Winit-self"
15438 if test $GCC_VERSION_NUM -ge 403; then
15439 CFLAGS
="$CFLAGS -Wvariadic-macros"
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15444 $as_echo_n "checking for ANSI C header files... " >&6; }
15445 if test "${ac_cv_header_stdc+set}" = set; then :
15446 $as_echo_n "(cached) " >&6
15448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15450 #include <stdlib.h>
15451 #include <stdarg.h>
15452 #include <string.h>
15463 if ac_fn_c_try_compile
"$LINENO"; then :
15464 ac_cv_header_stdc
=yes
15466 ac_cv_header_stdc
=no
15468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15470 if test $ac_cv_header_stdc = yes; then
15471 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15474 #include <string.h>
15477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15478 $EGREP "memchr" >/dev
/null
2>&1; then :
15481 ac_cv_header_stdc
=no
15487 if test $ac_cv_header_stdc = yes; then
15488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15491 #include <stdlib.h>
15494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15495 $EGREP "free" >/dev
/null
2>&1; then :
15498 ac_cv_header_stdc
=no
15504 if test $ac_cv_header_stdc = yes; then
15505 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15506 if test "$cross_compiling" = yes; then :
15509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h. */
15512 #include <stdlib.h>
15513 #if ((' ' & 0x0FF) == 0x020)
15514 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15515 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15517 # define ISLOWER(c) \
15518 (('a' <= (c) && (c) <= 'i') \
15519 || ('j' <= (c) && (c) <= 'r') \
15520 || ('s' <= (c) && (c) <= 'z'))
15521 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15524 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15529 for (i = 0; i < 256; i++)
15530 if (XOR (islower (i), ISLOWER (i))
15531 || toupper (i) != TOUPPER (i))
15536 if ac_fn_c_try_run
"$LINENO"; then :
15539 ac_cv_header_stdc
=no
15541 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15542 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15548 $as_echo "$ac_cv_header_stdc" >&6; }
15549 if test $ac_cv_header_stdc = yes; then
15551 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15556 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15557 if test "${ac_cv_header_time+set}" = set; then :
15558 $as_echo_n "(cached) " >&6
15560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15561 /* end confdefs.h. */
15562 #include <sys/types.h>
15563 #include <sys/time.h>
15569 if ((struct tm *) 0)
15575 if ac_fn_c_try_compile
"$LINENO"; then :
15576 ac_cv_header_time
=yes
15578 ac_cv_header_time
=no
15580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15583 $as_echo "$ac_cv_header_time" >&6; }
15584 if test $ac_cv_header_time = yes; then
15586 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15591 for ac_header
in stdbool.h
15593 ac_fn_c_check_header_mongrel
"$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
15594 if test "x$ac_cv_header_stdbool_h" = x
""yes; then :
15595 cat >>confdefs.h
<<_ACEOF
15596 #define HAVE_STDBOOL_H 1
15603 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
15605 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15606 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15607 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15608 cat >>confdefs.h
<<_ACEOF
15609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
15617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
15619 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
15620 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
15621 $as_echo_n "(cached) " >&6
15623 cat >conftest.
make <<\_ACEOF
15626 @
echo '@@@%%%=$(MAKE)=@@@%%%'
15628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
15629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
15630 *@@@
%%%=?
*=@@@
%%%*)
15631 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
15633 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
15635 rm -f conftest.
make
15637 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15639 $as_echo "yes" >&6; }
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643 $as_echo "no" >&6; }
15644 SET_MAKE
="MAKE=${MAKE-make}"
15651 ac_cpp
='$CPP $CPPFLAGS'
15652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15658 # We used to check for pthread.h first, but this fails if pthread.h
15659 # requires special compiler flags (e.g. on True64 or Sequent).
15660 # It gets checked for in the link test anyway.
15662 # First of all, check if the user has set any of the PTHREAD_LIBS,
15663 # etcetera environment variables, and if threads linking works using
15665 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
15666 save_CFLAGS
="$CFLAGS"
15667 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15669 LIBS
="$PTHREAD_LIBS $LIBS"
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
15671 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
15672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15675 /* Override any GCC internal prototype to avoid an error.
15676 Use char because int might match the return type of a GCC
15677 builtin and then its argument prototype would still apply. */
15681 char pthread_join ();
15685 return pthread_join ();
15690 if ac_fn_c_try_link
"$LINENO"; then :
15693 rm -f core conftest.err conftest.
$ac_objext \
15694 conftest
$ac_exeext conftest.
$ac_ext
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15696 $as_echo "$acx_pthread_ok" >&6; }
15697 if test x
"$acx_pthread_ok" = xno
; then
15702 CFLAGS
="$save_CFLAGS"
15705 # We must check for the threads library under a number of different
15706 # names; the ordering is very important because some systems
15707 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
15708 # libraries is broken (non-POSIX).
15710 # Create a list of thread flags to try. Items starting with a "-" are
15711 # C compiler flags, and other items are library names, except for "none"
15712 # which indicates that we try without any flags at all, and "pthread-config"
15713 # which is a program returning the flags for the Pth emulation library.
15715 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
15717 # The ordering *is* (sometimes) important. Some notes on the
15718 # individual items follow:
15720 # pthreads: AIX (must check this before -lpthread)
15721 # none: in case threads are in libc; should be tried before -Kthread and
15722 # other compiler flags to prevent continual compiler warnings
15723 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
15724 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
15725 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
15726 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
15727 # -pthreads: Solaris/gcc
15728 # -mthreads: Mingw32/gcc, Lynx/gcc
15729 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
15730 # doesn't hurt to check since this sometimes defines pthreads too;
15731 # also defines -D_REENTRANT)
15732 # ... -mt is also the pthreads flag for HP/aCC
15733 # pthread: Linux, etcetera
15734 # --thread-safe: KAI C++
15735 # pthread-config: use pthread-config program (for GNU Pth library)
15737 case "${host_cpu}-${host_os}" in
15740 # On Solaris (at least, for some versions), libc contains stubbed
15741 # (non-functional) versions of the pthreads routines, so link-based
15742 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
15743 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
15744 # a function called by this macro, so we could check for that, but
15745 # who knows whether they'll stub that too in a future libc.) So,
15746 # we'll just look for -pthreads and -lpthread first:
15748 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
15752 if test x
"$acx_pthread_ok" = xno
; then
15753 for flag
in $acx_pthread_flags; do
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
15758 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
15763 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
15764 PTHREAD_CFLAGS
="$flag"
15768 # Extract the first word of "pthread-config", so it can be a program name with args.
15769 set dummy pthread-config
; ac_word
=$2
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15771 $as_echo_n "checking for $ac_word... " >&6; }
15772 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then :
15773 $as_echo_n "(cached) " >&6
15775 if test -n "$acx_pthread_config"; then
15776 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
15778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15779 for as_dir
in $PATH
15782 test -z "$as_dir" && as_dir
=.
15783 for ac_exec_ext
in '' $ac_executable_extensions; do
15784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15785 ac_cv_prog_acx_pthread_config
="yes"
15786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15793 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
15796 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
15797 if test -n "$acx_pthread_config"; then
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
15799 $as_echo "$acx_pthread_config" >&6; }
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15802 $as_echo "no" >&6; }
15806 if test x
"$acx_pthread_config" = xno
; then continue; fi
15807 PTHREAD_CFLAGS
="`pthread-config --cflags`"
15808 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
15813 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
15814 PTHREAD_LIBS
="-l$flag"
15819 save_CFLAGS
="$CFLAGS"
15820 LIBS
="$PTHREAD_LIBS $LIBS"
15821 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15823 # Check for various functions. We must include pthread.h,
15824 # since some functions may be macros. (On the Sequent, we
15825 # need a special flag -Kthread to make this header compile.)
15826 # We check for pthread_join because it is in -lpthread on IRIX
15827 # while pthread_create is in libc. We check for pthread_attr_init
15828 # due to DEC craziness with -lpthreads. We check for
15829 # pthread_cleanup_push because it is one of the few pthread
15830 # functions on Solaris that doesn't have a non-functional libc stub.
15831 # We try pthread_create on general principles.
15832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15833 /* end confdefs.h. */
15834 #include <pthread.h>
15838 pthread_t th; pthread_join(th, 0);
15839 pthread_attr_init(0); pthread_cleanup_push(0, 0);
15840 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15845 if ac_fn_c_try_link
"$LINENO"; then :
15848 rm -f core conftest.err conftest.
$ac_objext \
15849 conftest
$ac_exeext conftest.
$ac_ext
15852 CFLAGS
="$save_CFLAGS"
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
15855 $as_echo "$acx_pthread_ok" >&6; }
15856 if test "x$acx_pthread_ok" = xyes
; then
15865 # Various other checks:
15866 if test "x$acx_pthread_ok" = xyes
; then
15868 LIBS
="$PTHREAD_LIBS $LIBS"
15869 save_CFLAGS
="$CFLAGS"
15870 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
15872 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
15874 $as_echo_n "checking for joinable pthread attribute... " >&6; }
15876 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
15877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15878 /* end confdefs.h. */
15879 #include <pthread.h>
15883 int attr=$attr; return attr;
15888 if ac_fn_c_try_link
"$LINENO"; then :
15889 attr_name
=$attr; break
15891 rm -f core conftest.err conftest.
$ac_objext \
15892 conftest
$ac_exeext conftest.
$ac_ext
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
15895 $as_echo "$attr_name" >&6; }
15896 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
15898 cat >>confdefs.h
<<_ACEOF
15899 #define PTHREAD_CREATE_JOINABLE $attr_name
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
15905 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
15907 case "${host_cpu}-${host_os}" in
15908 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
15909 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
15912 $as_echo "${flag}" >&6; }
15913 if test "x$flag" != xno
; then
15914 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
15918 CFLAGS
="$save_CFLAGS"
15920 # More AIX lossage: must compile with xlc_r or cc_r
15921 if test x
"$GCC" != xyes
; then
15922 for ac_prog
in xlc_r cc_r
15924 # Extract the first word of "$ac_prog", so it can be a program name with args.
15925 set dummy
$ac_prog; ac_word
=$2
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15927 $as_echo_n "checking for $ac_word... " >&6; }
15928 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
15929 $as_echo_n "(cached) " >&6
15931 if test -n "$PTHREAD_CC"; then
15932 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
15934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15935 for as_dir
in $PATH
15938 test -z "$as_dir" && as_dir
=.
15939 for ac_exec_ext
in '' $ac_executable_extensions; do
15940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15941 ac_cv_prog_PTHREAD_CC
="$ac_prog"
15942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15951 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
15952 if test -n "$PTHREAD_CC"; then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
15954 $as_echo "$PTHREAD_CC" >&6; }
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15957 $as_echo "no" >&6; }
15961 test -n "$PTHREAD_CC" && break
15963 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
15976 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
15977 if test x
"$acx_pthread_ok" = xyes
; then
15979 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
15987 ac_cpp
='$CPP $CPPFLAGS'
15988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15994 if test "x$ac_cv_func_strtold" != "xyes" ; then
15995 CPPFLAGS
="$CPPFLAGS -Dstrtold=strtod"
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
15999 $as_echo_n "checking for library containing cos... " >&6; }
16000 if test "${ac_cv_search_cos+set}" = set; then :
16001 $as_echo_n "(cached) " >&6
16003 ac_func_search_save_LIBS
=$LIBS
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16022 for ac_lib
in '' m
; do
16023 if test -z "$ac_lib"; then
16024 ac_res
="none required"
16027 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16029 if ac_fn_c_try_link
"$LINENO"; then :
16030 ac_cv_search_cos
=$ac_res
16032 rm -f core conftest.err conftest.
$ac_objext \
16034 if test "${ac_cv_search_cos+set}" = set; then :
16038 if test "${ac_cv_search_cos+set}" = set; then :
16041 ac_cv_search_cos
=no
16043 rm conftest.
$ac_ext
16044 LIBS
=$ac_func_search_save_LIBS
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
16047 $as_echo "$ac_cv_search_cos" >&6; }
16048 ac_res
=$ac_cv_search_cos
16049 if test "$ac_res" != no
; then :
16050 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
16055 $as_echo_n "checking for library containing socket... " >&6; }
16056 if test "${ac_cv_search_socket+set}" = set; then :
16057 $as_echo_n "(cached) " >&6
16059 ac_func_search_save_LIBS
=$LIBS
16060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16078 for ac_lib
in '' socket net
; do
16079 if test -z "$ac_lib"; then
16080 ac_res
="none required"
16083 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16085 if ac_fn_c_try_link
"$LINENO"; then :
16086 ac_cv_search_socket
=$ac_res
16088 rm -f core conftest.err conftest.
$ac_objext \
16090 if test "${ac_cv_search_socket+set}" = set; then :
16094 if test "${ac_cv_search_socket+set}" = set; then :
16097 ac_cv_search_socket
=no
16099 rm conftest.
$ac_ext
16100 LIBS
=$ac_func_search_save_LIBS
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
16103 $as_echo "$ac_cv_search_socket" >&6; }
16104 ac_res
=$ac_cv_search_socket
16105 if test "$ac_res" != no
; then :
16106 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16111 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16112 if test "${ac_cv_search_gethostbyname+set}" = set; then :
16113 $as_echo_n "(cached) " >&6
16115 ac_func_search_save_LIBS
=$LIBS
16116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16119 /* Override any GCC internal prototype to avoid an error.
16120 Use char because int might match the return type of a GCC
16121 builtin and then its argument prototype would still apply. */
16125 char gethostbyname ();
16129 return gethostbyname ();
16134 for ac_lib
in '' nsl
bind; do
16135 if test -z "$ac_lib"; then
16136 ac_res
="none required"
16139 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16141 if ac_fn_c_try_link
"$LINENO"; then :
16142 ac_cv_search_gethostbyname
=$ac_res
16144 rm -f core conftest.err conftest.
$ac_objext \
16146 if test "${ac_cv_search_gethostbyname+set}" = set; then :
16150 if test "${ac_cv_search_gethostbyname+set}" = set; then :
16153 ac_cv_search_gethostbyname
=no
16155 rm conftest.
$ac_ext
16156 LIBS
=$ac_func_search_save_LIBS
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16159 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16160 ac_res
=$ac_cv_search_gethostbyname
16161 if test "$ac_res" != no
; then :
16162 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16168 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16169 if test -n "$ac_tool_prefix"; then
16170 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16171 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16173 $as_echo_n "checking for $ac_word... " >&6; }
16174 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
16175 $as_echo_n "(cached) " >&6
16177 case $PKG_CONFIG in
16179 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
16182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16183 for as_dir
in $PATH
16186 test -z "$as_dir" && as_dir
=.
16187 for ac_exec_ext
in '' $ac_executable_extensions; do
16188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16189 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16200 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
16201 if test -n "$PKG_CONFIG"; then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16203 $as_echo "$PKG_CONFIG" >&6; }
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16206 $as_echo "no" >&6; }
16211 if test -z "$ac_cv_path_PKG_CONFIG"; then
16212 ac_pt_PKG_CONFIG
=$PKG_CONFIG
16213 # Extract the first word of "pkg-config", so it can be a program name with args.
16214 set dummy pkg-config
; ac_word
=$2
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16216 $as_echo_n "checking for $ac_word... " >&6; }
16217 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16218 $as_echo_n "(cached) " >&6
16220 case $ac_pt_PKG_CONFIG in
16222 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16226 for as_dir
in $PATH
16229 test -z "$as_dir" && as_dir
=.
16230 for ac_exec_ext
in '' $ac_executable_extensions; do
16231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16232 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
16233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16243 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
16244 if test -n "$ac_pt_PKG_CONFIG"; then
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16246 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16249 $as_echo "no" >&6; }
16252 if test "x$ac_pt_PKG_CONFIG" = x
; then
16255 case $cross_compiling:$ac_tool_warned in
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16259 ac_tool_warned
=yes ;;
16261 PKG_CONFIG
=$ac_pt_PKG_CONFIG
16264 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
16268 if test -n "$PKG_CONFIG"; then
16269 _pkg_min_version
=0.9.0
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16271 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16272 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16274 $as_echo "yes" >&6; }
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16277 $as_echo "no" >&6; }
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
16285 $as_echo_n "checking for OPENSSL... " >&6; }
16287 if test -n "$PKG_CONFIG"; then
16288 if test -n "$OPENSSL_CFLAGS"; then
16289 pkg_cv_OPENSSL_CFLAGS
="$OPENSSL_CFLAGS"
16291 if test -n "$PKG_CONFIG" && \
16292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\""; } >&5
16293 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5
16295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16296 test $ac_status = 0; }; then
16297 pkg_cv_OPENSSL_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= $OPENSSL_MINIMUM" 2>/dev/null`
16305 if test -n "$PKG_CONFIG"; then
16306 if test -n "$OPENSSL_LIBS"; then
16307 pkg_cv_OPENSSL_LIBS
="$OPENSSL_LIBS"
16309 if test -n "$PKG_CONFIG" && \
16310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= \$OPENSSL_MINIMUM\""; } >&5
16311 ($PKG_CONFIG --exists --print-errors "openssl >= $OPENSSL_MINIMUM") 2>&5
16313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16314 test $ac_status = 0; }; then
16315 pkg_cv_OPENSSL_LIBS
=`$PKG_CONFIG --libs "openssl >= $OPENSSL_MINIMUM" 2>/dev/null`
16326 if test $pkg_failed = yes; then
16328 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16329 _pkg_short_errors_supported
=yes
16331 _pkg_short_errors_supported
=no
16333 if test $_pkg_short_errors_supported = yes; then
16334 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"`
16336 OPENSSL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "openssl >= $OPENSSL_MINIMUM"`
16338 # Put the nasty error message in config.log where it belongs
16339 echo "$OPENSSL_PKG_ERRORS" >&5
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16342 $as_echo "no" >&6; }
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
16345 $as_echo_n "checking for OpenSSL... " >&6; }
16347 for dir
in $with_ssl /usr
/local
/ssl
/usr
/lib
/ssl
/usr
/ssl
/usr
/pkg
/usr
/local /usr
; do
16349 if test -f "$dir/include/openssl/ssl.h"; then
16351 OPENSSL_CFLAGS
="-I$ssldir/include";
16354 if test -f "$dir/include/ssl.h"; then
16356 OPENSSL_CFLAGS
="-I$ssldir/include";
16360 if test x_
$found_ssl != x_yes
; then
16361 as_fn_error $?
"Cannot locate ssl" "$LINENO" 5
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssldir" >&5
16364 $as_echo "$ssldir" >&6; }
16365 OPENSSL_LIBS
="-L$ssldir/lib -lssl -lcrypto";
16368 elif test $pkg_failed = untried
; then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
16371 $as_echo_n "checking for OpenSSL... " >&6; }
16373 for dir
in $with_ssl /usr
/local
/ssl
/usr
/lib
/ssl
/usr
/ssl
/usr
/pkg
/usr
/local /usr
; do
16375 if test -f "$dir/include/openssl/ssl.h"; then
16377 OPENSSL_CFLAGS
="-I$ssldir/include";
16380 if test -f "$dir/include/ssl.h"; then
16382 OPENSSL_CFLAGS
="-I$ssldir/include";
16386 if test x_
$found_ssl != x_yes
; then
16387 as_fn_error $?
"Cannot locate ssl" "$LINENO" 5
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssldir" >&5
16390 $as_echo "$ssldir" >&6; }
16391 OPENSSL_LIBS
="-L$ssldir/lib -lssl -lcrypto";
16395 OPENSSL_CFLAGS
=$pkg_cv_OPENSSL_CFLAGS
16396 OPENSSL_LIBS
=$pkg_cv_OPENSSL_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16398 $as_echo "yes" >&6; }
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCURL" >&5
16404 $as_echo_n "checking for LIBCURL... " >&6; }
16406 if test -n "$PKG_CONFIG"; then
16407 if test -n "$LIBCURL_CFLAGS"; then
16408 pkg_cv_LIBCURL_CFLAGS
="$LIBCURL_CFLAGS"
16410 if test -n "$PKG_CONFIG" && \
16411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$CURL_MINIMUM\""; } >&5
16412 ($PKG_CONFIG --exists --print-errors "libcurl >= $CURL_MINIMUM") 2>&5
16414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16415 test $ac_status = 0; }; then
16416 pkg_cv_LIBCURL_CFLAGS
=`$PKG_CONFIG --cflags "libcurl >= $CURL_MINIMUM" 2>/dev/null`
16424 if test -n "$PKG_CONFIG"; then
16425 if test -n "$LIBCURL_LIBS"; then
16426 pkg_cv_LIBCURL_LIBS
="$LIBCURL_LIBS"
16428 if test -n "$PKG_CONFIG" && \
16429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= \$CURL_MINIMUM\""; } >&5
16430 ($PKG_CONFIG --exists --print-errors "libcurl >= $CURL_MINIMUM") 2>&5
16432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16433 test $ac_status = 0; }; then
16434 pkg_cv_LIBCURL_LIBS
=`$PKG_CONFIG --libs "libcurl >= $CURL_MINIMUM" 2>/dev/null`
16445 if test $pkg_failed = yes; then
16447 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16448 _pkg_short_errors_supported
=yes
16450 _pkg_short_errors_supported
=no
16452 if test $_pkg_short_errors_supported = yes; then
16453 LIBCURL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= $CURL_MINIMUM"`
16455 LIBCURL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= $CURL_MINIMUM"`
16457 # Put the nasty error message in config.log where it belongs
16458 echo "$LIBCURL_PKG_ERRORS" >&5
16460 as_fn_error $?
"Package requirements (libcurl >= $CURL_MINIMUM) were not met:
16462 $LIBCURL_PKG_ERRORS
16464 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16465 installed software in a non-standard prefix.
16467 Alternatively, you may set the environment variables LIBCURL_CFLAGS
16468 and LIBCURL_LIBS to avoid the need to call pkg-config.
16469 See the pkg-config man page for more details.
16471 elif test $pkg_failed = untried
; then
16472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16474 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16475 is in your PATH or set the PKG_CONFIG environment variable to the full
16476 path to pkg-config.
16478 Alternatively, you may set the environment variables LIBCURL_CFLAGS
16479 and LIBCURL_LIBS to avoid the need to call pkg-config.
16480 See the pkg-config man page for more details.
16482 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
16483 See \`config.log' for more details" "$LINENO" 5 ; }
16485 LIBCURL_CFLAGS
=$pkg_cv_LIBCURL_CFLAGS
16486 LIBCURL_LIBS
=$pkg_cv_LIBCURL_LIBS
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16488 $as_echo "yes" >&6; }
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEVENT" >&5
16494 $as_echo_n "checking for LIBEVENT... " >&6; }
16496 if test -n "$PKG_CONFIG"; then
16497 if test -n "$LIBEVENT_CFLAGS"; then
16498 pkg_cv_LIBEVENT_CFLAGS
="$LIBEVENT_CFLAGS"
16500 if test -n "$PKG_CONFIG" && \
16501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= \$LIBEVENT_MINIMUM\""; } >&5
16502 ($PKG_CONFIG --exists --print-errors "libevent >= $LIBEVENT_MINIMUM") 2>&5
16504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16505 test $ac_status = 0; }; then
16506 pkg_cv_LIBEVENT_CFLAGS
=`$PKG_CONFIG --cflags "libevent >= $LIBEVENT_MINIMUM" 2>/dev/null`
16514 if test -n "$PKG_CONFIG"; then
16515 if test -n "$LIBEVENT_LIBS"; then
16516 pkg_cv_LIBEVENT_LIBS
="$LIBEVENT_LIBS"
16518 if test -n "$PKG_CONFIG" && \
16519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libevent >= \$LIBEVENT_MINIMUM\""; } >&5
16520 ($PKG_CONFIG --exists --print-errors "libevent >= $LIBEVENT_MINIMUM") 2>&5
16522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16523 test $ac_status = 0; }; then
16524 pkg_cv_LIBEVENT_LIBS
=`$PKG_CONFIG --libs "libevent >= $LIBEVENT_MINIMUM" 2>/dev/null`
16535 if test $pkg_failed = yes; then
16537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16538 _pkg_short_errors_supported
=yes
16540 _pkg_short_errors_supported
=no
16542 if test $_pkg_short_errors_supported = yes; then
16543 LIBEVENT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libevent >= $LIBEVENT_MINIMUM"`
16545 LIBEVENT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libevent >= $LIBEVENT_MINIMUM"`
16547 # Put the nasty error message in config.log where it belongs
16548 echo "$LIBEVENT_PKG_ERRORS" >&5
16550 as_fn_error $?
"Package requirements (libevent >= $LIBEVENT_MINIMUM) were not met:
16552 $LIBEVENT_PKG_ERRORS
16554 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16555 installed software in a non-standard prefix.
16557 Alternatively, you may set the environment variables LIBEVENT_CFLAGS
16558 and LIBEVENT_LIBS to avoid the need to call pkg-config.
16559 See the pkg-config man page for more details.
16561 elif test $pkg_failed = untried
; then
16562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16564 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
16565 is in your PATH or set the PKG_CONFIG environment variable to the full
16566 path to pkg-config.
16568 Alternatively, you may set the environment variables LIBEVENT_CFLAGS
16569 and LIBEVENT_LIBS to avoid the need to call pkg-config.
16570 See the pkg-config man page for more details.
16572 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
16573 See \`config.log' for more details" "$LINENO" 5 ; }
16575 LIBEVENT_CFLAGS
=$pkg_cv_LIBEVENT_CFLAGS
16576 LIBEVENT_LIBS
=$pkg_cv_LIBEVENT_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16578 $as_echo "yes" >&6; }
16583 # Check whether --with-zlib was given.
16584 if test "${with_zlib+set}" = set; then :
16585 withval
=$with_zlib; for dir
in `echo "$withval" | tr : ' '`; do
16586 if test -d $dir/include
; then
16587 ZLIB_CFLAGS
="$ZLIB_CFLAGS -I$dir/include"
16589 if test -d $dir/lib
; then
16590 ZLIB_LDFLAGS
="$ZLIB_LDFLAGS -L$dir/lib"
16597 # Check whether --with-zlib-includes was given.
16598 if test "${with_zlib_includes+set}" = set; then :
16599 withval
=$with_zlib_includes; for dir
in `echo "$withval" | tr : ' '`; do
16600 if test -d $dir; then
16601 ZLIB_CFLAGS
="$ZLIB_CFLAGS -I$dir"
16607 ac_zlib_saved_CFLAGS
="$CFLAGS"
16608 ac_zlib_saved_LDFLAGS
="$LDFLAGS"
16609 ac_zlib_saved_LIBS
="$LIBS"
16610 CFLAGS
="$CFLAGS $ZLIB_CFLAGS"
16611 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
16614 touch /tmp
/dummy1_zlib.h
16615 for ac_header
in /tmp
/dummy1_zlib.h
16617 ac_fn_c_check_header_compile
"$LINENO" "/tmp/dummy1_zlib.h" "ac_cv_header__tmp_dummy1_zlib_h" "#include \"zlib.h\"
16619 if test "x$ac_cv_header__tmp_dummy1_zlib_h" = x
""yes; then :
16620 cat >>confdefs.h
<<_ACEOF
16621 #define HAVE__TMP_DUMMY1_ZLIB_H 1
16630 rm /tmp
/dummy1_zlib.h
16631 if test $ac_have_zlibh = yes; then
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
16633 $as_echo_n "checking for library containing gzopen... " >&6; }
16634 if test "${ac_cv_search_gzopen+set}" = set; then :
16635 $as_echo_n "(cached) " >&6
16637 ac_func_search_save_LIBS
=$LIBS
16638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16641 /* Override any GCC internal prototype to avoid an error.
16642 Use char because int might match the return type of a GCC
16643 builtin and then its argument prototype would still apply. */
16656 for ac_lib
in '' z
; do
16657 if test -z "$ac_lib"; then
16658 ac_res
="none required"
16661 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16663 if ac_fn_c_try_link
"$LINENO"; then :
16664 ac_cv_search_gzopen
=$ac_res
16666 rm -f core conftest.err conftest.
$ac_objext \
16668 if test "${ac_cv_search_gzopen+set}" = set; then :
16672 if test "${ac_cv_search_gzopen+set}" = set; then :
16675 ac_cv_search_gzopen
=no
16677 rm conftest.
$ac_ext
16678 LIBS
=$ac_func_search_save_LIBS
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
16681 $as_echo "$ac_cv_search_gzopen" >&6; }
16682 ac_res
=$ac_cv_search_gzopen
16683 if test "$ac_res" != no
; then :
16684 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16691 # List of places to try
16692 testdirs
="$HOME/opt/zlib $OBITINSTALL/other"
16693 for dir
in $testdirs; do
16694 if test $ac_have_zlib = no
; then
16695 if test -f $dir/include
/zlib.h
; then
16696 ZLIB_CFLAGS
="-I$dir/include"
16697 CPPFLAGS
="$ac_zlib_saved_CPPFLAGS $ZLIB_CFLAGS"
16698 ZLIB_LDFLAGS
="-L$dir/lib"
16699 LDFLAGS
="$ac_zlib_saved_LDFLAGS $ZLIB_LDFLAGS"
16700 touch /tmp
/dummy3_zlib.h
16701 for ac_header
in /tmp
/dummy3_zlib.h
16703 ac_fn_c_check_header_compile
"$LINENO" "/tmp/dummy3_zlib.h" "ac_cv_header__tmp_dummy3_zlib_h" "#include \"zlib.h\"
16705 if test "x$ac_cv_header__tmp_dummy3_zlib_h" = x
""yes; then :
16706 cat >>confdefs.h
<<_ACEOF
16707 #define HAVE__TMP_DUMMY3_ZLIB_H 1
16716 rm /tmp
/dummy3_zlib.h
16717 if test $ac_have_zlibh = yes; then
16719 ac_cv_search_gzopen
=" "
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzopen" >&5
16721 $as_echo_n "checking for library containing gzopen... " >&6; }
16722 if test "${ac_cv_search_gzopen+set}" = set; then :
16723 $as_echo_n "(cached) " >&6
16725 ac_func_search_save_LIBS
=$LIBS
16726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16744 for ac_lib
in '' z
; do
16745 if test -z "$ac_lib"; then
16746 ac_res
="none required"
16749 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16751 if ac_fn_c_try_link
"$LINENO"; then :
16752 ac_cv_search_gzopen
=$ac_res
16754 rm -f core conftest.err conftest.
$ac_objext \
16756 if test "${ac_cv_search_gzopen+set}" = set; then :
16760 if test "${ac_cv_search_gzopen+set}" = set; then :
16763 ac_cv_search_gzopen
=no
16765 rm conftest.
$ac_ext
16766 LIBS
=$ac_func_search_save_LIBS
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzopen" >&5
16769 $as_echo "$ac_cv_search_gzopen" >&6; }
16770 ac_res
=$ac_cv_search_gzopen
16771 if test "$ac_res" != no
; then :
16772 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16779 if test $ac_have_zlib = yes ; then
16780 if test $ac_have_zlibh = yes ; then
16787 if test $ac_have_zlib = no
; then
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find ZLIB library" >&5
16789 $as_echo "$as_me: WARNING: cannot find ZLIB library" >&2;}
16791 if test $ac_have_zlibh = no
; then
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find ZLIB headers" >&5
16793 $as_echo "$as_me: WARNING: cannot find ZLIB headers" >&2;}
16796 if test $ac_have_zlib = yes; then
16798 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
16802 CFLAGS
="$ac_zlib_saved_CFLAGS"
16803 LDFLAGS
="$ac_zlib_saved_LDFLAGS"
16804 LIBS
="$ac_zlib_saved_LIBS"
16810 # Check whether --enable-largefile was given.
16811 if test "${enable_largefile+set}" = set; then :
16812 enableval
=$enable_largefile;
16815 if test "$enable_largefile" != no
; then
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16818 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16819 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
16820 $as_echo_n "(cached) " >&6
16822 ac_cv_sys_largefile_CC
=no
16823 if test "$GCC" != yes; then
16826 # IRIX 6.2 and later do not support large files by default,
16827 # so use the C compiler's -n32 option if that helps.
16828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #include <sys/types.h>
16831 /* Check that off_t can represent 2**63 - 1 correctly.
16832 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16833 since some C++ compilers masquerading as C compilers
16834 incorrectly reject 9223372036854775807. */
16835 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16836 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16837 && LARGE_OFF_T % 2147483647 == 1)
16847 if ac_fn_c_try_compile
"$LINENO"; then :
16850 rm -f core conftest.err conftest.
$ac_objext
16852 if ac_fn_c_try_compile
"$LINENO"; then :
16853 ac_cv_sys_largefile_CC
=' -n32'; break
16855 rm -f core conftest.err conftest.
$ac_objext
16859 rm -f conftest.
$ac_ext
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16863 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16864 if test "$ac_cv_sys_largefile_CC" != no
; then
16865 CC
=$CC$ac_cv_sys_largefile_CC
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16869 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16870 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
16871 $as_echo_n "(cached) " >&6
16874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16875 /* end confdefs.h. */
16876 #include <sys/types.h>
16877 /* Check that off_t can represent 2**63 - 1 correctly.
16878 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16879 since some C++ compilers masquerading as C compilers
16880 incorrectly reject 9223372036854775807. */
16881 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16882 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16883 && LARGE_OFF_T % 2147483647 == 1)
16893 if ac_fn_c_try_compile
"$LINENO"; then :
16894 ac_cv_sys_file_offset_bits
=no
; break
16896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16899 #define _FILE_OFFSET_BITS 64
16900 #include <sys/types.h>
16901 /* Check that off_t can represent 2**63 - 1 correctly.
16902 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16903 since some C++ compilers masquerading as C compilers
16904 incorrectly reject 9223372036854775807. */
16905 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16906 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16907 && LARGE_OFF_T % 2147483647 == 1)
16917 if ac_fn_c_try_compile
"$LINENO"; then :
16918 ac_cv_sys_file_offset_bits
=64; break
16920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 ac_cv_sys_file_offset_bits
=unknown
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16926 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16927 case $ac_cv_sys_file_offset_bits in #(
16930 cat >>confdefs.h
<<_ACEOF
16931 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16936 if test $ac_cv_sys_file_offset_bits = unknown
; then
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16938 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16939 if test "${ac_cv_sys_large_files+set}" = set; then :
16940 $as_echo_n "(cached) " >&6
16943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <sys/types.h>
16946 /* Check that off_t can represent 2**63 - 1 correctly.
16947 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16948 since some C++ compilers masquerading as C compilers
16949 incorrectly reject 9223372036854775807. */
16950 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16951 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16952 && LARGE_OFF_T % 2147483647 == 1)
16962 if ac_fn_c_try_compile
"$LINENO"; then :
16963 ac_cv_sys_large_files
=no
; break
16965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16967 /* end confdefs.h. */
16968 #define _LARGE_FILES 1
16969 #include <sys/types.h>
16970 /* Check that off_t can represent 2**63 - 1 correctly.
16971 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16972 since some C++ compilers masquerading as C compilers
16973 incorrectly reject 9223372036854775807. */
16974 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16975 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16976 && LARGE_OFF_T % 2147483647 == 1)
16986 if ac_fn_c_try_compile
"$LINENO"; then :
16987 ac_cv_sys_large_files
=1; break
16989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16990 ac_cv_sys_large_files
=unknown
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16995 $as_echo "$ac_cv_sys_large_files" >&6; }
16996 case $ac_cv_sys_large_files in #(
16999 cat >>confdefs.h
<<_ACEOF
17000 #define _LARGE_FILES $ac_cv_sys_large_files
17008 for ac_func
in lseek64
17010 ac_fn_c_check_func
"$LINENO" "lseek64" "ac_cv_func_lseek64"
17011 if test "x$ac_cv_func_lseek64" = x
""yes; then :
17012 cat >>confdefs.h
<<_ACEOF
17013 #define HAVE_LSEEK64 1
17022 ac_fn_c_check_decl
"$LINENO" "posix_fadvise" "ac_cv_have_decl_posix_fadvise" "
17023 #define _XOPEN_SOURCE 600
17026 if test "x$ac_cv_have_decl_posix_fadvise" = x
""yes; then :
17032 cat >>confdefs.h
<<_ACEOF
17033 #define HAVE_DECL_POSIX_FADVISE $ac_have_decl
17036 for ac_func
in posix_fadvise
17038 ac_fn_c_check_func
"$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
17039 if test "x$ac_cv_func_posix_fadvise" = x
""yes; then :
17040 cat >>confdefs.h
<<_ACEOF
17041 #define HAVE_POSIX_FADVISE 1
17050 ac_fn_c_check_header_mongrel
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
17051 if test "x$ac_cv_header_sys_inotify_h" = x
""yes; then :
17052 ac_fn_c_check_func
"$LINENO" "inotify_init" "ac_cv_func_inotify_init"
17053 if test "x$ac_cv_func_inotify_init" = x
""yes; then :
17065 # Check whether --with-inotify was given.
17066 if test "${with_inotify+set}" = set; then :
17067 withval
=$with_inotify; want_inotify
=${withval}
17069 want_inotify
=${have_inotify}
17072 if test "x$want_inotify" = "xyes" ; then
17073 if test "x$have_inotify" = "xyes"; then
17074 $as_echo "#define WITH_INOTIFY 1" >>confdefs.h
17077 as_fn_error $?
"\"inotify not found!\"" "$LINENO" 5
17081 ac_fn_c_check_header_mongrel
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
17082 if test "x$ac_cv_header_sys_event_h" = x
""yes; then :
17083 ac_fn_c_check_func
"$LINENO" "kqueue" "ac_cv_func_kqueue"
17084 if test "x$ac_cv_func_kqueue" = x
""yes; then :
17096 # Check whether --with-kqueue was given.
17097 if test "${with_kqueue+set}" = set; then :
17098 withval
=$with_kqueue; want_kqueue
=${withval}
17100 want_kqueue
=${have_kqueue}
17103 if test "x$want_kqueue" = "xyes" ; then
17104 if test "x$have_kqueue" = "xyes"; then
17105 $as_echo "#define WITH_KQUEUE 1" >>confdefs.h
17108 as_fn_error $?
"\"kqueue not found!\"" "$LINENO" 5
17112 for ac_header
in sys
/statvfs.h \
17115 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17116 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17117 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17118 cat >>confdefs.h
<<_ACEOF
17119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy va_list" >&5
17130 $as_echo_n "checking how to copy va_list... " >&6; }
17131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 #include <stdarg.h>
17137 va_list ap1, ap2; va_copy(ap1, ap2);
17142 if ac_fn_c_try_link
"$LINENO"; then :
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: va_copy" >&5
17144 $as_echo "va_copy" >&6; }
17147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 #include <stdarg.h>
17153 va_list ap1, ap2; __va_copy(ap1, ap2);
17158 if ac_fn_c_try_link
"$LINENO"; then :
17159 $as_echo "#define va_copy __va_copy" >>confdefs.h
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: __va_copy" >&5
17162 $as_echo "__va_copy" >&6; }
17164 $as_echo "#define va_copy(dest,src) memcpy(&dest,&src,sizeof(va_list))" >>confdefs.h
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: memcpy" >&5
17167 $as_echo "memcpy" >&6; }
17170 rm -f core conftest.err conftest.
$ac_objext \
17171 conftest
$ac_exeext conftest.
$ac_ext
17174 rm -f core conftest.err conftest.
$ac_objext \
17175 conftest
$ac_exeext conftest.
$ac_ext
17179 DHT_CFLAGS
="-I\$(top_srcdir)/third-party/dht"
17180 DHT_LIBS
="\$(top_builddir)/third-party/dht/libdht.a"
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
17187 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
17188 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
17189 $as_echo_n "(cached) " >&6
17191 ac_check_lib_save_LIBS
=$LIBS
17193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17196 /* Override any GCC internal prototype to avoid an error.
17197 Use char because int might match the return type of a GCC
17198 builtin and then its argument prototype would still apply. */
17202 char clock_gettime ();
17206 return clock_gettime ();
17211 if ac_fn_c_try_link
"$LINENO"; then :
17212 ac_cv_lib_rt_clock_gettime
=yes
17214 ac_cv_lib_rt_clock_gettime
=no
17216 rm -f core conftest.err conftest.
$ac_objext \
17217 conftest
$ac_exeext conftest.
$ac_ext
17218 LIBS
=$ac_check_lib_save_LIBS
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
17221 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
17222 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
17223 libutp_extra_libs
="-lrt"
17225 libutp_extra_libs
=""
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking µTP" >&5
17230 $as_echo_n "checking µTP... " >&6; }
17232 if test "x$CXX" = "x" ; then
17237 # Check whether --enable-utp was given.
17238 if test "${enable_utp+set}" = set; then :
17239 enableval
=$enable_utp; want_utp
=${enableval}
17241 want_utp
=${have_utp}
17244 if test "x$want_utp" = "xyes" ; then
17245 if test "x$have_utp" = "xyes"; then
17246 LIBUTP_CFLAGS
="-I\$(top_srcdir)/third-party/"
17247 LIBUTP_LIBS
="\$(top_builddir)/third-party/libutp/libutp.a"
17248 if test "x$libutp_extra_libs" != "x" ; then
17249 LIBUTP_LIBS
="$LIBUTP_LIBS $libutp_extra_libs"
17251 $as_echo "#define WITH_UTP 1" >>confdefs.h
17255 as_fn_error $?
"\"Unable to build uTP support -- C++ compiler not found\"" "$LINENO" 5
17260 if test "x$build_utp" = "xyes"; then
17262 BUILD_UTP_FALSE
='#'
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_utp" >&5
17269 $as_echo "$build_utp" >&6; }
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
17276 $as_echo_n "checking for GTK... " >&6; }
17278 if test -n "$PKG_CONFIG"; then
17279 if test -n "$GTK_CFLAGS"; then
17280 pkg_cv_GTK_CFLAGS
="$GTK_CFLAGS"
17282 if test -n "$PKG_CONFIG" && \
17283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_MINIMUM
17284 glib-2.0 >= \$GLIB_MINIMUM
17285 gmodule-2.0 >= \$GLIB_MINIMUM
17286 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
17287 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_MINIMUM
17288 glib-2.0 >= $GLIB_MINIMUM
17289 gmodule-2.0 >= $GLIB_MINIMUM
17290 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
17292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17293 test $ac_status = 0; }; then
17294 pkg_cv_GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_MINIMUM
17295 glib-2.0 >= $GLIB_MINIMUM
17296 gmodule-2.0 >= $GLIB_MINIMUM
17297 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
17305 if test -n "$PKG_CONFIG"; then
17306 if test -n "$GTK_LIBS"; then
17307 pkg_cv_GTK_LIBS
="$GTK_LIBS"
17309 if test -n "$PKG_CONFIG" && \
17310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_MINIMUM
17311 glib-2.0 >= \$GLIB_MINIMUM
17312 gmodule-2.0 >= \$GLIB_MINIMUM
17313 gthread-2.0 >= \$GLIB_MINIMUM\""; } >&5
17314 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_MINIMUM
17315 glib-2.0 >= $GLIB_MINIMUM
17316 gmodule-2.0 >= $GLIB_MINIMUM
17317 gthread-2.0 >= $GLIB_MINIMUM") 2>&5
17319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17320 test $ac_status = 0; }; then
17321 pkg_cv_GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_MINIMUM
17322 glib-2.0 >= $GLIB_MINIMUM
17323 gmodule-2.0 >= $GLIB_MINIMUM
17324 gthread-2.0 >= $GLIB_MINIMUM" 2>/dev/null`
17335 if test $pkg_failed = yes; then
17337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17338 _pkg_short_errors_supported
=yes
17340 _pkg_short_errors_supported
=no
17342 if test $_pkg_short_errors_supported = yes; then
17343 GTK_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_MINIMUM
17344 glib-2.0 >= $GLIB_MINIMUM
17345 gmodule-2.0 >= $GLIB_MINIMUM
17346 gthread-2.0 >= $GLIB_MINIMUM"`
17348 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_MINIMUM
17349 glib-2.0 >= $GLIB_MINIMUM
17350 gmodule-2.0 >= $GLIB_MINIMUM
17351 gthread-2.0 >= $GLIB_MINIMUM"`
17353 # Put the nasty error message in config.log where it belongs
17354 echo "$GTK_PKG_ERRORS" >&5
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17357 $as_echo "no" >&6; }
17359 elif test $pkg_failed = untried
; then
17362 GTK_CFLAGS
=$pkg_cv_GTK_CFLAGS
17363 GTK_LIBS
=$pkg_cv_GTK_LIBS
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17365 $as_echo "yes" >&6; }
17368 # Check whether --enable-gtk was given.
17369 if test "${enable_gtk+set}" = set; then :
17370 enableval
=$enable_gtk; want_gtk
=${enableval}
17372 want_gtk
=${have_gtk}
17377 use_libappindicator
=no
17381 if test "x$want_gtk" = "xyes" ; then
17382 if test "x$have_gtk" = "xyes"; then
17385 as_fn_error $?
"\"GTK+ not found!\"" "$LINENO" 5
17388 if test "x$build_gtk" = "xyes"; then
17390 BUILD_GTK_FALSE
='#'
17397 if test "x$build_gtk" = "xyes"; then
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
17402 $as_echo_n "checking for GIO... " >&6; }
17404 if test -n "$PKG_CONFIG"; then
17405 if test -n "$GIO_CFLAGS"; then
17406 pkg_cv_GIO_CFLAGS
="$GIO_CFLAGS"
17408 if test -n "$PKG_CONFIG" && \
17409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_MINIMUM\""; } >&5
17410 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_MINIMUM") 2>&5
17412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17413 test $ac_status = 0; }; then
17414 pkg_cv_GIO_CFLAGS
=`$PKG_CONFIG --cflags "gio-2.0 >= $GIO_MINIMUM" 2>/dev/null`
17422 if test -n "$PKG_CONFIG"; then
17423 if test -n "$GIO_LIBS"; then
17424 pkg_cv_GIO_LIBS
="$GIO_LIBS"
17426 if test -n "$PKG_CONFIG" && \
17427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_MINIMUM\""; } >&5
17428 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_MINIMUM") 2>&5
17430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17431 test $ac_status = 0; }; then
17432 pkg_cv_GIO_LIBS
=`$PKG_CONFIG --libs "gio-2.0 >= $GIO_MINIMUM" 2>/dev/null`
17443 if test $pkg_failed = yes; then
17445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17446 _pkg_short_errors_supported
=yes
17448 _pkg_short_errors_supported
=no
17450 if test $_pkg_short_errors_supported = yes; then
17451 GIO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= $GIO_MINIMUM"`
17453 GIO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= $GIO_MINIMUM"`
17455 # Put the nasty error message in config.log where it belongs
17456 echo "$GIO_PKG_ERRORS" >&5
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17459 $as_echo "no" >&6; }
17461 elif test $pkg_failed = untried
; then
17464 GIO_CFLAGS
=$pkg_cv_GIO_CFLAGS
17465 GIO_LIBS
=$pkg_cv_GIO_LIBS
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17467 $as_echo "yes" >&6; }
17470 if test "x$use_gio" = "xyes"; then
17471 $as_echo "#define HAVE_GIO 1" >>confdefs.h
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
17478 $as_echo_n "checking for LIBNOTIFY... " >&6; }
17480 if test -n "$PKG_CONFIG"; then
17481 if test -n "$LIBNOTIFY_CFLAGS"; then
17482 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
17484 if test -n "$PKG_CONFIG" && \
17485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_MINIMUM\""; } >&5
17486 ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_MINIMUM") 2>&5
17488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17489 test $ac_status = 0; }; then
17490 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_MINIMUM" 2>/dev/null`
17498 if test -n "$PKG_CONFIG"; then
17499 if test -n "$LIBNOTIFY_LIBS"; then
17500 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
17502 if test -n "$PKG_CONFIG" && \
17503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_MINIMUM\""; } >&5
17504 ($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_MINIMUM") 2>&5
17506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17507 test $ac_status = 0; }; then
17508 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_MINIMUM" 2>/dev/null`
17519 if test $pkg_failed = yes; then
17521 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17522 _pkg_short_errors_supported
=yes
17524 _pkg_short_errors_supported
=no
17526 if test $_pkg_short_errors_supported = yes; then
17527 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_MINIMUM"`
17529 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_MINIMUM"`
17531 # Put the nasty error message in config.log where it belongs
17532 echo "$LIBNOTIFY_PKG_ERRORS" >&5
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17535 $as_echo "no" >&6; }
17537 elif test $pkg_failed = untried
; then
17540 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
17541 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17543 $as_echo "yes" >&6; }
17546 # Check whether --enable-libnotify was given.
17547 if test "${enable_libnotify+set}" = set; then :
17548 enableval
=$enable_libnotify;
17550 enable_libnotify
=yes
17554 if test "x$have_libnotify" = "xyes"; then
17555 if test "x$enable_libnotify" = "xyes" ; then
17557 $as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBAPPINDICATOR" >&5
17568 $as_echo_n "checking for LIBAPPINDICATOR... " >&6; }
17570 if test -n "$PKG_CONFIG"; then
17571 if test -n "$LIBAPPINDICATOR_CFLAGS"; then
17572 pkg_cv_LIBAPPINDICATOR_CFLAGS
="$LIBAPPINDICATOR_CFLAGS"
17574 if test -n "$PKG_CONFIG" && \
17575 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
17576 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
17578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17579 test $ac_status = 0; }; then
17580 pkg_cv_LIBAPPINDICATOR_CFLAGS
=`$PKG_CONFIG --cflags "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
17588 if test -n "$PKG_CONFIG"; then
17589 if test -n "$LIBAPPINDICATOR_LIBS"; then
17590 pkg_cv_LIBAPPINDICATOR_LIBS
="$LIBAPPINDICATOR_LIBS"
17592 if test -n "$PKG_CONFIG" && \
17593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$LIBAPPINDICATOR_MINIMUM\""; } >&5
17594 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM") 2>&5
17596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17597 test $ac_status = 0; }; then
17598 pkg_cv_LIBAPPINDICATOR_LIBS
=`$PKG_CONFIG --libs "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM" 2>/dev/null`
17609 if test $pkg_failed = yes; then
17611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17612 _pkg_short_errors_supported
=yes
17614 _pkg_short_errors_supported
=no
17616 if test $_pkg_short_errors_supported = yes; then
17617 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
17619 LIBAPPINDICATOR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "appindicator-0.1 >= $LIBAPPINDICATOR_MINIMUM"`
17621 # Put the nasty error message in config.log where it belongs
17622 echo "$LIBAPPINDICATOR_PKG_ERRORS" >&5
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17625 $as_echo "no" >&6; }
17626 have_libappindicator
=no
17627 elif test $pkg_failed = untried
; then
17628 have_libappindicator
=no
17630 LIBAPPINDICATOR_CFLAGS
=$pkg_cv_LIBAPPINDICATOR_CFLAGS
17631 LIBAPPINDICATOR_LIBS
=$pkg_cv_LIBAPPINDICATOR_LIBS
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17633 $as_echo "yes" >&6; }
17634 have_libappindicator
=yes
17637 # Check whether --enable-libappindicator was given.
17638 if test "${enable_libappindicator+set}" = set; then :
17639 enableval
=$enable_libappindicator;
17641 enable_libappindicator
=yes
17644 use_libappindicator
=no
17645 if test "x$have_libappindicator" = "xyes"; then
17646 if test "x$enable_libappindicator" = "xyes" ; then
17647 use_libappindicator
=yes
17648 $as_echo "#define HAVE_LIBAPPINDICATOR 1" >>confdefs.h
17651 LIBAPPINDICATOR_CFLAGS
=
17652 LIBAPPINDICATOR_LIBS
=
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCANBERRA" >&5
17659 $as_echo_n "checking for LIBCANBERRA... " >&6; }
17661 if test -n "$PKG_CONFIG"; then
17662 if test -n "$LIBCANBERRA_CFLAGS"; then
17663 pkg_cv_LIBCANBERRA_CFLAGS
="$LIBCANBERRA_CFLAGS"
17665 if test -n "$PKG_CONFIG" && \
17666 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$CANBERRA_MINIMUM\""; } >&5
17667 ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM") 2>&5
17669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17670 test $ac_status = 0; }; then
17671 pkg_cv_LIBCANBERRA_CFLAGS
=`$PKG_CONFIG --cflags "libcanberra-gtk >= $CANBERRA_MINIMUM" 2>/dev/null`
17679 if test -n "$PKG_CONFIG"; then
17680 if test -n "$LIBCANBERRA_LIBS"; then
17681 pkg_cv_LIBCANBERRA_LIBS
="$LIBCANBERRA_LIBS"
17683 if test -n "$PKG_CONFIG" && \
17684 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$CANBERRA_MINIMUM\""; } >&5
17685 ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM") 2>&5
17687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17688 test $ac_status = 0; }; then
17689 pkg_cv_LIBCANBERRA_LIBS
=`$PKG_CONFIG --libs "libcanberra-gtk >= $CANBERRA_MINIMUM" 2>/dev/null`
17700 if test $pkg_failed = yes; then
17702 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17703 _pkg_short_errors_supported
=yes
17705 _pkg_short_errors_supported
=no
17707 if test $_pkg_short_errors_supported = yes; then
17708 LIBCANBERRA_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM"`
17710 LIBCANBERRA_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM"`
17712 # Put the nasty error message in config.log where it belongs
17713 echo "$LIBCANBERRA_PKG_ERRORS" >&5
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17716 $as_echo "no" >&6; }
17717 have_libcanberra
=no
17718 elif test $pkg_failed = untried
; then
17719 have_libcanberra
=no
17721 LIBCANBERRA_CFLAGS
=$pkg_cv_LIBCANBERRA_CFLAGS
17722 LIBCANBERRA_LIBS
=$pkg_cv_LIBCANBERRA_LIBS
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17724 $as_echo "yes" >&6; }
17725 have_libcanberra
=yes
17727 # Check whether --enable-libcanberra was given.
17728 if test "${enable_libcanberra+set}" = set; then :
17729 enableval
=$enable_libcanberra;
17731 enable_libcanberra
=yes
17734 if test "x$have_libcanberra" = "xyes"; then
17735 if test "x$enable_libcanberra" = "xyes" ; then
17737 $as_echo "#define HAVE_LIBCANBERRA 1" >>confdefs.h
17740 LIBCANBERRA_CFLAGS
=
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
17748 $as_echo_n "checking for DBUS_GLIB... " >&6; }
17750 if test -n "$PKG_CONFIG"; then
17751 if test -n "$DBUS_GLIB_CFLAGS"; then
17752 pkg_cv_DBUS_GLIB_CFLAGS
="$DBUS_GLIB_CFLAGS"
17754 if test -n "$PKG_CONFIG" && \
17755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_MINIMUM\""; } >&5
17756 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_MINIMUM") 2>&5
17758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17759 test $ac_status = 0; }; then
17760 pkg_cv_DBUS_GLIB_CFLAGS
=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_GLIB_MINIMUM" 2>/dev/null`
17768 if test -n "$PKG_CONFIG"; then
17769 if test -n "$DBUS_GLIB_LIBS"; then
17770 pkg_cv_DBUS_GLIB_LIBS
="$DBUS_GLIB_LIBS"
17772 if test -n "$PKG_CONFIG" && \
17773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_GLIB_MINIMUM\""; } >&5
17774 ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_GLIB_MINIMUM") 2>&5
17776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17777 test $ac_status = 0; }; then
17778 pkg_cv_DBUS_GLIB_LIBS
=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_GLIB_MINIMUM" 2>/dev/null`
17789 if test $pkg_failed = yes; then
17791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17792 _pkg_short_errors_supported
=yes
17794 _pkg_short_errors_supported
=no
17796 if test $_pkg_short_errors_supported = yes; then
17797 DBUS_GLIB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_MINIMUM"`
17799 DBUS_GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_GLIB_MINIMUM"`
17801 # Put the nasty error message in config.log where it belongs
17802 echo "$DBUS_GLIB_PKG_ERRORS" >&5
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17805 $as_echo "no" >&6; }
17807 elif test $pkg_failed = untried
; then
17810 DBUS_GLIB_CFLAGS
=$pkg_cv_DBUS_GLIB_CFLAGS
17811 DBUS_GLIB_LIBS
=$pkg_cv_DBUS_GLIB_LIBS
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17813 $as_echo "yes" >&6; }
17816 if test "x$use_dbus_glib" = "xyes"; then
17817 $as_echo "#define HAVE_DBUS_GLIB 1" >>confdefs.h
17820 if test "x$use_dbus_glib" = "xyes"; then
17821 # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
17822 set dummy dbus-binding-tool
; ac_word
=$2
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17824 $as_echo_n "checking for $ac_word... " >&6; }
17825 if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
17826 $as_echo_n "(cached) " >&6
17828 case $DBUS_BINDING_TOOL in
17830 ac_cv_path_DBUS_BINDING_TOOL
="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
17833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17834 for as_dir
in $PATH
17837 test -z "$as_dir" && as_dir
=.
17838 for ac_exec_ext
in '' $ac_executable_extensions; do
17839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17840 ac_cv_path_DBUS_BINDING_TOOL
="$as_dir/$ac_word$ac_exec_ext"
17841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17848 test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL
="no"
17852 DBUS_BINDING_TOOL
=$ac_cv_path_DBUS_BINDING_TOOL
17853 if test -n "$DBUS_BINDING_TOOL"; then
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
17855 $as_echo "$DBUS_BINDING_TOOL" >&6; }
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17858 $as_echo "no" >&6; }
17862 if test "x$DBUS_BINDING_TOOL" = xno
; then
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find dbus-binding-tool" >&5
17864 $as_echo "$as_me: WARNING: Cannot find dbus-binding-tool" >&2;}
17865 use_dbus_glib
="no (dbus-binding-tool not found)"
17870 # Check whether --enable-nls was given.
17871 if test "${enable_nls+set}" = set; then :
17872 enableval
=$enable_nls;
17878 if test "x$build_gtk" = "xyes" -a "x$enable_nls" = "xno" ; then
17879 as_fn_error $?
"\"The gtk client cannot be built without nls support. Try adding either --enable-nls or --disable-gtk\" " "$LINENO" 5
17884 if test "x$enable_nls" = "xyes" ; then
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17888 $as_echo_n "checking whether NLS is requested... " >&6; }
17889 # Check whether --enable-nls was given.
17890 if test "${enable_nls+set}" = set; then :
17891 enableval
=$enable_nls; USE_NLS
=$enableval
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17897 $as_echo "$USE_NLS" >&6; }
17902 case "$am__api_version" in
17904 as_fn_error $?
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17910 if test -n "0.35.0"; then
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
17912 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
17914 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17915 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
17916 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
17919 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
17920 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
17921 as_fn_error $?
"Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
17924 # Extract the first word of "intltool-update", so it can be a program name with args.
17925 set dummy intltool-update
; ac_word
=$2
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17927 $as_echo_n "checking for $ac_word... " >&6; }
17928 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
17929 $as_echo_n "(cached) " >&6
17931 case $INTLTOOL_UPDATE in
17933 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17937 for as_dir
in $PATH
17940 test -z "$as_dir" && as_dir
=.
17941 for ac_exec_ext
in '' $ac_executable_extensions; do
17942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17943 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
17944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17954 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
17955 if test -n "$INTLTOOL_UPDATE"; then
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17957 $as_echo "$INTLTOOL_UPDATE" >&6; }
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17960 $as_echo "no" >&6; }
17964 # Extract the first word of "intltool-merge", so it can be a program name with args.
17965 set dummy intltool-merge
; ac_word
=$2
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17967 $as_echo_n "checking for $ac_word... " >&6; }
17968 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
17969 $as_echo_n "(cached) " >&6
17971 case $INTLTOOL_MERGE in
17973 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
17976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17977 for as_dir
in $PATH
17980 test -z "$as_dir" && as_dir
=.
17981 for ac_exec_ext
in '' $ac_executable_extensions; do
17982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17983 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
17984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17994 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
17995 if test -n "$INTLTOOL_MERGE"; then
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
17997 $as_echo "$INTLTOOL_MERGE" >&6; }
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18000 $as_echo "no" >&6; }
18004 # Extract the first word of "intltool-extract", so it can be a program name with args.
18005 set dummy intltool-extract
; ac_word
=$2
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18007 $as_echo_n "checking for $ac_word... " >&6; }
18008 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
18009 $as_echo_n "(cached) " >&6
18011 case $INTLTOOL_EXTRACT in
18013 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
18016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18017 for as_dir
in $PATH
18020 test -z "$as_dir" && as_dir
=.
18021 for ac_exec_ext
in '' $ac_executable_extensions; do
18022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18023 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
18024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18034 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
18035 if test -n "$INTLTOOL_EXTRACT"; then
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
18037 $as_echo "$INTLTOOL_EXTRACT" >&6; }
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18040 $as_echo "no" >&6; }
18044 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
18045 as_fn_error $?
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
18048 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18049 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18050 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18051 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18052 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
18053 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18054 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18055 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18056 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18057 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18058 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18059 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
18060 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18061 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18062 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18063 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18064 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18065 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18066 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18164 # Check the gettext tools to make sure they are GNU
18165 # Extract the first word of "xgettext", so it can be a program name with args.
18166 set dummy xgettext
; ac_word
=$2
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18168 $as_echo_n "checking for $ac_word... " >&6; }
18169 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18174 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
18177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18178 for as_dir
in $PATH
18181 test -z "$as_dir" && as_dir
=.
18182 for ac_exec_ext
in '' $ac_executable_extensions; do
18183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18184 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
18185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18195 XGETTEXT
=$ac_cv_path_XGETTEXT
18196 if test -n "$XGETTEXT"; then
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18198 $as_echo "$XGETTEXT" >&6; }
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18201 $as_echo "no" >&6; }
18205 # Extract the first word of "msgmerge", so it can be a program name with args.
18206 set dummy msgmerge
; ac_word
=$2
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18208 $as_echo_n "checking for $ac_word... " >&6; }
18209 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
18210 $as_echo_n "(cached) " >&6
18214 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
18217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18218 for as_dir
in $PATH
18221 test -z "$as_dir" && as_dir
=.
18222 for ac_exec_ext
in '' $ac_executable_extensions; do
18223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18224 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
18225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18235 MSGMERGE
=$ac_cv_path_MSGMERGE
18236 if test -n "$MSGMERGE"; then
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18238 $as_echo "$MSGMERGE" >&6; }
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18241 $as_echo "no" >&6; }
18245 # Extract the first word of "msgfmt", so it can be a program name with args.
18246 set dummy msgfmt
; ac_word
=$2
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18248 $as_echo_n "checking for $ac_word... " >&6; }
18249 if test "${ac_cv_path_MSGFMT+set}" = set; then :
18250 $as_echo_n "(cached) " >&6
18254 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
18257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18258 for as_dir
in $PATH
18261 test -z "$as_dir" && as_dir
=.
18262 for ac_exec_ext
in '' $ac_executable_extensions; do
18263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18264 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
18265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18275 MSGFMT
=$ac_cv_path_MSGFMT
18276 if test -n "$MSGFMT"; then
18277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18278 $as_echo "$MSGFMT" >&6; }
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18281 $as_echo "no" >&6; }
18285 # Extract the first word of "gmsgfmt", so it can be a program name with args.
18286 set dummy gmsgfmt
; ac_word
=$2
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18288 $as_echo_n "checking for $ac_word... " >&6; }
18289 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
18290 $as_echo_n "(cached) " >&6
18294 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
18297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18298 for as_dir
in $PATH
18301 test -z "$as_dir" && as_dir
=.
18302 for ac_exec_ext
in '' $ac_executable_extensions; do
18303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18304 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
18305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18312 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
18316 GMSGFMT
=$ac_cv_path_GMSGFMT
18317 if test -n "$GMSGFMT"; then
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18319 $as_echo "$GMSGFMT" >&6; }
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18322 $as_echo "no" >&6; }
18326 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
18327 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
18329 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
18330 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
18331 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
18332 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
18333 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
18336 # Extract the first word of "perl", so it can be a program name with args.
18337 set dummy perl
; ac_word
=$2
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18339 $as_echo_n "checking for $ac_word... " >&6; }
18340 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
18341 $as_echo_n "(cached) " >&6
18343 case $INTLTOOL_PERL in
18345 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
18348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18349 for as_dir
in $PATH
18352 test -z "$as_dir" && as_dir
=.
18353 for ac_exec_ext
in '' $ac_executable_extensions; do
18354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18355 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
18356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18366 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
18367 if test -n "$INTLTOOL_PERL"; then
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
18369 $as_echo "$INTLTOOL_PERL" >&6; }
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18372 $as_echo "no" >&6; }
18376 if test -z "$INTLTOOL_PERL"; then
18377 as_fn_error $?
"perl not found" "$LINENO" 5
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
18380 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
18381 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
18382 if test $?
-ne 0; then
18383 as_fn_error $?
"perl 5.8.1 is required for intltool" "$LINENO" 5
18385 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
18387 $as_echo "$IT_PERL_VERSION" >&6; }
18389 if test "xno-xml" != "xno-xml"; then
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
18391 $as_echo_n "checking for XML::Parser... " >&6; }
18392 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18394 $as_echo "ok" >&6; }
18396 as_fn_error $?
"XML::Parser perl module is required for intltool" "$LINENO" 5
18400 # Substitute ALL_LINGUAS so we can use it in po/Makefile
18403 # Set DATADIRNAME correctly if it is not set yet
18404 # (copied from glib-gettext.m4)
18405 if test -z "$DATADIRNAME"; then
18406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18412 extern int _nl_msg_cat_cntr;
18413 return _nl_msg_cat_cntr
18418 if ac_fn_c_try_link
"$LINENO"; then :
18423 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18424 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
18436 rm -f core conftest.err conftest.
$ac_objext \
18437 conftest
$ac_exeext conftest.
$ac_ext
18444 for ac_header
in libintl.h
18446 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
18447 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
18448 cat >>confdefs.h
<<_ACEOF
18449 #define HAVE_LIBINTL_H 1
18456 GETTEXT_PACKAGE
=transmission-gtk
18459 cat >>confdefs.h
<<_ACEOF
18460 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18464 for ac_header
in locale.h
18466 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
18467 if test "x$ac_cv_header_locale_h" = x
""yes; then :
18468 cat >>confdefs.h
<<_ACEOF
18469 #define HAVE_LOCALE_H 1
18476 if test $ac_cv_header_locale_h = yes; then
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
18478 $as_echo_n "checking for LC_MESSAGES... " >&6; }
18479 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
18480 $as_echo_n "(cached) " >&6
18482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18483 /* end confdefs.h. */
18484 #include <locale.h>
18493 if ac_fn_c_try_link
"$LINENO"; then :
18494 am_cv_val_LC_MESSAGES
=yes
18496 am_cv_val_LC_MESSAGES
=no
18498 rm -f core conftest.err conftest.
$ac_objext \
18499 conftest
$ac_exeext conftest.
$ac_ext
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
18502 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
18503 if test $am_cv_val_LC_MESSAGES = yes; then
18505 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
18512 gt_cv_have_gettext
=no
18518 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
18519 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
18520 gt_cv_func_dgettext_libintl
="no"
18521 libintl_extra_libs
=""
18524 # First check in libc
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
18527 $as_echo_n "checking for ngettext in libc... " >&6; }
18528 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
18529 $as_echo_n "(cached) " >&6
18531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18532 /* end confdefs.h. */
18534 #include <libintl.h>
18539 return !ngettext ("","", 1)
18544 if ac_fn_c_try_link
"$LINENO"; then :
18545 gt_cv_func_ngettext_libc
=yes
18547 gt_cv_func_ngettext_libc
=no
18549 rm -f core conftest.err conftest.
$ac_objext \
18550 conftest
$ac_exeext conftest.
$ac_ext
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
18554 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
18556 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
18558 $as_echo_n "checking for dgettext in libc... " >&6; }
18559 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
18560 $as_echo_n "(cached) " >&6
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 #include <libintl.h>
18570 return !dgettext ("","")
18575 if ac_fn_c_try_link
"$LINENO"; then :
18576 gt_cv_func_dgettext_libc
=yes
18578 gt_cv_func_dgettext_libc
=no
18580 rm -f core conftest.err conftest.
$ac_objext \
18581 conftest
$ac_exeext conftest.
$ac_ext
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
18585 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
18588 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
18589 for ac_func
in bind_textdomain_codeset
18591 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18592 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
18593 cat >>confdefs.h
<<_ACEOF
18594 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
18603 # If we don't have everything we want, check in libintl
18605 if test "$gt_cv_func_dgettext_libc" != "yes" \
18606 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
18607 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
18610 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
18611 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
18612 $as_echo_n "(cached) " >&6
18614 ac_check_lib_save_LIBS
=$LIBS
18615 LIBS
="-lintl $LIBS"
18616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 /* Override any GCC internal prototype to avoid an error.
18620 Use char because int might match the return type of a GCC
18621 builtin and then its argument prototype would still apply. */
18625 char bindtextdomain ();
18629 return bindtextdomain ();
18634 if ac_fn_c_try_link
"$LINENO"; then :
18635 ac_cv_lib_intl_bindtextdomain
=yes
18637 ac_cv_lib_intl_bindtextdomain
=no
18639 rm -f core conftest.err conftest.
$ac_objext \
18640 conftest
$ac_exeext conftest.
$ac_ext
18641 LIBS
=$ac_check_lib_save_LIBS
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
18644 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
18645 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then :
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18647 $as_echo_n "checking for ngettext in -lintl... " >&6; }
18648 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
18649 $as_echo_n "(cached) " >&6
18651 ac_check_lib_save_LIBS
=$LIBS
18652 LIBS
="-lintl $LIBS"
18653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18656 /* Override any GCC internal prototype to avoid an error.
18657 Use char because int might match the return type of a GCC
18658 builtin and then its argument prototype would still apply. */
18666 return ngettext ();
18671 if ac_fn_c_try_link
"$LINENO"; then :
18672 ac_cv_lib_intl_ngettext
=yes
18674 ac_cv_lib_intl_ngettext
=no
18676 rm -f core conftest.err conftest.
$ac_objext \
18677 conftest
$ac_exeext conftest.
$ac_ext
18678 LIBS
=$ac_check_lib_save_LIBS
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18681 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18682 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
18684 $as_echo_n "checking for dgettext in -lintl... " >&6; }
18685 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
18686 $as_echo_n "(cached) " >&6
18688 ac_check_lib_save_LIBS
=$LIBS
18689 LIBS
="-lintl $LIBS"
18690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18693 /* Override any GCC internal prototype to avoid an error.
18694 Use char because int might match the return type of a GCC
18695 builtin and then its argument prototype would still apply. */
18703 return dgettext ();
18708 if ac_fn_c_try_link
"$LINENO"; then :
18709 ac_cv_lib_intl_dgettext
=yes
18711 ac_cv_lib_intl_dgettext
=no
18713 rm -f core conftest.err conftest.
$ac_objext \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 LIBS
=$ac_check_lib_save_LIBS
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
18718 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
18719 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then :
18720 gt_cv_func_dgettext_libintl
=yes
18728 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
18730 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
18734 $as_echo_n "checking for ngettext in -lintl... " >&6; }
18735 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
18736 $as_echo_n "(cached) " >&6
18738 ac_check_lib_save_LIBS
=$LIBS
18739 LIBS
="-lintl -liconv $LIBS"
18740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18743 /* Override any GCC internal prototype to avoid an error.
18744 Use char because int might match the return type of a GCC
18745 builtin and then its argument prototype would still apply. */
18753 return ngettext ();
18758 if ac_fn_c_try_link
"$LINENO"; then :
18759 ac_cv_lib_intl_ngettext
=yes
18761 ac_cv_lib_intl_ngettext
=no
18763 rm -f core conftest.err conftest.
$ac_objext \
18764 conftest
$ac_exeext conftest.
$ac_ext
18765 LIBS
=$ac_check_lib_save_LIBS
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
18768 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
18769 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
18771 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
18772 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
18773 $as_echo_n "(cached) " >&6
18775 ac_check_lib_save_LIBS
=$LIBS
18776 LIBS
="-lintl -liconv $LIBS"
18777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18780 /* Override any GCC internal prototype to avoid an error.
18781 Use char because int might match the return type of a GCC
18782 builtin and then its argument prototype would still apply. */
18790 return dcgettext ();
18795 if ac_fn_c_try_link
"$LINENO"; then :
18796 ac_cv_lib_intl_dcgettext
=yes
18798 ac_cv_lib_intl_dcgettext
=no
18800 rm -f core conftest.err conftest.
$ac_objext \
18801 conftest
$ac_exeext conftest.
$ac_ext
18802 LIBS
=$ac_check_lib_save_LIBS
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
18805 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
18806 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then :
18807 gt_cv_func_dgettext_libintl
=yes
18808 libintl_extra_libs
=-liconv
18820 # If we found libintl, then check in it for bind_textdomain_codeset();
18821 # we'll prefer libc if neither have bind_textdomain_codeset(),
18822 # and both have dgettext and ngettext
18824 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
18825 glib_save_LIBS
="$LIBS"
18826 LIBS
="$LIBS -lintl $libintl_extra_libs"
18827 unset ac_cv_func_bind_textdomain_codeset
18828 for ac_func
in bind_textdomain_codeset
18830 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
18831 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
18832 cat >>confdefs.h
<<_ACEOF
18833 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
18839 LIBS
="$glib_save_LIBS"
18841 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
18842 gt_cv_func_dgettext_libc
=no
18844 if test "$gt_cv_func_dgettext_libc" = "yes" \
18845 && test "$gt_cv_func_ngettext_libc" = "yes"; then
18846 gt_cv_func_dgettext_libintl
=no
18852 if test "$gt_cv_func_dgettext_libc" = "yes" \
18853 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
18854 gt_cv_have_gettext
=yes
18857 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
18858 INTLLIBS
="-lintl $libintl_extra_libs"
18861 if test "$gt_cv_have_gettext" = "yes"; then
18863 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
18865 # Extract the first word of "msgfmt", so it can be a program name with args.
18866 set dummy msgfmt
; ac_word
=$2
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18868 $as_echo_n "checking for $ac_word... " >&6; }
18869 if test "${ac_cv_path_MSGFMT+set}" = set; then :
18870 $as_echo_n "(cached) " >&6
18874 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
18877 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
18878 for ac_dir
in $PATH; do
18879 test -z "$ac_dir" && ac_dir
=.
18880 if test -f $ac_dir/$ac_word; then
18881 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
18882 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
18888 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
18892 MSGFMT
="$ac_cv_path_MSGFMT"
18893 if test "$MSGFMT" != "no"; then
18894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18895 $as_echo "$MSGFMT" >&6; }
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18898 $as_echo "no" >&6; }
18900 if test "$MSGFMT" != "no"; then
18901 glib_save_LIBS
="$LIBS"
18902 LIBS
="$LIBS $INTLLIBS"
18903 for ac_func
in dcgettext
18905 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
18906 if test "x$ac_cv_func_dcgettext" = x
""yes; then :
18907 cat >>confdefs.h
<<_ACEOF
18908 #define HAVE_DCGETTEXT 1
18914 # Extract the first word of "gmsgfmt", so it can be a program name with args.
18915 set dummy gmsgfmt
; ac_word
=$2
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18917 $as_echo_n "checking for $ac_word... " >&6; }
18918 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
18919 $as_echo_n "(cached) " >&6
18923 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
18926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18927 for as_dir
in $PATH
18930 test -z "$as_dir" && as_dir
=.
18931 for ac_exec_ext
in '' $ac_executable_extensions; do
18932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18933 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
18934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18941 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
18945 GMSGFMT
=$ac_cv_path_GMSGFMT
18946 if test -n "$GMSGFMT"; then
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18948 $as_echo "$GMSGFMT" >&6; }
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18951 $as_echo "no" >&6; }
18955 # Extract the first word of "xgettext", so it can be a program name with args.
18956 set dummy xgettext
; ac_word
=$2
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18958 $as_echo_n "checking for $ac_word... " >&6; }
18959 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18962 case "$XGETTEXT" in
18964 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
18967 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
18968 for ac_dir
in $PATH; do
18969 test -z "$ac_dir" && ac_dir
=.
18970 if test -f $ac_dir/$ac_word; then
18971 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
18972 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
18978 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
18982 XGETTEXT
="$ac_cv_path_XGETTEXT"
18983 if test "$XGETTEXT" != ":"; then
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18985 $as_echo "$XGETTEXT" >&6; }
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18988 $as_echo "no" >&6; }
18991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18997 extern int _nl_msg_cat_cntr;
18998 return _nl_msg_cat_cntr
19003 if ac_fn_c_try_link
"$LINENO"; then :
19009 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19010 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
19025 rm -f core conftest.err conftest.
$ac_objext \
19026 conftest
$ac_exeext conftest.
$ac_ext
19027 LIBS
="$glib_save_LIBS"
19030 gt_cv_have_gettext
=no
19038 if test "$gt_cv_have_gettext" = "yes" ; then
19040 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19044 if test "$XGETTEXT" != ":"; then
19045 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
19049 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
19054 # We need to process the po/ directory.
19057 ac_config_commands
="$ac_config_commands default-1"
19060 for lang
in $ALL_LINGUAS; do
19061 GMOFILES
="$GMOFILES $lang.gmo"
19062 POFILES
="$POFILES $lang.po"
19077 if test "$gt_cv_have_gettext" = "yes"; then
19078 if test "x$ALL_LINGUAS" = "x"; then
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
19082 $as_echo_n "checking for catalogs to be installed... " >&6; }
19084 for presentlang
in $ALL_LINGUAS; do
19086 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
19087 desiredlanguages
="$LINGUAS"
19089 desiredlanguages
="$ALL_LINGUAS"
19091 for desiredlang
in $desiredlanguages; do
19092 # Use the presentlang catalog if desiredlang is
19093 # a. equal to presentlang, or
19094 # b. a variant of presentlang (because in this case,
19095 # presentlang can be used as a fallback for messages
19096 # which are not translated in the desiredlang catalog).
19097 case "$desiredlang" in
19098 "$presentlang"*) useit
=yes;;
19101 if test $useit = yes; then
19102 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
19105 LINGUAS
=$NEW_LINGUAS
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
19107 $as_echo "$LINGUAS" >&6; }
19110 if test -n "$LINGUAS"; then
19111 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
19116 if test -n "$ac_aux_dir"; then
19117 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
19119 if test -z "$MKINSTALLDIRS"; then
19120 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
19124 test -d po || mkdir po
19125 if test "x$srcdir" != "x."; then
19126 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
19127 posrcprefix
="$srcdir/"
19129 posrcprefix
="../$srcdir/"
19135 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
19136 < $srcdir/po
/POTFILES.
in > po
/POTFILES
19138 transmissionlocaledir
='${prefix}/${DATADIRNAME}/locale'
19152 CXXFLAGS
="$CXXFLAGS -mms-bitfields -mwin32 -mwindows"
19153 CPPFLAGS
="$CPPFLAGS -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN"
19154 LIBS
="$LIBS -liphlpapi -lshell32 -lws2_32"
19155 transmissionlocaledir
="locale"
19156 if test -z "$host_alias"; then
19159 hostaliaswindres
="$host_alias-windres";
19161 if test -n "$ac_tool_prefix"; then
19162 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19163 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19165 $as_echo_n "checking for $ac_word... " >&6; }
19166 if test "${ac_cv_prog_WINDRES+set}" = set; then :
19167 $as_echo_n "(cached) " >&6
19169 if test -n "$WINDRES"; then
19170 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
19172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19173 for as_dir
in $PATH
19176 test -z "$as_dir" && as_dir
=.
19177 for ac_exec_ext
in '' $ac_executable_extensions; do
19178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19179 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
19180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19189 WINDRES
=$ac_cv_prog_WINDRES
19190 if test -n "$WINDRES"; then
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
19192 $as_echo "$WINDRES" >&6; }
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19195 $as_echo "no" >&6; }
19200 if test -z "$ac_cv_prog_WINDRES"; then
19201 ac_ct_WINDRES
=$WINDRES
19202 # Extract the first word of "windres", so it can be a program name with args.
19203 set dummy windres
; ac_word
=$2
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19205 $as_echo_n "checking for $ac_word... " >&6; }
19206 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
19207 $as_echo_n "(cached) " >&6
19209 if test -n "$ac_ct_WINDRES"; then
19210 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
19212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19213 for as_dir
in $PATH
19216 test -z "$as_dir" && as_dir
=.
19217 for ac_exec_ext
in '' $ac_executable_extensions; do
19218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19219 ac_cv_prog_ac_ct_WINDRES
="windres"
19220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19229 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
19230 if test -n "$ac_ct_WINDRES"; then
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
19232 $as_echo "$ac_ct_WINDRES" >&6; }
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235 $as_echo "no" >&6; }
19238 if test "x$ac_ct_WINDRES" = x
; then
19241 case $cross_compiling:$ac_tool_warned in
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19245 ac_tool_warned
=yes ;;
19247 WINDRES
=$ac_ct_WINDRES
19250 WINDRES
="$ac_cv_prog_WINDRES"
19257 CFLAGS
="-DMACOSX $CFLAGS"
19262 # Check whether --enable-lightweight was given.
19263 if test "${enable_lightweight+set}" = set; then :
19264 enableval
=$enable_lightweight; enable_lightweight
=${enableval}
19266 enable_lightweight
="no"
19269 if test "x$enable_lightweight" = "xyes" ; then
19271 $as_echo "#define TR_LIGHTWEIGHT 1" >>confdefs.h
19275 # Check whether --enable-cli was given.
19276 if test "${enable_cli+set}" = set; then :
19277 enableval
=$enable_cli; build_cli
=${enableval}
19282 if test "x$build_cli" = "xyes"; then
19284 BUILD_CLI_FALSE
='#'
19291 # Check whether --enable-mac was given.
19292 if test "${enable_mac+set}" = set; then :
19293 enableval
=$enable_mac; build_mac
=${enableval}
19295 build_mac
=${have_darwin}
19298 if test "x$build_mac" = "xyes"; then
19300 BUILD_MAC_FALSE
='#'
19307 # Check whether --enable-daemon was given.
19308 if test "${enable_daemon+set}" = set; then :
19309 enableval
=$enable_daemon; build_daemon
=${enableval}
19314 if test "x$build_daemon" = "xyes"; then
19316 BUILD_DAEMON_FALSE
='#'
19318 BUILD_DAEMON_TRUE
='#'
19319 BUILD_DAEMON_FALSE
=
19324 if test "x$build_mac" = "xyes" ; then
19325 # Make sure the proper Mac SDK is installed
19326 if test ! -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
19328 You need to install the Mac OS X 10.5 SDK in order to build Transmission
19330 Get your Xcode CD or package
19331 Restart the install
19332 When it gets to "Installation Type", select "Customize"
19333 Select "Mac OS X 10.5 SDK" under "Cross Development"
19334 Finish the install.
19339 if test "x$have_darwin" = "xyes"; then
19340 $as_echo "#define HAVE_DARWIN 1" >>confdefs.h
19343 if test "x$have_msw" = "xyes"; then
19344 $as_echo "#define HAVE_MSW 1" >>confdefs.h
19347 if test "x$have_msw" = "xyes"; then
19357 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/miniupnp/Makefile third-party/libnatpmp/Makefile third-party/libutp/Makefile third-party/dht/Makefile macosx/Makefile gtk/Makefile gtk/icons/Makefile web/Makefile web/images/Makefile web/images/buttons/Makefile web/images/graphics/Makefile web/images/progress/Makefile web/javascript/Makefile web/javascript/jquery/Makefile web/stylesheets/Makefile po/Makefile.in"
19360 cat >confcache
<<\_ACEOF
19361 # This file is a shell script that caches the results of configure
19362 # tests run on this system so they can be shared between configure
19363 # scripts and configure runs, see configure's option --config-cache.
19364 # It is not useful on other systems. If it contains results you don't
19365 # want to keep, you may remove or edit it.
19367 # config.status only pays attention to the cache file if you give it
19368 # the --recheck option to rerun configure.
19370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19372 # following values.
19376 # The following way of writing the cache mishandles newlines in values,
19377 # but we know of no workaround that is simple, portable, and efficient.
19378 # So, we kill variables containing newlines.
19379 # Ultrix sh set writes to stderr and can't be redirected directly,
19380 # and sets the high bit in the cache file unless we assign to the vars.
19382 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19383 eval ac_val
=\$
$ac_var
19387 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19388 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19391 _ | IFS | as_nl
) ;; #(
19392 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19393 *) { eval $ac_var=; unset $ac_var;} ;;
19399 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19400 *${as_nl}ac_space
=\
*)
19401 # `set' does not quote correctly, so add quotes: double-quote
19402 # substitution turns \\\\ into \\, and sed turns \\ into \.
19405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19408 # `set' quotes correctly as required by POSIX, so do not add quotes.
19409 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19420 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19422 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19423 if test -w "$cache_file"; then
19424 test "x$cache_file" != "x/dev/null" &&
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19426 $as_echo "$as_me: updating cache $cache_file" >&6;}
19427 cat confcache
>$cache_file
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19430 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19435 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19436 # Let make expand exec_prefix.
19437 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19439 # Transform confdefs.h into DEFS.
19440 # Protect against shell expansion while executing Makefile rules.
19441 # Protect against Makefile macro expansion.
19443 # If the first sed substitution is executed (which looks for macros that
19444 # take arguments), then branch to the quote section. Otherwise,
19445 # look for a macro that doesn't take arguments.
19455 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19457 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19461 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19474 DEFS
=`sed -n "$ac_script" confdefs.h`
19480 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19481 # 1. Remove the extension, and $U if already installed.
19482 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19483 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19484 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19485 # will be set to the directory where LIBOBJS objects are built.
19486 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19487 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19489 LIBOBJS
=$ac_libobjs
19491 LTLIBOBJS
=$ac_ltlibobjs
19494 if test -n "$EXEEXT"; then
19496 am__EXEEXT_FALSE
='#'
19498 am__EXEEXT_TRUE
='#'
19502 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19503 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19506 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19507 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19510 if test -z "${TR_UNSTABLE_TRUE}" && test -z "${TR_UNSTABLE_FALSE}"; then
19511 as_fn_error $?
"conditional \"TR_UNSTABLE\" was never defined.
19512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19514 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19515 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19518 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19519 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19522 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19523 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
19524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19526 if test -z "${BUILD_UTP_TRUE}" && test -z "${BUILD_UTP_FALSE}"; then
19527 as_fn_error $?
"conditional \"BUILD_UTP\" was never defined.
19528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19530 if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then
19531 as_fn_error $?
"conditional \"BUILD_GTK\" was never defined.
19532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19535 ac_config_commands
="$ac_config_commands po/stamp-it"
19538 if test -z "${BUILD_CLI_TRUE}" && test -z "${BUILD_CLI_FALSE}"; then
19539 as_fn_error $?
"conditional \"BUILD_CLI\" was never defined.
19540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19542 if test -z "${BUILD_MAC_TRUE}" && test -z "${BUILD_MAC_FALSE}"; then
19543 as_fn_error $?
"conditional \"BUILD_MAC\" was never defined.
19544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19546 if test -z "${BUILD_DAEMON_TRUE}" && test -z "${BUILD_DAEMON_FALSE}"; then
19547 as_fn_error $?
"conditional \"BUILD_DAEMON\" was never defined.
19548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19550 if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
19551 as_fn_error $?
"conditional \"WIN32\" was never defined.
19552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19555 : ${CONFIG_STATUS=./config.status}
19557 ac_clean_files_save
=$ac_clean_files
19558 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19560 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19562 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19564 # Generated by $as_me.
19565 # Run this file to recreate the current configuration.
19566 # Compiler output produced by configure, useful for debugging
19567 # configure, is in config.log if it exists.
19570 ac_cs_recheck=false
19573 SHELL=\${CONFIG_SHELL-$SHELL}
19576 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19577 ## -------------------- ##
19578 ## M4sh Initialization. ##
19579 ## -------------------- ##
19581 # Be more Bourne compatible
19582 DUALCASE
=1; export DUALCASE
# for MKS sh
19583 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19586 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19587 # is contrary to our usage. Disable this feature.
19588 alias -g '${1+"$@"}'='"$@"'
19589 setopt NO_GLOB_SUBST
19591 case `(set -o) 2>/dev/null` in #(
19603 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19604 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19605 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19606 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19607 # Prefer a ksh shell builtin over an external printf program on Solaris,
19608 # but without wasting forks for bash or zsh.
19609 if test -z "$BASH_VERSION$ZSH_VERSION" \
19610 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19611 as_echo='print
-r --'
19612 as_echo_n='print
-rn --'
19613 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19614 as_echo='printf %s
\n'
19615 as_echo_n='printf %s
'
19617 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19618 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19619 as_echo_n='/usr
/ucb
/echo -n'
19621 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19622 as_echo_n_body='eval
19626 expr "X$arg" : "X\\(.*\\)$as_nl";
19627 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19629 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
19631 export as_echo_n_body
19632 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19634 export as_echo_body
19635 as_echo='sh
-c $as_echo_body as_echo
'
19638 # The user is always right.
19639 if test "${PATH_SEPARATOR+set}" != set; then
19641 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19642 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19649 # We need space, tab and new line, in precisely that order. Quoting is
19650 # there to prevent editors from complaining about space-tab.
19651 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19652 # splitting by setting IFS to empty value.)
19655 # Find who we are. Look in the path if we contain no directory separator.
19657 *[\\/]* ) as_myself=$0 ;;
19658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19659 for as_dir in $PATH
19662 test -z "$as_dir" && as_dir=.
19663 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19669 # We did not find ourselves, most probably we were run as `sh COMMAND'
19670 # in which case we are not to be found in the path.
19671 if test "x$as_myself" = x
; then
19674 if test ! -f "$as_myself"; then
19675 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19679 # Unset variables that we do not need and which cause bugs (e.g. in
19680 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19681 # suppresses any "Segmentation fault" message there. '((' could
19682 # trigger a bug in pdksh 5.2.14.
19683 for as_var
in BASH_ENV ENV MAIL MAILPATH
19684 do eval test x\
${$as_var+set} = xset \
19685 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
19698 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19701 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19702 # ----------------------------------------
19703 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19704 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19705 # script with STATUS, using 1 if that was 0.
19708 as_status
=$1; test $as_status -eq 0 && as_status
=1
19710 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19711 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19713 $as_echo "$as_me: error: $2" >&2
19714 as_fn_exit
$as_status
19718 # as_fn_set_status STATUS
19719 # -----------------------
19720 # Set $? to STATUS, without forking.
19721 as_fn_set_status
()
19724 } # as_fn_set_status
19726 # as_fn_exit STATUS
19727 # -----------------
19728 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19732 as_fn_set_status
$1
19738 # Portably unset VAR.
19741 { eval $1=; unset $1;}
19743 as_unset
=as_fn_unset
19744 # as_fn_append VAR VALUE
19745 # ----------------------
19746 # Append the text in VALUE to the end of the definition contained in VAR. Take
19747 # advantage of any shell optimizations that allow amortized linear growth over
19748 # repeated appends, instead of the typical quadratic growth present in naive
19750 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19751 eval 'as_fn_append ()
19762 # as_fn_arith ARG...
19763 # ------------------
19764 # Perform arithmetic evaluation on the ARGs, and store the result in the
19765 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19766 # must be portable across $(()) and expr.
19767 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19768 eval 'as_fn_arith ()
19775 as_val
=`expr "$@" || test $? -eq 1`
19780 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19781 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19787 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19788 as_basename
=basename
19793 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19799 as_me
=`$as_basename -- "$0" ||
19800 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19801 X"$0" : 'X\(//\)$' \| \
19802 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19804 sed '/^.*\/\([^/][^/]*\)\/*$/{
19818 # Avoid depending upon Character Ranges.
19819 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19820 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19821 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19822 as_cr_digits
='0123456789'
19823 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19825 ECHO_C
= ECHO_N
= ECHO_T
=
19826 case `echo -n x` in #(((((
19828 case `echo 'xy\c'` in
19829 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19831 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19838 rm -f conf$$ conf$$.exe conf$$.
file
19839 if test -d conf$$.dir
; then
19840 rm -f conf$$.dir
/conf$$.
file
19843 mkdir conf$$.dir
2>/dev
/null
19845 if (echo >conf$$.
file) 2>/dev
/null
; then
19846 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19848 # ... but there are two gotchas:
19849 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19850 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19851 # In both cases, we have to default to `cp -p'.
19852 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
19854 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19862 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19863 rmdir conf$$.dir
2>/dev
/null
19868 # Create "$as_dir" as a directory, including parents if necessary.
19873 -*) as_dir
=.
/$as_dir;;
19875 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
19879 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19880 *) as_qdir
=$as_dir;;
19882 as_dirs
="'$as_qdir' $as_dirs"
19883 as_dir
=`$as_dirname -- "$as_dir" ||
19884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19885 X"$as_dir" : 'X\(//\)[^/]' \| \
19886 X"$as_dir" : 'X\(//\)$' \| \
19887 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19888 $as_echo X"$as_dir" |
19889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19893 /^X\(\/\/\)[^/].*/{
19906 test -d "$as_dir" && break
19908 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
19909 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
19913 if mkdir
-p .
2>/dev
/null
; then
19914 as_mkdir_p
='mkdir -p "$as_dir"'
19916 test -d .
/-p && rmdir .
/-p
19920 if test -x / >/dev
/null
2>&1; then
19921 as_test_x
='test -x'
19923 if ls -dL / >/dev
/null
2>&1; then
19930 if test -d "$1"; then
19936 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19937 ???[sx]*):;;*)false;;esac;fi
19941 as_executable_p
=$as_test_x
19943 # Sed expression to map a string onto a valid CPP name.
19944 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19946 # Sed expression to map a string onto a valid variable name.
19947 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19951 ## ----------------------------------- ##
19952 ## Main body of $CONFIG_STATUS script. ##
19953 ## ----------------------------------- ##
19955 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19958 # Save the log message, to keep $0 and so on meaningful, and to
19959 # report actual input values of CONFIG_FILES etc. instead of their
19960 # values after options handling.
19962 This file was extended by transmission $as_me 2.33, which was
19963 generated by GNU Autoconf 2.67. Invocation command line was
19965 CONFIG_FILES = $CONFIG_FILES
19966 CONFIG_HEADERS = $CONFIG_HEADERS
19967 CONFIG_LINKS = $CONFIG_LINKS
19968 CONFIG_COMMANDS = $CONFIG_COMMANDS
19971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19976 case $ac_config_files in *"
19977 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19983 # Files that config.status was made for.
19984 config_files="$ac_config_files"
19985 config_commands="$ac_config_commands"
19989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19991 \`$as_me' instantiates files and other configuration actions
19992 from templates according to the current configuration. Unless the files
19993 and actions are specified as TAGs, all are instantiated by default.
19995 Usage: $0 [OPTION]... [TAG]...
19997 -h, --help print this help, then exit
19998 -V, --version print version number and configuration settings, then exit
19999 --config print configuration, then exit
20000 -q, --quiet, --silent
20001 do not print progress messages
20002 -d, --debug don't remove temporary files
20003 --recheck update $as_me by reconfiguring in the same conditions
20004 --file=FILE[:TEMPLATE]
20005 instantiate the configuration file FILE
20007 Configuration files:
20010 Configuration commands:
20013 Report bugs to <http://trac.transmissionbt.com/newticket>."
20016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20017 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20019 transmission config.status 2.33
20020 configured by $0, generated by GNU Autoconf 2.67,
20021 with options \\"\$ac_cs_config\\"
20023 Copyright (C) 2010 Free Software Foundation, Inc.
20024 This config.status script is free software; the Free Software Foundation
20025 gives unlimited permission to copy, distribute and modify it."
20032 test -n "\$AWK" || AWK=awk
20035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20036 # The default lists apply if the user does not specify any file.
20042 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20043 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20047 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20059 # Handling of the options.
20060 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20062 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20063 $as_echo "$ac_cs_version"; exit ;;
20064 --config |
--confi |
--conf |
--con |
--co |
--c )
20065 $as_echo "$ac_cs_config"; exit ;;
20066 --debug |
--debu |
--deb |
--de |
--d |
-d )
20068 --file |
--fil |
--fi |
--f )
20071 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20072 '') as_fn_error $?
"missing file argument" ;;
20074 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20075 ac_need_defaults
=false
;;
20076 --he |
--h |
--help |
--hel |
-h )
20077 $as_echo "$ac_cs_usage"; exit ;;
20078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20079 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20082 # This is an error.
20083 -*) as_fn_error $?
"unrecognized option: \`$1'
20084 Try \`$0 --help' for more information." ;;
20086 *) as_fn_append ac_config_targets
" $1"
20087 ac_need_defaults
=false
;;
20093 ac_configure_extra_args
=
20095 if $ac_cs_silent; then
20097 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20102 if \$ac_cs_recheck; then
20103 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20105 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20106 CONFIG_SHELL='$SHELL'
20107 export CONFIG_SHELL
20112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20116 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20117 ## Running $as_me. ##
20123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20127 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20130 # The HP-UX ksh and POSIX shell print the target directory to stdout
20131 # if CDPATH is set.
20132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20134 sed_quote_subst='$sed_quote_subst'
20135 double_quote_subst='$double_quote_subst'
20136 delay_variable_subst='$delay_variable_subst'
20137 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20138 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20139 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20140 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20141 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20142 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20143 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20144 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20145 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20146 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20147 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20148 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20149 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20150 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20151 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20152 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20153 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20154 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20155 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20156 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20157 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20158 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20159 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20160 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20161 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20162 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20163 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20164 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20165 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20166 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20167 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20168 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20169 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20170 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20171 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20172 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20173 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20174 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20175 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20176 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20177 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20178 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20179 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20180 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20181 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
20182 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20183 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20184 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20185 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20186 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20187 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20188 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20189 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20190 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20191 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20192 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20193 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20194 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20195 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20196 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20197 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20198 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20199 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20200 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20201 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20202 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20203 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20204 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20205 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20206 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20207 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20208 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20209 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20210 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20211 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20212 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20213 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20214 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20215 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20216 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20217 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20218 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20219 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20220 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20221 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20222 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20223 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20224 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20225 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20226 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20227 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20228 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20229 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20230 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20231 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20232 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20233 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20234 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20235 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20236 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20237 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20238 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20239 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20240 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20241 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20242 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20243 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20244 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20245 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20246 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20247 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20248 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20249 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20250 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20251 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20252 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20253 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20254 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20255 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20256 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20257 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20258 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20259 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20260 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20261 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20262 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20263 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20264 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20265 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20266 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20267 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20268 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20269 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20270 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20271 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20272 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20273 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20274 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20275 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20276 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20277 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20278 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20279 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20280 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20281 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20282 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20283 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20284 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20285 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20286 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20287 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20288 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20289 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20290 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20291 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20292 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20293 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20294 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20295 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20296 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20297 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20298 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20299 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20300 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20301 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20302 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20303 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20304 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20305 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20306 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20307 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20310 LTCFLAGS='$LTCFLAGS'
20311 compiler='$compiler_DEFAULT'
20313 # Quote evaled strings.
20325 deplibs_check_method \
20334 lt_cv_sys_global_symbol_pipe \
20335 lt_cv_sys_global_symbol_to_cdecl \
20336 lt_cv_sys_global_symbol_to_c_name_address \
20337 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20340 lt_prog_compiler_no_builtin_flag \
20341 lt_prog_compiler_wl \
20342 lt_prog_compiler_pic \
20343 lt_prog_compiler_static \
20344 lt_cv_prog_compiler_c_o \
20352 export_dynamic_flag_spec \
20353 whole_archive_flag_spec \
20354 compiler_needs_object \
20356 allow_undefined_flag \
20357 no_undefined_flag \
20358 hardcode_libdir_flag_spec \
20359 hardcode_libdir_flag_spec_ld \
20360 hardcode_libdir_separator \
20365 variables_saved_for_relink \
20367 library_names_spec \
20372 compiler_lib_search_dirs \
20377 compiler_lib_search_path \
20380 lt_prog_compiler_no_builtin_flag_CXX \
20381 lt_prog_compiler_wl_CXX \
20382 lt_prog_compiler_pic_CXX \
20383 lt_prog_compiler_static_CXX \
20384 lt_cv_prog_compiler_c_o_CXX \
20385 export_dynamic_flag_spec_CXX \
20386 whole_archive_flag_spec_CXX \
20387 compiler_needs_object_CXX \
20389 allow_undefined_flag_CXX \
20390 no_undefined_flag_CXX \
20391 hardcode_libdir_flag_spec_CXX \
20392 hardcode_libdir_flag_spec_ld_CXX \
20393 hardcode_libdir_separator_CXX \
20394 fix_srcfile_path_CXX \
20395 exclude_expsyms_CXX \
20396 include_expsyms_CXX \
20397 file_list_spec_CXX \
20398 compiler_lib_search_dirs_CXX \
20399 predep_objects_CXX \
20400 postdep_objects_CXX \
20403 compiler_lib_search_path_CXX; do
20404 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20405 *[\\\\\\\`\\"\\\$]*)
20406 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20409 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20414 # Double-quote double-evaled strings.
20415 for var in reload_cmds \
20416 old_postinstall_cmds \
20417 old_postuninstall_cmds \
20419 extract_expsyms_cmds \
20420 old_archive_from_new_cmds \
20421 old_archive_from_expsyms_cmds \
20423 archive_expsym_cmds \
20425 module_expsym_cmds \
20426 export_symbols_cmds \
20429 postuninstall_cmds \
20431 sys_lib_search_path_spec \
20432 sys_lib_dlsearch_path_spec \
20433 old_archive_cmds_CXX \
20434 old_archive_from_new_cmds_CXX \
20435 old_archive_from_expsyms_cmds_CXX \
20437 archive_expsym_cmds_CXX \
20439 module_expsym_cmds_CXX \
20440 export_symbols_cmds_CXX \
20441 prelink_cmds_CXX; do
20442 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20443 *[\\\\\\\`\\"\\\$]*)
20444 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20447 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20452 # Fix-up fallback echo if it was mangled by the above quoting rules.
20454 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20458 ac_aux_dir='$ac_aux_dir'
20459 xsi_shell='$xsi_shell'
20460 lt_shell_append='$lt_shell_append'
20462 # See if we are running on zsh, and set the options which allow our
20463 # commands through without removal of \ escapes INIT.
20464 if test -n "\${ZSH_VERSION+set}" ; then
20465 setopt NO_GLOB_SUBST
20471 TIMESTAMP='$TIMESTAMP'
20483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20485 # Handling of arguments.
20486 for ac_config_target
in $ac_config_targets
20488 case $ac_config_target in
20489 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20490 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20491 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20492 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20493 "transmission-gtk.spec") CONFIG_FILES
="$CONFIG_FILES transmission-gtk.spec" ;;
20494 "cli/Makefile") CONFIG_FILES
="$CONFIG_FILES cli/Makefile" ;;
20495 "daemon/Makefile") CONFIG_FILES
="$CONFIG_FILES daemon/Makefile" ;;
20496 "extras/Makefile") CONFIG_FILES
="$CONFIG_FILES extras/Makefile" ;;
20497 "libtransmission/Makefile") CONFIG_FILES
="$CONFIG_FILES libtransmission/Makefile" ;;
20498 "utils/Makefile") CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
20499 "third-party/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/Makefile" ;;
20500 "third-party/miniupnp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/miniupnp/Makefile" ;;
20501 "third-party/libnatpmp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/libnatpmp/Makefile" ;;
20502 "third-party/libutp/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/libutp/Makefile" ;;
20503 "third-party/dht/Makefile") CONFIG_FILES
="$CONFIG_FILES third-party/dht/Makefile" ;;
20504 "macosx/Makefile") CONFIG_FILES
="$CONFIG_FILES macosx/Makefile" ;;
20505 "gtk/Makefile") CONFIG_FILES
="$CONFIG_FILES gtk/Makefile" ;;
20506 "gtk/icons/Makefile") CONFIG_FILES
="$CONFIG_FILES gtk/icons/Makefile" ;;
20507 "web/Makefile") CONFIG_FILES
="$CONFIG_FILES web/Makefile" ;;
20508 "web/images/Makefile") CONFIG_FILES
="$CONFIG_FILES web/images/Makefile" ;;
20509 "web/images/buttons/Makefile") CONFIG_FILES
="$CONFIG_FILES web/images/buttons/Makefile" ;;
20510 "web/images/graphics/Makefile") CONFIG_FILES
="$CONFIG_FILES web/images/graphics/Makefile" ;;
20511 "web/images/progress/Makefile") CONFIG_FILES
="$CONFIG_FILES web/images/progress/Makefile" ;;
20512 "web/javascript/Makefile") CONFIG_FILES
="$CONFIG_FILES web/javascript/Makefile" ;;
20513 "web/javascript/jquery/Makefile") CONFIG_FILES
="$CONFIG_FILES web/javascript/jquery/Makefile" ;;
20514 "web/stylesheets/Makefile") CONFIG_FILES
="$CONFIG_FILES web/stylesheets/Makefile" ;;
20515 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20516 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
20518 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20523 # If the user did not use the arguments to specify the items to instantiate,
20524 # then the envvar interface is used. Set only those that are not.
20525 # We use the long form for the default assignment because of an extremely
20526 # bizarre bug on SunOS 4.1.3.
20527 if $ac_need_defaults; then
20528 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20529 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20532 # Have a temporary directory for convenience. Make it in the build tree
20533 # simply because there is no reason against having it here, and in addition,
20534 # creating and moving files from /tmp can sometimes cause problems.
20535 # Hook for its removal unless debugging.
20536 # Note that there is a small window in which the directory will not be cleaned:
20537 # after its creation but before its name has been assigned to `$tmp'.
20541 trap 'exit_status=$?
20542 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20544 trap 'as_fn_exit 1' 1 2 13 15
20546 # Create a (secure) tmp directory for tmp files.
20549 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20550 test -n "$tmp" && test -d "$tmp"
20553 tmp
=.
/conf$$
-$RANDOM
20554 (umask 077 && mkdir
"$tmp")
20555 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20557 # Set up the scripts for CONFIG_FILES section.
20558 # No need to generate them if there are no CONFIG_FILES.
20559 # This happens for instance with `./config.status config.h'.
20560 if test -n "$CONFIG_FILES"; then
20563 ac_cr
=`echo X | tr X '\015'`
20564 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20565 # But we know of no other shell where ac_cr would be empty at this
20566 # point, so we can use a bashism as a fallback.
20567 if test "x$ac_cr" = x
; then
20568 eval ac_cr
=\$
\'\\r
\'
20570 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20571 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20574 ac_cs_awk_cr
=$ac_cr
20577 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20582 echo "cat >conf$$subs.awk <<_ACEOF" &&
20583 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20585 } >conf$$subs.sh ||
20586 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20587 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20589 for ac_last_try in false false false false false :; do
20590 . ./conf$$subs.sh ||
20591 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20593 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20594 if test $ac_delim_n = $ac_delim_num; then
20596 elif $ac_last_try; then
20597 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20599 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20602 rm -f conf$$subs.sh
20604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20605 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20609 s/^/S["/; s
/!.
*/"]=/
20619 s/\(.\{148\}\)..*/\1/
20621 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20626 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20633 s/\(.\{148\}\)..*/\1/
20635 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20639 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20644 ' <conf$$subs.awk | sed '
20649 ' >>$CONFIG_STATUS || ac_write_fail=1
20650 rm -f conf$$subs.awk
20651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20653 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20654 for (key in S) S_is_set[key] = 1
20660 nfields = split(line, field, "@
")
20662 len = length(field[1])
20663 for (i = 2; i < nfields; i++) {
20665 keylen = length(key)
20666 if (S_is_set[key]) {
20668 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20669 len += length(value) + length(field[++i])
20680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20681 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20682 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20685 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20686 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20689 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20690 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20691 # trailing colons and then remove the whole line if VPATH becomes empty
20692 # (actually we leave an empty line to preserve line numbers).
20693 if test "x
$srcdir" = x.; then
20694 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20713 fi # test -n "$CONFIG_FILES"
20716 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
20721 :[FHLC]) ac_mode=$ac_tag; continue;;
20723 case $ac_mode$ac_tag in
20725 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5 ;;
20726 :[FH]-) ac_tag=-:-;;
20727 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20744 -) ac_f="$tmp/stdin";;
20745 *) # Look for the file first in the build tree, then in the source tree
20746 # (if the path is not absolute). The absolute path cannot be DOS-style,
20747 # because $ac_f cannot contain `:'.
20751 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20753 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20755 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
20756 as_fn_append ac_file_inputs " '$ac_f'"
20759 # Let's still pretend it is `configure' which instantiates (i.e., don't
20760 # use $as_me), people would be surprised to read:
20761 # /* config.h. Generated by config.status. */
20762 configure_input='Generated from '`
20763 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20765 if test x"$ac_file" != x-; then
20766 configure_input="$ac_file.
$configure_input"
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
20768 $as_echo "$as_me: creating
$ac_file" >&6;}
20770 # Neutralize special characters interpreted by sed in replacement strings.
20771 case $configure_input in #(
20772 *\&* | *\|* | *\\* )
20773 ac_sed_conf_input=`$as_echo "$configure_input" |
20774 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20775 *) ac_sed_conf_input=$configure_input;;
20779 *:-:* | *:-) cat >"$tmp/stdin
" \
20780 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
20785 ac_dir=`$as_dirname -- "$ac_file" ||
20786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20787 X"$ac_file" : 'X\(//\)[^/]' \| \
20788 X"$ac_file" : 'X\(//\)$' \| \
20789 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20790 $as_echo X"$ac_file" |
20791 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20795 /^X\(\/\/\)[^/].*/{
20808 as_dir="$ac_dir"; as_fn_mkdir_p
20812 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20814 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20815 # A "..
" for each directory in $ac_dir_suffix.
20816 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20817 case $ac_top_builddir_sub in
20818 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20819 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20822 ac_abs_top_builddir=$ac_pwd
20823 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20824 # for backward compatibility:
20825 ac_top_builddir=$ac_top_build_prefix
20828 .) # We are building in place.
20830 ac_top_srcdir=$ac_top_builddir_sub
20831 ac_abs_top_srcdir=$ac_pwd ;;
20832 [\\/]* | ?:[\\/]* ) # Absolute name.
20833 ac_srcdir=$srcdir$ac_dir_suffix;
20834 ac_top_srcdir=$srcdir
20835 ac_abs_top_srcdir=$srcdir ;;
20836 *) # Relative name.
20837 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20838 ac_top_srcdir=$ac_top_build_prefix$srcdir
20839 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20841 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20851 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20852 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20854 ac_MKDIR_P=$MKDIR_P
20856 [\\/$]* | ?:[\\/]* ) ;;
20857 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20862 # If the template does not know about datarootdir, expand it.
20863 # FIXME: This hack should be removed a few years after 2.60.
20864 ac_datarootdir_hack=; ac_datarootdir_seen=
20875 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
20876 *datarootdir*) ac_datarootdir_seen=yes;;
20877 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
20879 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
20881 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20882 ac_datarootdir_hack='
20883 s&@datadir@&$datadir&g
20884 s&@docdir@&$docdir&g
20885 s&@infodir@&$infodir&g
20886 s&@localedir@&$localedir&g
20887 s&@mandir@&$mandir&g
20888 s&\\\${datarootdir}&$datarootdir&g' ;;
20892 # Neutralize VPATH when `$srcdir' = `.'.
20893 # Shell code in configure.ac might set extrasub.
20894 # FIXME: do we really want to maintain this feature?
20895 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20896 ac_sed_extra="$ac_vpsub
20899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20901 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20902 s|@configure_input@|
$ac_sed_conf_input|
;t t
20903 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20904 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20905 s
&@srcdir@
&$ac_srcdir&;t t
20906 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20907 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20908 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20909 s
&@builddir@
&$ac_builddir&;t t
20910 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20911 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20912 s
&@INSTALL@
&$ac_INSTALL&;t t
20913 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
20914 $ac_datarootdir_hack
20916 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
20917 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
20919 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20920 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20921 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20923 which seems to be undefined. Please make sure it is defined" >&5
20924 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20925 which seems to be undefined. Please make sure it is defined" >&2;}
20929 -) cat "$tmp/out" && rm -f "$tmp/out";;
20930 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20936 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20937 $as_echo "$as_me: executing $ac_file commands" >&6;}
20942 case $ac_file$ac_mode in
20943 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20944 # Autoconf 2.62 quotes --file arguments for eval, but not when files
20945 # are listed without --file. Let's play safe and only
enable the
eval
20946 # if we detect the quoting.
20947 case $CONFIG_FILES in
20948 *\'*) eval set x
"$CONFIG_FILES" ;;
20949 *) set x
$CONFIG_FILES ;;
20954 # Strip MF so we end up with the name of the file.
20955 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20956 # Check whether this is an Automake generated Makefile or not.
20957 # We used to match only the files named `Makefile.in', but
20958 # some people rename them; so instead we look at the file content.
20959 # Grep'ing the first line is not enough: some people post-process
20960 # each Makefile.in and add a new line on top of each file to say so.
20961 # Grep'ing the whole file is not good either: AIX grep has a line
20962 # limit of 2048, but all sed's we know have understand at least 4000.
20963 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
20964 dirpart
=`$as_dirname -- "$mf" ||
20965 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20966 X"$mf" : 'X\(//\)[^/]' \| \
20967 X"$mf" : 'X\(//\)$' \| \
20968 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20974 /^X\(\/\/\)[^/].*/{
20990 # Extract the definition of DEPDIR, am__include, and am__quote
20991 # from the Makefile without running `make'.
20992 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20993 test -z "$DEPDIR" && continue
20994 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20995 test -z "am__include" && continue
20996 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20997 # When using ansi2knr, U may be empty or an underscore; expand it
20998 U
=`sed -n 's/^U = //p' < "$mf"`
20999 # Find all dependency output files, they are included files with
21000 # $(DEPDIR) in their names. We invoke sed twice because it is the
21001 # simplest approach to changing $(DEPDIR) to its actual value in the
21003 for file in `sed -n "
21004 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21005 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21006 # Make sure the directory exists.
21007 test -f "$dirpart/$file" && continue
21008 fdir
=`$as_dirname -- "$file" ||
21009 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21010 X"$file" : 'X\(//\)[^/]' \| \
21011 X"$file" : 'X\(//\)$' \| \
21012 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21013 $as_echo X"$file" |
21014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21018 /^X\(\/\/\)[^/].*/{
21031 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21032 # echo "creating $dirpart/$file"
21033 echo '# dummy' > "$dirpart/$file"
21040 # See if we are running on zsh, and set the options which allow our
21041 # commands through without removal of \ escapes.
21042 if test -n "${ZSH_VERSION+set}" ; then
21043 setopt NO_GLOB_SUBST
21046 cfgfile
="${ofile}T"
21047 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21050 cat <<_LT_EOF >> "$cfgfile"
21053 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21054 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21055 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21056 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21058 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21059 # 2006, 2007, 2008 Free Software Foundation, Inc.
21060 # Written by Gordon Matzigkeit, 1996
21062 # This file is part of GNU Libtool.
21064 # GNU Libtool is free software; you can redistribute it and/or
21065 # modify it under the terms of the GNU General Public License as
21066 # published by the Free Software Foundation; either version 2 of
21067 # the License, or (at your option) any later version.
21069 # As a special exception to the GNU General Public License,
21070 # if you distribute this file as part of a program or library that
21071 # is built using GNU Libtool, you may include this file under the
21072 # same distribution terms that you use for the rest of that program.
21074 # GNU Libtool is distributed in the hope that it will be useful,
21075 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21076 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21077 # GNU General Public License for more details.
21079 # You should have received a copy of the GNU General Public License
21080 # along with GNU Libtool; see the file COPYING. If not, a copy
21081 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21082 # obtained by writing to the Free Software Foundation, Inc.,
21083 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21086 # The names of the tagged configurations supported by this script.
21087 available_tags="CXX "
21089 # ### BEGIN LIBTOOL CONFIG
21091 # Which release of libtool.m4 was used?
21092 macro_version=$macro_version
21093 macro_revision=$macro_revision
21095 # Whether or not to build shared libraries.
21096 build_libtool_libs=$enable_shared
21098 # Whether or not to build static libraries.
21099 build_old_libs=$enable_static
21101 # What type of objects to build.
21104 # Whether or not to optimize for fast installation.
21105 fast_install=$enable_fast_install
21108 host_alias=$host_alias
21112 # The build system.
21113 build_alias=$build_alias
21117 # A sed program that does not truncate output.
21120 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21121 Xsed="\$SED -e 1s/^X//"
21123 # A grep program that handles long lines.
21129 # A literal string matcher.
21132 # A BSD- or MS-compatible name lister.
21135 # Whether we need soft or hard links.
21138 # What is the maximum length of a command?
21139 max_cmd_len=$max_cmd_len
21141 # Object file suffix (normally "o").
21144 # Executable file suffix (normally "").
21147 # whether the shell understands "unset".
21150 # turn spaces into newlines.
21153 # turn newlines into spaces.
21156 # How to create reloadable object files.
21157 reload_flag=$lt_reload_flag
21158 reload_cmds=$lt_reload_cmds
21160 # An object symbol dumper.
21161 OBJDUMP=$lt_OBJDUMP
21163 # Method to check whether dependent libraries are shared objects.
21164 deplibs_check_method=$lt_deplibs_check_method
21166 # Command to use when deplibs_check_method == "file_magic".
21167 file_magic_cmd=$lt_file_magic_cmd
21171 AR_FLAGS=$lt_AR_FLAGS
21173 # A symbol stripping program.
21176 # Commands used to install an old-style archive.
21178 old_postinstall_cmds=$lt_old_postinstall_cmds
21179 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21184 # LTCC compiler flags.
21185 LTCFLAGS=$lt_CFLAGS
21187 # Take the output of nm and produce a listing of raw symbols and C names.
21188 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21190 # Transform the output of nm in a proper C declaration.
21191 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21193 # Transform the output of nm in a C name address pair.
21194 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21196 # Transform the output of nm in a C name address pair when lib prefix is needed.
21197 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21199 # The name of the directory that contains temporary libtool files.
21202 # Shell to use when invoking shell scripts.
21205 # An echo program that does not interpret backslashes.
21208 # Used to examine libraries when file_magic_cmd begins with "file".
21209 MAGIC_CMD=$MAGIC_CMD
21211 # Must we lock files when doing compilation?
21212 need_locks=$lt_need_locks
21214 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21215 DSYMUTIL=$lt_DSYMUTIL
21217 # Tool to change global to local symbols on Mac OS X.
21220 # Tool to manipulate fat objects and archives on Mac OS X.
21223 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21226 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21227 OTOOL64=$lt_OTOOL64
21229 # Old archive suffix (normally "a").
21232 # Shared library suffix (normally ".so").
21233 shrext_cmds=$lt_shrext_cmds
21235 # The commands to extract the exported symbol list from a shared archive.
21236 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21238 # Variables whose values should be saved in libtool wrapper scripts and
21239 # restored at link time.
21240 variables_saved_for_relink=$lt_variables_saved_for_relink
21242 # Do we need the "lib" prefix for modules?
21243 need_lib_prefix=$need_lib_prefix
21245 # Do we need a version for libraries?
21246 need_version=$need_version
21248 # Library versioning type.
21249 version_type=$version_type
21251 # Shared library runtime path variable.
21252 runpath_var=$runpath_var
21254 # Shared library path variable.
21255 shlibpath_var=$shlibpath_var
21257 # Is shlibpath searched before the hard-coded library search path?
21258 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21260 # Format of library name prefix.
21261 libname_spec=$lt_libname_spec
21263 # List of archive names. First name is the real one, the rest are links.
21264 # The last name is the one that the linker finds with -lNAME
21265 library_names_spec=$lt_library_names_spec
21267 # The coded name of the library, if different from the real name.
21268 soname_spec=$lt_soname_spec
21270 # Command to use after installation of a shared archive.
21271 postinstall_cmds=$lt_postinstall_cmds
21273 # Command to use after uninstallation of a shared archive.
21274 postuninstall_cmds=$lt_postuninstall_cmds
21276 # Commands used to finish a libtool library installation in a directory.
21277 finish_cmds=$lt_finish_cmds
21279 # As "finish_cmds", except a single script fragment to be evaled but
21281 finish_eval=$lt_finish_eval
21283 # Whether we should hardcode library paths into libraries.
21284 hardcode_into_libs=$hardcode_into_libs
21286 # Compile-time system search path for libraries.
21287 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21289 # Run-time system search path for libraries.
21290 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21292 # Whether dlopen is supported.
21293 dlopen_support=$enable_dlopen
21295 # Whether dlopen of programs is supported.
21296 dlopen_self=$enable_dlopen_self
21298 # Whether dlopen of statically linked programs is supported.
21299 dlopen_self_static=$enable_dlopen_self_static
21301 # Commands to strip libraries.
21302 old_striplib=$lt_old_striplib
21303 striplib=$lt_striplib
21306 # The linker used to build libraries.
21309 # Commands used to build an old-style archive.
21310 old_archive_cmds=$lt_old_archive_cmds
21312 # A language specific compiler.
21315 # Is the compiler the GNU compiler?
21318 # Compiler flag to turn off builtin functions.
21319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21321 # How to pass a linker flag through the compiler.
21322 wl=$lt_lt_prog_compiler_wl
21324 # Additional compiler flags for building library objects.
21325 pic_flag=$lt_lt_prog_compiler_pic
21327 # Compiler flag to prevent dynamic linking.
21328 link_static_flag=$lt_lt_prog_compiler_static
21330 # Does compiler simultaneously support -c and -o options?
21331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21333 # Whether or not to add -lc for building shared libraries.
21334 build_libtool_need_lc=$archive_cmds_need_lc
21336 # Whether or not to disallow shared libs when runtime libs are static.
21337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21339 # Compiler flag to allow reflexive dlopens.
21340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21342 # Compiler flag to generate shared objects directly from archives.
21343 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21345 # Whether the compiler copes with passing no objects directly.
21346 compiler_needs_object=$lt_compiler_needs_object
21348 # Create an old-style archive from a shared archive.
21349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21351 # Create a temporary old-style archive to link instead of a shared archive.
21352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21354 # Commands used to build a shared archive.
21355 archive_cmds=$lt_archive_cmds
21356 archive_expsym_cmds=$lt_archive_expsym_cmds
21358 # Commands used to build a loadable module if different from building
21359 # a shared archive.
21360 module_cmds=$lt_module_cmds
21361 module_expsym_cmds=$lt_module_expsym_cmds
21363 # Whether we are building with GNU ld or not.
21364 with_gnu_ld=$lt_with_gnu_ld
21366 # Flag that allows shared libraries with undefined symbols to be built.
21367 allow_undefined_flag=$lt_allow_undefined_flag
21369 # Flag that enforces no undefined symbols.
21370 no_undefined_flag=$lt_no_undefined_flag
21372 # Flag to hardcode \$libdir into a binary during linking.
21373 # This must work even if \$libdir does not exist
21374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21376 # If ld is used when linking, flag to hardcode \$libdir into a binary
21377 # during linking. This must work even if \$libdir does not exist.
21378 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21380 # Whether we need a single "-rpath" flag with a separated argument.
21381 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21384 # DIR into the resulting binary.
21385 hardcode_direct=$hardcode_direct
21387 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21388 # DIR into the resulting binary and the resulting library dependency is
21389 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21390 # library is relocated.
21391 hardcode_direct_absolute=$hardcode_direct_absolute
21393 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21394 # into the resulting binary.
21395 hardcode_minus_L=$hardcode_minus_L
21397 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21398 # into the resulting binary.
21399 hardcode_shlibpath_var=$hardcode_shlibpath_var
21401 # Set to "yes" if building a shared library automatically hardcodes DIR
21402 # into the library and all subsequent libraries and executables linked
21404 hardcode_automatic=$hardcode_automatic
21406 # Set to yes if linker adds runtime paths of dependent libraries
21407 # to runtime path list.
21408 inherit_rpath=$inherit_rpath
21410 # Whether libtool must link a program against all its dependency libraries.
21411 link_all_deplibs=$link_all_deplibs
21413 # Fix the shell variable \$srcfile for the compiler.
21414 fix_srcfile_path=$lt_fix_srcfile_path
21416 # Set to "yes" if exported symbols are required.
21417 always_export_symbols=$always_export_symbols
21419 # The commands to list exported symbols.
21420 export_symbols_cmds=$lt_export_symbols_cmds
21422 # Symbols that should not be listed in the preloaded symbols.
21423 exclude_expsyms=$lt_exclude_expsyms
21425 # Symbols that must always be exported.
21426 include_expsyms=$lt_include_expsyms
21428 # Commands necessary for linking programs (against libraries) with templates.
21429 prelink_cmds=$lt_prelink_cmds
21431 # Specify filename containing input files.
21432 file_list_spec=$lt_file_list_spec
21434 # How to hardcode a shared library path into an executable.
21435 hardcode_action=$hardcode_action
21437 # The directories searched by this compiler when creating a shared library.
21438 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21440 # Dependencies to place before and after the objects being linked to
21441 # create a shared library.
21442 predep_objects=$lt_predep_objects
21443 postdep_objects=$lt_postdep_objects
21444 predeps=$lt_predeps
21445 postdeps=$lt_postdeps
21447 # The library search path used internally by the compiler when linking
21448 # a shared library.
21449 compiler_lib_search_path=$lt_compiler_lib_search_path
21451 # ### END LIBTOOL CONFIG
21457 cat <<\_LT_EOF
>> "$cfgfile"
21458 # AIX sometimes has problems with the GCC collect2 program. For some
21459 # reason, if we set the COLLECT_NAMES environment variable, the problems
21460 # vanish in a puff of smoke.
21461 if test "X${COLLECT_NAMES+set}" != Xset
; then
21463 export COLLECT_NAMES
21470 ltmain
="$ac_aux_dir/ltmain.sh"
21473 # We use sed instead of cat because bash on DJGPP gets confused if
21474 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21475 # text mode, it properly converts lines to CR/LF. This bash problem
21476 # is reportedly fixed, but why not run on old versions too?
21477 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21478 ||
(rm -f "$cfgfile"; exit 1)
21482 cat << \_LT_EOF
>> "$cfgfile"
21484 # func_dirname file append nondir_replacement
21485 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21486 # otherwise set result to NONDIR_REPLACEMENT.
21490 */*) func_dirname_result
="${1%/*}${2}" ;;
21491 * ) func_dirname_result
="${3}" ;;
21495 # func_basename file
21498 func_basename_result
="${1##*/}"
21501 # func_dirname_and_basename file append nondir_replacement
21502 # perform func_basename and func_dirname in a single function
21504 # dirname: Compute the dirname of FILE. If nonempty,
21505 # add APPEND to the result, otherwise set result
21506 # to NONDIR_REPLACEMENT.
21507 # value returned in "$func_dirname_result"
21508 # basename: Compute filename of FILE.
21509 # value retuned in "$func_basename_result"
21510 # Implementation must be kept synchronized with func_dirname
21511 # and func_basename. For efficiency, we do not delegate to
21512 # those functions but instead duplicate the functionality here.
21513 func_dirname_and_basename
()
21516 */*) func_dirname_result
="${1%/*}${2}" ;;
21517 * ) func_dirname_result
="${3}" ;;
21519 func_basename_result
="${1##*/}"
21522 # func_stripname prefix suffix name
21523 # strip PREFIX and SUFFIX off of NAME.
21524 # PREFIX and SUFFIX must not contain globbing or regex special
21525 # characters, hashes, percent signs, but SUFFIX may contain a leading
21526 # dot (in which case that matches only a dot).
21529 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21530 # positional parameters, so assign one to ordinary parameter first.
21531 func_stripname_result
=${3}
21532 func_stripname_result
=${func_stripname_result#"${1}"}
21533 func_stripname_result
=${func_stripname_result%"${2}"}
21539 func_opt_split_opt
=${1%%=*}
21540 func_opt_split_arg
=${1#*=}
21547 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21548 *) func_lo2o_result
=${1} ;;
21552 # func_xform libobj-or-source
21555 func_xform_result
=${1%.*}.lo
21558 # func_arith arithmetic-term...
21561 func_arith_result
=$
(( $
* ))
21565 # STRING may not start with a hyphen.
21568 func_len_result
=${#1}
21573 *) # Bourne compatible functions.
21574 cat << \_LT_EOF
>> "$cfgfile"
21576 # func_dirname file append nondir_replacement
21577 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21578 # otherwise set result to NONDIR_REPLACEMENT.
21581 # Extract subdirectory from the argument.
21582 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21583 if test "X$func_dirname_result" = "X${1}"; then
21584 func_dirname_result
="${3}"
21586 func_dirname_result
="$func_dirname_result${2}"
21590 # func_basename file
21593 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21597 # func_stripname prefix suffix name
21598 # strip PREFIX and SUFFIX off of NAME.
21599 # PREFIX and SUFFIX must not contain globbing or regex special
21600 # characters, hashes, percent signs, but SUFFIX may contain a leading
21601 # dot (in which case that matches only a dot).
21602 # func_strip_suffix prefix name
21606 .
*) func_stripname_result
=`$ECHO "X${3}" \
21607 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21608 *) func_stripname_result
=`$ECHO "X${3}" \
21609 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21614 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21615 my_sed_long_arg
='1s/^-[^=]*=//'
21620 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21621 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21627 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21630 # func_xform libobj-or-source
21633 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21636 # func_arith arithmetic-term...
21639 func_arith_result
=`expr "$@"`
21643 # STRING may not start with a hyphen.
21646 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21652 case $lt_shell_append in
21654 cat << \_LT_EOF
>> "$cfgfile"
21656 # func_append var value
21657 # Append VALUE to the end of shell variable VAR.
21665 cat << \_LT_EOF
>> "$cfgfile"
21667 # func_append var value
21668 # Append VALUE to the end of shell variable VAR.
21679 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21680 ||
(rm -f "$cfgfile"; exit 1)
21682 mv -f "$cfgfile" "$ofile" ||
21683 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21687 cat <<_LT_EOF >> "$ofile"
21689 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21691 # The linker used to build libraries.
21694 # Commands used to build an old-style archive.
21695 old_archive_cmds=$lt_old_archive_cmds_CXX
21697 # A language specific compiler.
21698 CC=$lt_compiler_CXX
21700 # Is the compiler the GNU compiler?
21703 # Compiler flag to turn off builtin functions.
21704 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21706 # How to pass a linker flag through the compiler.
21707 wl=$lt_lt_prog_compiler_wl_CXX
21709 # Additional compiler flags for building library objects.
21710 pic_flag=$lt_lt_prog_compiler_pic_CXX
21712 # Compiler flag to prevent dynamic linking.
21713 link_static_flag=$lt_lt_prog_compiler_static_CXX
21715 # Does compiler simultaneously support -c and -o options?
21716 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21718 # Whether or not to add -lc for building shared libraries.
21719 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21721 # Whether or not to disallow shared libs when runtime libs are static.
21722 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21724 # Compiler flag to allow reflexive dlopens.
21725 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21727 # Compiler flag to generate shared objects directly from archives.
21728 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21730 # Whether the compiler copes with passing no objects directly.
21731 compiler_needs_object=$lt_compiler_needs_object_CXX
21733 # Create an old-style archive from a shared archive.
21734 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21736 # Create a temporary old-style archive to link instead of a shared archive.
21737 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21739 # Commands used to build a shared archive.
21740 archive_cmds=$lt_archive_cmds_CXX
21741 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21743 # Commands used to build a loadable module if different from building
21744 # a shared archive.
21745 module_cmds=$lt_module_cmds_CXX
21746 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21748 # Whether we are building with GNU ld or not.
21749 with_gnu_ld=$lt_with_gnu_ld_CXX
21751 # Flag that allows shared libraries with undefined symbols to be built.
21752 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21754 # Flag that enforces no undefined symbols.
21755 no_undefined_flag=$lt_no_undefined_flag_CXX
21757 # Flag to hardcode \$libdir into a binary during linking.
21758 # This must work even if \$libdir does not exist
21759 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21761 # If ld is used when linking, flag to hardcode \$libdir into a binary
21762 # during linking. This must work even if \$libdir does not exist.
21763 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21765 # Whether we need a single "-rpath" flag with a separated argument.
21766 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21768 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21769 # DIR into the resulting binary.
21770 hardcode_direct=$hardcode_direct_CXX
21772 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21773 # DIR into the resulting binary and the resulting library dependency is
21774 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21775 # library is relocated.
21776 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21778 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21779 # into the resulting binary.
21780 hardcode_minus_L=$hardcode_minus_L_CXX
21782 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21783 # into the resulting binary.
21784 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21786 # Set to "yes" if building a shared library automatically hardcodes DIR
21787 # into the library and all subsequent libraries and executables linked
21789 hardcode_automatic=$hardcode_automatic_CXX
21791 # Set to yes if linker adds runtime paths of dependent libraries
21792 # to runtime path list.
21793 inherit_rpath=$inherit_rpath_CXX
21795 # Whether libtool must link a program against all its dependency libraries.
21796 link_all_deplibs=$link_all_deplibs_CXX
21798 # Fix the shell variable \$srcfile for the compiler.
21799 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21801 # Set to "yes" if exported symbols are required.
21802 always_export_symbols=$always_export_symbols_CXX
21804 # The commands to list exported symbols.
21805 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21807 # Symbols that should not be listed in the preloaded symbols.
21808 exclude_expsyms=$lt_exclude_expsyms_CXX
21810 # Symbols that must always be exported.
21811 include_expsyms=$lt_include_expsyms_CXX
21813 # Commands necessary for linking programs (against libraries) with templates.
21814 prelink_cmds=$lt_prelink_cmds_CXX
21816 # Specify filename containing input files.
21817 file_list_spec=$lt_file_list_spec_CXX
21819 # How to hardcode a shared library path into an executable.
21820 hardcode_action=$hardcode_action_CXX
21822 # The directories searched by this compiler when creating a shared library.
21823 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21825 # Dependencies to place before and after the objects being linked to
21826 # create a shared library.
21827 predep_objects=$lt_predep_objects_CXX
21828 postdep_objects=$lt_postdep_objects_CXX
21829 predeps=$lt_predeps_CXX
21830 postdeps=$lt_postdeps_CXX
21832 # The library search path used internally by the compiler when linking
21833 # a shared library.
21834 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21836 # ### END LIBTOOL TAG CONFIG: CXX
21840 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
21841 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
21844 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
21845 as_fn_error $?
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21847 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21852 '"s|^| $ac_top_srcdir/|" \
21853 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
21855 sed '/^POTFILES =/,/[^\\]$/ {
21859 ' "po/Makefile.in" >"po/Makefile"
21860 rm -f "po/Makefile.tmp"
21861 mv "po/stamp-it.tmp" "po/stamp-it"
21870 ac_clean_files
=$ac_clean_files_save
21872 test $ac_write_fail = 0 ||
21873 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21876 # configure is writing to config.log, and then calls config.status.
21877 # config.status does its own redirection, appending to config.log.
21878 # Unfortunately, on DOS this fails, as config.log is still kept open
21879 # by configure, so config.status won't be able to write to it; its
21880 # output is simply discarded. So we exec the FD to /dev/null,
21881 # effectively closing config.log, so it can be properly (re)opened and
21882 # appended to by config.status. When coming back to configure, we
21883 # need to make the FD available again.
21884 if test "$no_create" != yes; then
21886 ac_config_status_args
=
21887 test "$silent" = yes &&
21888 ac_config_status_args
="$ac_config_status_args --quiet"
21890 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21892 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21893 # would make configure fail if this is the last instruction.
21894 $ac_cs_success || as_fn_exit
1
21896 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21898 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21906 Source code location: ${srcdir}
21909 Build libtransmission: yes
21911 * optimized for low-resource systems: ${enable_lightweight}
21912 * µTP enabled: ${build_utp}
21914 Build Command-Line client: ${build_cli}
21916 Build GTK+ client: ${build_gtk}
21918 Optional dependencies for GTK+ client:
21920 * dbus support: ${use_dbus_glib}
21921 * gio for watchdir and mime-type support: ${use_gio}
21922 * libnotify for 'download completed' popups: ${use_libnotify}
21923 * libcanberra for 'download completed' sounds: ${use_canberra}
21924 * libappindicator for an Ubuntu-style tray: ${use_libappindicator}
21926 Build Daemon: ${build_daemon}
21928 Build Mac client: ${build_mac}