2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Automated Testing Framework 0.7.
5 # Report bugs to <atf-devel@NetBSD.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
16 # Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
17 ## -------------------- ##
18 ## M4sh Initialization. ##
19 ## -------------------- ##
21 # Be more Bourne compatible
22 DUALCASE
=1; export DUALCASE
# for MKS sh
23 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27 # is contrary to our usage. Disable this feature.
28 alias -g '${1+"$@"}'='"$@"'
31 case `(set -o) 2>/dev/null` in #(
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 # Prefer a ksh shell builtin over an external printf program on Solaris,
48 # but without wasting forks for bash or zsh.
49 if test -z "$BASH_VERSION$ZSH_VERSION" \
50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo_n='print
-rn --'
53 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
57 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
59 as_echo_n='/usr
/ucb
/echo -n'
61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66 expr "X$arg" : "X\\(.*\\)$as_nl";
67 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
72 as_echo_n='sh
-c $as_echo_n_body as_echo
'
75 as_echo='sh
-c $as_echo_body as_echo
'
78 # The user is always right.
79 if test "${PATH_SEPARATOR+set}" != set; then
81 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89 # We need space, tab and new line, in precisely that order. Quoting is
90 # there to prevent editors from complaining about space-tab.
91 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
92 # splitting by setting IFS to empty value.)
95 # Find who we are. Look in the path if we contain no directory separator.
97 *[\\/]* ) as_myself=$0 ;;
98 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 test -z "$as_dir" && as_dir=.
103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109 # We did not find ourselves, most probably we were run as `sh COMMAND'
110 # in which case we are not to be found in the path.
111 if test "x$as_myself" = x
; then
114 if test ! -f "$as_myself"; then
115 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 # Unset variables that we do not need and which cause bugs (e.g. in
120 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 # suppresses any "Segmentation fault" message there. '((' could
122 # trigger a bug in pdksh 5.2.14.
123 for as_var
in BASH_ENV ENV MAIL MAILPATH
124 do eval test x\
${$as_var+set} = xset \
125 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
138 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
140 if test "x$CONFIG_SHELL" = x
; then
141 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145 # is contrary to our usage. Disable this feature.
146 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 case \`(set -o) 2>/dev/null\` in #(
157 as_required
="as_fn_return () { (exit \$1); }
158 as_fn_success () { as_fn_return 0; }
159 as_fn_failure () { as_fn_return 1; }
160 as_fn_ret_success () { return 0; }
161 as_fn_ret_failure () { return 1; }
164 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171 exitcode=1; echo positional parameters were not saved.
173 test x\$exitcode = x0 || exit 1"
174 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
175 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
176 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test \$(( 1 + 1 )) = 2 || exit 1"
179 if (eval "$as_required") 2>/dev
/null
; then :
184 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
189 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir
=.
196 for as_base
in sh bash ksh sh5
; do
197 # Try only shells that exist, to save several forks.
198 as_shell
=$as_dir/$as_base
199 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
200 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
201 CONFIG_SHELL
=$as_shell as_have_required
=yes
202 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
210 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
211 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
212 CONFIG_SHELL
=$SHELL as_have_required
=yes
217 if test "x$CONFIG_SHELL" != x
; then :
218 # We cannot yet assume a decent shell, so we have to provide a
219 # neutralization value for shells without unset; and this also
220 # works around shells that cannot unset nonexistent variables.
223 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
225 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 if test x
$as_have_required = xno
; then :
229 $as_echo "$0: This script requires a shell more modern than all"
230 $as_echo "$0: the shells that I found on your system."
231 if test x
${ZSH_VERSION+set} = xset
; then
232 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
233 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
235 $as_echo "$0: Please tell bug-autoconf@gnu.org and
236 $0: atf-devel@NetBSD.org about your system, including any
237 $0: error possibly output before this message. Then install
238 $0: a modern shell, or manually run the script under such a
239 $0: shell if you do have one."
245 SHELL
=${CONFIG_SHELL-/bin/sh}
247 # Unset more variables known to interfere with behavior of common tools.
248 CLICOLOR_FORCE
= GREP_OPTIONS
=
249 unset CLICOLOR_FORCE GREP_OPTIONS
251 ## --------------------- ##
252 ## M4sh Shell Functions. ##
253 ## --------------------- ##
256 # Portably unset VAR.
259 { eval $1=; unset $1;}
263 # as_fn_set_status STATUS
264 # -----------------------
265 # Set $? to STATUS, without forking.
273 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
283 # Create "$as_dir" as a directory, including parents if necessary.
288 -*) as_dir
=.
/$as_dir;;
290 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
294 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297 as_dirs
="'$as_qdir' $as_dirs"
298 as_dir
=`$as_dirname -- "$as_dir" ||
299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
300 X"$as_dir" : 'X\(//\)[^/]' \| \
301 X"$as_dir" : 'X\(//\)$' \| \
302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
303 $as_echo X"$as_dir" |
304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
321 test -d "$as_dir" && break
323 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
324 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
328 # as_fn_append VAR VALUE
329 # ----------------------
330 # Append the text in VALUE to the end of the definition contained in VAR. Take
331 # advantage of any shell optimizations that allow amortized linear growth over
332 # repeated appends, instead of the typical quadratic growth present in naive
334 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
335 eval 'as_fn_append ()
348 # Perform arithmetic evaluation on the ARGs, and store the result in the
349 # global $as_val. Take advantage of shells that can avoid forks. The arguments
350 # must be portable across $(()) and expr.
351 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
359 as_val
=`expr "$@" || test $? -eq 1`
364 # as_fn_error ERROR [LINENO LOG_FD]
365 # ---------------------------------
366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
368 # script with status $?, using 1 if that was 0.
371 as_status
=$?
; test $as_status -eq 0 && as_status
=1
373 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 $as_echo "$as_me: error: $1" >&2
377 as_fn_exit
$as_status
380 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
381 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
387 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
399 as_me
=`$as_basename -- "$0" ||
400 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
401 X"$0" : 'X\(//\)$' \| \
402 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 sed '/^.*\/\([^/][^/]*\)\/*$/{
418 # Avoid depending upon Character Ranges.
419 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
420 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
421 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
422 as_cr_digits
='0123456789'
423 as_cr_alnum
=$as_cr_Letters$as_cr_digits
426 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
427 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
428 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
429 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
430 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 chmod +x
"$as_me.lineno" ||
447 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
449 # Don't try to exec as it changes $[0], causing all sort of problems
450 # (the dirname of $[0] is not the place where we might find the
451 # original and so on. Autoconf is especially sensitive to this).
453 # Exit status is that of the last command.
457 ECHO_C
= ECHO_N
= ECHO_T
=
458 case `echo -n x` in #(((((
460 case `echo 'xy\c'` in
461 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
463 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
470 rm -f conf$$ conf$$.exe conf$$.
file
471 if test -d conf$$.dir
; then
472 rm -f conf$$.dir
/conf$$.
file
475 mkdir conf$$.dir
2>/dev
/null
477 if (echo >conf$$.
file) 2>/dev
/null
; then
478 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
480 # ... but there are two gotchas:
481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483 # In both cases, we have to default to `cp -p'.
484 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
486 elif ln conf$$.
file conf$$
2>/dev
/null
; then
494 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
495 rmdir conf$$.dir
2>/dev
/null
497 if mkdir
-p .
2>/dev
/null
; then
498 as_mkdir_p
='mkdir -p "$as_dir"'
500 test -d .
/-p && rmdir .
/-p
504 if test -x / >/dev
/null
2>&1; then
507 if ls -dL / >/dev
/null
2>&1; then
514 if test -d "$1"; then
520 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521 ???[sx]*):;;*)false;;esac;fi
525 as_executable_p
=$as_test_x
527 # Sed expression to map a string onto a valid CPP name.
528 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530 # Sed expression to map a string onto a valid variable name.
531 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535 # Check that we are running under the correct shell.
536 SHELL
=${CONFIG_SHELL-/bin/sh}
540 # Remove one level of quotation (which was required for Make).
541 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
546 if test "X$1" = X--no-reexec
; then
547 # Discard the --no-reexec flag, and continue.
549 elif test "X$1" = X--fallback-echo
; then
550 # Avoid inline document here, it may be left over
552 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
553 # Yippee, $ECHO works!
556 # Restart under the correct shell.
557 exec $SHELL "$0" --no-reexec ${1+"$@"}
560 if test "X$1" = X--fallback-echo
; then
561 # used as fallback echo
569 # The HP-UX ksh and POSIX shell print the target directory to stdout
571 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
573 if test -z "$lt_ECHO"; then
574 if test "X${echo_test_string+set}" != Xset
; then
575 # find a string as large as possible, as long as the shell can cope with it
576 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
577 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
578 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
579 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
586 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
587 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
588 test "X$echo_testing_string" = "X$echo_test_string"; then
591 # The Solaris, AIX, and Digital Unix default echo programs unquote
592 # backslashes. This makes it impossible to quote backslashes using
593 # echo "$something" | sed 's/\\/\\\\/g'
595 # So, first we look for a working echo in the user's PATH.
597 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
598 for dir
in $PATH /usr
/ucb
; do
600 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
601 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
602 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
603 test "X$echo_testing_string" = "X$echo_test_string"; then
610 if test "X$ECHO" = Xecho
; then
611 # We didn't find a better echo, so look for alternatives.
612 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
613 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
614 test "X$echo_testing_string" = "X$echo_test_string"; then
615 # This shell has a builtin print -r that does the trick.
617 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
618 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
619 # If we have ksh, try running configure again with it.
620 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
621 export ORIGINAL_CONFIG_SHELL
622 CONFIG_SHELL
=/bin
/ksh
624 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
634 test "X$echo_testing_string" = 'X\t' &&
635 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
636 test "X$echo_testing_string" = "X$echo_test_string"; then
637 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
639 SHELL
="$CONFIG_SHELL"
641 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
642 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
643 test "X$echo_testing_string" = 'X\t' &&
644 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
646 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
648 # maybe with a smaller string...
651 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
652 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
659 if test "$prev" != 'sed 50q "$0"'; then
660 echo_test_string
=`eval $prev`
661 export echo_test_string
662 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664 # Oops. We lost completely, so just stick with echo.
673 # Copy echo and quote the copy suitably for passing to libtool from
674 # the Makefile, instead of quoting the original, which is used later.
676 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
677 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
683 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
687 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
688 # so uname gets run too.
689 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
694 ac_default_prefix
=/usr
/local
696 ac_config_libobj_dir
=.
703 # Identity of this package.
704 PACKAGE_NAME
='Automated Testing Framework'
705 PACKAGE_TARNAME
='atf'
706 PACKAGE_VERSION
='0.7'
707 PACKAGE_STRING
='Automated Testing Framework 0.7'
708 PACKAGE_BUGREPORT
='atf-devel@NetBSD.org'
709 PACKAGE_URL
='http://www.NetBSD.org/~jmmv/atf/'
711 ac_unique_file
="atf-c.h"
712 # Factoring default headers for most tests.
713 ac_includes_default
="\
715 #ifdef HAVE_SYS_TYPES_H
716 # include <sys/types.h>
718 #ifdef HAVE_SYS_STAT_H
719 # include <sys/stat.h>
725 # ifdef HAVE_STDLIB_H
730 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
735 #ifdef HAVE_STRINGS_H
736 # include <strings.h>
738 #ifdef HAVE_INTTYPES_H
739 # include <inttypes.h>
748 ac_subst_vars
='am__EXEEXT_FALSE
832 INSTALL_STRIP_PROGRAM
886 program_transform_name
899 enable_option_checking
900 enable_unstable_shared
905 enable_dependency_tracking
911 ac_precious_vars
='build_alias
942 # Initialize some variables set by options.
944 ac_init_version
=false
945 ac_unrecognized_opts
=
947 # The variables have the same names as the options, with
948 # dashes changed to underlines.
956 program_transform_name
=s
,x
,x
,
964 # Installation directory options.
965 # These are left unexpanded so users can "make install exec_prefix=/foo"
966 # and all the variables that are supposed to be based on exec_prefix
967 # by default will actually change.
968 # Use braces instead of parens because sh, perl, etc. also accept them.
969 # (The list follows the same order as the GNU Coding Standards.)
970 bindir
='${exec_prefix}/bin'
971 sbindir
='${exec_prefix}/sbin'
972 libexecdir
='${exec_prefix}/libexec'
973 datarootdir
='${prefix}/share'
974 datadir
='${datarootdir}'
975 sysconfdir
='${prefix}/etc'
976 sharedstatedir
='${prefix}/com'
977 localstatedir
='${prefix}/var'
978 includedir
='${prefix}/include'
979 oldincludedir
='/usr/include'
980 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
981 infodir
='${datarootdir}/info'
986 libdir
='${exec_prefix}/lib'
987 localedir
='${datarootdir}/locale'
988 mandir
='${datarootdir}/man'
994 # If the previous option needs an argument, assign it.
995 if test -n "$ac_prev"; then
996 eval $ac_prev=\
$ac_option
1002 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1006 # Accept the important Cygnus configure options, so we can diagnose typos.
1008 case $ac_dashdash$ac_option in
1012 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1014 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1015 bindir
=$ac_optarg ;;
1017 -build |
--build |
--buil |
--bui |
--bu)
1018 ac_prev
=build_alias
;;
1019 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1020 build_alias
=$ac_optarg ;;
1022 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1023 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1024 ac_prev
=cache_file
;;
1025 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1026 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1027 cache_file
=$ac_optarg ;;
1029 --config-cache |
-C)
1030 cache_file
=config.cache
;;
1032 -datadir |
--datadir |
--datadi |
--datad)
1034 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1035 datadir
=$ac_optarg ;;
1037 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1038 |
--dataroo |
--dataro |
--datar)
1039 ac_prev
=datarootdir
;;
1040 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1041 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1042 datarootdir
=$ac_optarg ;;
1044 -disable-* |
--disable-*)
1045 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1048 as_fn_error
"invalid feature name: $ac_useropt"
1049 ac_useropt_orig
=$ac_useropt
1050 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_
$ac_useropt"
1055 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1056 ac_unrecognized_sep
=', ';;
1058 eval enable_
$ac_useropt=no
;;
1060 -docdir |
--docdir |
--docdi |
--doc |
--do)
1062 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1063 docdir
=$ac_optarg ;;
1065 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1067 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1068 dvidir
=$ac_optarg ;;
1070 -enable-* |
--enable-*)
1071 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1074 as_fn_error
"invalid feature name: $ac_useropt"
1075 ac_useropt_orig
=$ac_useropt
1076 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1079 "enable_
$ac_useropt"
1081 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1082 ac_unrecognized_sep
=', ';;
1084 eval enable_
$ac_useropt=\
$ac_optarg ;;
1086 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1087 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1088 |
--exec |
--exe |
--ex)
1089 ac_prev
=exec_prefix
;;
1090 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1091 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1092 |
--exec=* |
--exe=* |
--ex=*)
1093 exec_prefix
=$ac_optarg ;;
1095 -gas |
--gas |
--ga |
--g)
1096 # Obsolete; use --with-gas.
1099 -help |
--help |
--hel |
--he |
-h)
1100 ac_init_help
=long
;;
1101 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1102 ac_init_help
=recursive
;;
1103 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1104 ac_init_help
=short
;;
1106 -host |
--host |
--hos |
--ho)
1107 ac_prev
=host_alias
;;
1108 -host=* |
--host=* |
--hos=* |
--ho=*)
1109 host_alias
=$ac_optarg ;;
1111 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1113 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1115 htmldir
=$ac_optarg ;;
1117 -includedir |
--includedir |
--includedi |
--included |
--include \
1118 |
--includ |
--inclu |
--incl |
--inc)
1119 ac_prev
=includedir
;;
1120 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1121 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1122 includedir
=$ac_optarg ;;
1124 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1126 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1127 infodir
=$ac_optarg ;;
1129 -libdir |
--libdir |
--libdi |
--libd)
1131 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1132 libdir
=$ac_optarg ;;
1134 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1135 |
--libexe |
--libex |
--libe)
1136 ac_prev
=libexecdir
;;
1137 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1138 |
--libexe=* |
--libex=* |
--libe=*)
1139 libexecdir
=$ac_optarg ;;
1141 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1142 ac_prev
=localedir
;;
1143 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1144 localedir
=$ac_optarg ;;
1146 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1147 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1148 ac_prev
=localstatedir
;;
1149 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1150 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1151 localstatedir
=$ac_optarg ;;
1153 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1155 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1156 mandir
=$ac_optarg ;;
1158 -nfp |
--nfp |
--nf)
1159 # Obsolete; use --without-fp.
1162 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1163 |
--no-cr |
--no-c |
-n)
1166 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1167 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1170 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1171 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1172 |
--oldin |
--oldi |
--old |
--ol |
--o)
1173 ac_prev
=oldincludedir
;;
1174 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1175 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1176 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1177 oldincludedir
=$ac_optarg ;;
1179 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1181 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1182 prefix
=$ac_optarg ;;
1184 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1185 |
--program-pre |
--program-pr |
--program-p)
1186 ac_prev
=program_prefix
;;
1187 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1188 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1189 program_prefix
=$ac_optarg ;;
1191 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1192 |
--program-suf |
--program-su |
--program-s)
1193 ac_prev
=program_suffix
;;
1194 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1195 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1196 program_suffix
=$ac_optarg ;;
1198 -program-transform-name |
--program-transform-name \
1199 |
--program-transform-nam |
--program-transform-na \
1200 |
--program-transform-n |
--program-transform- \
1201 |
--program-transform |
--program-transfor \
1202 |
--program-transfo |
--program-transf \
1203 |
--program-trans |
--program-tran \
1204 |
--progr-tra |
--program-tr |
--program-t)
1205 ac_prev
=program_transform_name
;;
1206 -program-transform-name=* |
--program-transform-name=* \
1207 |
--program-transform-nam=* |
--program-transform-na=* \
1208 |
--program-transform-n=* |
--program-transform-=* \
1209 |
--program-transform=* |
--program-transfor=* \
1210 |
--program-transfo=* |
--program-transf=* \
1211 |
--program-trans=* |
--program-tran=* \
1212 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1213 program_transform_name
=$ac_optarg ;;
1215 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1217 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1218 pdfdir
=$ac_optarg ;;
1220 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1222 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1225 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1226 |
-silent |
--silent |
--silen |
--sile |
--sil)
1229 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1231 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1233 sbindir
=$ac_optarg ;;
1235 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1236 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1237 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1239 ac_prev
=sharedstatedir
;;
1240 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1241 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1242 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1244 sharedstatedir
=$ac_optarg ;;
1246 -site |
--site |
--sit)
1248 -site=* |
--site=* |
--sit=*)
1251 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1253 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1254 srcdir
=$ac_optarg ;;
1256 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1257 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1258 ac_prev
=sysconfdir
;;
1259 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1260 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1261 sysconfdir
=$ac_optarg ;;
1263 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1264 ac_prev
=target_alias
;;
1265 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1266 target_alias
=$ac_optarg ;;
1268 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1271 -version |
--version |
--versio |
--versi |
--vers |
-V)
1272 ac_init_version
=: ;;
1275 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1276 # Reject names that are not valid shell variable names.
1277 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1278 as_fn_error
"invalid package name: $ac_useropt"
1279 ac_useropt_orig
=$ac_useropt
1280 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1281 case $ac_user_opts in
1285 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1286 ac_unrecognized_sep
=', ';;
1288 eval with_
$ac_useropt=\
$ac_optarg ;;
1290 -without-* |
--without-*)
1291 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1292 # Reject names that are not valid shell variable names.
1293 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1294 as_fn_error
"invalid package name: $ac_useropt"
1295 ac_useropt_orig
=$ac_useropt
1296 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297 case $ac_user_opts in
1301 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1302 ac_unrecognized_sep
=', ';;
1304 eval with_
$ac_useropt=no
;;
1307 # Obsolete; use --with-x.
1310 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1311 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1312 ac_prev
=x_includes
;;
1313 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1314 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1315 x_includes
=$ac_optarg ;;
1317 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1318 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1319 ac_prev
=x_libraries
;;
1320 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1321 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1322 x_libraries
=$ac_optarg ;;
1324 -*) as_fn_error
"unrecognized option: \`$ac_option'
1325 Try \`$0 --help' for more information."
1329 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1330 # Reject names that are not valid shell variable names.
1331 case $ac_envvar in #(
1332 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1333 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1335 eval $ac_envvar=\
$ac_optarg
1336 export $ac_envvar ;;
1339 # FIXME: should be removed in autoconf 3.0.
1340 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1341 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1342 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1343 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 if test -n "$ac_prev"; then
1350 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1351 as_fn_error
"missing argument to $ac_option"
1354 if test -n "$ac_unrecognized_opts"; then
1355 case $enable_option_checking in
1357 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1383 # There might be people who depend on the old broken behavior: `$host'
1384 # used to hold the argument of --host etc.
1385 # FIXME: To remove some day.
1388 target
=$target_alias
1390 # FIXME: To remove some day.
1391 if test "x$host_alias" != x
; then
1392 if test "x$build_alias" = x
; then
1393 cross_compiling
=maybe
1394 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1395 If a cross compiler is detected then cross compile mode will be used." >&2
1396 elif test "x$build_alias" != "x$host_alias"; then
1402 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1404 test "$silent" = yes && exec 6>/dev
/null
1407 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1408 ac_ls_di
=`ls -di .` &&
1409 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1410 as_fn_error
"working directory cannot be determined"
1411 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412 as_fn_error
"pwd does not report name of working directory"
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1453 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1457 # When building in place, set srcdir=.
1458 if test "$ac_abs_confdir" = "$ac_pwd"; then
1461 # Remove unnecessary trailing slashes from srcdir.
1462 # Double slashes in file names in object file debugging info
1463 # mess up M-x gdb in Emacs.
1465 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467 for ac_var
in $ac_precious_vars; do
1468 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1469 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1470 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1475 # Report the --help message.
1477 if test "$ac_init_help" = "long"; then
1478 # Omit some internal or obsolete options to make the list less imposing.
1479 # This message is too long to be a string in the A/UX 3.1 sh.
1481 \`configure' configures Automated Testing Framework 0.7 to adapt to many kinds of systems.
1483 Usage: $0 [OPTION]... [VAR=VALUE]...
1485 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1486 VAR=VALUE. See below for descriptions of some of the useful variables.
1488 Defaults for the options are specified in brackets.
1491 -h, --help display this help and exit
1492 --help=short display options specific to this package
1493 --help=recursive display the short help of all the included packages
1494 -V, --version display version information and exit
1495 -q, --quiet, --silent do not print \`checking...' messages
1496 --cache-file=FILE cache test results in FILE [disabled]
1497 -C, --config-cache alias for \`--cache-file=config.cache'
1498 -n, --no-create do not create output files
1499 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1501 Installation directories:
1502 --prefix=PREFIX install architecture-independent files in PREFIX
1503 [$ac_default_prefix]
1504 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1507 By default, \`make install' will install all the files in
1508 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1509 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1510 for instance \`--prefix=\$HOME'.
1512 For better control, use the options below.
1514 Fine tuning of the installation directories:
1515 --bindir=DIR user executables [EPREFIX/bin]
1516 --sbindir=DIR system admin executables [EPREFIX/sbin]
1517 --libexecdir=DIR program executables [EPREFIX/libexec]
1518 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1519 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1520 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1521 --libdir=DIR object code libraries [EPREFIX/lib]
1522 --includedir=DIR C header files [PREFIX/include]
1523 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1524 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1525 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1526 --infodir=DIR info documentation [DATAROOTDIR/info]
1527 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1528 --mandir=DIR man documentation [DATAROOTDIR/man]
1529 --docdir=DIR documentation root [DATAROOTDIR/doc/atf]
1530 --htmldir=DIR html documentation [DOCDIR]
1531 --dvidir=DIR dvi documentation [DOCDIR]
1532 --pdfdir=DIR pdf documentation [DOCDIR]
1533 --psdir=DIR ps documentation [DOCDIR]
1539 --program-prefix=PREFIX prepend PREFIX to installed program names
1540 --program-suffix=SUFFIX append SUFFIX to installed program names
1541 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1544 --build=BUILD configure
for building on BUILD
[guessed
]
1545 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1546 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1550 if test -n "$ac_init_help"; then
1551 case $ac_init_help in
1552 short | recursive
) echo "Configuration of Automated Testing Framework 0.7:";;
1557 --disable-option-checking ignore unrecognized
--enable/--with options
1558 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1559 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1560 --enable-unstable-shared
1561 Enables the build of shared libraries with unstable
1563 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1564 --enable-static[=PKGS
] build static libraries
[default
=yes]
1565 --enable-fast-install[=PKGS
]
1566 optimize
for fast installation
[default
=yes]
1567 --disable-dependency-tracking speeds up one-time build
1568 --enable-dependency-tracking do not reject slow dependency extractors
1569 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1570 --enable-developer enable developer features
1571 --enable-doc-build enable building of documentation
1574 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1575 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1576 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1578 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1580 Some influential environment variables
:
1581 CC C compiler
command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1584 nonstandard directory
<lib dir
>
1585 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1586 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1587 you have headers
in a nonstandard directory
<include dir
>
1589 CXX C
++ compiler
command
1590 CXXFLAGS C
++ compiler flags
1591 CXXCPP C
++ preprocessor
1593 C compiler to use
at runtime
1595 C compiler flags to use
at runtime
1597 C
/C
++ preprocessor to use
at runtime
1599 C
/C
++ preprocessor flags to use
at runtime
1601 C
++ compiler to use
at runtime
1603 C
++ compiler flags to use
at runtime
1604 LINKS Absolute path to the links tool
; build-time only
1605 TIDY Absolute path to the tidy tool
; build-time only
1606 XMLCATALOG Absolute path to the xmlcatalog tool
; build-time only
1607 XMLLINT Absolute path to the xmllint tool
; build-time only
1608 XSLTPROC Absolute path to the xsltproc tool
; build-time only
1610 XML catalog to use
(default
: /etc
/xml
/catalog
)
1612 Subdirectory of sysconfdir under
which to
look for files
1613 ATF_WORKDIR Default location to use
for ATF work directories
1614 ATF_SHELL Location of the POSIX shell interpreter to use
1615 ATF_M4 M4 tool to generate GNU Automake files
1617 Use these variables to override the choices made by
`configure' or to help
1618 it to find libraries and programs with nonstandard names/locations.
1620 Report bugs to <atf-devel@NetBSD.org>.
1621 Automated Testing Framework home page: <http://www.NetBSD.org/~jmmv/atf/>.
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1651 .) # We are building in place.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1684 Automated Testing Framework configure 0.7
1685 generated by GNU Autoconf 2.65
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1691 Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.
1696 ## ------------------------ ##
1697 ## Autoconf initialization. ##
1698 ## ------------------------ ##
1700 # ac_fn_c_try_compile LINENO
1701 # --------------------------
1702 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1703 ac_fn_c_try_compile ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 rm -f conftest.$ac_objext
1707 if { { ac_try="$ac_compile"
1709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1710 *) ac_try_echo
=$ac_try;;
1712 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_compile") 2>conftest.err
1716 if test -s conftest.err
; then
1717 grep -v '^ *+' conftest.err
>conftest.er1
1718 cat conftest.er1
>&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } && {
1723 test -z "$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1725 } && test -s conftest.
$ac_objext; then :
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.
$ac_ext >&5
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1734 as_fn_set_status
$ac_retval
1736 } # ac_fn_c_try_compile
1738 # ac_fn_c_try_link LINENO
1739 # -----------------------
1740 # Try to link conftest.$ac_ext, and return whether this succeeded.
1743 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1744 rm -f conftest.
$ac_objext conftest
$ac_exeext
1745 if { { ac_try
="$ac_link"
1747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1748 *) ac_try_echo=$ac_try;;
1750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751 $as_echo "$ac_try_echo"; } >&5
1752 (eval "$ac_link") 2>conftest.err
1754 if test -s conftest.err; then
1755 grep -v '^ *+' conftest.err >conftest.er1
1756 cat conftest.er1 >&5
1757 mv -f conftest.er1 conftest.err
1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760 test $ac_status = 0; } && {
1761 test -z "$ac_c_werror_flag" ||
1762 test ! -s conftest.err
1763 } && test -s conftest$ac_exeext && {
1764 test "$cross_compiling" = yes ||
1765 $as_test_x conftest$ac_exeext
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1774 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1775 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1776 # interfere with the next link command; also delete a directory that is
1777 # left behind by Apple's compiler. We do this before executing the actions.
1778 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1780 as_fn_set_status $ac_retval
1782 } # ac_fn_c_try_link
1784 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785 # -------------------------------------------------------
1786 # Tests whether HEADER exists and can be compiled using the include files in
1787 # INCLUDES, setting the cache variable VAR accordingly.
1788 ac_fn_c_check_header_compile ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 } # ac_fn_c_check_header_compile
1815 # ac_fn_c_try_cpp LINENO
1816 # ----------------------
1817 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_cpp conftest.$ac_ext"
1823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1824 *) ac_try_echo
=$ac_try;;
1826 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1830 if test -s conftest.err
; then
1831 grep -v '^ *+' conftest.err
>conftest.er1
1832 cat conftest.er1
>&5
1833 mv -f conftest.er1 conftest.err
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; } >/dev
/null
&& {
1837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.
$ac_ext >&5
1847 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1848 as_fn_set_status
$ac_retval
1852 # ac_fn_c_try_run LINENO
1853 # ----------------------
1854 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1855 # that executables *can* be run.
1858 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1859 if { { ac_try
="$ac_link"
1861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_link") 2>&5
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1870 { { case "(($ac_try" in
1871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1872 *) ac_try_echo
=$ac_try;;
1874 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875 $as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_try") 2>&5
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; }; }; then :
1882 $as_echo "$as_me: program exited with status $ac_status" >&5
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.
$ac_ext >&5
1886 ac_retval
=$ac_status
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 as_fn_set_status
$ac_retval
1894 # ac_fn_c_check_func LINENO FUNC VAR
1895 # ----------------------------------
1896 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1897 ac_fn_c_check_func
()
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1903 $as_echo_n "(cached) " >&6
1905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1907 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1909 #define $2 innocuous_$2
1911 /* System header to define __stub macros and hopefully few prototypes,
1912 which can conflict with char $2 (); below.
1913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1914 <limits.h> exists even on freestanding compilers. */
1917 # include <limits.h>
1919 # include <assert.h>
1924 /* Override any GCC internal prototype to avoid an error.
1925 Use char because int might match the return type of a GCC
1926 builtin and then its argument prototype would still apply. */
1931 /* The GNU C library defines this for functions which it implements
1932 to always fail with ENOSYS. Some functions are actually named
1933 something starting with __ and the normal name is an alias. */
1934 #if defined __stub_$2 || defined __stub___$2
1946 if ac_fn_c_try_link
"$LINENO"; then :
1951 rm -f core conftest.err conftest.
$ac_objext \
1952 conftest
$ac_exeext conftest.
$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956 $as_echo "$ac_res" >&6; }
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1959 } # ac_fn_c_check_func
1961 # ac_fn_cxx_try_compile LINENO
1962 # ----------------------------
1963 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1964 ac_fn_cxx_try_compile
()
1966 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1967 rm -f conftest.
$ac_objext
1968 if { { ac_try
="$ac_compile"
1970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1971 *) ac_try_echo=$ac_try;;
1973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1974 $as_echo "$ac_try_echo"; } >&5
1975 (eval "$ac_compile") 2>conftest.err
1977 if test -s conftest.err; then
1978 grep -v '^ *+' conftest.err >conftest.er1
1979 cat conftest.er1 >&5
1980 mv -f conftest.er1 conftest.err
1982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1983 test $ac_status = 0; } && {
1984 test -z "$ac_cxx_werror_flag" ||
1985 test ! -s conftest.err
1986 } && test -s conftest.$ac_objext; then :
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1994 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995 as_fn_set_status $ac_retval
1997 } # ac_fn_cxx_try_compile
1999 # ac_fn_cxx_try_cpp LINENO
2000 # ------------------------
2001 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2002 ac_fn_cxx_try_cpp ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2008 *) ac_try_echo
=$ac_try;;
2010 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 if test -s conftest.err
; then
2015 grep -v '^ *+' conftest.err
>conftest.er1
2016 cat conftest.er1
>&5
2017 mv -f conftest.er1 conftest.err
2019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2020 test $ac_status = 0; } >/dev
/null
&& {
2021 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2022 test ! -s conftest.err
2026 $as_echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.
$ac_ext >&5
2031 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2032 as_fn_set_status
$ac_retval
2034 } # ac_fn_cxx_try_cpp
2036 # ac_fn_cxx_try_link LINENO
2037 # -------------------------
2038 # Try to link conftest.$ac_ext, and return whether this succeeded.
2039 ac_fn_cxx_try_link
()
2041 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2042 rm -f conftest.
$ac_objext conftest
$ac_exeext
2043 if { { ac_try
="$ac_link"
2045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2046 *) ac_try_echo=$ac_try;;
2048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2049 $as_echo "$ac_try_echo"; } >&5
2050 (eval "$ac_link") 2>conftest.err
2052 if test -s conftest.err; then
2053 grep -v '^ *+' conftest.err >conftest.er1
2054 cat conftest.er1 >&5
2055 mv -f conftest.er1 conftest.err
2057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2058 test $ac_status = 0; } && {
2059 test -z "$ac_cxx_werror_flag" ||
2060 test ! -s conftest.err
2061 } && test -s conftest$ac_exeext && {
2062 test "$cross_compiling" = yes ||
2063 $as_test_x conftest$ac_exeext
2067 $as_echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.$ac_ext >&5
2072 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2073 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2074 # interfere with the next link command; also delete a directory that is
2075 # left behind by Apple's compiler. We do this before executing the actions.
2076 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078 as_fn_set_status $ac_retval
2080 } # ac_fn_cxx_try_link
2082 # ac_fn_cxx_try_run LINENO
2083 # ------------------------
2084 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2085 # that executables *can* be run.
2086 ac_fn_cxx_try_run ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if { { ac_try="$ac_link"
2091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2092 *) ac_try_echo
=$ac_try;;
2094 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2095 $as_echo "$ac_try_echo"; } >&5
2096 (eval "$ac_link") 2>&5
2098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2099 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2100 { { case "(($ac_try" in
2101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 $as_echo "$ac_try_echo"; } >&5
2106 (eval "$ac_try") 2>&5
2108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2109 test $ac_status = 0; }; }; then :
2112 $as_echo "$as_me: program exited with status $ac_status" >&5
2113 $as_echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.$ac_ext >&5
2116 ac_retval=$ac_status
2118 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2119 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 as_fn_set_status $ac_retval
2122 } # ac_fn_cxx_try_run
2124 # ac_fn_cxx_check_func LINENO FUNC VAR
2125 # ------------------------------------
2126 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2127 ac_fn_cxx_check_func ()
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2139 #define $2 innocuous_$2
2141 /* System header to define __stub macros and hopefully few prototypes,
2142 which can conflict with char $2 (); below.
2143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2144 <limits.h> exists even on freestanding compilers. */
2147 # include <limits.h>
2149 # include <assert.h>
2154 /* Override any GCC internal prototype to avoid an error.
2155 Use char because int might match the return type of a GCC
2156 builtin and then its argument prototype would still apply. */
2161 /* The GNU C library defines this for functions which it implements
2162 to always fail with ENOSYS. Some functions are actually named
2163 something starting with __ and the normal name is an alias. */
2164 #if defined __stub_$2 || defined __stub___$2
2176 if ac_fn_cxx_try_link "$LINENO"; then :
2181 rm -f core conftest.err conftest.$ac_objext \
2182 conftest$ac_exeext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2189 } # ac_fn_cxx_check_func
2190 cat >config.log <<_ACEOF
2191 This file contains any messages produced by compilers while
2192 running configure, to aid debugging if configure makes a mistake.
2194 It was created by Automated Testing Framework $as_me 0.7, which was
2195 generated by GNU Autoconf 2.65. Invocation command line was
2207 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2208 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2209 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2210 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2211 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2213 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2214 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2216 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2217 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2218 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2219 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2220 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2221 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2222 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 $as_echo "PATH: $as_dir"
2247 # Keep a trace of the command line.
2248 # Strip out --no-create and --no-recursion so they do not pile up.
2249 # Strip out --silent because we don't want to record it for future runs.
2250 # Also quote any args containing shell meta-characters.
2251 # Make two passes to allow for proper duplicate-argument suppression.
2255 ac_must_keep_next=false
2261 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2262 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2263 | -silent | --silent | --silen | --sile | --sil)
2266 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2269 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2271 as_fn_append ac_configure_args1 " '$ac_arg'"
2272 if test $ac_must_keep_next = true; then
2273 ac_must_keep_next=false # Got value, back to normal.
2276 *=* | --config-cache | -C | -disable-* | --disable-* \
2277 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2278 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2279 | -with-* | --with-* | -without-* | --without-* | --x)
2280 case "$ac_configure_args0 " in
2281 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2284 -* ) ac_must_keep_next=true ;;
2287 as_fn_append ac_configure_args " '$ac_arg'"
2292 { ac_configure_args0=; unset ac_configure_args0;}
2293 { ac_configure_args1=; unset ac_configure_args1;}
2295 # When interrupted or exit'd, cleanup temporary files, and complete
2296 # config.log. We remove comments because anyway the quotes in there
2297 # would cause problems or look ugly.
2298 # WARNING: Use '\'' to represent an apostrophe within the trap.
2299 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2300 trap 'exit_status=$?
2301 # Save into config.log some information that might help in debugging.
2306 ## ---------------- ##
2307 ## Cache variables. ##
2308 ## ---------------- ##
2311 # The following way of writing the cache mishandles newlines in values,
2313 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2314 eval ac_val=\$$ac_var
2318 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2319 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2322 _ | IFS | as_nl) ;; #(
2323 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2324 *) { eval $ac_var=; unset $ac_var;} ;;
2329 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2330 *${as_nl}ac_space=\ *)
2332 "s/'\''/'\''\\\\'\'''\''/g;
2333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2344 ## ----------------- ##
2345 ## Output variables. ##
2346 ## ----------------- ##
2349 for ac_var in $ac_subst_vars
2351 eval ac_val=\$$ac_var
2353 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2355 $as_echo "$ac_var='\''$ac_val'\''"
2359 if test -n "$ac_subst_files"; then
2361 ## ------------------- ##
2362 ## File substitutions. ##
2363 ## ------------------- ##
2366 for ac_var in $ac_subst_files
2368 eval ac_val=\$$ac_var
2370 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2372 $as_echo "$ac_var='\''$ac_val'\''"
2377 if test -s confdefs.h; then
2387 test "$ac_signal" != 0 &&
2388 $as_echo "$as_me: caught signal $ac_signal"
2389 $as_echo "$as_me: exit $exit_status"
2391 rm -f core *.core core.conftest.* &&
2392 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2395 for ac_signal in 1 2 13 15; do
2396 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2400 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2401 rm -f -r conftest* confdefs.h
2403 $as_echo "/* confdefs.h */" > confdefs.h
2405 # Predefined preprocessor variables.
2407 cat >>confdefs.h <<_ACEOF
2408 #define PACKAGE_NAME "$PACKAGE_NAME"
2411 cat >>confdefs.h <<_ACEOF
2412 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2415 cat >>confdefs.h <<_ACEOF
2416 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2419 cat >>confdefs.h <<_ACEOF
2420 #define PACKAGE_STRING "$PACKAGE_STRING"
2423 cat >>confdefs.h <<_ACEOF
2424 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2427 cat >>confdefs.h <<_ACEOF
2428 #define PACKAGE_URL "$PACKAGE_URL"
2432 # Let the site file select an alternate cache file if it wants to.
2433 # Prefer an explicitly selected file to automatically selected ones.
2436 if test -n "$CONFIG_SITE"; then
2437 ac_site_file1=$CONFIG_SITE
2438 elif test "x$prefix" != xNONE; then
2439 ac_site_file1=$prefix/share/config.site
2440 ac_site_file2=$prefix/etc/config.site
2442 ac_site_file1=$ac_default_prefix/share/config.site
2443 ac_site_file2=$ac_default_prefix/etc/config.site
2445 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2447 test "x$ac_site_file" = xNONE && continue
2448 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2450 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2451 sed 's/^/| /' "$ac_site_file" >&5
2456 if test -r "$cache_file"; then
2457 # Some versions of bash will fail to source /dev/null (special files
2458 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2459 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2461 $as_echo "$as_me: loading cache $cache_file" >&6;}
2463 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2464 *) . "./$cache_file";;
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2469 $as_echo "$as_me: creating cache $cache_file" >&6;}
2473 # Check that the precious variables saved in the cache have kept the same
2475 ac_cache_corrupted=false
2476 for ac_var in $ac_precious_vars; do
2477 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2478 eval ac_new_set=\$ac_env_${ac_var}_set
2479 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2480 eval ac_new_val=\$ac_env_${ac_var}_value
2481 case $ac_old_set,$ac_new_set in
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2484 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2485 ac_cache_corrupted=: ;;
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2488 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2489 ac_cache_corrupted=: ;;
2492 if test "x$ac_old_val" != "x$ac_new_val"; then
2493 # differences in whitespace do not lead to failure.
2494 ac_old_val_w=`echo x
$ac_old_val`
2495 ac_new_val_w=`echo x
$ac_new_val`
2496 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2498 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2499 ac_cache_corrupted=:
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2502 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2503 eval $ac_var=\$ac_old_val
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2506 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2508 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2511 # Pass precious variables to config.status.
2512 if test "$ac_new_set" = set; then
2514 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2515 *) ac_arg=$ac_var=$ac_new_val ;;
2517 case " $ac_configure_args " in
2518 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2519 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2523 if $ac_cache_corrupted; then
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2527 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2528 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2530 ## -------------------- ##
2531 ## Main body of script. ##
2532 ## -------------------- ##
2535 ac_cpp='$CPP $CPPFLAGS'
2536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2544 $as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2007, 2008, 2009 The NetBSD Foundation, Inc.\"" >>confdefs.h
2547 for ac_dir in admin "$srcdir"/admin; do
2548 for ac_t in install-sh install.sh shtool; do
2549 if test -f "$ac_dir/$ac_t"; then
2551 ac_install_sh="$ac_aux_dir/$ac_t -c"
2556 if test -z "$ac_aux_dir"; then
2557 as_fn_error "cannot find install-sh, install.sh, or shtool in admin \"$srcdir\"/admin" "$LINENO" 5
2560 # These three variables are undocumented and unsupported,
2561 # and are intended to be withdrawn in a future Autoconf release.
2562 # They can cause serious problems if a builder's source tree is in a directory
2563 # whose full name contains unusual characters.
2564 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2565 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2566 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2569 ac_config_headers="$ac_config_headers bconfig.h"
2573 ac_config_commands="$ac_config_commands tests/bootstrap/atconfig"
2576 # Make sure we can run config.sub.
2577 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2578 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2581 $as_echo_n "checking build system type... " >&6; }
2582 if test "${ac_cv_build+set}" = set; then :
2583 $as_echo_n "(cached) " >&6
2585 ac_build_alias=$build_alias
2586 test "x$ac_build_alias" = x &&
2587 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2588 test "x$ac_build_alias" = x &&
2589 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2590 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2591 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2595 $as_echo "$ac_cv_build" >&6; }
2596 case $ac_cv_build in
2598 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2601 ac_save_IFS=$IFS; IFS='-'
2607 # Remember, the first character of IFS is used to create $*,
2608 # except with old shells:
2611 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2615 $as_echo_n "checking host system type... " >&6; }
2616 if test "${ac_cv_host+set}" = set; then :
2617 $as_echo_n "(cached) " >&6
2619 if test "x$host_alias" = x; then
2620 ac_cv_host=$ac_cv_build
2622 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2623 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2628 $as_echo "$ac_cv_host" >&6; }
2631 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2634 ac_save_IFS=$IFS; IFS='-'
2640 # Remember, the first character of IFS is used to create $*,
2641 # except with old shells:
2644 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2648 $as_echo_n "checking target system type... " >&6; }
2649 if test "${ac_cv_target+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test "x$target_alias" = x; then
2653 ac_cv_target=$ac_cv_host
2655 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2656 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2661 $as_echo "$ac_cv_target" >&6; }
2662 case $ac_cv_target in
2664 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2666 target=$ac_cv_target
2667 ac_save_IFS=$IFS; IFS='-'
2673 # Remember, the first character of IFS is used to create $*,
2674 # except with old shells:
2677 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2680 # The aliases save the names the user supplied, while $host etc.
2681 # will get canonicalized.
2682 test -n "$target_alias" &&
2683 test "$program_prefix$program_suffix$program_transform_name" = \
2685 program_prefix=${target_alias}-
2687 am__api_version='1.11'
2689 # Find a good install program. We prefer a C program (faster),
2690 # so one script is as good as another. But avoid the broken or
2691 # incompatible versions:
2692 # SysV /etc/install, /usr/sbin/install
2693 # SunOS /usr/etc/install
2694 # IRIX /sbin/install
2696 # AmigaOS /C/install, which installs bootblocks on floppy discs
2697 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2698 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2699 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2700 # OS/2's system install, which has a completely different semantic
2701 # ./install, which can be erroneously created by make from ./install.sh.
2702 # Reject install programs that cannot install multiple files.
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2704 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2705 if test -z "$INSTALL"; then
2706 if test "${ac_cv_path_install+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 # Account for people who put trailing slashes in PATH elements.
2715 case $as_dir/ in #((
2716 ./ | .// | /[cC]/* | \
2717 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2718 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2721 # OSF1 and SCO ODT 3.0 have their own names for install.
2722 # Don't use installbsd from OSF since it installs stuff as root
2724 for ac_prog in ginstall scoinst install; do
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2727 if test $ac_prog = install &&
2728 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2729 # AIX install. It has an incompatible calling convention.
2731 elif test $ac_prog = install &&
2732 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2733 # program-specific install script used by HP pwplus--don't use.
2736 rm -rf conftest.one conftest.two conftest.dir
2737 echo one > conftest.one
2738 echo two > conftest.two
2740 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2741 test -s conftest.one && test -s conftest.two &&
2742 test -s conftest.dir/conftest.one &&
2743 test -s conftest.dir/conftest.two
2745 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2758 rm -rf conftest.one conftest.two conftest.dir
2761 if test "${ac_cv_path_install+set}" = set; then
2762 INSTALL=$ac_cv_path_install
2764 # As a last resort, use the slow shell script. Don't cache a
2765 # value for INSTALL within a source directory, because that will
2766 # break other packages using the cache if that directory is
2767 # removed, or if the value is a relative name.
2768 INSTALL=$ac_install_sh
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2772 $as_echo "$INSTALL" >&6; }
2774 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2775 # It thinks the first close brace ends the variable substitution.
2776 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2778 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2780 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2783 $as_echo_n "checking whether build environment is sane... " >&6; }
2786 echo timestamp > conftest.file
2787 # Reject unsafe characters in $srcdir or the absolute working directory
2788 # name. Accept space and tab only in the latter.
2792 *[\\\"\#\$\&\'\`$am_lf]*)
2793 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2796 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2797 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2800 # Do `set' in a subshell so we don't clobber the current shell's
2801 # arguments. Must try -L first in case configure is actually a
2802 # symlink; some systems play weird games with the mod time of symlinks
2803 # (eg FreeBSD returns the mod time of the symlink's containing
2806 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2807 if test "$*" = "X"; then
2809 set X
`ls -t "$srcdir/configure" conftest.file`
2812 if test "$*" != "X $srcdir/configure conftest.file" \
2813 && test "$*" != "X conftest.file $srcdir/configure"; then
2815 # If neither matched, then we have a broken ls. This can happen
2816 # if, for instance, CONFIG_SHELL is bash and it inherits a
2817 # broken ls alias from the environment. This has actually
2818 # happened. Such a system could not be considered "sane".
2819 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2820 alias in your environment" "$LINENO" 5
2823 test "$2" = conftest.
file
2829 as_fn_error
"newly created file is older than distributed files!
2830 Check your system clock" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2833 $as_echo "yes" >&6; }
2834 test "$program_prefix" != NONE
&&
2835 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2836 # Use a double $ so make ignores it.
2837 test "$program_suffix" != NONE
&&
2838 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2839 # Double any \ or $.
2840 # By default was `s,x,x', remove it if useless.
2841 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2842 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2844 # expand $ac_aux_dir to an absolute path
2845 am_aux_dir
=`cd $ac_aux_dir && pwd`
2847 if test x
"${MISSING+set}" != xset
; then
2850 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2852 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2855 # Use eval to expand $SHELL
2856 if eval "$MISSING --run true"; then
2857 am_missing_run
="$MISSING --run "
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2861 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2864 if test x
"${install_sh}" != xset
; then
2867 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2869 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2873 # Installed binaries are usually stripped using `strip' when the user
2874 # run `make install-strip'. However `strip' might not be the right
2875 # tool to use in cross-compilation environments, therefore Automake
2876 # will honor the `STRIP' environment variable to overrule this program.
2877 if test "$cross_compiling" != no
; then
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2880 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if test "${ac_cv_prog_STRIP+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$STRIP"; then
2887 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir
=.
2894 for ac_exec_ext
in '' $ac_executable_extensions; do
2895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 STRIP
=$ac_cv_prog_STRIP
2907 if test -n "$STRIP"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2909 $as_echo "$STRIP" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2917 if test -z "$ac_cv_prog_STRIP"; then
2919 # Extract the first word of "strip", so it can be a program name with args.
2920 set dummy strip
; ac_word
=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$ac_ct_STRIP"; then
2927 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir
=.
2934 for ac_exec_ext
in '' $ac_executable_extensions; do
2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2936 ac_cv_prog_ac_ct_STRIP
="strip"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2947 if test -n "$ac_ct_STRIP"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2949 $as_echo "$ac_ct_STRIP" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2955 if test "x$ac_ct_STRIP" = x
; then
2958 case $cross_compiling:$ac_tool_warned in
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2962 ac_tool_warned
=yes ;;
2967 STRIP
="$ac_cv_prog_STRIP"
2971 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2974 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2975 if test -z "$MKDIR_P"; then
2976 if test "${ac_cv_path_mkdir+set}" = set; then :
2977 $as_echo_n "(cached) " >&6
2979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2980 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2983 test -z "$as_dir" && as_dir
=.
2984 for ac_prog
in mkdir gmkdir
; do
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2987 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2988 'mkdir (GNU coreutils) '* | \
2989 'mkdir (coreutils) '* | \
2990 'mkdir (fileutils) '4.1*)
2991 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3001 test -d .
/--version && rmdir .
/--version
3002 if test "${ac_cv_path_mkdir+set}" = set; then
3003 MKDIR_P
="$ac_cv_path_mkdir -p"
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for MKDIR_P within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 MKDIR_P
="$ac_install_sh -d"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3013 $as_echo "$MKDIR_P" >&6; }
3017 [\\/$
]* | ?
:[\\/]*) ;;
3018 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3021 for ac_prog
in gawk mawk nawk
awk
3023 # Extract the first word of "$ac_prog", so it can be a program name with args.
3024 set dummy
$ac_prog; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if test "${ac_cv_prog_AWK+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$AWK"; then
3031 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3040 ac_cv_prog_AWK
="$ac_prog"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$AWK"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3053 $as_echo "$AWK" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3060 test -n "$AWK" && break
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3064 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3066 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3067 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3068 $as_echo_n "(cached) " >&6
3070 cat >conftest.
make <<\_ACEOF
3073 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3075 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3076 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3078 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3080 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3084 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 SET_MAKE
="MAKE=${MAKE-make}"
3094 rm -rf .tst
2>/dev
/null
3095 mkdir .tst
2>/dev
/null
3096 if test -d .tst
; then
3101 rmdir .tst
2>/dev
/null
3103 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3104 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3105 # is not polluted with repeated "-I."
3106 am__isrc
=' -I$(srcdir)'
3107 # test to see if srcdir already configured
3108 if test -f $srcdir/config.status
; then
3109 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3113 # test whether we have cygpath
3114 if test -z "$CYGPATH_W"; then
3115 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3116 CYGPATH_W
='cygpath -w'
3123 # Define the identity of the package.
3128 cat >>confdefs.h
<<_ACEOF
3129 #define PACKAGE "$PACKAGE"
3133 cat >>confdefs.h
<<_ACEOF
3134 #define VERSION "$VERSION"
3137 # Some tools Automake needs.
3139 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3142 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3145 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3148 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3151 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3153 # We need awk for the "check" target. The system "awk" is bad on
3155 # Always define AMTAR for backward compatibility.
3157 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3159 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3166 # Check whether --enable-unstable-shared was given.
3167 if test "${enable_unstable_shared+set}" = set; then :
3168 enableval
=$enable_unstable_shared; case $enableval in
3169 yes|no
) enable_shared
=${enableval} ;;
3170 *) enable_shared
=${enableval} ;;
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3180 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3185 macro_version
='2.2.6b'
3186 macro_revision
='1.3017'
3200 ltmain
="$ac_aux_dir/ltmain.sh"
3202 DEPDIR
="${am__leading_dot}deps"
3204 ac_config_commands
="$ac_config_commands depfiles"
3207 am_make
=${MAKE-make}
3208 cat > confinc
<< 'END'
3210 @
echo this is the am__doit target
3213 # If we don't find an include directive, just comment out the code.
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3215 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3219 # First try GNU make style include.
3220 echo "include confinc" > confmf
3221 # Ignore all kinds of additional output from `make'.
3222 case `$am_make -s -f confmf 2> /dev/null` in #(
3223 *the\ am__doit\ target
*)
3229 # Now try BSD make style include.
3230 if test "$am__include" = "#"; then
3231 echo '.include "confinc"' > confmf
3232 case `$am_make -s -f confmf 2> /dev/null` in #(
3233 *the\ am__doit\ target
*)
3234 am__include
=.include
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3243 $as_echo "$_am_result" >&6; }
3244 rm -f confinc confmf
3246 # Check whether --enable-dependency-tracking was given.
3247 if test "${enable_dependency_tracking+set}" = set; then :
3248 enableval
=$enable_dependency_tracking;
3251 if test "x$enable_dependency_tracking" != xno
; then
3252 am_depcomp
="$ac_aux_dir/depcomp"
3255 if test "x$enable_dependency_tracking" != xno; then
3265 ac_cpp
='$CPP $CPPFLAGS'
3266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3271 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if test "${ac_cv_prog_CC+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC
="$CC" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3287 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test -n "$CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3308 if test -z "$ac_cv_prog_CC"; then
3310 # Extract the first word of "gcc", so it can be a program name with args.
3311 set dummy gcc
; ac_word
=$2
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3313 $as_echo_n "checking for $ac_word... " >&6; }
3314 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3315 $as_echo_n "(cached) " >&6
3317 if test -n "$ac_ct_CC"; then
3318 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3324 test -z "$as_dir" && as_dir
=.
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3327 ac_cv_prog_ac_ct_CC
="gcc"
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3338 if test -n "$ac_ct_CC"; then
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3340 $as_echo "$ac_ct_CC" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3346 if test "x$ac_ct_CC" = x
; then
3349 case $cross_compiling:$ac_tool_warned in
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3353 ac_tool_warned
=yes ;;
3361 if test -z "$CC"; then
3362 if test -n "$ac_tool_prefix"; then
3363 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3364 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366 $as_echo_n "checking for $ac_word... " >&6; }
3367 if test "${ac_cv_prog_CC+set}" = set; then :
3368 $as_echo_n "(cached) " >&6
3370 if test -n "$CC"; then
3371 ac_cv_prog_CC
="$CC" # Let the user override the test.
3373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir
=.
3378 for ac_exec_ext
in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 if test -n "$CC"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 $as_echo "$CC" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3402 if test -z "$CC"; then
3403 # Extract the first word of "cc", so it can be a program name with args.
3404 set dummy cc
; ac_word
=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_CC+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3410 if test -n "$CC"; then
3411 ac_cv_prog_CC
="$CC" # Let the user override the test.
3414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3418 test -z "$as_dir" && as_dir
=.
3419 for ac_exec_ext
in '' $ac_executable_extensions; do
3420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3421 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3422 ac_prog_rejected
=yes
3426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 if test $ac_prog_rejected = yes; then
3434 # We found a bogon in the path, so make sure we never use it.
3435 set dummy
$ac_cv_prog_CC
3437 if test $# != 0; then
3438 # We chose a different compiler from the bogus one.
3439 # However, it has the same basename, so the bogon will be chosen
3440 # first if we set CC to just the basename; use the full file name.
3442 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3448 if test -n "$CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3458 if test -z "$CC"; then
3459 if test -n "$ac_tool_prefix"; then
3460 for ac_prog
in cl.exe
3462 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3463 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if test "${ac_cv_prog_CC+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 if test -n "$CC"; then
3470 ac_cv_prog_CC
="$CC" # Let the user override the test.
3472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3476 test -z "$as_dir" && as_dir
=.
3477 for ac_exec_ext
in '' $ac_executable_extensions; do
3478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test -n "$CC"; then
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3492 $as_echo "$CC" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3499 test -n "$CC" && break
3502 if test -z "$CC"; then
3504 for ac_prog
in cl.exe
3506 # Extract the first word of "$ac_prog", so it can be a program name with args.
3507 set dummy
$ac_prog; ac_word
=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -n "$ac_ct_CC"; then
3514 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir
=.
3521 for ac_exec_ext
in '' $ac_executable_extensions; do
3522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523 ac_cv_prog_ac_ct_CC
="$ac_prog"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3536 $as_echo "$ac_ct_CC" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3543 test -n "$ac_ct_CC" && break
3546 if test "x$ac_ct_CC" = x
; then
3549 case $cross_compiling:$ac_tool_warned in
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3553 ac_tool_warned
=yes ;;
3562 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564 as_fn_error
"no acceptable C compiler found in \$PATH
3565 See \`config.log' for more details." "$LINENO" 5; }
3567 # Provide some information about the compiler.
3568 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3571 for ac_option
in --version -v -V -qversion; do
3572 { { ac_try
="$ac_compiler $ac_option >&5"
3574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3575 *) ac_try_echo=$ac_try;;
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
3579 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3581 if test -s conftest.err; then
3583 ... rest of stderr output deleted ...
3584 10q' conftest.err >conftest.er1
3585 cat conftest.er1 >&5
3587 rm -f conftest.er1 conftest.err
3588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589 test $ac_status = 0; }
3592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h. */
3603 ac_clean_files_save=$ac_clean_files
3604 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3605 # Try to create an executable without -o first, disregard a.out.
3606 # It will help us diagnose broken compilers, and finding out an intuition
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3609 $as_echo_n "checking whether the C compiler works... " >&6; }
3610 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3612 # The possible output files:
3613 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3616 for ac_file in $ac_files
3619 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3620 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3625 if { { ac_try="$ac_link_default"
3627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3628 *) ac_try_echo
=$ac_try;;
3630 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631 $as_echo "$ac_try_echo"; } >&5
3632 (eval "$ac_link_default") 2>&5
3634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635 test $ac_status = 0; }; then :
3636 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3637 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3638 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3639 # so that the user can short-circuit this test for compilers unknown to
3641 for ac_file
in $ac_files ''
3643 test -f "$ac_file" ||
continue
3645 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3648 # We found the default executable, but exeext='' is most
3652 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3654 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3656 # We set ac_cv_exeext here because the later test for it is not
3657 # safe: cross compilers may not add the suffix if given an `-o'
3658 # argument, so we may need to know it at that point already.
3659 # Even if this section looks crufty: it has the advantage of
3666 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3671 if test -z "$ac_file"; then :
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3674 $as_echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.
$ac_ext >&5
3677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3679 { as_fn_set_status
77
3680 as_fn_error
"C compiler cannot create executables
3681 See \`config.log' for more details." "$LINENO" 5; }; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3684 $as_echo "yes" >&6; }
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3687 $as_echo_n "checking for C compiler default output file name... " >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3689 $as_echo "$ac_file" >&6; }
3690 ac_exeext
=$ac_cv_exeext
3692 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3693 ac_clean_files
=$ac_clean_files_save
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3695 $as_echo_n "checking for suffix of executables... " >&6; }
3696 if { { ac_try
="$ac_link"
3698 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3699 *) ac_try_echo=$ac_try;;
3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3702 $as_echo "$ac_try_echo"; } >&5
3703 (eval "$ac_link") 2>&5
3705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3706 test $ac_status = 0; }; then :
3707 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3708 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3709 # work properly (i.e., refer to `conftest.exe'), while it won't with
3711 for ac_file
in conftest.exe conftest conftest.
*; do
3712 test -f "$ac_file" ||
continue
3714 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3715 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3721 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3723 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3724 See \`config.log' for more details." "$LINENO" 5; }
3726 rm -f conftest conftest
$ac_cv_exeext
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3728 $as_echo "$ac_cv_exeext" >&6; }
3730 rm -f conftest.
$ac_ext
3731 EXEEXT
=$ac_cv_exeext
3733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3739 FILE *f = fopen ("conftest.out", "w");
3740 return ferror (f) || fclose (f) != 0;
3746 ac_clean_files
="$ac_clean_files conftest.out"
3747 # Check that the compiler produces executables we can run. If not, either
3748 # the compiler is broken, or we cross compile.
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3750 $as_echo_n "checking whether we are cross compiling... " >&6; }
3751 if test "$cross_compiling" != yes; then
3752 { { ac_try
="$ac_link"
3754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3758 $as_echo "$ac_try_echo"; } >&5
3759 (eval "$ac_link") 2>&5
3761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3762 test $ac_status = 0; }
3763 if { ac_try='./conftest$ac_cv_exeext'
3764 { { case "(($ac_try" in
3765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3766 *) ac_try_echo
=$ac_try;;
3768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3769 $as_echo "$ac_try_echo"; } >&5
3770 (eval "$ac_try") 2>&5
3772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3773 test $ac_status = 0; }; }; then
3776 if test "$cross_compiling" = maybe
; then
3779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error
"cannot run C compiled programs.
3782 If you meant to cross compile, use \`--host'.
3783 See \`config.log' for more details." "$LINENO" 5; }
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3788 $as_echo "$cross_compiling" >&6; }
3790 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3791 ac_clean_files
=$ac_clean_files_save
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3793 $as_echo_n "checking for suffix of object files... " >&6; }
3794 if test "${ac_cv_objext+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3808 rm -f conftest.o conftest.obj
3809 if { { ac_try
="$ac_compile"
3811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3812 *) ac_try_echo=$ac_try;;
3814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3815 $as_echo "$ac_try_echo"; } >&5
3816 (eval "$ac_compile") 2>&5
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }; then :
3820 for ac_file in conftest.o conftest.obj conftest.*; do
3821 test -f "$ac_file" || continue;
3823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3824 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3829 $as_echo "$as_me: failed program was:" >&5
3830 sed 's/^/| /' conftest.$ac_ext >&5
3832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "cannot compute suffix of object files
: cannot compile
3835 See \
`config.log' for more details." "$LINENO" 5; }
3837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3840 $as_echo "$ac_cv_objext" >&6; }
3841 OBJEXT=$ac_cv_objext
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3844 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3845 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3862 if ac_fn_c_try_compile "$LINENO"; then :
3867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3868 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3872 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3873 if test $ac_compiler_gnu = yes; then
3878 ac_test_CFLAGS=${CFLAGS+set}
3879 ac_save_CFLAGS=$CFLAGS
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3881 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3882 if test "${ac_cv_prog_cc_g+set}" = set; then :
3883 $as_echo_n "(cached) " >&6
3885 ac_save_c_werror_flag=$ac_c_werror_flag
3886 ac_c_werror_flag=yes
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3900 if ac_fn_c_try_compile "$LINENO"; then :
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 if ac_fn_c_try_compile "$LINENO"; then :
3918 ac_c_werror_flag=$ac_save_c_werror_flag
3920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3921 /* end confdefs.h. */
3931 if ac_fn_c_try_compile "$LINENO"; then :
3934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3939 ac_c_werror_flag=$ac_save_c_werror_flag
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3942 $as_echo "$ac_cv_prog_cc_g" >&6; }
3943 if test "$ac_test_CFLAGS" = set; then
3944 CFLAGS=$ac_save_CFLAGS
3945 elif test $ac_cv_prog_cc_g = yes; then
3946 if test "$GCC" = yes; then
3952 if test "$GCC" = yes; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3959 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3960 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3961 $as_echo_n "(cached) " >&6
3963 ac_cv_prog_cc_c89=no
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3969 #include <sys/types.h>
3970 #include <sys/stat.h>
3971 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3972 struct buf { int x; };
3973 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3974 static char *e (p, i)
3980 static char *f (char * (*g) (char **, int), char **p, ...)
3985 s = g (p, va_arg (v,int));
3990 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3991 function prototypes and stuff, but not '\xHH' hex character constants.
3992 These don't provoke an error unfortunately, instead are silently treated
3993 as 'x'. The following induces an error, until -std is added to get
3994 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3995 array size at least. It's necessary to write '\x00'==0 to get something
3996 that's true only with -std. */
3997 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3999 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4000 inside strings and character constants. */
4002 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4004 int test (int i, double x);
4005 struct s1 {int (*f) (int a);};
4006 struct s2 {int (*f) (double a);};
4007 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4013 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4018 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4019 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4021 CC="$ac_save_CC $ac_arg"
4022 if ac_fn_c_try_compile "$LINENO"; then :
4023 ac_cv_prog_cc_c89=$ac_arg
4025 rm -f core conftest.err conftest.$ac_objext
4026 test "x$ac_cv_prog_cc_c89" != "xno" && break
4028 rm -f conftest.$ac_ext
4033 case "x$ac_cv_prog_cc_c89" in
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4036 $as_echo "none needed" >&6; } ;;
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4039 $as_echo "unsupported" >&6; } ;;
4041 CC="$CC $ac_cv_prog_cc_c89"
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4043 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4045 if test "x$ac_cv_prog_cc_c89" != xno; then :
4050 ac_cpp='$CPP $CPPFLAGS'
4051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4055 depcc="$CC" am_compiler_list=
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4058 $as_echo_n "checking dependency style of $depcc... " >&6; }
4059 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4060 $as_echo_n "(cached) " >&6
4062 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4063 # We make a subdir and do the tests there. Otherwise we can end up
4064 # making bogus files that we don't know about and never remove. For
4065 # instance it was reported that on HP-UX the gcc test will end up
4066 # making a dummy file named `D
' -- because `-MD' means
`put the output
4069 # Copy depcomp to subdir because otherwise we won't find it if we're
4070 # using a relative directory.
4071 cp "$am_depcomp" conftest.dir
4073 # We will build objects and dependencies in a subdirectory because
4074 # it helps to detect inapplicable dependency modes. For instance
4075 # both Tru64's cc and ICC support -MD to output dependencies as a
4076 # side effect of compilation, but ICC will put the dependencies in
4077 # the current directory while Tru64 will put them in the object
4081 am_cv_CC_dependencies_compiler_type=none
4082 if test "$am_compiler_list" = ""; then
4083 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4086 case " $depcc " in #(
4087 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4090 for depmode in $am_compiler_list; do
4091 # Setup a source with many dependencies, because some compilers
4092 # like to wrap large dependency lists on column 80 (with \), and
4093 # we should not choose a depcomp mode which is confused by this.
4095 # We need to recreate these files for each test, as the compiler may
4096 # overwrite some of them when testing with obscure command lines.
4097 # This happens at least with the AIX C compiler.
4099 for i in 1 2 3 4 5 6; do
4100 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4101 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4102 # Solaris 8's
{/usr
,}/bin
/sh.
4103 touch sub
/conftst
$i.h
4105 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4107 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4108 # mode. It turns out that the SunPro C++ compiler does not properly
4109 # handle `-M -o', and we need to detect this. Also, some Intel
4110 # versions had trouble with output in subdirs
4111 am__obj
=sub
/conftest.
${OBJEXT-o}
4112 am__minus_obj
="-o $am__obj"
4115 # This depmode causes a compiler race in universal mode.
4116 test "$am__universal" = false ||
continue
4119 # after this tag, mechanisms are not by side-effect, so they'll
4120 # only be used when explicitly requested
4121 if test "x$enable_dependency_tracking" = xyes
; then
4127 msvisualcpp | msvcmsys
)
4128 # This compiler won't grok `-c -o', but also, the minuso test has
4129 # not run yet. These depmodes are late enough in the game, and
4130 # so weak that their functioning should not be impacted.
4131 am__obj
=conftest.
${OBJEXT-o}
4136 if depmode
=$depmode \
4137 source=sub
/conftest.c object
=$am__obj \
4138 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4139 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4140 >/dev
/null
2>conftest.err
&&
4141 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4142 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4143 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4144 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4145 # icc doesn't choke on unknown options, it will just issue warnings
4146 # or remarks (even with -Werror). So we grep stderr for any message
4147 # that says an option was ignored or not supported.
4148 # When given -MP, icc 7.0 and 7.1 complain thusly:
4149 # icc: Command line warning: ignoring option '-M'; no argument required
4150 # The diagnosis changed in icc 8.0:
4151 # icc: Command line remark: option '-MP' not supported
4152 if (grep 'ignoring option' conftest.err ||
4153 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4154 am_cv_CC_dependencies_compiler_type
=$depmode
4163 am_cv_CC_dependencies_compiler_type
=none
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4168 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4169 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4172 test "x$enable_dependency_tracking" != xno \
4173 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4175 am__fastdepCC_FALSE
='#'
4177 am__fastdepCC_TRUE
='#'
4178 am__fastdepCC_FALSE
=
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4183 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4184 if test "${ac_cv_path_SED+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4188 for ac_i
in 1 2 3 4 5 6 7; do
4189 ac_script
="$ac_script$as_nl$ac_script"
4191 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4192 { ac_script
=; unset ac_script
;}
4193 if test -z "$SED"; then
4194 ac_path_SED_found
=false
4195 # Loop through the user's path and test for each of PROGNAME-LIST
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_prog
in sed gsed
; do
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4204 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4205 # Check for GNU ac_path_SED and select it if it is found.
4206 # Check for GNU $ac_path_SED
4207 case `"$ac_path_SED" --version 2>&1` in
4209 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4212 $as_echo_n 0123456789 >"conftest.in"
4215 cat "conftest.in" "conftest.in" >"conftest.tmp"
4216 mv "conftest.tmp" "conftest.in"
4217 cp "conftest.in" "conftest.nl"
4218 $as_echo '' >> "conftest.nl"
4219 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4220 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4221 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4222 if test $ac_count -gt ${ac_path_SED_max-0}; then
4223 # Best one so far, save it but keep looking for a better one
4224 ac_cv_path_SED
="$ac_path_SED"
4225 ac_path_SED_max
=$ac_count
4227 # 10*(2^10) chars as input seems more than enough
4228 test $ac_count -gt 10 && break
4230 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4233 $ac_path_SED_found && break 3
4238 if test -z "$ac_cv_path_SED"; then
4239 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4247 $as_echo "$ac_cv_path_SED" >&6; }
4248 SED
="$ac_cv_path_SED"
4251 test -z "$SED" && SED
=sed
4252 Xsed
="$SED -e 1s/^X//"
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4265 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4266 if test "${ac_cv_path_GREP+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -z "$GREP"; then
4270 ac_path_GREP_found
=false
4271 # Loop through the user's path and test for each of PROGNAME-LIST
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_prog
in grep ggrep
; do
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4280 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4281 # Check for GNU ac_path_GREP and select it if it is found.
4282 # Check for GNU $ac_path_GREP
4283 case `"$ac_path_GREP" --version 2>&1` in
4285 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4288 $as_echo_n 0123456789 >"conftest.in"
4291 cat "conftest.in" "conftest.in" >"conftest.tmp"
4292 mv "conftest.tmp" "conftest.in"
4293 cp "conftest.in" "conftest.nl"
4294 $as_echo 'GREP' >> "conftest.nl"
4295 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4296 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4297 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4298 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4299 # Best one so far, save it but keep looking for a better one
4300 ac_cv_path_GREP
="$ac_path_GREP"
4301 ac_path_GREP_max
=$ac_count
4303 # 10*(2^10) chars as input seems more than enough
4304 test $ac_count -gt 10 && break
4306 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4309 $ac_path_GREP_found && break 3
4314 if test -z "$ac_cv_path_GREP"; then
4315 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4318 ac_cv_path_GREP
=$GREP
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4323 $as_echo "$ac_cv_path_GREP" >&6; }
4324 GREP
="$ac_cv_path_GREP"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4328 $as_echo_n "checking for egrep... " >&6; }
4329 if test "${ac_cv_path_EGREP+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4333 then ac_cv_path_EGREP
="$GREP -E"
4335 if test -z "$EGREP"; then
4336 ac_path_EGREP_found
=false
4337 # Loop through the user's path and test for each of PROGNAME-LIST
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_prog
in egrep; do
4344 for ac_exec_ext
in '' $ac_executable_extensions; do
4345 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4346 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4347 # Check for GNU ac_path_EGREP and select it if it is found.
4348 # Check for GNU $ac_path_EGREP
4349 case `"$ac_path_EGREP" --version 2>&1` in
4351 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4354 $as_echo_n 0123456789 >"conftest.in"
4357 cat "conftest.in" "conftest.in" >"conftest.tmp"
4358 mv "conftest.tmp" "conftest.in"
4359 cp "conftest.in" "conftest.nl"
4360 $as_echo 'EGREP' >> "conftest.nl"
4361 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4362 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4363 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4364 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4365 # Best one so far, save it but keep looking for a better one
4366 ac_cv_path_EGREP
="$ac_path_EGREP"
4367 ac_path_EGREP_max
=$ac_count
4369 # 10*(2^10) chars as input seems more than enough
4370 test $ac_count -gt 10 && break
4372 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4375 $ac_path_EGREP_found && break 3
4380 if test -z "$ac_cv_path_EGREP"; then
4381 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4384 ac_cv_path_EGREP
=$EGREP
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4390 $as_echo "$ac_cv_path_EGREP" >&6; }
4391 EGREP
="$ac_cv_path_EGREP"
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4395 $as_echo_n "checking for fgrep... " >&6; }
4396 if test "${ac_cv_path_FGREP+set}" = set; then :
4397 $as_echo_n "(cached) " >&6
4399 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4400 then ac_cv_path_FGREP
="$GREP -F"
4402 if test -z "$FGREP"; then
4403 ac_path_FGREP_found
=false
4404 # Loop through the user's path and test for each of PROGNAME-LIST
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_prog
in fgrep
; do
4411 for ac_exec_ext
in '' $ac_executable_extensions; do
4412 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4413 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4414 # Check for GNU ac_path_FGREP and select it if it is found.
4415 # Check for GNU $ac_path_FGREP
4416 case `"$ac_path_FGREP" --version 2>&1` in
4418 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4421 $as_echo_n 0123456789 >"conftest.in"
4424 cat "conftest.in" "conftest.in" >"conftest.tmp"
4425 mv "conftest.tmp" "conftest.in"
4426 cp "conftest.in" "conftest.nl"
4427 $as_echo 'FGREP' >> "conftest.nl"
4428 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4429 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4430 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4431 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4432 # Best one so far, save it but keep looking for a better one
4433 ac_cv_path_FGREP
="$ac_path_FGREP"
4434 ac_path_FGREP_max
=$ac_count
4436 # 10*(2^10) chars as input seems more than enough
4437 test $ac_count -gt 10 && break
4439 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4442 $ac_path_FGREP_found && break 3
4447 if test -z "$ac_cv_path_FGREP"; then
4448 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4451 ac_cv_path_FGREP
=$FGREP
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4457 $as_echo "$ac_cv_path_FGREP" >&6; }
4458 FGREP
="$ac_cv_path_FGREP"
4461 test -z "$GREP" && GREP
=grep
4481 # Check whether --with-gnu-ld was given.
4482 if test "${with_gnu_ld+set}" = set; then :
4483 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4489 if test "$GCC" = yes; then
4490 # Check if gcc -print-prog-name=ld gives a path.
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4492 $as_echo_n "checking for ld used by $CC... " >&6; }
4495 # gcc leaves a trailing carriage return which upsets mingw
4496 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4498 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4501 # Accept absolute paths.
4503 re_direlt
='/[^/][^/]*/\.\./'
4504 # Canonicalize the pathname of ld
4505 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4506 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4507 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4509 test -z "$LD" && LD
="$ac_prog"
4512 # If it fails, then pretend we aren't using GCC.
4516 # If it is relative, then search for the first ld in PATH.
4520 elif test "$with_gnu_ld" = yes; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4522 $as_echo_n "checking for GNU ld... " >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4525 $as_echo_n "checking for non-GNU ld... " >&6; }
4527 if test "${lt_cv_path_LD+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4530 if test -z "$LD"; then
4531 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4532 for ac_dir
in $PATH; do
4534 test -z "$ac_dir" && ac_dir
=.
4535 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4536 lt_cv_path_LD
="$ac_dir/$ac_prog"
4537 # Check to see if the program is GNU ld. I'd rather use --version,
4538 # but apparently some variants of GNU ld only accept -v.
4539 # Break only if it was the GNU/non-GNU ld that we prefer.
4540 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4541 *GNU
* |
*'with BFD'*)
4542 test "$with_gnu_ld" != no
&& break
4545 test "$with_gnu_ld" != yes && break
4552 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4557 if test -n "$LD"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4559 $as_echo "$LD" >&6; }
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4564 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4566 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4567 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4568 $as_echo_n "(cached) " >&6
4570 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4571 case `$LD -v 2>&1 </dev/null` in
4572 *GNU
* |
*'with BFD'*)
4573 lt_cv_prog_gnu_ld
=yes
4576 lt_cv_prog_gnu_ld
=no
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4581 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4582 with_gnu_ld
=$lt_cv_prog_gnu_ld
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4593 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4594 if test "${lt_cv_path_NM+set}" = set; then :
4595 $as_echo_n "(cached) " >&6
4597 if test -n "$NM"; then
4598 # Let the user override the test.
4601 lt_nm_to_check
="${ac_tool_prefix}nm"
4602 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4603 lt_nm_to_check
="$lt_nm_to_check nm"
4605 for lt_tmp_nm
in $lt_nm_to_check; do
4606 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4607 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4609 test -z "$ac_dir" && ac_dir
=.
4610 tmp_nm
="$ac_dir/$lt_tmp_nm"
4611 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4612 # Check to see if the nm accepts a BSD-compat flag.
4613 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4614 # nm: unknown option "B" ignored
4615 # Tru64's nm complains that /dev/null is an invalid object file
4616 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4617 */dev
/null
* |
*'Invalid file or object type'*)
4618 lt_cv_path_NM
="$tmp_nm -B"
4622 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4624 lt_cv_path_NM
="$tmp_nm -p"
4628 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4629 continue # so that we can try to find one that supports BSD flags
4638 : ${lt_cv_path_NM=no}
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4642 $as_echo "$lt_cv_path_NM" >&6; }
4643 if test "$lt_cv_path_NM" != "no"; then
4646 # Didn't find any BSD compatible name lister, look for dumpbin.
4647 if test -n "$ac_tool_prefix"; then
4648 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4651 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4655 $as_echo_n "(cached) " >&6
4657 if test -n "$DUMPBIN"; then
4658 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 DUMPBIN
=$ac_cv_prog_DUMPBIN
4678 if test -n "$DUMPBIN"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4680 $as_echo "$DUMPBIN" >&6; }
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4687 test -n "$DUMPBIN" && break
4690 if test -z "$DUMPBIN"; then
4691 ac_ct_DUMPBIN
=$DUMPBIN
4692 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4694 # Extract the first word of "$ac_prog", so it can be a program name with args.
4695 set dummy
$ac_prog; ac_word
=$2
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4699 $as_echo_n "(cached) " >&6
4701 if test -n "$ac_ct_DUMPBIN"; then
4702 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4722 if test -n "$ac_ct_DUMPBIN"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4724 $as_echo "$ac_ct_DUMPBIN" >&6; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4731 test -n "$ac_ct_DUMPBIN" && break
4734 if test "x$ac_ct_DUMPBIN" = x
; then
4737 case $cross_compiling:$ac_tool_warned in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4740 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4741 ac_tool_warned
=yes ;;
4743 DUMPBIN
=$ac_ct_DUMPBIN
4748 if test "$DUMPBIN" != ":"; then
4752 test -z "$NM" && NM
=nm
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4760 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4761 if test "${lt_cv_nm_interface+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 lt_cv_nm_interface
="BSD nm"
4765 echo "int some_variable = 0;" > conftest.
$ac_ext
4766 (eval echo "\"\$as_me:4766: $ac_compile\"" >&5)
4767 (eval "$ac_compile" 2>conftest.err
)
4768 cat conftest.err
>&5
4769 (eval echo "\"\$as_me:4769: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4770 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4771 cat conftest.err
>&5
4772 (eval echo "\"\$as_me:4772: output\"" >&5)
4773 cat conftest.out
>&5
4774 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4775 lt_cv_nm_interface
="MS dumpbin"
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4780 $as_echo "$lt_cv_nm_interface" >&6; }
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4783 $as_echo_n "checking whether ln -s works... " >&6; }
4785 if test "$LN_S" = "ln -s"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4787 $as_echo "yes" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4790 $as_echo "no, using $LN_S" >&6; }
4793 # find the maximum length of command line arguments
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4795 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4796 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4804 # On DJGPP, this test can blow up pretty badly due to problems in libc
4805 # (any single argument exceeding 2000 bytes causes a buffer overrun
4806 # during glob expansion). Even if it were fixed, the result of this
4807 # check would be larger than it should be.
4808 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4812 # Under GNU Hurd, this test is not required because there is
4813 # no limit to the length of command line arguments.
4814 # Libtool will interpret -1 as no limit whatsoever
4815 lt_cv_sys_max_cmd_len
=-1;
4818 cygwin
* | mingw
* | cegcc
*)
4819 # On Win9x/ME, this test blows up -- it succeeds, but takes
4820 # about 5 minutes as the teststring grows exponentially.
4821 # Worse, since 9x/ME are not pre-emptively multitasking,
4822 # you end up with a "frozen" computer, even though with patience
4823 # the test eventually succeeds (with a max line length of 256k).
4824 # Instead, let's just punt: use the minimum linelength reported by
4825 # all of the supported platforms: 8192 (on NT/2K/XP).
4826 lt_cv_sys_max_cmd_len
=8192;
4830 # On AmigaOS with pdksh, this test takes hours, literally.
4831 # So we just punt and use a minimum line length of 8192.
4832 lt_cv_sys_max_cmd_len
=8192;
4835 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4836 # This has been around since 386BSD, at least. Likely further.
4837 if test -x /sbin
/sysctl
; then
4838 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4839 elif test -x /usr
/sbin
/sysctl
; then
4840 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4842 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4844 # And add a safety zone
4845 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4846 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4850 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4851 lt_cv_sys_max_cmd_len
=196608
4855 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4856 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4857 # nice to cause kernel panics so lets avoid the loop below.
4858 # First set a reasonable default.
4859 lt_cv_sys_max_cmd_len
=16384
4861 if test -x /sbin
/sysconfig
; then
4862 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4863 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4868 lt_cv_sys_max_cmd_len
=102400
4870 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4871 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4872 if test -n "$kargmax"; then
4873 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4875 lt_cv_sys_max_cmd_len
=32768
4879 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4880 if test -n "$lt_cv_sys_max_cmd_len"; then
4881 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4882 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4884 # Make teststring a little bigger before we do anything with it.
4885 # a 1K string should be a reasonable start.
4886 for i
in 1 2 3 4 5 6 7 8 ; do
4887 teststring
=$teststring$teststring
4889 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4890 # If test is not a shell built-in, we'll probably end up computing a
4891 # maximum length that is only half of the actual maximum length, but
4893 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4894 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4895 test $i != 17 # 1/2 MB should be enough
4898 teststring
=$teststring$teststring
4900 # Only check the string length outside the loop.
4901 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4903 # Add a significant safety factor because C++ compilers can tack on
4904 # massive amounts of additional arguments before passing them to the
4905 # linker. It appears as though 1/2 is a usable value.
4906 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4913 if test -n $lt_cv_sys_max_cmd_len ; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4915 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4918 $as_echo "none" >&6; }
4920 max_cmd_len
=$lt_cv_sys_max_cmd_len
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4932 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4933 # Try some XSI features
4936 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4938 && eval 'test $(( 1 + 1 )) -eq 2 \
4939 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4942 $as_echo "$xsi_shell" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4946 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4948 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4950 && lt_shell_append=yes
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4952 $as_echo "$lt_shell_append" >&6; }
4955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4965 # test EBCDIC or ASCII
4966 case `echo X|tr X '\101'` in
4967 A) # ASCII based system
4968 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4969 lt_SP2NL='tr \040 \012'
4970 lt_NL2SP='tr \015\012 \040\040'
4972 *) # EBCDIC based system
4973 lt_SP2NL='tr \100 \n'
4974 lt_NL2SP='tr \r\n \100\100'
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4987 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4988 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4989 $as_echo_n "(cached
) " >&6
4991 lt_cv_ld_reload_flag='-r'
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4994 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4995 reload_flag=$lt_cv_ld_reload_flag
4996 case $reload_flag in
4998 *) reload_flag=" $reload_flag" ;;
5000 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5003 if test "$GCC" = yes; then
5004 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5006 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5019 if test -n "$ac_tool_prefix"; then
5020 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5021 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5023 $as_echo_n "checking
for $ac_word...
" >&6; }
5024 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5025 $as_echo_n "(cached
) " >&6
5027 if test -n "$OBJDUMP"; then
5028 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5047 OBJDUMP=$ac_cv_prog_OBJDUMP
5048 if test -n "$OBJDUMP"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5050 $as_echo "$OBJDUMP" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5053 $as_echo "no
" >&6; }
5058 if test -z "$ac_cv_prog_OBJDUMP"; then
5059 ac_ct_OBJDUMP=$OBJDUMP
5060 # Extract the first word of "objdump
", so it can be a program name with args.
5061 set dummy objdump; ac_word=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5063 $as_echo_n "checking
for $ac_word...
" >&6; }
5064 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5065 $as_echo_n "(cached
) " >&6
5067 if test -n "$ac_ct_OBJDUMP"; then
5068 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5087 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5088 if test -n "$ac_ct_OBJDUMP"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5090 $as_echo "$ac_ct_OBJDUMP" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5093 $as_echo "no
" >&6; }
5096 if test "x
$ac_ct_OBJDUMP" = x; then
5099 case $cross_compiling:$ac_tool_warned in
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5102 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5103 ac_tool_warned=yes ;;
5105 OBJDUMP=$ac_ct_OBJDUMP
5108 OBJDUMP="$ac_cv_prog_OBJDUMP"
5111 test -z "$OBJDUMP" && OBJDUMP=objdump
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5122 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5123 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5124 $as_echo_n "(cached
) " >&6
5126 lt_cv_file_magic_cmd='$MAGIC_CMD'
5127 lt_cv_file_magic_test_file=
5128 lt_cv_deplibs_check_method='unknown'
5129 # Need to set the preceding variable on all platforms that support
5130 # interlibrary dependencies.
5131 # 'none' -- dependencies not supported.
5132 # `unknown' -- same as none, but documents that we really don't know.
5133 # 'pass_all' -- all dependencies passed with no checks.
5134 # 'test_compile' -- check by making test program.
5135 # 'file_magic [[regex]]' -- check by looking for files in library path
5136 # which responds to the $file_magic_cmd with a given extended regex.
5137 # If you have `file' or equivalent on your system and you're not sure
5138 # whether `pass_all' will *always* work, you probably want this one.
5142 lt_cv_deplibs_check_method=pass_all
5146 lt_cv_deplibs_check_method=pass_all
5150 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5151 lt_cv_file_magic_cmd='/usr/bin/file -L'
5152 lt_cv_file_magic_test_file=/shlib/libc.so
5156 # func_win32_libid is a shell function defined in ltmain.sh
5157 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5158 lt_cv_file_magic_cmd='func_win32_libid'
5162 # Base MSYS/MinGW do not provide the 'file' command needed by
5163 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5164 # unless we find 'file', for example because we are cross-compiling.
5165 if ( file / ) >/dev/null 2>&1; then
5166 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5167 lt_cv_file_magic_cmd='func_win32_libid'
5169 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5170 lt_cv_file_magic_cmd='$OBJDUMP -f'
5175 # use the weaker test based on 'objdump'. See mingw*.
5176 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5177 lt_cv_file_magic_cmd='$OBJDUMP -f'
5180 darwin* | rhapsody*)
5181 lt_cv_deplibs_check_method=pass_all
5184 freebsd* | dragonfly*)
5185 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5188 # Not sure whether the presence of OpenBSD here was a mistake.
5189 # Let's accept both of them until this is cleared up.
5190 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5191 lt_cv_file_magic_cmd=/usr/bin/file
5192 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5196 lt_cv_deplibs_check_method=pass_all
5201 lt_cv_deplibs_check_method=pass_all
5204 hpux10.20* | hpux11*)
5205 lt_cv_file_magic_cmd=/usr/bin/file
5208 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5209 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5212 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]'
5213 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5216 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5217 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5223 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5227 irix5* | irix6* | nonstopux*)
5229 *-32|*"-32 ") libmagic=32-bit;;
5230 *-n32|*"-n32 ") libmagic=N32;;
5231 *-64|*"-64 ") libmagic=64-bit;;
5232 *) libmagic=never-match;;
5234 lt_cv_deplibs_check_method=pass_all
5237 # This must be Linux ELF.
5238 linux* | k*bsd*-gnu)
5239 lt_cv_deplibs_check_method=pass_all
5243 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5244 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5246 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5251 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5252 lt_cv_file_magic_cmd=/usr/bin/file
5253 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5257 lt_cv_deplibs_check_method=pass_all
5261 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5262 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5264 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5268 osf3* | osf4* | osf5*)
5269 lt_cv_deplibs_check_method=pass_all
5273 lt_cv_deplibs_check_method=pass_all
5277 lt_cv_deplibs_check_method=pass_all
5280 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5281 lt_cv_deplibs_check_method=pass_all
5285 case $host_vendor in
5287 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]'
5288 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5291 lt_cv_deplibs_check_method=pass_all
5294 lt_cv_file_magic_cmd='/bin/file'
5295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5298 lt_cv_file_magic_cmd='/bin/file'
5299 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5300 lt_cv_file_magic_test_file=/lib/libc.so
5303 lt_cv_deplibs_check_method=pass_all
5306 lt_cv_deplibs_check_method=pass_all
5312 lt_cv_deplibs_check_method=pass_all
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5318 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5319 file_magic_cmd=$lt_cv_file_magic_cmd
5320 deplibs_check_method=$lt_cv_deplibs_check_method
5321 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5334 if test -n "$ac_tool_prefix"; then
5335 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5336 set dummy ${ac_tool_prefix}ar; ac_word=$2
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5338 $as_echo_n "checking
for $ac_word...
" >&6; }
5339 if test "${ac_cv_prog_AR+set}" = set; then :
5340 $as_echo_n "(cached
) " >&6
5342 if test -n "$AR"; then
5343 ac_cv_prog_AR="$AR" # Let the user override the test.
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_AR="${ac_tool_prefix}ar"
5353 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5363 if test -n "$AR"; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5365 $as_echo "$AR" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5368 $as_echo "no
" >&6; }
5373 if test -z "$ac_cv_prog_AR"; then
5375 # Extract the first word of "ar", so it can be a program name with args.
5376 set dummy ar; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5378 $as_echo_n "checking
for $ac_word...
" >&6; }
5379 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5380 $as_echo_n "(cached
) " >&6
5382 if test -n "$ac_ct_AR"; then
5383 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5392 ac_cv_prog_ac_ct_AR="ar"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5403 if test -n "$ac_ct_AR"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5405 $as_echo "$ac_ct_AR" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5408 $as_echo "no
" >&6; }
5411 if test "x
$ac_ct_AR" = x; then
5414 case $cross_compiling:$ac_tool_warned in
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5417 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5418 ac_tool_warned=yes ;;
5426 test -z "$AR" && AR=ar
5427 test -z "$AR_FLAGS" && AR_FLAGS=cru
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}strip; ac_word=$2
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5443 $as_echo_n "checking
for $ac_word...
" >&6; }
5444 if test "${ac_cv_prog_STRIP+set}" = set; then :
5445 $as_echo_n "(cached
) " >&6
5447 if test -n "$STRIP"; then
5448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5458 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5467 STRIP=$ac_cv_prog_STRIP
5468 if test -n "$STRIP"; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5470 $as_echo "$STRIP" >&6; }
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5473 $as_echo "no
" >&6; }
5478 if test -z "$ac_cv_prog_STRIP"; then
5480 # Extract the first word of "strip
", so it can be a program name with args.
5481 set dummy strip; ac_word=$2
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5483 $as_echo_n "checking
for $ac_word...
" >&6; }
5484 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5485 $as_echo_n "(cached
) " >&6
5487 if test -n "$ac_ct_STRIP"; then
5488 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_STRIP="strip
"
5498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5508 if test -n "$ac_ct_STRIP"; then
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5510 $as_echo "$ac_ct_STRIP" >&6; }
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5513 $as_echo "no
" >&6; }
5516 if test "x
$ac_ct_STRIP" = x; then
5519 case $cross_compiling:$ac_tool_warned in
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5522 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5523 ac_tool_warned=yes ;;
5528 STRIP="$ac_cv_prog_STRIP"
5531 test -z "$STRIP" && STRIP=:
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5542 $as_echo_n "checking
for $ac_word...
" >&6; }
5543 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5544 $as_echo_n "(cached
) " >&6
5546 if test -n "$RANLIB"; then
5547 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5566 RANLIB=$ac_cv_prog_RANLIB
5567 if test -n "$RANLIB"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5569 $as_echo "$RANLIB" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5572 $as_echo "no
" >&6; }
5577 if test -z "$ac_cv_prog_RANLIB"; then
5578 ac_ct_RANLIB=$RANLIB
5579 # Extract the first word of "ranlib
", so it can be a program name with args.
5580 set dummy ranlib; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5582 $as_echo_n "checking
for $ac_word...
" >&6; }
5583 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5584 $as_echo_n "(cached
) " >&6
5586 if test -n "$ac_ct_RANLIB"; then
5587 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5606 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5607 if test -n "$ac_ct_RANLIB"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5609 $as_echo "$ac_ct_RANLIB" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5612 $as_echo "no
" >&6; }
5615 if test "x
$ac_ct_RANLIB" = x; then
5618 case $cross_compiling:$ac_tool_warned in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5621 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5622 ac_tool_warned=yes ;;
5624 RANLIB=$ac_ct_RANLIB
5627 RANLIB="$ac_cv_prog_RANLIB"
5630 test -z "$RANLIB" && RANLIB=:
5637 # Determine commands to create old-style static archives.
5638 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5639 old_postinstall_cmds='chmod 644 $oldlib'
5640 old_postuninstall_cmds=
5642 if test -n "$RANLIB"; then
5645 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5648 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5651 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5687 # If no C compiler was specified, use CC.
5690 # If no C compiler flags were specified, use CFLAGS.
5691 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5693 # Allow CC to be a program name with arguments.
5697 # Check for command to grab the raw symbol name followed by C symbol from nm.
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5699 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5700 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5701 $as_echo_n "(cached
) " >&6
5704 # These are sane defaults that work on at least a few old systems.
5705 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5707 # Character class describing NM global symbol codes.
5708 symcode='[BCDEGRST]'
5710 # Regexp to match symbols that can be accessed directly from C.
5711 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5713 # Define system-specific variables.
5718 cygwin* | mingw* | pw32* | cegcc*)
5719 symcode='[ABCDGISTW]'
5722 if test "$host_cpu" = ia64; then
5723 symcode='[ABCDEGRST]'
5727 symcode='[BCDEGRST]'
5730 symcode='[BCDEGQRST]'
5741 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5749 # If we're using GNU nm, then use its standard symbol codes.
5750 case `$NM -V 2>&1` in
5751 *GNU* | *'with BFD'*)
5752 symcode='[ABCDGIRSTW]' ;;
5755 # Transform an extracted symbol line into a proper C declaration.
5756 # Some systems (esp. on ia64) link data and code symbols differently,
5757 # so use this general approach.
5758 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5760 # Transform an extracted symbol line into symbol name and symbol address
5761 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5762 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'"
5764 # Handle CRLF in mingw tool chain
5768 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5772 # Try without a prefix underscore, then with it.
5773 for ac_symprfx in "" "_
"; do
5775 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5776 symxfrm="\\1 $ac_symprfx\\2 \\2"
5778 # Write the raw and C identifiers.
5779 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5780 # Fake it for dumpbin and say T for any non-static function
5781 # and D for any global variable.
5782 # Also find C++ and __fastcall symbols from MSVC++,
5783 # which start with @ or ?.
5784 lt_cv_sys_global_symbol_pipe="$AWK '"\
5785 " {last_section=section; section=\$ 3};"\
5786 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5787 " \$ 0!~/External *\|/{next};"\
5788 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5789 " {if(hide[section]) next};"\
5790 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5791 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5792 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5793 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5794 " ' prfx
=^
$ac_symprfx"
5796 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5799 # Check to see that the pipe works correctly.
5803 cat > conftest.$ac_ext <<_LT_EOF
5808 void nm_test_func(void);
5809 void nm_test_func(void){}
5813 int main(){nm_test_var='a';nm_test_func();return(0);}
5816 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5817 (eval $ac_compile) 2>&5
5819 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5820 test $ac_status = 0; }; then
5821 # Now try to grab the symbols.
5823 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
5824 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5827 test $ac_status = 0; } && test -s "$nlist"; then
5828 # Try sorting and uniquifying the output.
5829 if sort "$nlist" | uniq > "$nlist"T; then
5830 mv -f "$nlist"T "$nlist"
5835 # Make sure that we snagged all the symbols we need.
5836 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5837 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5838 cat <<_LT_EOF > conftest.$ac_ext
5844 # Now generate the symbol file.
5845 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5847 cat <<_LT_EOF >> conftest.$ac_ext
5849 /* The mapping between symbol names and symbols. */
5854 lt__PROGRAM__LTX_preloaded_symbols[] =
5856 { "@PROGRAM@
", (void *) 0 },
5858 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5859 cat <<\_LT_EOF >> conftest.$ac_ext
5863 /* This works around a problem in FreeBSD linker */
5864 #ifdef FREEBSD_WORKAROUND
5865 static const void *lt_preloaded_setup() {
5866 return lt__PROGRAM__LTX_preloaded_symbols;
5874 # Now try linking the two files.
5875 mv conftest.$ac_objext conftstm.$ac_objext
5876 lt_save_LIBS="$LIBS"
5877 lt_save_CFLAGS="$CFLAGS"
5878 LIBS="conftstm.
$ac_objext"
5879 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5880 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5881 (eval $ac_link) 2>&5
5883 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5884 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5887 LIBS="$lt_save_LIBS"
5888 CFLAGS="$lt_save_CFLAGS"
5890 echo "cannot
find nm_test_func
in $nlist" >&5
5893 echo "cannot
find nm_test_var
in $nlist" >&5
5896 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5899 echo "$progname: failed program was
:" >&5
5900 cat conftest.$ac_ext >&5
5902 rm -rf conftest* conftst*
5904 # Do not use the global_symbol_pipe unless it works.
5905 if test "$pipe_works" = yes; then
5908 lt_cv_sys_global_symbol_pipe=
5914 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5915 lt_cv_sys_global_symbol_to_cdecl=
5917 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5919 $as_echo "failed
" >&6; }
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5922 $as_echo "ok
" >&6; }
5947 # Check whether --enable-libtool-lock was given.
5948 if test "${enable_libtool_lock+set}" = set; then :
5949 enableval=$enable_libtool_lock;
5952 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5954 # Some flags need to be propagated to the compiler or linker for good
5958 # Find out which ABI we are using.
5959 echo 'int i;' > conftest.$ac_ext
5960 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5961 (eval $ac_compile) 2>&5
5963 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5964 test $ac_status = 0; }; then
5965 case `/usr/bin/file conftest.$ac_objext` in
5977 # Find out which ABI we are using.
5978 echo '#line 5978 "configure
"' > conftest.$ac_ext
5979 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5980 (eval $ac_compile) 2>&5
5982 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5983 test $ac_status = 0; }; then
5984 if test "$lt_cv_prog_gnu_ld" = yes; then
5985 case `/usr/bin/file conftest.$ac_objext` in
5987 LD="${LD-ld} -melf32bsmip"
5990 LD="${LD-ld} -melf32bmipn32"
5993 LD="${LD-ld} -melf64bmip"
5997 case `/usr/bin/file conftest.$ac_objext` in
6013 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6014 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6015 # Find out which ABI we are using.
6016 echo 'int i;' > conftest.$ac_ext
6017 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6018 (eval $ac_compile) 2>&5
6020 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6021 test $ac_status = 0; }; then
6022 case `/usr/bin/file conftest.o` in
6025 x86_64-*kfreebsd*-gnu)
6026 LD="${LD-ld} -m elf_i386_fbsd
"
6029 LD="${LD-ld} -m elf_i386
"
6031 ppc64-*linux*|powerpc64-*linux*)
6032 LD="${LD-ld} -m elf32ppclinux
"
6035 LD="${LD-ld} -m elf_s390
"
6038 LD="${LD-ld} -m elf32_sparc
"
6044 x86_64-*kfreebsd*-gnu)
6045 LD="${LD-ld} -m elf_x86_64_fbsd
"
6048 LD="${LD-ld} -m elf_x86_64
"
6050 ppc*-*linux*|powerpc*-*linux*)
6051 LD="${LD-ld} -m elf64ppc
"
6053 s390*-*linux*|s390*-*tpf*)
6054 LD="${LD-ld} -m elf64_s390
"
6057 LD="${LD-ld} -m elf64_sparc
"
6067 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6068 SAVE_CFLAGS="$CFLAGS"
6069 CFLAGS="$CFLAGS -belf"
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6071 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6072 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6073 $as_echo_n "(cached
) " >&6
6076 ac_cpp='$CPP $CPPFLAGS'
6077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6082 /* end confdefs.h. */
6092 if ac_fn_c_try_link "$LINENO"; then :
6093 lt_cv_cc_needs_belf=yes
6095 lt_cv_cc_needs_belf=no
6097 rm -f core conftest.err conftest.$ac_objext \
6098 conftest$ac_exeext conftest.$ac_ext
6100 ac_cpp='$CPP $CPPFLAGS'
6101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6107 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6108 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6109 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6110 CFLAGS="$SAVE_CFLAGS"
6114 # Find out which ABI we are using.
6115 echo 'int i;' > conftest.$ac_ext
6116 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6117 (eval $ac_compile) 2>&5
6119 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6120 test $ac_status = 0; }; then
6121 case `/usr/bin/file conftest.o` in
6123 case $lt_cv_prog_gnu_ld in
6124 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6126 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6138 need_locks="$enable_libtool_lock"
6142 rhapsody* | darwin*)
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6147 $as_echo_n "checking
for $ac_word...
" >&6; }
6148 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6149 $as_echo_n "(cached
) " >&6
6151 if test -n "$DSYMUTIL"; then
6152 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6171 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6172 if test -n "$DSYMUTIL"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6174 $as_echo "$DSYMUTIL" >&6; }
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6177 $as_echo "no
" >&6; }
6182 if test -z "$ac_cv_prog_DSYMUTIL"; then
6183 ac_ct_DSYMUTIL=$DSYMUTIL
6184 # Extract the first word of "dsymutil
", so it can be a program name with args.
6185 set dummy dsymutil; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6187 $as_echo_n "checking
for $ac_word...
" >&6; }
6188 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6189 $as_echo_n "(cached
) " >&6
6191 if test -n "$ac_ct_DSYMUTIL"; then
6192 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6211 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6212 if test -n "$ac_ct_DSYMUTIL"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6214 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6217 $as_echo "no
" >&6; }
6220 if test "x
$ac_ct_DSYMUTIL" = x; then
6223 case $cross_compiling:$ac_tool_warned in
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6226 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6227 ac_tool_warned=yes ;;
6229 DSYMUTIL=$ac_ct_DSYMUTIL
6232 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6235 if test -n "$ac_tool_prefix"; then
6236 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6237 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6239 $as_echo_n "checking
for $ac_word...
" >&6; }
6240 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6241 $as_echo_n "(cached
) " >&6
6243 if test -n "$NMEDIT"; then
6244 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6253 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6263 NMEDIT=$ac_cv_prog_NMEDIT
6264 if test -n "$NMEDIT"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6266 $as_echo "$NMEDIT" >&6; }
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6269 $as_echo "no
" >&6; }
6274 if test -z "$ac_cv_prog_NMEDIT"; then
6275 ac_ct_NMEDIT=$NMEDIT
6276 # Extract the first word of "nmedit
", so it can be a program name with args.
6277 set dummy nmedit; ac_word=$2
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6279 $as_echo_n "checking
for $ac_word...
" >&6; }
6280 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6281 $as_echo_n "(cached
) " >&6
6283 if test -n "$ac_ct_NMEDIT"; then
6284 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_exec_ext in '' $ac_executable_extensions; do
6292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6293 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6303 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6304 if test -n "$ac_ct_NMEDIT"; then
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6306 $as_echo "$ac_ct_NMEDIT" >&6; }
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6309 $as_echo "no
" >&6; }
6312 if test "x
$ac_ct_NMEDIT" = x; then
6315 case $cross_compiling:$ac_tool_warned in
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6318 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6319 ac_tool_warned=yes ;;
6321 NMEDIT=$ac_ct_NMEDIT
6324 NMEDIT="$ac_cv_prog_NMEDIT"
6327 if test -n "$ac_tool_prefix"; then
6328 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6329 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6331 $as_echo_n "checking
for $ac_word...
" >&6; }
6332 if test "${ac_cv_prog_LIPO+set}" = set; then :
6333 $as_echo_n "(cached
) " >&6
6335 if test -n "$LIPO"; then
6336 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 test -z "$as_dir" && as_dir=.
6343 for ac_exec_ext in '' $ac_executable_extensions; do
6344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6345 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6355 LIPO=$ac_cv_prog_LIPO
6356 if test -n "$LIPO"; then
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6358 $as_echo "$LIPO" >&6; }
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6361 $as_echo "no
" >&6; }
6366 if test -z "$ac_cv_prog_LIPO"; then
6368 # Extract the first word of "lipo
", so it can be a program name with args.
6369 set dummy lipo; ac_word=$2
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6371 $as_echo_n "checking
for $ac_word...
" >&6; }
6372 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6373 $as_echo_n "(cached
) " >&6
6375 if test -n "$ac_ct_LIPO"; then
6376 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382 test -z "$as_dir" && as_dir=.
6383 for ac_exec_ext in '' $ac_executable_extensions; do
6384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6385 ac_cv_prog_ac_ct_LIPO="lipo
"
6386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6395 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6396 if test -n "$ac_ct_LIPO"; then
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6398 $as_echo "$ac_ct_LIPO" >&6; }
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6401 $as_echo "no
" >&6; }
6404 if test "x
$ac_ct_LIPO" = x; then
6407 case $cross_compiling:$ac_tool_warned in
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6410 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6411 ac_tool_warned=yes ;;
6416 LIPO="$ac_cv_prog_LIPO"
6419 if test -n "$ac_tool_prefix"; then
6420 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6421 set dummy ${ac_tool_prefix}otool; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6423 $as_echo_n "checking
for $ac_word...
" >&6; }
6424 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6425 $as_echo_n "(cached
) " >&6
6427 if test -n "$OTOOL"; then
6428 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6437 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6447 OTOOL=$ac_cv_prog_OTOOL
6448 if test -n "$OTOOL"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6450 $as_echo "$OTOOL" >&6; }
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6453 $as_echo "no
" >&6; }
6458 if test -z "$ac_cv_prog_OTOOL"; then
6460 # Extract the first word of "otool
", so it can be a program name with args.
6461 set dummy otool; ac_word=$2
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6463 $as_echo_n "checking
for $ac_word...
" >&6; }
6464 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6465 $as_echo_n "(cached
) " >&6
6467 if test -n "$ac_ct_OTOOL"; then
6468 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6477 ac_cv_prog_ac_ct_OTOOL="otool
"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6487 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6488 if test -n "$ac_ct_OTOOL"; then
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6490 $as_echo "$ac_ct_OTOOL" >&6; }
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6493 $as_echo "no
" >&6; }
6496 if test "x
$ac_ct_OTOOL" = x; then
6499 case $cross_compiling:$ac_tool_warned in
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6502 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6503 ac_tool_warned=yes ;;
6508 OTOOL="$ac_cv_prog_OTOOL"
6511 if test -n "$ac_tool_prefix"; then
6512 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6513 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6515 $as_echo_n "checking
for $ac_word...
" >&6; }
6516 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6517 $as_echo_n "(cached
) " >&6
6519 if test -n "$OTOOL64"; then
6520 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6529 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6539 OTOOL64=$ac_cv_prog_OTOOL64
6540 if test -n "$OTOOL64"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6542 $as_echo "$OTOOL64" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6545 $as_echo "no
" >&6; }
6550 if test -z "$ac_cv_prog_OTOOL64"; then
6551 ac_ct_OTOOL64=$OTOOL64
6552 # Extract the first word of "otool64
", so it can be a program name with args.
6553 set dummy otool64; ac_word=$2
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6555 $as_echo_n "checking
for $ac_word...
" >&6; }
6556 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6557 $as_echo_n "(cached
) " >&6
6559 if test -n "$ac_ct_OTOOL64"; then
6560 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6566 test -z "$as_dir" && as_dir=.
6567 for ac_exec_ext in '' $ac_executable_extensions; do
6568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6569 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6579 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6580 if test -n "$ac_ct_OTOOL64"; then
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6582 $as_echo "$ac_ct_OTOOL64" >&6; }
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6585 $as_echo "no
" >&6; }
6588 if test "x
$ac_ct_OTOOL64" = x; then
6591 case $cross_compiling:$ac_tool_warned in
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6594 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6595 ac_tool_warned=yes ;;
6597 OTOOL64=$ac_ct_OTOOL64
6600 OTOOL64="$ac_cv_prog_OTOOL64"
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6630 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6631 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6632 $as_echo_n "(cached
) " >&6
6634 lt_cv_apple_cc_single_mod=no
6635 if test -z "${LT_MULTI_MODULE}"; then
6636 # By default we will add the -single_module flag. You can override
6637 # by either setting the environment variable LT_MULTI_MODULE
6638 # non-empty at configure time, or by adding -multi_module to the
6640 rm -rf libconftest.dylib*
6641 echo "int foo
(void
){return 1;}" > conftest.c
6642 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6643 -dynamiclib -Wl,-single_module conftest.c
" >&5
6644 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6645 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6647 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6648 lt_cv_apple_cc_single_mod=yes
6650 cat conftest.err >&5
6652 rm -rf libconftest.dylib*
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6657 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6659 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6660 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6661 $as_echo_n "(cached
) " >&6
6663 lt_cv_ld_exported_symbols_list=no
6664 save_LDFLAGS=$LDFLAGS
6665 echo "_main
" > conftest.sym
6666 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6668 /* end confdefs.h. */
6678 if ac_fn_c_try_link "$LINENO"; then :
6679 lt_cv_ld_exported_symbols_list=yes
6681 lt_cv_ld_exported_symbols_list=no
6683 rm -f core conftest.err conftest.$ac_objext \
6684 conftest$ac_exeext conftest.$ac_ext
6685 LDFLAGS="$save_LDFLAGS"
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6689 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6691 rhapsody* | darwin1.[012])
6692 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6694 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6695 darwin*) # darwin 5.x on
6696 # if running on 10.5 or later, the deployment target defaults
6697 # to the OS version, if on x86, and 10.4, the deployment
6698 # target defaults to 10.4. Don't you love it?
6699 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6700 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6701 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6703 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6705 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6709 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6710 _lt_dar_single_mod='$single_module'
6712 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6713 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6715 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6717 if test "$DSYMUTIL" != ":"; then
6718 _lt_dsymutil='~$DSYMUTIL $lib || :'
6726 ac_cpp='$CPP $CPPFLAGS'
6727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6731 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6732 # On Suns, sometimes $CPP names a directory.
6733 if test -n "$CPP" && test -d "$CPP"; then
6736 if test -z "$CPP"; then
6737 if test "${ac_cv_prog_CPP+set}" = set; then :
6738 $as_echo_n "(cached
) " >&6
6740 # Double quotes because CPP needs to be expanded
6741 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6744 for ac_c_preproc_warn_flag in '' yes
6746 # Use a header file that comes with gcc, so configuring glibc
6747 # with a fresh cross-compiler works.
6748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6749 # <limits.h> exists even on freestanding compilers.
6750 # On the NeXT, cc -E runs the code through the compiler's parser,
6751 # not just through cpp. "Syntax error
" is here to catch this case.
6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6755 # include <limits.h>
6757 # include <assert.h>
6761 if ac_fn_c_try_cpp "$LINENO"; then :
6764 # Broken: fails on valid input.
6767 rm -f conftest.err conftest.$ac_ext
6769 # OK, works on sane cases. Now check whether nonexistent headers
6770 # can be detected and how.
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 #include <ac_nonexistent.h>
6775 if ac_fn_c_try_cpp "$LINENO"; then :
6776 # Broken: success on invalid input.
6779 # Passes both tests.
6783 rm -f conftest.err conftest.$ac_ext
6786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6787 rm -f conftest.err conftest.$ac_ext
6788 if $ac_preproc_ok; then :
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6801 $as_echo "$CPP" >&6; }
6803 for ac_c_preproc_warn_flag in '' yes
6805 # Use a header file that comes with gcc, so configuring glibc
6806 # with a fresh cross-compiler works.
6807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6808 # <limits.h> exists even on freestanding compilers.
6809 # On the NeXT, cc -E runs the code through the compiler's parser,
6810 # not just through cpp. "Syntax error
" is here to catch this case.
6811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6812 /* end confdefs.h. */
6814 # include <limits.h>
6816 # include <assert.h>
6820 if ac_fn_c_try_cpp "$LINENO"; then :
6823 # Broken: fails on valid input.
6826 rm -f conftest.err conftest.$ac_ext
6828 # OK, works on sane cases. Now check whether nonexistent headers
6829 # can be detected and how.
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */
6832 #include <ac_nonexistent.h>
6834 if ac_fn_c_try_cpp "$LINENO"; then :
6835 # Broken: success on invalid input.
6838 # Passes both tests.
6842 rm -f conftest.err conftest.$ac_ext
6845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6846 rm -f conftest.err conftest.$ac_ext
6847 if $ac_preproc_ok; then :
6850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6852 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6853 See \`config.log' for more details.
" "$LINENO" 5; }
6857 ac_cpp='$CPP $CPPFLAGS'
6858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6864 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6865 if test "${ac_cv_header_stdc+set}" = set; then :
6866 $as_echo_n "(cached
) " >&6
6868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6869 /* end confdefs.h. */
6883 if ac_fn_c_try_compile "$LINENO"; then :
6884 ac_cv_header_stdc=yes
6886 ac_cv_header_stdc=no
6888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6890 if test $ac_cv_header_stdc = yes; then
6891 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6897 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6898 $EGREP "memchr
" >/dev/null 2>&1; then :
6901 ac_cv_header_stdc=no
6907 if test $ac_cv_header_stdc = yes; then
6908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6914 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6915 $EGREP "free
" >/dev/null 2>&1; then :
6918 ac_cv_header_stdc=no
6924 if test $ac_cv_header_stdc = yes; then
6925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6926 if test "$cross_compiling" = yes; then :
6929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6933 #if ((' ' & 0x0FF) == 0x020)
6934 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6935 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6937 # define ISLOWER(c) \
6938 (('a' <= (c) && (c) <= 'i') \
6939 || ('j' <= (c) && (c) <= 'r') \
6940 || ('s' <= (c) && (c) <= 'z'))
6941 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6949 for (i = 0; i < 256; i++)
6950 if (XOR (islower (i), ISLOWER (i))
6951 || toupper (i) != TOUPPER (i))
6956 if ac_fn_c_try_run "$LINENO"; then :
6959 ac_cv_header_stdc=no
6961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6962 conftest.$ac_objext conftest.beam conftest.$ac_ext
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6968 $as_echo "$ac_cv_header_stdc" >&6; }
6969 if test $ac_cv_header_stdc = yes; then
6971 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6975 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6976 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6977 inttypes.h stdint.h unistd.h
6979 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6980 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6982 eval as_val
=\$
$as_ac_Header
6983 if test "x$as_val" = x
""yes; then :
6984 cat >>confdefs.h
<<_ACEOF
6985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6993 for ac_header
in dlfcn.h
6995 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6997 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6998 cat >>confdefs.h
<<_ACEOF
6999 #define HAVE_DLFCN_H 1
7018 # Check whether --enable-shared was given.
7019 if test "${enable_shared+set}" = set; then :
7020 enableval
=$enable_shared; p
=${PACKAGE-default}
7022 yes) enable_shared
=yes ;;
7023 no
) enable_shared
=no
;;
7026 # Look at the argument we got. We use all the common list separators.
7027 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7028 for pkg
in $enableval; do
7030 if test "X$pkg" = "X$p"; then
7049 # Check whether --enable-static was given.
7050 if test "${enable_static+set}" = set; then :
7051 enableval
=$enable_static; p
=${PACKAGE-default}
7053 yes) enable_static
=yes ;;
7054 no
) enable_static
=no
;;
7057 # Look at the argument we got. We use all the common list separators.
7058 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7059 for pkg
in $enableval; do
7061 if test "X$pkg" = "X$p"; then
7081 # Check whether --with-pic was given.
7082 if test "${with_pic+set}" = set; then :
7083 withval
=$with_pic; pic_mode
="$withval"
7089 test -z "$pic_mode" && pic_mode
=default
7097 # Check whether --enable-fast-install was given.
7098 if test "${enable_fast_install+set}" = set; then :
7099 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7101 yes) enable_fast_install
=yes ;;
7102 no
) enable_fast_install
=no
;;
7104 enable_fast_install
=no
7105 # Look at the argument we got. We use all the common list separators.
7106 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7107 for pkg
in $enableval; do
7109 if test "X$pkg" = "X$p"; then
7110 enable_fast_install
=yes
7117 enable_fast_install
=yes
7130 # This can be used to rebuild libtool when needed
7131 LIBTOOL_DEPS
="$ltmain"
7133 # Always use our own libtool.
7134 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7160 test -z "$LN_S" && LN_S
="ln -s"
7175 if test -n "${ZSH_VERSION+set}" ; then
7176 setopt NO_GLOB_SUBST
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7180 $as_echo_n "checking for objdir... " >&6; }
7181 if test "${lt_cv_objdir+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 rm -f .libs
2>/dev
/null
7185 mkdir .libs
2>/dev
/null
7186 if test -d .libs
; then
7189 # MS-DOS does not allow filenames that begin with a dot.
7192 rmdir .libs
2>/dev
/null
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7195 $as_echo "$lt_cv_objdir" >&6; }
7196 objdir
=$lt_cv_objdir
7202 cat >>confdefs.h
<<_ACEOF
7203 #define LT_OBJDIR "$lt_cv_objdir/"
7224 # AIX sometimes has problems with the GCC collect2 program. For some
7225 # reason, if we set the COLLECT_NAMES environment variable, the problems
7226 # vanish in a puff of smoke.
7227 if test "X${COLLECT_NAMES+set}" != Xset
; then
7229 export COLLECT_NAMES
7234 # Sed substitution that helps us do robust quoting. It backslashifies
7235 # metacharacters that are still active within double-quoted strings.
7236 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7238 # Same as above, but do not quote variable references.
7239 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7241 # Sed substitution to delay expansion of an escaped shell variable in a
7242 # double_quote_subst'ed string.
7243 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7245 # Sed substitution to delay expansion of an escaped single quote.
7246 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7248 # Sed substitution to avoid accidental globbing in evaled expressions
7249 no_glob_subst
='s/\*/\\\*/g'
7253 can_build_shared
=yes
7255 # All known linkers require a `.a' archive for static linking (except MSVC,
7256 # which needs '.lib').
7259 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7262 old_CFLAGS
="$CFLAGS"
7264 # Set sane defaults for various variables
7265 test -z "$CC" && CC
=cc
7266 test -z "$LTCC" && LTCC
=$CC
7267 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7268 test -z "$LD" && LD
=ld
7269 test -z "$ac_objext" && ac_objext
=o
7271 for cc_temp
in $compiler""; do
7273 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7274 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7279 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7282 # Only perform the check for file, if the check method requires it
7283 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7284 case $deplibs_check_method in
7286 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7288 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7289 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7290 $as_echo_n "(cached) " >&6
7294 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7297 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7298 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7299 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7300 for ac_dir
in $ac_dummy; do
7302 test -z "$ac_dir" && ac_dir
=.
7303 if test -f $ac_dir/${ac_tool_prefix}file; then
7304 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7305 if test -n "$file_magic_test_file"; then
7306 case $deplibs_check_method in
7308 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7309 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7310 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7311 $EGREP "$file_magic_regex" > /dev
/null
; then
7316 *** Warning: the command libtool uses to detect shared libraries,
7317 *** $file_magic_cmd, produces output that libtool cannot recognize.
7318 *** The result is that libtool may fail to recognize shared libraries
7319 *** as such. This will affect the creation of libtool libraries that
7320 *** depend on shared libraries, but programs linked with such libtool
7321 *** libraries will work regardless of this problem. Nevertheless, you
7322 *** may want to report the problem to your system manager and/or to
7323 *** bug-libtool@gnu.org
7333 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7338 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7339 if test -n "$MAGIC_CMD"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7341 $as_echo "$MAGIC_CMD" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 $as_echo "no" >&6; }
7351 if test -z "$lt_cv_path_MAGIC_CMD"; then
7352 if test -n "$ac_tool_prefix"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7354 $as_echo_n "checking for file... " >&6; }
7355 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7356 $as_echo_n "(cached) " >&6
7360 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7363 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7364 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7365 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7366 for ac_dir
in $ac_dummy; do
7368 test -z "$ac_dir" && ac_dir
=.
7369 if test -f $ac_dir/file; then
7370 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7371 if test -n "$file_magic_test_file"; then
7372 case $deplibs_check_method in
7374 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7375 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7376 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7377 $EGREP "$file_magic_regex" > /dev
/null
; then
7382 *** Warning: the command libtool uses to detect shared libraries,
7383 *** $file_magic_cmd, produces output that libtool cannot recognize.
7384 *** The result is that libtool may fail to recognize shared libraries
7385 *** as such. This will affect the creation of libtool libraries that
7386 *** depend on shared libraries, but programs linked with such libtool
7387 *** libraries will work regardless of this problem. Nevertheless, you
7388 *** may want to report the problem to your system manager and/or to
7389 *** bug-libtool@gnu.org
7399 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7404 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7405 if test -n "$MAGIC_CMD"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7407 $as_echo "$MAGIC_CMD" >&6; }
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7423 # Use C for the default configuration in the libtool script
7427 ac_cpp
='$CPP $CPPFLAGS'
7428 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7433 # Source file extension for C test sources.
7436 # Object file extension for compiled C test sources.
7440 # Code to be used in simple compile tests
7441 lt_simple_compile_test_code
="int some_variable = 0;"
7443 # Code to be used in simple link tests
7444 lt_simple_link_test_code
='int main(){return(0);}'
7452 # If no C compiler was specified, use CC.
7455 # If no C compiler flags were specified, use CFLAGS.
7456 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7458 # Allow CC to be a program name with arguments.
7461 # Save the default compiler, since it gets overwritten when the other
7462 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7463 compiler_DEFAULT
=$CC
7465 # save warnings/boilerplate of simple test code
7466 ac_outfile
=conftest.
$ac_objext
7467 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7468 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7469 _lt_compiler_boilerplate
=`cat conftest.err`
7472 ac_outfile
=conftest.
$ac_objext
7473 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7474 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7475 _lt_linker_boilerplate
=`cat conftest.err`
7480 ## There is no encapsulation within the following macros, do not change
7481 ## the running order or otherwise move them around unless you know exactly
7482 ## what you are doing...
7483 if test -n "$compiler"; then
7485 lt_prog_compiler_no_builtin_flag
=
7487 if test "$GCC" = yes; then
7488 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7491 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7492 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7493 $as_echo_n "(cached) " >&6
7495 lt_cv_prog_compiler_rtti_exceptions
=no
7496 ac_outfile
=conftest.
$ac_objext
7497 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7498 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7499 # Insert the option either (1) after the last *FLAGS variable, or
7500 # (2) before a word containing "conftest.", or (3) at the end.
7501 # Note that $ac_compile itself does not contain backslashes and begins
7502 # with a dollar sign (not a hyphen), so the echo should work correctly.
7503 # The option is referenced via a variable to avoid confusing sed.
7504 lt_compile
=`echo "$ac_compile" | $SED \
7505 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7506 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7507 -e 's:$: $lt_compiler_flag:'`
7508 (eval echo "\"\$as_me:7508: $lt_compile\"" >&5)
7509 (eval "$lt_compile" 2>conftest.err
)
7511 cat conftest.err
>&5
7512 echo "$as_me:7512: \$? = $ac_status" >&5
7513 if (exit $ac_status) && test -s "$ac_outfile"; then
7514 # The compiler can only warn and ignore the option if not recognized
7515 # So say no if there are warnings other than the usual output.
7516 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7517 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7518 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7519 lt_cv_prog_compiler_rtti_exceptions
=yes
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7526 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7528 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7529 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7541 lt_prog_compiler_wl
=
7542 lt_prog_compiler_pic
=
7543 lt_prog_compiler_static
=
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7546 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7548 if test "$GCC" = yes; then
7549 lt_prog_compiler_wl
='-Wl,'
7550 lt_prog_compiler_static
='-static'
7554 # All AIX code is PIC.
7555 if test "$host_cpu" = ia64
; then
7556 # AIX 5 now supports IA64 processor
7557 lt_prog_compiler_static
='-Bstatic'
7564 # see comment about AmigaOS4 .so support
7565 lt_prog_compiler_pic
='-fPIC'
7568 # FIXME: we need at least 68020 code to build shared libraries, but
7569 # adding the `-m68020' flag to GCC prevents building anything better,
7571 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7576 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7577 # PIC is the default for these OSes.
7580 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7581 # This hack is so that the source file can tell whether it is being
7582 # built for inclusion in a dll (and should export symbols for example).
7583 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7584 # (--disable-auto-import) libraries
7585 lt_prog_compiler_pic
='-DDLL_EXPORT'
7588 darwin
* | rhapsody
*)
7589 # PIC is the default on this platform
7590 # Common symbols not allowed in MH_DYLIB files
7591 lt_prog_compiler_pic
='-fno-common'
7595 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7596 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7597 # sets the default TLS model and affects inlining.
7603 lt_prog_compiler_pic
='-fPIC'
7609 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7610 # Instead, we relocate shared libraries at runtime.
7614 # Just because we use GCC doesn't mean we suddenly get shared libraries
7615 # on systems that don't support them.
7616 lt_prog_compiler_can_build_shared
=no
7621 # QNX uses GNU C++, but need to define -shared option too, otherwise
7623 lt_prog_compiler_pic
='-fPIC -shared'
7627 if test -d /usr
/nec
; then
7628 lt_prog_compiler_pic
=-Kconform_pic
7633 lt_prog_compiler_pic
='-fPIC'
7637 # PORTME Check for flag to pass linker flags through the system compiler.
7640 lt_prog_compiler_wl
='-Wl,'
7641 if test "$host_cpu" = ia64
; then
7642 # AIX 5 now supports IA64 processor
7643 lt_prog_compiler_static
='-Bstatic'
7645 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7649 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7650 # This hack is so that the source file can tell whether it is being
7651 # built for inclusion in a dll (and should export symbols for example).
7652 lt_prog_compiler_pic
='-DDLL_EXPORT'
7655 hpux9
* | hpux10
* | hpux11
*)
7656 lt_prog_compiler_wl
='-Wl,'
7657 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7664 lt_prog_compiler_pic
='+Z'
7667 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7668 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7671 irix5
* | irix6
* | nonstopux
*)
7672 lt_prog_compiler_wl
='-Wl,'
7673 # PIC (with -KPIC) is the default.
7674 lt_prog_compiler_static
='-non_shared'
7677 linux
* | k
*bsd
*-gnu)
7678 case $cc_basename in
7679 # old Intel for x86_64 which still supported -KPIC.
7681 lt_prog_compiler_wl
='-Wl,'
7682 lt_prog_compiler_pic
='-KPIC'
7683 lt_prog_compiler_static
='-static'
7685 # icc used to be incompatible with GCC.
7686 # ICC 10 doesn't accept -KPIC any more.
7688 lt_prog_compiler_wl
='-Wl,'
7689 lt_prog_compiler_pic
='-fPIC'
7690 lt_prog_compiler_static
='-static'
7692 # Lahey Fortran 8.1.
7694 lt_prog_compiler_wl
='-Wl,'
7695 lt_prog_compiler_pic
='--shared'
7696 lt_prog_compiler_static
='--static'
7698 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7699 # Portland Group compilers (*not* the Pentium gcc compiler,
7700 # which looks to be a dead project)
7701 lt_prog_compiler_wl
='-Wl,'
7702 lt_prog_compiler_pic
='-fpic'
7703 lt_prog_compiler_static
='-Bstatic'
7706 lt_prog_compiler_wl
='-Wl,'
7707 # All Alpha code is PIC.
7708 lt_prog_compiler_static
='-non_shared'
7711 # IBM XL C 8.0/Fortran 10.1 on PPC
7712 lt_prog_compiler_wl
='-Wl,'
7713 lt_prog_compiler_pic
='-qpic'
7714 lt_prog_compiler_static
='-qstaticlink'
7717 case `$CC -V 2>&1 | sed 5q` in
7720 lt_prog_compiler_pic
='-KPIC'
7721 lt_prog_compiler_static
='-Bstatic'
7722 lt_prog_compiler_wl
='-Wl,'
7725 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7726 lt_prog_compiler_pic
='-KPIC'
7727 lt_prog_compiler_static
='-Bstatic'
7728 lt_prog_compiler_wl
=''
7736 lt_prog_compiler_pic
='-KPIC'
7737 lt_prog_compiler_static
='-Bstatic'
7741 # QNX uses GNU C++, but need to define -shared option too, otherwise
7743 lt_prog_compiler_pic
='-fPIC -shared'
7746 osf3
* | osf4
* | osf5
*)
7747 lt_prog_compiler_wl
='-Wl,'
7748 # All OSF/1 code is PIC.
7749 lt_prog_compiler_static
='-non_shared'
7753 lt_prog_compiler_static
='-non_shared'
7757 lt_prog_compiler_pic
='-KPIC'
7758 lt_prog_compiler_static
='-Bstatic'
7759 case $cc_basename in
7761 lt_prog_compiler_wl
='-Qoption ld ';;
7763 lt_prog_compiler_wl
='-Wl,';;
7768 lt_prog_compiler_wl
='-Qoption ld '
7769 lt_prog_compiler_pic
='-PIC'
7770 lt_prog_compiler_static
='-Bstatic'
7773 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7774 lt_prog_compiler_wl
='-Wl,'
7775 lt_prog_compiler_pic
='-KPIC'
7776 lt_prog_compiler_static
='-Bstatic'
7780 if test -d /usr
/nec
;then
7781 lt_prog_compiler_pic
='-Kconform_pic'
7782 lt_prog_compiler_static
='-Bstatic'
7786 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7787 lt_prog_compiler_wl
='-Wl,'
7788 lt_prog_compiler_pic
='-KPIC'
7789 lt_prog_compiler_static
='-Bstatic'
7793 lt_prog_compiler_wl
='-Wl,'
7794 lt_prog_compiler_can_build_shared
=no
7798 lt_prog_compiler_pic
='-pic'
7799 lt_prog_compiler_static
='-Bstatic'
7803 lt_prog_compiler_can_build_shared
=no
7809 # For platforms which do not support PIC, -DPIC is meaningless:
7811 lt_prog_compiler_pic
=
7814 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7818 $as_echo "$lt_prog_compiler_pic" >&6; }
7826 # Check to make sure the PIC flag actually works.
7828 if test -n "$lt_prog_compiler_pic"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7830 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7831 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7832 $as_echo_n "(cached) " >&6
7834 lt_cv_prog_compiler_pic_works
=no
7835 ac_outfile
=conftest.
$ac_objext
7836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7837 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7838 # Insert the option either (1) after the last *FLAGS variable, or
7839 # (2) before a word containing "conftest.", or (3) at the end.
7840 # Note that $ac_compile itself does not contain backslashes and begins
7841 # with a dollar sign (not a hyphen), so the echo should work correctly.
7842 # The option is referenced via a variable to avoid confusing sed.
7843 lt_compile
=`echo "$ac_compile" | $SED \
7844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7846 -e 's:$: $lt_compiler_flag:'`
7847 (eval echo "\"\$as_me:7847: $lt_compile\"" >&5)
7848 (eval "$lt_compile" 2>conftest.err
)
7850 cat conftest.err
>&5
7851 echo "$as_me:7851: \$? = $ac_status" >&5
7852 if (exit $ac_status) && test -s "$ac_outfile"; then
7853 # The compiler can only warn and ignore the option if not recognized
7854 # So say no if there are warnings other than the usual output.
7855 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7856 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7857 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7858 lt_cv_prog_compiler_pic_works
=yes
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7865 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7867 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7868 case $lt_prog_compiler_pic in
7870 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7873 lt_prog_compiler_pic
=
7874 lt_prog_compiler_can_build_shared
=no
7885 # Check to make sure the static flag actually works.
7887 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7889 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7890 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7893 lt_cv_prog_compiler_static_works
=no
7894 save_LDFLAGS
="$LDFLAGS"
7895 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7896 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7897 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7898 # The linker can only warn and ignore the option if not recognized
7899 # So say no if there are warnings
7900 if test -s conftest.err
; then
7901 # Append any errors to the config.log.
7902 cat conftest.err
1>&5
7903 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7904 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7905 if diff conftest.exp conftest.er2
>/dev
/null
; then
7906 lt_cv_prog_compiler_static_works
=yes
7909 lt_cv_prog_compiler_static_works
=yes
7913 LDFLAGS
="$save_LDFLAGS"
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7917 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7919 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7922 lt_prog_compiler_static
=
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7932 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7933 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7934 $as_echo_n "(cached) " >&6
7936 lt_cv_prog_compiler_c_o
=no
7937 $RM -r conftest
2>/dev
/null
7941 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7943 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7944 # Insert the option either (1) after the last *FLAGS variable, or
7945 # (2) before a word containing "conftest.", or (3) at the end.
7946 # Note that $ac_compile itself does not contain backslashes and begins
7947 # with a dollar sign (not a hyphen), so the echo should work correctly.
7948 lt_compile
=`echo "$ac_compile" | $SED \
7949 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7950 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7951 -e 's:$: $lt_compiler_flag:'`
7952 (eval echo "\"\$as_me:7952: $lt_compile\"" >&5)
7953 (eval "$lt_compile" 2>out
/conftest.err
)
7955 cat out
/conftest.err
>&5
7956 echo "$as_me:7956: \$? = $ac_status" >&5
7957 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7959 # The compiler can only warn and ignore the option if not recognized
7960 # So say no if there are warnings
7961 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7962 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7963 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7964 lt_cv_prog_compiler_c_o
=yes
7969 # SGI C++ compiler will create directory out/ii_files/ for
7970 # template instantiation
7971 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7972 $RM out
/* && rmdir out
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7979 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7987 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7988 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7989 $as_echo_n "(cached) " >&6
7991 lt_cv_prog_compiler_c_o
=no
7992 $RM -r conftest
2>/dev
/null
7996 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7998 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7999 # Insert the option either (1) after the last *FLAGS variable, or
8000 # (2) before a word containing "conftest.", or (3) at the end.
8001 # Note that $ac_compile itself does not contain backslashes and begins
8002 # with a dollar sign (not a hyphen), so the echo should work correctly.
8003 lt_compile
=`echo "$ac_compile" | $SED \
8004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8006 -e 's:$: $lt_compiler_flag:'`
8007 (eval echo "\"\$as_me:8007: $lt_compile\"" >&5)
8008 (eval "$lt_compile" 2>out
/conftest.err
)
8010 cat out
/conftest.err
>&5
8011 echo "$as_me:8011: \$? = $ac_status" >&5
8012 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8014 # The compiler can only warn and ignore the option if not recognized
8015 # So say no if there are warnings
8016 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8017 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8018 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8019 lt_cv_prog_compiler_c_o
=yes
8024 # SGI C++ compiler will create directory out/ii_files/ for
8025 # template instantiation
8026 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8027 $RM out
/* && rmdir out
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8034 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8039 hard_links
="nottested"
8040 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8041 # do not overwrite the value of need_locks provided by the user
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8043 $as_echo_n "checking if we can lock with hard links... " >&6; }
8046 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8048 ln conftest.a conftest.b
2>&5 || hard_links
=no
8049 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8051 $as_echo "$hard_links" >&6; }
8052 if test "$hard_links" = no
; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8054 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8067 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8070 allow_undefined_flag
=
8071 always_export_symbols
=no
8073 archive_expsym_cmds
=
8074 compiler_needs_object
=no
8075 enable_shared_with_static_runtimes
=no
8076 export_dynamic_flag_spec
=
8077 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8078 hardcode_automatic
=no
8080 hardcode_direct_absolute
=no
8081 hardcode_libdir_flag_spec
=
8082 hardcode_libdir_flag_spec_ld
=
8083 hardcode_libdir_separator
=
8085 hardcode_shlibpath_var
=unsupported
8087 link_all_deplibs
=unknown
8090 old_archive_from_new_cmds
=
8091 old_archive_from_expsyms_cmds
=
8092 thread_safe_flag_spec
=
8093 whole_archive_flag_spec
=
8094 # include_expsyms should be a list of space-separated symbols to be *always*
8095 # included in the symbol list
8097 # exclude_expsyms can be an extended regexp of symbols to exclude
8098 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8099 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8100 # as well as any symbol that contains `d'.
8101 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8102 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8103 # platforms (ab)use it in PIC code, but their linkers get confused if
8104 # the symbol is explicitly referenced. Since portable code cannot
8105 # rely on this symbol name, it's probably fine to never include it in
8106 # preloaded symbol tables.
8107 # Exclude shared library initialization/finalization symbols.
8108 extract_expsyms_cmds
=
8111 cygwin
* | mingw
* | pw32
* | cegcc
*)
8112 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8113 # When not using gcc, we currently assume that we are using
8114 # Microsoft Visual C++.
8115 if test "$GCC" != yes; then
8120 # we just hope/assume this is gcc and not c89 (= MSVC++)
8129 if test "$with_gnu_ld" = yes; then
8130 # If archive_cmds runs LD, not CC, wlarc should be empty
8133 # Set some defaults for GNU ld with shared library support. These
8134 # are reset later if shared libraries are not supported. Putting them
8135 # here allows them to be overridden if necessary.
8136 runpath_var
=LD_RUN_PATH
8137 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8138 export_dynamic_flag_spec
='${wl}--export-dynamic'
8139 # ancient GNU ld didn't support --whole-archive et. al.
8140 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8141 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8143 whole_archive_flag_spec
=
8145 supports_anon_versioning
=no
8146 case `$LD -v 2>&1` in
8147 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8148 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8149 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8150 *\
2.11.
*) ;; # other 2.11 versions
8151 *) supports_anon_versioning
=yes ;;
8154 # See if GNU ld supports shared libraries.
8157 # On AIX/PPC, the GNU linker is very broken
8158 if test "$host_cpu" != ia64
; then
8162 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8163 *** to be unable to reliably create shared libraries on AIX.
8164 *** Therefore, libtool is disabling shared libraries support. If you
8165 *** really care for shared libraries, you may want to modify your PATH
8166 *** so that a non-GNU linker is found, and then restart.
8175 # see comment about AmigaOS4 .so support
8176 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8177 archive_expsym_cmds
=''
8180 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)'
8181 hardcode_libdir_flag_spec
='-L$libdir'
8182 hardcode_minus_L
=yes
8188 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8189 allow_undefined_flag
=unsupported
8190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8191 # support --undefined. This deserves some investigation. FIXME
8192 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8198 cygwin
* | mingw
* | pw32
* | cegcc
*)
8199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8200 # as there is no search path for DLLs.
8201 hardcode_libdir_flag_spec
='-L$libdir'
8202 allow_undefined_flag
=unsupported
8203 always_export_symbols
=no
8204 enable_shared_with_static_runtimes
=yes
8205 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8207 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8208 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8209 # If the export-symbols file already is a .def file (1st line
8210 # is EXPORTS), use it as is; otherwise, prepend...
8211 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8212 cp $export_symbols $output_objdir/$soname.def;
8214 echo EXPORTS > $output_objdir/$soname.def;
8215 cat $export_symbols >> $output_objdir/$soname.def;
8217 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8225 hardcode_shlibpath_var
=no
8226 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8227 export_dynamic_flag_spec
='${wl}-E'
8228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8229 # Instead, shared libraries are loaded at an image base (0x10000000 by
8230 # default) and relocated if they conflict, which is a slow very memory
8231 # consuming and fragmenting process. To avoid this, we pick a random,
8232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8234 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8235 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'
8238 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8240 if test "$host_os" = linux-dietlibc
; then
8241 case $cc_basename in
8242 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8245 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8246 && test "$tmp_diet" = no
8249 tmp_sharedflag
='-shared'
8250 case $cc_basename,$host_cpu in
8251 pgcc
*) # Portland Group C compiler
8252 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'
8253 tmp_addflag
=' $pic_flag'
8255 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8256 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'
8257 tmp_addflag
=' $pic_flag -Mnomain' ;;
8258 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8259 tmp_addflag
=' -i_dynamic' ;;
8260 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8261 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8262 ifc
* | ifort
*) # Intel Fortran compiler
8263 tmp_addflag
=' -nofor_main' ;;
8264 lf95
*) # Lahey Fortran 8.1
8265 whole_archive_flag_spec
=
8266 tmp_sharedflag
='--shared' ;;
8267 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8268 tmp_sharedflag
='-qmkshrobj'
8271 case `$CC -V 2>&1 | sed 5q` in
8272 *Sun\ C
*) # Sun C 5.9
8273 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'
8274 compiler_needs_object
=yes
8275 tmp_sharedflag
='-G' ;;
8276 *Sun\ F
*) # Sun Fortran 8.3
8277 tmp_sharedflag
='-G' ;;
8279 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8281 if test "x$supports_anon_versioning" = xyes
; then
8282 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8283 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8284 echo "local: *; };" >> $output_objdir/$libname.ver~
8285 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8288 case $cc_basename in
8290 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8291 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8292 hardcode_libdir_flag_spec
=
8293 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8294 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8295 if test "x$supports_anon_versioning" = xyes
; then
8296 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8297 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8298 echo "local: *; };" >> $output_objdir/$libname.ver~
8299 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8309 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8310 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8313 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8314 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8319 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8324 *** create shared libraries on Solaris systems. Therefore, libtool
8325 *** is disabling shared libraries support. We urge you to upgrade GNU
8326 *** binutils to release 2.9.1 or newer. Another option is to modify
8327 *** your PATH or compiler configuration so that the native linker is
8328 *** used, and then restart.
8331 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8332 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8333 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8339 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8340 case `$LD -v 2>&1` in
8341 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8346 *** reliably create shared libraries on SCO systems. Therefore, libtool
8347 *** is disabling shared libraries support. We urge you to upgrade GNU
8348 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8349 *** your PATH or compiler configuration so that the native linker is
8350 *** used, and then restart.
8355 # For security reasons, it is highly recommended that you always
8356 # use absolute paths for naming shared libraries, and exclude the
8357 # DT_RUNPATH tag from executables and libraries. But doing so
8358 # requires that you compile everything twice, which is a pain.
8359 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8360 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8361 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8362 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8371 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8374 hardcode_shlibpath_var
=no
8378 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8379 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8380 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8387 if test "$ld_shlibs" = no
; then
8389 hardcode_libdir_flag_spec
=
8390 export_dynamic_flag_spec
=
8391 whole_archive_flag_spec
=
8394 # PORTME fill in a description of your system's linker (not GNU ld)
8397 allow_undefined_flag
=unsupported
8398 always_export_symbols
=yes
8399 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'
8400 # Note: this linker hardcodes the directories in LIBPATH if there
8401 # are no directories specified by -L.
8402 hardcode_minus_L
=yes
8403 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8404 # Neither direct hardcoding nor static linking is supported with a
8406 hardcode_direct
=unsupported
8411 if test "$host_cpu" = ia64
; then
8412 # On IA64, the linker does run time linking by default, so we don't
8413 # have to do anything special.
8414 aix_use_runtimelinking
=no
8415 exp_sym_flag
='-Bexport'
8418 # If we're using GNU nm, then we don't want the "-C" option.
8419 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8420 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8421 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'
8423 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'
8425 aix_use_runtimelinking
=no
8427 # Test if we are trying to use run time linking or normal
8428 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8429 # need to do runtime linking.
8430 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8431 for ld_flag
in $LDFLAGS; do
8432 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8433 aix_use_runtimelinking
=yes
8440 exp_sym_flag
='-bexport'
8441 no_entry_flag
='-bnoentry'
8444 # When large executables or shared objects are built, AIX ld can
8445 # have problems creating the table of contents. If linking a library
8446 # or program results in "error TOC overflow" add -mminimal-toc to
8447 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8448 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8452 hardcode_direct_absolute
=yes
8453 hardcode_libdir_separator
=':'
8454 link_all_deplibs
=yes
8455 file_list_spec
='${wl}-f,'
8457 if test "$GCC" = yes; then
8458 case $host_os in aix4.
[012]|aix4.
[012].
*)
8459 # We only want to do this on AIX 4.2 and lower, the check
8460 # below for broken collect2 doesn't work under 4.3+
8461 collect2name
=`${CC} -print-prog-name=collect2`
8462 if test -f "$collect2name" &&
8463 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8465 # We have reworked collect2
8468 # We have old collect2
8469 hardcode_direct
=unsupported
8470 # It fails to find uninstalled libraries when the uninstalled
8471 # path is not listed in the libpath. Setting hardcode_minus_L
8472 # to unsupported forces relinking
8473 hardcode_minus_L
=yes
8474 hardcode_libdir_flag_spec
='-L$libdir'
8475 hardcode_libdir_separator
=
8479 shared_flag
='-shared'
8480 if test "$aix_use_runtimelinking" = yes; then
8481 shared_flag
="$shared_flag "'${wl}-G'
8485 if test "$host_cpu" = ia64
; then
8486 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8487 # chokes on -Wl,-G. The following line is correct:
8490 if test "$aix_use_runtimelinking" = yes; then
8491 shared_flag
='${wl}-G'
8493 shared_flag
='${wl}-bM:SRE'
8498 export_dynamic_flag_spec
='${wl}-bexpall'
8499 # It seems that -bexpall does not export symbols beginning with
8500 # underscore (_), so it is better to generate a list of symbols to export.
8501 always_export_symbols
=yes
8502 if test "$aix_use_runtimelinking" = yes; then
8503 # Warning - without using the other runtime loading flags (-brtl),
8504 # -berok will link without error, but may produce a broken library.
8505 allow_undefined_flag
='-berok'
8506 # Determine the default libpath from the value encoded in an
8508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8509 /* end confdefs.h. */
8519 if ac_fn_c_try_link
"$LINENO"; then :
8521 lt_aix_libpath_sed
='
8522 /Import File Strings/,/^$/ {
8528 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8529 # Check for a 64-bit object if we didn't find anything.
8530 if test -z "$aix_libpath"; then
8531 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8534 rm -f core conftest.err conftest.
$ac_objext \
8535 conftest
$ac_exeext conftest.
$ac_ext
8536 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8538 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8539 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"
8541 if test "$host_cpu" = ia64
; then
8542 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8543 allow_undefined_flag
="-z nodefs"
8544 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"
8546 # Determine the default libpath from the value encoded in an
8548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8559 if ac_fn_c_try_link
"$LINENO"; then :
8561 lt_aix_libpath_sed
='
8562 /Import File Strings/,/^$/ {
8568 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8569 # Check for a 64-bit object if we didn't find anything.
8570 if test -z "$aix_libpath"; then
8571 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8578 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8579 # Warning - without using the other run time loading flags,
8580 # -berok will link without error, but may produce a broken library.
8581 no_undefined_flag
=' ${wl}-bernotok'
8582 allow_undefined_flag
=' ${wl}-berok'
8583 # Exported symbols can be pulled into shared objects from archives
8584 whole_archive_flag_spec
='$convenience'
8585 archive_cmds_need_lc
=yes
8586 # This is similar to how AIX traditionally builds its shared libraries.
8587 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'
8595 # see comment about AmigaOS4 .so support
8596 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8597 archive_expsym_cmds
=''
8600 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)'
8601 hardcode_libdir_flag_spec
='-L$libdir'
8602 hardcode_minus_L
=yes
8608 export_dynamic_flag_spec
=-rdynamic
8611 cygwin
* | mingw
* | pw32
* | cegcc
*)
8612 # When not using gcc, we currently assume that we are using
8613 # Microsoft Visual C++.
8614 # hardcode_libdir_flag_spec is actually meaningless, as there is
8615 # no search path for DLLs.
8616 hardcode_libdir_flag_spec
=' '
8617 allow_undefined_flag
=unsupported
8618 # Tell ltmain to make .lib files, not .a files.
8620 # Tell ltmain to make .dll files, not .so files.
8622 # FIXME: Setting linknames here is a bad hack.
8623 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8624 # The linker will automatically build a .lib file if we build a DLL.
8625 old_archive_from_new_cmds
='true'
8626 # FIXME: Should let the user specify the lib program.
8627 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8628 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8629 enable_shared_with_static_runtimes
=yes
8632 darwin
* | rhapsody
*)
8635 archive_cmds_need_lc
=no
8637 hardcode_automatic
=yes
8638 hardcode_shlibpath_var
=unsupported
8639 whole_archive_flag_spec
=''
8640 link_all_deplibs
=yes
8641 allow_undefined_flag
="$_lt_dar_allow_undefined"
8642 case $cc_basename in
8643 ifort
*) _lt_dar_can_shared
=yes ;;
8644 *) _lt_dar_can_shared
=$GCC ;;
8646 if test "$_lt_dar_can_shared" = "yes"; then
8647 output_verbose_link_cmd
=echo
8648 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8649 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8650 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}"
8651 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}"
8660 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8661 hardcode_libdir_flag_spec
='-L$libdir'
8662 hardcode_shlibpath_var
=no
8669 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8670 # support. Future versions do this automatically, but an explicit c++rt0.o
8671 # does not break anything, and helps significantly (at the cost of a little
8674 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8675 hardcode_libdir_flag_spec
='-R$libdir'
8677 hardcode_shlibpath_var
=no
8680 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8682 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8684 hardcode_minus_L
=yes
8685 hardcode_shlibpath_var
=no
8688 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8689 freebsd
* | dragonfly
*)
8690 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8691 hardcode_libdir_flag_spec
='-R$libdir'
8693 hardcode_shlibpath_var
=no
8697 if test "$GCC" = yes; then
8698 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'
8700 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'
8702 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8703 hardcode_libdir_separator
=:
8706 # hardcode_minus_L: Not really in the search PATH,
8707 # but as the default location of the library.
8708 hardcode_minus_L
=yes
8709 export_dynamic_flag_spec
='${wl}-E'
8713 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8714 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8716 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8718 if test "$with_gnu_ld" = no
; then
8719 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8720 hardcode_libdir_flag_spec_ld
='+b $libdir'
8721 hardcode_libdir_separator
=:
8723 hardcode_direct_absolute
=yes
8724 export_dynamic_flag_spec
='${wl}-E'
8725 # hardcode_minus_L: Not really in the search PATH,
8726 # but as the default location of the library.
8727 hardcode_minus_L
=yes
8732 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8735 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8738 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8747 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8750 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8753 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8757 if test "$with_gnu_ld" = no
; then
8758 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8759 hardcode_libdir_separator
=:
8764 hardcode_shlibpath_var
=no
8768 hardcode_direct_absolute
=yes
8769 export_dynamic_flag_spec
='${wl}-E'
8771 # hardcode_minus_L: Not really in the search PATH,
8772 # but as the default location of the library.
8773 hardcode_minus_L
=yes
8779 irix5
* | irix6
* | nonstopux
*)
8780 if test "$GCC" = yes; then
8781 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'
8782 # Try to use the -exported_symbol ld option, if it does not
8783 # work, assume that -exports_file does not work either and
8784 # implicitly export all symbols.
8785 save_LDFLAGS
="$LDFLAGS"
8786 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8791 if ac_fn_c_try_link
"$LINENO"; then :
8792 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'
8795 rm -f core conftest.err conftest.
$ac_objext \
8796 conftest
$ac_exeext conftest.
$ac_ext
8797 LDFLAGS
="$save_LDFLAGS"
8799 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'
8800 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'
8802 archive_cmds_need_lc
='no'
8803 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8804 hardcode_libdir_separator
=:
8806 link_all_deplibs
=yes
8810 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8811 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8813 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8815 hardcode_libdir_flag_spec
='-R$libdir'
8817 hardcode_shlibpath_var
=no
8821 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8823 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8824 hardcode_libdir_separator
=:
8825 hardcode_shlibpath_var
=no
8832 if test -f /usr
/libexec
/ld.so
; then
8834 hardcode_shlibpath_var
=no
8835 hardcode_direct_absolute
=yes
8836 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8837 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8838 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8839 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8840 export_dynamic_flag_spec
='${wl}-E'
8843 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8844 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8845 hardcode_libdir_flag_spec
='-R$libdir'
8848 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8849 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8859 hardcode_libdir_flag_spec
='-L$libdir'
8860 hardcode_minus_L
=yes
8861 allow_undefined_flag
=unsupported
8862 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'
8863 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8867 if test "$GCC" = yes; then
8868 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8869 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'
8871 allow_undefined_flag
=' -expect_unresolved \*'
8872 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'
8874 archive_cmds_need_lc
='no'
8875 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8876 hardcode_libdir_separator
=:
8879 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8880 if test "$GCC" = yes; then
8881 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8882 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'
8883 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8885 allow_undefined_flag
=' -expect_unresolved \*'
8886 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'
8887 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~
8888 $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'
8890 # Both c and cxx compiler support -rpath directly
8891 hardcode_libdir_flag_spec
='-rpath $libdir'
8893 archive_cmds_need_lc
='no'
8894 hardcode_libdir_separator
=:
8898 no_undefined_flag
=' -z defs'
8899 if test "$GCC" = yes; then
8901 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8902 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8903 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8905 case `$CC -V 2>&1` in
8908 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8909 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8910 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8914 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8915 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8916 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8920 hardcode_libdir_flag_spec
='-R$libdir'
8921 hardcode_shlibpath_var
=no
8923 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8925 # The compiler driver will combine and reorder linker options,
8926 # but understands `-z linker_flag'. GCC discards it without `$wl',
8927 # but is careful enough not to reorder.
8928 # Supported since Solaris 2.6 (maybe 2.5.1?)
8929 if test "$GCC" = yes; then
8930 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8932 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8936 link_all_deplibs
=yes
8940 if test "x$host_vendor" = xsequent
; then
8941 # Use $CC to link under sequent, because it throws in some extra .o
8942 # files that make .init and .fini sections work.
8943 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8945 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8947 hardcode_libdir_flag_spec
='-L$libdir'
8949 hardcode_minus_L
=yes
8950 hardcode_shlibpath_var
=no
8954 case $host_vendor in
8956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8957 hardcode_direct
=yes # is this really true???
8960 ## LD is ld it makes a PLAMLIB
8961 ## CC just makes a GrossModule.
8962 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8963 reload_cmds
='$CC -r -o $output$reload_objs'
8967 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8968 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8971 runpath_var
='LD_RUN_PATH'
8972 hardcode_shlibpath_var
=no
8976 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8977 hardcode_shlibpath_var
=no
8978 export_dynamic_flag_spec
='-Bexport'
8982 if test -d /usr
/nec
; then
8983 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8984 hardcode_shlibpath_var
=no
8985 runpath_var
=LD_RUN_PATH
8986 hardcode_runpath_var
=yes
8991 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8992 no_undefined_flag
='${wl}-z,text'
8993 archive_cmds_need_lc
=no
8994 hardcode_shlibpath_var
=no
8995 runpath_var
='LD_RUN_PATH'
8997 if test "$GCC" = yes; then
8998 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8999 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9001 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9002 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9006 sysv5
* | sco3.2v5
* | sco5v6
*)
9007 # Note: We can NOT use -z defs as we might desire, because we do not
9008 # link with -lc, and that would cause any symbols used from libc to
9009 # always be unresolved, which means just about no library would
9010 # ever link correctly. If we're not using GNU ld we use -z text
9011 # though, which does catch some bad symbols but isn't as heavy-handed
9013 no_undefined_flag
='${wl}-z,text'
9014 allow_undefined_flag
='${wl}-z,nodefs'
9015 archive_cmds_need_lc
=no
9016 hardcode_shlibpath_var
=no
9017 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9018 hardcode_libdir_separator
=':'
9019 link_all_deplibs
=yes
9020 export_dynamic_flag_spec
='${wl}-Bexport'
9021 runpath_var
='LD_RUN_PATH'
9023 if test "$GCC" = yes; then
9024 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9025 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9027 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9028 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9033 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9034 hardcode_libdir_flag_spec
='-L$libdir'
9035 hardcode_shlibpath_var
=no
9043 if test x
$host_vendor = xsni
; then
9045 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9046 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9053 $as_echo "$ld_shlibs" >&6; }
9054 test "$ld_shlibs" = no
&& can_build_shared
=no
9056 with_gnu_ld
=$with_gnu_ld
9073 # Do we need to explicitly link libc?
9075 case "x$archive_cmds_need_lc" in
9077 # Assume -lc should be added
9078 archive_cmds_need_lc
=yes
9080 if test "$enable_shared" = yes && test "$GCC" = yes; then
9081 case $archive_cmds in
9083 # FIXME: we may have to deal with multi-command sequences.
9086 # Test whether the compiler implicitly links with -lc since on some
9087 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9088 # to ld, don't add -lc before -lgcc.
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9090 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9092 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9095 (eval $ac_compile) 2>&5
9097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9098 test $ac_status = 0; } 2>conftest.err
; then
9101 libobjs
=conftest.
$ac_objext
9103 wl
=$lt_prog_compiler_wl
9104 pic_flag
=$lt_prog_compiler_pic
9110 lt_save_allow_undefined_flag
=$allow_undefined_flag
9111 allow_undefined_flag
=
9112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9113 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9116 test $ac_status = 0; }
9118 archive_cmds_need_lc
=no
9120 archive_cmds_need_lc
=yes
9122 allow_undefined_flag
=$lt_save_allow_undefined_flag
9124 cat conftest.err
1>&5
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9128 $as_echo "$archive_cmds_need_lc" >&6; }
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9292 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9294 if test "$GCC" = yes; then
9296 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9297 *) lt_awk_arg
="/^libraries:/" ;;
9299 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9300 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9301 # if the path contains ";" then we assume it to be the separator
9302 # otherwise default to the standard path separator (i.e. ":") - it is
9303 # assumed that no part of a normal pathname contains ";" but that should
9304 # okay in the real world where ";" in dirpaths is itself problematic.
9305 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9307 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9309 # Ok, now we have the path, separated by spaces, we can step through it
9310 # and add multilib dir if necessary.
9311 lt_tmp_lt_search_path_spec
=
9312 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9313 for lt_sys_path
in $lt_search_path_spec; do
9314 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9315 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9317 test -d "$lt_sys_path" && \
9318 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9321 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9322 BEGIN {RS=" "; FS="/|\n";} {
9325 for (lt_i = NF; lt_i > 0; lt_i--) {
9326 if ($lt_i != "" && $lt_i != ".") {
9327 if ($lt_i == "..") {
9330 if (lt_count == 0) {
9331 lt_foo="/" $lt_i lt_foo;
9338 if (lt_foo != "") { lt_freq[lt_foo]++; }
9339 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9341 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9343 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9346 libname_spec
='lib$name'
9354 shlibpath_overrides_runpath
=unknown
9356 dynamic_linker
="$host_os ld.so"
9357 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9358 need_lib_prefix
=unknown
9359 hardcode_into_libs
=no
9361 # when you set need_version to no, make sure it does not cause -set_version
9362 # flags to be left without arguments
9363 need_version
=unknown
9368 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9369 shlibpath_var
=LIBPATH
9371 # AIX 3 has no versioning support, so we append a major version to the name.
9372 soname_spec
='${libname}${release}${shared_ext}$major'
9379 hardcode_into_libs
=yes
9380 if test "$host_cpu" = ia64
; then
9381 # AIX 5 supports IA64
9382 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9383 shlibpath_var
=LD_LIBRARY_PATH
9385 # With GCC up to 2.95.x, collect2 would create an import file
9386 # for dependence libraries. The import file would start with
9387 # the line `#! .'. This would cause the generated library to
9388 # depend on `.', always an invalid library. This was fixed in
9389 # development snapshots of GCC prior to 3.0.
9391 aix4 | aix4.
[01] | aix4.
[01].
*)
9392 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9394 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9401 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9402 # soname into executable. Probably we can add versioning support to
9403 # collect2, so additional links can be useful in future.
9404 if test "$aix_use_runtimelinking" = yes; then
9405 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9406 # instead of lib<name>.a to let people know that these are not
9407 # typical AIX shared libraries.
9408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9410 # We preserve .a as extension for shared libraries through AIX4.2
9411 # and later when we are not doing run time linking.
9412 library_names_spec
='${libname}${release}.a $libname.a'
9413 soname_spec
='${libname}${release}${shared_ext}$major'
9415 shlibpath_var
=LIBPATH
9422 # Since July 2007 AmigaOS4 officially supports .so libraries.
9423 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9427 library_names_spec
='$libname.ixlibrary $libname.a'
9428 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9429 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'
9435 library_names_spec
='${libname}${shared_ext}'
9436 dynamic_linker
="$host_os ld.so"
9437 shlibpath_var
=LIBRARY_PATH
9443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9444 soname_spec
='${libname}${release}${shared_ext}$major'
9445 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9446 shlibpath_var
=LD_LIBRARY_PATH
9447 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9448 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9449 # the default ld.so.conf also contains /usr/contrib/lib and
9450 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9451 # libtool to hard-code these into programs
9454 cygwin
* | mingw
* | pw32
* | cegcc
*)
9455 version_type
=windows
9460 case $GCC,$host_os in
9461 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9462 library_names_spec
='$libname.dll.a'
9463 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9464 postinstall_cmds
='base_file=`basename \${file}`~
9465 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9466 dldir=$destdir/`dirname \$dlpath`~
9467 test -d \$dldir || mkdir -p \$dldir~
9468 $install_prog $dir/$dlname \$dldir/$dlname~
9469 chmod a+x \$dldir/$dlname~
9470 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9471 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9473 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9474 dlpath=$dir/\$dldll~
9476 shlibpath_overrides_runpath
=yes
9480 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9481 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9482 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9485 # MinGW DLLs use traditional 'lib' prefix
9486 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9487 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9488 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9489 # It is most probably a Windows format PATH printed by
9490 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9491 # path with ; separators, and with drive letters. We can handle the
9492 # drive letters (cygwin fileutils understands them), so leave them,
9493 # especially as we might pass files found there to a mingw objdump,
9494 # which wouldn't understand a cygwinified path. Ahh.
9495 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9497 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9501 # pw32 DLLs use 'pw' prefix rather than 'lib'
9502 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9508 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9511 dynamic_linker
='Win32 ld.exe'
9512 # FIXME: first we should search . and the directory the executable is in
9516 darwin
* | rhapsody
*)
9517 dynamic_linker
="$host_os dyld"
9521 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9522 soname_spec
='${libname}${release}${major}$shared_ext'
9523 shlibpath_overrides_runpath
=yes
9524 shlibpath_var
=DYLD_LIBRARY_PATH
9525 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9527 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9528 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9536 soname_spec
='${libname}${release}${shared_ext}$major'
9537 shlibpath_var
=LD_LIBRARY_PATH
9544 freebsd
* | dragonfly
*)
9545 # DragonFly does not have aout. When/if they implement a new
9546 # versioning mechanism, adjust this.
9547 if test -x /usr
/bin
/objformat
; then
9548 objformat
=`/usr/bin/objformat`
9551 freebsd
[123]*) objformat
=aout
;;
9555 version_type
=freebsd-
$objformat
9556 case $version_type in
9558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9563 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9567 shlibpath_var
=LD_LIBRARY_PATH
9570 shlibpath_overrides_runpath
=yes
9572 freebsd3.
[01]* | freebsdelf3.
[01]*)
9573 shlibpath_overrides_runpath
=yes
9574 hardcode_into_libs
=yes
9576 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9577 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9578 shlibpath_overrides_runpath
=no
9579 hardcode_into_libs
=yes
9581 *) # from 4.6 on, and DragonFly
9582 shlibpath_overrides_runpath
=yes
9583 hardcode_into_libs
=yes
9592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9593 soname_spec
='${libname}${release}${shared_ext}$major'
9594 shlibpath_var
=LD_LIBRARY_PATH
9595 hardcode_into_libs
=yes
9598 hpux9
* | hpux10
* | hpux11
*)
9599 # Give a soname corresponding to the major version so that dld.sl refuses to
9600 # link against other versions.
9607 hardcode_into_libs
=yes
9608 dynamic_linker
="$host_os dld.so"
9609 shlibpath_var
=LD_LIBRARY_PATH
9610 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9612 soname_spec
='${libname}${release}${shared_ext}$major'
9613 if test "X$HPUX_IA64_MODE" = X32
; then
9614 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9616 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9618 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9622 hardcode_into_libs
=yes
9623 dynamic_linker
="$host_os dld.sl"
9624 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9625 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9627 soname_spec
='${libname}${release}${shared_ext}$major'
9628 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9629 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9633 dynamic_linker
="$host_os dld.sl"
9634 shlibpath_var
=SHLIB_PATH
9635 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9637 soname_spec
='${libname}${release}${shared_ext}$major'
9640 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9641 postinstall_cmds
='chmod 555 $lib'
9648 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9649 soname_spec
='${libname}${release}${shared_ext}$major'
9650 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9651 shlibpath_var
=LD_LIBRARY_PATH
9652 shlibpath_overrides_runpath
=no
9653 hardcode_into_libs
=yes
9656 irix5
* | irix6
* | nonstopux
*)
9658 nonstopux
*) version_type
=nonstopux
;;
9660 if test "$lt_cv_prog_gnu_ld" = yes; then
9668 soname_spec
='${libname}${release}${shared_ext}$major'
9669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9671 irix5
* | nonstopux
*)
9675 case $LD in # libtool.m4 will add one of these switches to LD
9676 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9677 libsuff
= shlibsuff
= libmagic
=32-bit;;
9678 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9679 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9680 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9681 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9682 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9686 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9687 shlibpath_overrides_runpath
=no
9688 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9689 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9690 hardcode_into_libs
=yes
9693 # No shared lib support for Linux oldld, aout, or coff.
9694 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9698 # This must be Linux ELF.
9699 linux
* | k
*bsd
*-gnu)
9703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9704 soname_spec
='${libname}${release}${shared_ext}$major'
9705 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9706 shlibpath_var
=LD_LIBRARY_PATH
9707 shlibpath_overrides_runpath
=no
9708 # Some binutils ld are patched to set DT_RUNPATH
9709 save_LDFLAGS
=$LDFLAGS
9711 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9712 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9724 if ac_fn_c_try_link
"$LINENO"; then :
9725 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9726 shlibpath_overrides_runpath
=yes
9729 rm -f core conftest.err conftest.
$ac_objext \
9730 conftest
$ac_exeext conftest.
$ac_ext
9731 LDFLAGS
=$save_LDFLAGS
9734 # This implies no fast_install, which is unacceptable.
9735 # Some rework will be needed to allow for fast_install
9736 # before this can be enabled.
9737 hardcode_into_libs
=yes
9739 # Append ld.so.conf contents to the search path
9740 if test -f /etc
/ld.so.conf
; then
9741 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' ' '`
9742 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9745 # We used to test for /lib/ld.so.1 and disable shared libraries on
9746 # powerpc, because MkLinux only supported shared libraries with the
9747 # GNU dynamic linker. Since this was broken with cross compilers,
9748 # most powerpc-linux boxes support dynamic linking these days and
9749 # people can always --disable-shared, the test was removed, and we
9750 # assume the GNU/Linux dynamic linker is in use.
9751 dynamic_linker
='GNU/Linux ld.so'
9758 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9760 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9761 dynamic_linker
='NetBSD (a.out) ld.so'
9763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9764 soname_spec
='${libname}${release}${shared_ext}$major'
9765 dynamic_linker
='NetBSD ld.elf_so'
9767 shlibpath_var
=LD_LIBRARY_PATH
9768 shlibpath_overrides_runpath
=yes
9769 hardcode_into_libs
=yes
9774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9775 shlibpath_var
=LD_LIBRARY_PATH
9776 shlibpath_overrides_runpath
=yes
9783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9784 soname_spec
='${libname}${release}${shared_ext}$major'
9785 shlibpath_var
=LD_LIBRARY_PATH
9786 shlibpath_overrides_runpath
=no
9787 hardcode_into_libs
=yes
9788 dynamic_linker
='ldqnx.so'
9793 sys_lib_dlsearch_path_spec
="/usr/lib"
9795 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9797 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9798 *) need_version
=no
;;
9800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9801 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9802 shlibpath_var
=LD_LIBRARY_PATH
9803 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9805 openbsd2.
[89] | openbsd2.
[89].
*)
9806 shlibpath_overrides_runpath
=no
9809 shlibpath_overrides_runpath
=yes
9813 shlibpath_overrides_runpath
=yes
9818 libname_spec
='$name'
9821 library_names_spec
='$libname${shared_ext} $libname.a'
9822 dynamic_linker
='OS/2 ld.exe'
9823 shlibpath_var
=LIBPATH
9826 osf3
* | osf4
* | osf5
*)
9830 soname_spec
='${libname}${release}${shared_ext}$major'
9831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9832 shlibpath_var
=LD_LIBRARY_PATH
9833 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9834 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9846 soname_spec
='${libname}${release}${shared_ext}$major'
9847 shlibpath_var
=LD_LIBRARY_PATH
9848 shlibpath_overrides_runpath
=yes
9849 hardcode_into_libs
=yes
9850 # ldd complains unless libraries are executable
9851 postinstall_cmds
='chmod +x $lib'
9856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9857 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9858 shlibpath_var
=LD_LIBRARY_PATH
9859 shlibpath_overrides_runpath
=yes
9860 if test "$with_gnu_ld" = yes; then
9868 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9869 soname_spec
='${libname}${release}${shared_ext}$major'
9870 shlibpath_var
=LD_LIBRARY_PATH
9871 case $host_vendor in
9873 shlibpath_overrides_runpath
=no
9875 runpath_var
=LD_RUN_PATH
9883 shlibpath_overrides_runpath
=no
9884 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9890 if test -d /usr
/nec
;then
9892 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9893 soname_spec
='$libname${shared_ext}.$major'
9894 shlibpath_var
=LD_LIBRARY_PATH
9898 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9899 version_type
=freebsd-elf
9902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9903 soname_spec
='${libname}${release}${shared_ext}$major'
9904 shlibpath_var
=LD_LIBRARY_PATH
9905 shlibpath_overrides_runpath
=yes
9906 hardcode_into_libs
=yes
9907 if test "$with_gnu_ld" = yes; then
9908 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9910 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9913 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9917 sys_lib_dlsearch_path_spec
='/usr/lib'
9921 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9926 shlibpath_var
=LD_LIBRARY_PATH
9927 shlibpath_overrides_runpath
=no
9928 hardcode_into_libs
=yes
9933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9934 soname_spec
='${libname}${release}${shared_ext}$major'
9935 shlibpath_var
=LD_LIBRARY_PATH
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9943 $as_echo "$dynamic_linker" >&6; }
9944 test "$dynamic_linker" = no
&& can_build_shared
=no
9946 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9947 if test "$GCC" = yes; then
9948 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9951 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9952 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9954 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9955 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10045 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10047 if test -n "$hardcode_libdir_flag_spec" ||
10048 test -n "$runpath_var" ||
10049 test "X$hardcode_automatic" = "Xyes" ; then
10051 # We can hardcode non-existent directories.
10052 if test "$hardcode_direct" != no
&&
10053 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10054 # have to relink, otherwise we might link with an installed library
10055 # when we should be linking with a yet-to-be-installed one
10056 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10057 test "$hardcode_minus_L" != no
; then
10058 # Linking always hardcodes the temporary library directory.
10059 hardcode_action
=relink
10061 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10062 hardcode_action
=immediate
10065 # We cannot hardcode anything, or else we can only hardcode existing
10067 hardcode_action
=unsupported
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10070 $as_echo "$hardcode_action" >&6; }
10072 if test "$hardcode_action" = relink ||
10073 test "$inherit_rpath" = yes; then
10074 # Fast installation is not supported
10075 enable_fast_install
=no
10076 elif test "$shlibpath_overrides_runpath" = yes ||
10077 test "$enable_shared" = no
; then
10078 # Fast installation is not necessary
10079 enable_fast_install
=needless
10087 if test "x$enable_dlopen" != xyes
; then
10088 enable_dlopen
=unknown
10089 enable_dlopen_self
=unknown
10090 enable_dlopen_self_static
=unknown
10097 lt_cv_dlopen
="load_add_on"
10099 lt_cv_dlopen_self
=yes
10102 mingw
* | pw32
* | cegcc
*)
10103 lt_cv_dlopen
="LoadLibrary"
10108 lt_cv_dlopen
="dlopen"
10113 # if libdl is installed we need to link against it
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10115 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10116 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10117 $as_echo_n "(cached) " >&6
10119 ac_check_lib_save_LIBS
=$LIBS
10121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10124 /* Override any GCC internal prototype to avoid an error.
10125 Use char because int might match the return type of a GCC
10126 builtin and then its argument prototype would still apply. */
10139 if ac_fn_c_try_link
"$LINENO"; then :
10140 ac_cv_lib_dl_dlopen
=yes
10142 ac_cv_lib_dl_dlopen
=no
10144 rm -f core conftest.err conftest.
$ac_objext \
10145 conftest
$ac_exeext conftest.
$ac_ext
10146 LIBS
=$ac_check_lib_save_LIBS
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10149 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10150 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10151 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10154 lt_cv_dlopen
="dyld"
10156 lt_cv_dlopen_self
=yes
10163 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10164 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10165 lt_cv_dlopen
="shl_load"
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10168 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10169 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10170 $as_echo_n "(cached) " >&6
10172 ac_check_lib_save_LIBS
=$LIBS
10174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10187 return shl_load ();
10192 if ac_fn_c_try_link
"$LINENO"; then :
10193 ac_cv_lib_dld_shl_load
=yes
10195 ac_cv_lib_dld_shl_load
=no
10197 rm -f core conftest.err conftest.
$ac_objext \
10198 conftest
$ac_exeext conftest.
$ac_ext
10199 LIBS
=$ac_check_lib_save_LIBS
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10202 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10203 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10204 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10206 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10207 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10208 lt_cv_dlopen
="dlopen"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10211 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10212 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_lib_save_LIBS
=$LIBS
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10235 if ac_fn_c_try_link
"$LINENO"; then :
10236 ac_cv_lib_dl_dlopen
=yes
10238 ac_cv_lib_dl_dlopen
=no
10240 rm -f core conftest.err conftest.
$ac_objext \
10241 conftest
$ac_exeext conftest.
$ac_ext
10242 LIBS
=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10245 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10246 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10247 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10250 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10251 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10252 $as_echo_n "(cached) " >&6
10254 ac_check_lib_save_LIBS
=$LIBS
10255 LIBS
="-lsvld $LIBS"
10256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10259 /* Override any GCC internal prototype to avoid an error.
10260 Use char because int might match the return type of a GCC
10261 builtin and then its argument prototype would still apply. */
10274 if ac_fn_c_try_link
"$LINENO"; then :
10275 ac_cv_lib_svld_dlopen
=yes
10277 ac_cv_lib_svld_dlopen
=no
10279 rm -f core conftest.err conftest.
$ac_objext \
10280 conftest
$ac_exeext conftest.
$ac_ext
10281 LIBS
=$ac_check_lib_save_LIBS
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10284 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10285 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10286 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10289 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10290 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10291 $as_echo_n "(cached) " >&6
10293 ac_check_lib_save_LIBS
=$LIBS
10295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10298 /* Override any GCC internal prototype to avoid an error.
10299 Use char because int might match the return type of a GCC
10300 builtin and then its argument prototype would still apply. */
10308 return dld_link ();
10313 if ac_fn_c_try_link
"$LINENO"; then :
10314 ac_cv_lib_dld_dld_link
=yes
10316 ac_cv_lib_dld_dld_link
=no
10318 rm -f core conftest.err conftest.
$ac_objext \
10319 conftest
$ac_exeext conftest.
$ac_ext
10320 LIBS
=$ac_check_lib_save_LIBS
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10323 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10324 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10325 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10346 if test "x$lt_cv_dlopen" != xno
; then
10352 case $lt_cv_dlopen in
10354 save_CPPFLAGS
="$CPPFLAGS"
10355 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10357 save_LDFLAGS
="$LDFLAGS"
10358 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10361 LIBS
="$lt_cv_dlopen_libs $LIBS"
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10364 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10365 if test "${lt_cv_dlopen_self+set}" = set; then :
10366 $as_echo_n "(cached) " >&6
10368 if test "$cross_compiling" = yes; then :
10369 lt_cv_dlopen_self
=cross
10371 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10372 lt_status
=$lt_dlunknown
10373 cat > conftest.
$ac_ext <<_LT_EOF
10374 #line 10374 "configure"
10375 #include "confdefs.h"
10384 # define LT_DLGLOBAL RTLD_GLOBAL
10387 # define LT_DLGLOBAL DL_GLOBAL
10389 # define LT_DLGLOBAL 0
10393 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10394 find out it does not work in some platform. */
10395 #ifndef LT_DLLAZY_OR_NOW
10397 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10400 # define LT_DLLAZY_OR_NOW DL_LAZY
10403 # define LT_DLLAZY_OR_NOW RTLD_NOW
10406 # define LT_DLLAZY_OR_NOW DL_NOW
10408 # define LT_DLLAZY_OR_NOW 0
10415 void fnord() { int i=42;}
10418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10419 int status = $lt_dlunknown;
10423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10424 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10425 /* dlclose (self); */
10433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10434 (eval $ac_link) 2>&5
10436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10437 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10438 (.
/conftest
; exit; ) >&5 2>/dev
/null
10440 case x
$lt_status in
10441 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10442 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10443 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10446 # compilation failed
10447 lt_cv_dlopen_self
=no
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10455 $as_echo "$lt_cv_dlopen_self" >&6; }
10457 if test "x$lt_cv_dlopen_self" = xyes
; then
10458 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10460 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10461 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10462 $as_echo_n "(cached) " >&6
10464 if test "$cross_compiling" = yes; then :
10465 lt_cv_dlopen_self_static
=cross
10467 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10468 lt_status
=$lt_dlunknown
10469 cat > conftest.
$ac_ext <<_LT_EOF
10470 #line 10470 "configure"
10471 #include "confdefs.h"
10480 # define LT_DLGLOBAL RTLD_GLOBAL
10483 # define LT_DLGLOBAL DL_GLOBAL
10485 # define LT_DLGLOBAL 0
10489 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10490 find out it does not work in some platform. */
10491 #ifndef LT_DLLAZY_OR_NOW
10493 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10496 # define LT_DLLAZY_OR_NOW DL_LAZY
10499 # define LT_DLLAZY_OR_NOW RTLD_NOW
10502 # define LT_DLLAZY_OR_NOW DL_NOW
10504 # define LT_DLLAZY_OR_NOW 0
10511 void fnord() { int i=42;}
10514 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10515 int status = $lt_dlunknown;
10519 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10520 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10521 /* dlclose (self); */
10529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10530 (eval $ac_link) 2>&5
10532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10533 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10534 (.
/conftest
; exit; ) >&5 2>/dev
/null
10536 case x
$lt_status in
10537 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10538 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10539 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10542 # compilation failed
10543 lt_cv_dlopen_self_static
=no
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10551 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10554 CPPFLAGS
="$save_CPPFLAGS"
10555 LDFLAGS
="$save_LDFLAGS"
10560 case $lt_cv_dlopen_self in
10561 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10562 *) enable_dlopen_self
=unknown
;;
10565 case $lt_cv_dlopen_self_static in
10566 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10567 *) enable_dlopen_self_static
=unknown
;;
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10590 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10591 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10592 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10593 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10595 $as_echo "yes" >&6; }
10597 # FIXME - insert some real tests, host_os isn't really good enough
10600 if test -n "$STRIP" ; then
10601 striplib
="$STRIP -x"
10602 old_striplib
="$STRIP -S"
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10604 $as_echo "yes" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10607 $as_echo "no" >&6; }
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10612 $as_echo "no" >&6; }
10628 # Report which library types will actually be built
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10630 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10632 $as_echo "$can_build_shared" >&6; }
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10635 $as_echo_n "checking whether to build shared libraries... " >&6; }
10636 test "$can_build_shared" = "no" && enable_shared
=no
10638 # On AIX, shared libraries and static libraries use the same namespace, and
10639 # are all built from PIC.
10642 test "$enable_shared" = yes && enable_static
=no
10643 if test -n "$RANLIB"; then
10644 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10645 postinstall_cmds
='$RANLIB $lib'
10650 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10651 test "$enable_shared" = yes && enable_static
=no
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10656 $as_echo "$enable_shared" >&6; }
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10659 $as_echo_n "checking whether to build static libraries... " >&6; }
10660 # Make sure either enable_shared or enable_static is yes.
10661 test "$enable_shared" = yes || enable_static
=yes
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10663 $as_echo "$enable_static" >&6; }
10670 ac_cpp
='$CPP $CPPFLAGS'
10671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10689 ac_config_commands
="$ac_config_commands libtool"
10694 # Only expand once:
10700 ac_cpp
='$CPP $CPPFLAGS'
10701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10706 ac_cpp
='$CPP $CPPFLAGS'
10707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10710 if test -n "$ac_tool_prefix"; then
10711 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10712 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10714 $as_echo_n "checking for $ac_word... " >&6; }
10715 if test "${ac_cv_prog_CC+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10718 if test -n "$CC"; then
10719 ac_cv_prog_CC
="$CC" # Let the user override the test.
10721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10722 for as_dir
in $PATH
10725 test -z "$as_dir" && as_dir
=.
10726 for ac_exec_ext
in '' $ac_executable_extensions; do
10727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10728 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10739 if test -n "$CC"; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10741 $as_echo "$CC" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10744 $as_echo "no" >&6; }
10749 if test -z "$ac_cv_prog_CC"; then
10751 # Extract the first word of "gcc", so it can be a program name with args.
10752 set dummy gcc
; ac_word
=$2
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10754 $as_echo_n "checking for $ac_word... " >&6; }
10755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10756 $as_echo_n "(cached) " >&6
10758 if test -n "$ac_ct_CC"; then
10759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10762 for as_dir
in $PATH
10765 test -z "$as_dir" && as_dir
=.
10766 for ac_exec_ext
in '' $ac_executable_extensions; do
10767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10768 ac_cv_prog_ac_ct_CC
="gcc"
10769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10779 if test -n "$ac_ct_CC"; then
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10781 $as_echo "$ac_ct_CC" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10784 $as_echo "no" >&6; }
10787 if test "x$ac_ct_CC" = x
; then
10790 case $cross_compiling:$ac_tool_warned in
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10794 ac_tool_warned
=yes ;;
10799 CC
="$ac_cv_prog_CC"
10802 if test -z "$CC"; then
10803 if test -n "$ac_tool_prefix"; then
10804 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10805 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10807 $as_echo_n "checking for $ac_word... " >&6; }
10808 if test "${ac_cv_prog_CC+set}" = set; then :
10809 $as_echo_n "(cached) " >&6
10811 if test -n "$CC"; then
10812 ac_cv_prog_CC
="$CC" # Let the user override the test.
10814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10815 for as_dir
in $PATH
10818 test -z "$as_dir" && as_dir
=.
10819 for ac_exec_ext
in '' $ac_executable_extensions; do
10820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10821 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10832 if test -n "$CC"; then
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10834 $as_echo "$CC" >&6; }
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10837 $as_echo "no" >&6; }
10843 if test -z "$CC"; then
10844 # Extract the first word of "cc", so it can be a program name with args.
10845 set dummy cc
; ac_word
=$2
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10847 $as_echo_n "checking for $ac_word... " >&6; }
10848 if test "${ac_cv_prog_CC+set}" = set; then :
10849 $as_echo_n "(cached) " >&6
10851 if test -n "$CC"; then
10852 ac_cv_prog_CC
="$CC" # Let the user override the test.
10854 ac_prog_rejected
=no
10855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10856 for as_dir
in $PATH
10859 test -z "$as_dir" && as_dir
=.
10860 for ac_exec_ext
in '' $ac_executable_extensions; do
10861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10862 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10863 ac_prog_rejected
=yes
10867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10874 if test $ac_prog_rejected = yes; then
10875 # We found a bogon in the path, so make sure we never use it.
10876 set dummy
$ac_cv_prog_CC
10878 if test $# != 0; then
10879 # We chose a different compiler from the bogus one.
10880 # However, it has the same basename, so the bogon will be chosen
10881 # first if we set CC to just the basename; use the full file name.
10883 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10889 if test -n "$CC"; then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10891 $as_echo "$CC" >&6; }
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10894 $as_echo "no" >&6; }
10899 if test -z "$CC"; then
10900 if test -n "$ac_tool_prefix"; then
10901 for ac_prog
in cl.exe
10903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10904 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10906 $as_echo_n "checking for $ac_word... " >&6; }
10907 if test "${ac_cv_prog_CC+set}" = set; then :
10908 $as_echo_n "(cached) " >&6
10910 if test -n "$CC"; then
10911 ac_cv_prog_CC
="$CC" # Let the user override the test.
10913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10914 for as_dir
in $PATH
10917 test -z "$as_dir" && as_dir
=.
10918 for ac_exec_ext
in '' $ac_executable_extensions; do
10919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10920 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10931 if test -n "$CC"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10933 $as_echo "$CC" >&6; }
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10936 $as_echo "no" >&6; }
10940 test -n "$CC" && break
10943 if test -z "$CC"; then
10945 for ac_prog
in cl.exe
10947 # Extract the first word of "$ac_prog", so it can be a program name with args.
10948 set dummy
$ac_prog; ac_word
=$2
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10950 $as_echo_n "checking for $ac_word... " >&6; }
10951 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10952 $as_echo_n "(cached) " >&6
10954 if test -n "$ac_ct_CC"; then
10955 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10958 for as_dir
in $PATH
10961 test -z "$as_dir" && as_dir
=.
10962 for ac_exec_ext
in '' $ac_executable_extensions; do
10963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10964 ac_cv_prog_ac_ct_CC
="$ac_prog"
10965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10974 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10975 if test -n "$ac_ct_CC"; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10977 $as_echo "$ac_ct_CC" >&6; }
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10980 $as_echo "no" >&6; }
10984 test -n "$ac_ct_CC" && break
10987 if test "x$ac_ct_CC" = x
; then
10990 case $cross_compiling:$ac_tool_warned in
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10994 ac_tool_warned
=yes ;;
11003 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11005 as_fn_error
"no acceptable C compiler found in \$PATH
11006 See \`config.log' for more details." "$LINENO" 5; }
11008 # Provide some information about the compiler.
11009 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11012 for ac_option
in --version -v -V -qversion; do
11013 { { ac_try
="$ac_compiler $ac_option >&5"
11014 case "(($ac_try" in
11015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11016 *) ac_try_echo=$ac_try;;
11018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11019 $as_echo "$ac_try_echo"; } >&5
11020 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11022 if test -s conftest.err; then
11024 ... rest of stderr output deleted ...
11025 10q' conftest.err >conftest.er1
11026 cat conftest.er1 >&5
11028 rm -f conftest.er1 conftest.err
11029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11030 test $ac_status = 0; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11034 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11035 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11036 $as_echo_n "(cached) " >&6
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11052 if ac_fn_c_try_compile "$LINENO"; then :
11053 ac_compiler_gnu=yes
11057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11062 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11063 if test $ac_compiler_gnu = yes; then
11068 ac_test_CFLAGS=${CFLAGS+set}
11069 ac_save_CFLAGS=$CFLAGS
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11071 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11072 if test "${ac_cv_prog_cc_g+set}" = set; then :
11073 $as_echo_n "(cached) " >&6
11075 ac_save_c_werror_flag=$ac_c_werror_flag
11076 ac_c_werror_flag=yes
11079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080 /* end confdefs.h. */
11090 if ac_fn_c_try_compile "$LINENO"; then :
11091 ac_cv_prog_cc_g=yes
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11105 if ac_fn_c_try_compile "$LINENO"; then :
11108 ac_c_werror_flag=$ac_save_c_werror_flag
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11121 if ac_fn_c_try_compile "$LINENO"; then :
11122 ac_cv_prog_cc_g=yes
11124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11129 ac_c_werror_flag=$ac_save_c_werror_flag
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11132 $as_echo "$ac_cv_prog_cc_g" >&6; }
11133 if test "$ac_test_CFLAGS" = set; then
11134 CFLAGS=$ac_save_CFLAGS
11135 elif test $ac_cv_prog_cc_g = yes; then
11136 if test "$GCC" = yes; then
11142 if test "$GCC" = yes; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11150 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11151 $as_echo_n "(cached) " >&6
11153 ac_cv_prog_cc_c89=no
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 #include <stdarg.h>
11159 #include <sys/types.h>
11160 #include <sys/stat.h>
11161 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11162 struct buf { int x; };
11163 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11164 static char *e (p, i)
11170 static char *f (char * (*g) (char **, int), char **p, ...)
11175 s = g (p, va_arg (v,int));
11180 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11181 function prototypes and stuff, but not '\xHH' hex character constants.
11182 These don't provoke an error unfortunately, instead are silently treated
11183 as 'x'. The following induces an error, until -std is added to get
11184 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11185 array size at least. It's necessary to write '\x00'==0 to get something
11186 that's true only with -std. */
11187 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11189 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11190 inside strings and character constants. */
11192 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11194 int test (int i, double x);
11195 struct s1 {int (*f) (int a);};
11196 struct s2 {int (*f) (double a);};
11197 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11203 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11208 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11209 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11211 CC="$ac_save_CC $ac_arg"
11212 if ac_fn_c_try_compile "$LINENO"; then :
11213 ac_cv_prog_cc_c89=$ac_arg
11215 rm -f core conftest.err conftest.$ac_objext
11216 test "x$ac_cv_prog_cc_c89" != "xno" && break
11218 rm -f conftest.$ac_ext
11223 case "x$ac_cv_prog_cc_c89" in
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11226 $as_echo "none needed" >&6; } ;;
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11229 $as_echo "unsupported" >&6; } ;;
11231 CC="$CC $ac_cv_prog_cc_c89"
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11233 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11235 if test "x$ac_cv_prog_cc_c89" != xno; then :
11240 ac_cpp='$CPP $CPPFLAGS'
11241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11245 depcc="$CC" am_compiler_list=
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11248 $as_echo_n "checking dependency style of $depcc... " >&6; }
11249 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11250 $as_echo_n "(cached) " >&6
11252 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11253 # We make a subdir and do the tests there. Otherwise we can end up
11254 # making bogus files that we don't know about and never remove. For
11255 # instance it was reported that on HP-UX the gcc test will end up
11256 # making a dummy file named `D
' -- because `-MD' means
`put the output
11259 # Copy depcomp to subdir because otherwise we won't find it if we're
11260 # using a relative directory.
11261 cp "$am_depcomp" conftest.dir
11263 # We will build objects and dependencies in a subdirectory because
11264 # it helps to detect inapplicable dependency modes. For instance
11265 # both Tru64's cc and ICC support -MD to output dependencies as a
11266 # side effect of compilation, but ICC will put the dependencies in
11267 # the current directory while Tru64 will put them in the object
11271 am_cv_CC_dependencies_compiler_type=none
11272 if test "$am_compiler_list" = ""; then
11273 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
11275 am__universal=false
11276 case " $depcc " in #(
11277 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11280 for depmode in $am_compiler_list; do
11281 # Setup a source with many dependencies, because some compilers
11282 # like to wrap large dependency lists on column 80 (with \), and
11283 # we should not choose a depcomp mode which is confused by this.
11285 # We need to recreate these files for each test, as the compiler may
11286 # overwrite some of them when testing with obscure command lines.
11287 # This happens at least with the AIX C compiler.
11289 for i in 1 2 3 4 5 6; do
11290 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11291 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
11292 # Solaris 8's
{/usr
,}/bin
/sh.
11293 touch sub
/conftst
$i.h
11295 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11297 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11298 # mode. It turns out that the SunPro C++ compiler does not properly
11299 # handle `-M -o', and we need to detect this. Also, some Intel
11300 # versions had trouble with output in subdirs
11301 am__obj
=sub
/conftest.
${OBJEXT-o}
11302 am__minus_obj
="-o $am__obj"
11305 # This depmode causes a compiler race in universal mode.
11306 test "$am__universal" = false ||
continue
11309 # after this tag, mechanisms are not by side-effect, so they'll
11310 # only be used when explicitly requested
11311 if test "x$enable_dependency_tracking" = xyes
; then
11317 msvisualcpp | msvcmsys
)
11318 # This compiler won't grok `-c -o', but also, the minuso test has
11319 # not run yet. These depmodes are late enough in the game, and
11320 # so weak that their functioning should not be impacted.
11321 am__obj
=conftest.
${OBJEXT-o}
11326 if depmode
=$depmode \
11327 source=sub
/conftest.c object
=$am__obj \
11328 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11329 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11330 >/dev
/null
2>conftest.err
&&
11331 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11332 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11333 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11334 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11335 # icc doesn't choke on unknown options, it will just issue warnings
11336 # or remarks (even with -Werror). So we grep stderr for any message
11337 # that says an option was ignored or not supported.
11338 # When given -MP, icc 7.0 and 7.1 complain thusly:
11339 # icc: Command line warning: ignoring option '-M'; no argument required
11340 # The diagnosis changed in icc 8.0:
11341 # icc: Command line remark: option '-MP' not supported
11342 if (grep 'ignoring option' conftest.err ||
11343 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11344 am_cv_CC_dependencies_compiler_type
=$depmode
11351 rm -rf conftest.dir
11353 am_cv_CC_dependencies_compiler_type
=none
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11358 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11359 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
11362 test "x$enable_dependency_tracking" != xno \
11363 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
11364 am__fastdepCC_TRUE
=
11365 am__fastdepCC_FALSE
='#'
11367 am__fastdepCC_TRUE
='#'
11368 am__fastdepCC_FALSE
=
11372 if test "x$CC" != xcc
; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11374 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11377 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11379 set dummy
$CC; ac_cc
=`$as_echo "$2" |
11380 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11381 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11382 $as_echo_n "(cached) " >&6
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11395 # Make sure it works both with $CC and with simple cc.
11396 # We do the test twice because some compilers refuse to overwrite an
11397 # existing .o file with -o, though they will create one.
11398 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11400 if { { case "(($ac_try" in
11401 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11402 *) ac_try_echo=$ac_try;;
11404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11405 $as_echo "$ac_try_echo"; } >&5
11406 (eval "$ac_try") 2>&5
11408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11409 test $ac_status = 0; } &&
11410 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11411 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11412 *) ac_try_echo
=$ac_try;;
11414 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11415 $as_echo "$ac_try_echo"; } >&5
11416 (eval "$ac_try") 2>&5
11418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11419 test $ac_status = 0; };
11421 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
11422 if test "x$CC" != xcc
; then
11423 # Test first that cc exists at all.
11424 if { ac_try
='cc -c conftest.$ac_ext >&5'
11425 { { case "(($ac_try" in
11426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11427 *) ac_try_echo=$ac_try;;
11429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11430 $as_echo "$ac_try_echo"; } >&5
11431 (eval "$ac_try") 2>&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11434 test $ac_status = 0; }; }; then
11435 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11437 if { { case "(($ac_try" in
11438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11439 *) ac_try_echo
=$ac_try;;
11441 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11442 $as_echo "$ac_try_echo"; } >&5
11443 (eval "$ac_try") 2>&5
11445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11446 test $ac_status = 0; } &&
11447 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
11448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11449 *) ac_try_echo=$ac_try;;
11451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11452 $as_echo "$ac_try_echo"; } >&5
11453 (eval "$ac_try") 2>&5
11455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11456 test $ac_status = 0; };
11461 # cc exists but doesn't like -o.
11462 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11467 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11469 rm -f core conftest*
11472 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11474 $as_echo "yes" >&6; }
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11477 $as_echo "no" >&6; }
11479 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11483 # FIXME: we rely on the cache variable name because
11484 # there is no other way.
11486 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11487 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11488 if test "$am_t" != yes; then
11489 # Losing compiler, so override with the script.
11490 # FIXME: It is wrong to rewrite CC.
11491 # But if we don't then we get into trouble of one sort or another.
11492 # A longer-term fix would be to have automake use am__CC in this case,
11493 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11494 CC="$am_aux_dir/compile $CC"
11500 ac_cpp='$CXXCPP $CPPFLAGS'
11501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11506 ac_cpp='$CXXCPP $CPPFLAGS'
11507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11510 if test -z "$CXX"; then
11511 if test -n "$CCC"; then
11514 if test -n "$ac_tool_prefix"; then
11515 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11520 $as_echo_n "checking for $ac_word... " >&6; }
11521 if test "${ac_cv_prog_CXX+set}" = set; then :
11522 $as_echo_n "(cached) " >&6
11524 if test -n "$CXX"; then
11525 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11528 for as_dir in $PATH
11531 test -z "$as_dir" && as_dir=.
11532 for ac_exec_ext in '' $ac_executable_extensions; do
11533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11534 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11544 CXX=$ac_cv_prog_CXX
11545 if test -n "$CXX"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11547 $as_echo "$CXX" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11554 test -n "$CXX" && break
11557 if test -z "$CXX"; then
11559 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11561 # Extract the first word of "$ac_prog", so it can be a program name with args.
11562 set dummy $ac_prog; ac_word=$2
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11564 $as_echo_n "checking for $ac_word... " >&6; }
11565 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11566 $as_echo_n "(cached) " >&6
11568 if test -n "$ac_ct_CXX"; then
11569 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11572 for as_dir in $PATH
11575 test -z "$as_dir" && as_dir=.
11576 for ac_exec_ext in '' $ac_executable_extensions; do
11577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11578 ac_cv_prog_ac_ct_CXX="$ac_prog"
11579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11588 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11589 if test -n "$ac_ct_CXX"; then
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11591 $as_echo "$ac_ct_CXX" >&6; }
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11594 $as_echo "no" >&6; }
11598 test -n "$ac_ct_CXX" && break
11601 if test "x$ac_ct_CXX" = x; then
11604 case $cross_compiling:$ac_tool_warned in
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11608 ac_tool_warned=yes ;;
11616 # Provide some information about the compiler.
11617 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11620 for ac_option in --version -v -V -qversion; do
11621 { { ac_try="$ac_compiler $ac_option >&5"
11622 case "(($ac_try" in
11623 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11624 *) ac_try_echo
=$ac_try;;
11626 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11627 $as_echo "$ac_try_echo"; } >&5
11628 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11630 if test -s conftest.err
; then
11632 ... rest of stderr output deleted ...
11633 10q' conftest.err
>conftest.er1
11634 cat conftest.er1
>&5
11636 rm -f conftest.er1 conftest.err
11637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11638 test $ac_status = 0; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11642 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11643 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11644 $as_echo_n "(cached) " >&6
11646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11660 if ac_fn_cxx_try_compile
"$LINENO"; then :
11661 ac_compiler_gnu
=yes
11665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11666 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11670 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11671 if test $ac_compiler_gnu = yes; then
11676 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11677 ac_save_CXXFLAGS
=$CXXFLAGS
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11679 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11680 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11681 $as_echo_n "(cached) " >&6
11683 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11684 ac_cxx_werror_flag
=yes
11685 ac_cv_prog_cxx_g
=no
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11698 if ac_fn_cxx_try_compile
"$LINENO"; then :
11699 ac_cv_prog_cxx_g
=yes
11702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11713 if ac_fn_cxx_try_compile
"$LINENO"; then :
11716 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11729 if ac_fn_cxx_try_compile
"$LINENO"; then :
11730 ac_cv_prog_cxx_g
=yes
11732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11737 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11740 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11741 if test "$ac_test_CXXFLAGS" = set; then
11742 CXXFLAGS
=$ac_save_CXXFLAGS
11743 elif test $ac_cv_prog_cxx_g = yes; then
11744 if test "$GXX" = yes; then
11750 if test "$GXX" = yes; then
11757 ac_cpp
='$CXXCPP $CPPFLAGS'
11758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11762 depcc
="$CXX" am_compiler_list
=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11765 $as_echo_n "checking dependency style of $depcc... " >&6; }
11766 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11767 $as_echo_n "(cached) " >&6
11769 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11770 # We make a subdir and do the tests there. Otherwise we can end up
11771 # making bogus files that we don't know about and never remove. For
11772 # instance it was reported that on HP-UX the gcc test will end up
11773 # making a dummy file named `D' -- because `-MD' means `put the output
11776 # Copy depcomp to subdir because otherwise we won't find it if we're
11777 # using a relative directory.
11778 cp "$am_depcomp" conftest.dir
11780 # We will build objects and dependencies in a subdirectory because
11781 # it helps to detect inapplicable dependency modes. For instance
11782 # both Tru64's cc and ICC support -MD to output dependencies as a
11783 # side effect of compilation, but ICC will put the dependencies in
11784 # the current directory while Tru64 will put them in the object
11788 am_cv_CXX_dependencies_compiler_type
=none
11789 if test "$am_compiler_list" = ""; then
11790 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11792 am__universal
=false
11793 case " $depcc " in #(
11794 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
11797 for depmode
in $am_compiler_list; do
11798 # Setup a source with many dependencies, because some compilers
11799 # like to wrap large dependency lists on column 80 (with \), and
11800 # we should not choose a depcomp mode which is confused by this.
11802 # We need to recreate these files for each test, as the compiler may
11803 # overwrite some of them when testing with obscure command lines.
11804 # This happens at least with the AIX C compiler.
11806 for i
in 1 2 3 4 5 6; do
11807 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11808 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11809 # Solaris 8's {/usr,}/bin/sh.
11810 touch sub
/conftst
$i.h
11812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11814 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11815 # mode. It turns out that the SunPro C++ compiler does not properly
11816 # handle `-M -o', and we need to detect this. Also, some Intel
11817 # versions had trouble with output in subdirs
11818 am__obj
=sub
/conftest.
${OBJEXT-o}
11819 am__minus_obj
="-o $am__obj"
11822 # This depmode causes a compiler race in universal mode.
11823 test "$am__universal" = false ||
continue
11826 # after this tag, mechanisms are not by side-effect, so they'll
11827 # only be used when explicitly requested
11828 if test "x$enable_dependency_tracking" = xyes
; then
11834 msvisualcpp | msvcmsys
)
11835 # This compiler won't grok `-c -o', but also, the minuso test has
11836 # not run yet. These depmodes are late enough in the game, and
11837 # so weak that their functioning should not be impacted.
11838 am__obj
=conftest.
${OBJEXT-o}
11843 if depmode
=$depmode \
11844 source=sub
/conftest.c object
=$am__obj \
11845 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11846 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
11847 >/dev
/null
2>conftest.err
&&
11848 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11849 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11850 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
11851 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11852 # icc doesn't choke on unknown options, it will just issue warnings
11853 # or remarks (even with -Werror). So we grep stderr for any message
11854 # that says an option was ignored or not supported.
11855 # When given -MP, icc 7.0 and 7.1 complain thusly:
11856 # icc: Command line warning: ignoring option '-M'; no argument required
11857 # The diagnosis changed in icc 8.0:
11858 # icc: Command line remark: option '-MP' not supported
11859 if (grep 'ignoring option' conftest.err ||
11860 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11861 am_cv_CXX_dependencies_compiler_type
=$depmode
11868 rm -rf conftest.dir
11870 am_cv_CXX_dependencies_compiler_type
=none
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11875 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11876 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
11879 test "x$enable_dependency_tracking" != xno \
11880 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
11881 am__fastdepCXX_TRUE
=
11882 am__fastdepCXX_FALSE
='#'
11884 am__fastdepCXX_TRUE
='#'
11885 am__fastdepCXX_FALSE
=
11891 ac_cpp
='$CXXCPP $CPPFLAGS'
11892 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11893 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11894 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11895 if test -z "$CXX"; then
11896 if test -n "$CCC"; then
11899 if test -n "$ac_tool_prefix"; then
11900 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11902 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11903 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11905 $as_echo_n "checking for $ac_word... " >&6; }
11906 if test "${ac_cv_prog_CXX+set}" = set; then :
11907 $as_echo_n "(cached) " >&6
11909 if test -n "$CXX"; then
11910 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11913 for as_dir
in $PATH
11916 test -z "$as_dir" && as_dir
=.
11917 for ac_exec_ext
in '' $ac_executable_extensions; do
11918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11919 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11929 CXX
=$ac_cv_prog_CXX
11930 if test -n "$CXX"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11932 $as_echo "$CXX" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11935 $as_echo "no" >&6; }
11939 test -n "$CXX" && break
11942 if test -z "$CXX"; then
11944 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11946 # Extract the first word of "$ac_prog", so it can be a program name with args.
11947 set dummy
$ac_prog; ac_word
=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11951 $as_echo_n "(cached) " >&6
11953 if test -n "$ac_ct_CXX"; then
11954 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11957 for as_dir
in $PATH
11960 test -z "$as_dir" && as_dir
=.
11961 for ac_exec_ext
in '' $ac_executable_extensions; do
11962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11973 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11974 if test -n "$ac_ct_CXX"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11976 $as_echo "$ac_ct_CXX" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11983 test -n "$ac_ct_CXX" && break
11986 if test "x$ac_ct_CXX" = x
; then
11989 case $cross_compiling:$ac_tool_warned in
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11993 ac_tool_warned
=yes ;;
12001 # Provide some information about the compiler.
12002 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12005 for ac_option
in --version -v -V -qversion; do
12006 { { ac_try
="$ac_compiler $ac_option >&5"
12007 case "(($ac_try" in
12008 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12009 *) ac_try_echo=$ac_try;;
12011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12012 $as_echo "$ac_try_echo"; } >&5
12013 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12015 if test -s conftest.err; then
12017 ... rest of stderr output deleted ...
12018 10q' conftest.err >conftest.er1
12019 cat conftest.er1 >&5
12021 rm -f conftest.er1 conftest.err
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12027 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12028 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12029 $as_echo_n "(cached) " >&6
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12045 if ac_fn_cxx_try_compile "$LINENO"; then :
12046 ac_compiler_gnu=yes
12050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12051 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12055 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12056 if test $ac_compiler_gnu = yes; then
12061 ac_test_CXXFLAGS=${CXXFLAGS+set}
12062 ac_save_CXXFLAGS=$CXXFLAGS
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12064 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
12065 if test "${ac_cv_prog_cxx_g+set}" = set; then :
12066 $as_echo_n "(cached) " >&6
12068 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12069 ac_cxx_werror_flag=yes
12070 ac_cv_prog_cxx_g=no
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12083 if ac_fn_cxx_try_compile "$LINENO"; then :
12084 ac_cv_prog_cxx_g=yes
12087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12098 if ac_fn_cxx_try_compile "$LINENO"; then :
12101 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12114 if ac_fn_cxx_try_compile "$LINENO"; then :
12115 ac_cv_prog_cxx_g=yes
12117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12125 $as_echo "$ac_cv_prog_cxx_g" >&6; }
12126 if test "$ac_test_CXXFLAGS" = set; then
12127 CXXFLAGS=$ac_save_CXXFLAGS
12128 elif test $ac_cv_prog_cxx_g = yes; then
12129 if test "$GXX" = yes; then
12135 if test "$GXX" = yes; then
12142 ac_cpp='$CXXCPP $CPPFLAGS'
12143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12147 depcc="$CXX" am_compiler_list=
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12150 $as_echo_n "checking dependency style of $depcc... " >&6; }
12151 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12154 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12155 # We make a subdir and do the tests there. Otherwise we can end up
12156 # making bogus files that we don't know about and never remove. For
12157 # instance it was reported that on HP-UX the gcc test will end up
12158 # making a dummy file named `D
' -- because `-MD' means
`put the output
12161 # Copy depcomp to subdir because otherwise we won't find it if we're
12162 # using a relative directory.
12163 cp "$am_depcomp" conftest.dir
12165 # We will build objects and dependencies in a subdirectory because
12166 # it helps to detect inapplicable dependency modes. For instance
12167 # both Tru64's cc and ICC support -MD to output dependencies as a
12168 # side effect of compilation, but ICC will put the dependencies in
12169 # the current directory while Tru64 will put them in the object
12173 am_cv_CXX_dependencies_compiler_type=none
12174 if test "$am_compiler_list" = ""; then
12175 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
12177 am__universal=false
12178 case " $depcc " in #(
12179 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12182 for depmode in $am_compiler_list; do
12183 # Setup a source with many dependencies, because some compilers
12184 # like to wrap large dependency lists on column 80 (with \), and
12185 # we should not choose a depcomp mode which is confused by this.
12187 # We need to recreate these files for each test, as the compiler may
12188 # overwrite some of them when testing with obscure command lines.
12189 # This happens at least with the AIX C compiler.
12191 for i in 1 2 3 4 5 6; do
12192 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12193 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
12194 # Solaris 8's
{/usr
,}/bin
/sh.
12195 touch sub
/conftst
$i.h
12197 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12199 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12200 # mode. It turns out that the SunPro C++ compiler does not properly
12201 # handle `-M -o', and we need to detect this. Also, some Intel
12202 # versions had trouble with output in subdirs
12203 am__obj
=sub
/conftest.
${OBJEXT-o}
12204 am__minus_obj
="-o $am__obj"
12207 # This depmode causes a compiler race in universal mode.
12208 test "$am__universal" = false ||
continue
12211 # after this tag, mechanisms are not by side-effect, so they'll
12212 # only be used when explicitly requested
12213 if test "x$enable_dependency_tracking" = xyes
; then
12219 msvisualcpp | msvcmsys
)
12220 # This compiler won't grok `-c -o', but also, the minuso test has
12221 # not run yet. These depmodes are late enough in the game, and
12222 # so weak that their functioning should not be impacted.
12223 am__obj
=conftest.
${OBJEXT-o}
12228 if depmode
=$depmode \
12229 source=sub
/conftest.c object
=$am__obj \
12230 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
12231 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
12232 >/dev
/null
2>conftest.err
&&
12233 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12234 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
12235 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
12236 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
12237 # icc doesn't choke on unknown options, it will just issue warnings
12238 # or remarks (even with -Werror). So we grep stderr for any message
12239 # that says an option was ignored or not supported.
12240 # When given -MP, icc 7.0 and 7.1 complain thusly:
12241 # icc: Command line warning: ignoring option '-M'; no argument required
12242 # The diagnosis changed in icc 8.0:
12243 # icc: Command line remark: option '-MP' not supported
12244 if (grep 'ignoring option' conftest.err ||
12245 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
12246 am_cv_CXX_dependencies_compiler_type
=$depmode
12253 rm -rf conftest.dir
12255 am_cv_CXX_dependencies_compiler_type
=none
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12260 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12261 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
12264 test "x$enable_dependency_tracking" != xno \
12265 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
12266 am__fastdepCXX_TRUE
=
12267 am__fastdepCXX_FALSE
='#'
12269 am__fastdepCXX_TRUE
='#'
12270 am__fastdepCXX_FALSE
=
12274 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12275 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12276 (test "X$CXX" != "Xg++"))) ; then
12278 ac_cpp
='$CXXCPP $CPPFLAGS'
12279 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12280 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12281 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12283 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12284 if test -z "$CXXCPP"; then
12285 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12288 # Double quotes because CXXCPP needs to be expanded
12289 for CXXCPP
in "$CXX -E" "/lib/cpp"
12291 ac_preproc_ok
=false
12292 for ac_cxx_preproc_warn_flag
in '' yes
12294 # Use a header file that comes with gcc, so configuring glibc
12295 # with a fresh cross-compiler works.
12296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12297 # <limits.h> exists even on freestanding compilers.
12298 # On the NeXT, cc -E runs the code through the compiler's parser,
12299 # not just through cpp. "Syntax error" is here to catch this case.
12300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 # include <limits.h>
12305 # include <assert.h>
12309 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12312 # Broken: fails on valid input.
12315 rm -f conftest.err conftest.
$ac_ext
12317 # OK, works on sane cases. Now check whether nonexistent headers
12318 # can be detected and how.
12319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 #include <ac_nonexistent.h>
12323 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12324 # Broken: success on invalid input.
12327 # Passes both tests.
12331 rm -f conftest.err conftest.
$ac_ext
12334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12335 rm -f conftest.err conftest.
$ac_ext
12336 if $ac_preproc_ok; then :
12341 ac_cv_prog_CXXCPP
=$CXXCPP
12344 CXXCPP
=$ac_cv_prog_CXXCPP
12346 ac_cv_prog_CXXCPP
=$CXXCPP
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12349 $as_echo "$CXXCPP" >&6; }
12350 ac_preproc_ok
=false
12351 for ac_cxx_preproc_warn_flag
in '' yes
12353 # Use a header file that comes with gcc, so configuring glibc
12354 # with a fresh cross-compiler works.
12355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12356 # <limits.h> exists even on freestanding compilers.
12357 # On the NeXT, cc -E runs the code through the compiler's parser,
12358 # not just through cpp. "Syntax error" is here to catch this case.
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 # include <limits.h>
12364 # include <assert.h>
12368 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12371 # Broken: fails on valid input.
12374 rm -f conftest.err conftest.
$ac_ext
12376 # OK, works on sane cases. Now check whether nonexistent headers
12377 # can be detected and how.
12378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12380 #include <ac_nonexistent.h>
12382 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12383 # Broken: success on invalid input.
12386 # Passes both tests.
12390 rm -f conftest.err conftest.
$ac_ext
12393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12394 rm -f conftest.err conftest.
$ac_ext
12395 if $ac_preproc_ok; then :
12398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12400 _lt_caught_CXX_error
=yes; }
12404 ac_cpp
='$CXXCPP $CPPFLAGS'
12405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12410 _lt_caught_CXX_error
=yes
12417 ac_cpp
='$CXXCPP $CPPFLAGS'
12418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12422 archive_cmds_need_lc_CXX
=no
12423 allow_undefined_flag_CXX
=
12424 always_export_symbols_CXX
=no
12425 archive_expsym_cmds_CXX
=
12426 compiler_needs_object_CXX
=no
12427 export_dynamic_flag_spec_CXX
=
12428 hardcode_direct_CXX
=no
12429 hardcode_direct_absolute_CXX
=no
12430 hardcode_libdir_flag_spec_CXX
=
12431 hardcode_libdir_flag_spec_ld_CXX
=
12432 hardcode_libdir_separator_CXX
=
12433 hardcode_minus_L_CXX
=no
12434 hardcode_shlibpath_var_CXX
=unsupported
12435 hardcode_automatic_CXX
=no
12436 inherit_rpath_CXX
=no
12438 module_expsym_cmds_CXX
=
12439 link_all_deplibs_CXX
=unknown
12440 old_archive_cmds_CXX
=$old_archive_cmds
12441 no_undefined_flag_CXX
=
12442 whole_archive_flag_spec_CXX
=
12443 enable_shared_with_static_runtimes_CXX
=no
12445 # Source file extension for C++ test sources.
12448 # Object file extension for compiled C++ test sources.
12452 # No sense in running all these tests if we already determined that
12453 # the CXX compiler isn't working. Some variables (like enable_shared)
12454 # are currently assumed to apply to all compilers on this platform,
12455 # and will be corrupted by setting them based on a non-working compiler.
12456 if test "$_lt_caught_CXX_error" != yes; then
12457 # Code to be used in simple compile tests
12458 lt_simple_compile_test_code
="int some_variable = 0;"
12460 # Code to be used in simple link tests
12461 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12463 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12470 # If no C compiler was specified, use CC.
12473 # If no C compiler flags were specified, use CFLAGS.
12474 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12476 # Allow CC to be a program name with arguments.
12480 # save warnings/boilerplate of simple test code
12481 ac_outfile
=conftest.
$ac_objext
12482 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12483 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12484 _lt_compiler_boilerplate
=`cat conftest.err`
12487 ac_outfile
=conftest.
$ac_objext
12488 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12489 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12490 _lt_linker_boilerplate
=`cat conftest.err`
12494 # Allow CC to be a program name with arguments.
12499 lt_save_with_gnu_ld
=$with_gnu_ld
12500 lt_save_path_LD
=$lt_cv_path_LD
12501 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12502 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12504 $as_unset lt_cv_prog_gnu_ld
12506 if test -n "${lt_cv_path_LDCXX+set}"; then
12507 lt_cv_path_LD
=$lt_cv_path_LDCXX
12509 $as_unset lt_cv_path_LD
12511 test -z "${LDCXX+set}" || LD
=$LDCXX
12515 for cc_temp
in $compiler""; do
12517 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12518 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12523 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12526 if test -n "$compiler"; then
12527 # We don't want -fno-exception when compiling C++ code, so set the
12528 # no_builtin_flag separately
12529 if test "$GXX" = yes; then
12530 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12532 lt_prog_compiler_no_builtin_flag_CXX
=
12535 if test "$GXX" = yes; then
12536 # Set up default GNU C++ configuration
12540 # Check whether --with-gnu-ld was given.
12541 if test "${with_gnu_ld+set}" = set; then :
12542 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12548 if test "$GCC" = yes; then
12549 # Check if gcc -print-prog-name=ld gives a path.
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12551 $as_echo_n "checking for ld used by $CC... " >&6; }
12554 # gcc leaves a trailing carriage return which upsets mingw
12555 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12557 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12560 # Accept absolute paths.
12562 re_direlt
='/[^/][^/]*/\.\./'
12563 # Canonicalize the pathname of ld
12564 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12565 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12566 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12568 test -z "$LD" && LD
="$ac_prog"
12571 # If it fails, then pretend we aren't using GCC.
12575 # If it is relative, then search for the first ld in PATH.
12576 with_gnu_ld
=unknown
12579 elif test "$with_gnu_ld" = yes; then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12581 $as_echo_n "checking for GNU ld... " >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12584 $as_echo_n "checking for non-GNU ld... " >&6; }
12586 if test "${lt_cv_path_LD+set}" = set; then :
12587 $as_echo_n "(cached) " >&6
12589 if test -z "$LD"; then
12590 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12591 for ac_dir
in $PATH; do
12593 test -z "$ac_dir" && ac_dir
=.
12594 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12595 lt_cv_path_LD
="$ac_dir/$ac_prog"
12596 # Check to see if the program is GNU ld. I'd rather use --version,
12597 # but apparently some variants of GNU ld only accept -v.
12598 # Break only if it was the GNU/non-GNU ld that we prefer.
12599 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12600 *GNU
* |
*'with BFD'*)
12601 test "$with_gnu_ld" != no
&& break
12604 test "$with_gnu_ld" != yes && break
12611 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12615 LD
="$lt_cv_path_LD"
12616 if test -n "$LD"; then
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12618 $as_echo "$LD" >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12621 $as_echo "no" >&6; }
12623 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12625 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12626 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12627 $as_echo_n "(cached) " >&6
12629 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12630 case `$LD -v 2>&1 </dev/null` in
12631 *GNU
* |
*'with BFD'*)
12632 lt_cv_prog_gnu_ld
=yes
12635 lt_cv_prog_gnu_ld
=no
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12640 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12641 with_gnu_ld
=$lt_cv_prog_gnu_ld
12649 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12650 # archiving commands below assume that GNU ld is being used.
12651 if test "$with_gnu_ld" = yes; then
12652 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12653 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'
12655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12656 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12658 # If archive_cmds runs LD, not CC, wlarc should be empty
12659 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12660 # investigate it a little bit more. (MM)
12663 # ancient GNU ld didn't support --whole-archive et. al.
12664 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12665 $GREP 'no-whole-archive' > /dev
/null
; then
12666 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12668 whole_archive_flag_spec_CXX
=
12674 # A generic and very simple default shared library creation
12675 # command for GNU C++ for the case where it uses the native
12676 # linker, instead of GNU ld. If possible, this setting should
12677 # overridden to take advantage of the native linker features on
12678 # the platform it is being used on.
12679 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12682 # Commands to make compiler produce verbose output that lists
12683 # what "hidden" libraries, object files and flags are used when
12684 # linking a shared library.
12685 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12693 # PORTME: fill in a description of your system's C++ link characteristics
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12695 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12699 # FIXME: insert proper C++ library support
12703 if test "$host_cpu" = ia64
; then
12704 # On IA64, the linker does run time linking by default, so we don't
12705 # have to do anything special.
12706 aix_use_runtimelinking
=no
12707 exp_sym_flag
='-Bexport'
12710 aix_use_runtimelinking
=no
12712 # Test if we are trying to use run time linking or normal
12713 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12714 # need to do runtime linking.
12715 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12716 for ld_flag
in $LDFLAGS; do
12719 aix_use_runtimelinking
=yes
12727 exp_sym_flag
='-bexport'
12728 no_entry_flag
='-bnoentry'
12731 # When large executables or shared objects are built, AIX ld can
12732 # have problems creating the table of contents. If linking a library
12733 # or program results in "error TOC overflow" add -mminimal-toc to
12734 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12735 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12737 archive_cmds_CXX
=''
12738 hardcode_direct_CXX
=yes
12739 hardcode_direct_absolute_CXX
=yes
12740 hardcode_libdir_separator_CXX
=':'
12741 link_all_deplibs_CXX
=yes
12742 file_list_spec_CXX
='${wl}-f,'
12744 if test "$GXX" = yes; then
12745 case $host_os in aix4.
[012]|aix4.
[012].
*)
12746 # We only want to do this on AIX 4.2 and lower, the check
12747 # below for broken collect2 doesn't work under 4.3+
12748 collect2name
=`${CC} -print-prog-name=collect2`
12749 if test -f "$collect2name" &&
12750 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12752 # We have reworked collect2
12755 # We have old collect2
12756 hardcode_direct_CXX
=unsupported
12757 # It fails to find uninstalled libraries when the uninstalled
12758 # path is not listed in the libpath. Setting hardcode_minus_L
12759 # to unsupported forces relinking
12760 hardcode_minus_L_CXX
=yes
12761 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12762 hardcode_libdir_separator_CXX
=
12765 shared_flag
='-shared'
12766 if test "$aix_use_runtimelinking" = yes; then
12767 shared_flag
="$shared_flag "'${wl}-G'
12771 if test "$host_cpu" = ia64
; then
12772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12773 # chokes on -Wl,-G. The following line is correct:
12776 if test "$aix_use_runtimelinking" = yes; then
12777 shared_flag
='${wl}-G'
12779 shared_flag
='${wl}-bM:SRE'
12784 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12785 # It seems that -bexpall does not export symbols beginning with
12786 # underscore (_), so it is better to generate a list of symbols to
12788 always_export_symbols_CXX
=yes
12789 if test "$aix_use_runtimelinking" = yes; then
12790 # Warning - without using the other runtime loading flags (-brtl),
12791 # -berok will link without error, but may produce a broken library.
12792 allow_undefined_flag_CXX
='-berok'
12793 # Determine the default libpath from the value encoded in an empty
12795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12796 /* end confdefs.h. */
12806 if ac_fn_cxx_try_link
"$LINENO"; then :
12808 lt_aix_libpath_sed
='
12809 /Import File Strings/,/^$/ {
12815 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12816 # Check for a 64-bit object if we didn't find anything.
12817 if test -z "$aix_libpath"; then
12818 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12821 rm -f core conftest.err conftest.
$ac_objext \
12822 conftest
$ac_exeext conftest.
$ac_ext
12823 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12825 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12827 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"
12829 if test "$host_cpu" = ia64
; then
12830 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12831 allow_undefined_flag_CXX
="-z nodefs"
12832 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"
12834 # Determine the default libpath from the value encoded in an
12835 # empty executable.
12836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12837 /* end confdefs.h. */
12847 if ac_fn_cxx_try_link
"$LINENO"; then :
12849 lt_aix_libpath_sed
='
12850 /Import File Strings/,/^$/ {
12856 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12857 # Check for a 64-bit object if we didn't find anything.
12858 if test -z "$aix_libpath"; then
12859 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12862 rm -f core conftest.err conftest.
$ac_objext \
12863 conftest
$ac_exeext conftest.
$ac_ext
12864 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12866 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12867 # Warning - without using the other run time loading flags,
12868 # -berok will link without error, but may produce a broken library.
12869 no_undefined_flag_CXX
=' ${wl}-bernotok'
12870 allow_undefined_flag_CXX
=' ${wl}-berok'
12871 # Exported symbols can be pulled into shared objects from archives
12872 whole_archive_flag_spec_CXX
='$convenience'
12873 archive_cmds_need_lc_CXX
=yes
12874 # This is similar to how AIX traditionally builds its shared
12876 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'
12882 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12883 allow_undefined_flag_CXX
=unsupported
12884 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12885 # support --undefined. This deserves some investigation. FIXME
12886 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12893 case $cc_basename in
12895 # FIXME: insert proper C++ library support
12901 cygwin
* | mingw
* | pw32
* | cegcc
*)
12902 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12903 # as there is no search path for DLLs.
12904 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12905 allow_undefined_flag_CXX
=unsupported
12906 always_export_symbols_CXX
=no
12907 enable_shared_with_static_runtimes_CXX
=yes
12909 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12910 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'
12911 # If the export-symbols file already is a .def file (1st line
12912 # is EXPORTS), use it as is; otherwise, prepend...
12913 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12914 cp $export_symbols $output_objdir/$soname.def;
12916 echo EXPORTS > $output_objdir/$soname.def;
12917 cat $export_symbols >> $output_objdir/$soname.def;
12919 $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'
12924 darwin
* | rhapsody
*)
12927 archive_cmds_need_lc_CXX
=no
12928 hardcode_direct_CXX
=no
12929 hardcode_automatic_CXX
=yes
12930 hardcode_shlibpath_var_CXX
=unsupported
12931 whole_archive_flag_spec_CXX
=''
12932 link_all_deplibs_CXX
=yes
12933 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12934 case $cc_basename in
12935 ifort
*) _lt_dar_can_shared
=yes ;;
12936 *) _lt_dar_can_shared
=$GCC ;;
12938 if test "$_lt_dar_can_shared" = "yes"; then
12939 output_verbose_link_cmd
=echo
12940 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}"
12941 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12942 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}"
12943 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}"
12944 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12945 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}"
12946 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}"
12956 case $cc_basename in
12958 # FIXME: insert proper C++ library support
12962 # Green Hills C++ Compiler
12963 # FIXME: insert proper C++ library support
12967 # FIXME: insert proper C++ library support
12974 # C++ shared libraries reported to be fairly broken before
12980 archive_cmds_need_lc_CXX
=no
12983 freebsd
* | dragonfly
*)
12984 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12993 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12994 hardcode_libdir_separator_CXX
=:
12995 export_dynamic_flag_spec_CXX
='${wl}-E'
12996 hardcode_direct_CXX
=yes
12997 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12998 # but as the default
12999 # location of the library.
13001 case $cc_basename in
13003 # FIXME: insert proper C++ library support
13007 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'
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13012 # There doesn't appear to be a way to prevent this compiler from
13013 # explicitly linking system object files so we need to strip them
13014 # from the output so that they don't get included in the library
13016 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'
13019 if test "$GXX" = yes; then
13020 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'
13022 # FIXME: insert proper C++ library support
13030 if test $with_gnu_ld = no
; then
13031 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13032 hardcode_libdir_separator_CXX
=:
13038 export_dynamic_flag_spec_CXX
='${wl}-E'
13044 hardcode_direct_CXX
=no
13045 hardcode_shlibpath_var_CXX
=no
13048 hardcode_direct_CXX
=yes
13049 hardcode_direct_absolute_CXX
=yes
13050 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13051 # but as the default
13052 # location of the library.
13056 case $cc_basename in
13058 # FIXME: insert proper C++ library support
13064 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13067 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13073 # Commands to make compiler produce verbose output that lists
13074 # what "hidden" libraries, object files and flags are used when
13075 # linking a shared library.
13077 # There doesn't appear to be a way to prevent this compiler from
13078 # explicitly linking system object files so we need to strip them
13079 # from the output so that they don't get included in the library
13081 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'
13084 if test "$GXX" = yes; then
13085 if test $with_gnu_ld = no
; then
13088 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13091 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13094 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'
13099 # FIXME: insert proper C++ library support
13107 hardcode_direct_CXX
=no
13108 hardcode_shlibpath_var_CXX
=no
13109 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13110 export_dynamic_flag_spec_CXX
='${wl}-E'
13111 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13112 # Instead, shared libraries are loaded at an image base (0x10000000 by
13113 # default) and relocated if they conflict, which is a slow very memory
13114 # consuming and fragmenting process. To avoid this, we pick a random,
13115 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13116 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13117 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'
13118 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'
13121 case $cc_basename in
13124 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'
13126 # Archives containing C++ object files must be created using
13127 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13128 # necessary to make sure instantiated templates are included
13130 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13133 if test "$GXX" = yes; then
13134 if test "$with_gnu_ld" = no
; then
13135 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'
13137 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'
13140 link_all_deplibs_CXX
=yes
13143 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13144 hardcode_libdir_separator_CXX
=:
13145 inherit_rpath_CXX
=yes
13148 linux
* | k
*bsd
*-gnu)
13149 case $cc_basename in
13151 # Kuck and Associates, Inc. (KAI) C++ Compiler
13153 # KCC will only create a shared library if the output file
13154 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13155 # to its proper name (with version) after linking.
13156 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'
13157 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'
13158 # Commands to make compiler produce verbose output that lists
13159 # what "hidden" libraries, object files and flags are used when
13160 # linking a shared library.
13162 # There doesn't appear to be a way to prevent this compiler from
13163 # explicitly linking system object files so we need to strip them
13164 # from the output so that they don't get included in the library
13166 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'
13168 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13169 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13171 # Archives containing C++ object files must be created using
13172 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13173 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13178 # version 8.0 and above of icpc choke on multiply defined symbols
13179 # if we add $predep_objects and $postdep_objects, however 7.1 and
13180 # earlier do not add the objects themselves.
13181 case `$CC -V 2>&1` in
13183 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13184 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'
13186 *) # Version 8.0 or newer
13189 ia64
*) tmp_idyn
=' -i_dynamic';;
13191 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13192 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'
13195 archive_cmds_need_lc_CXX
=no
13196 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13197 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13198 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13201 # Portland Group C++ compiler
13203 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
13204 prelink_cmds_CXX
='tpldir=Template.dir~
13206 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13207 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13208 old_archive_cmds_CXX
='tpldir=Template.dir~
13210 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13211 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13213 archive_cmds_CXX
='tpldir=Template.dir~
13215 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13216 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13217 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13219 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13220 $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'
13222 *) # Version 6 will use weak symbols
13223 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13224 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'
13228 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13229 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13230 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'
13234 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13235 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'
13237 runpath_var
=LD_RUN_PATH
13238 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13239 hardcode_libdir_separator_CXX
=:
13241 # Commands to make compiler produce verbose output that lists
13242 # what "hidden" libraries, object files and flags are used when
13243 # linking a shared library.
13245 # There doesn't appear to be a way to prevent this compiler from
13246 # explicitly linking system object files so we need to strip them
13247 # from the output so that they don't get included in the library
13249 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'
13252 # IBM XL 8.0 on PPC, with GNU ld
13253 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13254 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13255 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13256 if test "x$supports_anon_versioning" = xyes
; then
13257 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13258 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13259 echo "local: *; };" >> $output_objdir/$libname.ver~
13260 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13264 case `$CC -V 2>&1 | sed 5q` in
13267 no_undefined_flag_CXX
=' -zdefs'
13268 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13269 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'
13270 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13271 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'
13272 compiler_needs_object_CXX
=yes
13274 # Not sure whether something based on
13275 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13277 output_verbose_link_cmd
='echo'
13279 # Archives containing C++ object files must be created using
13280 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13281 # necessary to make sure instantiated templates are included
13283 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13291 # FIXME: insert proper C++ library support
13296 # FIXME: insert proper C++ library support
13301 case $cc_basename in
13303 # FIXME: insert proper C++ library support
13307 # FIXME: insert proper C++ library support
13314 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13315 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13317 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13318 hardcode_direct_CXX
=yes
13319 hardcode_shlibpath_var_CXX
=no
13321 # Workaround some broken pre-1.5 toolchains
13322 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13330 # C++ shared libraries are fairly broken
13335 if test -f /usr
/libexec
/ld.so
; then
13336 hardcode_direct_CXX
=yes
13337 hardcode_shlibpath_var_CXX
=no
13338 hardcode_direct_absolute_CXX
=yes
13339 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13340 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13341 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13342 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13343 export_dynamic_flag_spec_CXX
='${wl}-E'
13344 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13346 output_verbose_link_cmd
=echo
13352 osf3
* | osf4
* | osf5
*)
13353 case $cc_basename in
13355 # Kuck and Associates, Inc. (KAI) C++ Compiler
13357 # KCC will only create a shared library if the output file
13358 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13359 # to its proper name (with version) after linking.
13360 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'
13362 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13363 hardcode_libdir_separator_CXX
=:
13365 # Archives containing C++ object files must be created using
13366 # the KAI C++ compiler.
13368 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13369 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13373 # Rational C++ 2.4.1
13374 # FIXME: insert proper C++ library support
13380 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13381 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'
13382 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13385 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13386 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'
13387 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13388 echo "-hidden">> $lib.exp~
13389 $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~
13391 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13395 hardcode_libdir_separator_CXX
=:
13397 # Commands to make compiler produce verbose output that lists
13398 # what "hidden" libraries, object files and flags are used when
13399 # linking a shared library.
13401 # There doesn't appear to be a way to prevent this compiler from
13402 # explicitly linking system object files so we need to strip them
13403 # from the output so that they don't get included in the library
13405 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'
13408 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13409 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13412 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'
13415 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'
13419 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13420 hardcode_libdir_separator_CXX
=:
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13425 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13428 # FIXME: insert proper C++ library support
13436 # FIXME: insert proper C++ library support
13441 case $cc_basename in
13444 # FIXME: insert proper C++ library support
13449 # FIXME: insert proper C++ library support
13453 # FIXME: insert proper C++ library support
13460 case $cc_basename in
13462 # Sun C++ 4.2, 5.x and Centerline C++
13463 archive_cmds_need_lc_CXX
=yes
13464 no_undefined_flag_CXX
=' -zdefs'
13465 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13466 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13467 $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'
13469 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13470 hardcode_shlibpath_var_CXX
=no
13472 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13474 # The compiler driver will combine and reorder linker options,
13475 # but understands `-z linker_flag'.
13476 # Supported since Solaris 2.6 (maybe 2.5.1?)
13477 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13480 link_all_deplibs_CXX
=yes
13482 output_verbose_link_cmd
='echo'
13484 # Archives containing C++ object files must be created using
13485 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13486 # necessary to make sure instantiated templates are included
13488 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13491 # Green Hills C++ Compiler
13492 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13494 # The C++ compiler must be used to create the archive.
13495 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13498 # GNU C++ compiler with Solaris linker
13499 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13500 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13501 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13502 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13503 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13504 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13506 # Commands to make compiler produce verbose output that lists
13507 # what "hidden" libraries, object files and flags are used when
13508 # linking a shared library.
13509 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13511 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13513 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13514 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13515 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13517 # Commands to make compiler produce verbose output that lists
13518 # what "hidden" libraries, object files and flags are used when
13519 # linking a shared library.
13520 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13523 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13525 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13527 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13535 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13536 no_undefined_flag_CXX
='${wl}-z,text'
13537 archive_cmds_need_lc_CXX
=no
13538 hardcode_shlibpath_var_CXX
=no
13539 runpath_var
='LD_RUN_PATH'
13541 case $cc_basename in
13543 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13544 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13547 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13548 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13553 sysv5
* | sco3.2v5
* | sco5v6
*)
13554 # Note: We can NOT use -z defs as we might desire, because we do not
13555 # link with -lc, and that would cause any symbols used from libc to
13556 # always be unresolved, which means just about no library would
13557 # ever link correctly. If we're not using GNU ld we use -z text
13558 # though, which does catch some bad symbols but isn't as heavy-handed
13560 no_undefined_flag_CXX
='${wl}-z,text'
13561 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13562 archive_cmds_need_lc_CXX
=no
13563 hardcode_shlibpath_var_CXX
=no
13564 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13565 hardcode_libdir_separator_CXX
=':'
13566 link_all_deplibs_CXX
=yes
13567 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13568 runpath_var
='LD_RUN_PATH'
13570 case $cc_basename in
13572 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13573 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13576 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13577 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13583 case $cc_basename in
13585 # NonStop-UX NCC 3.20
13586 # FIXME: insert proper C++ library support
13590 # FIXME: insert proper C++ library support
13597 # FIXME: insert proper C++ library support
13602 # FIXME: insert proper C++ library support
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13608 $as_echo "$ld_shlibs_CXX" >&6; }
13609 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13615 ## There is no encapsulation within the following macros, do not change
13616 ## the running order or otherwise move them around unless you know exactly
13617 ## what you are doing...
13618 # Dependencies to place before and after the object being linked:
13619 predep_objects_CXX
=
13620 postdep_objects_CXX
=
13623 compiler_lib_search_path_CXX
=
13625 cat > conftest.
$ac_ext <<_LT_EOF
13629 Foo (void) { a = 0; }
13635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13636 (eval $ac_compile) 2>&5
13638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639 test $ac_status = 0; }; then
13640 # Parse the compiler output and extract the necessary
13641 # objects, libraries and library flags.
13643 # Sentinel used to keep track of whether or not we are before
13644 # the conftest object file.
13645 pre_test_object_deps_done
=no
13647 for p
in `eval "$output_verbose_link_cmd"`; do
13651 # Some compilers place space between "-{L,R}" and the path.
13652 # Remove the space.
13653 if test $p = "-L" ||
13654 test $p = "-R"; then
13661 if test "$pre_test_object_deps_done" = no
; then
13664 # Internal compiler library paths should come after those
13665 # provided the user. The postdeps already come after the
13666 # user supplied libs so there is no need to process them.
13667 if test -z "$compiler_lib_search_path_CXX"; then
13668 compiler_lib_search_path_CXX
="${prev}${p}"
13670 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13673 # The "-l" case would never come before the object being
13674 # linked, so don't bother handling this case.
13677 if test -z "$postdeps_CXX"; then
13678 postdeps_CXX
="${prev}${p}"
13680 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13686 # This assumes that the test object file only shows up
13687 # once in the compiler output.
13688 if test "$p" = "conftest.$objext"; then
13689 pre_test_object_deps_done
=yes
13693 if test "$pre_test_object_deps_done" = no
; then
13694 if test -z "$predep_objects_CXX"; then
13695 predep_objects_CXX
="$p"
13697 predep_objects_CXX
="$predep_objects_CXX $p"
13700 if test -z "$postdep_objects_CXX"; then
13701 postdep_objects_CXX
="$p"
13703 postdep_objects_CXX
="$postdep_objects_CXX $p"
13708 *) ;; # Ignore the rest.
13716 echo "libtool.m4: error: problem compiling CXX test program"
13719 $RM -f confest.
$objext
13721 # PORTME: override above test on systems where it is broken
13724 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13725 # hack all around it, let's just trust "g++" to DTRT.
13726 predep_objects_CXX
=
13727 postdep_objects_CXX
=
13732 case `$CC -V 2>&1 | sed 5q` in
13736 # The more standards-conforming stlport4 library is
13737 # incompatible with the Cstd library. Avoid specifying
13738 # it if it's in CXXFLAGS. Ignore libCrun as
13739 # -library=stlport4 depends on it.
13740 case " $CXX $CXXFLAGS " in
13741 *" -library=stlport4 "*)
13742 solaris_use_stlport4
=yes
13746 if test "$solaris_use_stlport4" != yes; then
13747 postdeps_CXX
='-library=Cstd -library=Crun'
13754 case $cc_basename in
13756 # The more standards-conforming stlport4 library is
13757 # incompatible with the Cstd library. Avoid specifying
13758 # it if it's in CXXFLAGS. Ignore libCrun as
13759 # -library=stlport4 depends on it.
13760 case " $CXX $CXXFLAGS " in
13761 *" -library=stlport4 "*)
13762 solaris_use_stlport4
=yes
13766 # Adding this requires a known-good setup of shared libraries for
13767 # Sun compiler versions before 5.6, else PIC objects from an old
13768 # archive will be linked into the output, leading to subtle bugs.
13769 if test "$solaris_use_stlport4" != yes; then
13770 postdeps_CXX
='-library=Cstd -library=Crun'
13778 case " $postdeps_CXX " in
13779 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13781 compiler_lib_search_dirs_CXX
=
13782 if test -n "${compiler_lib_search_path_CXX}"; then
13783 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13816 lt_prog_compiler_wl_CXX
=
13817 lt_prog_compiler_pic_CXX
=
13818 lt_prog_compiler_static_CXX
=
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13821 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13823 # C++ specific cases for pic, static, wl, etc.
13824 if test "$GXX" = yes; then
13825 lt_prog_compiler_wl_CXX
='-Wl,'
13826 lt_prog_compiler_static_CXX
='-static'
13830 # All AIX code is PIC.
13831 if test "$host_cpu" = ia64
; then
13832 # AIX 5 now supports IA64 processor
13833 lt_prog_compiler_static_CXX
='-Bstatic'
13840 # see comment about AmigaOS4 .so support
13841 lt_prog_compiler_pic_CXX
='-fPIC'
13844 # FIXME: we need at least 68020 code to build shared libraries, but
13845 # adding the `-m68020' flag to GCC prevents building anything better,
13847 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13852 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13853 # PIC is the default for these OSes.
13855 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13856 # This hack is so that the source file can tell whether it is being
13857 # built for inclusion in a dll (and should export symbols for example).
13858 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13859 # (--disable-auto-import) libraries
13860 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13862 darwin
* | rhapsody
*)
13863 # PIC is the default on this platform
13864 # Common symbols not allowed in MH_DYLIB files
13865 lt_prog_compiler_pic_CXX
='-fno-common'
13868 # DJGPP does not support shared libraries at all
13869 lt_prog_compiler_pic_CXX
=
13872 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13873 # Instead, we relocate shared libraries at runtime.
13876 if test -d /usr
/nec
; then
13877 lt_prog_compiler_pic_CXX
=-Kconform_pic
13881 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13882 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13883 # sets the default TLS model and affects inlining.
13888 lt_prog_compiler_pic_CXX
='-fPIC'
13893 # QNX uses GNU C++, but need to define -shared option too, otherwise
13894 # it will coredump.
13895 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13898 lt_prog_compiler_pic_CXX
='-fPIC'
13904 # All AIX code is PIC.
13905 if test "$host_cpu" = ia64
; then
13906 # AIX 5 now supports IA64 processor
13907 lt_prog_compiler_static_CXX
='-Bstatic'
13909 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13913 case $cc_basename in
13915 # Green Hills C++ Compiler
13916 # _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"
13921 case $cc_basename in
13923 lt_prog_compiler_pic_CXX
='-KPIC'
13926 # Green Hills C++ Compiler
13927 lt_prog_compiler_pic_CXX
='-pic'
13933 freebsd
* | dragonfly
*)
13934 # FreeBSD uses GNU C++
13936 hpux9
* | hpux10
* | hpux11
*)
13937 case $cc_basename in
13939 lt_prog_compiler_wl_CXX
='-Wl,'
13940 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13941 if test "$host_cpu" != ia64
; then
13942 lt_prog_compiler_pic_CXX
='+Z'
13946 lt_prog_compiler_wl_CXX
='-Wl,'
13947 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13953 lt_prog_compiler_pic_CXX
='+Z'
13962 # This is c89, which is MS Visual C++ (no shared libs)
13963 # Anyone wants to do a port?
13965 irix5
* | irix6
* | nonstopux
*)
13966 case $cc_basename in
13968 lt_prog_compiler_wl_CXX
='-Wl,'
13969 lt_prog_compiler_static_CXX
='-non_shared'
13970 # CC pic flag -KPIC is the default.
13976 linux
* | k
*bsd
*-gnu)
13977 case $cc_basename in
13980 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13981 lt_prog_compiler_pic_CXX
='-fPIC'
13984 # old Intel C++ for x86_64 which still supported -KPIC.
13985 lt_prog_compiler_wl_CXX
='-Wl,'
13986 lt_prog_compiler_pic_CXX
='-KPIC'
13987 lt_prog_compiler_static_CXX
='-static'
13990 # Intel C++, used to be incompatible with GCC.
13991 # ICC 10 doesn't accept -KPIC any more.
13992 lt_prog_compiler_wl_CXX
='-Wl,'
13993 lt_prog_compiler_pic_CXX
='-fPIC'
13994 lt_prog_compiler_static_CXX
='-static'
13997 # Portland Group C++ compiler
13998 lt_prog_compiler_wl_CXX
='-Wl,'
13999 lt_prog_compiler_pic_CXX
='-fpic'
14000 lt_prog_compiler_static_CXX
='-Bstatic'
14004 # Make sure the PIC flag is empty. It appears that all Alpha
14005 # Linux and Compaq Tru64 Unix objects are PIC.
14006 lt_prog_compiler_pic_CXX
=
14007 lt_prog_compiler_static_CXX
='-non_shared'
14010 # IBM XL 8.0 on PPC
14011 lt_prog_compiler_wl_CXX
='-Wl,'
14012 lt_prog_compiler_pic_CXX
='-qpic'
14013 lt_prog_compiler_static_CXX
='-qstaticlink'
14016 case `$CC -V 2>&1 | sed 5q` in
14019 lt_prog_compiler_pic_CXX
='-KPIC'
14020 lt_prog_compiler_static_CXX
='-Bstatic'
14021 lt_prog_compiler_wl_CXX
='-Qoption ld '
14032 case $cc_basename in
14034 lt_prog_compiler_pic_CXX
='-W c,exportall'
14043 # QNX uses GNU C++, but need to define -shared option too, otherwise
14044 # it will coredump.
14045 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14047 osf3
* | osf4
* | osf5
*)
14048 case $cc_basename in
14050 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14053 # Rational C++ 2.4.1
14054 lt_prog_compiler_pic_CXX
='-pic'
14057 # Digital/Compaq C++
14058 lt_prog_compiler_wl_CXX
='-Wl,'
14059 # Make sure the PIC flag is empty. It appears that all Alpha
14060 # Linux and Compaq Tru64 Unix objects are PIC.
14061 lt_prog_compiler_pic_CXX
=
14062 lt_prog_compiler_static_CXX
='-non_shared'
14071 case $cc_basename in
14073 # Sun C++ 4.2, 5.x and Centerline C++
14074 lt_prog_compiler_pic_CXX
='-KPIC'
14075 lt_prog_compiler_static_CXX
='-Bstatic'
14076 lt_prog_compiler_wl_CXX
='-Qoption ld '
14079 # Green Hills C++ Compiler
14080 lt_prog_compiler_pic_CXX
='-PIC'
14087 case $cc_basename in
14090 lt_prog_compiler_pic_CXX
='-pic'
14091 lt_prog_compiler_static_CXX
='-Bstatic'
14095 lt_prog_compiler_pic_CXX
='-pic'
14101 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14102 case $cc_basename in
14104 lt_prog_compiler_wl_CXX
='-Wl,'
14105 lt_prog_compiler_pic_CXX
='-KPIC'
14106 lt_prog_compiler_static_CXX
='-Bstatic'
14111 case $cc_basename in
14113 # NonStop-UX NCC 3.20
14114 lt_prog_compiler_pic_CXX
='-KPIC'
14123 lt_prog_compiler_can_build_shared_CXX
=no
14129 # For platforms which do not support PIC, -DPIC is meaningless:
14131 lt_prog_compiler_pic_CXX
=
14134 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14138 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14143 # Check to make sure the PIC flag actually works.
14145 if test -n "$lt_prog_compiler_pic_CXX"; then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14147 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14148 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
14149 $as_echo_n "(cached) " >&6
14151 lt_cv_prog_compiler_pic_works_CXX
=no
14152 ac_outfile
=conftest.
$ac_objext
14153 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14154 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14155 # Insert the option either (1) after the last *FLAGS variable, or
14156 # (2) before a word containing "conftest.", or (3) at the end.
14157 # Note that $ac_compile itself does not contain backslashes and begins
14158 # with a dollar sign (not a hyphen), so the echo should work correctly.
14159 # The option is referenced via a variable to avoid confusing sed.
14160 lt_compile
=`echo "$ac_compile" | $SED \
14161 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14162 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14163 -e 's:$: $lt_compiler_flag:'`
14164 (eval echo "\"\$as_me:14164: $lt_compile\"" >&5)
14165 (eval "$lt_compile" 2>conftest.err
)
14167 cat conftest.err
>&5
14168 echo "$as_me:14168: \$? = $ac_status" >&5
14169 if (exit $ac_status) && test -s "$ac_outfile"; then
14170 # The compiler can only warn and ignore the option if not recognized
14171 # So say no if there are warnings other than the usual output.
14172 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14173 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14174 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14175 lt_cv_prog_compiler_pic_works_CXX
=yes
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14182 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14184 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14185 case $lt_prog_compiler_pic_CXX in
14187 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14190 lt_prog_compiler_pic_CXX
=
14191 lt_prog_compiler_can_build_shared_CXX
=no
14199 # Check to make sure the static flag actually works.
14201 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14203 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14204 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
14205 $as_echo_n "(cached) " >&6
14207 lt_cv_prog_compiler_static_works_CXX
=no
14208 save_LDFLAGS
="$LDFLAGS"
14209 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14210 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14211 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14212 # The linker can only warn and ignore the option if not recognized
14213 # So say no if there are warnings
14214 if test -s conftest.err
; then
14215 # Append any errors to the config.log.
14216 cat conftest.err
1>&5
14217 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14218 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14219 if diff conftest.exp conftest.er2
>/dev
/null
; then
14220 lt_cv_prog_compiler_static_works_CXX
=yes
14223 lt_cv_prog_compiler_static_works_CXX
=yes
14227 LDFLAGS
="$save_LDFLAGS"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14231 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14233 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14236 lt_prog_compiler_static_CXX
=
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14244 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14245 $as_echo_n "(cached) " >&6
14247 lt_cv_prog_compiler_c_o_CXX
=no
14248 $RM -r conftest
2>/dev
/null
14252 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14254 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14255 # Insert the option either (1) after the last *FLAGS variable, or
14256 # (2) before a word containing "conftest.", or (3) at the end.
14257 # Note that $ac_compile itself does not contain backslashes and begins
14258 # with a dollar sign (not a hyphen), so the echo should work correctly.
14259 lt_compile
=`echo "$ac_compile" | $SED \
14260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14262 -e 's:$: $lt_compiler_flag:'`
14263 (eval echo "\"\$as_me:14263: $lt_compile\"" >&5)
14264 (eval "$lt_compile" 2>out
/conftest.err
)
14266 cat out
/conftest.err
>&5
14267 echo "$as_me:14267: \$? = $ac_status" >&5
14268 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14270 # The compiler can only warn and ignore the option if not recognized
14271 # So say no if there are warnings
14272 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14273 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14274 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14275 lt_cv_prog_compiler_c_o_CXX
=yes
14280 # SGI C++ compiler will create directory out/ii_files/ for
14281 # template instantiation
14282 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14283 $RM out
/* && rmdir out
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14290 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14295 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14296 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14297 $as_echo_n "(cached) " >&6
14299 lt_cv_prog_compiler_c_o_CXX
=no
14300 $RM -r conftest
2>/dev
/null
14304 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14306 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14307 # Insert the option either (1) after the last *FLAGS variable, or
14308 # (2) before a word containing "conftest.", or (3) at the end.
14309 # Note that $ac_compile itself does not contain backslashes and begins
14310 # with a dollar sign (not a hyphen), so the echo should work correctly.
14311 lt_compile
=`echo "$ac_compile" | $SED \
14312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14314 -e 's:$: $lt_compiler_flag:'`
14315 (eval echo "\"\$as_me:14315: $lt_compile\"" >&5)
14316 (eval "$lt_compile" 2>out
/conftest.err
)
14318 cat out
/conftest.err
>&5
14319 echo "$as_me:14319: \$? = $ac_status" >&5
14320 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14322 # The compiler can only warn and ignore the option if not recognized
14323 # So say no if there are warnings
14324 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14325 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14326 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14327 lt_cv_prog_compiler_c_o_CXX
=yes
14332 # SGI C++ compiler will create directory out/ii_files/ for
14333 # template instantiation
14334 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14335 $RM out
/* && rmdir out
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14342 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14347 hard_links
="nottested"
14348 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14349 # do not overwrite the value of need_locks provided by the user
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14351 $as_echo_n "checking if we can lock with hard links... " >&6; }
14354 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14356 ln conftest.a conftest.b
2>&5 || hard_links
=no
14357 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14359 $as_echo "$hard_links" >&6; }
14360 if test "$hard_links" = no
; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14362 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14372 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14374 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14377 # If we're using GNU nm, then we don't want the "-C" option.
14378 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14379 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14380 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'
14382 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'
14386 export_symbols_cmds_CXX
="$ltdll_cmds"
14388 cygwin
* | mingw
* | cegcc
*)
14389 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'
14392 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14395 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14398 $as_echo "$ld_shlibs_CXX" >&6; }
14399 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14401 with_gnu_ld_CXX
=$with_gnu_ld
14409 # Do we need to explicitly link libc?
14411 case "x$archive_cmds_need_lc_CXX" in
14413 # Assume -lc should be added
14414 archive_cmds_need_lc_CXX
=yes
14416 if test "$enable_shared" = yes && test "$GCC" = yes; then
14417 case $archive_cmds_CXX in
14419 # FIXME: we may have to deal with multi-command sequences.
14422 # Test whether the compiler implicitly links with -lc since on some
14423 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14424 # to ld, don't add -lc before -lgcc.
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14426 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14428 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14431 (eval $ac_compile) 2>&5
14433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14434 test $ac_status = 0; } 2>conftest.err
; then
14437 libobjs
=conftest.
$ac_objext
14439 wl
=$lt_prog_compiler_wl_CXX
14440 pic_flag
=$lt_prog_compiler_pic_CXX
14446 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14447 allow_undefined_flag_CXX
=
14448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14449 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14452 test $ac_status = 0; }
14454 archive_cmds_need_lc_CXX
=no
14456 archive_cmds_need_lc_CXX
=yes
14458 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14460 cat conftest.err
1>&5
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14464 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14535 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14537 library_names_spec
=
14538 libname_spec
='lib$name'
14542 postuninstall_cmds
=
14546 shlibpath_overrides_runpath
=unknown
14548 dynamic_linker
="$host_os ld.so"
14549 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14550 need_lib_prefix
=unknown
14551 hardcode_into_libs
=no
14553 # when you set need_version to no, make sure it does not cause -set_version
14554 # flags to be left without arguments
14555 need_version
=unknown
14560 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14561 shlibpath_var
=LIBPATH
14563 # AIX 3 has no versioning support, so we append a major version to the name.
14564 soname_spec
='${libname}${release}${shared_ext}$major'
14571 hardcode_into_libs
=yes
14572 if test "$host_cpu" = ia64
; then
14573 # AIX 5 supports IA64
14574 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14575 shlibpath_var
=LD_LIBRARY_PATH
14577 # With GCC up to 2.95.x, collect2 would create an import file
14578 # for dependence libraries. The import file would start with
14579 # the line `#! .'. This would cause the generated library to
14580 # depend on `.', always an invalid library. This was fixed in
14581 # development snapshots of GCC prior to 3.0.
14583 aix4 | aix4.
[01] | aix4.
[01].
*)
14584 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14586 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14589 can_build_shared
=no
14593 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14594 # soname into executable. Probably we can add versioning support to
14595 # collect2, so additional links can be useful in future.
14596 if test "$aix_use_runtimelinking" = yes; then
14597 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14598 # instead of lib<name>.a to let people know that these are not
14599 # typical AIX shared libraries.
14600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14602 # We preserve .a as extension for shared libraries through AIX4.2
14603 # and later when we are not doing run time linking.
14604 library_names_spec
='${libname}${release}.a $libname.a'
14605 soname_spec
='${libname}${release}${shared_ext}$major'
14607 shlibpath_var
=LIBPATH
14614 # Since July 2007 AmigaOS4 officially supports .so libraries.
14615 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 library_names_spec
='$libname.ixlibrary $libname.a'
14620 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14621 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'
14627 library_names_spec
='${libname}${shared_ext}'
14628 dynamic_linker
="$host_os ld.so"
14629 shlibpath_var
=LIBRARY_PATH
14635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14636 soname_spec
='${libname}${release}${shared_ext}$major'
14637 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14638 shlibpath_var
=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14640 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14641 # the default ld.so.conf also contains /usr/contrib/lib and
14642 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14643 # libtool to hard-code these into programs
14646 cygwin
* | mingw
* | pw32
* | cegcc
*)
14647 version_type
=windows
14652 case $GCC,$host_os in
14653 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
14654 library_names_spec
='$libname.dll.a'
14655 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14656 postinstall_cmds
='base_file=`basename \${file}`~
14657 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14658 dldir=$destdir/`dirname \$dlpath`~
14659 test -d \$dldir || mkdir -p \$dldir~
14660 $install_prog $dir/$dlname \$dldir/$dlname~
14661 chmod a+x \$dldir/$dlname~
14662 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14663 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14665 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14666 dlpath=$dir/\$dldll~
14668 shlibpath_overrides_runpath
=yes
14672 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14673 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14674 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14677 # MinGW DLLs use traditional 'lib' prefix
14678 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14679 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14680 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14681 # It is most probably a Windows format PATH printed by
14682 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14683 # path with ; separators, and with drive letters. We can handle the
14684 # drive letters (cygwin fileutils understands them), so leave them,
14685 # especially as we might pass files found there to a mingw objdump,
14686 # which wouldn't understand a cygwinified path. Ahh.
14687 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14689 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14693 # pw32 DLLs use 'pw' prefix rather than 'lib'
14694 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14700 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14703 dynamic_linker
='Win32 ld.exe'
14704 # FIXME: first we should search . and the directory the executable is in
14708 darwin
* | rhapsody
*)
14709 dynamic_linker
="$host_os dyld"
14710 version_type
=darwin
14713 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14714 soname_spec
='${libname}${release}${major}$shared_ext'
14715 shlibpath_overrides_runpath
=yes
14716 shlibpath_var
=DYLD_LIBRARY_PATH
14717 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14719 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14727 soname_spec
='${libname}${release}${shared_ext}$major'
14728 shlibpath_var
=LD_LIBRARY_PATH
14735 freebsd
* | dragonfly
*)
14736 # DragonFly does not have aout. When/if they implement a new
14737 # versioning mechanism, adjust this.
14738 if test -x /usr
/bin
/objformat
; then
14739 objformat
=`/usr/bin/objformat`
14742 freebsd
[123]*) objformat
=aout
;;
14743 *) objformat
=elf
;;
14746 version_type
=freebsd-
$objformat
14747 case $version_type in
14749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14754 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14758 shlibpath_var
=LD_LIBRARY_PATH
14761 shlibpath_overrides_runpath
=yes
14763 freebsd3.
[01]* | freebsdelf3.
[01]*)
14764 shlibpath_overrides_runpath
=yes
14765 hardcode_into_libs
=yes
14767 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14768 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14769 shlibpath_overrides_runpath
=no
14770 hardcode_into_libs
=yes
14772 *) # from 4.6 on, and DragonFly
14773 shlibpath_overrides_runpath
=yes
14774 hardcode_into_libs
=yes
14783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14784 soname_spec
='${libname}${release}${shared_ext}$major'
14785 shlibpath_var
=LD_LIBRARY_PATH
14786 hardcode_into_libs
=yes
14789 hpux9
* | hpux10
* | hpux11
*)
14790 # Give a soname corresponding to the major version so that dld.sl refuses to
14791 # link against other versions.
14798 hardcode_into_libs
=yes
14799 dynamic_linker
="$host_os dld.so"
14800 shlibpath_var
=LD_LIBRARY_PATH
14801 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14802 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14803 soname_spec
='${libname}${release}${shared_ext}$major'
14804 if test "X$HPUX_IA64_MODE" = X32
; then
14805 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14807 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14809 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14813 hardcode_into_libs
=yes
14814 dynamic_linker
="$host_os dld.sl"
14815 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14816 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14818 soname_spec
='${libname}${release}${shared_ext}$major'
14819 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14820 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14824 dynamic_linker
="$host_os dld.sl"
14825 shlibpath_var
=SHLIB_PATH
14826 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14828 soname_spec
='${libname}${release}${shared_ext}$major'
14831 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14832 postinstall_cmds
='chmod 555 $lib'
14839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14840 soname_spec
='${libname}${release}${shared_ext}$major'
14841 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14842 shlibpath_var
=LD_LIBRARY_PATH
14843 shlibpath_overrides_runpath
=no
14844 hardcode_into_libs
=yes
14847 irix5
* | irix6
* | nonstopux
*)
14849 nonstopux
*) version_type
=nonstopux
;;
14851 if test "$lt_cv_prog_gnu_ld" = yes; then
14859 soname_spec
='${libname}${release}${shared_ext}$major'
14860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14862 irix5
* | nonstopux
*)
14863 libsuff
= shlibsuff
=
14866 case $LD in # libtool.m4 will add one of these switches to LD
14867 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14868 libsuff
= shlibsuff
= libmagic
=32-bit;;
14869 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14870 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14871 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14872 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14873 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14877 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14878 shlibpath_overrides_runpath
=no
14879 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14880 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14881 hardcode_into_libs
=yes
14884 # No shared lib support for Linux oldld, aout, or coff.
14885 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14889 # This must be Linux ELF.
14890 linux
* | k
*bsd
*-gnu)
14894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895 soname_spec
='${libname}${release}${shared_ext}$major'
14896 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14897 shlibpath_var
=LD_LIBRARY_PATH
14898 shlibpath_overrides_runpath
=no
14899 # Some binutils ld are patched to set DT_RUNPATH
14900 save_LDFLAGS
=$LDFLAGS
14901 save_libdir
=$libdir
14902 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14903 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14915 if ac_fn_cxx_try_link
"$LINENO"; then :
14916 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
14917 shlibpath_overrides_runpath
=yes
14920 rm -f core conftest.err conftest.
$ac_objext \
14921 conftest
$ac_exeext conftest.
$ac_ext
14922 LDFLAGS
=$save_LDFLAGS
14923 libdir
=$save_libdir
14925 # This implies no fast_install, which is unacceptable.
14926 # Some rework will be needed to allow for fast_install
14927 # before this can be enabled.
14928 hardcode_into_libs
=yes
14930 # Append ld.so.conf contents to the search path
14931 if test -f /etc
/ld.so.conf
; then
14932 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' ' '`
14933 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14936 # We used to test for /lib/ld.so.1 and disable shared libraries on
14937 # powerpc, because MkLinux only supported shared libraries with the
14938 # GNU dynamic linker. Since this was broken with cross compilers,
14939 # most powerpc-linux boxes support dynamic linking these days and
14940 # people can always --disable-shared, the test was removed, and we
14941 # assume the GNU/Linux dynamic linker is in use.
14942 dynamic_linker
='GNU/Linux ld.so'
14949 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14952 dynamic_linker
='NetBSD (a.out) ld.so'
14954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14955 soname_spec
='${libname}${release}${shared_ext}$major'
14956 dynamic_linker
='NetBSD ld.elf_so'
14958 shlibpath_var
=LD_LIBRARY_PATH
14959 shlibpath_overrides_runpath
=yes
14960 hardcode_into_libs
=yes
14965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14966 shlibpath_var
=LD_LIBRARY_PATH
14967 shlibpath_overrides_runpath
=yes
14974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975 soname_spec
='${libname}${release}${shared_ext}$major'
14976 shlibpath_var
=LD_LIBRARY_PATH
14977 shlibpath_overrides_runpath
=no
14978 hardcode_into_libs
=yes
14979 dynamic_linker
='ldqnx.so'
14984 sys_lib_dlsearch_path_spec
="/usr/lib"
14986 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14988 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
14989 *) need_version
=no
;;
14991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14993 shlibpath_var
=LD_LIBRARY_PATH
14994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14996 openbsd2.
[89] | openbsd2.
[89].
*)
14997 shlibpath_overrides_runpath
=no
15000 shlibpath_overrides_runpath
=yes
15004 shlibpath_overrides_runpath
=yes
15009 libname_spec
='$name'
15012 library_names_spec
='$libname${shared_ext} $libname.a'
15013 dynamic_linker
='OS/2 ld.exe'
15014 shlibpath_var
=LIBPATH
15017 osf3
* | osf4
* | osf5
*)
15021 soname_spec
='${libname}${release}${shared_ext}$major'
15022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023 shlibpath_var
=LD_LIBRARY_PATH
15024 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15025 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15038 shlibpath_var
=LD_LIBRARY_PATH
15039 shlibpath_overrides_runpath
=yes
15040 hardcode_into_libs
=yes
15041 # ldd complains unless libraries are executable
15042 postinstall_cmds
='chmod +x $lib'
15047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15048 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15049 shlibpath_var
=LD_LIBRARY_PATH
15050 shlibpath_overrides_runpath
=yes
15051 if test "$with_gnu_ld" = yes; then
15059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15060 soname_spec
='${libname}${release}${shared_ext}$major'
15061 shlibpath_var
=LD_LIBRARY_PATH
15062 case $host_vendor in
15064 shlibpath_overrides_runpath
=no
15066 runpath_var
=LD_RUN_PATH
15074 shlibpath_overrides_runpath
=no
15075 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15081 if test -d /usr
/nec
;then
15083 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15084 soname_spec
='$libname${shared_ext}.$major'
15085 shlibpath_var
=LD_LIBRARY_PATH
15089 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15090 version_type
=freebsd-elf
15093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15094 soname_spec
='${libname}${release}${shared_ext}$major'
15095 shlibpath_var
=LD_LIBRARY_PATH
15096 shlibpath_overrides_runpath
=yes
15097 hardcode_into_libs
=yes
15098 if test "$with_gnu_ld" = yes; then
15099 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15101 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15104 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15108 sys_lib_dlsearch_path_spec
='/usr/lib'
15112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15117 shlibpath_var
=LD_LIBRARY_PATH
15118 shlibpath_overrides_runpath
=no
15119 hardcode_into_libs
=yes
15124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15125 soname_spec
='${libname}${release}${shared_ext}$major'
15126 shlibpath_var
=LD_LIBRARY_PATH
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15134 $as_echo "$dynamic_linker" >&6; }
15135 test "$dynamic_linker" = no
&& can_build_shared
=no
15137 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15138 if test "$GCC" = yes; then
15139 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15142 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15143 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15145 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15146 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15186 hardcode_action_CXX
=
15187 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15188 test -n "$runpath_var_CXX" ||
15189 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15191 # We can hardcode non-existent directories.
15192 if test "$hardcode_direct_CXX" != no
&&
15193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15194 # have to relink, otherwise we might link with an installed library
15195 # when we should be linking with a yet-to-be-installed one
15196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15197 test "$hardcode_minus_L_CXX" != no
; then
15198 # Linking always hardcodes the temporary library directory.
15199 hardcode_action_CXX
=relink
15201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15202 hardcode_action_CXX
=immediate
15205 # We cannot hardcode anything, or else we can only hardcode existing
15207 hardcode_action_CXX
=unsupported
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15210 $as_echo "$hardcode_action_CXX" >&6; }
15212 if test "$hardcode_action_CXX" = relink ||
15213 test "$inherit_rpath_CXX" = yes; then
15214 # Fast installation is not supported
15215 enable_fast_install
=no
15216 elif test "$shlibpath_overrides_runpath" = yes ||
15217 test "$enable_shared" = no
; then
15218 # Fast installation is not necessary
15219 enable_fast_install
=needless
15228 fi # test -n "$compiler"
15234 with_gnu_ld
=$lt_save_with_gnu_ld
15235 lt_cv_path_LDCXX
=$lt_cv_path_LD
15236 lt_cv_path_LD
=$lt_save_path_LD
15237 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15238 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15239 fi # test "$_lt_caught_CXX_error" != yes
15242 ac_cpp
='$CXXCPP $CPPFLAGS'
15243 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15244 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15245 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15250 # Check whether --enable-developer was given.
15251 if test "${enable_developer+set}" = set; then :
15252 enableval
=$enable_developer;
15254 case ${PACKAGE_VERSION} in
15255 0.
*|
*99*|
*alpha
*|
*beta
*)
15256 enable_developer
=yes
15259 enable_developer
=no
15265 if test ${enable_developer} = yes; then
15266 try_c_cxx_flags
="-g \
15271 -Wno-unused-parameter \
15273 -Wredundant-decls \
15280 try_c_flags
="-Wmissing-prototypes \
15282 -Wstrict-prototypes"
15284 try_cxx_flags
="-Wabi \
15285 -Wctor-dtor-privacy \
15287 -Wno-non-template-friend \
15288 -Wno-pmf-conversions \
15289 -Wnon-virtual-dtor \
15290 -Woverloaded-virtual \
15296 # The following flags should also be enabled but cannot be. Reasons
15299 # -Wold-style-cast: Raises errors when using TIOCGWINSZ, at least under
15300 # Mac OS X. This is due to the way _IOR is defined.
15303 try_c_cxx_flags
="-DNDEBUG"
15305 try_c_cxx_flags
="${try_c_cxx_flags} -D_FORTIFY_SOURCE=2"
15309 for f
in ${try_c_cxx_flags} ${try_c_flags}; do
15312 ac_cpp
='$CPP $CPPFLAGS'
15313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} supports ${f}" >&5
15318 $as_echo_n "checking whether ${CC} supports ${f}... " >&6; }
15319 saved_cflags="${CFLAGS}"
15321 CFLAGS="${CFLAGS} ${f}"
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15324 int main(void) { return 0; }
15326 if ac_fn_c_try_link "$LINENO"; then :
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
15328 $as_echo "yes" >&6; }
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
15332 $as_echo "no
" >&6; }
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 CFLAGS="${saved_cflags}"
15338 ac_cpp='$CXXCPP $CPPFLAGS'
15339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15344 if test ${valid_cflag} = yes; then
15345 valid_cflags="${valid_cflags} ${f}"
15349 if test -n "${valid_cflags}"; then
15350 CFLAGS="${CFLAGS} ${valid_cflags}"
15355 for f in ${try_c_cxx_flags} ${try_cxx_flags}; do
15358 ac_cpp='$CXXCPP $CPPFLAGS'
15359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} supports ${f}" >&5
15364 $as_echo_n "checking whether
${CXX} supports ${f}... " >&6; }
15365 saved_cxxflags
="${CXXFLAGS}"
15367 CXXFLAGS
="${CXXFLAGS} ${f}"
15368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15370 int main(void) { return 0; }
15372 if ac_fn_cxx_try_link
"$LINENO"; then :
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15374 $as_echo "yes" >&6; }
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15378 $as_echo "no" >&6; }
15380 rm -f core conftest.err conftest.
$ac_objext \
15381 conftest
$ac_exeext conftest.
$ac_ext
15382 CXXFLAGS
="${saved_cxxflags}"
15384 ac_cpp
='$CXXCPP $CPPFLAGS'
15385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15390 if test ${valid_cxxflag} = yes; then
15391 valid_cxxflags
="${valid_cxxflags} ${f}"
15395 if test -n "${valid_cxxflags}"; then
15396 CXXFLAGS
="${CXXFLAGS} ${valid_cxxflags}"
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is in std" >&5
15405 $as_echo_n "checking whether vsnprintf is in std... " >&6; }
15406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15413 const char* fmt = NULL;
15414 std::vsnprintf(buf, 0, fmt, ap);
15419 if ac_fn_cxx_try_compile
"$LINENO"; then :
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15421 $as_echo "yes" >&6; }
15423 $as_echo "#define HAVE_VSNPRINTF_IN_STD 1" >>confdefs.h
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15427 $as_echo "no" >&6; }
15430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt allows a + sign for POSIX behavior" >&5
15435 $as_echo_n "checking whether getopt allows a + sign for POSIX behavior... " >&6; }
15436 if test "$cross_compiling" = yes; then :
15437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15439 as_fn_error
"cannot run test program while cross compiling
15440 See \`config.log' for more details." "$LINENO" 5; }
15442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 #include <stdlib.h>
15446 #include <string.h>
15447 #include <unistd.h>
15454 strdup("conftest"),
15461 int seen_a = 0, seen_plus = 0;
15463 while ((ch = getopt(argc, argv, "+a:")) != -1) {
15479 return (seen_a && !seen_plus) ? EXIT_SUCCESS : EXIT_FAILURE;
15483 if ac_fn_cxx_try_run
"$LINENO"; then :
15484 getopt_allows_plus
=yes
15486 $as_echo "#define HAVE_GNU_GETOPT 1" >>confdefs.h
15489 getopt_allows_plus
=no
15491 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15492 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${getopt_allows_plus}" >&5
15496 $as_echo "${getopt_allows_plus}" >&6; }
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __attribute__((noreturn)) is supported" >&5
15500 $as_echo_n "checking whether __attribute__((noreturn)) is supported... " >&6; }
15501 if test "$cross_compiling" = yes; then :
15502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15504 as_fn_error
"cannot run test program while cross compiling
15505 See \`config.log' for more details." "$LINENO" 5; }
15507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15511 #if ((__GNUC__ == 2 && __GNUC_MINOR__ >= 5) || __GNUC__ > 2)
15519 if ac_fn_cxx_try_run
"$LINENO"; then :
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15521 $as_echo "yes" >&6; }
15522 value
="__attribute__((noreturn))"
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15525 $as_echo "no" >&6; }
15529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15533 ATTRIBUTE_NORETURN
=${value}
15537 for ac_func
in putenv setenv unsetenv
15539 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15540 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15541 eval as_val
=\$
$as_ac_var
15542 if test "x$as_val" = x
""yes; then :
15543 cat >>confdefs.h
<<_ACEOF
15544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether putenv is in std" >&5
15554 $as_echo_n "checking whether putenv is in std... " >&6; }
15555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15559 std::putenv("a=b");
15564 if ac_fn_cxx_try_compile
"$LINENO"; then :
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15566 $as_echo "yes" >&6; }
15568 $as_echo "#define HAVE_PUTENV_IN_STD 1" >>confdefs.h
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15572 $as_echo "no" >&6; }
15575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setenv is in std" >&5
15581 $as_echo_n "checking whether setenv is in std... " >&6; }
15582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15586 std::setenv("a", "b");
15591 if ac_fn_cxx_try_compile
"$LINENO"; then :
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15593 $as_echo "yes" >&6; }
15595 $as_echo "#define HAVE_SETENV_IN_STD 1" >>confdefs.h
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15599 $as_echo "no" >&6; }
15602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether unsetenv is in std" >&5
15608 $as_echo_n "checking whether unsetenv is in std... " >&6; }
15609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15613 std::unsetenv("a");
15618 if ac_fn_cxx_try_compile
"$LINENO"; then :
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15620 $as_echo "yes" >&6; }
15622 $as_echo "#define HAVE_UNSETENV_IN_STD 1" >>confdefs.h
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15626 $as_echo "no" >&6; }
15629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether basename takes a constant pointer" >&5
15635 $as_echo_n "checking whether basename takes a constant pointer... " >&6; }
15636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15638 #include <libgen.h>
15640 const char* s = "/foo/bar/";
15641 (void)::basename(s);
15644 if ac_fn_cxx_try_compile
"$LINENO"; then :
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15646 $as_echo "yes" >&6; }
15648 $as_echo "#define HAVE_CONST_BASENAME 1" >>confdefs.h
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15652 $as_echo "no" >&6; }
15654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirname takes a constant pointer" >&5
15657 $as_echo_n "checking whether dirname takes a constant pointer... " >&6; }
15658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15660 #include <libgen.h>
15662 const char* s = "/foo/bar/";
15663 (void)::dirname(s);
15666 if ac_fn_cxx_try_compile
"$LINENO"; then :
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15668 $as_echo "yes" >&6; }
15670 $as_echo "#define HAVE_CONST_DIRNAME 1" >>confdefs.h
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15674 $as_echo "no" >&6; }
15676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getcwd(NULL, 0) works" >&5
15679 $as_echo_n "checking whether getcwd(NULL, 0) works... " >&6; }
15680 if test "$cross_compiling" = yes; then :
15681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15683 as_fn_error
"cannot run test program while cross compiling
15684 See \`config.log' for more details." "$LINENO" 5; }
15686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15688 #include <stdlib.h>
15689 #include <unistd.h>
15691 char *cwd = getcwd(NULL, 0);
15692 return (cwd != NULL) ? EXIT_SUCCESS : EXIT_FAILURE;
15695 if ac_fn_cxx_try_run
"$LINENO"; then :
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15697 $as_echo "yes" >&6; }
15699 $as_echo "#define HAVE_GETCWD_DYN 1" >>confdefs.h
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15703 $as_echo "no" >&6; }
15705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15710 for ac_func
in unmount
15712 ac_fn_cxx_check_func
"$LINENO" "unmount" "ac_cv_func_unmount"
15713 if test "x$ac_cv_func_unmount" = x
""yes; then :
15714 cat >>confdefs.h
<<_ACEOF
15715 #define HAVE_UNMOUNT 1
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf is in std" >&5
15726 $as_echo_n "checking whether snprintf is in std... " >&6; }
15727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15728 /* end confdefs.h. */
15732 std::snprintf(&buf, 1, "");
15737 if ac_fn_cxx_try_compile
"$LINENO"; then :
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15739 $as_echo "yes" >&6; }
15741 $as_echo "#define HAVE_SNPRINTF_IN_STD 1" >>confdefs.h
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15745 $as_echo "no" >&6; }
15748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the last valid signal" >&5
15754 $as_echo_n "checking for the last valid signal... " >&6; }
15755 if test "$cross_compiling" = yes; then :
15756 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15758 as_fn_error
"cannot run test program while cross compiling
15759 See \`config.log' for more details." "$LINENO" 5; }
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15766 #include <signal.h>
15769 #include <stdlib.h>
15780 if (i != SIGKILL && i != SIGSTOP) {
15781 struct sigaction sa;
15784 sa.sa_handler = SIG_IGN;
15785 sigemptyset(&sa.sa_mask);
15788 ret = sigaction(i, &sa, NULL);
15790 if (errno == EINVAL) {
15794 err(EXIT_FAILURE, "sigaction failed");
15799 errx(EXIT_FAILURE, "too much signals");
15801 f = fopen("conftest.cnt", "w");
15803 err(EXIT_FAILURE, "failed to open file");
15805 fprintf(f, "%d\n", i);
15808 return EXIT_SUCCESS;
15812 if ac_fn_cxx_try_run
"$LINENO"; then :
15813 if test ! -f conftest.cnt
; then
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed; assuming ${last_signo}" >&5
15816 $as_echo "failed; assuming ${last_signo}" >&6; }
15818 last_signo
=$
(cat conftest.cnt
)
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${last_signo}" >&5
15821 $as_echo "${last_signo}" >&6; }
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed; assuming ${last_signo}" >&5
15826 $as_echo "failed; assuming ${last_signo}" >&6; }
15828 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15829 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15833 cat >>confdefs.h
<<_ACEOF
15834 #define LAST_SIGNO ${last_signo}
15841 test x
"${ATF_BUILD_CC-unset}" = x
"unset" && ATF_BUILD_CC
="${CC}"
15846 test x
"${ATF_BUILD_CFLAGS-unset}" = x
"unset" && ATF_BUILD_CFLAGS
="${CFLAGS}"
15851 test x
"${ATF_BUILD_CPP-unset}" = x
"unset" && ATF_BUILD_CPP
="${CPP}"
15856 test x
"${ATF_BUILD_CPPFLAGS-unset}" = x
"unset" && ATF_BUILD_CPPFLAGS
="${CPPFLAGS}"
15861 test x
"${ATF_BUILD_CXX-unset}" = x
"unset" && ATF_BUILD_CXX
="${CXX}"
15866 test x
"${ATF_BUILD_CXXFLAGS-unset}" = x
"unset" && ATF_BUILD_CXXFLAGS
="${CXXFLAGS}"
15873 # Check whether --enable-doc-build was given.
15874 if test "${enable_doc_build+set}" = set; then :
15875 enableval
=$enable_doc_build;
15877 enable_doc_build
=no
15881 case "${enable_doc_build}" in
15885 as_fn_error
"Invalid argument for --enable-doc-build" "$LINENO" 5
15890 if test ${enable_doc_build} = yes; then
15893 # Extract the first word of "links", so it can be a program name with args.
15894 set dummy links
; ac_word
=$2
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15896 $as_echo_n "checking for $ac_word... " >&6; }
15897 if test "${ac_cv_path_LINKS+set}" = set; then :
15898 $as_echo_n "(cached) " >&6
15902 ac_cv_path_LINKS
="$LINKS" # Let the user override the test with a path.
15905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15906 for as_dir
in $PATH
15909 test -z "$as_dir" && as_dir
=.
15910 for ac_exec_ext
in '' $ac_executable_extensions; do
15911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15912 ac_cv_path_LINKS
="$as_dir/$ac_word$ac_exec_ext"
15913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15923 LINKS
=$ac_cv_path_LINKS
15924 if test -n "$LINKS"; then
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
15926 $as_echo "$LINKS" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15929 $as_echo "no" >&6; }
15933 if test "${LINKS:-empty}" = empty
; then
15934 as_fn_error
"links could not be found" "$LINENO" 5
15939 # Extract the first word of "tidy", so it can be a program name with args.
15940 set dummy tidy
; ac_word
=$2
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15942 $as_echo_n "checking for $ac_word... " >&6; }
15943 if test "${ac_cv_path_TIDY+set}" = set; then :
15944 $as_echo_n "(cached) " >&6
15948 ac_cv_path_TIDY
="$TIDY" # Let the user override the test with a path.
15951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15952 for as_dir
in $PATH
15955 test -z "$as_dir" && as_dir
=.
15956 for ac_exec_ext
in '' $ac_executable_extensions; do
15957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15958 ac_cv_path_TIDY
="$as_dir/$ac_word$ac_exec_ext"
15959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15969 TIDY
=$ac_cv_path_TIDY
15970 if test -n "$TIDY"; then
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIDY" >&5
15972 $as_echo "$TIDY" >&6; }
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15975 $as_echo "no" >&6; }
15979 if test "${TIDY:-empty}" = empty
; then
15980 as_fn_error
"tidy could not be found" "$LINENO" 5
15985 # Extract the first word of "xmlcatalog", so it can be a program name with args.
15986 set dummy xmlcatalog
; ac_word
=$2
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15988 $as_echo_n "checking for $ac_word... " >&6; }
15989 if test "${ac_cv_path_XMLCATALOG+set}" = set; then :
15990 $as_echo_n "(cached) " >&6
15992 case $XMLCATALOG in
15994 ac_cv_path_XMLCATALOG
="$XMLCATALOG" # Let the user override the test with a path.
15997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15998 for as_dir
in $PATH
16001 test -z "$as_dir" && as_dir
=.
16002 for ac_exec_ext
in '' $ac_executable_extensions; do
16003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16004 ac_cv_path_XMLCATALOG
="$as_dir/$ac_word$ac_exec_ext"
16005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16015 XMLCATALOG
=$ac_cv_path_XMLCATALOG
16016 if test -n "$XMLCATALOG"; then
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
16018 $as_echo "$XMLCATALOG" >&6; }
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16021 $as_echo "no" >&6; }
16025 if test "${XMLCATALOG:-empty}" = empty
; then
16026 as_fn_error
"xmlcatalog could not be found" "$LINENO" 5
16031 # Extract the first word of "xmllint", so it can be a program name with args.
16032 set dummy xmllint
; ac_word
=$2
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16034 $as_echo_n "checking for $ac_word... " >&6; }
16035 if test "${ac_cv_path_XMLLINT+set}" = set; then :
16036 $as_echo_n "(cached) " >&6
16040 ac_cv_path_XMLLINT
="$XMLLINT" # Let the user override the test with a path.
16043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16044 for as_dir
in $PATH
16047 test -z "$as_dir" && as_dir
=.
16048 for ac_exec_ext
in '' $ac_executable_extensions; do
16049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16050 ac_cv_path_XMLLINT
="$as_dir/$ac_word$ac_exec_ext"
16051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16061 XMLLINT
=$ac_cv_path_XMLLINT
16062 if test -n "$XMLLINT"; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16064 $as_echo "$XMLLINT" >&6; }
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16067 $as_echo "no" >&6; }
16071 if test "${XMLLINT:-empty}" = empty
; then
16072 as_fn_error
"xmllint could not be found" "$LINENO" 5
16077 # Extract the first word of "xsltproc", so it can be a program name with args.
16078 set dummy xsltproc
; ac_word
=$2
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16080 $as_echo_n "checking for $ac_word... " >&6; }
16081 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
16082 $as_echo_n "(cached) " >&6
16086 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
16089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16090 for as_dir
in $PATH
16093 test -z "$as_dir" && as_dir
=.
16094 for ac_exec_ext
in '' $ac_executable_extensions; do
16095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16096 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
16097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16107 XSLTPROC
=$ac_cv_path_XSLTPROC
16108 if test -n "$XSLTPROC"; then
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16110 $as_echo "$XSLTPROC" >&6; }
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16113 $as_echo "no" >&6; }
16117 if test "${XSLTPROC:-empty}" = empty
; then
16118 as_fn_error
"xsltproc could not be found" "$LINENO" 5
16124 : ${XML_CATALOG_FILE:=/etc/xml/catalog}
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DTD -//OASIS//DTD Simplified DocBook XML V1.1//EN" >&5
16127 $as_echo_n "checking for DTD -//OASIS//DTD Simplified DocBook XML V1.1//EN... " >&6; }
16128 XML_CATALOG_FILES
= ${XMLCATALOG} ${XML_CATALOG_FILE} '-//OASIS//DTD Simplified DocBook XML V1.1//EN' \
16130 if test ${?} -ne 0; then
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16132 $as_echo "no" >&6; }
16133 echo "XML catalog: ${XML_CATALOG_FILE}"
16134 echo "xmlcatalog output:"
16136 as_fn_error
"Could not find the '-//OASIS//DTD Simplified DocBook XML V1.1//EN' DTD" "$LINENO" 5
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16139 $as_echo "yes" >&6; }
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: Building documentation: ${enable_doc_build}" >&5
16145 $as_echo "$as_me: Building documentation: ${enable_doc_build}" >&6;}
16146 if test ${enable_doc_build} = no
; then
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'make dist' won't work if documentation is edited" >&5
16148 $as_echo "$as_me: WARNING: 'make dist' won't work if documentation is edited" >&2;}
16151 DOC_BUILD
=${enable_doc_build}
16153 if test ${enable_doc_build} = yes; then
16155 DOC_BUILD_FALSE
='#'
16164 machine
=${target_cpu}
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: Machine type: ${machine}, architecture: ${arch}" >&5
16179 $as_echo "$as_me: Machine type: ${machine}, architecture: ${arch}" >&6;}
16182 atf_machine=${machine}
16187 if test x"${ATF_CONFSUBDIR-unset}" = x"unset"; then
16190 case ${ATF_CONFSUBDIR} in
16192 as_fn_error "ATF_CONFSUBDIR must hold a relative path
" "$LINENO" 5
16198 if test x"${ATF_CONFSUBDIR}" = x""; then
16199 atf_confdir=\${sysconfdir}
16202 atf_confdir=\${sysconfdir}/${ATF_CONFSUBDIR}
16207 if test x"${ATF_WORKDIR}" = x""; then
16208 for t in /tmp /var/tmp; do
16209 if test -d ${t}; then
16214 if test x"${ATF_WORKDIR}" = x""; then
16215 as_fn_error "Could not guess a value
for ATF_WORKDIR
" "$LINENO" 5
16218 case ${ATF_WORKDIR} in
16222 as_fn_error "ATF_WORKDIR must hold an absolute path
" "$LINENO" 5
16227 atf_cssdir=\${datadir}/examples/atf
16229 atf_dtddir=\${datadir}/xml/atf
16231 atf_egdir=\${datadir}/examples/atf
16233 atf_pkgconfigdir=\${libdir}/pkgconfig
16235 atf_xsldir=\${datadir}/xsl/atf
16240 if test x"${ATF_SHELL}" = x""; then
16241 for ac_prog in bash sh
16243 # Extract the first word of "$ac_prog", so it can be a program name with args.
16244 set dummy $ac_prog; ac_word=$2
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16246 $as_echo_n "checking
for $ac_word...
" >&6; }
16247 if test "${ac_cv_path_ATF_SHELL+set}" = set; then :
16248 $as_echo_n "(cached
) " >&6
16252 ac_cv_path_ATF_SHELL="$ATF_SHELL" # Let the user override the test with a path.
16255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16256 for as_dir in $PATH
16259 test -z "$as_dir" && as_dir=.
16260 for ac_exec_ext in '' $ac_executable_extensions; do
16261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16262 ac_cv_path_ATF_SHELL="$as_dir/$ac_word$ac_exec_ext"
16263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16273 ATF_SHELL=$ac_cv_path_ATF_SHELL
16274 if test -n "$ATF_SHELL"; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ATF_SHELL" >&5
16276 $as_echo "$ATF_SHELL" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16279 $as_echo "no
" >&6; }
16283 test -n "$ATF_SHELL" && break
16287 case ${ATF_SHELL} in
16291 as_fn_error "ATF_SHELL must hold an absolute path
" "$LINENO" 5
16295 if test x"${ATF_SHELL}" = x""; then
16296 as_fn_error "No POSIX shell interpreter found
; maybe
set ATF_SHELL?
" "$LINENO" 5
16300 # Extract the first word of "mtn
", so it can be a program name with args.
16301 set dummy mtn; ac_word=$2
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16303 $as_echo_n "checking
for $ac_word...
" >&6; }
16304 if test "${ac_cv_path_MTN+set}" = set; then :
16305 $as_echo_n "(cached
) " >&6
16309 ac_cv_path_MTN="$MTN" # Let the user override the test with a path.
16312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16313 for as_dir in $PATH
16316 test -z "$as_dir" && as_dir=.
16317 for ac_exec_ext in '' $ac_executable_extensions; do
16318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16319 ac_cv_path_MTN="$as_dir/$ac_word$ac_exec_ext"
16320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16330 MTN=$ac_cv_path_MTN
16331 if test -n "$MTN"; then
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MTN" >&5
16333 $as_echo "$MTN" >&6; }
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16336 $as_echo "no
" >&6; }
16343 test x"${ATF_M4-unset}" = x"unset" && ATF_M4="m4"
16348 ac_config_files="$ac_config_files Makefile atf-c
/defs.h
"
16350 cat >confcache <<\_ACEOF
16351 # This file is a shell script that caches the results of configure
16352 # tests run on this system so they can be shared between configure
16353 # scripts and configure runs, see configure's option --config-cache.
16354 # It is not useful on other systems. If it contains results you don't
16355 # want to keep, you may remove or edit it.
16357 # config.status only pays attention to the cache file if you give it
16358 # the --recheck option to rerun configure.
16360 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16361 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16362 # following values.
16366 # The following way of writing the cache mishandles newlines in values,
16367 # but we know of no workaround that is simple, portable, and efficient.
16368 # So, we kill variables containing newlines.
16369 # Ultrix sh set writes to stderr and can't be redirected directly,
16370 # and sets the high bit in the cache file unless we assign to the vars.
16372 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16373 eval ac_val=\$$ac_var
16377 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16378 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16381 _ | IFS | as_nl) ;; #(
16382 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16383 *) { eval $ac_var=; unset $ac_var;} ;;
16389 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16390 *${as_nl}ac_space=\ *)
16391 # `set' does not quote correctly, so add quotes: double-quote
16392 # substitution turns \\\\ into \\, and sed turns \\ into \.
16395 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16398 # `set' quotes correctly as required by POSIX, so do not add quotes.
16399 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16408 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16410 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16412 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16413 if test -w "$cache_file"; then
16414 test "x
$cache_file" != "x
/dev
/null
" &&
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16416 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16417 cat confcache >$cache_file
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16420 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16425 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
16426 # Let make expand exec_prefix.
16427 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
16429 DEFS=-DHAVE_CONFIG_H
16433 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
16434 # 1. Remove the extension, and $U if already installed.
16435 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16436 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16437 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16438 # will be set to the directory where LIBOBJS objects are built.
16439 as_fn_append ac_libobjs " \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
16440 as_fn_append ac_ltlibobjs " \
${LIBOBJDIR}$ac_i"'$U.lo'
16442 LIBOBJS=$ac_libobjs
16444 LTLIBOBJS=$ac_ltlibobjs
16447 if test -n "$EXEEXT"; then
16449 am__EXEEXT_FALSE='#'
16451 am__EXEEXT_TRUE='#'
16455 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16456 as_fn_error "conditional
\"AMDEP
\" was never defined.
16457 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16459 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16460 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
16461 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16463 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16464 as_fn_error "conditional
\"am__fastdepCC
\" was never defined.
16465 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16467 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16468 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
16469 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16471 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16472 as_fn_error "conditional
\"am__fastdepCXX
\" was never defined.
16473 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16475 if test -z "${DOC_BUILD_TRUE}" && test -z "${DOC_BUILD_FALSE}"; then
16476 as_fn_error "conditional
\"DOC_BUILD
\" was never defined.
16477 Usually this means the macro was only invoked conditionally.
" "$LINENO" 5
16480 : ${CONFIG_STATUS=./config.status}
16482 ac_clean_files_save=$ac_clean_files
16483 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$CONFIG_STATUS" >&5
16485 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
16487 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16489 # Generated by $as_me.
16490 # Run this file to recreate the current configuration.
16491 # Compiler output produced by configure, useful for debugging
16492 # configure, is in config.log if it exists.
16495 ac_cs_recheck=false
16498 SHELL=\${CONFIG_SHELL-$SHELL}
16501 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16502 ## -------------------- ##
16503 ## M4sh Initialization. ##
16504 ## -------------------- ##
16506 # Be more Bourne compatible
16507 DUALCASE=1; export DUALCASE # for MKS sh
16508 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16511 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16512 # is contrary to our usage. Disable this feature.
16513 alias -g '${1+"$@"}'='"$@
"'
16514 setopt NO_GLOB_SUBST
16516 case `(set -o) 2>/dev/null` in #(
16528 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16529 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16530 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16532 # Prefer a ksh shell builtin over an external printf program on Solaris,
16533 # but without wasting forks for bash or zsh.
16534 if test -z "$BASH_VERSION$ZSH_VERSION" \
16535 && (test "X
`print -r -- $as_echo`" = "X
$as_echo") 2>/dev/null; then
16536 as_echo='print -r --'
16537 as_echo_n='print -rn --'
16538 elif (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
16539 as_echo='printf %s\n'
16540 as_echo_n='printf %s'
16542 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
16543 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16544 as_echo_n='/usr/ucb/echo -n'
16546 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
16547 as_echo_n_body='eval
16551 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
16552 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
16554 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
16556 export as_echo_n_body
16557 as_echo_n='sh -c $as_echo_n_body as_echo'
16559 export as_echo_body
16560 as_echo='sh -c $as_echo_body as_echo'
16563 # The user is always right.
16564 if test "${PATH_SEPARATOR+set}" != set; then
16566 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16567 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16574 # We need space, tab and new line, in precisely that order. Quoting is
16575 # there to prevent editors from complaining about space-tab.
16576 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16577 # splitting by setting IFS to empty value.)
16580 # Find who we are. Look in the path if we contain no directory separator.
16582 *[\\/]* ) as_myself=$0 ;;
16583 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16584 for as_dir in $PATH
16587 test -z "$as_dir" && as_dir=.
16588 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16594 # We did not find ourselves, most probably we were run as `sh COMMAND'
16595 # in which case we are not to be found in the path.
16596 if test "x
$as_myself" = x; then
16599 if test ! -f "$as_myself"; then
16600 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
16604 # Unset variables that we do not need and which cause bugs (e.g. in
16605 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "||
exit 1"
16606 # suppresses any "Segmentation fault
" message there. '((' could
16607 # trigger a bug in pdksh 5.2.14.
16608 for as_var in BASH_ENV ENV MAIL MAILPATH
16609 do eval test x\${$as_var+set} = xset \
16610 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16623 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16626 # as_fn_error ERROR [LINENO LOG_FD]
16627 # ---------------------------------
16628 # Output "`basename $0`: error
: ERROR
" to stderr. If LINENO and LOG_FD are
16629 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16630 # script with status $?, using 1 if that was 0.
16633 as_status=$?; test $as_status -eq 0 && as_status=1
16635 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16636 $as_echo "$as_me:${as_lineno-$LINENO}: error
: $1" >&$3
16638 $as_echo "$as_me: error
: $1" >&2
16639 as_fn_exit $as_status
16643 # as_fn_set_status STATUS
16644 # -----------------------
16645 # Set $? to STATUS, without forking.
16646 as_fn_set_status ()
16649 } # as_fn_set_status
16651 # as_fn_exit STATUS
16652 # -----------------
16653 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16657 as_fn_set_status $1
16663 # Portably unset VAR.
16666 { eval $1=; unset $1;}
16668 as_unset=as_fn_unset
16669 # as_fn_append VAR VALUE
16670 # ----------------------
16671 # Append the text in VALUE to the end of the definition contained in VAR. Take
16672 # advantage of any shell optimizations that allow amortized linear growth over
16673 # repeated appends, instead of the typical quadratic growth present in naive
16675 if (eval "as_var
=1; as_var
+=2; test x\
$as_var = x12
") 2>/dev/null; then :
16676 eval 'as_fn_append ()
16687 # as_fn_arith ARG...
16688 # ------------------
16689 # Perform arithmetic evaluation on the ARGs, and store the result in the
16690 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16691 # must be portable across $(()) and expr.
16692 if (eval "test \$
(( 1 + 1 )) = 2") 2>/dev/null; then :
16693 eval 'as_fn_arith ()
16700 as_val=`expr "$@
" || test $? -eq 1`
16705 if expr a : '\(a\)' >/dev/null 2>&1 &&
16706 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
16712 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
16713 as_basename=basename
16718 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
16724 as_me=`$as_basename -- "$0" ||
16725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16726 X"$0" : 'X\(//\)$' \| \
16727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16729 sed '/^.*\/\([^/][^/]*\)\/*$/{
16743 # Avoid depending upon Character Ranges.
16744 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16745 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16746 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16747 as_cr_digits='0123456789'
16748 as_cr_alnum=$as_cr_Letters$as_cr_digits
16750 ECHO_C= ECHO_N= ECHO_T=
16751 case `echo -n x` in #(((((
16753 case `echo 'xy\c'` in
16754 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16756 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16763 rm -f conf$$ conf$$.exe conf$$.file
16764 if test -d conf$$.dir; then
16765 rm -f conf$$.dir/conf$$.file
16768 mkdir conf$$.dir 2>/dev/null
16770 if (echo >conf$$.file) 2>/dev/null; then
16771 if ln -s conf$$.file conf$$ 2>/dev/null; then
16773 # ... but there are two gotchas:
16774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16776 # In both cases, we have to default to `cp -p'.
16777 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16779 elif ln conf$$.file conf$$ 2>/dev/null; then
16787 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16788 rmdir conf$$.dir 2>/dev/null
16793 # Create "$as_dir" as a directory, including parents if necessary.
16798 -*) as_dir=./$as_dir;;
16800 test -d "$as_dir" || eval $as_mkdir_p || {
16804 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
16805 *) as_qdir=$as_dir;;
16807 as_dirs="'$as_qdir' $as_dirs"
16808 as_dir=`$as_dirname -- "$as_dir" ||
16809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16810 X"$as_dir" : 'X\(//\)[^/]' \| \
16811 X"$as_dir" : 'X\(//\)$' \| \
16812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16813 $as_echo X"$as_dir" |
16814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16818 /^X\(\/\/\)[^/].*/{
16831 test -d "$as_dir" && break
16833 test -z "$as_dirs" || eval "mkdir
$as_dirs"
16834 } || test -d "$as_dir" || as_fn_error "cannot create directory
$as_dir"
16838 if mkdir -p . 2>/dev/null; then
16839 as_mkdir_p='mkdir -p "$as_dir"'
16841 test -d ./-p && rmdir ./-p
16845 if test -x / >/dev/null 2>&1; then
16846 as_test_x='test -x'
16848 if ls -dL / >/dev/null 2>&1; then
16855 if test -d "$1"; then
16861 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16862 ???[sx]*):;;*)false;;esac;fi
16866 as_executable_p=$as_test_x
16868 # Sed expression to map a string onto a valid CPP name.
16869 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16871 # Sed expression to map a string onto a valid variable name.
16872 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16876 ## ----------------------------------- ##
16877 ## Main body of $CONFIG_STATUS script. ##
16878 ## ----------------------------------- ##
16880 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16883 # Save the log message, to keep $0 and so on meaningful, and to
16884 # report actual input values of CONFIG_FILES etc. instead of their
16885 # values after options handling.
16887 This
file was extended by Automated Testing Framework
$as_me 0.7, which was
16888 generated by GNU Autoconf
2.65. Invocation
command line was
16890 CONFIG_FILES
= $CONFIG_FILES
16891 CONFIG_HEADERS
= $CONFIG_HEADERS
16892 CONFIG_LINKS
= $CONFIG_LINKS
16893 CONFIG_COMMANDS
= $CONFIG_COMMANDS
16896 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
16901 case $ac_config_files in *"
16902 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16905 case $ac_config_headers in *"
16906 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16911 # Files that config.status was made for.
16912 config_files="$ac_config_files"
16913 config_headers="$ac_config_headers"
16914 config_commands="$ac_config_commands"
16918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16920 \
`$as_me' instantiates files and other configuration actions
16921 from templates according to the current configuration. Unless the files
16922 and actions are specified as TAGs, all are instantiated by default.
16924 Usage: $0 [OPTION]... [TAG]...
16926 -h, --help print this help, then exit
16927 -V, --version print version number and configuration settings, then exit
16928 --config print configuration, then exit
16929 -q, --quiet, --silent
16930 do not print progress messages
16931 -d, --debug don't remove temporary files
16932 --recheck update $as_me by reconfiguring in the same conditions
16933 --file=FILE[:TEMPLATE]
16934 instantiate the configuration file FILE
16935 --header=FILE[:TEMPLATE]
16936 instantiate the configuration header FILE
16938 Configuration files:
16941 Configuration headers:
16944 Configuration commands:
16947 Report bugs to <atf-devel@NetBSD.org>.
16948 Automated Testing Framework home page: <http://www.NetBSD.org/~jmmv/atf/>."
16951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16952 ac_cs_config="`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16954 Automated Testing Framework config.status 0.7
16955 configured by $0, generated by GNU Autoconf 2.65,
16956 with options \\"\$ac_cs_config\\"
16958 Copyright (C) 2009 Free Software Foundation, Inc.
16959 This config.status script is free software; the Free Software Foundation
16960 gives unlimited permission to copy, distribute and modify it."
16967 test -n "\$AWK" || AWK=awk
16970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16971 # The default lists apply if the user does not specify any file.
16977 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16978 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16989 # Handling of the options.
16990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16992 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16993 $as_echo "$ac_cs_version"; exit ;;
16994 --config | --confi | --conf | --con | --co | --c )
16995 $as_echo "$ac_cs_config"; exit ;;
16996 --debug | --debu | --deb | --de | --d | -d )
16998 --file | --fil | --fi | --f )
17001 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
17003 as_fn_append CONFIG_FILES " '$ac_optarg'"
17004 ac_need_defaults=false;;
17005 --header | --heade | --head | --hea )
17008 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
17010 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17011 ac_need_defaults=false;;
17013 # Conflict between --help and --header
17014 as_fn_error "ambiguous option: \`$1'
17015 Try \`$0 --help' for more information.
";;
17016 --help | --hel | -h )
17017 $as_echo "$ac_cs_usage"; exit ;;
17018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17019 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17022 # This is an error.
17023 -*) as_fn_error "unrecognized option
: \
`$1'
17024 Try \`$0 --help' for more information." ;;
17026 *) as_fn_append ac_config_targets " $1"
17027 ac_need_defaults=false ;;
17033 ac_configure_extra_args=
17035 if $ac_cs_silent; then
17037 ac_configure_extra_args="$ac_configure_extra_args --silent"
17041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17042 if \$ac_cs_recheck; then
17043 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17045 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17046 CONFIG_SHELL='$SHELL'
17047 export CONFIG_SHELL
17052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17056 sed 'h
;s
/.
/-/g
;s
/^...
/## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17057 ## Running $as_me. ##
17063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17071 # The HP-UX ksh and POSIX shell print the target directory to stdout
17072 # if CDPATH is set.
17073 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17075 sed_quote_subst='$sed_quote_subst'
17076 double_quote_subst='$double_quote_subst'
17077 delay_variable_subst='$delay_variable_subst'
17078 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17079 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17080 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17081 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17082 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17083 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17084 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17085 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17086 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17087 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17088 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17089 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17090 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17091 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17092 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17093 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17094 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17095 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17096 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17097 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17098 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17099 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17100 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17101 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17102 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17103 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17104 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17105 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17106 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17107 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17108 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17109 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17110 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17111 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17112 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17113 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17114 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17115 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17116 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17117 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17118 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17119 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17120 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17121 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17122 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"`'
17123 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"`'
17124 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17125 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17126 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17127 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17128 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17129 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17130 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17131 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17132 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17133 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17134 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17135 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17136 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17137 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17138 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17139 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17140 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17141 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17142 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17143 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17144 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17145 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17146 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17147 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17148 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17149 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17150 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17151 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17152 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17153 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17154 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17155 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17156 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17157 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17158 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17159 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17160 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17161 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17162 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17163 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17164 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17165 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17166 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17167 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17168 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17169 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17170 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17171 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17172 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17173 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17174 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17175 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17176 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17177 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17178 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17179 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17180 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17181 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17182 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17183 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17184 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17185 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17186 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17187 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17188 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17189 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17190 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17191 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17192 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17193 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17194 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17195 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17196 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17197 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17198 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17199 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17200 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17201 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17202 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17206 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17207 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17208 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17209 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17210 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17211 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17212 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17213 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17214 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17215 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17216 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17217 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17218 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17219 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17220 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17221 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17222 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17225 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17226 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17227 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17228 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17229 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17230 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17231 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17232 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17233 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17234 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17235 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17236 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17237 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17238 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17239 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17240 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17241 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17242 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17243 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17244 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17245 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17246 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17247 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17248 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17251 LTCFLAGS='$LTCFLAGS'
17252 compiler='$compiler_DEFAULT'
17254 # Quote evaled strings.
17266 deplibs_check_method \
17275 lt_cv_sys_global_symbol_pipe \
17276 lt_cv_sys_global_symbol_to_cdecl \
17277 lt_cv_sys_global_symbol_to_c_name_address \
17278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17281 lt_prog_compiler_no_builtin_flag \
17282 lt_prog_compiler_wl \
17283 lt_prog_compiler_pic \
17284 lt_prog_compiler_static \
17285 lt_cv_prog_compiler_c_o \
17293 export_dynamic_flag_spec \
17294 whole_archive_flag_spec \
17295 compiler_needs_object \
17297 allow_undefined_flag \
17298 no_undefined_flag \
17299 hardcode_libdir_flag_spec \
17300 hardcode_libdir_flag_spec_ld \
17301 hardcode_libdir_separator \
17306 variables_saved_for_relink \
17308 library_names_spec \
17313 compiler_lib_search_dirs \
17318 compiler_lib_search_path \
17321 lt_prog_compiler_no_builtin_flag_CXX \
17322 lt_prog_compiler_wl_CXX \
17323 lt_prog_compiler_pic_CXX \
17324 lt_prog_compiler_static_CXX \
17325 lt_cv_prog_compiler_c_o_CXX \
17326 export_dynamic_flag_spec_CXX \
17327 whole_archive_flag_spec_CXX \
17328 compiler_needs_object_CXX \
17330 allow_undefined_flag_CXX \
17331 no_undefined_flag_CXX \
17332 hardcode_libdir_flag_spec_CXX \
17333 hardcode_libdir_flag_spec_ld_CXX \
17334 hardcode_libdir_separator_CXX \
17335 fix_srcfile_path_CXX \
17336 exclude_expsyms_CXX \
17337 include_expsyms_CXX \
17338 file_list_spec_CXX \
17339 compiler_lib_search_dirs_CXX \
17340 predep_objects_CXX \
17341 postdep_objects_CXX \
17344 compiler_lib_search_path_CXX; do
17345 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17346 *[\\\\\\\`\\"\\\$]*)
17347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17355 # Double-quote double-evaled strings.
17356 for var in reload_cmds \
17357 old_postinstall_cmds \
17358 old_postuninstall_cmds \
17360 extract_expsyms_cmds \
17361 old_archive_from_new_cmds \
17362 old_archive_from_expsyms_cmds \
17364 archive_expsym_cmds \
17366 module_expsym_cmds \
17367 export_symbols_cmds \
17370 postuninstall_cmds \
17372 sys_lib_search_path_spec \
17373 sys_lib_dlsearch_path_spec \
17374 old_archive_cmds_CXX \
17375 old_archive_from_new_cmds_CXX \
17376 old_archive_from_expsyms_cmds_CXX \
17378 archive_expsym_cmds_CXX \
17380 module_expsym_cmds_CXX \
17381 export_symbols_cmds_CXX \
17382 prelink_cmds_CXX; do
17383 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17384 *[\\\\\\\`\\"\\\$]*)
17385 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17388 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17393 # Fix-up fallback echo if it was mangled by the above quoting rules.
17395 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17399 ac_aux_dir='$ac_aux_dir'
17400 xsi_shell='$xsi_shell'
17401 lt_shell_append='$lt_shell_append'
17403 # See if we are running on zsh, and set the options which allow our
17404 # commands through without removal of \ escapes INIT.
17405 if test -n "\${ZSH_VERSION+set}" ; then
17406 setopt NO_GLOB_SUBST
17412 TIMESTAMP='$TIMESTAMP'
17423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17425 # Handling of arguments.
17426 for ac_config_target
in $ac_config_targets
17428 case $ac_config_target in
17429 "bconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS bconfig.h" ;;
17430 "tests/bootstrap/atconfig") CONFIG_COMMANDS
="$CONFIG_COMMANDS tests/bootstrap/atconfig" ;;
17431 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17432 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17433 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17434 "atf-c/defs.h") CONFIG_FILES
="$CONFIG_FILES atf-c/defs.h" ;;
17436 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17441 # If the user did not use the arguments to specify the items to instantiate,
17442 # then the envvar interface is used. Set only those that are not.
17443 # We use the long form for the default assignment because of an extremely
17444 # bizarre bug on SunOS 4.1.3.
17445 if $ac_need_defaults; then
17446 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17447 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17448 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17451 # Have a temporary directory for convenience. Make it in the build tree
17452 # simply because there is no reason against having it here, and in addition,
17453 # creating and moving files from /tmp can sometimes cause problems.
17454 # Hook for its removal unless debugging.
17455 # Note that there is a small window in which the directory will not be cleaned:
17456 # after its creation but before its name has been assigned to `$tmp'.
17460 trap 'exit_status=$?
17461 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17463 trap 'as_fn_exit 1' 1 2 13 15
17465 # Create a (secure) tmp directory for tmp files.
17468 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17469 test -n "$tmp" && test -d "$tmp"
17472 tmp
=.
/conf$$
-$RANDOM
17473 (umask 077 && mkdir
"$tmp")
17474 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17476 # Set up the scripts for CONFIG_FILES section.
17477 # No need to generate them if there are no CONFIG_FILES.
17478 # This happens for instance with `./config.status config.h'.
17479 if test -n "$CONFIG_FILES"; then
17482 ac_cr
=`echo X | tr X '\015'`
17483 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17484 # But we know of no other shell where ac_cr would be empty at this
17485 # point, so we can use a bashism as a fallback.
17486 if test "x$ac_cr" = x
; then
17487 eval ac_cr
=\$
\'\\r
\'
17489 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17490 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17493 ac_cs_awk_cr
=$ac_cr
17496 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17501 echo "cat >conf$$subs.awk <<_ACEOF" &&
17502 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17504 } >conf$$subs.sh ||
17505 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17506 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17508 for ac_last_try in false false false false false :; do
17509 . ./conf$$subs.sh ||
17510 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17512 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17513 if test $ac_delim_n = $ac_delim_num; then
17515 elif $ac_last_try; then
17516 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17518 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17521 rm -f conf$$subs.sh
17523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17524 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17528 s/^/S["/; s
/!.
*/"]=/
17538 s/\(.\{148\}\)..*/\1/
17540 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17545 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17552 s/\(.\{148\}\)..*/\1/
17554 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17558 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17563 ' <conf$$subs.awk | sed '
17568 ' >>$CONFIG_STATUS || ac_write_fail=1
17569 rm -f conf$$subs.awk
17570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17572 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17573 for (key in S) S_is_set[key] = 1
17579 nfields = split(line, field, "@
")
17581 len = length(field[1])
17582 for (i = 2; i < nfields; i++) {
17584 keylen = length(key)
17585 if (S_is_set[key]) {
17587 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17588 len += length(value) + length(field[++i])
17599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17600 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17601 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17604 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17605 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17608 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17609 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17610 # trailing colons and then remove the whole line if VPATH becomes empty
17611 # (actually we leave an empty line to preserve line numbers).
17612 if test "x
$srcdir" = x.; then
17613 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17614 s/:*\$(srcdir):*/:/
17615 s/:*\${srcdir}:*/:/
17617 s/^\([^=]*=[ ]*\):*/\1/
17623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17624 fi # test -n "$CONFIG_FILES"
17626 # Set up the scripts for CONFIG_HEADERS section.
17627 # No need to generate them if there are no CONFIG_HEADERS.
17628 # This happens for instance with `./config.status Makefile'.
17629 if test -n "$CONFIG_HEADERS"; then
17630 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17634 # Transform confdefs.h into an awk script `defines.awk', embedded as
17635 # here-document in config.status, that substitutes the proper values into
17636 # config.h.in to produce config.h.
17638 # Create a delimiter string that does not exist in confdefs.h, to ease
17639 # handling of long lines.
17641 for ac_last_try in false false :; do
17642 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17643 if test -z "$ac_t"; then
17645 elif $ac_last_try; then
17646 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
17648 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17652 # For the awk script, D is an array of macro values keyed by name,
17653 # likewise P contains macro parameters if any. Preserve backslash
17654 # newline sequences.
17656 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17658 s/.\{148\}/&'"$ac_delim"'/g
17661 s/^[ ]*#[ ]*define[ ][ ]*/ /
17668 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17670 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17674 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17675 D["\
1"]=" \
3\\\\\\n
"\\/p
17677 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17682 s/.\{148\}/&'"$ac_delim"'/g
17687 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17690 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17692 ' <confdefs.h | sed '
17693 s/'"$ac_delim"'/"\\\
17694 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17696 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17697 for (key in D) D_is_set[key] = 1
17700 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17702 split(line, arg, " ")
17703 if (arg[1] == "#") {
17707 defundef
= substr
(arg
[1], 2)
17710 split(mac1
, mac2
, "(") #)
17712 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17713 if (D_is_set
[macro
]) {
17714 # Preserve the white space surrounding the "#".
17715 print prefix
"define", macro P
[macro
] D
[macro
]
17718 # Replace #undef with comments. This is necessary, for example,
17719 # in the case of _POSIX_SOURCE, which is predefined and required
17720 # on some systems where configure will not decide to define it.
17721 if (defundef
== "undef") {
17722 print
"/*", prefix defundef
, macro
, "*/"
17730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17731 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
17732 fi # test -n "$CONFIG_HEADERS"
17735 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17740 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17742 case $ac_mode$ac_tag in
17744 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17745 :[FH
]-) ac_tag
=-:-;;
17746 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17763 -) ac_f
="$tmp/stdin";;
17764 *) # Look for the file first in the build tree, then in the source tree
17765 # (if the path is not absolute). The absolute path cannot be DOS-style,
17766 # because $ac_f cannot contain `:'.
17770 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17772 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
17774 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17775 as_fn_append ac_file_inputs
" '$ac_f'"
17778 # Let's still pretend it is `configure' which instantiates (i.e., don't
17779 # use $as_me), people would be surprised to read:
17780 # /* config.h. Generated by config.status. */
17781 configure_input
='Generated from '`
17782 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17784 if test x
"$ac_file" != x-
; then
17785 configure_input
="$ac_file. $configure_input"
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17787 $as_echo "$as_me: creating $ac_file" >&6;}
17789 # Neutralize special characters interpreted by sed in replacement strings.
17790 case $configure_input in #(
17791 *\
&* |
*\|
* |
*\\* )
17792 ac_sed_conf_input
=`$as_echo "$configure_input" |
17793 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17794 *) ac_sed_conf_input
=$configure_input;;
17798 *:-:* |
*:-) cat >"$tmp/stdin" \
17799 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
17804 ac_dir
=`$as_dirname -- "$ac_file" ||
17805 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17806 X"$ac_file" : 'X\(//\)[^/]' \| \
17807 X"$ac_file" : 'X\(//\)$' \| \
17808 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17809 $as_echo X"$ac_file" |
17810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17814 /^X\(\/\/\)[^/].*/{
17827 as_dir
="$ac_dir"; as_fn_mkdir_p
17831 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17833 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17834 # A ".." for each directory in $ac_dir_suffix.
17835 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17836 case $ac_top_builddir_sub in
17837 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17838 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17841 ac_abs_top_builddir
=$ac_pwd
17842 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17843 # for backward compatibility:
17844 ac_top_builddir
=$ac_top_build_prefix
17847 .
) # We are building in place.
17849 ac_top_srcdir
=$ac_top_builddir_sub
17850 ac_abs_top_srcdir
=$ac_pwd ;;
17851 [\\/]* | ?
:[\\/]* ) # Absolute name.
17852 ac_srcdir
=$srcdir$ac_dir_suffix;
17853 ac_top_srcdir
=$srcdir
17854 ac_abs_top_srcdir
=$srcdir ;;
17855 *) # Relative name.
17856 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17857 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17858 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17860 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17870 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17871 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17873 ac_MKDIR_P
=$MKDIR_P
17875 [\\/$
]* | ?
:[\\/]* ) ;;
17876 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17881 # If the template does not know about datarootdir, expand it.
17882 # FIXME: This hack should be removed a few years after 2.60.
17883 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17894 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17895 *datarootdir
*) ac_datarootdir_seen
=yes;;
17896 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17898 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17901 ac_datarootdir_hack='
17902 s&@datadir@&$datadir&g
17903 s&@docdir@&$docdir&g
17904 s&@infodir@&$infodir&g
17905 s&@localedir@&$localedir&g
17906 s&@mandir@&$mandir&g
17907 s&\\\${datarootdir}&$datarootdir&g' ;;
17911 # Neutralize VPATH when `$srcdir' = `.'.
17912 # Shell code in configure.ac might set extrasub.
17913 # FIXME: do we really want to maintain this feature?
17914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17915 ac_sed_extra="$ac_vpsub
17918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17920 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17921 s|@configure_input@|
$ac_sed_conf_input|
;t t
17922 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17923 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17924 s
&@srcdir@
&$ac_srcdir&;t t
17925 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17926 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17927 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17928 s
&@builddir@
&$ac_builddir&;t t
17929 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17930 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17931 s
&@INSTALL@
&$ac_INSTALL&;t t
17932 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17933 $ac_datarootdir_hack
17935 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17936 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17938 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17939 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17940 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17942 which seems to be undefined. Please make sure it is defined." >&5
17943 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17944 which seems to be undefined. Please make sure it is defined." >&2;}
17948 -) cat "$tmp/out" && rm -f "$tmp/out";;
17949 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17951 || as_fn_error "could not create $ac_file" "$LINENO" 5
17957 if test x"$ac_file" != x-; then
17959 $as_echo "/* $configure_input */" \
17960 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17961 } >"$tmp/config.h" \
17962 || as_fn_error "could not create $ac_file" "$LINENO" 5
17963 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17965 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17968 mv "$tmp/config.h" "$ac_file" \
17969 || as_fn_error "could not create $ac_file" "$LINENO" 5
17972 $as_echo "/* $configure_input */" \
17973 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17974 || as_fn_error "could not create -" "$LINENO" 5
17976 # Compute "$ac_file"'s index
in $config_headers.
17979 for _am_header
in $config_headers :; do
17980 case $_am_header in
17981 $_am_arg |
$_am_arg:* )
17984 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17987 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17988 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17989 X"$_am_arg" : 'X\(//\)[^/]' \| \
17990 X"$_am_arg" : 'X\(//\)$' \| \
17991 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17992 $as_echo X"$_am_arg" |
17993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17997 /^X\(\/\/\)[^/].*/{
18009 s/.*/./; q'`/stamp-h
$_am_stamp_count
18012 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18013 $as_echo "$as_me: executing $ac_file commands" >&6;}
18018 case $ac_file$ac_mode in
18019 "tests/bootstrap/atconfig":C
) cat >tests
/bootstrap
/atconfig
<<ATEOF
18020 # Configurable variable values for building test suites.
18022 # Copyright (C) 2009 Free Software Foundation, Inc.
18024 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
18025 at_testdir='tests/bootstrap'
18026 abs_builddir='$ac_abs_builddir'
18027 at_srcdir='$ac_srcdir'
18028 abs_srcdir='$ac_abs_srcdir'
18029 at_top_srcdir='$ac_top_srcdir'
18030 abs_top_srcdir='$ac_abs_top_srcdir'
18031 at_top_build_prefix='$ac_top_build_prefix'
18032 abs_top_builddir='$ac_abs_top_builddir'
18034 # Backward compatibility with Autotest <= 2.59b:
18035 at_top_builddir=\$at_top_build_prefix
18037 AUTOTEST_PATH='tests/bootstrap'
18039 SHELL=\${CONFIG_SHELL-'$SHELL'}
18042 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18043 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18044 # are listed without --file. Let's play safe and only enable the eval
18045 # if we detect the quoting.
18046 case $CONFIG_FILES in
18047 *\'*) eval set x
"$CONFIG_FILES" ;;
18048 *) set x
$CONFIG_FILES ;;
18053 # Strip MF so we end up with the name of the file.
18054 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18055 # Check whether this is an Automake generated Makefile or not.
18056 # We used to match only the files named `Makefile.in', but
18057 # some people rename them; so instead we look at the file content.
18058 # Grep'ing the first line is not enough: some people post-process
18059 # each Makefile.in and add a new line on top of each file to say so.
18060 # Grep'ing the whole file is not good either: AIX grep has a line
18061 # limit of 2048, but all sed's we know have understand at least 4000.
18062 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18063 dirpart
=`$as_dirname -- "$mf" ||
18064 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18065 X"$mf" : 'X\(//\)[^/]' \| \
18066 X"$mf" : 'X\(//\)$' \| \
18067 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18073 /^X\(\/\/\)[^/].*/{
18089 # Extract the definition of DEPDIR, am__include, and am__quote
18090 # from the Makefile without running `make'.
18091 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18092 test -z "$DEPDIR" && continue
18093 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18094 test -z "am__include" && continue
18095 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18096 # When using ansi2knr, U may be empty or an underscore; expand it
18097 U
=`sed -n 's/^U = //p' < "$mf"`
18098 # Find all dependency output files, they are included files with
18099 # $(DEPDIR) in their names. We invoke sed twice because it is the
18100 # simplest approach to changing $(DEPDIR) to its actual value in the
18102 for file in `sed -n "
18103 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18104 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18105 # Make sure the directory exists.
18106 test -f "$dirpart/$file" && continue
18107 fdir
=`$as_dirname -- "$file" ||
18108 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18109 X"$file" : 'X\(//\)[^/]' \| \
18110 X"$file" : 'X\(//\)$' \| \
18111 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18112 $as_echo X"$file" |
18113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18117 /^X\(\/\/\)[^/].*/{
18130 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18131 # echo "creating $dirpart/$file"
18132 echo '# dummy' > "$dirpart/$file"
18139 # See if we are running on zsh, and set the options which allow our
18140 # commands through without removal of \ escapes.
18141 if test -n "${ZSH_VERSION+set}" ; then
18142 setopt NO_GLOB_SUBST
18145 cfgfile
="${ofile}T"
18146 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18149 cat <<_LT_EOF >> "$cfgfile"
18152 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18153 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18154 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18155 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18157 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18158 # 2006, 2007, 2008 Free Software Foundation, Inc.
18159 # Written by Gordon Matzigkeit, 1996
18161 # This file is part of GNU Libtool.
18163 # GNU Libtool is free software; you can redistribute it and/or
18164 # modify it under the terms of the GNU General Public License as
18165 # published by the Free Software Foundation; either version 2 of
18166 # the License, or (at your option) any later version.
18168 # As a special exception to the GNU General Public License,
18169 # if you distribute this file as part of a program or library that
18170 # is built using GNU Libtool, you may include this file under the
18171 # same distribution terms that you use for the rest of that program.
18173 # GNU Libtool is distributed in the hope that it will be useful,
18174 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18175 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18176 # GNU General Public License for more details.
18178 # You should have received a copy of the GNU General Public License
18179 # along with GNU Libtool; see the file COPYING. If not, a copy
18180 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18181 # obtained by writing to the Free Software Foundation, Inc.,
18182 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18185 # The names of the tagged configurations supported by this script.
18186 available_tags="CXX "
18188 # ### BEGIN LIBTOOL CONFIG
18190 # Which release of libtool.m4 was used?
18191 macro_version=$macro_version
18192 macro_revision=$macro_revision
18194 # Whether or not to build shared libraries.
18195 build_libtool_libs=$enable_shared
18197 # Whether or not to build static libraries.
18198 build_old_libs=$enable_static
18200 # What type of objects to build.
18203 # Whether or not to optimize for fast installation.
18204 fast_install=$enable_fast_install
18207 host_alias=$host_alias
18211 # The build system.
18212 build_alias=$build_alias
18216 # A sed program that does not truncate output.
18219 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18220 Xsed="\$SED -e 1s/^X//"
18222 # A grep program that handles long lines.
18228 # A literal string matcher.
18231 # A BSD- or MS-compatible name lister.
18234 # Whether we need soft or hard links.
18237 # What is the maximum length of a command?
18238 max_cmd_len=$max_cmd_len
18240 # Object file suffix (normally "o").
18243 # Executable file suffix (normally "").
18246 # whether the shell understands "unset".
18249 # turn spaces into newlines.
18252 # turn newlines into spaces.
18255 # How to create reloadable object files.
18256 reload_flag=$lt_reload_flag
18257 reload_cmds=$lt_reload_cmds
18259 # An object symbol dumper.
18260 OBJDUMP=$lt_OBJDUMP
18262 # Method to check whether dependent libraries are shared objects.
18263 deplibs_check_method=$lt_deplibs_check_method
18265 # Command to use when deplibs_check_method == "file_magic".
18266 file_magic_cmd=$lt_file_magic_cmd
18270 AR_FLAGS=$lt_AR_FLAGS
18272 # A symbol stripping program.
18275 # Commands used to install an old-style archive.
18277 old_postinstall_cmds=$lt_old_postinstall_cmds
18278 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18283 # LTCC compiler flags.
18284 LTCFLAGS=$lt_CFLAGS
18286 # Take the output of nm and produce a listing of raw symbols and C names.
18287 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18289 # Transform the output of nm in a proper C declaration.
18290 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18292 # Transform the output of nm in a C name address pair.
18293 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18295 # Transform the output of nm in a C name address pair when lib prefix is needed.
18296 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18298 # The name of the directory that contains temporary libtool files.
18301 # Shell to use when invoking shell scripts.
18304 # An echo program that does not interpret backslashes.
18307 # Used to examine libraries when file_magic_cmd begins with "file".
18308 MAGIC_CMD=$MAGIC_CMD
18310 # Must we lock files when doing compilation?
18311 need_locks=$lt_need_locks
18313 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18314 DSYMUTIL=$lt_DSYMUTIL
18316 # Tool to change global to local symbols on Mac OS X.
18319 # Tool to manipulate fat objects and archives on Mac OS X.
18322 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18325 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18326 OTOOL64=$lt_OTOOL64
18328 # Old archive suffix (normally "a").
18331 # Shared library suffix (normally ".so").
18332 shrext_cmds=$lt_shrext_cmds
18334 # The commands to extract the exported symbol list from a shared archive.
18335 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18337 # Variables whose values should be saved in libtool wrapper scripts and
18338 # restored at link time.
18339 variables_saved_for_relink=$lt_variables_saved_for_relink
18341 # Do we need the "lib" prefix for modules?
18342 need_lib_prefix=$need_lib_prefix
18344 # Do we need a version for libraries?
18345 need_version=$need_version
18347 # Library versioning type.
18348 version_type=$version_type
18350 # Shared library runtime path variable.
18351 runpath_var=$runpath_var
18353 # Shared library path variable.
18354 shlibpath_var=$shlibpath_var
18356 # Is shlibpath searched before the hard-coded library search path?
18357 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18359 # Format of library name prefix.
18360 libname_spec=$lt_libname_spec
18362 # List of archive names. First name is the real one, the rest are links.
18363 # The last name is the one that the linker finds with -lNAME
18364 library_names_spec=$lt_library_names_spec
18366 # The coded name of the library, if different from the real name.
18367 soname_spec=$lt_soname_spec
18369 # Command to use after installation of a shared archive.
18370 postinstall_cmds=$lt_postinstall_cmds
18372 # Command to use after uninstallation of a shared archive.
18373 postuninstall_cmds=$lt_postuninstall_cmds
18375 # Commands used to finish a libtool library installation in a directory.
18376 finish_cmds=$lt_finish_cmds
18378 # As "finish_cmds", except a single script fragment to be evaled but
18380 finish_eval=$lt_finish_eval
18382 # Whether we should hardcode library paths into libraries.
18383 hardcode_into_libs=$hardcode_into_libs
18385 # Compile-time system search path for libraries.
18386 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18388 # Run-time system search path for libraries.
18389 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18391 # Whether dlopen is supported.
18392 dlopen_support=$enable_dlopen
18394 # Whether dlopen of programs is supported.
18395 dlopen_self=$enable_dlopen_self
18397 # Whether dlopen of statically linked programs is supported.
18398 dlopen_self_static=$enable_dlopen_self_static
18400 # Commands to strip libraries.
18401 old_striplib=$lt_old_striplib
18402 striplib=$lt_striplib
18405 # The linker used to build libraries.
18408 # Commands used to build an old-style archive.
18409 old_archive_cmds=$lt_old_archive_cmds
18411 # A language specific compiler.
18414 # Is the compiler the GNU compiler?
18417 # Compiler flag to turn off builtin functions.
18418 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18420 # How to pass a linker flag through the compiler.
18421 wl=$lt_lt_prog_compiler_wl
18423 # Additional compiler flags for building library objects.
18424 pic_flag=$lt_lt_prog_compiler_pic
18426 # Compiler flag to prevent dynamic linking.
18427 link_static_flag=$lt_lt_prog_compiler_static
18429 # Does compiler simultaneously support -c and -o options?
18430 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18432 # Whether or not to add -lc for building shared libraries.
18433 build_libtool_need_lc=$archive_cmds_need_lc
18435 # Whether or not to disallow shared libs when runtime libs are static.
18436 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18438 # Compiler flag to allow reflexive dlopens.
18439 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18441 # Compiler flag to generate shared objects directly from archives.
18442 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18444 # Whether the compiler copes with passing no objects directly.
18445 compiler_needs_object=$lt_compiler_needs_object
18447 # Create an old-style archive from a shared archive.
18448 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18450 # Create a temporary old-style archive to link instead of a shared archive.
18451 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18453 # Commands used to build a shared archive.
18454 archive_cmds=$lt_archive_cmds
18455 archive_expsym_cmds=$lt_archive_expsym_cmds
18457 # Commands used to build a loadable module if different from building
18458 # a shared archive.
18459 module_cmds=$lt_module_cmds
18460 module_expsym_cmds=$lt_module_expsym_cmds
18462 # Whether we are building with GNU ld or not.
18463 with_gnu_ld=$lt_with_gnu_ld
18465 # Flag that allows shared libraries with undefined symbols to be built.
18466 allow_undefined_flag=$lt_allow_undefined_flag
18468 # Flag that enforces no undefined symbols.
18469 no_undefined_flag=$lt_no_undefined_flag
18471 # Flag to hardcode \$libdir into a binary during linking.
18472 # This must work even if \$libdir does not exist
18473 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18475 # If ld is used when linking, flag to hardcode \$libdir into a binary
18476 # during linking. This must work even if \$libdir does not exist.
18477 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18479 # Whether we need a single "-rpath" flag with a separated argument.
18480 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18482 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18483 # DIR into the resulting binary.
18484 hardcode_direct=$hardcode_direct
18486 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18487 # DIR into the resulting binary and the resulting library dependency is
18488 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18489 # library is relocated.
18490 hardcode_direct_absolute=$hardcode_direct_absolute
18492 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18493 # into the resulting binary.
18494 hardcode_minus_L=$hardcode_minus_L
18496 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18497 # into the resulting binary.
18498 hardcode_shlibpath_var=$hardcode_shlibpath_var
18500 # Set to "yes" if building a shared library automatically hardcodes DIR
18501 # into the library and all subsequent libraries and executables linked
18503 hardcode_automatic=$hardcode_automatic
18505 # Set to yes if linker adds runtime paths of dependent libraries
18506 # to runtime path list.
18507 inherit_rpath=$inherit_rpath
18509 # Whether libtool must link a program against all its dependency libraries.
18510 link_all_deplibs=$link_all_deplibs
18512 # Fix the shell variable \$srcfile for the compiler.
18513 fix_srcfile_path=$lt_fix_srcfile_path
18515 # Set to "yes" if exported symbols are required.
18516 always_export_symbols=$always_export_symbols
18518 # The commands to list exported symbols.
18519 export_symbols_cmds=$lt_export_symbols_cmds
18521 # Symbols that should not be listed in the preloaded symbols.
18522 exclude_expsyms=$lt_exclude_expsyms
18524 # Symbols that must always be exported.
18525 include_expsyms=$lt_include_expsyms
18527 # Commands necessary for linking programs (against libraries) with templates.
18528 prelink_cmds=$lt_prelink_cmds
18530 # Specify filename containing input files.
18531 file_list_spec=$lt_file_list_spec
18533 # How to hardcode a shared library path into an executable.
18534 hardcode_action=$hardcode_action
18536 # The directories searched by this compiler when creating a shared library.
18537 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18539 # Dependencies to place before and after the objects being linked to
18540 # create a shared library.
18541 predep_objects=$lt_predep_objects
18542 postdep_objects=$lt_postdep_objects
18543 predeps=$lt_predeps
18544 postdeps=$lt_postdeps
18546 # The library search path used internally by the compiler when linking
18547 # a shared library.
18548 compiler_lib_search_path=$lt_compiler_lib_search_path
18550 # ### END LIBTOOL CONFIG
18556 cat <<\_LT_EOF
>> "$cfgfile"
18557 # AIX sometimes has problems with the GCC collect2 program. For some
18558 # reason, if we set the COLLECT_NAMES environment variable, the problems
18559 # vanish in a puff of smoke.
18560 if test "X${COLLECT_NAMES+set}" != Xset
; then
18562 export COLLECT_NAMES
18569 ltmain
="$ac_aux_dir/ltmain.sh"
18572 # We use sed instead of cat because bash on DJGPP gets confused if
18573 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18574 # text mode, it properly converts lines to CR/LF. This bash problem
18575 # is reportedly fixed, but why not run on old versions too?
18576 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18577 ||
(rm -f "$cfgfile"; exit 1)
18581 cat << \_LT_EOF
>> "$cfgfile"
18583 # func_dirname file append nondir_replacement
18584 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18585 # otherwise set result to NONDIR_REPLACEMENT.
18589 */*) func_dirname_result
="${1%/*}${2}" ;;
18590 * ) func_dirname_result
="${3}" ;;
18594 # func_basename file
18597 func_basename_result
="${1##*/}"
18600 # func_dirname_and_basename file append nondir_replacement
18601 # perform func_basename and func_dirname in a single function
18603 # dirname: Compute the dirname of FILE. If nonempty,
18604 # add APPEND to the result, otherwise set result
18605 # to NONDIR_REPLACEMENT.
18606 # value returned in "$func_dirname_result"
18607 # basename: Compute filename of FILE.
18608 # value retuned in "$func_basename_result"
18609 # Implementation must be kept synchronized with func_dirname
18610 # and func_basename. For efficiency, we do not delegate to
18611 # those functions but instead duplicate the functionality here.
18612 func_dirname_and_basename
()
18615 */*) func_dirname_result
="${1%/*}${2}" ;;
18616 * ) func_dirname_result
="${3}" ;;
18618 func_basename_result
="${1##*/}"
18621 # func_stripname prefix suffix name
18622 # strip PREFIX and SUFFIX off of NAME.
18623 # PREFIX and SUFFIX must not contain globbing or regex special
18624 # characters, hashes, percent signs, but SUFFIX may contain a leading
18625 # dot (in which case that matches only a dot).
18628 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18629 # positional parameters, so assign one to ordinary parameter first.
18630 func_stripname_result
=${3}
18631 func_stripname_result
=${func_stripname_result#"${1}"}
18632 func_stripname_result
=${func_stripname_result%"${2}"}
18638 func_opt_split_opt
=${1%%=*}
18639 func_opt_split_arg
=${1#*=}
18646 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18647 *) func_lo2o_result
=${1} ;;
18651 # func_xform libobj-or-source
18654 func_xform_result
=${1%.*}.lo
18657 # func_arith arithmetic-term...
18660 func_arith_result
=$
(( $
* ))
18664 # STRING may not start with a hyphen.
18667 func_len_result
=${#1}
18672 *) # Bourne compatible functions.
18673 cat << \_LT_EOF
>> "$cfgfile"
18675 # func_dirname file append nondir_replacement
18676 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18677 # otherwise set result to NONDIR_REPLACEMENT.
18680 # Extract subdirectory from the argument.
18681 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18682 if test "X$func_dirname_result" = "X${1}"; then
18683 func_dirname_result
="${3}"
18685 func_dirname_result
="$func_dirname_result${2}"
18689 # func_basename file
18692 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18696 # func_stripname prefix suffix name
18697 # strip PREFIX and SUFFIX off of NAME.
18698 # PREFIX and SUFFIX must not contain globbing or regex special
18699 # characters, hashes, percent signs, but SUFFIX may contain a leading
18700 # dot (in which case that matches only a dot).
18701 # func_strip_suffix prefix name
18705 .
*) func_stripname_result
=`$ECHO "X${3}" \
18706 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18707 *) func_stripname_result
=`$ECHO "X${3}" \
18708 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18713 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18714 my_sed_long_arg
='1s/^-[^=]*=//'
18719 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18720 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18726 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18729 # func_xform libobj-or-source
18732 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18735 # func_arith arithmetic-term...
18738 func_arith_result
=`expr "$@"`
18742 # STRING may not start with a hyphen.
18745 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18751 case $lt_shell_append in
18753 cat << \_LT_EOF
>> "$cfgfile"
18755 # func_append var value
18756 # Append VALUE to the end of shell variable VAR.
18764 cat << \_LT_EOF
>> "$cfgfile"
18766 # func_append var value
18767 # Append VALUE to the end of shell variable VAR.
18778 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18779 ||
(rm -f "$cfgfile"; exit 1)
18781 mv -f "$cfgfile" "$ofile" ||
18782 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18786 cat <<_LT_EOF >> "$ofile"
18788 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18790 # The linker used to build libraries.
18793 # Commands used to build an old-style archive.
18794 old_archive_cmds=$lt_old_archive_cmds_CXX
18796 # A language specific compiler.
18797 CC=$lt_compiler_CXX
18799 # Is the compiler the GNU compiler?
18802 # Compiler flag to turn off builtin functions.
18803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18805 # How to pass a linker flag through the compiler.
18806 wl=$lt_lt_prog_compiler_wl_CXX
18808 # Additional compiler flags for building library objects.
18809 pic_flag=$lt_lt_prog_compiler_pic_CXX
18811 # Compiler flag to prevent dynamic linking.
18812 link_static_flag=$lt_lt_prog_compiler_static_CXX
18814 # Does compiler simultaneously support -c and -o options?
18815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18817 # Whether or not to add -lc for building shared libraries.
18818 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18820 # Whether or not to disallow shared libs when runtime libs are static.
18821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18823 # Compiler flag to allow reflexive dlopens.
18824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18826 # Compiler flag to generate shared objects directly from archives.
18827 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18829 # Whether the compiler copes with passing no objects directly.
18830 compiler_needs_object=$lt_compiler_needs_object_CXX
18832 # Create an old-style archive from a shared archive.
18833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18835 # Create a temporary old-style archive to link instead of a shared archive.
18836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18838 # Commands used to build a shared archive.
18839 archive_cmds=$lt_archive_cmds_CXX
18840 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18842 # Commands used to build a loadable module if different from building
18843 # a shared archive.
18844 module_cmds=$lt_module_cmds_CXX
18845 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18847 # Whether we are building with GNU ld or not.
18848 with_gnu_ld=$lt_with_gnu_ld_CXX
18850 # Flag that allows shared libraries with undefined symbols to be built.
18851 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18853 # Flag that enforces no undefined symbols.
18854 no_undefined_flag=$lt_no_undefined_flag_CXX
18856 # Flag to hardcode \$libdir into a binary during linking.
18857 # This must work even if \$libdir does not exist
18858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18860 # If ld is used when linking, flag to hardcode \$libdir into a binary
18861 # during linking. This must work even if \$libdir does not exist.
18862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18864 # Whether we need a single "-rpath" flag with a separated argument.
18865 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18868 # DIR into the resulting binary.
18869 hardcode_direct=$hardcode_direct_CXX
18871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18872 # DIR into the resulting binary and the resulting library dependency is
18873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18874 # library is relocated.
18875 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18878 # into the resulting binary.
18879 hardcode_minus_L=$hardcode_minus_L_CXX
18881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18882 # into the resulting binary.
18883 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18885 # Set to "yes" if building a shared library automatically hardcodes DIR
18886 # into the library and all subsequent libraries and executables linked
18888 hardcode_automatic=$hardcode_automatic_CXX
18890 # Set to yes if linker adds runtime paths of dependent libraries
18891 # to runtime path list.
18892 inherit_rpath=$inherit_rpath_CXX
18894 # Whether libtool must link a program against all its dependency libraries.
18895 link_all_deplibs=$link_all_deplibs_CXX
18897 # Fix the shell variable \$srcfile for the compiler.
18898 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18900 # Set to "yes" if exported symbols are required.
18901 always_export_symbols=$always_export_symbols_CXX
18903 # The commands to list exported symbols.
18904 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18906 # Symbols that should not be listed in the preloaded symbols.
18907 exclude_expsyms=$lt_exclude_expsyms_CXX
18909 # Symbols that must always be exported.
18910 include_expsyms=$lt_include_expsyms_CXX
18912 # Commands necessary for linking programs (against libraries) with templates.
18913 prelink_cmds=$lt_prelink_cmds_CXX
18915 # Specify filename containing input files.
18916 file_list_spec=$lt_file_list_spec_CXX
18918 # How to hardcode a shared library path into an executable.
18919 hardcode_action=$hardcode_action_CXX
18921 # The directories searched by this compiler when creating a shared library.
18922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18924 # Dependencies to place before and after the objects being linked to
18925 # create a shared library.
18926 predep_objects=$lt_predep_objects_CXX
18927 postdep_objects=$lt_postdep_objects_CXX
18928 predeps=$lt_predeps_CXX
18929 postdeps=$lt_postdeps_CXX
18931 # The library search path used internally by the compiler when linking
18932 # a shared library.
18933 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18935 # ### END LIBTOOL TAG CONFIG: CXX
18946 ac_clean_files
=$ac_clean_files_save
18948 test $ac_write_fail = 0 ||
18949 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18952 # configure is writing to config.log, and then calls config.status.
18953 # config.status does its own redirection, appending to config.log.
18954 # Unfortunately, on DOS this fails, as config.log is still kept open
18955 # by configure, so config.status won't be able to write to it; its
18956 # output is simply discarded. So we exec the FD to /dev/null,
18957 # effectively closing config.log, so it can be properly (re)opened and
18958 # appended to by config.status. When coming back to configure, we
18959 # need to make the FD available again.
18960 if test "$no_create" != yes; then
18962 ac_config_status_args
=
18963 test "$silent" = yes &&
18964 ac_config_status_args
="$ac_config_status_args --quiet"
18966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18969 # would make configure fail if this is the last instruction.
18970 $ac_cs_success || as_fn_exit $?
18972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18978 if test ${enable_shared} = yes; then
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Shared libraries with unstable ABIs/APIs have been enabled." >&5
18980 $as_echo "$as_me: WARNING: Shared libraries with unstable ABIs/APIs have been enabled." >&2;}
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please do not install them as part of a binary package." >&5
18982 $as_echo "$as_me: WARNING: Please do not install them as part of a binary package." >&2;}