2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for expat 2.1.0.
5 # Report bugs to <expat-bugs@libexpat.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: expat-bugs@libexpat.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir -p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 # Check that we are running under the correct shell.
562 SHELL
=${CONFIG_SHELL-/bin/sh}
566 # Remove one level of quotation (which was required for Make).
567 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
572 if test "X$1" = X
--no-reexec; then
573 # Discard the --no-reexec flag, and continue.
575 elif test "X$1" = X
--fallback-echo; then
576 # Avoid inline document here, it may be left over
578 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
579 # Yippee, $ECHO works!
582 # Restart under the correct shell.
583 exec $SHELL "$0" --no-reexec ${1+"$@"}
586 if test "X$1" = X
--fallback-echo; then
587 # used as fallback echo
595 # The HP-UX ksh and POSIX shell print the target directory to stdout
597 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
599 if test -z "$lt_ECHO"; then
600 if test "X${echo_test_string+set}" != Xset
; then
601 # find a string as large as possible, as long as the shell can cope with it
602 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
603 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
604 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
605 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
612 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
613 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
614 test "X$echo_testing_string" = "X$echo_test_string"; then
617 # The Solaris, AIX, and Digital Unix default echo programs unquote
618 # backslashes. This makes it impossible to quote backslashes using
619 # echo "$something" | sed 's/\\/\\\\/g'
621 # So, first we look for a working echo in the user's PATH.
623 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
624 for dir
in $PATH /usr
/ucb
; do
626 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
627 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
628 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
636 if test "X$ECHO" = Xecho
; then
637 # We didn't find a better echo, so look for alternatives.
638 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
639 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 # This shell has a builtin print -r that does the trick.
643 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
644 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
645 # If we have ksh, try running configure again with it.
646 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
647 export ORIGINAL_CONFIG_SHELL
648 CONFIG_SHELL
=/bin
/ksh
650 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
654 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
659 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
660 test "X$echo_testing_string" = 'X\t' &&
661 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
662 test "X$echo_testing_string" = "X$echo_test_string"; then
663 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
665 SHELL
="$CONFIG_SHELL"
667 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
668 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
669 test "X$echo_testing_string" = 'X\t' &&
670 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
671 test "X$echo_testing_string" = "X$echo_test_string"; then
672 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
674 # maybe with a smaller string...
677 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
678 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
685 if test "$prev" != 'sed 50q "$0"'; then
686 echo_test_string
=`eval $prev`
687 export echo_test_string
688 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
690 # Oops. We lost completely, so just stick with echo.
699 # Copy echo and quote the copy suitably for passing to libtool from
700 # the Makefile, instead of quoting the original, which is used later.
702 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
703 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
709 test -n "$DJDIR" || exec 7<&0 </dev
/null
713 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
714 # so uname gets run too.
715 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
720 ac_default_prefix
=/usr
/local
722 ac_config_libobj_dir
=.
729 # Identity of this package.
731 PACKAGE_TARNAME
='expat'
732 PACKAGE_VERSION
='2.1.0'
733 PACKAGE_STRING
='expat 2.1.0'
734 PACKAGE_BUGREPORT
='expat-bugs@libexpat.org'
737 ac_unique_file
="Makefile.in"
738 # Factoring default headers for most tests.
739 ac_includes_default
="\
741 #ifdef HAVE_SYS_TYPES_H
742 # include <sys/types.h>
744 #ifdef HAVE_SYS_STAT_H
745 # include <sys/stat.h>
751 # ifdef HAVE_STDLIB_H
756 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
761 #ifdef HAVE_STRINGS_H
762 # include <strings.h>
764 #ifdef HAVE_INTTYPES_H
765 # include <inttypes.h>
775 ac_subst_vars
='LTLIBOBJS
853 program_transform_name
866 enable_option_checking
874 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir | --bindir | --bindi | --bind | --bin | --bi)
962 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 -build | --build | --buil | --bui | --bu)
966 ac_prev
=build_alias
;;
967 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file | --cache-file | --cache-fil | --cache-fi \
971 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
972 ac_prev
=cache_file
;;
973 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
974 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir | --datadir | --datadi | --datad)
982 -datadir=* | --datadir=* | --datadi=* | --datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
986 | --dataroo | --dataro | --datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
989 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* | --disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 as_fn_error $?
"invalid feature name: $ac_useropt"
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir | --docdir | --docdi | --doc | --do)
1010 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1015 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* | --enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 as_fn_error $?
"invalid feature name: $ac_useropt"
1023 ac_useropt_orig
=$ac_useropt
1024 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_
$ac_useropt"
1029 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 ac_unrecognized_sep
=', ';;
1032 eval enable_
$ac_useropt=\
$ac_optarg ;;
1034 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1035 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1036 | --exec | --exe | --ex)
1037 ac_prev
=exec_prefix
;;
1038 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1039 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1040 | --exec=* | --exe=* | --ex=*)
1041 exec_prefix
=$ac_optarg ;;
1043 -gas | --gas | --ga | --g)
1044 # Obsolete; use --with-gas.
1047 -help | --help | --hel | --he | -h)
1048 ac_init_help
=long
;;
1049 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1050 ac_init_help
=recursive
;;
1051 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1052 ac_init_help
=short
;;
1054 -host | --host | --hos | --ho)
1055 ac_prev
=host_alias
;;
1056 -host=* | --host=* | --hos=* | --ho=*)
1057 host_alias
=$ac_optarg ;;
1059 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1061 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1063 htmldir
=$ac_optarg ;;
1065 -includedir | --includedir | --includedi | --included | --include \
1066 | --includ | --inclu | --incl | --inc)
1067 ac_prev
=includedir
;;
1068 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1069 | --includ=* | --inclu=* | --incl=* | --inc=*)
1070 includedir
=$ac_optarg ;;
1072 -infodir | --infodir | --infodi | --infod | --info | --inf)
1074 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1075 infodir
=$ac_optarg ;;
1077 -libdir | --libdir | --libdi | --libd)
1079 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1080 libdir
=$ac_optarg ;;
1082 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1083 | --libexe | --libex | --libe)
1084 ac_prev
=libexecdir
;;
1085 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1086 | --libexe=* | --libex=* | --libe=*)
1087 libexecdir
=$ac_optarg ;;
1089 -localedir | --localedir | --localedi | --localed | --locale)
1090 ac_prev
=localedir
;;
1091 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1092 localedir
=$ac_optarg ;;
1094 -localstatedir | --localstatedir | --localstatedi | --localstated \
1095 | --localstate | --localstat | --localsta | --localst | --locals)
1096 ac_prev
=localstatedir
;;
1097 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1098 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1099 localstatedir
=$ac_optarg ;;
1101 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1103 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1104 mandir
=$ac_optarg ;;
1106 -nfp | --nfp | --nf)
1107 # Obsolete; use --without-fp.
1110 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1111 | --no-cr | --no-c | -n)
1114 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1115 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1119 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1120 | --oldin | --oldi | --old | --ol | --o)
1121 ac_prev
=oldincludedir
;;
1122 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1123 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1124 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1125 oldincludedir
=$ac_optarg ;;
1127 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1129 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1130 prefix
=$ac_optarg ;;
1132 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1133 | --program-pre | --program-pr | --program-p)
1134 ac_prev
=program_prefix
;;
1135 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1136 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1137 program_prefix
=$ac_optarg ;;
1139 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1140 | --program-suf | --program-su | --program-s)
1141 ac_prev
=program_suffix
;;
1142 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1143 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1144 program_suffix
=$ac_optarg ;;
1146 -program-transform-name | --program-transform-name \
1147 | --program-transform-nam | --program-transform-na \
1148 | --program-transform-n | --program-transform- \
1149 | --program-transform | --program-transfor \
1150 | --program-transfo | --program-transf \
1151 | --program-trans | --program-tran \
1152 | --progr-tra | --program-tr | --program-t)
1153 ac_prev
=program_transform_name
;;
1154 -program-transform-name=* | --program-transform-name=* \
1155 | --program-transform-nam=* | --program-transform-na=* \
1156 | --program-transform-n=* | --program-transform-=* \
1157 | --program-transform=* | --program-transfor=* \
1158 | --program-transfo=* | --program-transf=* \
1159 | --program-trans=* | --program-tran=* \
1160 | --progr-tra=* | --program-tr=* | --program-t=*)
1161 program_transform_name
=$ac_optarg ;;
1163 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1165 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1166 pdfdir
=$ac_optarg ;;
1168 -psdir | --psdir | --psdi | --psd | --ps)
1170 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1174 | -silent | --silent | --silen | --sile | --sil)
1177 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1179 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1181 sbindir
=$ac_optarg ;;
1183 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1184 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1185 | --sharedst | --shareds | --shared | --share | --shar \
1187 ac_prev
=sharedstatedir
;;
1188 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1189 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1190 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1192 sharedstatedir
=$ac_optarg ;;
1194 -site | --site | --sit)
1196 -site=* | --site=* | --sit=*)
1199 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1201 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1202 srcdir
=$ac_optarg ;;
1204 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1205 | --syscon | --sysco | --sysc | --sys | --sy)
1206 ac_prev
=sysconfdir
;;
1207 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1208 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1209 sysconfdir
=$ac_optarg ;;
1211 -target | --target | --targe | --targ | --tar | --ta | --t)
1212 ac_prev
=target_alias
;;
1213 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1214 target_alias
=$ac_optarg ;;
1216 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 -version | --version | --versio | --versi | --vers | -V)
1220 ac_init_version
=: ;;
1223 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=\
$ac_optarg ;;
1238 -without-* | --without-*)
1239 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1242 as_fn_error $?
"invalid package name: $ac_useropt"
1243 ac_useropt_orig
=$ac_useropt
1244 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1249 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1250 ac_unrecognized_sep
=', ';;
1252 eval with_
$ac_useropt=no
;;
1255 # Obsolete; use --with-x.
1258 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1259 | --x-incl | --x-inc | --x-in | --x-i)
1260 ac_prev
=x_includes
;;
1261 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1262 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1263 x_includes
=$ac_optarg ;;
1265 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1266 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1267 ac_prev
=x_libraries
;;
1268 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1269 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1270 x_libraries
=$ac_optarg ;;
1272 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1273 Try \`$0 --help' for more information"
1277 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1278 # Reject names that are not valid shell variable names.
1279 case $ac_envvar in #(
1280 '' | [0-9]* | *[!_$as_cr_alnum]* )
1281 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1283 eval $ac_envvar=\
$ac_optarg
1284 export $ac_envvar ;;
1287 # FIXME: should be removed in autoconf 3.0.
1288 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1289 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1290 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1291 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1297 if test -n "$ac_prev"; then
1298 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1299 as_fn_error $?
"missing argument to $ac_option"
1302 if test -n "$ac_unrecognized_opts"; then
1303 case $enable_option_checking in
1305 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1328 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1331 # There might be people who depend on the old broken behavior: `$host'
1332 # used to hold the argument of --host etc.
1333 # FIXME: To remove some day.
1336 target
=$target_alias
1338 # FIXME: To remove some day.
1339 if test "x$host_alias" != x
; then
1340 if test "x$build_alias" = x
; then
1341 cross_compiling
=maybe
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1350 test "$silent" = yes && exec 6>/dev
/null
1353 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di
=`ls -di .` &&
1355 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $?
"working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $?
"pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted
=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir
=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted
=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1397 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var
in $ac_precious_vars; do
1414 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1415 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1416 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1417 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures expat 2.1.0 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/expat]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1490 if test -n "$ac_init_help"; then
1491 case $ac_init_help in
1492 short
| recursive
) echo "Configuration of expat 2.1.0:";;
1497 --disable-option-checking ignore unrecognized
--enable/--with options
1498 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1499 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1500 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1501 --enable-static[=PKGS
] build static libraries
[default
=yes]
1502 --enable-fast-install[=PKGS
]
1503 optimize
for fast installation
[default
=yes]
1504 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1507 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1508 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1509 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1511 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1513 Some influential environment variables
:
1514 CC C compiler
command
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1517 nonstandard directory
<lib dir
>
1518 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1519 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1520 you have headers
in a nonstandard directory
<include dir
>
1522 CXX C
++ compiler
command
1523 CXXFLAGS C
++ compiler flags
1524 CXXCPP C
++ preprocessor
1526 Use these variables to override the choices made by
`configure' or to help
1527 it to find libraries and programs with nonstandard names/locations.
1529 Report bugs to <expat-bugs@libexpat.org>.
1534 if test "$ac_init_help" = "recursive"; then
1535 # If there are subdirs, report their specific --help.
1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537 test -d "$ac_dir" ||
1538 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1543 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546 # A ".." for each directory in $ac_dir_suffix.
1547 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548 case $ac_top_builddir_sub in
1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1553 ac_abs_top_builddir=$ac_pwd
1554 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555 # for backward compatibility:
1556 ac_top_builddir=$ac_top_build_prefix
1559 .) # We are building in place.
1561 ac_top_srcdir=$ac_top_builddir_sub
1562 ac_abs_top_srcdir=$ac_pwd ;;
1563 [\\/]* | ?:[\\/]* ) # Absolute name.
1564 ac_srcdir=$srcdir$ac_dir_suffix;
1565 ac_top_srcdir=$srcdir
1566 ac_abs_top_srcdir=$srcdir ;;
1568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569 ac_top_srcdir=$ac_top_build_prefix$srcdir
1570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1572 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1574 cd "$ac_dir" || { ac_status=$?; continue; }
1575 # Check for guested configure.
1576 if test -f "$ac_srcdir/configure.gnu"; then
1578 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579 elif test -f "$ac_srcdir/configure"; then
1581 $SHELL "$ac_srcdir/configure" --help=recursive
1583 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1585 cd "$ac_pwd" || { ac_status=$?; break; }
1589 test -n "$ac_init_help" && exit $ac_status
1590 if $ac_init_version; then
1592 expat configure 2.1.0
1593 generated by GNU Autoconf 2.69
1595 Copyright (C) 2012 Free Software Foundation, Inc.
1596 This configure script is free software; the Free Software Foundation
1597 gives unlimited permission to copy, distribute and modify it.
1602 ## ------------------------ ##
1603 ## Autoconf initialization. ##
1604 ## ------------------------ ##
1606 # ac_fn_c_try_compile LINENO
1607 # --------------------------
1608 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1609 ac_fn_c_try_compile ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 rm -f conftest.$ac_objext
1613 if { { ac_try="$ac_compile"
1615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1616 *) ac_try_echo
=$ac_try;;
1618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_compile") 2>conftest.err
1622 if test -s conftest.err
; then
1623 grep -v '^ *+' conftest.err
>conftest.er1
1624 cat conftest.er1
>&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && {
1629 test -z "$ac_c_werror_flag" ||
1630 test ! -s conftest.err
1631 } && test -s conftest.
$ac_objext; then :
1634 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.
$ac_ext >&5
1639 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status
$ac_retval
1642 } # ac_fn_c_try_compile
1644 # ac_fn_c_try_link LINENO
1645 # -----------------------
1646 # Try to link conftest.$ac_ext, and return whether this succeeded.
1649 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1650 rm -f conftest.
$ac_objext conftest
$ac_exeext
1651 if { { ac_try
="$ac_link"
1653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1654 *) ac_try_echo=$ac_try;;
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658 (eval "$ac_link") 2>conftest.err
1660 if test -s conftest.err; then
1661 grep -v '^ *+' conftest.err >conftest.er1
1662 cat conftest.er1 >&5
1663 mv -f conftest.er1 conftest.err
1665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666 test $ac_status = 0; } && {
1667 test -z "$ac_c_werror_flag" ||
1668 test ! -s conftest.err
1669 } && test -s conftest$ac_exeext && {
1670 test "$cross_compiling" = yes ||
1671 test -x conftest$ac_exeext
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1681 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1682 # interfere with the next link command; also delete a directory that is
1683 # left behind by Apple's compiler. We do this before executing the actions.
1684 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686 as_fn_set_status $ac_retval
1688 } # ac_fn_c_try_link
1690 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1691 # -------------------------------------------------------
1692 # Tests whether HEADER exists and can be compiled using the include files in
1693 # INCLUDES, setting the cache variable VAR accordingly.
1694 ac_fn_c_check_header_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if eval \${$3+:} false; then :
1700 $as_echo_n "(cached) " >&6
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1707 if ac_fn_c_try_compile "$LINENO"; then :
1712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1716 $as_echo "$ac_res" >&6; }
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719 } # ac_fn_c_check_header_compile
1721 # ac_fn_c_try_cpp LINENO
1722 # ----------------------
1723 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 if { { ac_try="$ac_cpp conftest.$ac_ext"
1729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1730 *) ac_try_echo
=$ac_try;;
1732 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1736 if test -s conftest.err
; then
1737 grep -v '^ *+' conftest.err
>conftest.er1
1738 cat conftest.er1
>&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } > conftest.i
&& {
1743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1744 test ! -s conftest.err
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.
$ac_ext >&5
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 as_fn_set_status
$ac_retval
1758 # ac_fn_c_try_run LINENO
1759 # ----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1761 # that executables *can* be run.
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 if { { ac_try
="$ac_link"
1767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1768 *) ac_try_echo=$ac_try;;
1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>&5
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1776 { { case "(($ac_try" in
1777 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1778 *) ac_try_echo
=$ac_try;;
1780 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_try") 2>&5
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; }; }; then :
1788 $as_echo "$as_me: program exited with status $ac_status" >&5
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.
$ac_ext >&5
1792 ac_retval
=$ac_status
1794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796 as_fn_set_status
$ac_retval
1800 # ac_fn_c_check_func LINENO FUNC VAR
1801 # ----------------------------------
1802 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1803 ac_fn_c_check_func
()
1805 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \
${$3+:} false
; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1813 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1815 #define $2 innocuous_$2
1817 /* System header to define __stub macros and hopefully few prototypes,
1818 which can conflict with char $2 (); below.
1819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820 <limits.h> exists even on freestanding compilers. */
1823 # include <limits.h>
1825 # include <assert.h>
1830 /* Override any GCC internal prototype to avoid an error.
1831 Use char because int might match the return type of a GCC
1832 builtin and then its argument prototype would still apply. */
1837 /* The GNU C library defines this for functions which it implements
1838 to always fail with ENOSYS. Some functions are actually named
1839 something starting with __ and the normal name is an alias. */
1840 #if defined __stub_$2 || defined __stub___$2
1852 if ac_fn_c_try_link
"$LINENO"; then :
1857 rm -f core conftest.err conftest.
$ac_objext \
1858 conftest
$ac_exeext conftest.
$ac_ext
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1865 } # ac_fn_c_check_func
1867 # ac_fn_cxx_try_compile LINENO
1868 # ----------------------------
1869 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1870 ac_fn_cxx_try_compile
()
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 rm -f conftest.
$ac_objext
1874 if { { ac_try
="$ac_compile"
1876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_compile") 2>conftest.err
1883 if test -s conftest.err; then
1884 grep -v '^ *+' conftest.err >conftest.er1
1885 cat conftest.er1 >&5
1886 mv -f conftest.er1 conftest.err
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && {
1890 test -z "$ac_cxx_werror_flag" ||
1891 test ! -s conftest.err
1892 } && test -s conftest.$ac_objext; then :
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 as_fn_set_status $ac_retval
1903 } # ac_fn_cxx_try_compile
1905 # ac_fn_cxx_try_cpp LINENO
1906 # ------------------------
1907 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_cxx_try_cpp ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_cpp conftest.$ac_ext"
1913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1914 *) ac_try_echo
=$ac_try;;
1916 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1920 if test -s conftest.err
; then
1921 grep -v '^ *+' conftest.err
>conftest.er1
1922 cat conftest.er1
>&5
1923 mv -f conftest.er1 conftest.err
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } > conftest.i
&& {
1927 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1928 test ! -s conftest.err
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.
$ac_ext >&5
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_cxx_try_cpp
1942 # ac_fn_cxx_try_link LINENO
1943 # -------------------------
1944 # Try to link conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_link
()
1947 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1948 rm -f conftest.
$ac_objext conftest
$ac_exeext
1949 if { { ac_try
="$ac_link"
1951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_link") 2>conftest.err
1958 if test -s conftest.err; then
1959 grep -v '^ *+' conftest.err >conftest.er1
1960 cat conftest.er1 >&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_cxx_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest$ac_exeext && {
1968 test "$cross_compiling" = yes ||
1969 test -x conftest$ac_exeext
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.$ac_ext >&5
1978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1980 # interfere with the next link command; also delete a directory that is
1981 # left behind by Apple's compiler. We do this before executing the actions.
1982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 as_fn_set_status $ac_retval
1986 } # ac_fn_cxx_try_link
1988 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1989 # -------------------------------------------
1990 # Tests whether TYPE exists after having included INCLUDES, setting cache
1991 # variable VAR accordingly.
1992 ac_fn_c_check_type ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if eval \${$3+:} false; then :
1998 $as_echo_n "(cached) " >&6
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2013 if ac_fn_c_try_compile "$LINENO"; then :
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2026 if ac_fn_c_try_compile "$LINENO"; then :
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2038 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2040 } # ac_fn_c_check_type
2042 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2043 # -------------------------------------------------------
2044 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2045 # the include files in INCLUDES and setting the cache variable VAR
2047 ac_fn_c_check_header_mongrel ()
2049 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2050 if eval \${$3+:} false; then :
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052 $as_echo_n "checking for $2... " >&6; }
2053 if eval \${$3+:} false; then :
2054 $as_echo_n "(cached) " >&6
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2060 # Is the header compilable?
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2062 $as_echo_n "checking $2 usability... " >&6; }
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2068 if ac_fn_c_try_compile "$LINENO"; then :
2069 ac_header_compiler=yes
2071 ac_header_compiler=no
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2075 $as_echo "$ac_header_compiler" >&6; }
2077 # Is the header present?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2079 $as_echo_n "checking $2 presence... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2084 if ac_fn_c_try_cpp "$LINENO"; then :
2085 ac_header_preproc=yes
2087 ac_header_preproc=no
2089 rm -f conftest.err conftest.i conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2091 $as_echo "$ac_header_preproc" >&6; }
2093 # So? What about this header?
2094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2097 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2099 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2103 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2105 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2107 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2109 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2111 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2112 ( $as_echo "## -------------------------------------- ##
2113 ## Report this to expat-bugs@libexpat.org ##
2114 ## -------------------------------------- ##"
2115 ) | sed "s/^/$as_me: WARNING: /" >&2
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if eval \${$3+:} false; then :
2121 $as_echo_n "(cached) " >&6
2123 eval "$3=\$ac_header_compiler"
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_header_mongrel
2132 cat >config.log <<_ACEOF
2133 This file contains any messages produced by compilers while
2134 running configure, to aid debugging if configure makes a mistake.
2136 It was created by expat $as_me 2.1.0, which was
2137 generated by GNU Autoconf 2.69. Invocation command line was
2149 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2150 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2151 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2152 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2153 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2155 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2156 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2158 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2159 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2160 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2161 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2162 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2163 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2164 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 $as_echo "PATH: $as_dir"
2189 # Keep a trace of the command line.
2190 # Strip out --no-create and --no-recursion so they do not pile up.
2191 # Strip out --silent because we don't want to record it for future runs.
2192 # Also quote any args containing shell meta-characters.
2193 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_must_keep_next=false
2203 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2205 | -silent | --silent | --silen | --sile | --sil)
2208 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2211 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2213 as_fn_append ac_configure_args1 " '$ac_arg'"
2214 if test $ac_must_keep_next = true; then
2215 ac_must_keep_next=false # Got value, back to normal.
2218 *=* | --config-cache | -C | -disable-* | --disable-* \
2219 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2220 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2221 | -with-* | --with-* | -without-* | --without-* | --x)
2222 case "$ac_configure_args0 " in
2223 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2226 -* ) ac_must_keep_next=true ;;
2229 as_fn_append ac_configure_args " '$ac_arg'"
2234 { ac_configure_args0=; unset ac_configure_args0;}
2235 { ac_configure_args1=; unset ac_configure_args1;}
2237 # When interrupted or exit'd, cleanup temporary files, and complete
2238 # config.log. We remove comments because anyway the quotes in there
2239 # would cause problems or look ugly.
2240 # WARNING: Use '\'' to represent an apostrophe within the trap.
2241 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242 trap 'exit_status=$?
2243 # Save into config.log some information that might help in debugging.
2247 $as_echo "## ---------------- ##
2248 ## Cache variables. ##
2249 ## ---------------- ##"
2251 # The following way of writing the cache mishandles newlines in values,
2253 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2254 eval ac_val=\$$ac_var
2258 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2259 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2262 _ | IFS | as_nl) ;; #(
2263 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2264 *) { eval $ac_var=; unset $ac_var;} ;;
2269 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2270 *${as_nl}ac_space=\ *)
2272 "s/'\''/'\''\\\\'\'''\''/g;
2273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2283 $as_echo "## ----------------- ##
2284 ## Output variables. ##
2285 ## ----------------- ##"
2287 for ac_var in $ac_subst_vars
2289 eval ac_val=\$$ac_var
2291 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 $as_echo "$ac_var='\''$ac_val'\''"
2297 if test -n "$ac_subst_files"; then
2298 $as_echo "## ------------------- ##
2299 ## File substitutions. ##
2300 ## ------------------- ##"
2302 for ac_var in $ac_subst_files
2304 eval ac_val=\$$ac_var
2306 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 $as_echo "$ac_var='\''$ac_val'\''"
2313 if test -s confdefs.h; then
2314 $as_echo "## ----------- ##
2321 test "$ac_signal" != 0 &&
2322 $as_echo "$as_me: caught signal $ac_signal"
2323 $as_echo "$as_me: exit $exit_status"
2325 rm -f core *.core core.conftest.* &&
2326 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2329 for ac_signal in 1 2 13 15; do
2330 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2335 rm -f -r conftest* confdefs.h
2337 $as_echo "/* confdefs.h */" > confdefs.h
2339 # Predefined preprocessor variables.
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_NAME "$PACKAGE_NAME"
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2349 cat >>confdefs.h <<_ACEOF
2350 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2353 cat >>confdefs.h <<_ACEOF
2354 #define PACKAGE_STRING "$PACKAGE_STRING"
2357 cat >>confdefs.h <<_ACEOF
2358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2361 cat >>confdefs.h <<_ACEOF
2362 #define PACKAGE_URL "$PACKAGE_URL"
2366 # Let the site file select an alternate cache file if it wants to.
2367 # Prefer an explicitly selected file to automatically selected ones.
2370 if test -n "$CONFIG_SITE"; then
2371 # We do not want a PATH search for config.site.
2372 case $CONFIG_SITE in #((
2373 -*) ac_site_file1=./$CONFIG_SITE;;
2374 */*) ac_site_file1=$CONFIG_SITE;;
2375 *) ac_site_file1=./$CONFIG_SITE;;
2377 elif test "x$prefix" != xNONE; then
2378 ac_site_file1=$prefix/share/config.site
2379 ac_site_file2=$prefix/etc/config.site
2381 ac_site_file1=$ac_default_prefix/share/config.site
2382 ac_site_file2=$ac_default_prefix/etc/config.site
2384 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2386 test "x$ac_site_file" = xNONE && continue
2387 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2389 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2390 sed 's/^/| /' "$ac_site_file" >&5
2392 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 as_fn_error $? "failed to load site
script $ac_site_file
2395 See \
`config.log' for more details" "$LINENO" 5; }
2399 if test -r "$cache_file"; then
2400 # Some versions of bash will fail to source /dev/null (special files
2401 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2402 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2404 $as_echo "$as_me: loading cache $cache_file" >&6;}
2406 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2407 *) . "./$cache_file";;
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2412 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416 as_fn_append ac_header_list " stdlib.h"
2417 as_fn_append ac_header_list " unistd.h"
2418 as_fn_append ac_header_list " sys/param.h"
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2430 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2434 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x
$ac_old_val`
2441 ac_new_val_w=`echo x
$ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2445 ac_cache_corrupted=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2491 for ac_dir in conftools "$srcdir"/conftools; do
2492 if test -f "$ac_dir/install-sh"; then
2494 ac_install_sh="$ac_aux_dir/install-sh -c"
2496 elif test -f "$ac_dir/install.sh"; then
2498 ac_install_sh="$ac_aux_dir/install.sh -c"
2500 elif test -f "$ac_dir/shtool"; then
2502 ac_install_sh="$ac_aux_dir/shtool install -c"
2506 if test -z "$ac_aux_dir"; then
2507 as_fn_error $? "cannot find install-sh, install.sh, or shtool in conftools \"$srcdir\"/conftools" "$LINENO" 5
2510 # These three variables are undocumented and unsupported,
2511 # and are intended to be withdrawn in a future Autoconf release.
2512 # They can cause serious problems if a builder's source tree is in a directory
2513 # whose full name contains unusual characters.
2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2516 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2527 ac_config_headers="$ac_config_headers expat_config.h"
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
2539 if test -n "$ac_tool_prefix"; then
2540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if ${ac_cv_prog_CC+:} false; then :
2545 $as_echo_n "(cached) " >&6
2547 if test -n "$CC"; then
2548 ac_cv_prog_CC="$CC" # Let the user override the test.
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 if test -n "$CC"; then
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2570 $as_echo "$CC" >&6; }
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2578 if test -z "$ac_cv_prog_CC"; then
2580 # Extract the first word of "gcc", so it can be a program name with args.
2581 set dummy gcc; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2585 $as_echo_n "(cached) " >&6
2587 if test -n "$ac_ct_CC"; then
2588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2594 test -z "$as_dir" && as_dir=.
2595 for ac_exec_ext in '' $ac_executable_extensions; do
2596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597 ac_cv_prog_ac_ct_CC="gcc"
2598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608 if test -n "$ac_ct_CC"; then
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2610 $as_echo "$ac_ct_CC" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2616 if test "x$ac_ct_CC" = x; then
2619 case $cross_compiling:$ac_tool_warned in
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2623 ac_tool_warned=yes ;;
2631 if test -z "$CC"; then
2632 if test -n "$ac_tool_prefix"; then
2633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2634 set dummy ${ac_tool_prefix}cc; ac_word=$2
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2636 $as_echo_n "checking for $ac_word... " >&6; }
2637 if ${ac_cv_prog_CC+:} false; then :
2638 $as_echo_n "(cached) " >&6
2640 if test -n "$CC"; then
2641 ac_cv_prog_CC="$CC" # Let the user override the test.
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2650 ac_cv_prog_CC="${ac_tool_prefix}cc"
2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 if test -n "$CC"; then
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2663 $as_echo "$CC" >&6; }
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2666 $as_echo "no" >&6; }
2672 if test -z "$CC"; then
2673 # Extract the first word of "cc", so it can be a program name with args.
2674 set dummy cc; ac_word=$2
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2676 $as_echo_n "checking for $ac_word... " >&6; }
2677 if ${ac_cv_prog_CC+:} false; then :
2678 $as_echo_n "(cached) " >&6
2680 if test -n "$CC"; then
2681 ac_cv_prog_CC="$CC" # Let the user override the test.
2684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir=.
2689 for ac_exec_ext in '' $ac_executable_extensions; do
2690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2692 ac_prog_rejected=yes
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test $ac_prog_rejected = yes; then
2704 # We found a bogon in the path, so make sure we never use it.
2705 set dummy $ac_cv_prog_CC
2707 if test $# != 0; then
2708 # We chose a different compiler from the bogus one.
2709 # However, it has the same basename, so the bogon will be chosen
2710 # first if we set CC to just the basename; use the full file name.
2712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2718 if test -n "$CC"; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2720 $as_echo "$CC" >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2728 if test -z "$CC"; then
2729 if test -n "$ac_tool_prefix"; then
2730 for ac_prog in cl.exe
2732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if ${ac_cv_prog_CC+:} false; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC="$CC" # Let the user override the test.
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test -n "$CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2762 $as_echo "$CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2769 test -n "$CC" && break
2772 if test -z "$CC"; then
2774 for ac_prog in cl.exe
2776 # Extract the first word of "$ac_prog", so it can be a program name with args.
2777 set dummy $ac_prog; ac_word=$2
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$ac_ct_CC"; then
2784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2793 ac_cv_prog_ac_ct_CC="$ac_prog"
2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2804 if test -n "$ac_ct_CC"; then
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2806 $as_echo "$ac_ct_CC" >&6; }
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2813 test -n "$ac_ct_CC" && break
2816 if test "x$ac_ct_CC" = x; then
2819 case $cross_compiling:$ac_tool_warned in
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2823 ac_tool_warned=yes ;;
2832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2834 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2835 See \
`config.log' for more details" "$LINENO" 5; }
2837 # Provide some information about the compiler.
2838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2841 for ac_option in --version -v -V -qversion; do
2842 { { ac_try="$ac_compiler $ac_option >&5"
2844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2845 *) ac_try_echo
=$ac_try;;
2847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 $as_echo "$ac_try_echo"; } >&5
2849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2851 if test -s conftest.err
; then
2853 ... rest of stderr output deleted ...
2854 10q' conftest.err
>conftest.er1
2855 cat conftest.er1
>&5
2857 rm -f conftest.er1 conftest.err
2858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2859 test $ac_status = 0; }
2862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2873 ac_clean_files_save
=$ac_clean_files
2874 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2875 # Try to create an executable without -o first, disregard a.out.
2876 # It will help us diagnose broken compilers, and finding out an intuition
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2879 $as_echo_n "checking whether the C compiler works... " >&6; }
2880 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2882 # The possible output files:
2883 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2886 for ac_file
in $ac_files
2889 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
2890 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2895 if { { ac_try
="$ac_link_default"
2897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_link_default") 2>&5
2904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2905 test $ac_status = 0; }; then :
2906 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2907 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2908 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2909 # so that the user can short-circuit this test for compilers unknown to
2911 for ac_file in $ac_files ''
2913 test -f "$ac_file" || continue
2915 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2918 # We found the default executable, but exeext='' is most
2922 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2924 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2926 # We set ac_cv_exeext here because the later test for it is not
2927 # safe: cross compilers may not add the suffix if given an `-o'
2928 # argument, so we may need to know it at that point already.
2929 # Even if this section looks crufty: it has the advantage of
2936 test "$ac_cv_exeext" = no && ac_cv_exeext=
2941 if test -z "$ac_file"; then :
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943 $as_echo "no" >&6; }
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's
/^
/| /' conftest.$ac_ext >&5
2947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2949 as_fn_error 77 "C compiler cannot create executables
2950 See \`config.log
' for more details" "$LINENO" 5; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2953 $as_echo "yes" >&6; }
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2956 $as_echo_n "checking for C compiler default output file name... " >&6; }
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2958 $as_echo "$ac_file" >&6; }
2959 ac_exeext=$ac_cv_exeext
2961 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2962 ac_clean_files=$ac_clean_files_save
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2964 $as_echo_n "checking for suffix of executables... " >&6; }
2965 if { { ac_try="$ac_link"
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2971 $as_echo "$ac_try_echo"; } >&5
2972 (eval "$ac_link") 2>&5
2974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2975 test $ac_status = 0; }; then :
2976 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2977 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2978 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2980 for ac_file
in conftest.exe conftest conftest.
*; do
2981 test -f "$ac_file" || continue
2983 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
2984 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2992 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details" "$LINENO" 5; }
2995 rm -f conftest conftest
$ac_cv_exeext
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2997 $as_echo "$ac_cv_exeext" >&6; }
2999 rm -f conftest.
$ac_ext
3000 EXEEXT
=$ac_cv_exeext
3002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3008 FILE *f = fopen ("conftest.out", "w");
3009 return ferror (f) || fclose (f) != 0;
3015 ac_clean_files
="$ac_clean_files conftest.out"
3016 # Check that the compiler produces executables we can run. If not, either
3017 # the compiler is broken, or we cross compile.
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3019 $as_echo_n "checking whether we are cross compiling... " >&6; }
3020 if test "$cross_compiling" != yes; then
3021 { { ac_try
="$ac_link"
3023 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3024 *) ac_try_echo=$ac_try;;
3026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3027 $as_echo "$ac_try_echo"; } >&5
3028 (eval "$ac_link") 2>&5
3030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3031 test $ac_status = 0; }
3032 if { ac_try='./conftest$ac_cv_exeext'
3033 { { case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3035 *) ac_try_echo
=$ac_try;;
3037 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_try") 2>&5
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; }; then
3045 if test "$cross_compiling" = maybe
; then
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $?
"cannot run C compiled programs.
3051 If you meant to cross compile, use \`--host'.
3052 See \`config.log' for more details" "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3057 $as_echo "$cross_compiling" >&6; }
3059 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3060 ac_clean_files
=$ac_clean_files_save
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3062 $as_echo_n "checking for suffix of object files... " >&6; }
3063 if ${ac_cv_objext+:} false
; then :
3064 $as_echo_n "(cached) " >&6
3066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3077 rm -f conftest.o conftest.obj
3078 if { { ac_try
="$ac_compile"
3080 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_compile") 2>&5
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }; then :
3089 for ac_file in conftest.o conftest.obj conftest.*; do
3090 test -f "$ac_file" || continue;
3092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3098 $as_echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3104 See \
`config.log' for more details" "$LINENO" 5; }
3106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3109 $as_echo "$ac_cv_objext" >&6; }
3110 OBJEXT=$ac_cv_objext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3113 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3114 if ${ac_cv_c_compiler_gnu+:} false; then :
3115 $as_echo_n "(cached) " >&6
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3131 if ac_fn_c_try_compile "$LINENO"; then :
3136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3141 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3142 if test $ac_compiler_gnu = yes; then
3147 ac_test_CFLAGS=${CFLAGS+set}
3148 ac_save_CFLAGS=$CFLAGS
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3150 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3151 if ${ac_cv_prog_cc_g+:} false; then :
3152 $as_echo_n "(cached) " >&6
3154 ac_save_c_werror_flag=$ac_c_werror_flag
3155 ac_c_werror_flag=yes
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3169 if ac_fn_c_try_compile "$LINENO"; then :
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_c_try_compile "$LINENO"; then :
3187 ac_c_werror_flag=$ac_save_c_werror_flag
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3200 if ac_fn_c_try_compile "$LINENO"; then :
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 ac_c_werror_flag=$ac_save_c_werror_flag
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3211 $as_echo "$ac_cv_prog_cc_g" >&6; }
3212 if test "$ac_test_CFLAGS" = set; then
3213 CFLAGS=$ac_save_CFLAGS
3214 elif test $ac_cv_prog_cc_g = yes; then
3215 if test "$GCC" = yes; then
3221 if test "$GCC" = yes; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3228 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3229 if ${ac_cv_prog_cc_c89+:} false; then :
3230 $as_echo_n "(cached) " >&6
3232 ac_cv_prog_cc_c89=no
3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3235 /* end confdefs.h. */
3239 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3240 struct buf { int x; };
3241 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3242 static char *e (p, i)
3248 static char *f (char * (*g) (char **, int), char **p, ...)
3253 s = g (p, va_arg (v,int));
3258 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3259 function prototypes and stuff, but not '\xHH' hex character constants.
3260 These don't provoke an error unfortunately, instead are silently treated
3261 as 'x'. The following induces an error, until -std is added to get
3262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3263 array size at least. It's necessary to write '\x00'==0 to get something
3264 that's true only with -std. */
3265 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3267 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3268 inside strings and character constants. */
3270 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3272 int test (int i, double x);
3273 struct s1 {int (*f) (int a);};
3274 struct s2 {int (*f) (double a);};
3275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3286 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3289 CC="$ac_save_CC $ac_arg"
3290 if ac_fn_c_try_compile "$LINENO"; then :
3291 ac_cv_prog_cc_c89=$ac_arg
3293 rm -f core conftest.err conftest.$ac_objext
3294 test "x$ac_cv_prog_cc_c89" != "xno" && break
3296 rm -f conftest.$ac_ext
3301 case "x$ac_cv_prog_cc_c89" in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3304 $as_echo "none needed" >&6; } ;;
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3307 $as_echo "unsupported" >&6; } ;;
3309 CC="$CC $ac_cv_prog_cc_c89"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3313 if test "x$ac_cv_prog_cc_c89" != xno; then :
3318 ac_cpp='$CPP $CPPFLAGS'
3319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
3337 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
3338 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3348 #ifndef __INTEL_COMPILER
3356 if ac_fn_c_try_compile "$LINENO"; then :
3357 bakefile_cv_c_compiler___INTEL_COMPILER=yes
3359 bakefile_cv_c_compiler___INTEL_COMPILER=no
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
3367 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
3368 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
3374 ac_cpp='$CPP $CPPFLAGS'
3375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3382 if test "$INTELCC" = "yes"; then
3386 ac_cpp='$CPP $CPPFLAGS'
3387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
3392 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
3393 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
3394 $as_echo_n "(cached) " >&6
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3403 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
3411 if ac_fn_c_try_compile "$LINENO"; then :
3412 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
3414 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
3417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
3422 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
3423 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
3429 ac_cpp='$CPP $CPPFLAGS'
3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
3445 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
3446 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
3447 $as_echo_n "(cached) " >&6
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3450 /* end confdefs.h. */
3456 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
3464 if ac_fn_c_try_compile "$LINENO"; then :
3465 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
3467 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
3475 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
3476 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3491 if test "x$GCC" != "xyes"; then
3492 if test "xCC" = "xC"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
3494 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
3495 if ${bakefile_cv_c_exto+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3499 /* end confdefs.h. */
3509 rm -f conftest.$ac_objext conftest.$ac_ext.o
3510 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
3511 (eval $ac_compile) 2>&5
3513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 test $ac_status = 0; }; then :
3515 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
3518 bakefile_cv_c_exto="-ext o"
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
3528 See \
`config.log' for more details" "$LINENO" 5; }
3531 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
3535 $as_echo "$bakefile_cv_c_exto" >&6; }
3536 if test "x$bakefile_cv_c_exto" '!=' "x"; then
3537 if test "c" = "c"; then
3538 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
3540 if test "c" = "cxx"; then
3541 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
3545 if test "x$bakefile_cv_c_exto" '!=' "x"; then
3546 unset ac_cv_prog_cc_g
3547 ac_test_CFLAGS=${CFLAGS+set}
3548 ac_save_CFLAGS=$CFLAGS
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3550 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3551 if ${ac_cv_prog_cc_g+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 ac_save_c_werror_flag=$ac_c_werror_flag
3555 ac_c_werror_flag=yes
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 if ac_fn_c_try_compile "$LINENO"; then :
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_c_try_compile "$LINENO"; then :
3587 ac_c_werror_flag=$ac_save_c_werror_flag
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3600 if ac_fn_c_try_compile "$LINENO"; then :
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 ac_c_werror_flag=$ac_save_c_werror_flag
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3611 $as_echo "$ac_cv_prog_cc_g" >&6; }
3612 if test "$ac_test_CFLAGS" = set; then
3613 CFLAGS=$ac_save_CFLAGS
3614 elif test $ac_cv_prog_cc_g = yes; then
3615 if test "$GCC" = yes; then
3621 if test "$GCC" = yes; then
3635 ac_cpp='$CPP $CPPFLAGS'
3636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
3641 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
3642 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
3643 $as_echo_n "(cached) " >&6
3645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h. */
3660 if ac_fn_c_try_compile "$LINENO"; then :
3661 bakefile_cv_c_compiler___xlC__=yes
3663 bakefile_cv_c_compiler___xlC__=no
3666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
3671 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
3672 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3691 ac_cpp='$CPP $CPPFLAGS'
3692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
3697 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
3698 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702 /* end confdefs.h. */
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 bakefile_cv_c_compiler___MWERKS__=yes
3719 bakefile_cv_c_compiler___MWERKS__=no
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
3727 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
3728 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3741 if test "$MWCC" != "yes"; then
3745 ac_cpp='$CPP $CPPFLAGS'
3746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
3751 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
3752 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
3753 $as_echo_n "(cached) " >&6
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3770 if ac_fn_c_try_compile "$LINENO"; then :
3771 bakefile_cv_c_compiler___xlC__=yes
3773 bakefile_cv_c_compiler___xlC__=no
3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
3781 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
3782 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
3788 ac_cpp='$CPP $CPPFLAGS'
3789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802 ac_cpp='$CPP $CPPFLAGS'
3803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
3808 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
3809 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
3810 $as_echo_n "(cached) " >&6
3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h. */
3819 #ifndef _SGI_COMPILER_VERSION
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
3830 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
3833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
3838 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
3839 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
3845 ac_cpp='$CPP $CPPFLAGS'
3846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3855 if test "$INTELCC" != "yes"; then
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
3865 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
3866 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
3867 $as_echo_n "(cached) " >&6
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3884 if ac_fn_c_try_compile "$LINENO"; then :
3885 bakefile_cv_c_compiler___SUNPRO_C=yes
3887 bakefile_cv_c_compiler___SUNPRO_C=no
3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
3895 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
3896 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
3902 ac_cpp='$CPP $CPPFLAGS'
3903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
3922 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
3923 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
3924 $as_echo_n "(cached) " >&6
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3941 if ac_fn_c_try_compile "$LINENO"; then :
3942 bakefile_cv_c_compiler___HP_cc=yes
3944 bakefile_cv_c_compiler___HP_cc=no
3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
3952 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
3953 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
3959 ac_cpp='$CPP $CPPFLAGS'
3960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3972 ac_cpp='$CPP $CPPFLAGS'
3973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
3978 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
3979 if ${bakefile_cv_c_compiler___DECC+:} false; then :
3980 $as_echo_n "(cached) " >&6
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3997 if ac_fn_c_try_compile "$LINENO"; then :
3998 bakefile_cv_c_compiler___DECC=yes
4000 bakefile_cv_c_compiler___DECC=no
4003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
4008 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
4009 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 ac_cpp='$CPP $CPPFLAGS'
4029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
4034 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
4035 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
4036 $as_echo_n "(cached) " >&6
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 bakefile_cv_c_compiler___SUNPRO_C=yes
4056 bakefile_cv_c_compiler___SUNPRO_C=no
4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
4064 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
4065 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
4071 ac_cpp='$CPP $CPPFLAGS'
4072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 # Make sure we can run config.sub.
4085 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4086 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4089 $as_echo_n "checking build system type... " >&6; }
4090 if ${ac_cv_build+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 ac_build_alias=$build_alias
4094 test "x$ac_build_alias" = x &&
4095 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4096 test "x$ac_build_alias" = x &&
4097 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4098 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4099 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4103 $as_echo "$ac_cv_build" >&6; }
4104 case $ac_cv_build in
4106 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4109 ac_save_IFS=$IFS; IFS='-'
4115 # Remember, the first character of IFS is used to create $*,
4116 # except with old shells:
4119 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4123 $as_echo_n "checking host system type... " >&6; }
4124 if ${ac_cv_host+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 if test "x$host_alias" = x; then
4128 ac_cv_host=$ac_cv_build
4130 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4131 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4136 $as_echo "$ac_cv_host" >&6; }
4139 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4142 ac_save_IFS=$IFS; IFS='-'
4148 # Remember, the first character of IFS is used to create $*,
4149 # except with old shells:
4152 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4155 enable_win32_dll=yes
4158 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4159 if test -n "$ac_tool_prefix"; then
4160 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4161 set dummy ${ac_tool_prefix}as; ac_word=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if ${ac_cv_prog_AS+:} false; then :
4165 $as_echo_n "(cached) " >&6
4167 if test -n "$AS"; then
4168 ac_cv_prog_AS="$AS" # Let the user override the test.
4170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir=.
4175 for ac_exec_ext in '' $ac_executable_extensions; do
4176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4177 ac_cv_prog_AS="${ac_tool_prefix}as"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 if test -n "$AS"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4190 $as_echo "$AS" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4198 if test -z "$ac_cv_prog_AS"; then
4200 # Extract the first word of "as", so it can be a program name with args.
4201 set dummy as; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$ac_ct_AS"; then
4208 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_ac_ct_AS="as"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4228 if test -n "$ac_ct_AS"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4230 $as_echo "$ac_ct_AS" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4236 if test "x$ac_ct_AS" = x; then
4239 case $cross_compiling:$ac_tool_warned in
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4243 ac_tool_warned=yes ;;
4251 if test -n "$ac_tool_prefix"; then
4252 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4253 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if ${ac_cv_prog_DLLTOOL+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -n "$DLLTOOL"; then
4260 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir=.
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4269 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 DLLTOOL=$ac_cv_prog_DLLTOOL
4280 if test -n "$DLLTOOL"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4282 $as_echo "$DLLTOOL" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4290 if test -z "$ac_cv_prog_DLLTOOL"; then
4291 ac_ct_DLLTOOL=$DLLTOOL
4292 # Extract the first word of "dlltool", so it can be a program name with args.
4293 set dummy dlltool; ac_word=$2
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295 $as_echo_n "checking for $ac_word... " >&6; }
4296 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 if test -n "$ac_ct_DLLTOOL"; then
4300 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4320 if test -n "$ac_ct_DLLTOOL"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4322 $as_echo "$ac_ct_DLLTOOL" >&6; }
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4328 if test "x$ac_ct_DLLTOOL" = x; then
4331 case $cross_compiling:$ac_tool_warned in
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4335 ac_tool_warned=yes ;;
4337 DLLTOOL=$ac_ct_DLLTOOL
4340 DLLTOOL="$ac_cv_prog_DLLTOOL"
4343 if test -n "$ac_tool_prefix"; then
4344 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4345 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if ${ac_cv_prog_OBJDUMP+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$OBJDUMP"; then
4352 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4361 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 OBJDUMP=$ac_cv_prog_OBJDUMP
4372 if test -n "$OBJDUMP"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4374 $as_echo "$OBJDUMP" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4382 if test -z "$ac_cv_prog_OBJDUMP"; then
4383 ac_ct_OBJDUMP=$OBJDUMP
4384 # Extract the first word of "objdump", so it can be a program name with args.
4385 set dummy objdump; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4389 $as_echo_n "(cached) " >&6
4391 if test -n "$ac_ct_OBJDUMP"; then
4392 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4412 if test -n "$ac_ct_OBJDUMP"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4414 $as_echo "$ac_ct_OBJDUMP" >&6; }
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4420 if test "x$ac_ct_OBJDUMP" = x; then
4423 case $cross_compiling:$ac_tool_warned in
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4427 ac_tool_warned=yes ;;
4429 OBJDUMP=$ac_ct_OBJDUMP
4432 OBJDUMP="$ac_cv_prog_OBJDUMP"
4438 test -z "$AS" && AS=as
4444 test -z "$DLLTOOL" && DLLTOOL=dlltool
4450 test -z "$OBJDUMP" && OBJDUMP=objdump
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4461 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4466 macro_version='2.2.6b'
4467 macro_revision='1.3017'
4481 ltmain="$ac_aux_dir/ltmain.sh"
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4484 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4485 if ${ac_cv_path_SED+:} false; then :
4486 $as_echo_n "(cached) " >&6
4488 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4489 for ac_i in 1 2 3 4 5 6 7; do
4490 ac_script="$ac_script$as_nl$ac_script"
4492 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4493 { ac_script=; unset ac_script;}
4494 if test -z "$SED"; then
4495 ac_path_SED_found=false
4496 # Loop through the user's path and test for each of PROGNAME-LIST
4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4501 test -z "$as_dir" && as_dir=.
4502 for ac_prog in sed gsed; do
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4505 as_fn_executable_p "$ac_path_SED" || continue
4506 # Check for GNU ac_path_SED and select it if it is found.
4507 # Check for GNU $ac_path_SED
4508 case `"$ac_path_SED" --version 2>&1` in
4510 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4513 $as_echo_n 0123456789 >"conftest.in"
4516 cat "conftest.in" "conftest.in" >"conftest.tmp"
4517 mv "conftest.tmp" "conftest.in"
4518 cp "conftest.in" "conftest.nl"
4519 $as_echo '' >> "conftest.nl"
4520 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4522 as_fn_arith $ac_count + 1 && ac_count=$as_val
4523 if test $ac_count -gt ${ac_path_SED_max-0}; then
4524 # Best one so far, save it but keep looking for a better one
4525 ac_cv_path_SED="$ac_path_SED"
4526 ac_path_SED_max=$ac_count
4528 # 10*(2^10) chars as input seems more than enough
4529 test $ac_count -gt 10 && break
4531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4534 $ac_path_SED_found && break 3
4539 if test -z "$ac_cv_path_SED"; then
4540 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4548 $as_echo "$ac_cv_path_SED" >&6; }
4549 SED="$ac_cv_path_SED"
4552 test -z "$SED" && SED=sed
4553 Xsed="$SED -e 1s/^X//"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4566 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4567 if ${ac_cv_path_GREP+:} false; then :
4568 $as_echo_n "(cached) " >&6
4570 if test -z "$GREP"; then
4571 ac_path_GREP_found=false
4572 # Loop through the user's path and test for each of PROGNAME-LIST
4573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4574 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4577 test -z "$as_dir" && as_dir=.
4578 for ac_prog in grep ggrep; do
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4581 as_fn_executable_p "$ac_path_GREP" || continue
4582 # Check for GNU ac_path_GREP and select it if it is found.
4583 # Check for GNU $ac_path_GREP
4584 case `"$ac_path_GREP" --version 2>&1` in
4586 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4589 $as_echo_n 0123456789 >"conftest.in"
4592 cat "conftest.in" "conftest.in" >"conftest.tmp"
4593 mv "conftest.tmp" "conftest.in"
4594 cp "conftest.in" "conftest.nl"
4595 $as_echo 'GREP' >> "conftest.nl"
4596 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4597 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4598 as_fn_arith $ac_count + 1 && ac_count=$as_val
4599 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4600 # Best one so far, save it but keep looking for a better one
4601 ac_cv_path_GREP="$ac_path_GREP"
4602 ac_path_GREP_max=$ac_count
4604 # 10*(2^10) chars as input seems more than enough
4605 test $ac_count -gt 10 && break
4607 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4610 $ac_path_GREP_found && break 3
4615 if test -z "$ac_cv_path_GREP"; then
4616 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4619 ac_cv_path_GREP=$GREP
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4624 $as_echo "$ac_cv_path_GREP" >&6; }
4625 GREP="$ac_cv_path_GREP"
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4629 $as_echo_n "checking for egrep... " >&6; }
4630 if ${ac_cv_path_EGREP+:} false; then :
4631 $as_echo_n "(cached) " >&6
4633 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4634 then ac_cv_path_EGREP="$GREP -E"
4636 if test -z "$EGREP"; then
4637 ac_path_EGREP_found=false
4638 # Loop through the user's path and test for each of PROGNAME-LIST
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4643 test -z "$as_dir" && as_dir=.
4644 for ac_prog in egrep; do
4645 for ac_exec_ext in '' $ac_executable_extensions; do
4646 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4647 as_fn_executable_p "$ac_path_EGREP" || continue
4648 # Check for GNU ac_path_EGREP and select it if it is found.
4649 # Check for GNU $ac_path_EGREP
4650 case `"$ac_path_EGREP" --version 2>&1` in
4652 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4655 $as_echo_n 0123456789 >"conftest.in"
4658 cat "conftest.in" "conftest.in" >"conftest.tmp"
4659 mv "conftest.tmp" "conftest.in"
4660 cp "conftest.in" "conftest.nl"
4661 $as_echo 'EGREP' >> "conftest.nl"
4662 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4663 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4664 as_fn_arith $ac_count + 1 && ac_count=$as_val
4665 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4666 # Best one so far, save it but keep looking for a better one
4667 ac_cv_path_EGREP="$ac_path_EGREP"
4668 ac_path_EGREP_max=$ac_count
4670 # 10*(2^10) chars as input seems more than enough
4671 test $ac_count -gt 10 && break
4673 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4676 $ac_path_EGREP_found && break 3
4681 if test -z "$ac_cv_path_EGREP"; then
4682 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4685 ac_cv_path_EGREP=$EGREP
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4691 $as_echo "$ac_cv_path_EGREP" >&6; }
4692 EGREP="$ac_cv_path_EGREP"
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4696 $as_echo_n "checking for fgrep... " >&6; }
4697 if ${ac_cv_path_FGREP+:} false; then :
4698 $as_echo_n "(cached) " >&6
4700 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4701 then ac_cv_path_FGREP="$GREP -F"
4703 if test -z "$FGREP"; then
4704 ac_path_FGREP_found=false
4705 # Loop through the user's path and test for each of PROGNAME-LIST
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4710 test -z "$as_dir" && as_dir=.
4711 for ac_prog in fgrep; do
4712 for ac_exec_ext in '' $ac_executable_extensions; do
4713 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4714 as_fn_executable_p "$ac_path_FGREP" || continue
4715 # Check for GNU ac_path_FGREP and select it if it is found.
4716 # Check for GNU $ac_path_FGREP
4717 case `"$ac_path_FGREP" --version 2>&1` in
4719 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4722 $as_echo_n 0123456789 >"conftest.in"
4725 cat "conftest.in" "conftest.in" >"conftest.tmp"
4726 mv "conftest.tmp" "conftest.in"
4727 cp "conftest.in" "conftest.nl"
4728 $as_echo 'FGREP' >> "conftest.nl"
4729 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4730 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4731 as_fn_arith $ac_count + 1 && ac_count=$as_val
4732 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4733 # Best one so far, save it but keep looking for a better one
4734 ac_cv_path_FGREP="$ac_path_FGREP"
4735 ac_path_FGREP_max=$ac_count
4737 # 10*(2^10) chars as input seems more than enough
4738 test $ac_count -gt 10 && break
4740 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4743 $ac_path_FGREP_found && break 3
4748 if test -z "$ac_cv_path_FGREP"; then
4749 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4752 ac_cv_path_FGREP=$FGREP
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4758 $as_echo "$ac_cv_path_FGREP" >&6; }
4759 FGREP="$ac_cv_path_FGREP"
4762 test -z "$GREP" && GREP=grep
4782 # Check whether --with-gnu-ld was given.
4783 if test "${with_gnu_ld+set}" = set; then :
4784 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4790 if test "$GCC" = yes; then
4791 # Check if gcc -print-prog-name=ld gives a path.
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4793 $as_echo_n "checking for ld used by $CC... " >&6; }
4796 # gcc leaves a trailing carriage return which upsets mingw
4797 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
4799 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4802 # Accept absolute paths.
4804 re_direlt='/[^/][^/]*/\.\./'
4805 # Canonicalize the pathname of ld
4806 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4807 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4808 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4810 test -z "$LD" && LD="$ac_prog"
4813 # If it fails, then pretend we aren't using GCC.
4817 # If it is relative, then search for the first ld in PATH.
4821 elif test "$with_gnu_ld" = yes; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4823 $as_echo_n "checking for GNU ld... " >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4826 $as_echo_n "checking for non-GNU ld... " >&6; }
4828 if ${lt_cv_path_LD+:} false; then :
4829 $as_echo_n "(cached) " >&6
4831 if test -z "$LD"; then
4832 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4833 for ac_dir in $PATH; do
4835 test -z "$ac_dir" && ac_dir=.
4836 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4837 lt_cv_path_LD="$ac_dir/$ac_prog"
4838 # Check to see if the program is GNU ld. I'd rather use --version,
4839 # but apparently some variants of GNU ld only accept -v.
4840 # Break only if it was the GNU/non-GNU ld that we prefer.
4841 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4842 *GNU* | *'with BFD'*)
4843 test "$with_gnu_ld" != no && break
4846 test "$with_gnu_ld" != yes && break
4853 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4858 if test -n "$LD"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4860 $as_echo "$LD" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4865 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4867 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4868 if ${lt_cv_prog_gnu_ld+:} false; then :
4869 $as_echo_n "(cached) " >&6
4871 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4872 case `$LD -v 2>&1 </dev
/null
` in
4873 *GNU* | *'with BFD'*)
4874 lt_cv_prog_gnu_ld=yes
4877 lt_cv_prog_gnu_ld=no
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4882 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4883 with_gnu_ld=$lt_cv_prog_gnu_ld
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4894 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4895 if ${lt_cv_path_NM+:} false; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$NM"; then
4899 # Let the user override the test.
4902 lt_nm_to_check="${ac_tool_prefix}nm"
4903 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4904 lt_nm_to_check="$lt_nm_to_check nm"
4906 for lt_tmp_nm in $lt_nm_to_check; do
4907 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4908 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4910 test -z "$ac_dir" && ac_dir=.
4911 tmp_nm="$ac_dir/$lt_tmp_nm"
4912 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4913 # Check to see if the nm accepts a BSD-compat flag.
4914 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4915 # nm: unknown option "B" ignored
4916 # Tru64's nm complains that
/dev
/null is an invalid object
file
4917 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4918 */dev
/null
* | *'Invalid file or object type'*)
4919 lt_cv_path_NM
="$tmp_nm -B"
4923 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4925 lt_cv_path_NM
="$tmp_nm -p"
4929 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4930 continue # so that we can try to find one that supports BSD flags
4939 : ${lt_cv_path_NM=no}
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4943 $as_echo "$lt_cv_path_NM" >&6; }
4944 if test "$lt_cv_path_NM" != "no"; then
4947 # Didn't find any BSD compatible name lister, look for dumpbin.
4948 if test -n "$ac_tool_prefix"; then
4949 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4952 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$DUMPBIN"; then
4959 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4968 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 DUMPBIN
=$ac_cv_prog_DUMPBIN
4979 if test -n "$DUMPBIN"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4981 $as_echo "$DUMPBIN" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4988 test -n "$DUMPBIN" && break
4991 if test -z "$DUMPBIN"; then
4992 ac_ct_DUMPBIN
=$DUMPBIN
4993 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4995 # Extract the first word of "$ac_prog", so it can be a program name with args.
4996 set dummy
$ac_prog; ac_word
=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$ac_ct_DUMPBIN"; then
5003 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir
=.
5010 for ac_exec_ext
in '' $ac_executable_extensions; do
5011 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5023 if test -n "$ac_ct_DUMPBIN"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5025 $as_echo "$ac_ct_DUMPBIN" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$ac_ct_DUMPBIN" && break
5035 if test "x$ac_ct_DUMPBIN" = x
; then
5038 case $cross_compiling:$ac_tool_warned in
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5042 ac_tool_warned
=yes ;;
5044 DUMPBIN
=$ac_ct_DUMPBIN
5049 if test "$DUMPBIN" != ":"; then
5053 test -z "$NM" && NM
=nm
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5061 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5062 if ${lt_cv_nm_interface+:} false
; then :
5063 $as_echo_n "(cached) " >&6
5065 lt_cv_nm_interface
="BSD nm"
5066 echo "int some_variable = 0;" > conftest.
$ac_ext
5067 (eval echo "\"\$as_me:5067: $ac_compile\"" >&5)
5068 (eval "$ac_compile" 2>conftest.err
)
5069 cat conftest.err
>&5
5070 (eval echo "\"\$as_me:5070: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5071 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5072 cat conftest.err
>&5
5073 (eval echo "\"\$as_me:5073: output\"" >&5)
5074 cat conftest.out
>&5
5075 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5076 lt_cv_nm_interface
="MS dumpbin"
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5081 $as_echo "$lt_cv_nm_interface" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5084 $as_echo_n "checking whether ln -s works... " >&6; }
5086 if test "$LN_S" = "ln -s"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5088 $as_echo "yes" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5091 $as_echo "no, using $LN_S" >&6; }
5094 # find the maximum length of command line arguments
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5096 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5097 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5105 # On DJGPP, this test can blow up pretty badly due to problems in libc
5106 # (any single argument exceeding 2000 bytes causes a buffer overrun
5107 # during glob expansion). Even if it were fixed, the result of this
5108 # check would be larger than it should be.
5109 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5113 # Under GNU Hurd, this test is not required because there is
5114 # no limit to the length of command line arguments.
5115 # Libtool will interpret -1 as no limit whatsoever
5116 lt_cv_sys_max_cmd_len
=-1;
5119 cygwin
* | mingw
* | cegcc
*)
5120 # On Win9x/ME, this test blows up -- it succeeds, but takes
5121 # about 5 minutes as the teststring grows exponentially.
5122 # Worse, since 9x/ME are not pre-emptively multitasking,
5123 # you end up with a "frozen" computer, even though with patience
5124 # the test eventually succeeds (with a max line length of 256k).
5125 # Instead, let's just punt: use the minimum linelength reported by
5126 # all of the supported platforms: 8192 (on NT/2K/XP).
5127 lt_cv_sys_max_cmd_len
=8192;
5131 # On AmigaOS with pdksh, this test takes hours, literally.
5132 # So we just punt and use a minimum line length of 8192.
5133 lt_cv_sys_max_cmd_len
=8192;
5136 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5137 # This has been around since 386BSD, at least. Likely further.
5138 if test -x /sbin
/sysctl
; then
5139 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5140 elif test -x /usr
/sbin
/sysctl
; then
5141 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5143 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5145 # And add a safety zone
5146 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5147 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5151 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5152 lt_cv_sys_max_cmd_len
=196608
5156 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5157 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5158 # nice to cause kernel panics so lets avoid the loop below.
5159 # First set a reasonable default.
5160 lt_cv_sys_max_cmd_len
=16384
5162 if test -x /sbin
/sysconfig
; then
5163 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5164 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5169 lt_cv_sys_max_cmd_len
=102400
5171 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5172 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5173 if test -n "$kargmax"; then
5174 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5176 lt_cv_sys_max_cmd_len
=32768
5180 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5181 if test -n "$lt_cv_sys_max_cmd_len"; then
5182 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5183 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5185 # Make teststring a little bigger before we do anything with it.
5186 # a 1K string should be a reasonable start.
5187 for i
in 1 2 3 4 5 6 7 8 ; do
5188 teststring
=$teststring$teststring
5190 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5191 # If test is not a shell built-in, we'll probably end up computing a
5192 # maximum length that is only half of the actual maximum length, but
5194 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5195 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5196 test $i != 17 # 1/2 MB should be enough
5199 teststring
=$teststring$teststring
5201 # Only check the string length outside the loop.
5202 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5204 # Add a significant safety factor because C++ compilers can tack on
5205 # massive amounts of additional arguments before passing them to the
5206 # linker. It appears as though 1/2 is a usable value.
5207 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5214 if test -n $lt_cv_sys_max_cmd_len ; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5216 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5219 $as_echo "none" >&6; }
5221 max_cmd_len
=$lt_cv_sys_max_cmd_len
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5233 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5234 # Try some XSI features
5237 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5239 && eval 'test $(( 1 + 1 )) -eq 2 \
5240 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5243 $as_echo "$xsi_shell" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5247 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5249 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5251 && lt_shell_append
=yes
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5253 $as_echo "$lt_shell_append" >&6; }
5256 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
5266 # test EBCDIC or ASCII
5267 case `echo X|tr X '\101'` in
5268 A
) # ASCII based system
5269 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5270 lt_SP2NL
='tr \040 \012'
5271 lt_NL2SP
='tr \015\012 \040\040'
5273 *) # EBCDIC based system
5274 lt_SP2NL
='tr \100 \n'
5275 lt_NL2SP
='tr \r\n \100\100'
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5288 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5289 if ${lt_cv_ld_reload_flag+:} false
; then :
5290 $as_echo_n "(cached) " >&6
5292 lt_cv_ld_reload_flag
='-r'
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5295 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5296 reload_flag
=$lt_cv_ld_reload_flag
5297 case $reload_flag in
5299 *) reload_flag
=" $reload_flag" ;;
5301 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5304 if test "$GCC" = yes; then
5305 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5307 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5322 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$OBJDUMP"; then
5329 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 OBJDUMP
=$ac_cv_prog_OBJDUMP
5349 if test -n "$OBJDUMP"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5351 $as_echo "$OBJDUMP" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_prog_OBJDUMP"; then
5360 ac_ct_OBJDUMP
=$OBJDUMP
5361 # Extract the first word of "objdump", so it can be a program name with args.
5362 set dummy objdump
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$ac_ct_OBJDUMP"; then
5369 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5389 if test -n "$ac_ct_OBJDUMP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5391 $as_echo "$ac_ct_OBJDUMP" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5397 if test "x$ac_ct_OBJDUMP" = x
; then
5400 case $cross_compiling:$ac_tool_warned in
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned
=yes ;;
5406 OBJDUMP
=$ac_ct_OBJDUMP
5409 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5412 test -z "$OBJDUMP" && OBJDUMP
=objdump
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5420 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5421 if ${lt_cv_deplibs_check_method+:} false
; then :
5422 $as_echo_n "(cached) " >&6
5424 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5425 lt_cv_file_magic_test_file
=
5426 lt_cv_deplibs_check_method
='unknown'
5427 # Need to set the preceding variable on all platforms that support
5428 # interlibrary dependencies.
5429 # 'none' -- dependencies not supported.
5430 # `unknown' -- same as none, but documents that we really don't know.
5431 # 'pass_all' -- all dependencies passed with no checks.
5432 # 'test_compile' -- check by making test program.
5433 # 'file_magic [[regex]]' -- check by looking for files in library path
5434 # which responds to the $file_magic_cmd with a given extended regex.
5435 # If you have `file' or equivalent on your system and you're not sure
5436 # whether `pass_all' will *always* work, you probably want this one.
5440 lt_cv_deplibs_check_method
=pass_all
5444 lt_cv_deplibs_check_method
=pass_all
5448 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5449 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5450 lt_cv_file_magic_test_file
=/shlib
/libc.so
5454 # func_win32_libid is a shell function defined in ltmain.sh
5455 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5456 lt_cv_file_magic_cmd
='func_win32_libid'
5460 # Base MSYS/MinGW do not provide the 'file' command needed by
5461 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5462 # unless we find 'file', for example because we are cross-compiling.
5463 if ( file / ) >/dev
/null
2>&1; then
5464 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5465 lt_cv_file_magic_cmd
='func_win32_libid'
5467 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5468 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5473 # use the weaker test based on 'objdump'. See mingw*.
5474 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5475 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5478 darwin
* | rhapsody
*)
5479 lt_cv_deplibs_check_method
=pass_all
5482 freebsd
* | dragonfly
*)
5483 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5486 # Not sure whether the presence of OpenBSD here was a mistake.
5487 # Let's accept both of them until this is cleared up.
5488 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5489 lt_cv_file_magic_cmd
=/usr
/bin
/file
5490 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5494 lt_cv_deplibs_check_method
=pass_all
5499 lt_cv_deplibs_check_method
=pass_all
5502 hpux10.20
* | hpux11
*)
5503 lt_cv_file_magic_cmd
=/usr
/bin
/file
5506 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5507 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
5510 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]'
5511 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
5514 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5515 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5521 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5522 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5525 irix5
* | irix6
* | nonstopux
*)
5527 *-32|*"-32 ") libmagic
=32-bit;;
5528 *-n32|*"-n32 ") libmagic
=N32
;;
5529 *-64|*"-64 ") libmagic
=64-bit;;
5530 *) libmagic
=never
-match;;
5532 lt_cv_deplibs_check_method
=pass_all
5535 # This must be Linux ELF.
5536 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5537 lt_cv_deplibs_check_method
=pass_all
5540 netbsd
* | netbsdelf
*-gnu)
5541 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
5542 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5544 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5549 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5550 lt_cv_file_magic_cmd
=/usr
/bin
/file
5551 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5555 lt_cv_deplibs_check_method
=pass_all
5559 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5560 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5562 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5566 osf3
* | osf4
* | osf5
*)
5567 lt_cv_deplibs_check_method
=pass_all
5571 lt_cv_deplibs_check_method
=pass_all
5575 lt_cv_deplibs_check_method
=pass_all
5578 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5579 lt_cv_deplibs_check_method
=pass_all
5583 case $host_vendor in
5585 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]'
5586 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5589 lt_cv_deplibs_check_method
=pass_all
5592 lt_cv_file_magic_cmd
='/bin/file'
5593 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5596 lt_cv_file_magic_cmd
='/bin/file'
5597 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5598 lt_cv_file_magic_test_file
=/lib
/libc.so
5601 lt_cv_deplibs_check_method
=pass_all
5604 lt_cv_deplibs_check_method
=pass_all
5610 lt_cv_deplibs_check_method
=pass_all
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5616 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5617 file_magic_cmd
=$lt_cv_file_magic_cmd
5618 deplibs_check_method
=$lt_cv_deplibs_check_method
5619 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5632 if test -n "$ac_tool_prefix"; then
5633 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5634 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_AR+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$AR"; then
5641 ac_cv_prog_AR
="$AR" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 if test -n "$AR"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5663 $as_echo "$AR" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5671 if test -z "$ac_cv_prog_AR"; then
5673 # Extract the first word of "ar", so it can be a program name with args.
5674 set dummy
ar; ac_word
=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$ac_ct_AR"; then
5681 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_ac_ct_AR
="ar"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5701 if test -n "$ac_ct_AR"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5703 $as_echo "$ac_ct_AR" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5709 if test "x$ac_ct_AR" = x
; then
5712 case $cross_compiling:$ac_tool_warned in
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5716 ac_tool_warned
=yes ;;
5724 test -z "$AR" && AR
=ar
5725 test -z "$AR_FLAGS" && AR_FLAGS
=cru
5737 if test -n "$ac_tool_prefix"; then
5738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5739 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if ${ac_cv_prog_STRIP+:} false
; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$STRIP"; then
5746 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir
=.
5753 for ac_exec_ext
in '' $ac_executable_extensions; do
5754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5755 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 STRIP
=$ac_cv_prog_STRIP
5766 if test -n "$STRIP"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5768 $as_echo "$STRIP" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5776 if test -z "$ac_cv_prog_STRIP"; then
5778 # Extract the first word of "strip", so it can be a program name with args.
5779 set dummy strip
; ac_word
=$2
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781 $as_echo_n "checking for $ac_word... " >&6; }
5782 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5783 $as_echo_n "(cached) " >&6
5785 if test -n "$ac_ct_STRIP"; then
5786 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir
=.
5793 for ac_exec_ext
in '' $ac_executable_extensions; do
5794 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_ac_ct_STRIP
="strip"
5796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5806 if test -n "$ac_ct_STRIP"; then
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5808 $as_echo "$ac_ct_STRIP" >&6; }
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811 $as_echo "no" >&6; }
5814 if test "x$ac_ct_STRIP" = x
; then
5817 case $cross_compiling:$ac_tool_warned in
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821 ac_tool_warned
=yes ;;
5826 STRIP
="$ac_cv_prog_STRIP"
5829 test -z "$STRIP" && STRIP
=:
5836 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5838 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if ${ac_cv_prog_RANLIB+:} false
; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$RANLIB"; then
5845 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 RANLIB
=$ac_cv_prog_RANLIB
5865 if test -n "$RANLIB"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5867 $as_echo "$RANLIB" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if test -z "$ac_cv_prog_RANLIB"; then
5876 ac_ct_RANLIB
=$RANLIB
5877 # Extract the first word of "ranlib", so it can be a program name with args.
5878 set dummy ranlib
; ac_word
=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5882 $as_echo_n "(cached) " >&6
5884 if test -n "$ac_ct_RANLIB"; then
5885 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir
=.
5892 for ac_exec_ext
in '' $ac_executable_extensions; do
5893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5905 if test -n "$ac_ct_RANLIB"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5907 $as_echo "$ac_ct_RANLIB" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5913 if test "x$ac_ct_RANLIB" = x
; then
5916 case $cross_compiling:$ac_tool_warned in
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5920 ac_tool_warned
=yes ;;
5922 RANLIB
=$ac_ct_RANLIB
5925 RANLIB
="$ac_cv_prog_RANLIB"
5928 test -z "$RANLIB" && RANLIB
=:
5935 # Determine commands to create old-style static archives.
5936 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5937 old_postinstall_cmds
='chmod 644 $oldlib'
5938 old_postuninstall_cmds
=
5940 if test -n "$RANLIB"; then
5943 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5946 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
5949 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5985 # If no C compiler was specified, use CC.
5988 # If no C compiler flags were specified, use CFLAGS.
5989 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5991 # Allow CC to be a program name with arguments.
5995 # Check for command to grab the raw symbol name followed by C symbol from nm.
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5997 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5998 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5999 $as_echo_n "(cached) " >&6
6002 # These are sane defaults that work on at least a few old systems.
6003 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6005 # Character class describing NM global symbol codes.
6006 symcode
='[BCDEGRST]'
6008 # Regexp to match symbols that can be accessed directly from C.
6009 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6011 # Define system-specific variables.
6016 cygwin
* | mingw
* | pw32
* | cegcc
*)
6017 symcode
='[ABCDGISTW]'
6020 if test "$host_cpu" = ia64
; then
6021 symcode
='[ABCDEGRST]'
6025 symcode
='[BCDEGRST]'
6028 symcode
='[BCDEGQRST]'
6039 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6047 # If we're using GNU nm, then use its standard symbol codes.
6048 case `$NM -V 2>&1` in
6049 *GNU
* | *'with BFD'*)
6050 symcode
='[ABCDGIRSTW]' ;;
6053 # Transform an extracted symbol line into a proper C declaration.
6054 # Some systems (esp. on ia64) link data and code symbols differently,
6055 # so use this general approach.
6056 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6058 # Transform an extracted symbol line into symbol name and symbol address
6059 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6060 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'"
6062 # Handle CRLF in mingw tool chain
6066 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6070 # Try without a prefix underscore, then with it.
6071 for ac_symprfx
in "" "_"; do
6073 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6074 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6076 # Write the raw and C identifiers.
6077 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6078 # Fake it for dumpbin and say T for any non-static function
6079 # and D for any global variable.
6080 # Also find C++ and __fastcall symbols from MSVC++,
6081 # which start with @ or ?.
6082 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6083 " {last_section=section; section=\$ 3};"\
6084 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6085 " \$ 0!~/External *\|/{next};"\
6086 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6087 " {if(hide[section]) next};"\
6088 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6089 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6090 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6091 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6092 " ' prfx=^$ac_symprfx"
6094 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6097 # Check to see that the pipe works correctly.
6101 cat > conftest.
$ac_ext <<_LT_EOF
6106 void nm_test_func(void);
6107 void nm_test_func(void){}
6111 int main(){nm_test_var='a';nm_test_func();return(0);}
6114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6115 (eval $ac_compile) 2>&5
6117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6118 test $ac_status = 0; }; then
6119 # Now try to grab the symbols.
6121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6122 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6125 test $ac_status = 0; } && test -s "$nlist"; then
6126 # Try sorting and uniquifying the output.
6127 if sort "$nlist" | uniq > "$nlist"T
; then
6128 mv -f "$nlist"T
"$nlist"
6133 # Make sure that we snagged all the symbols we need.
6134 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6135 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6136 cat <<_LT_EOF > conftest.$ac_ext
6142 # Now generate the symbol file.
6143 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6145 cat <<_LT_EOF >> conftest.$ac_ext
6147 /* The mapping between symbol names and symbols. */
6152 lt__PROGRAM__LTX_preloaded_symbols[] =
6154 { "@PROGRAM@", (void *) 0 },
6156 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
6157 cat <<\_LT_EOF
>> conftest.
$ac_ext
6161 /* This works around a problem
in FreeBSD linker
*/
6162 #ifdef FREEBSD_WORKAROUND
6163 static const void
*lt_preloaded_setup
() {
6164 return lt__PROGRAM__LTX_preloaded_symbols
;
6172 # Now try linking the two files.
6173 mv conftest.
$ac_objext conftstm.
$ac_objext
6174 lt_save_LIBS
="$LIBS"
6175 lt_save_CFLAGS
="$CFLAGS"
6176 LIBS
="conftstm.$ac_objext"
6177 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6179 (eval $ac_link) 2>&5
6181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6182 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6185 LIBS
="$lt_save_LIBS"
6186 CFLAGS
="$lt_save_CFLAGS"
6188 echo "cannot find nm_test_func in $nlist" >&5
6191 echo "cannot find nm_test_var in $nlist" >&5
6194 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6197 echo "$progname: failed program was:" >&5
6198 cat conftest.
$ac_ext >&5
6200 rm -rf conftest
* conftst
*
6202 # Do not use the global_symbol_pipe unless it works.
6203 if test "$pipe_works" = yes; then
6206 lt_cv_sys_global_symbol_pipe
=
6212 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6213 lt_cv_sys_global_symbol_to_cdecl
=
6215 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6217 $as_echo "failed" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6220 $as_echo "ok" >&6; }
6244 # Check whether --enable-libtool-lock was given.
6245 if test "${enable_libtool_lock+set}" = set; then :
6246 enableval
=$enable_libtool_lock;
6249 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6251 # Some flags need to be propagated to the compiler or linker for good
6255 # Find out which ABI we are using.
6256 echo 'int i;' > conftest.
$ac_ext
6257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6258 (eval $ac_compile) 2>&5
6260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6261 test $ac_status = 0; }; then
6262 case `/usr/bin/file conftest.$ac_objext` in
6274 # Find out which ABI we are using.
6275 echo '#line 6275 "configure"' > conftest.
$ac_ext
6276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6277 (eval $ac_compile) 2>&5
6279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6280 test $ac_status = 0; }; then
6281 if test "$lt_cv_prog_gnu_ld" = yes; then
6282 case `/usr/bin/file conftest.$ac_objext` in
6284 LD
="${LD-ld} -melf32bsmip"
6287 LD
="${LD-ld} -melf32bmipn32"
6290 LD
="${LD-ld} -melf64bmip"
6294 case `/usr/bin/file conftest.$ac_objext` in
6310 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6311 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6312 # Find out which ABI we are using.
6313 echo 'int i;' > conftest.
$ac_ext
6314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6315 (eval $ac_compile) 2>&5
6317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6318 test $ac_status = 0; }; then
6319 case `/usr/bin/file conftest.o` in
6322 x86_64
-*kfreebsd
*-gnu)
6323 LD
="${LD-ld} -m elf_i386_fbsd"
6326 LD
="${LD-ld} -m elf_i386"
6328 ppc64
-*linux
*|powerpc64
-*linux
*)
6329 LD
="${LD-ld} -m elf32ppclinux"
6332 LD
="${LD-ld} -m elf_s390"
6335 LD
="${LD-ld} -m elf32_sparc"
6341 x86_64
-*kfreebsd
*-gnu)
6342 LD
="${LD-ld} -m elf_x86_64_fbsd"
6345 LD
="${LD-ld} -m elf_x86_64"
6347 ppc
*-*linux
*|powerpc
*-*linux
*)
6348 LD
="${LD-ld} -m elf64ppc"
6350 s390
*-*linux
*|s390
*-*tpf
*)
6351 LD
="${LD-ld} -m elf64_s390"
6354 LD
="${LD-ld} -m elf64_sparc"
6364 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6365 SAVE_CFLAGS
="$CFLAGS"
6366 CFLAGS
="$CFLAGS -belf"
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6368 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6369 if ${lt_cv_cc_needs_belf+:} false
; then :
6370 $as_echo_n "(cached) " >&6
6373 ac_cpp
='$CPP $CPPFLAGS'
6374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6389 if ac_fn_c_try_link
"$LINENO"; then :
6390 lt_cv_cc_needs_belf
=yes
6392 lt_cv_cc_needs_belf
=no
6394 rm -f core conftest.err conftest.
$ac_objext \
6395 conftest
$ac_exeext conftest.
$ac_ext
6397 ac_cpp
='$CPP $CPPFLAGS'
6398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6404 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6405 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6406 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6407 CFLAGS
="$SAVE_CFLAGS"
6411 # Find out which ABI we are using.
6412 echo 'int i;' > conftest.
$ac_ext
6413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6414 (eval $ac_compile) 2>&5
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6417 test $ac_status = 0; }; then
6418 case `/usr/bin/file conftest.o` in
6420 case $lt_cv_prog_gnu_ld in
6421 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
6423 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6435 need_locks
="$enable_libtool_lock"
6439 rhapsody
* | darwin
*)
6440 if test -n "$ac_tool_prefix"; then
6441 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6442 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6444 $as_echo_n "checking for $ac_word... " >&6; }
6445 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6446 $as_echo_n "(cached) " >&6
6448 if test -n "$DSYMUTIL"; then
6449 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir
=.
6456 for ac_exec_ext
in '' $ac_executable_extensions; do
6457 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6458 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6469 if test -n "$DSYMUTIL"; then
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6471 $as_echo "$DSYMUTIL" >&6; }
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6474 $as_echo "no" >&6; }
6479 if test -z "$ac_cv_prog_DSYMUTIL"; then
6480 ac_ct_DSYMUTIL
=$DSYMUTIL
6481 # Extract the first word of "dsymutil", so it can be a program name with args.
6482 set dummy dsymutil
; ac_word
=$2
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6484 $as_echo_n "checking for $ac_word... " >&6; }
6485 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6486 $as_echo_n "(cached) " >&6
6488 if test -n "$ac_ct_DSYMUTIL"; then
6489 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6495 test -z "$as_dir" && as_dir
=.
6496 for ac_exec_ext
in '' $ac_executable_extensions; do
6497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6498 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6509 if test -n "$ac_ct_DSYMUTIL"; then
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6511 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6514 $as_echo "no" >&6; }
6517 if test "x$ac_ct_DSYMUTIL" = x
; then
6520 case $cross_compiling:$ac_tool_warned in
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6524 ac_tool_warned
=yes ;;
6526 DSYMUTIL
=$ac_ct_DSYMUTIL
6529 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6532 if test -n "$ac_tool_prefix"; then
6533 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6534 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536 $as_echo_n "checking for $ac_word... " >&6; }
6537 if ${ac_cv_prog_NMEDIT+:} false
; then :
6538 $as_echo_n "(cached) " >&6
6540 if test -n "$NMEDIT"; then
6541 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6547 test -z "$as_dir" && as_dir
=.
6548 for ac_exec_ext
in '' $ac_executable_extensions; do
6549 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6550 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 NMEDIT
=$ac_cv_prog_NMEDIT
6561 if test -n "$NMEDIT"; then
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6563 $as_echo "$NMEDIT" >&6; }
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566 $as_echo "no" >&6; }
6571 if test -z "$ac_cv_prog_NMEDIT"; then
6572 ac_ct_NMEDIT
=$NMEDIT
6573 # Extract the first word of "nmedit", so it can be a program name with args.
6574 set dummy nmedit
; ac_word
=$2
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6576 $as_echo_n "checking for $ac_word... " >&6; }
6577 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6578 $as_echo_n "(cached) " >&6
6580 if test -n "$ac_ct_NMEDIT"; then
6581 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6587 test -z "$as_dir" && as_dir
=.
6588 for ac_exec_ext
in '' $ac_executable_extensions; do
6589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6590 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6600 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6601 if test -n "$ac_ct_NMEDIT"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6603 $as_echo "$ac_ct_NMEDIT" >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6609 if test "x$ac_ct_NMEDIT" = x
; then
6612 case $cross_compiling:$ac_tool_warned in
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6616 ac_tool_warned
=yes ;;
6618 NMEDIT
=$ac_ct_NMEDIT
6621 NMEDIT
="$ac_cv_prog_NMEDIT"
6624 if test -n "$ac_tool_prefix"; then
6625 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6626 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 $as_echo_n "checking for $ac_word... " >&6; }
6629 if ${ac_cv_prog_LIPO+:} false
; then :
6630 $as_echo_n "(cached) " >&6
6632 if test -n "$LIPO"; then
6633 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6639 test -z "$as_dir" && as_dir
=.
6640 for ac_exec_ext
in '' $ac_executable_extensions; do
6641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6652 LIPO
=$ac_cv_prog_LIPO
6653 if test -n "$LIPO"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6655 $as_echo "$LIPO" >&6; }
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 $as_echo "no" >&6; }
6663 if test -z "$ac_cv_prog_LIPO"; then
6665 # Extract the first word of "lipo", so it can be a program name with args.
6666 set dummy lipo
; ac_word
=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6670 $as_echo_n "(cached) " >&6
6672 if test -n "$ac_ct_LIPO"; then
6673 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6679 test -z "$as_dir" && as_dir
=.
6680 for ac_exec_ext
in '' $ac_executable_extensions; do
6681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_ac_ct_LIPO
="lipo"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6693 if test -n "$ac_ct_LIPO"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6695 $as_echo "$ac_ct_LIPO" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6701 if test "x$ac_ct_LIPO" = x
; then
6704 case $cross_compiling:$ac_tool_warned in
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6708 ac_tool_warned
=yes ;;
6713 LIPO
="$ac_cv_prog_LIPO"
6716 if test -n "$ac_tool_prefix"; then
6717 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6718 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6720 $as_echo_n "checking for $ac_word... " >&6; }
6721 if ${ac_cv_prog_OTOOL+:} false
; then :
6722 $as_echo_n "(cached) " >&6
6724 if test -n "$OTOOL"; then
6725 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6731 test -z "$as_dir" && as_dir
=.
6732 for ac_exec_ext
in '' $ac_executable_extensions; do
6733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6744 OTOOL
=$ac_cv_prog_OTOOL
6745 if test -n "$OTOOL"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6747 $as_echo "$OTOOL" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 if test -z "$ac_cv_prog_OTOOL"; then
6757 # Extract the first word of "otool", so it can be a program name with args.
6758 set dummy otool
; ac_word
=$2
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 $as_echo_n "checking for $ac_word... " >&6; }
6761 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6762 $as_echo_n "(cached) " >&6
6764 if test -n "$ac_ct_OTOOL"; then
6765 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6771 test -z "$as_dir" && as_dir
=.
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_OTOOL
="otool"
6775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6785 if test -n "$ac_ct_OTOOL"; then
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6787 $as_echo "$ac_ct_OTOOL" >&6; }
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 $as_echo "no" >&6; }
6793 if test "x$ac_ct_OTOOL" = x
; then
6796 case $cross_compiling:$ac_tool_warned in
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned
=yes ;;
6805 OTOOL
="$ac_cv_prog_OTOOL"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6810 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 $as_echo_n "checking for $ac_word... " >&6; }
6813 if ${ac_cv_prog_OTOOL64+:} false
; then :
6814 $as_echo_n "(cached) " >&6
6816 if test -n "$OTOOL64"; then
6817 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6823 test -z "$as_dir" && as_dir
=.
6824 for ac_exec_ext
in '' $ac_executable_extensions; do
6825 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6826 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6836 OTOOL64
=$ac_cv_prog_OTOOL64
6837 if test -n "$OTOOL64"; then
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6839 $as_echo "$OTOOL64" >&6; }
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6842 $as_echo "no" >&6; }
6847 if test -z "$ac_cv_prog_OTOOL64"; then
6848 ac_ct_OTOOL64
=$OTOOL64
6849 # Extract the first word of "otool64", so it can be a program name with args.
6850 set dummy otool64
; ac_word
=$2
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6852 $as_echo_n "checking for $ac_word... " >&6; }
6853 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6854 $as_echo_n "(cached) " >&6
6856 if test -n "$ac_ct_OTOOL64"; then
6857 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6863 test -z "$as_dir" && as_dir
=.
6864 for ac_exec_ext
in '' $ac_executable_extensions; do
6865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6866 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6877 if test -n "$ac_ct_OTOOL64"; then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6879 $as_echo "$ac_ct_OTOOL64" >&6; }
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6882 $as_echo "no" >&6; }
6885 if test "x$ac_ct_OTOOL64" = x
; then
6888 case $cross_compiling:$ac_tool_warned in
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6892 ac_tool_warned
=yes ;;
6894 OTOOL64
=$ac_ct_OTOOL64
6897 OTOOL64
="$ac_cv_prog_OTOOL64"
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6927 $as_echo_n "checking for -single_module linker flag... " >&6; }
6928 if ${lt_cv_apple_cc_single_mod+:} false
; then :
6929 $as_echo_n "(cached) " >&6
6931 lt_cv_apple_cc_single_mod
=no
6932 if test -z "${LT_MULTI_MODULE}"; then
6933 # By default we will add the -single_module flag. You can override
6934 # by either setting the environment variable LT_MULTI_MODULE
6935 # non-empty at configure time, or by adding -multi_module to the
6937 rm -rf libconftest.dylib
*
6938 echo "int foo(void){return 1;}" > conftest.c
6939 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6940 -dynamiclib -Wl,-single_module conftest.c" >&5
6941 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6942 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
6944 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
6945 lt_cv_apple_cc_single_mod
=yes
6947 cat conftest.err
>&5
6949 rm -rf libconftest.dylib
*
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6954 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6956 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6957 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
6958 $as_echo_n "(cached) " >&6
6960 lt_cv_ld_exported_symbols_list
=no
6961 save_LDFLAGS
=$LDFLAGS
6962 echo "_main" > conftest.sym
6963 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6975 if ac_fn_c_try_link
"$LINENO"; then :
6976 lt_cv_ld_exported_symbols_list
=yes
6978 lt_cv_ld_exported_symbols_list
=no
6980 rm -f core conftest.err conftest.
$ac_objext \
6981 conftest
$ac_exeext conftest.
$ac_ext
6982 LDFLAGS
="$save_LDFLAGS"
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6986 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6988 rhapsody
* | darwin1.
[012])
6989 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6991 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6992 darwin
*) # darwin 5.x on
6993 # if running on 10.5 or later, the deployment target defaults
6994 # to the OS version, if on x86, and 10.4, the deployment
6995 # target defaults to 10.4. Don't you love it?
6996 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6997 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6998 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7000 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7002 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7006 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7007 _lt_dar_single_mod
='$single_module'
7009 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7010 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7012 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7014 if test "$DSYMUTIL" != ":"; then
7015 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7023 ac_cpp
='$CPP $CPPFLAGS'
7024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7028 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7029 # On Suns, sometimes $CPP names a directory.
7030 if test -n "$CPP" && test -d "$CPP"; then
7033 if test -z "$CPP"; then
7034 if ${ac_cv_prog_CPP+:} false
; then :
7035 $as_echo_n "(cached) " >&6
7037 # Double quotes because CPP needs to be expanded
7038 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7041 for ac_c_preproc_warn_flag
in '' yes
7043 # Use a header file that comes with gcc, so configuring glibc
7044 # with a fresh cross-compiler works.
7045 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7046 # <limits.h> exists even on freestanding compilers.
7047 # On the NeXT, cc -E runs the code through the compiler's parser,
7048 # not just through cpp. "Syntax error" is here to catch this case.
7049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7050 /* end confdefs.h. */
7052 # include <limits.h>
7054 # include <assert.h>
7058 if ac_fn_c_try_cpp
"$LINENO"; then :
7061 # Broken: fails on valid input.
7064 rm -f conftest.err conftest.i conftest.
$ac_ext
7066 # OK, works on sane cases. Now check whether nonexistent headers
7067 # can be detected and how.
7068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 #include <ac_nonexistent.h>
7072 if ac_fn_c_try_cpp
"$LINENO"; then :
7073 # Broken: success on invalid input.
7076 # Passes both tests.
7080 rm -f conftest.err conftest.i conftest.
$ac_ext
7083 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7084 rm -f conftest.i conftest.err conftest.
$ac_ext
7085 if $ac_preproc_ok; then :
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7098 $as_echo "$CPP" >&6; }
7100 for ac_c_preproc_warn_flag
in '' yes
7102 # Use a header file that comes with gcc, so configuring glibc
7103 # with a fresh cross-compiler works.
7104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7105 # <limits.h> exists even on freestanding compilers.
7106 # On the NeXT, cc -E runs the code through the compiler's parser,
7107 # not just through cpp. "Syntax error" is here to catch this case.
7108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7109 /* end confdefs.h. */
7111 # include <limits.h>
7113 # include <assert.h>
7117 if ac_fn_c_try_cpp
"$LINENO"; then :
7120 # Broken: fails on valid input.
7123 rm -f conftest.err conftest.i conftest.
$ac_ext
7125 # OK, works on sane cases. Now check whether nonexistent headers
7126 # can be detected and how.
7127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7128 /* end confdefs.h. */
7129 #include <ac_nonexistent.h>
7131 if ac_fn_c_try_cpp
"$LINENO"; then :
7132 # Broken: success on invalid input.
7135 # Passes both tests.
7139 rm -f conftest.err conftest.i conftest.
$ac_ext
7142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7143 rm -f conftest.i conftest.err conftest.
$ac_ext
7144 if $ac_preproc_ok; then :
7147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7149 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7150 See \`config.log' for more details" "$LINENO" 5; }
7154 ac_cpp
='$CPP $CPPFLAGS'
7155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7161 $as_echo_n "checking for ANSI C header files... " >&6; }
7162 if ${ac_cv_header_stdc+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7180 if ac_fn_c_try_compile
"$LINENO"; then :
7181 ac_cv_header_stdc
=yes
7183 ac_cv_header_stdc
=no
7185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7187 if test $ac_cv_header_stdc = yes; then
7188 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7190 /* end confdefs.h. */
7194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7195 $EGREP "memchr" >/dev
/null
2>&1; then :
7198 ac_cv_header_stdc
=no
7204 if test $ac_cv_header_stdc = yes; then
7205 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "free" >/dev
/null
2>&1; then :
7215 ac_cv_header_stdc
=no
7221 if test $ac_cv_header_stdc = yes; then
7222 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7223 if test "$cross_compiling" = yes; then :
7226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7227 /* end confdefs.h. */
7230 #if ((' ' & 0x0FF) == 0x020)
7231 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7232 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7234 # define ISLOWER(c) \
7235 (('a' <= (c) && (c) <= 'i') \
7236 || ('j' <= (c) && (c) <= 'r') \
7237 || ('s' <= (c) && (c) <= 'z'))
7238 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7241 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7246 for (i = 0; i < 256; i++)
7247 if (XOR (islower (i), ISLOWER (i))
7248 || toupper (i) != TOUPPER (i))
7253 if ac_fn_c_try_run
"$LINENO"; then :
7256 ac_cv_header_stdc
=no
7258 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7259 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7265 $as_echo "$ac_cv_header_stdc" >&6; }
7266 if test $ac_cv_header_stdc = yes; then
7268 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7272 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7273 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7274 inttypes.h stdint.h unistd.h
7276 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7277 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7279 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7280 cat >>confdefs.h
<<_ACEOF
7281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7289 for ac_header
in dlfcn.h
7291 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7293 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7294 cat >>confdefs.h
<<_ACEOF
7295 #define HAVE_DLFCN_H 1
7312 # Check whether --enable-shared was given.
7313 if test "${enable_shared+set}" = set; then :
7314 enableval
=$enable_shared; p
=${PACKAGE-default}
7316 yes) enable_shared
=yes ;;
7317 no
) enable_shared
=no
;;
7320 # Look at the argument we got. We use all the common list separators.
7321 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7322 for pkg
in $enableval; do
7324 if test "X$pkg" = "X$p"; then
7343 # Check whether --enable-static was given.
7344 if test "${enable_static+set}" = set; then :
7345 enableval
=$enable_static; p
=${PACKAGE-default}
7347 yes) enable_static
=yes ;;
7348 no
) enable_static
=no
;;
7351 # Look at the argument we got. We use all the common list separators.
7352 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7353 for pkg
in $enableval; do
7355 if test "X$pkg" = "X$p"; then
7375 # Check whether --with-pic was given.
7376 if test "${with_pic+set}" = set; then :
7377 withval
=$with_pic; pic_mode
="$withval"
7383 test -z "$pic_mode" && pic_mode
=default
7391 # Check whether --enable-fast-install was given.
7392 if test "${enable_fast_install+set}" = set; then :
7393 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7395 yes) enable_fast_install
=yes ;;
7396 no
) enable_fast_install
=no
;;
7398 enable_fast_install
=no
7399 # Look at the argument we got. We use all the common list separators.
7400 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7401 for pkg
in $enableval; do
7403 if test "X$pkg" = "X$p"; then
7404 enable_fast_install
=yes
7411 enable_fast_install
=yes
7424 # This can be used to rebuild libtool when needed
7425 LIBTOOL_DEPS
="$ltmain"
7427 # Always use our own libtool.
7428 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7454 test -z "$LN_S" && LN_S
="ln -s"
7469 if test -n "${ZSH_VERSION+set}" ; then
7470 setopt NO_GLOB_SUBST
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7474 $as_echo_n "checking for objdir... " >&6; }
7475 if ${lt_cv_objdir+:} false
; then :
7476 $as_echo_n "(cached) " >&6
7478 rm -f .libs
2>/dev
/null
7479 mkdir .libs
2>/dev
/null
7480 if test -d .libs
; then
7483 # MS-DOS does not allow filenames that begin with a dot.
7486 rmdir .libs
2>/dev
/null
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7489 $as_echo "$lt_cv_objdir" >&6; }
7490 objdir
=$lt_cv_objdir
7496 cat >>confdefs.h
<<_ACEOF
7497 #define LT_OBJDIR "$lt_cv_objdir/"
7518 # AIX sometimes has problems with the GCC collect2 program. For some
7519 # reason, if we set the COLLECT_NAMES environment variable, the problems
7520 # vanish in a puff of smoke.
7521 if test "X${COLLECT_NAMES+set}" != Xset
; then
7523 export COLLECT_NAMES
7528 # Sed substitution that helps us do robust quoting. It backslashifies
7529 # metacharacters that are still active within double-quoted strings.
7530 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7532 # Same as above, but do not quote variable references.
7533 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7535 # Sed substitution to delay expansion of an escaped shell variable in a
7536 # double_quote_subst'ed string.
7537 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7539 # Sed substitution to delay expansion of an escaped single quote.
7540 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7542 # Sed substitution to avoid accidental globbing in evaled expressions
7543 no_glob_subst
='s/\*/\\\*/g'
7547 can_build_shared
=yes
7549 # All known linkers require a `.a' archive for static linking (except MSVC,
7550 # which needs '.lib').
7553 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7556 old_CFLAGS
="$CFLAGS"
7558 # Set sane defaults for various variables
7559 test -z "$CC" && CC
=cc
7560 test -z "$LTCC" && LTCC
=$CC
7561 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7562 test -z "$LD" && LD
=ld
7563 test -z "$ac_objext" && ac_objext
=o
7565 for cc_temp
in $compiler""; do
7567 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
7568 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
7573 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7576 # Only perform the check for file, if the check method requires it
7577 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7578 case $deplibs_check_method in
7580 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7582 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7583 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7584 $as_echo_n "(cached) " >&6
7588 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7591 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7592 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7593 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7594 for ac_dir
in $ac_dummy; do
7596 test -z "$ac_dir" && ac_dir
=.
7597 if test -f $ac_dir/${ac_tool_prefix}file; then
7598 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7599 if test -n "$file_magic_test_file"; then
7600 case $deplibs_check_method in
7602 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7603 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7604 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7605 $EGREP "$file_magic_regex" > /dev
/null
; then
7610 *** Warning: the command libtool uses to detect shared libraries,
7611 *** $file_magic_cmd, produces output that libtool cannot recognize.
7612 *** The result is that libtool may fail to recognize shared libraries
7613 *** as such. This will affect the creation of libtool libraries that
7614 *** depend on shared libraries, but programs linked with such libtool
7615 *** libraries will work regardless of this problem. Nevertheless, you
7616 *** may want to report the problem to your system manager and/or to
7617 *** bug-libtool@gnu.org
7627 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7632 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7633 if test -n "$MAGIC_CMD"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7635 $as_echo "$MAGIC_CMD" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7645 if test -z "$lt_cv_path_MAGIC_CMD"; then
7646 if test -n "$ac_tool_prefix"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7648 $as_echo_n "checking for file... " >&6; }
7649 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7650 $as_echo_n "(cached) " >&6
7654 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7657 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7658 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7659 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7660 for ac_dir
in $ac_dummy; do
7662 test -z "$ac_dir" && ac_dir
=.
7663 if test -f $ac_dir/file; then
7664 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7665 if test -n "$file_magic_test_file"; then
7666 case $deplibs_check_method in
7668 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7669 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7670 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
7671 $EGREP "$file_magic_regex" > /dev
/null
; then
7676 *** Warning: the command libtool uses to detect shared libraries,
7677 *** $file_magic_cmd, produces output that libtool cannot recognize.
7678 *** The result is that libtool may fail to recognize shared libraries
7679 *** as such. This will affect the creation of libtool libraries that
7680 *** depend on shared libraries, but programs linked with such libtool
7681 *** libraries will work regardless of this problem. Nevertheless, you
7682 *** may want to report the problem to your system manager and/or to
7683 *** bug-libtool@gnu.org
7693 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7698 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7699 if test -n "$MAGIC_CMD"; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7701 $as_echo "$MAGIC_CMD" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7704 $as_echo "no" >&6; }
7717 # Use C for the default configuration in the libtool script
7721 ac_cpp
='$CPP $CPPFLAGS'
7722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7727 # Source file extension for C test sources.
7730 # Object file extension for compiled C test sources.
7734 # Code to be used in simple compile tests
7735 lt_simple_compile_test_code
="int some_variable = 0;"
7737 # Code to be used in simple link tests
7738 lt_simple_link_test_code
='int main(){return(0);}'
7746 # If no C compiler was specified, use CC.
7749 # If no C compiler flags were specified, use CFLAGS.
7750 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7752 # Allow CC to be a program name with arguments.
7755 # Save the default compiler, since it gets overwritten when the other
7756 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7757 compiler_DEFAULT
=$CC
7759 # save warnings/boilerplate of simple test code
7760 ac_outfile
=conftest.
$ac_objext
7761 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7762 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7763 _lt_compiler_boilerplate
=`cat conftest.err`
7766 ac_outfile
=conftest.
$ac_objext
7767 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7768 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
7769 _lt_linker_boilerplate
=`cat conftest.err`
7773 if test -n "$compiler"; then
7775 lt_prog_compiler_no_builtin_flag
=
7777 if test "$GCC" = yes; then
7778 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7781 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7782 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7783 $as_echo_n "(cached) " >&6
7785 lt_cv_prog_compiler_rtti_exceptions
=no
7786 ac_outfile
=conftest.
$ac_objext
7787 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7788 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7789 # Insert the option either (1) after the last *FLAGS variable, or
7790 # (2) before a word containing "conftest.", or (3) at the end.
7791 # Note that $ac_compile itself does not contain backslashes and begins
7792 # with a dollar sign (not a hyphen), so the echo should work correctly.
7793 # The option is referenced via a variable to avoid confusing sed.
7794 lt_compile
=`echo "$ac_compile" | $SED \
7795 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7796 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7797 -e 's:$: $lt_compiler_flag:'`
7798 (eval echo "\"\$as_me:7798: $lt_compile\"" >&5)
7799 (eval "$lt_compile" 2>conftest.err
)
7801 cat conftest.err
>&5
7802 echo "$as_me:7802: \$? = $ac_status" >&5
7803 if (exit $ac_status) && test -s "$ac_outfile"; then
7804 # The compiler can only warn and ignore the option if not recognized
7805 # So say no if there are warnings other than the usual output.
7806 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7807 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7808 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7809 lt_cv_prog_compiler_rtti_exceptions
=yes
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7816 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7818 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7819 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7831 lt_prog_compiler_wl
=
7832 lt_prog_compiler_pic
=
7833 lt_prog_compiler_static
=
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7836 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7838 if test "$GCC" = yes; then
7839 lt_prog_compiler_wl
='-Wl,'
7840 lt_prog_compiler_static
='-static'
7844 # All AIX code is PIC.
7845 if test "$host_cpu" = ia64
; then
7846 # AIX 5 now supports IA64 processor
7847 lt_prog_compiler_static
='-Bstatic'
7854 # see comment about AmigaOS4 .so support
7855 lt_prog_compiler_pic
='-fPIC'
7858 # FIXME: we need at least 68020 code to build shared libraries, but
7859 # adding the `-m68020' flag to GCC prevents building anything better,
7861 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7866 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7867 # PIC is the default for these OSes.
7870 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7871 # This hack is so that the source file can tell whether it is being
7872 # built for inclusion in a dll (and should export symbols for example).
7873 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7874 # (--disable-auto-import) libraries
7875 lt_prog_compiler_pic
='-DDLL_EXPORT'
7878 darwin
* | rhapsody
*)
7879 # PIC is the default on this platform
7880 # Common symbols not allowed in MH_DYLIB files
7881 lt_prog_compiler_pic
='-fno-common'
7885 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7886 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7887 # sets the default TLS model and affects inlining.
7893 lt_prog_compiler_pic
='-fPIC'
7899 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7900 # Instead, we relocate shared libraries at runtime.
7904 # Just because we use GCC doesn't mean we suddenly get shared libraries
7905 # on systems that don't support them.
7906 lt_prog_compiler_can_build_shared
=no
7911 # QNX uses GNU C++, but need to define -shared option too, otherwise
7913 lt_prog_compiler_pic
='-fPIC -shared'
7917 if test -d /usr
/nec
; then
7918 lt_prog_compiler_pic
=-Kconform_pic
7923 lt_prog_compiler_pic
='-fPIC'
7927 # PORTME Check for flag to pass linker flags through the system compiler.
7930 lt_prog_compiler_wl
='-Wl,'
7931 if test "$host_cpu" = ia64
; then
7932 # AIX 5 now supports IA64 processor
7933 lt_prog_compiler_static
='-Bstatic'
7935 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7939 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7940 # This hack is so that the source file can tell whether it is being
7941 # built for inclusion in a dll (and should export symbols for example).
7942 lt_prog_compiler_pic
='-DDLL_EXPORT'
7945 hpux9
* | hpux10
* | hpux11
*)
7946 lt_prog_compiler_wl
='-Wl,'
7947 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7954 lt_prog_compiler_pic
='+Z'
7957 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7958 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7961 irix5
* | irix6
* | nonstopux
*)
7962 lt_prog_compiler_wl
='-Wl,'
7963 # PIC (with -KPIC) is the default.
7964 lt_prog_compiler_static
='-non_shared'
7967 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7968 case $cc_basename in
7969 # old Intel for x86_64 which still supported -KPIC.
7971 lt_prog_compiler_wl
='-Wl,'
7972 lt_prog_compiler_pic
='-KPIC'
7973 lt_prog_compiler_static
='-static'
7975 # icc used to be incompatible with GCC.
7976 # ICC 10 doesn't accept -KPIC any more.
7978 lt_prog_compiler_wl
='-Wl,'
7979 lt_prog_compiler_pic
='-fPIC'
7980 lt_prog_compiler_static
='-static'
7982 # Lahey Fortran 8.1.
7984 lt_prog_compiler_wl
='-Wl,'
7985 lt_prog_compiler_pic
='--shared'
7986 lt_prog_compiler_static
='--static'
7988 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7989 # Portland Group compilers (*not* the Pentium gcc compiler,
7990 # which looks to be a dead project)
7991 lt_prog_compiler_wl
='-Wl,'
7992 lt_prog_compiler_pic
='-fpic'
7993 lt_prog_compiler_static
='-Bstatic'
7996 lt_prog_compiler_wl
='-Wl,'
7997 # All Alpha code is PIC.
7998 lt_prog_compiler_static
='-non_shared'
8001 # IBM XL C 8.0/Fortran 10.1 on PPC
8002 lt_prog_compiler_wl
='-Wl,'
8003 lt_prog_compiler_pic
='-qpic'
8004 lt_prog_compiler_static
='-qstaticlink'
8007 case `$CC -V 2>&1 | sed 5q` in
8010 lt_prog_compiler_pic
='-KPIC'
8011 lt_prog_compiler_static
='-Bstatic'
8012 lt_prog_compiler_wl
='-Wl,'
8015 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8016 lt_prog_compiler_pic
='-KPIC'
8017 lt_prog_compiler_static
='-Bstatic'
8018 lt_prog_compiler_wl
=''
8026 lt_prog_compiler_pic
='-KPIC'
8027 lt_prog_compiler_static
='-Bstatic'
8031 # QNX uses GNU C++, but need to define -shared option too, otherwise
8033 lt_prog_compiler_pic
='-fPIC -shared'
8036 osf3
* | osf4
* | osf5
*)
8037 lt_prog_compiler_wl
='-Wl,'
8038 # All OSF/1 code is PIC.
8039 lt_prog_compiler_static
='-non_shared'
8043 lt_prog_compiler_static
='-non_shared'
8047 lt_prog_compiler_pic
='-KPIC'
8048 lt_prog_compiler_static
='-Bstatic'
8049 case $cc_basename in
8051 lt_prog_compiler_wl
='-Qoption ld ';;
8053 lt_prog_compiler_wl
='-Wl,';;
8058 lt_prog_compiler_wl
='-Qoption ld '
8059 lt_prog_compiler_pic
='-PIC'
8060 lt_prog_compiler_static
='-Bstatic'
8063 sysv4
| sysv4.2uw2
* | sysv4.3
*)
8064 lt_prog_compiler_wl
='-Wl,'
8065 lt_prog_compiler_pic
='-KPIC'
8066 lt_prog_compiler_static
='-Bstatic'
8070 if test -d /usr
/nec
;then
8071 lt_prog_compiler_pic
='-Kconform_pic'
8072 lt_prog_compiler_static
='-Bstatic'
8076 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8077 lt_prog_compiler_wl
='-Wl,'
8078 lt_prog_compiler_pic
='-KPIC'
8079 lt_prog_compiler_static
='-Bstatic'
8083 lt_prog_compiler_wl
='-Wl,'
8084 lt_prog_compiler_can_build_shared
=no
8088 lt_prog_compiler_pic
='-pic'
8089 lt_prog_compiler_static
='-Bstatic'
8093 lt_prog_compiler_can_build_shared
=no
8099 # For platforms which do not support PIC, -DPIC is meaningless:
8101 lt_prog_compiler_pic
=
8104 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8108 $as_echo "$lt_prog_compiler_pic" >&6; }
8116 # Check to make sure the PIC flag actually works.
8118 if test -n "$lt_prog_compiler_pic"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8120 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8121 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8122 $as_echo_n "(cached) " >&6
8124 lt_cv_prog_compiler_pic_works
=no
8125 ac_outfile
=conftest.
$ac_objext
8126 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8127 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8128 # Insert the option either (1) after the last *FLAGS variable, or
8129 # (2) before a word containing "conftest.", or (3) at the end.
8130 # Note that $ac_compile itself does not contain backslashes and begins
8131 # with a dollar sign (not a hyphen), so the echo should work correctly.
8132 # The option is referenced via a variable to avoid confusing sed.
8133 lt_compile
=`echo "$ac_compile" | $SED \
8134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8136 -e 's:$: $lt_compiler_flag:'`
8137 (eval echo "\"\$as_me:8137: $lt_compile\"" >&5)
8138 (eval "$lt_compile" 2>conftest.err
)
8140 cat conftest.err
>&5
8141 echo "$as_me:8141: \$? = $ac_status" >&5
8142 if (exit $ac_status) && test -s "$ac_outfile"; then
8143 # The compiler can only warn and ignore the option if not recognized
8144 # So say no if there are warnings other than the usual output.
8145 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8146 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8147 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8148 lt_cv_prog_compiler_pic_works
=yes
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8155 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8157 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8158 case $lt_prog_compiler_pic in
8160 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8163 lt_prog_compiler_pic
=
8164 lt_prog_compiler_can_build_shared
=no
8175 # Check to make sure the static flag actually works.
8177 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8179 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8180 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8181 $as_echo_n "(cached) " >&6
8183 lt_cv_prog_compiler_static_works
=no
8184 save_LDFLAGS
="$LDFLAGS"
8185 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8186 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8187 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8188 # The linker can only warn and ignore the option if not recognized
8189 # So say no if there are warnings
8190 if test -s conftest.err
; then
8191 # Append any errors to the config.log.
8192 cat conftest.err
1>&5
8193 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8194 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8195 if diff conftest.exp conftest.er2
>/dev
/null
; then
8196 lt_cv_prog_compiler_static_works
=yes
8199 lt_cv_prog_compiler_static_works
=yes
8203 LDFLAGS
="$save_LDFLAGS"
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8207 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8209 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8212 lt_prog_compiler_static
=
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8223 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8224 $as_echo_n "(cached) " >&6
8226 lt_cv_prog_compiler_c_o
=no
8227 $RM -r conftest
2>/dev
/null
8231 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8233 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8234 # Insert the option either (1) after the last *FLAGS variable, or
8235 # (2) before a word containing "conftest.", or (3) at the end.
8236 # Note that $ac_compile itself does not contain backslashes and begins
8237 # with a dollar sign (not a hyphen), so the echo should work correctly.
8238 lt_compile
=`echo "$ac_compile" | $SED \
8239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8241 -e 's:$: $lt_compiler_flag:'`
8242 (eval echo "\"\$as_me:8242: $lt_compile\"" >&5)
8243 (eval "$lt_compile" 2>out
/conftest.err
)
8245 cat out
/conftest.err
>&5
8246 echo "$as_me:8246: \$? = $ac_status" >&5
8247 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8249 # The compiler can only warn and ignore the option if not recognized
8250 # So say no if there are warnings
8251 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8252 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8253 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8254 lt_cv_prog_compiler_c_o
=yes
8259 # SGI C++ compiler will create directory out/ii_files/ for
8260 # template instantiation
8261 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8262 $RM out
/* && rmdir out
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8269 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8278 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8279 $as_echo_n "(cached) " >&6
8281 lt_cv_prog_compiler_c_o
=no
8282 $RM -r conftest
2>/dev
/null
8286 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8288 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8289 # Insert the option either (1) after the last *FLAGS variable, or
8290 # (2) before a word containing "conftest.", or (3) at the end.
8291 # Note that $ac_compile itself does not contain backslashes and begins
8292 # with a dollar sign (not a hyphen), so the echo should work correctly.
8293 lt_compile
=`echo "$ac_compile" | $SED \
8294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8296 -e 's:$: $lt_compiler_flag:'`
8297 (eval echo "\"\$as_me:8297: $lt_compile\"" >&5)
8298 (eval "$lt_compile" 2>out
/conftest.err
)
8300 cat out
/conftest.err
>&5
8301 echo "$as_me:8301: \$? = $ac_status" >&5
8302 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8304 # The compiler can only warn and ignore the option if not recognized
8305 # So say no if there are warnings
8306 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
8307 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8308 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8309 lt_cv_prog_compiler_c_o
=yes
8314 # SGI C++ compiler will create directory out/ii_files/ for
8315 # template instantiation
8316 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8317 $RM out
/* && rmdir out
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8324 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8329 hard_links
="nottested"
8330 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8331 # do not overwrite the value of need_locks provided by the user
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8333 $as_echo_n "checking if we can lock with hard links... " >&6; }
8336 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8338 ln conftest.a conftest.b
2>&5 || hard_links
=no
8339 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8341 $as_echo "$hard_links" >&6; }
8342 if test "$hard_links" = no
; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8344 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8357 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8360 allow_undefined_flag
=
8361 always_export_symbols
=no
8363 archive_expsym_cmds
=
8364 compiler_needs_object
=no
8365 enable_shared_with_static_runtimes
=no
8366 export_dynamic_flag_spec
=
8367 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8368 hardcode_automatic
=no
8370 hardcode_direct_absolute
=no
8371 hardcode_libdir_flag_spec
=
8372 hardcode_libdir_flag_spec_ld
=
8373 hardcode_libdir_separator
=
8375 hardcode_shlibpath_var
=unsupported
8377 link_all_deplibs
=unknown
8380 old_archive_from_new_cmds
=
8381 old_archive_from_expsyms_cmds
=
8382 thread_safe_flag_spec
=
8383 whole_archive_flag_spec
=
8384 # include_expsyms should be a list of space-separated symbols to be *always*
8385 # included in the symbol list
8387 # exclude_expsyms can be an extended regexp of symbols to exclude
8388 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8389 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8390 # as well as any symbol that contains `d'.
8391 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8392 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8393 # platforms (ab)use it in PIC code, but their linkers get confused if
8394 # the symbol is explicitly referenced. Since portable code cannot
8395 # rely on this symbol name, it's probably fine to never include it in
8396 # preloaded symbol tables.
8397 # Exclude shared library initialization/finalization symbols.
8398 extract_expsyms_cmds
=
8401 cygwin
* | mingw
* | pw32
* | cegcc
*)
8402 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8403 # When not using gcc, we currently assume that we are using
8404 # Microsoft Visual C++.
8405 if test "$GCC" != yes; then
8410 # we just hope/assume this is gcc and not c89 (= MSVC++)
8416 linux
* | k
*bsd
*-gnu)
8422 if test "$with_gnu_ld" = yes; then
8423 # If archive_cmds runs LD, not CC, wlarc should be empty
8426 # Set some defaults for GNU ld with shared library support. These
8427 # are reset later if shared libraries are not supported. Putting them
8428 # here allows them to be overridden if necessary.
8429 runpath_var
=LD_RUN_PATH
8430 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8431 export_dynamic_flag_spec
='${wl}--export-dynamic'
8432 # ancient GNU ld didn't support --whole-archive et. al.
8433 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
8434 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8436 whole_archive_flag_spec
=
8438 supports_anon_versioning
=no
8439 case `$LD -v 2>&1` in
8440 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8441 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
8442 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8443 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8444 *\
2.11.
*) ;; # other 2.11 versions
8445 *) supports_anon_versioning
=yes ;;
8448 # See if GNU ld supports shared libraries.
8451 # On AIX/PPC, the GNU linker is very broken
8452 if test "$host_cpu" != ia64
; then
8456 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8457 *** to be unable to reliably create shared libraries on AIX.
8458 *** Therefore, libtool is disabling shared libraries support. If you
8459 *** really care for shared libraries, you may want to modify your PATH
8460 *** so that a non-GNU linker is found, and then restart.
8469 # see comment about AmigaOS4 .so support
8470 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8471 archive_expsym_cmds
=''
8474 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)'
8475 hardcode_libdir_flag_spec
='-L$libdir'
8476 hardcode_minus_L
=yes
8482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8483 allow_undefined_flag
=unsupported
8484 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8485 # support --undefined. This deserves some investigation. FIXME
8486 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8492 cygwin
* | mingw
* | pw32
* | cegcc
*)
8493 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8494 # as there is no search path for DLLs.
8495 hardcode_libdir_flag_spec
='-L$libdir'
8496 allow_undefined_flag
=unsupported
8497 always_export_symbols
=no
8498 enable_shared_with_static_runtimes
=yes
8499 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8501 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
8502 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8503 # If the export-symbols file already is a .def file (1st line
8504 # is EXPORTS), use it as is; otherwise, prepend...
8505 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8506 cp $export_symbols $output_objdir/$soname.def;
8508 echo EXPORTS > $output_objdir/$soname.def;
8509 cat $export_symbols >> $output_objdir/$soname.def;
8511 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8519 hardcode_shlibpath_var
=no
8520 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8521 export_dynamic_flag_spec
='${wl}-E'
8522 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8523 # Instead, shared libraries are loaded at an image base (0x10000000 by
8524 # default) and relocated if they conflict, which is a slow very memory
8525 # consuming and fragmenting process. To avoid this, we pick a random,
8526 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8527 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8528 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8529 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'
8532 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8534 if test "$host_os" = linux
-dietlibc; then
8535 case $cc_basename in
8536 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8539 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
8540 && test "$tmp_diet" = no
8543 tmp_sharedflag
='-shared'
8544 case $cc_basename,$host_cpu in
8545 pgcc
*) # Portland Group C compiler
8546 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'
8547 tmp_addflag
=' $pic_flag'
8549 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8550 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'
8551 tmp_addflag
=' $pic_flag -Mnomain' ;;
8552 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8553 tmp_addflag
=' -i_dynamic' ;;
8554 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8555 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8556 ifc
* | ifort
*) # Intel Fortran compiler
8557 tmp_addflag
=' -nofor_main' ;;
8558 lf95
*) # Lahey Fortran 8.1
8559 whole_archive_flag_spec
=
8560 tmp_sharedflag
='--shared' ;;
8561 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8562 tmp_sharedflag
='-qmkshrobj'
8565 case `$CC -V 2>&1 | sed 5q` in
8566 *Sun\ C
*) # Sun C 5.9
8567 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'
8568 compiler_needs_object
=yes
8569 tmp_sharedflag
='-G' ;;
8570 *Sun\ F
*) # Sun Fortran 8.3
8571 tmp_sharedflag
='-G' ;;
8573 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8575 if test "x$supports_anon_versioning" = xyes
; then
8576 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8578 echo "local: *; };" >> $output_objdir/$libname.ver~
8579 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8582 case $cc_basename in
8584 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8585 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8586 hardcode_libdir_flag_spec
=
8587 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8588 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8589 if test "x$supports_anon_versioning" = xyes
; then
8590 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8592 echo "local: *; };" >> $output_objdir/$libname.ver~
8593 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8602 netbsd
* | netbsdelf
*-gnu)
8603 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8604 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8607 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8608 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8613 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
8617 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8618 *** create shared libraries on Solaris systems. Therefore, libtool
8619 *** is disabling shared libraries support. We urge you to upgrade GNU
8620 *** binutils to release 2.9.1 or newer. Another option is to modify
8621 *** your PATH or compiler configuration so that the native linker is
8622 *** used, and then restart.
8625 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8627 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8633 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8634 case `$LD -v 2>&1` in
8635 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
8639 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8640 *** reliably create shared libraries on SCO systems. Therefore, libtool
8641 *** is disabling shared libraries support. We urge you to upgrade GNU
8642 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8643 *** your PATH or compiler configuration so that the native linker is
8644 *** used, and then restart.
8649 # For security reasons, it is highly recommended that you always
8650 # use absolute paths for naming shared libraries, and exclude the
8651 # DT_RUNPATH tag from executables and libraries. But doing so
8652 # requires that you compile everything twice, which is a pain.
8653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8655 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8656 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8665 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8668 hardcode_shlibpath_var
=no
8672 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
8673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8674 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8681 if test "$ld_shlibs" = no
; then
8683 hardcode_libdir_flag_spec
=
8684 export_dynamic_flag_spec
=
8685 whole_archive_flag_spec
=
8688 # PORTME fill in a description of your system's linker (not GNU ld)
8691 allow_undefined_flag
=unsupported
8692 always_export_symbols
=yes
8693 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'
8694 # Note: this linker hardcodes the directories in LIBPATH if there
8695 # are no directories specified by -L.
8696 hardcode_minus_L
=yes
8697 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8698 # Neither direct hardcoding nor static linking is supported with a
8700 hardcode_direct
=unsupported
8705 if test "$host_cpu" = ia64
; then
8706 # On IA64, the linker does run time linking by default, so we don't
8707 # have to do anything special.
8708 aix_use_runtimelinking
=no
8709 exp_sym_flag
='-Bexport'
8712 # If we're using GNU nm, then we don't want the "-C" option.
8713 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8714 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
8715 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'
8717 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'
8719 aix_use_runtimelinking
=no
8721 # Test if we are trying to use run time linking or normal
8722 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8723 # need to do runtime linking.
8724 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8725 for ld_flag
in $LDFLAGS; do
8726 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8727 aix_use_runtimelinking
=yes
8734 exp_sym_flag
='-bexport'
8735 no_entry_flag
='-bnoentry'
8738 # When large executables or shared objects are built, AIX ld can
8739 # have problems creating the table of contents. If linking a library
8740 # or program results in "error TOC overflow" add -mminimal-toc to
8741 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8742 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8746 hardcode_direct_absolute
=yes
8747 hardcode_libdir_separator
=':'
8748 link_all_deplibs
=yes
8749 file_list_spec
='${wl}-f,'
8751 if test "$GCC" = yes; then
8752 case $host_os in aix4.
[012]|aix4.
[012].
*)
8753 # We only want to do this on AIX 4.2 and lower, the check
8754 # below for broken collect2 doesn't work under 4.3+
8755 collect2name
=`${CC} -print-prog-name=collect2`
8756 if test -f "$collect2name" &&
8757 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
8759 # We have reworked collect2
8762 # We have old collect2
8763 hardcode_direct
=unsupported
8764 # It fails to find uninstalled libraries when the uninstalled
8765 # path is not listed in the libpath. Setting hardcode_minus_L
8766 # to unsupported forces relinking
8767 hardcode_minus_L
=yes
8768 hardcode_libdir_flag_spec
='-L$libdir'
8769 hardcode_libdir_separator
=
8773 shared_flag
='-shared'
8774 if test "$aix_use_runtimelinking" = yes; then
8775 shared_flag
="$shared_flag "'${wl}-G'
8780 if test "$host_cpu" = ia64
; then
8781 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8782 # chokes on -Wl,-G. The following line is correct:
8785 if test "$aix_use_runtimelinking" = yes; then
8786 shared_flag
='${wl}-G'
8788 shared_flag
='${wl}-bM:SRE'
8793 export_dynamic_flag_spec
='${wl}-bexpall'
8794 # It seems that -bexpall does not export symbols beginning with
8795 # underscore (_), so it is better to generate a list of symbols to export.
8796 always_export_symbols
=yes
8797 if test "$aix_use_runtimelinking" = yes; then
8798 # Warning - without using the other runtime loading flags (-brtl),
8799 # -berok will link without error, but may produce a broken library.
8800 allow_undefined_flag
='-berok'
8801 # Determine the default libpath from the value encoded in an
8803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8814 if ac_fn_c_try_link
"$LINENO"; then :
8816 lt_aix_libpath_sed
='
8817 /Import File Strings/,/^$/ {
8823 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8824 # Check for a 64-bit object if we didn't find anything.
8825 if test -z "$aix_libpath"; then
8826 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8829 rm -f core conftest.err conftest.
$ac_objext \
8830 conftest
$ac_exeext conftest.
$ac_ext
8831 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8833 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8834 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"
8836 if test "$host_cpu" = ia64
; then
8837 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8838 allow_undefined_flag
="-z nodefs"
8839 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"
8841 # Determine the default libpath from the value encoded in an
8843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8854 if ac_fn_c_try_link
"$LINENO"; then :
8856 lt_aix_libpath_sed
='
8857 /Import File Strings/,/^$/ {
8863 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8864 # Check for a 64-bit object if we didn't find anything.
8865 if test -z "$aix_libpath"; then
8866 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8869 rm -f core conftest.err conftest.
$ac_objext \
8870 conftest
$ac_exeext conftest.
$ac_ext
8871 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8873 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8874 # Warning - without using the other run time loading flags,
8875 # -berok will link without error, but may produce a broken library.
8876 no_undefined_flag
=' ${wl}-bernotok'
8877 allow_undefined_flag
=' ${wl}-berok'
8878 # Exported symbols can be pulled into shared objects from archives
8879 whole_archive_flag_spec
='$convenience'
8880 archive_cmds_need_lc
=yes
8881 # This is similar to how AIX traditionally builds its shared libraries.
8882 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'
8890 # see comment about AmigaOS4 .so support
8891 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds
=''
8895 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)'
8896 hardcode_libdir_flag_spec
='-L$libdir'
8897 hardcode_minus_L
=yes
8903 export_dynamic_flag_spec
=-rdynamic
8906 cygwin
* | mingw
* | pw32
* | cegcc
*)
8907 # When not using gcc, we currently assume that we are using
8908 # Microsoft Visual C++.
8909 # hardcode_libdir_flag_spec is actually meaningless, as there is
8910 # no search path for DLLs.
8911 hardcode_libdir_flag_spec
=' '
8912 allow_undefined_flag
=unsupported
8913 # Tell ltmain to make .lib files, not .a files.
8915 # Tell ltmain to make .dll files, not .so files.
8917 # FIXME: Setting linknames here is a bad hack.
8918 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8919 # The linker will automatically build a .lib file if we build a DLL.
8920 old_archive_from_new_cmds
='true'
8921 # FIXME: Should let the user specify the lib program.
8922 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8923 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8924 enable_shared_with_static_runtimes
=yes
8927 darwin
* | rhapsody
*)
8930 archive_cmds_need_lc
=no
8932 hardcode_automatic
=yes
8933 hardcode_shlibpath_var
=unsupported
8934 whole_archive_flag_spec
=''
8935 link_all_deplibs
=yes
8936 allow_undefined_flag
="$_lt_dar_allow_undefined"
8937 case $cc_basename in
8938 ifort
*) _lt_dar_can_shared
=yes ;;
8939 *) _lt_dar_can_shared
=$GCC ;;
8941 if test "$_lt_dar_can_shared" = "yes"; then
8942 output_verbose_link_cmd
=echo
8943 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8944 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8945 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}"
8946 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}"
8955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8956 hardcode_libdir_flag_spec
='-L$libdir'
8957 hardcode_shlibpath_var
=no
8964 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8965 # support. Future versions do this automatically, but an explicit c++rt0.o
8966 # does not break anything, and helps significantly (at the cost of a little
8969 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8970 hardcode_libdir_flag_spec
='-R$libdir'
8972 hardcode_shlibpath_var
=no
8975 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8977 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8979 hardcode_minus_L
=yes
8980 hardcode_shlibpath_var
=no
8983 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8984 freebsd
* | dragonfly
*)
8985 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8986 hardcode_libdir_flag_spec
='-R$libdir'
8988 hardcode_shlibpath_var
=no
8992 if test "$GCC" = yes; then
8993 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'
8995 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'
8997 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8998 hardcode_libdir_separator
=:
9001 # hardcode_minus_L: Not really in the search PATH,
9002 # but as the default location of the library.
9003 hardcode_minus_L
=yes
9004 export_dynamic_flag_spec
='${wl}-E'
9008 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9009 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9011 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9013 if test "$with_gnu_ld" = no
; then
9014 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9015 hardcode_libdir_flag_spec_ld
='+b $libdir'
9016 hardcode_libdir_separator
=:
9018 hardcode_direct_absolute
=yes
9019 export_dynamic_flag_spec
='${wl}-E'
9020 # hardcode_minus_L: Not really in the search PATH,
9021 # but as the default location of the library.
9022 hardcode_minus_L
=yes
9027 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9030 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9033 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9036 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9042 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9045 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9048 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9052 if test "$with_gnu_ld" = no
; then
9053 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9054 hardcode_libdir_separator
=:
9059 hardcode_shlibpath_var
=no
9063 hardcode_direct_absolute
=yes
9064 export_dynamic_flag_spec
='${wl}-E'
9066 # hardcode_minus_L: Not really in the search PATH,
9067 # but as the default location of the library.
9068 hardcode_minus_L
=yes
9074 irix5
* | irix6
* | nonstopux
*)
9075 if test "$GCC" = yes; then
9076 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'
9077 # Try to use the -exported_symbol ld option, if it does not
9078 # work, assume that -exports_file does not work either and
9079 # implicitly export all symbols.
9080 save_LDFLAGS
="$LDFLAGS"
9081 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9086 if ac_fn_c_try_link
"$LINENO"; then :
9087 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'
9090 rm -f core conftest.err conftest.
$ac_objext \
9091 conftest
$ac_exeext conftest.
$ac_ext
9092 LDFLAGS
="$save_LDFLAGS"
9094 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'
9095 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'
9097 archive_cmds_need_lc
='no'
9098 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9099 hardcode_libdir_separator
=:
9101 link_all_deplibs
=yes
9104 netbsd
* | netbsdelf
*-gnu)
9105 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9106 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9108 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9110 hardcode_libdir_flag_spec
='-R$libdir'
9112 hardcode_shlibpath_var
=no
9116 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9119 hardcode_libdir_separator
=:
9120 hardcode_shlibpath_var
=no
9127 if test -f /usr
/libexec
/ld.so
; then
9129 hardcode_shlibpath_var
=no
9130 hardcode_direct_absolute
=yes
9131 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9132 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9133 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9134 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9135 export_dynamic_flag_spec
='${wl}-E'
9138 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9139 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9140 hardcode_libdir_flag_spec
='-R$libdir'
9143 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9144 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9154 hardcode_libdir_flag_spec
='-L$libdir'
9155 hardcode_minus_L
=yes
9156 allow_undefined_flag
=unsupported
9157 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'
9158 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9162 if test "$GCC" = yes; then
9163 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9164 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'
9166 allow_undefined_flag
=' -expect_unresolved \*'
9167 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'
9169 archive_cmds_need_lc
='no'
9170 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9171 hardcode_libdir_separator
=:
9174 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9175 if test "$GCC" = yes; then
9176 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9177 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'
9178 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9180 allow_undefined_flag
=' -expect_unresolved \*'
9181 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'
9182 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~
9183 $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'
9185 # Both c and cxx compiler support -rpath directly
9186 hardcode_libdir_flag_spec
='-rpath $libdir'
9188 archive_cmds_need_lc
='no'
9189 hardcode_libdir_separator
=:
9193 no_undefined_flag
=' -z defs'
9194 if test "$GCC" = yes; then
9196 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9197 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9198 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9200 case `$CC -V 2>&1` in
9203 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9204 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9205 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9209 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9210 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9211 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9215 hardcode_libdir_flag_spec
='-R$libdir'
9216 hardcode_shlibpath_var
=no
9218 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9220 # The compiler driver will combine and reorder linker options,
9221 # but understands `-z linker_flag'. GCC discards it without `$wl',
9222 # but is careful enough not to reorder.
9223 # Supported since Solaris 2.6 (maybe 2.5.1?)
9224 if test "$GCC" = yes; then
9225 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9227 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9231 link_all_deplibs
=yes
9235 if test "x$host_vendor" = xsequent
; then
9236 # Use $CC to link under sequent, because it throws in some extra .o
9237 # files that make .init and .fini sections work.
9238 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9240 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9242 hardcode_libdir_flag_spec
='-L$libdir'
9244 hardcode_minus_L
=yes
9245 hardcode_shlibpath_var
=no
9249 case $host_vendor in
9251 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9252 hardcode_direct
=yes # is this really true???
9255 ## LD is ld it makes a PLAMLIB
9256 ## CC just makes a GrossModule.
9257 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9258 reload_cmds
='$CC -r -o $output$reload_objs'
9262 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9263 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9266 runpath_var
='LD_RUN_PATH'
9267 hardcode_shlibpath_var
=no
9271 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9272 hardcode_shlibpath_var
=no
9273 export_dynamic_flag_spec
='-Bexport'
9277 if test -d /usr
/nec
; then
9278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9279 hardcode_shlibpath_var
=no
9280 runpath_var
=LD_RUN_PATH
9281 hardcode_runpath_var
=yes
9286 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9287 no_undefined_flag
='${wl}-z,text'
9288 archive_cmds_need_lc
=no
9289 hardcode_shlibpath_var
=no
9290 runpath_var
='LD_RUN_PATH'
9292 if test "$GCC" = yes; then
9293 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9294 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9296 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9297 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9301 sysv5
* | sco3.2v5
* | sco5v6
*)
9302 # Note: We can NOT use -z defs as we might desire, because we do not
9303 # link with -lc, and that would cause any symbols used from libc to
9304 # always be unresolved, which means just about no library would
9305 # ever link correctly. If we're not using GNU ld we use -z text
9306 # though, which does catch some bad symbols but isn't as heavy-handed
9308 no_undefined_flag
='${wl}-z,text'
9309 allow_undefined_flag
='${wl}-z,nodefs'
9310 archive_cmds_need_lc
=no
9311 hardcode_shlibpath_var
=no
9312 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9313 hardcode_libdir_separator
=':'
9314 link_all_deplibs
=yes
9315 export_dynamic_flag_spec
='${wl}-Bexport'
9316 runpath_var
='LD_RUN_PATH'
9318 if test "$GCC" = yes; then
9319 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9320 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9322 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9323 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9328 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9329 hardcode_libdir_flag_spec
='-L$libdir'
9330 hardcode_shlibpath_var
=no
9338 if test x
$host_vendor = xsni
; then
9340 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9341 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9348 $as_echo "$ld_shlibs" >&6; }
9349 test "$ld_shlibs" = no
&& can_build_shared
=no
9351 with_gnu_ld
=$with_gnu_ld
9368 # Do we need to explicitly link libc?
9370 case "x$archive_cmds_need_lc" in
9372 # Assume -lc should be added
9373 archive_cmds_need_lc
=yes
9375 if test "$enable_shared" = yes && test "$GCC" = yes; then
9376 case $archive_cmds in
9378 # FIXME: we may have to deal with multi-command sequences.
9381 # Test whether the compiler implicitly links with -lc since on some
9382 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9383 # to ld, don't add -lc before -lgcc.
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9385 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9387 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9390 (eval $ac_compile) 2>&5
9392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9393 test $ac_status = 0; } 2>conftest.err
; then
9396 libobjs
=conftest.
$ac_objext
9398 wl
=$lt_prog_compiler_wl
9399 pic_flag
=$lt_prog_compiler_pic
9405 lt_save_allow_undefined_flag
=$allow_undefined_flag
9406 allow_undefined_flag
=
9407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9408 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9411 test $ac_status = 0; }
9413 archive_cmds_need_lc
=no
9415 archive_cmds_need_lc
=yes
9417 allow_undefined_flag
=$lt_save_allow_undefined_flag
9419 cat conftest.err
1>&5
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9423 $as_echo "$archive_cmds_need_lc" >&6; }
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9587 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9589 if test "$GCC" = yes; then
9591 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9592 *) lt_awk_arg
="/^libraries:/" ;;
9594 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9595 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
9596 # if the path contains ";" then we assume it to be the separator
9597 # otherwise default to the standard path separator (i.e. ":") - it is
9598 # assumed that no part of a normal pathname contains ";" but that should
9599 # okay in the real world where ";" in dirpaths is itself problematic.
9600 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9602 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9604 # Ok, now we have the path, separated by spaces, we can step through it
9605 # and add multilib dir if necessary.
9606 lt_tmp_lt_search_path_spec
=
9607 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9608 for lt_sys_path
in $lt_search_path_spec; do
9609 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9610 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9612 test -d "$lt_sys_path" && \
9613 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9616 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9617 BEGIN {RS=" "; FS="/|\n";} {
9620 for (lt_i = NF; lt_i > 0; lt_i--) {
9621 if ($lt_i != "" && $lt_i != ".") {
9622 if ($lt_i == "..") {
9625 if (lt_count == 0) {
9626 lt_foo="/" $lt_i lt_foo;
9633 if (lt_foo != "") { lt_freq[lt_foo]++; }
9634 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9636 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9638 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9641 libname_spec
='lib$name'
9649 shlibpath_overrides_runpath
=unknown
9651 dynamic_linker
="$host_os ld.so"
9652 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9653 need_lib_prefix
=unknown
9654 hardcode_into_libs
=no
9656 # when you set need_version to no, make sure it does not cause -set_version
9657 # flags to be left without arguments
9658 need_version
=unknown
9663 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9664 shlibpath_var
=LIBPATH
9666 # AIX 3 has no versioning support, so we append a major version to the name.
9667 soname_spec
='${libname}${release}${shared_ext}$major'
9674 hardcode_into_libs
=yes
9675 if test "$host_cpu" = ia64
; then
9676 # AIX 5 supports IA64
9677 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9678 shlibpath_var
=LD_LIBRARY_PATH
9680 # With GCC up to 2.95.x, collect2 would create an import file
9681 # for dependence libraries. The import file would start with
9682 # the line `#! .'. This would cause the generated library to
9683 # depend on `.', always an invalid library. This was fixed in
9684 # development snapshots of GCC prior to 3.0.
9686 aix4
| aix4.
[01] | aix4.
[01].
*)
9687 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9689 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
9696 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9697 # soname into executable. Probably we can add versioning support to
9698 # collect2, so additional links can be useful in future.
9699 if test "$aix_use_runtimelinking" = yes; then
9700 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9701 # instead of lib<name>.a to let people know that these are not
9702 # typical AIX shared libraries.
9703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9705 # We preserve .a as extension for shared libraries through AIX4.2
9706 # and later when we are not doing run time linking.
9707 library_names_spec
='${libname}${release}.a $libname.a'
9708 soname_spec
='${libname}${release}${shared_ext}$major'
9710 shlibpath_var
=LIBPATH
9717 # Since July 2007 AmigaOS4 officially supports .so libraries.
9718 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9719 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9722 library_names_spec
='$libname.ixlibrary $libname.a'
9723 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9724 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'
9730 library_names_spec
='${libname}${shared_ext}'
9731 dynamic_linker
="$host_os ld.so"
9732 shlibpath_var
=LIBRARY_PATH
9738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739 soname_spec
='${libname}${release}${shared_ext}$major'
9740 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9741 shlibpath_var
=LD_LIBRARY_PATH
9742 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9743 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9744 # the default ld.so.conf also contains /usr/contrib/lib and
9745 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9746 # libtool to hard-code these into programs
9749 cygwin
* | mingw
* | pw32
* | cegcc
*)
9750 version_type
=windows
9755 case $GCC,$host_os in
9756 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
9757 library_names_spec
='$libname.dll.a'
9758 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9759 postinstall_cmds
='base_file=`basename \${file}`~
9760 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9761 dldir=$destdir/`dirname \$dlpath`~
9762 test -d \$dldir || mkdir -p \$dldir~
9763 $install_prog $dir/$dlname \$dldir/$dlname~
9764 chmod a+x \$dldir/$dlname~
9765 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9766 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9768 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9769 dlpath=$dir/\$dldll~
9771 shlibpath_overrides_runpath
=yes
9775 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9776 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9777 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9780 # MinGW DLLs use traditional 'lib' prefix
9781 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9782 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9783 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
9784 # It is most probably a Windows format PATH printed by
9785 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9786 # path with ; separators, and with drive letters. We can handle the
9787 # drive letters (cygwin fileutils understands them), so leave them,
9788 # especially as we might pass files found there to a mingw objdump,
9789 # which wouldn't understand a cygwinified path. Ahh.
9790 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9792 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9796 # pw32 DLLs use 'pw' prefix rather than 'lib'
9797 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
9803 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
9806 dynamic_linker
='Win32 ld.exe'
9807 # FIXME: first we should search . and the directory the executable is in
9811 darwin
* | rhapsody
*)
9812 dynamic_linker
="$host_os dyld"
9816 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9817 soname_spec
='${libname}${release}${major}$shared_ext'
9818 shlibpath_overrides_runpath
=yes
9819 shlibpath_var
=DYLD_LIBRARY_PATH
9820 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9822 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9823 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9831 soname_spec
='${libname}${release}${shared_ext}$major'
9832 shlibpath_var
=LD_LIBRARY_PATH
9839 freebsd
* | dragonfly
*)
9840 # DragonFly does not have aout. When/if they implement a new
9841 # versioning mechanism, adjust this.
9842 if test -x /usr
/bin
/objformat
; then
9843 objformat
=`/usr/bin/objformat`
9846 freebsd
[123]*) objformat
=aout
;;
9850 version_type
=freebsd
-$objformat
9851 case $version_type in
9853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9858 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9862 shlibpath_var
=LD_LIBRARY_PATH
9865 shlibpath_overrides_runpath
=yes
9867 freebsd3.
[01]* | freebsdelf3.
[01]*)
9868 shlibpath_overrides_runpath
=yes
9869 hardcode_into_libs
=yes
9871 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9872 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9873 shlibpath_overrides_runpath
=no
9874 hardcode_into_libs
=yes
9876 *) # from 4.6 on, and DragonFly
9877 shlibpath_overrides_runpath
=yes
9878 hardcode_into_libs
=yes
9887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9888 soname_spec
='${libname}${release}${shared_ext}$major'
9889 shlibpath_var
=LD_LIBRARY_PATH
9890 hardcode_into_libs
=yes
9893 hpux9
* | hpux10
* | hpux11
*)
9894 # Give a soname corresponding to the major version so that dld.sl refuses to
9895 # link against other versions.
9902 hardcode_into_libs
=yes
9903 dynamic_linker
="$host_os dld.so"
9904 shlibpath_var
=LD_LIBRARY_PATH
9905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9907 soname_spec
='${libname}${release}${shared_ext}$major'
9908 if test "X$HPUX_IA64_MODE" = X32
; then
9909 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9911 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9913 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9917 hardcode_into_libs
=yes
9918 dynamic_linker
="$host_os dld.sl"
9919 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9920 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9922 soname_spec
='${libname}${release}${shared_ext}$major'
9923 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9924 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9928 dynamic_linker
="$host_os dld.sl"
9929 shlibpath_var
=SHLIB_PATH
9930 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9932 soname_spec
='${libname}${release}${shared_ext}$major'
9935 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9936 postinstall_cmds
='chmod 555 $lib'
9943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9944 soname_spec
='${libname}${release}${shared_ext}$major'
9945 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9946 shlibpath_var
=LD_LIBRARY_PATH
9947 shlibpath_overrides_runpath
=no
9948 hardcode_into_libs
=yes
9951 irix5
* | irix6
* | nonstopux
*)
9953 nonstopux
*) version_type
=nonstopux
;;
9955 if test "$lt_cv_prog_gnu_ld" = yes; then
9963 soname_spec
='${libname}${release}${shared_ext}$major'
9964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9966 irix5
* | nonstopux
*)
9970 case $LD in # libtool.m4 will add one of these switches to LD
9971 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9972 libsuff
= shlibsuff
= libmagic
=32-bit;;
9973 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9974 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9975 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9976 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9977 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9981 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9982 shlibpath_overrides_runpath
=no
9983 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9984 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9985 hardcode_into_libs
=yes
9988 # No shared lib support for Linux oldld, aout, or coff.
9989 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9993 # This must be Linux ELF.
9994 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9998 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999 soname_spec
='${libname}${release}${shared_ext}$major'
10000 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10001 shlibpath_var
=LD_LIBRARY_PATH
10002 shlibpath_overrides_runpath
=no
10003 # Some binutils ld are patched to set DT_RUNPATH
10004 save_LDFLAGS
=$LDFLAGS
10005 save_libdir
=$libdir
10006 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10007 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10019 if ac_fn_c_try_link
"$LINENO"; then :
10020 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
10021 shlibpath_overrides_runpath
=yes
10024 rm -f core conftest.err conftest.
$ac_objext \
10025 conftest
$ac_exeext conftest.
$ac_ext
10026 LDFLAGS
=$save_LDFLAGS
10027 libdir
=$save_libdir
10029 # This implies no fast_install, which is unacceptable.
10030 # Some rework will be needed to allow for fast_install
10031 # before this can be enabled.
10032 hardcode_into_libs
=yes
10034 # Append ld.so.conf contents to the search path
10035 if test -f /etc
/ld.so.conf
; then
10036 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' ' '`
10037 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10040 # We used to test for /lib/ld.so.1 and disable shared libraries on
10041 # powerpc, because MkLinux only supported shared libraries with the
10042 # GNU dynamic linker. Since this was broken with cross compilers,
10043 # most powerpc-linux boxes support dynamic linking these days and
10044 # people can always --disable-shared, the test was removed, and we
10045 # assume the GNU/Linux dynamic linker is in use.
10046 dynamic_linker
='GNU/Linux ld.so'
10053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10054 soname_spec
='${libname}${release}${shared_ext}$major'
10055 shlibpath_var
=LD_LIBRARY_PATH
10056 shlibpath_overrides_runpath
=no
10057 hardcode_into_libs
=yes
10058 dynamic_linker
='NetBSD ld.elf_so'
10065 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10067 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10068 dynamic_linker
='NetBSD (a.out) ld.so'
10070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10071 soname_spec
='${libname}${release}${shared_ext}$major'
10072 dynamic_linker
='NetBSD ld.elf_so'
10074 shlibpath_var
=LD_LIBRARY_PATH
10075 shlibpath_overrides_runpath
=yes
10076 hardcode_into_libs
=yes
10081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082 shlibpath_var
=LD_LIBRARY_PATH
10083 shlibpath_overrides_runpath
=yes
10090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10091 soname_spec
='${libname}${release}${shared_ext}$major'
10092 shlibpath_var
=LD_LIBRARY_PATH
10093 shlibpath_overrides_runpath
=no
10094 hardcode_into_libs
=yes
10095 dynamic_linker
='ldqnx.so'
10100 sys_lib_dlsearch_path_spec
="/usr/lib"
10102 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10104 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
10105 *) need_version
=no
;;
10107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10108 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10109 shlibpath_var
=LD_LIBRARY_PATH
10110 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10112 openbsd2.
[89] | openbsd2.
[89].
*)
10113 shlibpath_overrides_runpath
=no
10116 shlibpath_overrides_runpath
=yes
10120 shlibpath_overrides_runpath
=yes
10125 libname_spec
='$name'
10128 library_names_spec
='$libname${shared_ext} $libname.a'
10129 dynamic_linker
='OS/2 ld.exe'
10130 shlibpath_var
=LIBPATH
10133 osf3
* | osf4
* | osf5
*)
10137 soname_spec
='${libname}${release}${shared_ext}$major'
10138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139 shlibpath_var
=LD_LIBRARY_PATH
10140 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10141 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10153 soname_spec
='${libname}${release}${shared_ext}$major'
10154 shlibpath_var
=LD_LIBRARY_PATH
10155 shlibpath_overrides_runpath
=yes
10156 hardcode_into_libs
=yes
10157 # ldd complains unless libraries are executable
10158 postinstall_cmds
='chmod +x $lib'
10163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10164 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10165 shlibpath_var
=LD_LIBRARY_PATH
10166 shlibpath_overrides_runpath
=yes
10167 if test "$with_gnu_ld" = yes; then
10175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 soname_spec
='${libname}${release}${shared_ext}$major'
10177 shlibpath_var
=LD_LIBRARY_PATH
10178 case $host_vendor in
10180 shlibpath_overrides_runpath
=no
10182 runpath_var
=LD_RUN_PATH
10190 shlibpath_overrides_runpath
=no
10191 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10197 if test -d /usr
/nec
;then
10199 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10200 soname_spec
='$libname${shared_ext}.$major'
10201 shlibpath_var
=LD_LIBRARY_PATH
10205 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10206 version_type
=freebsd
-elf
10209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10210 soname_spec
='${libname}${release}${shared_ext}$major'
10211 shlibpath_var
=LD_LIBRARY_PATH
10212 shlibpath_overrides_runpath
=yes
10213 hardcode_into_libs
=yes
10214 if test "$with_gnu_ld" = yes; then
10215 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10217 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10220 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10224 sys_lib_dlsearch_path_spec
='/usr/lib'
10228 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10232 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233 shlibpath_var
=LD_LIBRARY_PATH
10234 shlibpath_overrides_runpath
=no
10235 hardcode_into_libs
=yes
10240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10241 soname_spec
='${libname}${release}${shared_ext}$major'
10242 shlibpath_var
=LD_LIBRARY_PATH
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10250 $as_echo "$dynamic_linker" >&6; }
10251 test "$dynamic_linker" = no
&& can_build_shared
=no
10253 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10254 if test "$GCC" = yes; then
10255 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10258 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10259 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10261 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10262 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10352 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10354 if test -n "$hardcode_libdir_flag_spec" ||
10355 test -n "$runpath_var" ||
10356 test "X$hardcode_automatic" = "Xyes" ; then
10358 # We can hardcode non-existent directories.
10359 if test "$hardcode_direct" != no
&&
10360 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10361 # have to relink, otherwise we might link with an installed library
10362 # when we should be linking with a yet-to-be-installed one
10363 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10364 test "$hardcode_minus_L" != no
; then
10365 # Linking always hardcodes the temporary library directory.
10366 hardcode_action
=relink
10368 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10369 hardcode_action
=immediate
10372 # We cannot hardcode anything, or else we can only hardcode existing
10374 hardcode_action
=unsupported
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10377 $as_echo "$hardcode_action" >&6; }
10379 if test "$hardcode_action" = relink
||
10380 test "$inherit_rpath" = yes; then
10381 # Fast installation is not supported
10382 enable_fast_install
=no
10383 elif test "$shlibpath_overrides_runpath" = yes ||
10384 test "$enable_shared" = no
; then
10385 # Fast installation is not necessary
10386 enable_fast_install
=needless
10394 if test "x$enable_dlopen" != xyes
; then
10395 enable_dlopen
=unknown
10396 enable_dlopen_self
=unknown
10397 enable_dlopen_self_static
=unknown
10404 lt_cv_dlopen
="load_add_on"
10406 lt_cv_dlopen_self
=yes
10409 mingw
* | pw32
* | cegcc
*)
10410 lt_cv_dlopen
="LoadLibrary"
10415 lt_cv_dlopen
="dlopen"
10420 # if libdl is installed we need to link against it
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10423 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10424 $as_echo_n "(cached) " >&6
10426 ac_check_lib_save_LIBS
=$LIBS
10428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10431 /* Override any GCC internal prototype to avoid an error.
10432 Use char because int might match the return type of a GCC
10433 builtin and then its argument prototype would still apply. */
10446 if ac_fn_c_try_link
"$LINENO"; then :
10447 ac_cv_lib_dl_dlopen
=yes
10449 ac_cv_lib_dl_dlopen
=no
10451 rm -f core conftest.err conftest.
$ac_objext \
10452 conftest
$ac_exeext conftest.
$ac_ext
10453 LIBS
=$ac_check_lib_save_LIBS
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10456 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10457 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10458 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10461 lt_cv_dlopen
="dyld"
10463 lt_cv_dlopen_self
=yes
10470 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10471 if test "x$ac_cv_func_shl_load" = xyes
; then :
10472 lt_cv_dlopen
="shl_load"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10475 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10476 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10477 $as_echo_n "(cached) " >&6
10479 ac_check_lib_save_LIBS
=$LIBS
10481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10494 return shl_load ();
10499 if ac_fn_c_try_link
"$LINENO"; then :
10500 ac_cv_lib_dld_shl_load
=yes
10502 ac_cv_lib_dld_shl_load
=no
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_check_lib_save_LIBS
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10509 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10510 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10511 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10513 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10514 if test "x$ac_cv_func_dlopen" = xyes
; then :
10515 lt_cv_dlopen
="dlopen"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10518 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10519 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_lib_save_LIBS
=$LIBS
10524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10542 if ac_fn_c_try_link
"$LINENO"; then :
10543 ac_cv_lib_dl_dlopen
=yes
10545 ac_cv_lib_dl_dlopen
=no
10547 rm -f core conftest.err conftest.
$ac_objext \
10548 conftest
$ac_exeext conftest.
$ac_ext
10549 LIBS
=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10552 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10553 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10554 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10557 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10558 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 ac_check_lib_save_LIBS
=$LIBS
10562 LIBS
="-lsvld $LIBS"
10563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10566 /* Override any GCC internal prototype to avoid an error.
10567 Use char because int might match the return type of a GCC
10568 builtin and then its argument prototype would still apply. */
10581 if ac_fn_c_try_link
"$LINENO"; then :
10582 ac_cv_lib_svld_dlopen
=yes
10584 ac_cv_lib_svld_dlopen
=no
10586 rm -f core conftest.err conftest.
$ac_objext \
10587 conftest
$ac_exeext conftest.
$ac_ext
10588 LIBS
=$ac_check_lib_save_LIBS
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10591 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10592 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
10593 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10596 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10597 if ${ac_cv_lib_dld_dld_link+:} false
; then :
10598 $as_echo_n "(cached) " >&6
10600 ac_check_lib_save_LIBS
=$LIBS
10602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10615 return dld_link ();
10620 if ac_fn_c_try_link
"$LINENO"; then :
10621 ac_cv_lib_dld_dld_link
=yes
10623 ac_cv_lib_dld_dld_link
=no
10625 rm -f core conftest.err conftest.
$ac_objext \
10626 conftest
$ac_exeext conftest.
$ac_ext
10627 LIBS
=$ac_check_lib_save_LIBS
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10630 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10631 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
10632 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10653 if test "x$lt_cv_dlopen" != xno
; then
10659 case $lt_cv_dlopen in
10661 save_CPPFLAGS
="$CPPFLAGS"
10662 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10664 save_LDFLAGS
="$LDFLAGS"
10665 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10668 LIBS
="$lt_cv_dlopen_libs $LIBS"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10671 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10672 if ${lt_cv_dlopen_self+:} false
; then :
10673 $as_echo_n "(cached) " >&6
10675 if test "$cross_compiling" = yes; then :
10676 lt_cv_dlopen_self
=cross
10678 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10679 lt_status
=$lt_dlunknown
10680 cat > conftest.
$ac_ext <<_LT_EOF
10681 #line 10681 "configure"
10682 #include "confdefs.h"
10691 # define LT_DLGLOBAL RTLD_GLOBAL
10694 # define LT_DLGLOBAL DL_GLOBAL
10696 # define LT_DLGLOBAL 0
10700 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10701 find out it does not work in some platform. */
10702 #ifndef LT_DLLAZY_OR_NOW
10704 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10707 # define LT_DLLAZY_OR_NOW DL_LAZY
10710 # define LT_DLLAZY_OR_NOW RTLD_NOW
10713 # define LT_DLLAZY_OR_NOW DL_NOW
10715 # define LT_DLLAZY_OR_NOW 0
10722 void fnord() { int i=42;}
10725 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10726 int status = $lt_dlunknown;
10730 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10731 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10732 /* dlclose (self); */
10740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10741 (eval $ac_link) 2>&5
10743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10744 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10745 (.
/conftest
; exit; ) >&5 2>/dev
/null
10747 case x
$lt_status in
10748 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10749 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10750 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10753 # compilation failed
10754 lt_cv_dlopen_self
=no
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10762 $as_echo "$lt_cv_dlopen_self" >&6; }
10764 if test "x$lt_cv_dlopen_self" = xyes
; then
10765 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10767 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10768 if ${lt_cv_dlopen_self_static+:} false
; then :
10769 $as_echo_n "(cached) " >&6
10771 if test "$cross_compiling" = yes; then :
10772 lt_cv_dlopen_self_static
=cross
10774 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10775 lt_status
=$lt_dlunknown
10776 cat > conftest.
$ac_ext <<_LT_EOF
10777 #line 10777 "configure"
10778 #include "confdefs.h"
10787 # define LT_DLGLOBAL RTLD_GLOBAL
10790 # define LT_DLGLOBAL DL_GLOBAL
10792 # define LT_DLGLOBAL 0
10796 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10797 find out it does not work in some platform. */
10798 #ifndef LT_DLLAZY_OR_NOW
10800 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10803 # define LT_DLLAZY_OR_NOW DL_LAZY
10806 # define LT_DLLAZY_OR_NOW RTLD_NOW
10809 # define LT_DLLAZY_OR_NOW DL_NOW
10811 # define LT_DLLAZY_OR_NOW 0
10818 void fnord() { int i=42;}
10821 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10822 int status = $lt_dlunknown;
10826 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10827 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10828 /* dlclose (self); */
10836 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10837 (eval $ac_link) 2>&5
10839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10840 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10841 (.
/conftest
; exit; ) >&5 2>/dev
/null
10843 case x
$lt_status in
10844 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10845 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10846 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10849 # compilation failed
10850 lt_cv_dlopen_self_static
=no
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10858 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10861 CPPFLAGS
="$save_CPPFLAGS"
10862 LDFLAGS
="$save_LDFLAGS"
10867 case $lt_cv_dlopen_self in
10868 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10869 *) enable_dlopen_self
=unknown
;;
10872 case $lt_cv_dlopen_self_static in
10873 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10874 *) enable_dlopen_self_static
=unknown
;;
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10897 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10898 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
10899 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10900 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10902 $as_echo "yes" >&6; }
10904 # FIXME - insert some real tests, host_os isn't really good enough
10907 if test -n "$STRIP" ; then
10908 striplib
="$STRIP -x"
10909 old_striplib
="$STRIP -S"
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10911 $as_echo "yes" >&6; }
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10914 $as_echo "no" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10919 $as_echo "no" >&6; }
10935 # Report which library types will actually be built
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10937 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10939 $as_echo "$can_build_shared" >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10942 $as_echo_n "checking whether to build shared libraries... " >&6; }
10943 test "$can_build_shared" = "no" && enable_shared
=no
10945 # On AIX, shared libraries and static libraries use the same namespace, and
10946 # are all built from PIC.
10949 test "$enable_shared" = yes && enable_static
=no
10950 if test -n "$RANLIB"; then
10951 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10952 postinstall_cmds
='$RANLIB $lib'
10957 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10958 test "$enable_shared" = yes && enable_static
=no
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10963 $as_echo "$enable_shared" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10966 $as_echo_n "checking whether to build static libraries... " >&6; }
10967 # Make sure either enable_shared or enable_static is yes.
10968 test "$enable_shared" = yes || enable_static
=yes
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10970 $as_echo "$enable_static" >&6; }
10977 ac_cpp
='$CPP $CPPFLAGS'
10978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10996 ac_config_commands
="$ac_config_commands libtool"
11001 # Only expand once:
11010 ac_cpp
='$CXXCPP $CPPFLAGS'
11011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11014 if test -z "$CXX"; then
11015 if test -n "$CCC"; then
11018 if test -n "$ac_tool_prefix"; then
11019 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11024 $as_echo_n "checking for $ac_word... " >&6; }
11025 if ${ac_cv_prog_CXX+:} false
; then :
11026 $as_echo_n "(cached) " >&6
11028 if test -n "$CXX"; then
11029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11032 for as_dir
in $PATH
11035 test -z "$as_dir" && as_dir
=.
11036 for ac_exec_ext
in '' $ac_executable_extensions; do
11037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11038 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11048 CXX
=$ac_cv_prog_CXX
11049 if test -n "$CXX"; then
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11051 $as_echo "$CXX" >&6; }
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11054 $as_echo "no" >&6; }
11058 test -n "$CXX" && break
11061 if test -z "$CXX"; then
11063 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11065 # Extract the first word of "$ac_prog", so it can be a program name with args.
11066 set dummy
$ac_prog; ac_word
=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11068 $as_echo_n "checking for $ac_word... " >&6; }
11069 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
11070 $as_echo_n "(cached) " >&6
11072 if test -n "$ac_ct_CXX"; then
11073 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11076 for as_dir
in $PATH
11079 test -z "$as_dir" && as_dir
=.
11080 for ac_exec_ext
in '' $ac_executable_extensions; do
11081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11082 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11093 if test -n "$ac_ct_CXX"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11095 $as_echo "$ac_ct_CXX" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11098 $as_echo "no" >&6; }
11102 test -n "$ac_ct_CXX" && break
11105 if test "x$ac_ct_CXX" = x
; then
11108 case $cross_compiling:$ac_tool_warned in
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11112 ac_tool_warned
=yes ;;
11120 # Provide some information about the compiler.
11121 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11124 for ac_option
in --version -v -V -qversion; do
11125 { { ac_try
="$ac_compiler $ac_option >&5"
11126 case "(($ac_try" in
11127 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11128 *) ac_try_echo=$ac_try;;
11130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11131 $as_echo "$ac_try_echo"; } >&5
11132 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11134 if test -s conftest.err; then
11136 ... rest of stderr output deleted ...
11137 10q' conftest.err >conftest.er1
11138 cat conftest.er1 >&5
11140 rm -f conftest.er1 conftest.err
11141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11142 test $ac_status = 0; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11146 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11147 if ${ac_cv_cxx_compiler_gnu+:} false; then :
11148 $as_echo_n "(cached) " >&6
11150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11164 if ac_fn_cxx_try_compile "$LINENO"; then :
11165 ac_compiler_gnu=yes
11169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11170 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11174 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11175 if test $ac_compiler_gnu = yes; then
11180 ac_test_CXXFLAGS=${CXXFLAGS+set}
11181 ac_save_CXXFLAGS=$CXXFLAGS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11183 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11184 if ${ac_cv_prog_cxx_g+:} false; then :
11185 $as_echo_n "(cached) " >&6
11187 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11188 ac_cxx_werror_flag=yes
11189 ac_cv_prog_cxx_g=no
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11192 /* end confdefs.h. */
11202 if ac_fn_cxx_try_compile "$LINENO"; then :
11203 ac_cv_prog_cxx_g=yes
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207 /* end confdefs.h. */
11217 if ac_fn_cxx_try_compile "$LINENO"; then :
11220 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11233 if ac_fn_cxx_try_compile "$LINENO"; then :
11234 ac_cv_prog_cxx_g=yes
11236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11244 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11245 if test "$ac_test_CXXFLAGS" = set; then
11246 CXXFLAGS=$ac_save_CXXFLAGS
11247 elif test $ac_cv_prog_cxx_g = yes; then
11248 if test "$GXX" = yes; then
11254 if test "$GXX" = yes; then
11261 ac_cpp='$CPP $CPPFLAGS'
11262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11268 ac_cpp='$CXXCPP $CPPFLAGS'
11269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11272 if test -z "$CXX"; then
11273 if test -n "$CCC"; then
11276 if test -n "$ac_tool_prefix"; then
11277 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11282 $as_echo_n "checking for $ac_word... " >&6; }
11283 if ${ac_cv_prog_CXX+:} false; then :
11284 $as_echo_n "(cached) " >&6
11286 if test -n "$CXX"; then
11287 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11290 for as_dir in $PATH
11293 test -z "$as_dir" && as_dir=.
11294 for ac_exec_ext in '' $ac_executable_extensions; do
11295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11296 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11306 CXX=$ac_cv_prog_CXX
11307 if test -n "$CXX"; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11309 $as_echo "$CXX" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11312 $as_echo "no" >&6; }
11316 test -n "$CXX" && break
11319 if test -z "$CXX"; then
11321 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11323 # Extract the first word of "$ac_prog", so it can be a program name with args.
11324 set dummy $ac_prog; ac_word=$2
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11326 $as_echo_n "checking for $ac_word... " >&6; }
11327 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11328 $as_echo_n "(cached) " >&6
11330 if test -n "$ac_ct_CXX"; then
11331 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11334 for as_dir in $PATH
11337 test -z "$as_dir" && as_dir=.
11338 for ac_exec_ext in '' $ac_executable_extensions; do
11339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11340 ac_cv_prog_ac_ct_CXX="$ac_prog"
11341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11350 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11351 if test -n "$ac_ct_CXX"; then
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11353 $as_echo "$ac_ct_CXX" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11356 $as_echo "no" >&6; }
11360 test -n "$ac_ct_CXX" && break
11363 if test "x$ac_ct_CXX" = x; then
11366 case $cross_compiling:$ac_tool_warned in
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11370 ac_tool_warned=yes ;;
11378 # Provide some information about the compiler.
11379 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11382 for ac_option in --version -v -V -qversion; do
11383 { { ac_try="$ac_compiler $ac_option >&5"
11384 case "(($ac_try" in
11385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11386 *) ac_try_echo
=$ac_try;;
11388 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11389 $as_echo "$ac_try_echo"; } >&5
11390 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11392 if test -s conftest.err
; then
11394 ... rest of stderr output deleted ...
11395 10q' conftest.err
>conftest.er1
11396 cat conftest.er1
>&5
11398 rm -f conftest.er1 conftest.err
11399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11400 test $ac_status = 0; }
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11404 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11405 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11422 if ac_fn_cxx_try_compile
"$LINENO"; then :
11423 ac_compiler_gnu
=yes
11427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11428 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11432 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11433 if test $ac_compiler_gnu = yes; then
11438 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11439 ac_save_CXXFLAGS
=$CXXFLAGS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11441 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11442 if ${ac_cv_prog_cxx_g+:} false
; then :
11443 $as_echo_n "(cached) " >&6
11445 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11446 ac_cxx_werror_flag
=yes
11447 ac_cv_prog_cxx_g
=no
11449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11460 if ac_fn_cxx_try_compile
"$LINENO"; then :
11461 ac_cv_prog_cxx_g
=yes
11464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11475 if ac_fn_cxx_try_compile
"$LINENO"; then :
11478 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11491 if ac_fn_cxx_try_compile
"$LINENO"; then :
11492 ac_cv_prog_cxx_g
=yes
11494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11496 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11499 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11502 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11503 if test "$ac_test_CXXFLAGS" = set; then
11504 CXXFLAGS
=$ac_save_CXXFLAGS
11505 elif test $ac_cv_prog_cxx_g = yes; then
11506 if test "$GXX" = yes; then
11512 if test "$GXX" = yes; then
11519 ac_cpp
='$CPP $CPPFLAGS'
11520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11524 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11525 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11526 (test "X$CXX" != "Xg++"))) ; then
11528 ac_cpp
='$CXXCPP $CPPFLAGS'
11529 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11530 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11531 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11533 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11534 if test -z "$CXXCPP"; then
11535 if ${ac_cv_prog_CXXCPP+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 # Double quotes because CXXCPP needs to be expanded
11539 for CXXCPP
in "$CXX -E" "/lib/cpp"
11541 ac_preproc_ok
=false
11542 for ac_cxx_preproc_warn_flag
in '' yes
11544 # Use a header file that comes with gcc, so configuring glibc
11545 # with a fresh cross-compiler works.
11546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11547 # <limits.h> exists even on freestanding compilers.
11548 # On the NeXT, cc -E runs the code through the compiler's parser,
11549 # not just through cpp. "Syntax error" is here to catch this case.
11550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 # include <limits.h>
11555 # include <assert.h>
11559 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11562 # Broken: fails on valid input.
11565 rm -f conftest.err conftest.i conftest.
$ac_ext
11567 # OK, works on sane cases. Now check whether nonexistent headers
11568 # can be detected and how.
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 #include <ac_nonexistent.h>
11573 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11574 # Broken: success on invalid input.
11577 # Passes both tests.
11581 rm -f conftest.err conftest.i conftest.
$ac_ext
11584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11585 rm -f conftest.i conftest.err conftest.
$ac_ext
11586 if $ac_preproc_ok; then :
11591 ac_cv_prog_CXXCPP
=$CXXCPP
11594 CXXCPP
=$ac_cv_prog_CXXCPP
11596 ac_cv_prog_CXXCPP
=$CXXCPP
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11599 $as_echo "$CXXCPP" >&6; }
11600 ac_preproc_ok
=false
11601 for ac_cxx_preproc_warn_flag
in '' yes
11603 # Use a header file that comes with gcc, so configuring glibc
11604 # with a fresh cross-compiler works.
11605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11606 # <limits.h> exists even on freestanding compilers.
11607 # On the NeXT, cc -E runs the code through the compiler's parser,
11608 # not just through cpp. "Syntax error" is here to catch this case.
11609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 # include <limits.h>
11614 # include <assert.h>
11618 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11621 # Broken: fails on valid input.
11624 rm -f conftest.err conftest.i conftest.
$ac_ext
11626 # OK, works on sane cases. Now check whether nonexistent headers
11627 # can be detected and how.
11628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11629 /* end confdefs.h. */
11630 #include <ac_nonexistent.h>
11632 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11633 # Broken: success on invalid input.
11636 # Passes both tests.
11640 rm -f conftest.err conftest.i conftest.
$ac_ext
11643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11644 rm -f conftest.i conftest.err conftest.
$ac_ext
11645 if $ac_preproc_ok; then :
11648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11650 _lt_caught_CXX_error
=yes; }
11654 ac_cpp
='$CPP $CPPFLAGS'
11655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11660 _lt_caught_CXX_error
=yes
11667 ac_cpp
='$CXXCPP $CPPFLAGS'
11668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11672 archive_cmds_need_lc_CXX
=no
11673 allow_undefined_flag_CXX
=
11674 always_export_symbols_CXX
=no
11675 archive_expsym_cmds_CXX
=
11676 compiler_needs_object_CXX
=no
11677 export_dynamic_flag_spec_CXX
=
11678 hardcode_direct_CXX
=no
11679 hardcode_direct_absolute_CXX
=no
11680 hardcode_libdir_flag_spec_CXX
=
11681 hardcode_libdir_flag_spec_ld_CXX
=
11682 hardcode_libdir_separator_CXX
=
11683 hardcode_minus_L_CXX
=no
11684 hardcode_shlibpath_var_CXX
=unsupported
11685 hardcode_automatic_CXX
=no
11686 inherit_rpath_CXX
=no
11688 module_expsym_cmds_CXX
=
11689 link_all_deplibs_CXX
=unknown
11690 old_archive_cmds_CXX
=$old_archive_cmds
11691 no_undefined_flag_CXX
=
11692 whole_archive_flag_spec_CXX
=
11693 enable_shared_with_static_runtimes_CXX
=no
11695 # Source file extension for C++ test sources.
11698 # Object file extension for compiled C++ test sources.
11702 # No sense in running all these tests if we already determined that
11703 # the CXX compiler isn't working. Some variables (like enable_shared)
11704 # are currently assumed to apply to all compilers on this platform,
11705 # and will be corrupted by setting them based on a non-working compiler.
11706 if test "$_lt_caught_CXX_error" != yes; then
11707 # Code to be used in simple compile tests
11708 lt_simple_compile_test_code
="int some_variable = 0;"
11710 # Code to be used in simple link tests
11711 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11713 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11720 # If no C compiler was specified, use CC.
11723 # If no C compiler flags were specified, use CFLAGS.
11724 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11726 # Allow CC to be a program name with arguments.
11730 # save warnings/boilerplate of simple test code
11731 ac_outfile
=conftest.
$ac_objext
11732 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11733 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11734 _lt_compiler_boilerplate
=`cat conftest.err`
11737 ac_outfile
=conftest.
$ac_objext
11738 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11739 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11740 _lt_linker_boilerplate
=`cat conftest.err`
11744 # Allow CC to be a program name with arguments.
11749 lt_save_with_gnu_ld
=$with_gnu_ld
11750 lt_save_path_LD
=$lt_cv_path_LD
11751 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11752 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11754 $as_unset lt_cv_prog_gnu_ld
11756 if test -n "${lt_cv_path_LDCXX+set}"; then
11757 lt_cv_path_LD
=$lt_cv_path_LDCXX
11759 $as_unset lt_cv_path_LD
11761 test -z "${LDCXX+set}" || LD
=$LDCXX
11765 for cc_temp
in $compiler""; do
11767 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11768 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11773 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11776 if test -n "$compiler"; then
11777 # We don't want -fno-exception when compiling C++ code, so set the
11778 # no_builtin_flag separately
11779 if test "$GXX" = yes; then
11780 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11782 lt_prog_compiler_no_builtin_flag_CXX
=
11785 if test "$GXX" = yes; then
11786 # Set up default GNU C++ configuration
11790 # Check whether --with-gnu-ld was given.
11791 if test "${with_gnu_ld+set}" = set; then :
11792 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11798 if test "$GCC" = yes; then
11799 # Check if gcc -print-prog-name=ld gives a path.
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11801 $as_echo_n "checking for ld used by $CC... " >&6; }
11804 # gcc leaves a trailing carriage return which upsets mingw
11805 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11807 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11810 # Accept absolute paths.
11812 re_direlt
='/[^/][^/]*/\.\./'
11813 # Canonicalize the pathname of ld
11814 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11815 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11816 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11818 test -z "$LD" && LD
="$ac_prog"
11821 # If it fails, then pretend we aren't using GCC.
11825 # If it is relative, then search for the first ld in PATH.
11826 with_gnu_ld
=unknown
11829 elif test "$with_gnu_ld" = yes; then
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11831 $as_echo_n "checking for GNU ld... " >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11834 $as_echo_n "checking for non-GNU ld... " >&6; }
11836 if ${lt_cv_path_LD+:} false
; then :
11837 $as_echo_n "(cached) " >&6
11839 if test -z "$LD"; then
11840 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11841 for ac_dir
in $PATH; do
11843 test -z "$ac_dir" && ac_dir
=.
11844 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11845 lt_cv_path_LD
="$ac_dir/$ac_prog"
11846 # Check to see if the program is GNU ld. I'd rather use --version,
11847 # but apparently some variants of GNU ld only accept -v.
11848 # Break only if it was the GNU/non-GNU ld that we prefer.
11849 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11850 *GNU
* | *'with BFD'*)
11851 test "$with_gnu_ld" != no
&& break
11854 test "$with_gnu_ld" != yes && break
11861 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11865 LD
="$lt_cv_path_LD"
11866 if test -n "$LD"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11868 $as_echo "$LD" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11871 $as_echo "no" >&6; }
11873 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11875 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11876 if ${lt_cv_prog_gnu_ld+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11880 case `$LD -v 2>&1 </dev/null` in
11881 *GNU
* | *'with BFD'*)
11882 lt_cv_prog_gnu_ld
=yes
11885 lt_cv_prog_gnu_ld
=no
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11890 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11891 with_gnu_ld
=$lt_cv_prog_gnu_ld
11899 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11900 # archiving commands below assume that GNU ld is being used.
11901 if test "$with_gnu_ld" = yes; then
11902 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11903 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'
11905 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11906 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11908 # If archive_cmds runs LD, not CC, wlarc should be empty
11909 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11910 # investigate it a little bit more. (MM)
11913 # ancient GNU ld didn't support --whole-archive et. al.
11914 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11915 $GREP 'no-whole-archive' > /dev
/null
; then
11916 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11918 whole_archive_flag_spec_CXX
=
11924 # A generic and very simple default shared library creation
11925 # command for GNU C++ for the case where it uses the native
11926 # linker, instead of GNU ld. If possible, this setting should
11927 # overridden to take advantage of the native linker features on
11928 # the platform it is being used on.
11929 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11932 # Commands to make compiler produce verbose output that lists
11933 # what "hidden" libraries, object files and flags are used when
11934 # linking a shared library.
11935 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11943 # PORTME: fill in a description of your system's C++ link characteristics
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11945 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11949 # FIXME: insert proper C++ library support
11953 if test "$host_cpu" = ia64
; then
11954 # On IA64, the linker does run time linking by default, so we don't
11955 # have to do anything special.
11956 aix_use_runtimelinking
=no
11957 exp_sym_flag
='-Bexport'
11960 aix_use_runtimelinking
=no
11962 # Test if we are trying to use run time linking or normal
11963 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11964 # need to do runtime linking.
11965 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11966 for ld_flag
in $LDFLAGS; do
11969 aix_use_runtimelinking
=yes
11977 exp_sym_flag
='-bexport'
11978 no_entry_flag
='-bnoentry'
11981 # When large executables or shared objects are built, AIX ld can
11982 # have problems creating the table of contents. If linking a library
11983 # or program results in "error TOC overflow" add -mminimal-toc to
11984 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11985 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11987 archive_cmds_CXX
=''
11988 hardcode_direct_CXX
=yes
11989 hardcode_direct_absolute_CXX
=yes
11990 hardcode_libdir_separator_CXX
=':'
11991 link_all_deplibs_CXX
=yes
11992 file_list_spec_CXX
='${wl}-f,'
11994 if test "$GXX" = yes; then
11995 case $host_os in aix4.
[012]|aix4.
[012].
*)
11996 # We only want to do this on AIX 4.2 and lower, the check
11997 # below for broken collect2 doesn't work under 4.3+
11998 collect2name
=`${CC} -print-prog-name=collect2`
11999 if test -f "$collect2name" &&
12000 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
12002 # We have reworked collect2
12005 # We have old collect2
12006 hardcode_direct_CXX
=unsupported
12007 # It fails to find uninstalled libraries when the uninstalled
12008 # path is not listed in the libpath. Setting hardcode_minus_L
12009 # to unsupported forces relinking
12010 hardcode_minus_L_CXX
=yes
12011 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12012 hardcode_libdir_separator_CXX
=
12015 shared_flag
='-shared'
12016 if test "$aix_use_runtimelinking" = yes; then
12017 shared_flag
="$shared_flag "'${wl}-G'
12021 if test "$host_cpu" = ia64
; then
12022 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12023 # chokes on -Wl,-G. The following line is correct:
12026 if test "$aix_use_runtimelinking" = yes; then
12027 shared_flag
='${wl}-G'
12029 shared_flag
='${wl}-bM:SRE'
12034 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
12035 # It seems that -bexpall does not export symbols beginning with
12036 # underscore (_), so it is better to generate a list of symbols to
12038 always_export_symbols_CXX
=yes
12039 if test "$aix_use_runtimelinking" = yes; then
12040 # Warning - without using the other runtime loading flags (-brtl),
12041 # -berok will link without error, but may produce a broken library.
12042 allow_undefined_flag_CXX
='-berok'
12043 # Determine the default libpath from the value encoded in an empty
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12056 if ac_fn_cxx_try_link
"$LINENO"; then :
12058 lt_aix_libpath_sed
='
12059 /Import File Strings/,/^$/ {
12065 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12066 # Check for a 64-bit object if we didn't find anything.
12067 if test -z "$aix_libpath"; then
12068 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12071 rm -f core conftest.err conftest.
$ac_objext \
12072 conftest
$ac_exeext conftest.
$ac_ext
12073 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12075 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12077 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"
12079 if test "$host_cpu" = ia64
; then
12080 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12081 allow_undefined_flag_CXX
="-z nodefs"
12082 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"
12084 # Determine the default libpath from the value encoded in an
12085 # empty executable.
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12097 if ac_fn_cxx_try_link
"$LINENO"; then :
12099 lt_aix_libpath_sed
='
12100 /Import File Strings/,/^$/ {
12106 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12107 # Check for a 64-bit object if we didn't find anything.
12108 if test -z "$aix_libpath"; then
12109 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12112 rm -f core conftest.err conftest.
$ac_objext \
12113 conftest
$ac_exeext conftest.
$ac_ext
12114 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12116 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12117 # Warning - without using the other run time loading flags,
12118 # -berok will link without error, but may produce a broken library.
12119 no_undefined_flag_CXX
=' ${wl}-bernotok'
12120 allow_undefined_flag_CXX
=' ${wl}-berok'
12121 # Exported symbols can be pulled into shared objects from archives
12122 whole_archive_flag_spec_CXX
='$convenience'
12123 archive_cmds_need_lc_CXX
=yes
12124 # This is similar to how AIX traditionally builds its shared
12126 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'
12132 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12133 allow_undefined_flag_CXX
=unsupported
12134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12135 # support --undefined. This deserves some investigation. FIXME
12136 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12143 case $cc_basename in
12145 # FIXME: insert proper C++ library support
12151 cygwin
* | mingw
* | pw32
* | cegcc
*)
12152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12153 # as there is no search path for DLLs.
12154 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12155 allow_undefined_flag_CXX
=unsupported
12156 always_export_symbols_CXX
=no
12157 enable_shared_with_static_runtimes_CXX
=yes
12159 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
12160 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'
12161 # If the export-symbols file already is a .def file (1st line
12162 # is EXPORTS), use it as is; otherwise, prepend...
12163 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12164 cp $export_symbols $output_objdir/$soname.def;
12166 echo EXPORTS > $output_objdir/$soname.def;
12167 cat $export_symbols >> $output_objdir/$soname.def;
12169 $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'
12174 darwin
* | rhapsody
*)
12177 archive_cmds_need_lc_CXX
=no
12178 hardcode_direct_CXX
=no
12179 hardcode_automatic_CXX
=yes
12180 hardcode_shlibpath_var_CXX
=unsupported
12181 whole_archive_flag_spec_CXX
=''
12182 link_all_deplibs_CXX
=yes
12183 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12184 case $cc_basename in
12185 ifort
*) _lt_dar_can_shared
=yes ;;
12186 *) _lt_dar_can_shared
=$GCC ;;
12188 if test "$_lt_dar_can_shared" = "yes"; then
12189 output_verbose_link_cmd
=echo
12190 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}"
12191 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12192 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}"
12193 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}"
12194 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12195 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}"
12196 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}"
12206 case $cc_basename in
12208 # FIXME: insert proper C++ library support
12212 # Green Hills C++ Compiler
12213 # FIXME: insert proper C++ library support
12217 # FIXME: insert proper C++ library support
12224 # C++ shared libraries reported to be fairly broken before
12230 archive_cmds_need_lc_CXX
=no
12233 freebsd
* | dragonfly
*)
12234 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12243 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12244 hardcode_libdir_separator_CXX
=:
12245 export_dynamic_flag_spec_CXX
='${wl}-E'
12246 hardcode_direct_CXX
=yes
12247 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12248 # but as the default
12249 # location of the library.
12251 case $cc_basename in
12253 # FIXME: insert proper C++ library support
12257 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'
12258 # Commands to make compiler produce verbose output that lists
12259 # what "hidden" libraries, object files and flags are used when
12260 # linking a shared library.
12262 # There doesn't appear to be a way to prevent this compiler from
12263 # explicitly linking system object files so we need to strip them
12264 # from the output so that they don't get included in the library
12266 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'
12269 if test "$GXX" = yes; then
12270 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'
12272 # FIXME: insert proper C++ library support
12280 if test $with_gnu_ld = no
; then
12281 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12282 hardcode_libdir_separator_CXX
=:
12288 export_dynamic_flag_spec_CXX
='${wl}-E'
12294 hardcode_direct_CXX
=no
12295 hardcode_shlibpath_var_CXX
=no
12298 hardcode_direct_CXX
=yes
12299 hardcode_direct_absolute_CXX
=yes
12300 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12301 # but as the default
12302 # location of the library.
12306 case $cc_basename in
12308 # FIXME: insert proper C++ library support
12314 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12317 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12320 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12323 # Commands to make compiler produce verbose output that lists
12324 # what "hidden" libraries, object files and flags are used when
12325 # linking a shared library.
12327 # There doesn't appear to be a way to prevent this compiler from
12328 # explicitly linking system object files so we need to strip them
12329 # from the output so that they don't get included in the library
12331 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'
12334 if test "$GXX" = yes; then
12335 if test $with_gnu_ld = no
; then
12338 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12341 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12344 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'
12349 # FIXME: insert proper C++ library support
12357 hardcode_direct_CXX
=no
12358 hardcode_shlibpath_var_CXX
=no
12359 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12360 export_dynamic_flag_spec_CXX
='${wl}-E'
12361 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12362 # Instead, shared libraries are loaded at an image base (0x10000000 by
12363 # default) and relocated if they conflict, which is a slow very memory
12364 # consuming and fragmenting process. To avoid this, we pick a random,
12365 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12366 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12367 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'
12368 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'
12371 case $cc_basename in
12374 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'
12376 # Archives containing C++ object files must be created using
12377 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12378 # necessary to make sure instantiated templates are included
12380 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12383 if test "$GXX" = yes; then
12384 if test "$with_gnu_ld" = no
; then
12385 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'
12387 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'
12390 link_all_deplibs_CXX
=yes
12393 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12394 hardcode_libdir_separator_CXX
=:
12395 inherit_rpath_CXX
=yes
12398 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12399 case $cc_basename in
12401 # Kuck and Associates, Inc. (KAI) C++ Compiler
12403 # KCC will only create a shared library if the output file
12404 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12405 # to its proper name (with version) after linking.
12406 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'
12407 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'
12408 # Commands to make compiler produce verbose output that lists
12409 # what "hidden" libraries, object files and flags are used when
12410 # linking a shared library.
12412 # There doesn't appear to be a way to prevent this compiler from
12413 # explicitly linking system object files so we need to strip them
12414 # from the output so that they don't get included in the library
12416 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'
12418 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12419 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12421 # Archives containing C++ object files must be created using
12422 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12423 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12428 # version 8.0 and above of icpc choke on multiply defined symbols
12429 # if we add $predep_objects and $postdep_objects, however 7.1 and
12430 # earlier do not add the objects themselves.
12431 case `$CC -V 2>&1` in
12433 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12434 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'
12436 *) # Version 8.0 or newer
12439 ia64
*) tmp_idyn
=' -i_dynamic';;
12441 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12442 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'
12445 archive_cmds_need_lc_CXX
=no
12446 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12447 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12448 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12451 # Portland Group C++ compiler
12453 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12454 prelink_cmds_CXX
='tpldir=Template.dir~
12456 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12457 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12458 old_archive_cmds_CXX
='tpldir=Template.dir~
12460 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12461 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12463 archive_cmds_CXX
='tpldir=Template.dir~
12465 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12466 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12467 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12469 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12470 $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'
12472 *) # Version 6 will use weak symbols
12473 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12474 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'
12478 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12479 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12480 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'
12484 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12485 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'
12487 runpath_var
=LD_RUN_PATH
12488 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12489 hardcode_libdir_separator_CXX
=:
12491 # Commands to make compiler produce verbose output that lists
12492 # what "hidden" libraries, object files and flags are used when
12493 # linking a shared library.
12495 # There doesn't appear to be a way to prevent this compiler from
12496 # explicitly linking system object files so we need to strip them
12497 # from the output so that they don't get included in the library
12499 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'
12502 # IBM XL 8.0 on PPC, with GNU ld
12503 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12504 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12505 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12506 if test "x$supports_anon_versioning" = xyes
; then
12507 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12508 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12509 echo "local: *; };" >> $output_objdir/$libname.ver~
12510 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12514 case `$CC -V 2>&1 | sed 5q` in
12517 no_undefined_flag_CXX
=' -zdefs'
12518 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12519 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'
12520 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12521 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'
12522 compiler_needs_object_CXX
=yes
12524 # Not sure whether something based on
12525 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12527 output_verbose_link_cmd
='echo'
12529 # Archives containing C++ object files must be created using
12530 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12531 # necessary to make sure instantiated templates are included
12533 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12541 # FIXME: insert proper C++ library support
12546 # FIXME: insert proper C++ library support
12551 case $cc_basename in
12553 # FIXME: insert proper C++ library support
12557 # FIXME: insert proper C++ library support
12564 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12565 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12567 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12568 hardcode_direct_CXX
=yes
12569 hardcode_shlibpath_var_CXX
=no
12571 # Workaround some broken pre-1.5 toolchains
12572 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12580 # C++ shared libraries are fairly broken
12585 if test -f /usr
/libexec
/ld.so
; then
12586 hardcode_direct_CXX
=yes
12587 hardcode_shlibpath_var_CXX
=no
12588 hardcode_direct_absolute_CXX
=yes
12589 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12590 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12591 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12592 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12593 export_dynamic_flag_spec_CXX
='${wl}-E'
12594 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12596 output_verbose_link_cmd
=echo
12602 osf3
* | osf4
* | osf5
*)
12603 case $cc_basename in
12605 # Kuck and Associates, Inc. (KAI) C++ Compiler
12607 # KCC will only create a shared library if the output file
12608 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12609 # to its proper name (with version) after linking.
12610 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'
12612 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12613 hardcode_libdir_separator_CXX
=:
12615 # Archives containing C++ object files must be created using
12616 # the KAI C++ compiler.
12618 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12619 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12623 # Rational C++ 2.4.1
12624 # FIXME: insert proper C++ library support
12630 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12631 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'
12632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12635 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12636 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'
12637 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12638 echo "-hidden">> $lib.exp~
12639 $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~
12641 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12645 hardcode_libdir_separator_CXX
=:
12647 # Commands to make compiler produce verbose output that lists
12648 # what "hidden" libraries, object files and flags are used when
12649 # linking a shared library.
12651 # There doesn't appear to be a way to prevent this compiler from
12652 # explicitly linking system object files so we need to strip them
12653 # from the output so that they don't get included in the library
12655 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'
12658 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12659 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12662 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'
12665 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'
12669 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12670 hardcode_libdir_separator_CXX
=:
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12675 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12678 # FIXME: insert proper C++ library support
12686 # FIXME: insert proper C++ library support
12691 case $cc_basename in
12694 # FIXME: insert proper C++ library support
12699 # FIXME: insert proper C++ library support
12703 # FIXME: insert proper C++ library support
12710 case $cc_basename in
12712 # Sun C++ 4.2, 5.x and Centerline C++
12713 archive_cmds_need_lc_CXX
=yes
12714 no_undefined_flag_CXX
=' -zdefs'
12715 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12716 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12717 $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'
12719 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12720 hardcode_shlibpath_var_CXX
=no
12722 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12724 # The compiler driver will combine and reorder linker options,
12725 # but understands `-z linker_flag'.
12726 # Supported since Solaris 2.6 (maybe 2.5.1?)
12727 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12730 link_all_deplibs_CXX
=yes
12732 output_verbose_link_cmd
='echo'
12734 # Archives containing C++ object files must be created using
12735 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12736 # necessary to make sure instantiated templates are included
12738 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12741 # Green Hills C++ Compiler
12742 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12744 # The C++ compiler must be used to create the archive.
12745 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12748 # GNU C++ compiler with Solaris linker
12749 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12750 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12751 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12752 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12753 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12754 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12756 # Commands to make compiler produce verbose output that lists
12757 # what "hidden" libraries, object files and flags are used when
12758 # linking a shared library.
12759 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12761 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12763 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12764 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12765 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12767 # Commands to make compiler produce verbose output that lists
12768 # what "hidden" libraries, object files and flags are used when
12769 # linking a shared library.
12770 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12773 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12775 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12777 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12785 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12786 no_undefined_flag_CXX
='${wl}-z,text'
12787 archive_cmds_need_lc_CXX
=no
12788 hardcode_shlibpath_var_CXX
=no
12789 runpath_var
='LD_RUN_PATH'
12791 case $cc_basename in
12793 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12794 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12797 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12798 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12803 sysv5
* | sco3.2v5
* | sco5v6
*)
12804 # Note: We can NOT use -z defs as we might desire, because we do not
12805 # link with -lc, and that would cause any symbols used from libc to
12806 # always be unresolved, which means just about no library would
12807 # ever link correctly. If we're not using GNU ld we use -z text
12808 # though, which does catch some bad symbols but isn't as heavy-handed
12810 no_undefined_flag_CXX
='${wl}-z,text'
12811 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12812 archive_cmds_need_lc_CXX
=no
12813 hardcode_shlibpath_var_CXX
=no
12814 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12815 hardcode_libdir_separator_CXX
=':'
12816 link_all_deplibs_CXX
=yes
12817 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12818 runpath_var
='LD_RUN_PATH'
12820 case $cc_basename in
12822 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12823 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12826 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12827 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12833 case $cc_basename in
12835 # NonStop-UX NCC 3.20
12836 # FIXME: insert proper C++ library support
12840 # FIXME: insert proper C++ library support
12847 # FIXME: insert proper C++ library support
12852 # FIXME: insert proper C++ library support
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12858 $as_echo "$ld_shlibs_CXX" >&6; }
12859 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12865 ## There is no encapsulation within the following macros, do not change
12866 ## the running order or otherwise move them around unless you know exactly
12867 ## what you are doing...
12868 # Dependencies to place before and after the object being linked:
12869 predep_objects_CXX
=
12870 postdep_objects_CXX
=
12873 compiler_lib_search_path_CXX
=
12875 cat > conftest.
$ac_ext <<_LT_EOF
12879 Foo (void) { a = 0; }
12885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12886 (eval $ac_compile) 2>&5
12888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12889 test $ac_status = 0; }; then
12890 # Parse the compiler output and extract the necessary
12891 # objects, libraries and library flags.
12893 # Sentinel used to keep track of whether or not we are before
12894 # the conftest object file.
12895 pre_test_object_deps_done
=no
12897 for p
in `eval "$output_verbose_link_cmd"`; do
12901 # Some compilers place space between "-{L,R}" and the path.
12902 # Remove the space.
12903 if test $p = "-L" ||
12904 test $p = "-R"; then
12911 if test "$pre_test_object_deps_done" = no
; then
12914 # Internal compiler library paths should come after those
12915 # provided the user. The postdeps already come after the
12916 # user supplied libs so there is no need to process them.
12917 if test -z "$compiler_lib_search_path_CXX"; then
12918 compiler_lib_search_path_CXX
="${prev}${p}"
12920 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12923 # The "-l" case would never come before the object being
12924 # linked, so don't bother handling this case.
12927 if test -z "$postdeps_CXX"; then
12928 postdeps_CXX
="${prev}${p}"
12930 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12936 # This assumes that the test object file only shows up
12937 # once in the compiler output.
12938 if test "$p" = "conftest.$objext"; then
12939 pre_test_object_deps_done
=yes
12943 if test "$pre_test_object_deps_done" = no
; then
12944 if test -z "$predep_objects_CXX"; then
12945 predep_objects_CXX
="$p"
12947 predep_objects_CXX
="$predep_objects_CXX $p"
12950 if test -z "$postdep_objects_CXX"; then
12951 postdep_objects_CXX
="$p"
12953 postdep_objects_CXX
="$postdep_objects_CXX $p"
12958 *) ;; # Ignore the rest.
12966 echo "libtool.m4: error: problem compiling CXX test program"
12969 $RM -f confest.
$objext
12971 # PORTME: override above test on systems where it is broken
12974 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12975 # hack all around it, let's just trust "g++" to DTRT.
12976 predep_objects_CXX
=
12977 postdep_objects_CXX
=
12982 case `$CC -V 2>&1 | sed 5q` in
12986 # The more standards-conforming stlport4 library is
12987 # incompatible with the Cstd library. Avoid specifying
12988 # it if it's in CXXFLAGS. Ignore libCrun as
12989 # -library=stlport4 depends on it.
12990 case " $CXX $CXXFLAGS " in
12991 *" -library=stlport4 "*)
12992 solaris_use_stlport4
=yes
12996 if test "$solaris_use_stlport4" != yes; then
12997 postdeps_CXX
='-library=Cstd -library=Crun'
13004 case $cc_basename in
13006 # The more standards-conforming stlport4 library is
13007 # incompatible with the Cstd library. Avoid specifying
13008 # it if it's in CXXFLAGS. Ignore libCrun as
13009 # -library=stlport4 depends on it.
13010 case " $CXX $CXXFLAGS " in
13011 *" -library=stlport4 "*)
13012 solaris_use_stlport4
=yes
13016 # Adding this requires a known-good setup of shared libraries for
13017 # Sun compiler versions before 5.6, else PIC objects from an old
13018 # archive will be linked into the output, leading to subtle bugs.
13019 if test "$solaris_use_stlport4" != yes; then
13020 postdeps_CXX
='-library=Cstd -library=Crun'
13028 case " $postdeps_CXX " in
13029 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13031 compiler_lib_search_dirs_CXX
=
13032 if test -n "${compiler_lib_search_path_CXX}"; then
13033 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13066 lt_prog_compiler_wl_CXX
=
13067 lt_prog_compiler_pic_CXX
=
13068 lt_prog_compiler_static_CXX
=
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13071 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13073 # C++ specific cases for pic, static, wl, etc.
13074 if test "$GXX" = yes; then
13075 lt_prog_compiler_wl_CXX
='-Wl,'
13076 lt_prog_compiler_static_CXX
='-static'
13080 # All AIX code is PIC.
13081 if test "$host_cpu" = ia64
; then
13082 # AIX 5 now supports IA64 processor
13083 lt_prog_compiler_static_CXX
='-Bstatic'
13090 # see comment about AmigaOS4 .so support
13091 lt_prog_compiler_pic_CXX
='-fPIC'
13094 # FIXME: we need at least 68020 code to build shared libraries, but
13095 # adding the `-m68020' flag to GCC prevents building anything better,
13097 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13102 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13103 # PIC is the default for these OSes.
13105 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13106 # This hack is so that the source file can tell whether it is being
13107 # built for inclusion in a dll (and should export symbols for example).
13108 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13109 # (--disable-auto-import) libraries
13110 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13112 darwin
* | rhapsody
*)
13113 # PIC is the default on this platform
13114 # Common symbols not allowed in MH_DYLIB files
13115 lt_prog_compiler_pic_CXX
='-fno-common'
13118 # DJGPP does not support shared libraries at all
13119 lt_prog_compiler_pic_CXX
=
13122 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13123 # Instead, we relocate shared libraries at runtime.
13126 if test -d /usr
/nec
; then
13127 lt_prog_compiler_pic_CXX
=-Kconform_pic
13131 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13132 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13133 # sets the default TLS model and affects inlining.
13138 lt_prog_compiler_pic_CXX
='-fPIC'
13143 # QNX uses GNU C++, but need to define -shared option too, otherwise
13144 # it will coredump.
13145 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13148 lt_prog_compiler_pic_CXX
='-fPIC'
13154 # All AIX code is PIC.
13155 if test "$host_cpu" = ia64
; then
13156 # AIX 5 now supports IA64 processor
13157 lt_prog_compiler_static_CXX
='-Bstatic'
13159 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13163 case $cc_basename in
13165 # Green Hills C++ Compiler
13166 # _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"
13171 case $cc_basename in
13173 lt_prog_compiler_pic_CXX
='-KPIC'
13176 # Green Hills C++ Compiler
13177 lt_prog_compiler_pic_CXX
='-pic'
13183 freebsd
* | dragonfly
*)
13184 # FreeBSD uses GNU C++
13186 hpux9
* | hpux10
* | hpux11
*)
13187 case $cc_basename in
13189 lt_prog_compiler_wl_CXX
='-Wl,'
13190 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13191 if test "$host_cpu" != ia64
; then
13192 lt_prog_compiler_pic_CXX
='+Z'
13196 lt_prog_compiler_wl_CXX
='-Wl,'
13197 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13203 lt_prog_compiler_pic_CXX
='+Z'
13212 # This is c89, which is MS Visual C++ (no shared libs)
13213 # Anyone wants to do a port?
13215 irix5
* | irix6
* | nonstopux
*)
13216 case $cc_basename in
13218 lt_prog_compiler_wl_CXX
='-Wl,'
13219 lt_prog_compiler_static_CXX
='-non_shared'
13220 # CC pic flag -KPIC is the default.
13226 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13227 case $cc_basename in
13230 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13231 lt_prog_compiler_pic_CXX
='-fPIC'
13234 # old Intel C++ for x86_64 which still supported -KPIC.
13235 lt_prog_compiler_wl_CXX
='-Wl,'
13236 lt_prog_compiler_pic_CXX
='-KPIC'
13237 lt_prog_compiler_static_CXX
='-static'
13240 # Intel C++, used to be incompatible with GCC.
13241 # ICC 10 doesn't accept -KPIC any more.
13242 lt_prog_compiler_wl_CXX
='-Wl,'
13243 lt_prog_compiler_pic_CXX
='-fPIC'
13244 lt_prog_compiler_static_CXX
='-static'
13247 # Portland Group C++ compiler
13248 lt_prog_compiler_wl_CXX
='-Wl,'
13249 lt_prog_compiler_pic_CXX
='-fpic'
13250 lt_prog_compiler_static_CXX
='-Bstatic'
13254 # Make sure the PIC flag is empty. It appears that all Alpha
13255 # Linux and Compaq Tru64 Unix objects are PIC.
13256 lt_prog_compiler_pic_CXX
=
13257 lt_prog_compiler_static_CXX
='-non_shared'
13260 # IBM XL 8.0 on PPC
13261 lt_prog_compiler_wl_CXX
='-Wl,'
13262 lt_prog_compiler_pic_CXX
='-qpic'
13263 lt_prog_compiler_static_CXX
='-qstaticlink'
13266 case `$CC -V 2>&1 | sed 5q` in
13269 lt_prog_compiler_pic_CXX
='-KPIC'
13270 lt_prog_compiler_static_CXX
='-Bstatic'
13271 lt_prog_compiler_wl_CXX
='-Qoption ld '
13282 case $cc_basename in
13284 lt_prog_compiler_pic_CXX
='-W c,exportall'
13290 netbsd
* | netbsdelf
*-gnu)
13293 # QNX uses GNU C++, but need to define -shared option too, otherwise
13294 # it will coredump.
13295 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13297 osf3
* | osf4
* | osf5
*)
13298 case $cc_basename in
13300 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13303 # Rational C++ 2.4.1
13304 lt_prog_compiler_pic_CXX
='-pic'
13307 # Digital/Compaq C++
13308 lt_prog_compiler_wl_CXX
='-Wl,'
13309 # Make sure the PIC flag is empty. It appears that all Alpha
13310 # Linux and Compaq Tru64 Unix objects are PIC.
13311 lt_prog_compiler_pic_CXX
=
13312 lt_prog_compiler_static_CXX
='-non_shared'
13321 case $cc_basename in
13323 # Sun C++ 4.2, 5.x and Centerline C++
13324 lt_prog_compiler_pic_CXX
='-KPIC'
13325 lt_prog_compiler_static_CXX
='-Bstatic'
13326 lt_prog_compiler_wl_CXX
='-Qoption ld '
13329 # Green Hills C++ Compiler
13330 lt_prog_compiler_pic_CXX
='-PIC'
13337 case $cc_basename in
13340 lt_prog_compiler_pic_CXX
='-pic'
13341 lt_prog_compiler_static_CXX
='-Bstatic'
13345 lt_prog_compiler_pic_CXX
='-pic'
13351 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13352 case $cc_basename in
13354 lt_prog_compiler_wl_CXX
='-Wl,'
13355 lt_prog_compiler_pic_CXX
='-KPIC'
13356 lt_prog_compiler_static_CXX
='-Bstatic'
13361 case $cc_basename in
13363 # NonStop-UX NCC 3.20
13364 lt_prog_compiler_pic_CXX
='-KPIC'
13373 lt_prog_compiler_can_build_shared_CXX
=no
13379 # For platforms which do not support PIC, -DPIC is meaningless:
13381 lt_prog_compiler_pic_CXX
=
13384 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13388 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13393 # Check to make sure the PIC flag actually works.
13395 if test -n "$lt_prog_compiler_pic_CXX"; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13397 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13398 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
13399 $as_echo_n "(cached) " >&6
13401 lt_cv_prog_compiler_pic_works_CXX
=no
13402 ac_outfile
=conftest.
$ac_objext
13403 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13404 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13405 # Insert the option either (1) after the last *FLAGS variable, or
13406 # (2) before a word containing "conftest.", or (3) at the end.
13407 # Note that $ac_compile itself does not contain backslashes and begins
13408 # with a dollar sign (not a hyphen), so the echo should work correctly.
13409 # The option is referenced via a variable to avoid confusing sed.
13410 lt_compile
=`echo "$ac_compile" | $SED \
13411 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13412 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13413 -e 's:$: $lt_compiler_flag:'`
13414 (eval echo "\"\$as_me:13414: $lt_compile\"" >&5)
13415 (eval "$lt_compile" 2>conftest.err
)
13417 cat conftest.err
>&5
13418 echo "$as_me:13418: \$? = $ac_status" >&5
13419 if (exit $ac_status) && test -s "$ac_outfile"; then
13420 # The compiler can only warn and ignore the option if not recognized
13421 # So say no if there are warnings other than the usual output.
13422 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13423 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13424 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13425 lt_cv_prog_compiler_pic_works_CXX
=yes
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13432 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13434 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13435 case $lt_prog_compiler_pic_CXX in
13437 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13440 lt_prog_compiler_pic_CXX
=
13441 lt_prog_compiler_can_build_shared_CXX
=no
13449 # Check to make sure the static flag actually works.
13451 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13453 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13454 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
13455 $as_echo_n "(cached) " >&6
13457 lt_cv_prog_compiler_static_works_CXX
=no
13458 save_LDFLAGS
="$LDFLAGS"
13459 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13460 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13461 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13462 # The linker can only warn and ignore the option if not recognized
13463 # So say no if there are warnings
13464 if test -s conftest.err
; then
13465 # Append any errors to the config.log.
13466 cat conftest.err
1>&5
13467 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13468 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13469 if diff conftest.exp conftest.er2
>/dev
/null
; then
13470 lt_cv_prog_compiler_static_works_CXX
=yes
13473 lt_cv_prog_compiler_static_works_CXX
=yes
13477 LDFLAGS
="$save_LDFLAGS"
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13481 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13483 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13486 lt_prog_compiler_static_CXX
=
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13493 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13494 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13495 $as_echo_n "(cached) " >&6
13497 lt_cv_prog_compiler_c_o_CXX
=no
13498 $RM -r conftest
2>/dev
/null
13502 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13504 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13505 # Insert the option either (1) after the last *FLAGS variable, or
13506 # (2) before a word containing "conftest.", or (3) at the end.
13507 # Note that $ac_compile itself does not contain backslashes and begins
13508 # with a dollar sign (not a hyphen), so the echo should work correctly.
13509 lt_compile
=`echo "$ac_compile" | $SED \
13510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13512 -e 's:$: $lt_compiler_flag:'`
13513 (eval echo "\"\$as_me:13513: $lt_compile\"" >&5)
13514 (eval "$lt_compile" 2>out
/conftest.err
)
13516 cat out
/conftest.err
>&5
13517 echo "$as_me:13517: \$? = $ac_status" >&5
13518 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13520 # The compiler can only warn and ignore the option if not recognized
13521 # So say no if there are warnings
13522 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13523 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13524 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13525 lt_cv_prog_compiler_c_o_CXX
=yes
13530 # SGI C++ compiler will create directory out/ii_files/ for
13531 # template instantiation
13532 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13533 $RM out
/* && rmdir out
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13540 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13545 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13546 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
13547 $as_echo_n "(cached) " >&6
13549 lt_cv_prog_compiler_c_o_CXX
=no
13550 $RM -r conftest
2>/dev
/null
13554 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13556 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13557 # Insert the option either (1) after the last *FLAGS variable, or
13558 # (2) before a word containing "conftest.", or (3) at the end.
13559 # Note that $ac_compile itself does not contain backslashes and begins
13560 # with a dollar sign (not a hyphen), so the echo should work correctly.
13561 lt_compile
=`echo "$ac_compile" | $SED \
13562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13564 -e 's:$: $lt_compiler_flag:'`
13565 (eval echo "\"\$as_me:13565: $lt_compile\"" >&5)
13566 (eval "$lt_compile" 2>out
/conftest.err
)
13568 cat out
/conftest.err
>&5
13569 echo "$as_me:13569: \$? = $ac_status" >&5
13570 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13572 # The compiler can only warn and ignore the option if not recognized
13573 # So say no if there are warnings
13574 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13575 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13576 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13577 lt_cv_prog_compiler_c_o_CXX
=yes
13582 # SGI C++ compiler will create directory out/ii_files/ for
13583 # template instantiation
13584 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13585 $RM out
/* && rmdir out
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13592 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13597 hard_links
="nottested"
13598 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13599 # do not overwrite the value of need_locks provided by the user
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13601 $as_echo_n "checking if we can lock with hard links... " >&6; }
13604 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13606 ln conftest.a conftest.b
2>&5 || hard_links
=no
13607 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13609 $as_echo "$hard_links" >&6; }
13610 if test "$hard_links" = no
; then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13612 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13622 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13624 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13627 # If we're using GNU nm, then we don't want the "-C" option.
13628 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13629 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13630 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'
13632 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'
13636 export_symbols_cmds_CXX
="$ltdll_cmds"
13638 cygwin
* | mingw
* | cegcc
*)
13639 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'
13641 linux
* | k
*bsd
*-gnu)
13642 link_all_deplibs_CXX
=no
13645 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13648 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13651 $as_echo "$ld_shlibs_CXX" >&6; }
13652 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13654 with_gnu_ld_CXX
=$with_gnu_ld
13662 # Do we need to explicitly link libc?
13664 case "x$archive_cmds_need_lc_CXX" in
13666 # Assume -lc should be added
13667 archive_cmds_need_lc_CXX
=yes
13669 if test "$enable_shared" = yes && test "$GCC" = yes; then
13670 case $archive_cmds_CXX in
13672 # FIXME: we may have to deal with multi-command sequences.
13675 # Test whether the compiler implicitly links with -lc since on some
13676 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13677 # to ld, don't add -lc before -lgcc.
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13679 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13683 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13684 (eval $ac_compile) 2>&5
13686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13687 test $ac_status = 0; } 2>conftest.err
; then
13690 libobjs
=conftest.
$ac_objext
13692 wl
=$lt_prog_compiler_wl_CXX
13693 pic_flag
=$lt_prog_compiler_pic_CXX
13699 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13700 allow_undefined_flag_CXX
=
13701 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13702 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13705 test $ac_status = 0; }
13707 archive_cmds_need_lc_CXX
=no
13709 archive_cmds_need_lc_CXX
=yes
13711 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13713 cat conftest.err
1>&5
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13717 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13788 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13790 library_names_spec
=
13791 libname_spec
='lib$name'
13795 postuninstall_cmds
=
13799 shlibpath_overrides_runpath
=unknown
13801 dynamic_linker
="$host_os ld.so"
13802 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13803 need_lib_prefix
=unknown
13804 hardcode_into_libs
=no
13806 # when you set need_version to no, make sure it does not cause -set_version
13807 # flags to be left without arguments
13808 need_version
=unknown
13813 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13814 shlibpath_var
=LIBPATH
13816 # AIX 3 has no versioning support, so we append a major version to the name.
13817 soname_spec
='${libname}${release}${shared_ext}$major'
13824 hardcode_into_libs
=yes
13825 if test "$host_cpu" = ia64
; then
13826 # AIX 5 supports IA64
13827 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13828 shlibpath_var
=LD_LIBRARY_PATH
13830 # With GCC up to 2.95.x, collect2 would create an import file
13831 # for dependence libraries. The import file would start with
13832 # the line `#! .'. This would cause the generated library to
13833 # depend on `.', always an invalid library. This was fixed in
13834 # development snapshots of GCC prior to 3.0.
13836 aix4
| aix4.
[01] | aix4.
[01].
*)
13837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13839 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13842 can_build_shared
=no
13846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13847 # soname into executable. Probably we can add versioning support to
13848 # collect2, so additional links can be useful in future.
13849 if test "$aix_use_runtimelinking" = yes; then
13850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13851 # instead of lib<name>.a to let people know that these are not
13852 # typical AIX shared libraries.
13853 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13855 # We preserve .a as extension for shared libraries through AIX4.2
13856 # and later when we are not doing run time linking.
13857 library_names_spec
='${libname}${release}.a $libname.a'
13858 soname_spec
='${libname}${release}${shared_ext}$major'
13860 shlibpath_var
=LIBPATH
13867 # Since July 2007 AmigaOS4 officially supports .so libraries.
13868 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13872 library_names_spec
='$libname.ixlibrary $libname.a'
13873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13874 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'
13880 library_names_spec
='${libname}${shared_ext}'
13881 dynamic_linker
="$host_os ld.so"
13882 shlibpath_var
=LIBRARY_PATH
13888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13889 soname_spec
='${libname}${release}${shared_ext}$major'
13890 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13891 shlibpath_var
=LD_LIBRARY_PATH
13892 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13893 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13894 # the default ld.so.conf also contains /usr/contrib/lib and
13895 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13896 # libtool to hard-code these into programs
13899 cygwin
* | mingw
* | pw32
* | cegcc
*)
13900 version_type
=windows
13905 case $GCC,$host_os in
13906 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13907 library_names_spec
='$libname.dll.a'
13908 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13909 postinstall_cmds
='base_file=`basename \${file}`~
13910 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13911 dldir=$destdir/`dirname \$dlpath`~
13912 test -d \$dldir || mkdir -p \$dldir~
13913 $install_prog $dir/$dlname \$dldir/$dlname~
13914 chmod a+x \$dldir/$dlname~
13915 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13916 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13918 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13919 dlpath=$dir/\$dldll~
13921 shlibpath_overrides_runpath
=yes
13925 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13926 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13927 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13930 # MinGW DLLs use traditional 'lib' prefix
13931 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13932 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13933 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13934 # It is most probably a Windows format PATH printed by
13935 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13936 # path with ; separators, and with drive letters. We can handle the
13937 # drive letters (cygwin fileutils understands them), so leave them,
13938 # especially as we might pass files found there to a mingw objdump,
13939 # which wouldn't understand a cygwinified path. Ahh.
13940 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13942 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13946 # pw32 DLLs use 'pw' prefix rather than 'lib'
13947 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13953 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13956 dynamic_linker
='Win32 ld.exe'
13957 # FIXME: first we should search . and the directory the executable is in
13961 darwin
* | rhapsody
*)
13962 dynamic_linker
="$host_os dyld"
13963 version_type
=darwin
13966 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13967 soname_spec
='${libname}${release}${major}$shared_ext'
13968 shlibpath_overrides_runpath
=yes
13969 shlibpath_var
=DYLD_LIBRARY_PATH
13970 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13972 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13980 soname_spec
='${libname}${release}${shared_ext}$major'
13981 shlibpath_var
=LD_LIBRARY_PATH
13988 freebsd
* | dragonfly
*)
13989 # DragonFly does not have aout. When/if they implement a new
13990 # versioning mechanism, adjust this.
13991 if test -x /usr
/bin
/objformat
; then
13992 objformat
=`/usr/bin/objformat`
13995 freebsd
[123]*) objformat
=aout
;;
13996 *) objformat
=elf
;;
13999 version_type
=freebsd
-$objformat
14000 case $version_type in
14002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14007 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14011 shlibpath_var
=LD_LIBRARY_PATH
14014 shlibpath_overrides_runpath
=yes
14016 freebsd3.
[01]* | freebsdelf3.
[01]*)
14017 shlibpath_overrides_runpath
=yes
14018 hardcode_into_libs
=yes
14020 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14021 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14022 shlibpath_overrides_runpath
=no
14023 hardcode_into_libs
=yes
14025 *) # from 4.6 on, and DragonFly
14026 shlibpath_overrides_runpath
=yes
14027 hardcode_into_libs
=yes
14036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14037 soname_spec
='${libname}${release}${shared_ext}$major'
14038 shlibpath_var
=LD_LIBRARY_PATH
14039 hardcode_into_libs
=yes
14042 hpux9
* | hpux10
* | hpux11
*)
14043 # Give a soname corresponding to the major version so that dld.sl refuses to
14044 # link against other versions.
14051 hardcode_into_libs
=yes
14052 dynamic_linker
="$host_os dld.so"
14053 shlibpath_var
=LD_LIBRARY_PATH
14054 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14056 soname_spec
='${libname}${release}${shared_ext}$major'
14057 if test "X$HPUX_IA64_MODE" = X32
; then
14058 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14060 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14062 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14066 hardcode_into_libs
=yes
14067 dynamic_linker
="$host_os dld.sl"
14068 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14069 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14071 soname_spec
='${libname}${release}${shared_ext}$major'
14072 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14073 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14077 dynamic_linker
="$host_os dld.sl"
14078 shlibpath_var
=SHLIB_PATH
14079 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14081 soname_spec
='${libname}${release}${shared_ext}$major'
14084 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14085 postinstall_cmds
='chmod 555 $lib'
14092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14093 soname_spec
='${libname}${release}${shared_ext}$major'
14094 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14095 shlibpath_var
=LD_LIBRARY_PATH
14096 shlibpath_overrides_runpath
=no
14097 hardcode_into_libs
=yes
14100 irix5
* | irix6
* | nonstopux
*)
14102 nonstopux
*) version_type
=nonstopux
;;
14104 if test "$lt_cv_prog_gnu_ld" = yes; then
14112 soname_spec
='${libname}${release}${shared_ext}$major'
14113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14115 irix5
* | nonstopux
*)
14116 libsuff
= shlibsuff
=
14119 case $LD in # libtool.m4 will add one of these switches to LD
14120 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14121 libsuff
= shlibsuff
= libmagic
=32-bit;;
14122 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14123 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14124 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14125 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14126 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14130 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14131 shlibpath_overrides_runpath
=no
14132 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14133 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14134 hardcode_into_libs
=yes
14137 # No shared lib support for Linux oldld, aout, or coff.
14138 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14142 # This must be Linux ELF.
14143 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148 soname_spec
='${libname}${release}${shared_ext}$major'
14149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14150 shlibpath_var
=LD_LIBRARY_PATH
14151 shlibpath_overrides_runpath
=no
14152 # Some binutils ld are patched to set DT_RUNPATH
14153 save_LDFLAGS
=$LDFLAGS
14154 save_libdir
=$libdir
14155 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14156 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14168 if ac_fn_cxx_try_link
"$LINENO"; then :
14169 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
14170 shlibpath_overrides_runpath
=yes
14173 rm -f core conftest.err conftest.
$ac_objext \
14174 conftest
$ac_exeext conftest.
$ac_ext
14175 LDFLAGS
=$save_LDFLAGS
14176 libdir
=$save_libdir
14178 # This implies no fast_install, which is unacceptable.
14179 # Some rework will be needed to allow for fast_install
14180 # before this can be enabled.
14181 hardcode_into_libs
=yes
14183 # Append ld.so.conf contents to the search path
14184 if test -f /etc
/ld.so.conf
; then
14185 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' ' '`
14186 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14189 # We used to test for /lib/ld.so.1 and disable shared libraries on
14190 # powerpc, because MkLinux only supported shared libraries with the
14191 # GNU dynamic linker. Since this was broken with cross compilers,
14192 # most powerpc-linux boxes support dynamic linking these days and
14193 # people can always --disable-shared, the test was removed, and we
14194 # assume the GNU/Linux dynamic linker is in use.
14195 dynamic_linker
='GNU/Linux ld.so'
14202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14203 soname_spec
='${libname}${release}${shared_ext}$major'
14204 shlibpath_var
=LD_LIBRARY_PATH
14205 shlibpath_overrides_runpath
=no
14206 hardcode_into_libs
=yes
14207 dynamic_linker
='NetBSD ld.elf_so'
14214 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14216 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14217 dynamic_linker
='NetBSD (a.out) ld.so'
14219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14220 soname_spec
='${libname}${release}${shared_ext}$major'
14221 dynamic_linker
='NetBSD ld.elf_so'
14223 shlibpath_var
=LD_LIBRARY_PATH
14224 shlibpath_overrides_runpath
=yes
14225 hardcode_into_libs
=yes
14230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231 shlibpath_var
=LD_LIBRARY_PATH
14232 shlibpath_overrides_runpath
=yes
14239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec
='${libname}${release}${shared_ext}$major'
14241 shlibpath_var
=LD_LIBRARY_PATH
14242 shlibpath_overrides_runpath
=no
14243 hardcode_into_libs
=yes
14244 dynamic_linker
='ldqnx.so'
14249 sys_lib_dlsearch_path_spec
="/usr/lib"
14251 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14253 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14254 *) need_version
=no
;;
14256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14257 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14258 shlibpath_var
=LD_LIBRARY_PATH
14259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14261 openbsd2.
[89] | openbsd2.
[89].
*)
14262 shlibpath_overrides_runpath
=no
14265 shlibpath_overrides_runpath
=yes
14269 shlibpath_overrides_runpath
=yes
14274 libname_spec
='$name'
14277 library_names_spec
='$libname${shared_ext} $libname.a'
14278 dynamic_linker
='OS/2 ld.exe'
14279 shlibpath_var
=LIBPATH
14282 osf3
* | osf4
* | osf5
*)
14286 soname_spec
='${libname}${release}${shared_ext}$major'
14287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 shlibpath_var
=LD_LIBRARY_PATH
14289 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14290 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 soname_spec
='${libname}${release}${shared_ext}$major'
14303 shlibpath_var
=LD_LIBRARY_PATH
14304 shlibpath_overrides_runpath
=yes
14305 hardcode_into_libs
=yes
14306 # ldd complains unless libraries are executable
14307 postinstall_cmds
='chmod +x $lib'
14312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14313 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14314 shlibpath_var
=LD_LIBRARY_PATH
14315 shlibpath_overrides_runpath
=yes
14316 if test "$with_gnu_ld" = yes; then
14324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14325 soname_spec
='${libname}${release}${shared_ext}$major'
14326 shlibpath_var
=LD_LIBRARY_PATH
14327 case $host_vendor in
14329 shlibpath_overrides_runpath
=no
14331 runpath_var
=LD_RUN_PATH
14339 shlibpath_overrides_runpath
=no
14340 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14346 if test -d /usr
/nec
;then
14348 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14349 soname_spec
='$libname${shared_ext}.$major'
14350 shlibpath_var
=LD_LIBRARY_PATH
14354 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14355 version_type
=freebsd
-elf
14358 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14359 soname_spec
='${libname}${release}${shared_ext}$major'
14360 shlibpath_var
=LD_LIBRARY_PATH
14361 shlibpath_overrides_runpath
=yes
14362 hardcode_into_libs
=yes
14363 if test "$with_gnu_ld" = yes; then
14364 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14366 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14369 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14373 sys_lib_dlsearch_path_spec
='/usr/lib'
14377 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 shlibpath_var
=LD_LIBRARY_PATH
14383 shlibpath_overrides_runpath
=no
14384 hardcode_into_libs
=yes
14389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390 soname_spec
='${libname}${release}${shared_ext}$major'
14391 shlibpath_var
=LD_LIBRARY_PATH
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14399 $as_echo "$dynamic_linker" >&6; }
14400 test "$dynamic_linker" = no
&& can_build_shared
=no
14402 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14403 if test "$GCC" = yes; then
14404 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14407 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14408 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14410 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14411 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14450 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14451 hardcode_action_CXX
=
14452 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14453 test -n "$runpath_var_CXX" ||
14454 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14456 # We can hardcode non-existent directories.
14457 if test "$hardcode_direct_CXX" != no
&&
14458 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14459 # have to relink, otherwise we might link with an installed library
14460 # when we should be linking with a yet-to-be-installed one
14461 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14462 test "$hardcode_minus_L_CXX" != no
; then
14463 # Linking always hardcodes the temporary library directory.
14464 hardcode_action_CXX
=relink
14466 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14467 hardcode_action_CXX
=immediate
14470 # We cannot hardcode anything, or else we can only hardcode existing
14472 hardcode_action_CXX
=unsupported
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14475 $as_echo "$hardcode_action_CXX" >&6; }
14477 if test "$hardcode_action_CXX" = relink
||
14478 test "$inherit_rpath_CXX" = yes; then
14479 # Fast installation is not supported
14480 enable_fast_install
=no
14481 elif test "$shlibpath_overrides_runpath" = yes ||
14482 test "$enable_shared" = no
; then
14483 # Fast installation is not necessary
14484 enable_fast_install
=needless
14493 fi # test -n "$compiler"
14499 with_gnu_ld
=$lt_save_with_gnu_ld
14500 lt_cv_path_LDCXX
=$lt_cv_path_LD
14501 lt_cv_path_LD
=$lt_save_path_LD
14502 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14503 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14504 fi # test "$_lt_caught_CXX_error" != yes
14507 ac_cpp
='$CPP $CPPFLAGS'
14508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14513 # Find a good install program. We prefer a C program (faster),
14514 # so one script is as good as another. But avoid the broken or
14515 # incompatible versions:
14516 # SysV /etc/install, /usr/sbin/install
14517 # SunOS /usr/etc/install
14518 # IRIX /sbin/install
14520 # AmigaOS /C/install, which installs bootblocks on floppy discs
14521 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14522 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14523 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14524 # OS/2's system install, which has a completely different semantic
14525 # ./install, which can be erroneously created by make from ./install.sh.
14526 # Reject install programs that cannot install multiple files.
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14528 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14529 if test -z "$INSTALL"; then
14530 if ${ac_cv_path_install+:} false
; then :
14531 $as_echo_n "(cached) " >&6
14533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14534 for as_dir
in $PATH
14537 test -z "$as_dir" && as_dir
=.
14538 # Account for people who put trailing slashes in PATH elements.
14539 case $as_dir/ in #((
14540 .
/ | .
// | /[cC
]/* | \
14541 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14542 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14545 # OSF1 and SCO ODT 3.0 have their own names for install.
14546 # Don't use installbsd from OSF since it installs stuff as root
14548 for ac_prog
in ginstall scoinst
install; do
14549 for ac_exec_ext
in '' $ac_executable_extensions; do
14550 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
14551 if test $ac_prog = install &&
14552 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14553 # AIX install. It has an incompatible calling convention.
14555 elif test $ac_prog = install &&
14556 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14557 # program-specific install script used by HP pwplus--don't use.
14560 rm -rf conftest.one conftest.two conftest.dir
14561 echo one
> conftest.one
14562 echo two
> conftest.two
14564 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14565 test -s conftest.one
&& test -s conftest.two
&&
14566 test -s conftest.dir
/conftest.one
&&
14567 test -s conftest.dir
/conftest.two
14569 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14582 rm -rf conftest.one conftest.two conftest.dir
14585 if test "${ac_cv_path_install+set}" = set; then
14586 INSTALL
=$ac_cv_path_install
14588 # As a last resort, use the slow shell script. Don't cache a
14589 # value for INSTALL within a source directory, because that will
14590 # break other packages using the cache if that directory is
14591 # removed, or if the value is a relative name.
14592 INSTALL
=$ac_install_sh
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14596 $as_echo "$INSTALL" >&6; }
14598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14599 # It thinks the first close brace ends the variable substitution.
14600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14604 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14607 if test "$GCC" = yes ; then
14608 OLDCFLAGS
="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
14609 CFLAGS
="$OLDCFLAGS -fexceptions"
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fexceptions" >&5
14611 $as_echo_n "checking whether $CC accepts -fexceptions... " >&6; }
14612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14613 /* end confdefs.h. */
14623 if ac_fn_c_try_link
"$LINENO"; then :
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14625 $as_echo "yes" >&6; }
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14628 $as_echo "no" >&6; }; CFLAGS
="$OLDCFLAGS"
14630 rm -f core conftest.err conftest.
$ac_objext \
14631 conftest
$ac_exeext conftest.
$ac_ext
14632 CXXFLAGS
=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14636 $as_echo_n "checking for ANSI C header files... " >&6; }
14637 if ${ac_cv_header_stdc+:} false
; then :
14638 $as_echo_n "(cached) " >&6
14640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 #include <stdlib.h>
14643 #include <stdarg.h>
14644 #include <string.h>
14655 if ac_fn_c_try_compile
"$LINENO"; then :
14656 ac_cv_header_stdc
=yes
14658 ac_cv_header_stdc
=no
14660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14662 if test $ac_cv_header_stdc = yes; then
14663 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14666 #include <string.h>
14669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14670 $EGREP "memchr" >/dev
/null
2>&1; then :
14673 ac_cv_header_stdc
=no
14679 if test $ac_cv_header_stdc = yes; then
14680 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14683 #include <stdlib.h>
14686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14687 $EGREP "free" >/dev
/null
2>&1; then :
14690 ac_cv_header_stdc
=no
14696 if test $ac_cv_header_stdc = yes; then
14697 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14698 if test "$cross_compiling" = yes; then :
14701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14704 #include <stdlib.h>
14705 #if ((' ' & 0x0FF) == 0x020)
14706 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14707 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14709 # define ISLOWER(c) \
14710 (('a' <= (c) && (c) <= 'i') \
14711 || ('j' <= (c) && (c) <= 'r') \
14712 || ('s' <= (c) && (c) <= 'z'))
14713 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14716 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14721 for (i = 0; i < 256; i++)
14722 if (XOR (islower (i), ISLOWER (i))
14723 || toupper (i) != TOUPPER (i))
14728 if ac_fn_c_try_run
"$LINENO"; then :
14731 ac_cv_header_stdc
=no
14733 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14734 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14740 $as_echo "$ac_cv_header_stdc" >&6; }
14741 if test $ac_cv_header_stdc = yes; then
14743 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14750 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14751 if ${ac_cv_c_bigendian+:} false
; then :
14752 $as_echo_n "(cached) " >&6
14754 ac_cv_c_bigendian
=unknown
14755 # See if sys/param.h defines the BYTE_ORDER macro.
14756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14758 #include <sys/types.h>
14759 #include <sys/param.h>
14764 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14765 bogus endian macros
14771 if ac_fn_c_try_compile
"$LINENO"; then :
14772 # It does; now see whether it defined to BIG_ENDIAN or not.
14773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14775 #include <sys/types.h>
14776 #include <sys/param.h>
14781 #if BYTE_ORDER != BIG_ENDIAN
14788 if ac_fn_c_try_compile
"$LINENO"; then :
14789 ac_cv_c_bigendian
=yes
14791 ac_cv_c_bigendian
=no
14793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14796 if test $ac_cv_c_bigendian = unknown
; then
14797 if test "$cross_compiling" = yes; then :
14798 echo $ac_n "cross-compiling... " 2>&6
14800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14803 /* Are we little or big endian? From Harbison&Steele. */
14807 char c[sizeof (long)];
14810 exit (u.c[sizeof (long) - 1] == 1);
14813 if ac_fn_c_try_run
"$LINENO"; then :
14814 ac_cv_c_bigendian
=no
14816 ac_cv_c_bigendian
=yes
14818 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14819 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14825 $as_echo "$ac_cv_c_bigendian" >&6; }
14826 if test $ac_cv_c_bigendian = unknown
; then
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to probe for byte ordering" >&5
14828 $as_echo_n "checking to probe for byte ordering... " >&6; }
14830 cat >conftest.c
<<EOF
14831 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14832 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14833 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
14834 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14835 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14836 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
14837 int main() { _ascii (); _ebcdic (); return 0; }
14839 if test -f conftest.c
; then
14840 if ${CC-cc} -c conftest.c
-o conftest.o
&& test -f conftest.o
; then
14841 if test `grep -l BIGenDianSyS conftest.o` ; then
14842 echo $ac_n ' big endian probe OK, ' 1>&6
14843 ac_cv_c_bigendian
=yes
14845 if test `grep -l LiTTleEnDian conftest.o` ; then
14846 echo $ac_n ' little endian probe OK, ' 1>&6
14847 if test $ac_cv_c_bigendian = yes ; then
14848 ac_cv_c_bigendian
=unknown
;
14850 ac_cv_c_bigendian
=no
14853 echo $ac_n 'guessing bigendian ... ' >&6
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14857 $as_echo "$ac_cv_c_bigendian" >&6; }
14859 if test $ac_cv_c_bigendian = yes; then
14861 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14868 cat >>confdefs.h
<<_ACEOF
14869 #define BYTEORDER $BYTEORDER
14872 if test $ac_cv_c_bigendian = unknown
; then
14873 as_fn_error please pre
-set ac_cv_c_bigendian
"unknown endianess - sorry" "$LINENO" 5
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14878 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14879 if ${ac_cv_c_const+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14889 #ifndef __cplusplus
14890 /* Ultrix mips cc rejects this sort of thing. */
14891 typedef int charset[2];
14892 const charset cs = { 0, 0 };
14893 /* SunOS 4.1.1 cc rejects this. */
14894 char const *const *pcpcc;
14896 /* NEC SVR4.0.2 mips cc rejects this. */
14897 struct point {int x, y;};
14898 static struct point const zero = {0,0};
14899 /* AIX XL C 1.02.0.0 rejects this.
14900 It does not let you subtract one const X* pointer from another in
14901 an arm of an if-expression whose if-part is not a constant
14903 const char *g = "string";
14904 pcpcc = &g + (g ? g-g : 0);
14905 /* HPUX 7.0 cc rejects these. */
14907 ppc = (char**) pcpcc;
14908 pcpcc = (char const *const *) ppc;
14909 { /* SCO 3.2v4 cc rejects this sort of thing. */
14912 char const *s = 0 ? (char *) 0 : (char const *) 0;
14917 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14918 int x[] = {25, 17};
14919 const int *foo = &x[0];
14922 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14923 typedef const int *iptr;
14927 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14928 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14929 struct s { int j; const int *ap[3]; } bx;
14930 struct s *b = &bx; b->j = 5;
14932 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14933 const int foo = 10;
14934 if (!foo) return 0;
14936 return !cs[0] && !zero.x;
14943 if ac_fn_c_try_compile
"$LINENO"; then :
14948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14951 $as_echo "$ac_cv_c_const" >&6; }
14952 if test $ac_cv_c_const = no
; then
14954 $as_echo "#define const /**/" >>confdefs.h
14958 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14959 if test "x$ac_cv_type_size_t" = xyes
; then :
14963 cat >>confdefs.h
<<_ACEOF
14964 #define size_t unsigned int
14969 for ac_func
in memmove bcopy
14971 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14972 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14973 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14974 cat >>confdefs.h
<<_ACEOF
14975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14982 for ac_header
in fcntl.h unistd.h
14984 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14985 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14986 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14987 cat >>confdefs.h
<<_ACEOF
14988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14995 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14996 if test "x$ac_cv_type_off_t" = xyes
; then :
15000 cat >>confdefs.h
<<_ACEOF
15001 #define off_t long int
15009 for ac_header
in $ac_header_list
15011 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15012 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15015 cat >>confdefs.h
<<_ACEOF
15016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15030 for ac_func
in getpagesize
15032 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
15033 if test "x$ac_cv_func_getpagesize" = xyes
; then :
15034 cat >>confdefs.h
<<_ACEOF
15035 #define HAVE_GETPAGESIZE 1
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
15042 $as_echo_n "checking for working mmap... " >&6; }
15043 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
15044 $as_echo_n "(cached) " >&6
15046 if test "$cross_compiling" = yes; then :
15047 ac_cv_func_mmap_fixed_mapped
=no
15049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15051 $ac_includes_default
15052 /* malloc might have been renamed as rpl_malloc. */
15055 /* Thanks to Mike Haertel and Jim Avera for this test.
15056 Here is a matrix of mmap possibilities:
15057 mmap private not fixed
15058 mmap private fixed at somewhere currently unmapped
15059 mmap private fixed at somewhere already mapped
15060 mmap shared not fixed
15061 mmap shared fixed at somewhere currently unmapped
15062 mmap shared fixed at somewhere already mapped
15063 For private mappings, we should verify that changes cannot be read()
15064 back from the file, nor mmap's back from the file at a different
15065 address. (There have been systems where private was not correctly
15066 implemented like the infamous i386 svr4.0, and systems where the
15067 VM page cache was not coherent with the file system buffer cache
15068 like early versions of FreeBSD and possibly contemporary NetBSD.)
15069 For shared mappings, we should conversely verify that changes get
15070 propagated back to all the places they're supposed to be.
15072 Grep wants private fixed already mapped.
15073 The main things grep needs to know about mmap are:
15074 * does it exist and is it safe to write into the mmap'd area
15075 * how to use it (BSD variants) */
15078 #include <sys/mman.h>
15080 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
15084 /* This mess was copied from the GNU getpagesize.h. */
15085 #ifndef HAVE_GETPAGESIZE
15086 # ifdef _SC_PAGESIZE
15087 # define getpagesize() sysconf(_SC_PAGESIZE)
15088 # else /* no _SC_PAGESIZE */
15089 # ifdef HAVE_SYS_PARAM_H
15090 # include <sys/param.h>
15091 # ifdef EXEC_PAGESIZE
15092 # define getpagesize() EXEC_PAGESIZE
15093 # else /* no EXEC_PAGESIZE */
15095 # define getpagesize() NBPG * CLSIZE
15098 # endif /* no CLSIZE */
15099 # else /* no NBPG */
15101 # define getpagesize() NBPC
15102 # else /* no NBPC */
15104 # define getpagesize() PAGESIZE
15105 # endif /* PAGESIZE */
15106 # endif /* no NBPC */
15107 # endif /* no NBPG */
15108 # endif /* no EXEC_PAGESIZE */
15109 # else /* no HAVE_SYS_PARAM_H */
15110 # define getpagesize() 8192 /* punt totally */
15111 # endif /* no HAVE_SYS_PARAM_H */
15112 # endif /* no _SC_PAGESIZE */
15114 #endif /* no HAVE_GETPAGESIZE */
15119 char *data, *data2, *data3;
15120 const char *cdata2;
15124 pagesize = getpagesize ();
15126 /* First, make a file with some known garbage in it. */
15127 data = (char *) malloc (pagesize);
15130 for (i = 0; i < pagesize; ++i)
15131 *(data + i) = rand ();
15133 fd = creat ("conftest.mmap", 0600);
15136 if (write (fd, data, pagesize) != pagesize)
15140 /* Next, check that the tail of a page is zero-filled. File must have
15141 non-zero length, otherwise we risk SIGBUS for entire page. */
15142 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
15146 if (write (fd2, cdata2, 1) != 1)
15148 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
15149 if (data2 == MAP_FAILED)
15151 for (i = 0; i < pagesize; ++i)
15155 if (munmap (data2, pagesize))
15158 /* Next, try to mmap the file at a fixed address which already has
15159 something else allocated at it. If we can, also make sure that
15160 we see the same garbage. */
15161 fd = open ("conftest.mmap", O_RDWR);
15164 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
15165 MAP_PRIVATE | MAP_FIXED, fd, 0L))
15167 for (i = 0; i < pagesize; ++i)
15168 if (*(data + i) != *(data2 + i))
15171 /* Finally, make sure that changes to the mapped area do not
15172 percolate back to the file as seen by read(). (This is a bug on
15173 some variants of i386 svr4.0.) */
15174 for (i = 0; i < pagesize; ++i)
15175 *(data2 + i) = *(data2 + i) + 1;
15176 data3 = (char *) malloc (pagesize);
15179 if (read (fd, data3, pagesize) != pagesize)
15181 for (i = 0; i < pagesize; ++i)
15182 if (*(data + i) != *(data3 + i))
15188 if ac_fn_c_try_run
"$LINENO"; then :
15189 ac_cv_func_mmap_fixed_mapped
=yes
15191 ac_cv_func_mmap_fixed_mapped
=no
15193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
15199 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
15200 if test $ac_cv_func_mmap_fixed_mapped = yes; then
15202 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
15205 rm -f conftest.mmap conftest.txt
15208 if test "$ac_cv_func_mmap_fixed_mapped" = "yes"; then
15209 FILEMAP
=unixfilemap
15211 FILEMAP
=readfilemap
15217 # ------------------ #
15218 # Checks to see if ANSI C99 CPP variable __func__ works.
15219 # If not, perhaps __FUNCTION__ works instead.
15220 # If not, we'll just define __func__ to "".
15223 case $ac_cv_prog_cc_stdc in #(
15225 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15228 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15229 if ${ac_cv_prog_cc_c99+:} false
; then :
15230 $as_echo_n "(cached) " >&6
15232 ac_cv_prog_cc_c99
=no
15234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <stdarg.h>
15237 #include <stdbool.h>
15238 #include <stdlib.h>
15242 // Check varargs macros. These examples are taken from C99 6.10.3.5.
15243 #define debug(...) fprintf (stderr, __VA_ARGS__)
15244 #define showlist(...) puts (#__VA_ARGS__)
15245 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15247 test_varargs_macros (void)
15252 debug ("X = %d\n", x);
15253 showlist (The first, second, and third items.);
15254 report (x>y, "x is %d but y is %d", x, y);
15257 // Check long long types.
15258 #define BIG64 18446744073709551615ull
15259 #define BIG32 4294967295ul
15260 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15262 your preprocessor is broken;
15266 your preprocessor is broken;
15268 static long long int bignum = -9223372036854775807LL;
15269 static unsigned long long int ubignum = BIG64;
15271 struct incomplete_array
15277 struct named_init {
15279 const wchar_t *name;
15283 typedef const char *ccp;
15286 test_restrict (ccp restrict text)
15288 // See if C++-style comments work.
15289 // Iterate through items via the restricted pointer.
15290 // Also check for declarations in for loops.
15291 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15296 // Check varargs and va_copy.
15298 test_varargs (const char *format, ...)
15301 va_start (args, format);
15303 va_copy (args_copy, args);
15313 case 's': // string
15314 str = va_arg (args_copy, const char *);
15317 number = va_arg (args_copy, int);
15320 fnumber = va_arg (args_copy, double);
15326 va_end (args_copy);
15335 _Bool success = false;
15338 if (test_restrict ("String literal") == 0)
15340 char *restrict newvar = "Another string";
15343 test_varargs ("s, d' f .", "string", 65, 34.234);
15344 test_varargs_macros ();
15346 // Check flexible array members.
15347 struct incomplete_array *ia =
15348 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15350 for (int i = 0; i < ia->datasize; ++i)
15351 ia->data[i] = i * 1.234;
15353 // Check named initializers.
15354 struct named_init ni = {
15356 .name = L"Test wide string",
15357 .average = 543.34343,
15362 int dynamic_array[ni.number];
15363 dynamic_array[ni.number - 1] = 543;
15365 // work around unused variable warnings
15366 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15367 || dynamic_array[ni.number - 1] != 543);
15373 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
15375 CC
="$ac_save_CC $ac_arg"
15376 if ac_fn_c_try_compile
"$LINENO"; then :
15377 ac_cv_prog_cc_c99
=$ac_arg
15379 rm -f core conftest.err conftest.
$ac_objext
15380 test "x$ac_cv_prog_cc_c99" != "xno" && break
15382 rm -f conftest.
$ac_ext
15387 case "x$ac_cv_prog_cc_c99" in
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15390 $as_echo "none needed" >&6; } ;;
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15393 $as_echo "unsupported" >&6; } ;;
15395 CC
="$CC $ac_cv_prog_cc_c99"
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
15397 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
15399 if test "x$ac_cv_prog_cc_c99" != xno
; then :
15400 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15404 if ${ac_cv_prog_cc_c89+:} false
; then :
15405 $as_echo_n "(cached) " >&6
15407 ac_cv_prog_cc_c89
=no
15409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15411 #include <stdarg.h>
15414 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15415 struct buf { int x; };
15416 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15417 static char *e (p, i)
15423 static char *f (char * (*g) (char **, int), char **p, ...)
15428 s = g (p, va_arg (v,int));
15433 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15434 function prototypes and stuff, but not '\xHH' hex character constants.
15435 These don't provoke an error unfortunately, instead are silently treated
15436 as 'x'. The following induces an error, until -std is added to get
15437 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15438 array size at least. It's necessary to write '\x00'==0 to get something
15439 that's true only with -std. */
15440 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15442 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15443 inside strings and character constants. */
15445 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15447 int test (int i, double x);
15448 struct s1 {int (*f) (int a);};
15449 struct s2 {int (*f) (double a);};
15450 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15456 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15461 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
15462 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15464 CC
="$ac_save_CC $ac_arg"
15465 if ac_fn_c_try_compile
"$LINENO"; then :
15466 ac_cv_prog_cc_c89
=$ac_arg
15468 rm -f core conftest.err conftest.
$ac_objext
15469 test "x$ac_cv_prog_cc_c89" != "xno" && break
15471 rm -f conftest.
$ac_ext
15476 case "x$ac_cv_prog_cc_c89" in
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15479 $as_echo "none needed" >&6; } ;;
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15482 $as_echo "unsupported" >&6; } ;;
15484 CC
="$CC $ac_cv_prog_cc_c89"
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15486 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15488 if test "x$ac_cv_prog_cc_c89" != xno
; then :
15489 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
15491 ac_cv_prog_cc_stdc
=no
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
15498 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
15499 if ${ac_cv_prog_cc_stdc+:} false
; then :
15500 $as_echo_n "(cached) " >&6
15503 case $ac_cv_prog_cc_stdc in #(
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15506 $as_echo "unsupported" >&6; } ;; #(
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15509 $as_echo "none needed" >&6; } ;; #(
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
15512 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C99-conforming __func__" >&5
15516 $as_echo_n "checking for an ANSI C99-conforming __func__... " >&6; }
15517 if ${ac_cv_cpp_func+:} false
; then :
15518 $as_echo_n "(cached) " >&6
15520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15521 /* end confdefs.h. */
15526 char *foo = __func__;
15531 if ac_fn_c_try_compile
"$LINENO"; then :
15534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15540 char *foo = __FUNCTION__;
15545 if ac_fn_c_try_compile
"$LINENO"; then :
15546 ac_cv_cpp_func
=__FUNCTION__
15550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_func" >&5
15555 $as_echo "$ac_cv_cpp_func" >&6; }
15556 if test $ac_cv_cpp_func = __FUNCTION__
; then
15558 $as_echo "#define __func__ __FUNCTION__" >>confdefs.h
15560 elif test $ac_cv_cpp_func = no
; then
15562 $as_echo "#define __func__ \"\"" >>confdefs.h
15569 $as_echo "#define XML_NS 1" >>confdefs.h
15572 $as_echo "#define XML_DTD 1" >>confdefs.h
15575 $as_echo "#define XML_CONTEXT_BYTES 1024" >>confdefs.h
15578 ac_config_files
="$ac_config_files Makefile expat.pc"
15580 cat >confcache
<<\_ACEOF
15581 # This file is a shell script that caches the results of configure
15582 # tests run on this system so they can be shared between configure
15583 # scripts and configure runs, see configure's option --config-cache.
15584 # It is not useful on other systems. If it contains results you don't
15585 # want to keep, you may remove or edit it.
15587 # config.status only pays attention to the cache file if you give it
15588 # the --recheck option to rerun configure.
15590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15592 # following values.
15596 # The following way of writing the cache mishandles newlines in values,
15597 # but we know of no workaround that is simple, portable, and efficient.
15598 # So, we kill variables containing newlines.
15599 # Ultrix sh set writes to stderr and can't be redirected directly,
15600 # and sets the high bit in the cache file unless we assign to the vars.
15602 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15603 eval ac_val
=\$
$ac_var
15607 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15608 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15611 _
| IFS
| as_nl
) ;; #(
15612 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
15613 *) { eval $ac_var=; unset $ac_var;} ;;
15619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15620 *${as_nl}ac_space
=\
*)
15621 # `set' does not quote correctly, so add quotes: double-quote
15622 # substitution turns \\\\ into \\, and sed turns \\ into \.
15625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15628 # `set' quotes correctly as required by POSIX, so do not add quotes.
15629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15642 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15643 if test -w "$cache_file"; then
15644 if test "x$cache_file" != "x/dev/null"; then
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15646 $as_echo "$as_me: updating cache $cache_file" >&6;}
15647 if test ! -f "$cache_file" || test -h "$cache_file"; then
15648 cat confcache
>"$cache_file"
15650 case $cache_file in #(
15652 mv -f confcache
"$cache_file"$$
&&
15653 mv -f "$cache_file"$$
"$cache_file" ;; #(
15655 mv -f confcache
"$cache_file" ;;
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15661 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15666 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15667 # Let make expand exec_prefix.
15668 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15670 DEFS
=-DHAVE_CONFIG_H
15675 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15676 # 1. Remove the extension, and $U if already installed.
15677 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15678 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15679 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15680 # will be set to the directory where LIBOBJS objects are built.
15681 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15682 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15684 LIBOBJS
=$ac_libobjs
15686 LTLIBOBJS
=$ac_ltlibobjs
15690 : "${CONFIG_STATUS=./config.status}"
15692 ac_clean_files_save
=$ac_clean_files
15693 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15695 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15697 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15699 # Generated by $as_me.
15700 # Run this file to recreate the current configuration.
15701 # Compiler output produced by configure, useful for debugging
15702 # configure, is in config.log if it exists.
15705 ac_cs_recheck=false
15708 SHELL=\${CONFIG_SHELL-$SHELL}
15711 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
15712 ## -------------------- ##
15713 ## M4sh Initialization. ##
15714 ## -------------------- ##
15716 # Be more Bourne compatible
15717 DUALCASE
=1; export DUALCASE
# for MKS sh
15718 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15721 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15722 # is contrary to our usage. Disable this feature.
15723 alias -g '${1+"$@"}'='"$@"'
15724 setopt NO_GLOB_SUBST
15726 case `(set -o) 2>/dev/null` in #(
15738 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15739 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15740 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15741 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15742 # Prefer a ksh shell builtin over an external printf program on Solaris,
15743 # but without wasting forks for bash or zsh.
15744 if test -z "$BASH_VERSION$ZSH_VERSION" \
15745 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15746 as_echo='print
-r --'
15747 as_echo_n='print
-rn --'
15748 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15749 as_echo='printf %s
\n'
15750 as_echo_n='printf %s
'
15752 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15753 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15754 as_echo_n='/usr
/ucb
/echo -n'
15756 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15757 as_echo_n_body='eval
15761 expr "X$arg" : "X\\(.*\\)$as_nl";
15762 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15764 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15766 export as_echo_n_body
15767 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15769 export as_echo_body
15770 as_echo='sh
-c $as_echo_body as_echo
'
15773 # The user is always right.
15774 if test "${PATH_SEPARATOR+set}" != set; then
15776 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15777 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15784 # We need space, tab and new line, in precisely that order. Quoting is
15785 # there to prevent editors from complaining about space-tab.
15786 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15787 # splitting by setting IFS to empty value.)
15790 # Find who we are. Look in the path if we contain no directory separator.
15793 *[\\/]* ) as_myself=$0 ;;
15794 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15795 for as_dir in $PATH
15798 test -z "$as_dir" && as_dir=.
15799 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15805 # We did not find ourselves, most probably we were run as `sh COMMAND'
15806 # in which case we are not to be found in the path.
15807 if test "x$as_myself" = x
; then
15810 if test ! -f "$as_myself"; then
15811 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15815 # Unset variables that we do not need and which cause bugs (e.g. in
15816 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15817 # suppresses any "Segmentation fault" message there. '((' could
15818 # trigger a bug in pdksh 5.2.14.
15819 for as_var
in BASH_ENV ENV MAIL MAILPATH
15820 do eval test x\
${$as_var+set} = xset \
15821 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
15834 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15837 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15838 # ----------------------------------------
15839 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15840 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15841 # script with STATUS, using 1 if that was 0.
15844 as_status
=$1; test $as_status -eq 0 && as_status
=1
15846 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15847 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15849 $as_echo "$as_me: error: $2" >&2
15850 as_fn_exit
$as_status
15854 # as_fn_set_status STATUS
15855 # -----------------------
15856 # Set $? to STATUS, without forking.
15857 as_fn_set_status
()
15860 } # as_fn_set_status
15862 # as_fn_exit STATUS
15863 # -----------------
15864 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15868 as_fn_set_status
$1
15874 # Portably unset VAR.
15877 { eval $1=; unset $1;}
15879 as_unset
=as_fn_unset
15880 # as_fn_append VAR VALUE
15881 # ----------------------
15882 # Append the text in VALUE to the end of the definition contained in VAR. Take
15883 # advantage of any shell optimizations that allow amortized linear growth over
15884 # repeated appends, instead of the typical quadratic growth present in naive
15886 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15887 eval 'as_fn_append ()
15898 # as_fn_arith ARG...
15899 # ------------------
15900 # Perform arithmetic evaluation on the ARGs, and store the result in the
15901 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15902 # must be portable across $(()) and expr.
15903 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15904 eval 'as_fn_arith ()
15911 as_val
=`expr "$@" || test $? -eq 1`
15916 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15917 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15923 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15924 as_basename
=basename
15929 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15935 as_me
=`$as_basename -- "$0" ||
15936 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15937 X"$0" : 'X\(//\)$' \| \
15938 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15940 sed '/^.*\/\([^/][^/]*\)\/*$/{
15954 # Avoid depending upon Character Ranges.
15955 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15956 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15957 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15958 as_cr_digits
='0123456789'
15959 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15961 ECHO_C
= ECHO_N
= ECHO_T
=
15962 case `echo -n x` in #(((((
15964 case `echo 'xy\c'` in
15965 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15967 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15974 rm -f conf$$ conf$$.exe conf$$.
file
15975 if test -d conf$$.dir
; then
15976 rm -f conf$$.dir
/conf$$.
file
15979 mkdir conf$$.dir
2>/dev
/null
15981 if (echo >conf$$.
file) 2>/dev
/null
; then
15982 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15984 # ... but there are two gotchas:
15985 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15986 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15987 # In both cases, we have to default to `cp -pR'.
15988 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
15990 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15998 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15999 rmdir conf$$.dir
2>/dev
/null
16004 # Create "$as_dir" as a directory, including parents if necessary.
16009 -*) as_dir
=.
/$as_dir;;
16011 test -d "$as_dir" || eval $as_mkdir_p || {
16015 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16016 *) as_qdir
=$as_dir;;
16018 as_dirs
="'$as_qdir' $as_dirs"
16019 as_dir
=`$as_dirname -- "$as_dir" ||
16020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16021 X"$as_dir" : 'X\(//\)[^/]' \| \
16022 X"$as_dir" : 'X\(//\)$' \| \
16023 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16024 $as_echo X"$as_dir" |
16025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16029 /^X\(\/\/\)[^/].*/{
16042 test -d "$as_dir" && break
16044 test -z "$as_dirs" || eval "mkdir $as_dirs"
16045 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16049 if mkdir -p .
2>/dev
/null
; then
16050 as_mkdir_p
='mkdir -p "$as_dir"'
16052 test -d .
/-p && rmdir .
/-p
16057 # as_fn_executable_p FILE
16058 # -----------------------
16059 # Test if FILE is an executable regular file.
16060 as_fn_executable_p
()
16062 test -f "$1" && test -x "$1"
16063 } # as_fn_executable_p
16064 as_test_x
='test -x'
16065 as_executable_p
=as_fn_executable_p
16067 # Sed expression to map a string onto a valid CPP name.
16068 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16070 # Sed expression to map a string onto a valid variable name.
16071 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16075 ## ----------------------------------- ##
16076 ## Main body of $CONFIG_STATUS script. ##
16077 ## ----------------------------------- ##
16079 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16081 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16082 # Save the log message, to keep $0 and so on meaningful, and to
16083 # report actual input values of CONFIG_FILES etc. instead of their
16084 # values after options handling.
16086 This file was extended by expat $as_me 2.1.0, which was
16087 generated by GNU Autoconf 2.69. Invocation command line was
16089 CONFIG_FILES = $CONFIG_FILES
16090 CONFIG_HEADERS = $CONFIG_HEADERS
16091 CONFIG_LINKS = $CONFIG_LINKS
16092 CONFIG_COMMANDS = $CONFIG_COMMANDS
16095 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16100 case $ac_config_files in *"
16101 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16104 case $ac_config_headers in *"
16105 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16110 # Files that config.status was made for.
16111 config_files="$ac_config_files"
16112 config_headers="$ac_config_headers"
16113 config_commands="$ac_config_commands"
16117 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16119 \`$as_me' instantiates files and other configuration actions
16120 from templates according to the current configuration. Unless the files
16121 and actions are specified as TAGs, all are instantiated by default.
16123 Usage: $0 [OPTION]... [TAG]...
16125 -h, --help print this help, then exit
16126 -V, --version print version number and configuration settings, then exit
16127 --config print configuration, then exit
16128 -q, --quiet, --silent
16129 do not print progress messages
16130 -d, --debug don't remove temporary files
16131 --recheck update $as_me by reconfiguring in the same conditions
16132 --file=FILE[:TEMPLATE]
16133 instantiate the configuration file FILE
16134 --header=FILE[:TEMPLATE]
16135 instantiate the configuration header FILE
16137 Configuration files:
16140 Configuration headers:
16143 Configuration commands:
16146 Report bugs to <expat-bugs@libexpat.org>."
16149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16150 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16152 expat config.status 2.1.0
16153 configured by $0, generated by GNU Autoconf 2.69,
16154 with options \\"\$ac_cs_config\\"
16156 Copyright (C) 2012 Free Software Foundation, Inc.
16157 This config.status script is free software; the Free Software Foundation
16158 gives unlimited permission to copy, distribute and modify it."
16163 test -n "\$AWK" || AWK=awk
16166 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16167 # The default lists apply if the user does not specify any file.
16173 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16174 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16178 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16190 # Handling of the options.
16191 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16193 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16194 $as_echo "$ac_cs_version"; exit ;;
16195 --config | --confi | --conf | --con | --co | --c )
16196 $as_echo "$ac_cs_config"; exit ;;
16197 --debug | --debu | --deb | --de | --d | -d )
16199 --file | --fil | --fi | --f )
16202 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16203 '') as_fn_error $?
"missing file argument" ;;
16205 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16206 ac_need_defaults
=false
;;
16207 --header | --heade | --head | --hea )
16210 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16212 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16213 ac_need_defaults
=false
;;
16215 # Conflict between --help and --header
16216 as_fn_error $?
"ambiguous option: \`$1'
16217 Try \`$0 --help' for more information.";;
16218 --help | --hel | -h )
16219 $as_echo "$ac_cs_usage"; exit ;;
16220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16221 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16224 # This is an error.
16225 -*) as_fn_error $?
"unrecognized option: \`$1'
16226 Try \`$0 --help' for more information." ;;
16228 *) as_fn_append ac_config_targets
" $1"
16229 ac_need_defaults
=false
;;
16235 ac_configure_extra_args
=
16237 if $ac_cs_silent; then
16239 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16243 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16244 if \$ac_cs_recheck; then
16245 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16247 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16248 CONFIG_SHELL='$SHELL'
16249 export CONFIG_SHELL
16254 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16258 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16259 ## Running $as_me. ##
16265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16271 # The HP-UX ksh and POSIX shell print the target directory to stdout
16272 # if CDPATH is set.
16273 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16275 sed_quote_subst='$sed_quote_subst'
16276 double_quote_subst='$double_quote_subst'
16277 delay_variable_subst='$delay_variable_subst'
16278 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16279 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16280 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16281 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16282 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16283 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16284 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16285 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16286 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16287 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16288 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16289 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16290 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16291 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16292 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16293 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16294 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16295 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16296 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16297 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16298 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16299 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16300 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16301 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16302 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16303 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16304 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16305 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16306 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16307 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16308 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16309 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16310 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16311 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16312 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16313 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16314 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16315 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16316 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16317 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16318 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16319 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16320 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16321 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16322 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16323 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16324 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"`'
16325 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"`'
16326 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16327 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16328 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16329 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16330 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16331 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16332 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16333 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16334 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16335 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16336 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16337 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16338 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16339 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16340 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16341 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16342 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16343 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16344 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16345 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16346 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16347 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16348 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16349 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16350 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16351 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16352 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16353 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16354 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16355 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16356 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16357 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16358 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16359 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16360 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16361 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16362 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16363 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16364 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16365 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16366 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16367 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16368 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16369 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16370 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16371 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16372 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16373 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16374 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16375 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16376 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16377 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16378 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16379 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16380 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16381 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16382 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16383 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16384 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16385 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16386 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16387 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16388 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16389 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16390 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16391 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16392 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16393 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16394 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16395 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16396 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16397 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16398 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16399 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16400 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16401 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16402 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16403 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16404 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16405 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16406 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16407 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16408 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16409 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16410 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16411 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16412 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16413 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16414 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16415 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16416 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16417 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16418 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16419 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16420 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16421 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16422 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16423 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16424 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16425 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16426 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16427 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16428 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16429 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16430 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16431 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16432 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16433 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16434 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16435 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16436 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16437 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16438 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16439 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16440 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16441 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16442 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16443 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16444 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16445 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16446 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16447 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16448 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16449 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16450 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16453 LTCFLAGS='$LTCFLAGS'
16454 compiler='$compiler_DEFAULT'
16456 # Quote evaled strings.
16467 deplibs_check_method \
16476 lt_cv_sys_global_symbol_pipe \
16477 lt_cv_sys_global_symbol_to_cdecl \
16478 lt_cv_sys_global_symbol_to_c_name_address \
16479 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16482 lt_prog_compiler_no_builtin_flag \
16483 lt_prog_compiler_wl \
16484 lt_prog_compiler_pic \
16485 lt_prog_compiler_static \
16486 lt_cv_prog_compiler_c_o \
16494 export_dynamic_flag_spec \
16495 whole_archive_flag_spec \
16496 compiler_needs_object \
16498 allow_undefined_flag \
16499 no_undefined_flag \
16500 hardcode_libdir_flag_spec \
16501 hardcode_libdir_flag_spec_ld \
16502 hardcode_libdir_separator \
16507 variables_saved_for_relink \
16509 library_names_spec \
16514 compiler_lib_search_dirs \
16519 compiler_lib_search_path \
16522 lt_prog_compiler_no_builtin_flag_CXX \
16523 lt_prog_compiler_wl_CXX \
16524 lt_prog_compiler_pic_CXX \
16525 lt_prog_compiler_static_CXX \
16526 lt_cv_prog_compiler_c_o_CXX \
16527 export_dynamic_flag_spec_CXX \
16528 whole_archive_flag_spec_CXX \
16529 compiler_needs_object_CXX \
16531 allow_undefined_flag_CXX \
16532 no_undefined_flag_CXX \
16533 hardcode_libdir_flag_spec_CXX \
16534 hardcode_libdir_flag_spec_ld_CXX \
16535 hardcode_libdir_separator_CXX \
16536 fix_srcfile_path_CXX \
16537 exclude_expsyms_CXX \
16538 include_expsyms_CXX \
16539 file_list_spec_CXX \
16540 compiler_lib_search_dirs_CXX \
16541 predep_objects_CXX \
16542 postdep_objects_CXX \
16545 compiler_lib_search_path_CXX; do
16546 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16547 *[\\\\\\\`\\"\\\$]*)
16548 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16551 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16556 # Double-quote double-evaled strings.
16557 for var in reload_cmds \
16558 old_postinstall_cmds \
16559 old_postuninstall_cmds \
16561 extract_expsyms_cmds \
16562 old_archive_from_new_cmds \
16563 old_archive_from_expsyms_cmds \
16565 archive_expsym_cmds \
16567 module_expsym_cmds \
16568 export_symbols_cmds \
16571 postuninstall_cmds \
16573 sys_lib_search_path_spec \
16574 sys_lib_dlsearch_path_spec \
16575 old_archive_cmds_CXX \
16576 old_archive_from_new_cmds_CXX \
16577 old_archive_from_expsyms_cmds_CXX \
16579 archive_expsym_cmds_CXX \
16581 module_expsym_cmds_CXX \
16582 export_symbols_cmds_CXX \
16583 prelink_cmds_CXX; do
16584 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16585 *[\\\\\\\`\\"\\\$]*)
16586 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16589 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16594 # Fix-up fallback echo if it was mangled by the above quoting rules.
16596 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16600 ac_aux_dir='$ac_aux_dir'
16601 xsi_shell='$xsi_shell'
16602 lt_shell_append='$lt_shell_append'
16604 # See if we are running on zsh, and set the options which allow our
16605 # commands through without removal of \ escapes INIT.
16606 if test -n "\${ZSH_VERSION+set}" ; then
16607 setopt NO_GLOB_SUBST
16613 TIMESTAMP='$TIMESTAMP'
16624 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16626 # Handling of arguments.
16627 for ac_config_target
in $ac_config_targets
16629 case $ac_config_target in
16630 "expat_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS expat_config.h" ;;
16631 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16632 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16633 "expat.pc") CONFIG_FILES
="$CONFIG_FILES expat.pc" ;;
16635 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16640 # If the user did not use the arguments to specify the items to instantiate,
16641 # then the envvar interface is used. Set only those that are not.
16642 # We use the long form for the default assignment because of an extremely
16643 # bizarre bug on SunOS 4.1.3.
16644 if $ac_need_defaults; then
16645 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16646 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16647 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16650 # Have a temporary directory for convenience. Make it in the build tree
16651 # simply because there is no reason against having it here, and in addition,
16652 # creating and moving files from /tmp can sometimes cause problems.
16653 # Hook for its removal unless debugging.
16654 # Note that there is a small window in which the directory will not be cleaned:
16655 # after its creation but before its name has been assigned to `$tmp'.
16659 trap 'exit_status=$?
16660 : "${ac_tmp:=$tmp}"
16661 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16663 trap 'as_fn_exit 1' 1 2 13 15
16665 # Create a (secure) tmp directory for tmp files.
16668 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16672 tmp
=.
/conf$$
-$RANDOM
16673 (umask 077 && mkdir "$tmp")
16674 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16677 # Set up the scripts for CONFIG_FILES section.
16678 # No need to generate them if there are no CONFIG_FILES.
16679 # This happens for instance with `./config.status config.h'.
16680 if test -n "$CONFIG_FILES"; then
16683 ac_cr
=`echo X | tr X '\015'`
16684 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16685 # But we know of no other shell where ac_cr would be empty at this
16686 # point, so we can use a bashism as a fallback.
16687 if test "x$ac_cr" = x
; then
16688 eval ac_cr
=\$
\'\\r
\'
16690 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16691 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16694 ac_cs_awk_cr
=$ac_cr
16697 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16702 echo "cat >conf$$subs.awk <<_ACEOF" &&
16703 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16705 } >conf$$subs.sh ||
16706 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16707 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16709 for ac_last_try in false false false false false :; do
16710 . ./conf$$subs.sh ||
16711 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16713 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16714 if test $ac_delim_n = $ac_delim_num; then
16716 elif $ac_last_try; then
16717 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16719 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16722 rm -f conf$$subs.sh
16724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16725 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16729 s/^/S["/; s
/!.
*/"]=/
16739 s/\(.\{148\}\)..*/\1/
16741 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16746 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16753 s/\(.\{148\}\)..*/\1/
16755 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16759 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16764 ' <conf$$subs.awk | sed '
16769 ' >>$CONFIG_STATUS || ac_write_fail=1
16770 rm -f conf$$subs.awk
16771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16773 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16774 for (key in S) S_is_set[key] = 1
16780 nfields = split(line, field, "@
")
16782 len = length(field[1])
16783 for (i = 2; i < nfields; i++) {
16785 keylen = length(key)
16786 if (S_is_set[key]) {
16788 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16789 len += length(value) + length(field[++i])
16800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16801 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16802 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16805 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16806 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16809 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16810 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16811 # trailing colons and then remove the whole line if VPATH becomes empty
16812 # (actually we leave an empty line to preserve line numbers).
16813 if test "x
$srcdir" = x.; then
16814 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16833 fi # test -n "$CONFIG_FILES"
16835 # Set up the scripts for CONFIG_HEADERS section.
16836 # No need to generate them if there are no CONFIG_HEADERS.
16837 # This happens for instance with `./config.status Makefile'.
16838 if test -n "$CONFIG_HEADERS"; then
16839 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16843 # Transform confdefs.h into an awk script `defines.awk', embedded as
16844 # here-document in config.status, that substitutes the proper values into
16845 # config.h.in to produce config.h.
16847 # Create a delimiter string that does not exist in confdefs.h, to ease
16848 # handling of long lines.
16850 for ac_last_try in false false :; do
16851 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16852 if test -z "$ac_tt"; then
16854 elif $ac_last_try; then
16855 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16857 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16861 # For the awk script, D is an array of macro values keyed by name,
16862 # likewise P contains macro parameters if any. Preserve backslash
16863 # newline sequences.
16865 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16867 s/.\{148\}/&'"$ac_delim"'/g
16870 s/^[ ]*#[ ]*define[ ][ ]*/ /
16877 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16879 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16884 D["\
1"]=" \
3\\\\\\n
"\\/p
16886 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16891 s/.\{148\}/&'"$ac_delim"'/g
16896 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16899 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16901 ' <confdefs.h | sed '
16902 s/'"$ac_delim"'/"\\\
16903 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906 for (key in D) D_is_set[key] = 1
16909 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16911 split(line, arg, " ")
16912 if (arg[1] == "#") {
16916 defundef
= substr
(arg
[1], 2)
16919 split(mac1
, mac2
, "(") #)
16921 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16922 if (D_is_set
[macro
]) {
16923 # Preserve the white space surrounding the "#".
16924 print prefix
"define", macro P
[macro
] D
[macro
]
16927 # Replace #undef with comments. This is necessary, for example,
16928 # in the case of _POSIX_SOURCE, which is predefined and required
16929 # on some systems where configure will not decide to define it.
16930 if (defundef
== "undef") {
16931 print
"/*", prefix defundef
, macro
, "*/"
16939 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16940 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16941 fi # test -n "$CONFIG_HEADERS"
16944 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16949 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16951 case $ac_mode$ac_tag in
16953 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16954 :[FH
]-) ac_tag
=-:-;;
16955 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16972 -) ac_f
="$ac_tmp/stdin";;
16973 *) # Look for the file first in the build tree, then in the source tree
16974 # (if the path is not absolute). The absolute path cannot be DOS-style,
16975 # because $ac_f cannot contain `:'.
16979 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16981 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16983 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16984 as_fn_append ac_file_inputs
" '$ac_f'"
16987 # Let's still pretend it is `configure' which instantiates (i.e., don't
16988 # use $as_me), people would be surprised to read:
16989 # /* config.h. Generated by config.status. */
16990 configure_input
='Generated from '`
16991 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16993 if test x
"$ac_file" != x
-; then
16994 configure_input
="$ac_file. $configure_input"
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16996 $as_echo "$as_me: creating $ac_file" >&6;}
16998 # Neutralize special characters interpreted by sed in replacement strings.
16999 case $configure_input in #(
17000 *\
&* | *\
|* | *\\* )
17001 ac_sed_conf_input
=`$as_echo "$configure_input" |
17002 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17003 *) ac_sed_conf_input
=$configure_input;;
17007 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17008 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17013 ac_dir
=`$as_dirname -- "$ac_file" ||
17014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17015 X"$ac_file" : 'X\(//\)[^/]' \| \
17016 X"$ac_file" : 'X\(//\)$' \| \
17017 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17018 $as_echo X"$ac_file" |
17019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17023 /^X\(\/\/\)[^/].*/{
17036 as_dir
="$ac_dir"; as_fn_mkdir_p
17040 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17042 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17043 # A ".." for each directory in $ac_dir_suffix.
17044 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17045 case $ac_top_builddir_sub in
17046 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17047 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17050 ac_abs_top_builddir
=$ac_pwd
17051 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17052 # for backward compatibility:
17053 ac_top_builddir
=$ac_top_build_prefix
17056 .
) # We are building in place.
17058 ac_top_srcdir
=$ac_top_builddir_sub
17059 ac_abs_top_srcdir
=$ac_pwd ;;
17060 [\\/]* | ?
:[\\/]* ) # Absolute name.
17061 ac_srcdir
=$srcdir$ac_dir_suffix;
17062 ac_top_srcdir
=$srcdir
17063 ac_abs_top_srcdir
=$srcdir ;;
17064 *) # Relative name.
17065 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17066 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17067 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17069 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17079 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17080 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17084 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17085 # If the template does not know about datarootdir, expand it.
17086 # FIXME: This hack should be removed a few years after 2.60.
17087 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17098 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17099 *datarootdir
*) ac_datarootdir_seen
=yes;;
17100 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17102 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17105 ac_datarootdir_hack='
17106 s&@datadir@&$datadir&g
17107 s&@docdir@&$docdir&g
17108 s&@infodir@&$infodir&g
17109 s&@localedir@&$localedir&g
17110 s&@mandir@&$mandir&g
17111 s&\\\${datarootdir}&$datarootdir&g' ;;
17115 # Neutralize VPATH when `$srcdir' = `.'.
17116 # Shell code in configure.ac might set extrasub.
17117 # FIXME: do we really want to maintain this feature?
17118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17119 ac_sed_extra="$ac_vpsub
17122 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17124 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17125 s
|@configure_input@
|$ac_sed_conf_input|;t t
17126 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17127 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17128 s
&@srcdir@
&$ac_srcdir&;t t
17129 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17130 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17131 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17132 s
&@builddir@
&$ac_builddir&;t t
17133 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17134 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17135 s
&@INSTALL@
&$ac_INSTALL&;t t
17136 $ac_datarootdir_hack
17138 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17139 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17141 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17142 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17143 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17144 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17146 which seems to be undefined. Please make sure it is defined" >&5
17147 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17148 which seems to be undefined. Please make sure it is defined" >&2;}
17150 rm -f "$ac_tmp/stdin"
17152 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17153 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17155 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17161 if test x"$ac_file" != x-; then
17163 $as_echo "/* $configure_input */" \
17164 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17165 } >"$ac_tmp/config.h" \
17166 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17167 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17169 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17172 mv "$ac_tmp/config.h" "$ac_file" \
17173 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17176 $as_echo "/* $configure_input */" \
17177 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17178 || as_fn_error $? "could not create -" "$LINENO" 5
17182 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17183 $as_echo "$as_me: executing $ac_file commands" >&6;}
17188 case $ac_file$ac_mode in
17191 # See if we are running on zsh, and set the options which allow our
17192 # commands through without removal of \ escapes.
17193 if test -n "${ZSH_VERSION+set}" ; then
17194 setopt NO_GLOB_SUBST
17197 cfgfile="${ofile}T"
17198 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17201 cat <<_LT_EOF >> "$cfgfile"
17204 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17205 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17206 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17207 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17209 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17210 # 2006, 2007, 2008 Free Software Foundation, Inc.
17211 # Written by Gordon Matzigkeit, 1996
17213 # This file is part of GNU Libtool.
17215 # GNU Libtool is free software; you can redistribute it and/or
17216 # modify it under the terms of the GNU General Public License as
17217 # published by the Free Software Foundation; either version 2 of
17218 # the License, or (at your option) any later version.
17220 # As a special exception to the GNU General Public License,
17221 # if you distribute this file as part of a program or library that
17222 # is built using GNU Libtool, you may include this file under the
17223 # same distribution terms that you use for the rest of that program.
17225 # GNU Libtool is distributed in the hope that it will be useful,
17226 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17227 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17228 # GNU General Public License for more details.
17230 # You should have received a copy of the GNU General Public License
17231 # along with GNU Libtool; see the file COPYING. If not, a copy
17232 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17233 # obtained by writing to the Free Software Foundation, Inc.,
17234 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17237 # The names of the tagged configurations supported by this script.
17238 available_tags="CXX "
17240 # ### BEGIN LIBTOOL CONFIG
17242 # Assembler program.
17245 # DLL creation program.
17248 # Object dumper program.
17251 # Which release of libtool.m4 was used?
17252 macro_version=$macro_version
17253 macro_revision=$macro_revision
17255 # Whether or not to build shared libraries.
17256 build_libtool_libs=$enable_shared
17258 # Whether or not to build static libraries.
17259 build_old_libs=$enable_static
17261 # What type of objects to build.
17264 # Whether or not to optimize for fast installation.
17265 fast_install=$enable_fast_install
17268 host_alias=$host_alias
17272 # The build system.
17273 build_alias=$build_alias
17277 # A sed program that does not truncate output.
17280 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17281 Xsed="\$SED -e 1s/^X//"
17283 # A grep program that handles long lines.
17289 # A literal string matcher.
17292 # A BSD- or MS-compatible name lister.
17295 # Whether we need soft or hard links.
17298 # What is the maximum length of a command?
17299 max_cmd_len=$max_cmd_len
17301 # Object file suffix (normally "o").
17304 # Executable file suffix (normally "").
17307 # whether the shell understands "unset".
17310 # turn spaces into newlines.
17313 # turn newlines into spaces.
17316 # How to create reloadable object files.
17317 reload_flag=$lt_reload_flag
17318 reload_cmds=$lt_reload_cmds
17320 # Method to check whether dependent libraries are shared objects.
17321 deplibs_check_method=$lt_deplibs_check_method
17323 # Command to use when deplibs_check_method == "file_magic".
17324 file_magic_cmd=$lt_file_magic_cmd
17328 AR_FLAGS=$lt_AR_FLAGS
17330 # A symbol stripping program.
17333 # Commands used to install an old-style archive.
17335 old_postinstall_cmds=$lt_old_postinstall_cmds
17336 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17341 # LTCC compiler flags.
17342 LTCFLAGS=$lt_CFLAGS
17344 # Take the output of nm and produce a listing of raw symbols and C names.
17345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17347 # Transform the output of nm in a proper C declaration.
17348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17350 # Transform the output of nm in a C name address pair.
17351 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17353 # Transform the output of nm in a C name address pair when lib prefix is needed.
17354 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17356 # The name of the directory that contains temporary libtool files.
17359 # Shell to use when invoking shell scripts.
17362 # An echo program that does not interpret backslashes.
17365 # Used to examine libraries when file_magic_cmd begins with "file".
17366 MAGIC_CMD=$MAGIC_CMD
17368 # Must we lock files when doing compilation?
17369 need_locks=$lt_need_locks
17371 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17372 DSYMUTIL=$lt_DSYMUTIL
17374 # Tool to change global to local symbols on Mac OS X.
17377 # Tool to manipulate fat objects and archives on Mac OS X.
17380 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17383 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17384 OTOOL64=$lt_OTOOL64
17386 # Old archive suffix (normally "a").
17389 # Shared library suffix (normally ".so").
17390 shrext_cmds=$lt_shrext_cmds
17392 # The commands to extract the exported symbol list from a shared archive.
17393 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17395 # Variables whose values should be saved in libtool wrapper scripts and
17396 # restored at link time.
17397 variables_saved_for_relink=$lt_variables_saved_for_relink
17399 # Do we need the "lib" prefix for modules?
17400 need_lib_prefix=$need_lib_prefix
17402 # Do we need a version for libraries?
17403 need_version=$need_version
17405 # Library versioning type.
17406 version_type=$version_type
17408 # Shared library runtime path variable.
17409 runpath_var=$runpath_var
17411 # Shared library path variable.
17412 shlibpath_var=$shlibpath_var
17414 # Is shlibpath searched before the hard-coded library search path?
17415 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17417 # Format of library name prefix.
17418 libname_spec=$lt_libname_spec
17420 # List of archive names. First name is the real one, the rest are links.
17421 # The last name is the one that the linker finds with -lNAME
17422 library_names_spec=$lt_library_names_spec
17424 # The coded name of the library, if different from the real name.
17425 soname_spec=$lt_soname_spec
17427 # Command to use after installation of a shared archive.
17428 postinstall_cmds=$lt_postinstall_cmds
17430 # Command to use after uninstallation of a shared archive.
17431 postuninstall_cmds=$lt_postuninstall_cmds
17433 # Commands used to finish a libtool library installation in a directory.
17434 finish_cmds=$lt_finish_cmds
17436 # As "finish_cmds", except a single script fragment to be evaled but
17438 finish_eval=$lt_finish_eval
17440 # Whether we should hardcode library paths into libraries.
17441 hardcode_into_libs=$hardcode_into_libs
17443 # Compile-time system search path for libraries.
17444 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17446 # Run-time system search path for libraries.
17447 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17449 # Whether dlopen is supported.
17450 dlopen_support=$enable_dlopen
17452 # Whether dlopen of programs is supported.
17453 dlopen_self=$enable_dlopen_self
17455 # Whether dlopen of statically linked programs is supported.
17456 dlopen_self_static=$enable_dlopen_self_static
17458 # Commands to strip libraries.
17459 old_striplib=$lt_old_striplib
17460 striplib=$lt_striplib
17463 # The linker used to build libraries.
17466 # Commands used to build an old-style archive.
17467 old_archive_cmds=$lt_old_archive_cmds
17469 # A language specific compiler.
17472 # Is the compiler the GNU compiler?
17475 # Compiler flag to turn off builtin functions.
17476 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17478 # How to pass a linker flag through the compiler.
17479 wl=$lt_lt_prog_compiler_wl
17481 # Additional compiler flags for building library objects.
17482 pic_flag=$lt_lt_prog_compiler_pic
17484 # Compiler flag to prevent dynamic linking.
17485 link_static_flag=$lt_lt_prog_compiler_static
17487 # Does compiler simultaneously support -c and -o options?
17488 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17490 # Whether or not to add -lc for building shared libraries.
17491 build_libtool_need_lc=$archive_cmds_need_lc
17493 # Whether or not to disallow shared libs when runtime libs are static.
17494 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17496 # Compiler flag to allow reflexive dlopens.
17497 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17499 # Compiler flag to generate shared objects directly from archives.
17500 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17502 # Whether the compiler copes with passing no objects directly.
17503 compiler_needs_object=$lt_compiler_needs_object
17505 # Create an old-style archive from a shared archive.
17506 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17508 # Create a temporary old-style archive to link instead of a shared archive.
17509 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17511 # Commands used to build a shared archive.
17512 archive_cmds=$lt_archive_cmds
17513 archive_expsym_cmds=$lt_archive_expsym_cmds
17515 # Commands used to build a loadable module if different from building
17516 # a shared archive.
17517 module_cmds=$lt_module_cmds
17518 module_expsym_cmds=$lt_module_expsym_cmds
17520 # Whether we are building with GNU ld or not.
17521 with_gnu_ld=$lt_with_gnu_ld
17523 # Flag that allows shared libraries with undefined symbols to be built.
17524 allow_undefined_flag=$lt_allow_undefined_flag
17526 # Flag that enforces no undefined symbols.
17527 no_undefined_flag=$lt_no_undefined_flag
17529 # Flag to hardcode \$libdir into a binary during linking.
17530 # This must work even if \$libdir does not exist
17531 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17533 # If ld is used when linking, flag to hardcode \$libdir into a binary
17534 # during linking. This must work even if \$libdir does not exist.
17535 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17537 # Whether we need a single "-rpath" flag with a separated argument.
17538 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17540 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17541 # DIR into the resulting binary.
17542 hardcode_direct=$hardcode_direct
17544 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17545 # DIR into the resulting binary and the resulting library dependency is
17546 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17547 # library is relocated.
17548 hardcode_direct_absolute=$hardcode_direct_absolute
17550 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17551 # into the resulting binary.
17552 hardcode_minus_L=$hardcode_minus_L
17554 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17555 # into the resulting binary.
17556 hardcode_shlibpath_var=$hardcode_shlibpath_var
17558 # Set to "yes" if building a shared library automatically hardcodes DIR
17559 # into the library and all subsequent libraries and executables linked
17561 hardcode_automatic=$hardcode_automatic
17563 # Set to yes if linker adds runtime paths of dependent libraries
17564 # to runtime path list.
17565 inherit_rpath=$inherit_rpath
17567 # Whether libtool must link a program against all its dependency libraries.
17568 link_all_deplibs=$link_all_deplibs
17570 # Fix the shell variable \$srcfile for the compiler.
17571 fix_srcfile_path=$lt_fix_srcfile_path
17573 # Set to "yes" if exported symbols are required.
17574 always_export_symbols=$always_export_symbols
17576 # The commands to list exported symbols.
17577 export_symbols_cmds=$lt_export_symbols_cmds
17579 # Symbols that should not be listed in the preloaded symbols.
17580 exclude_expsyms=$lt_exclude_expsyms
17582 # Symbols that must always be exported.
17583 include_expsyms=$lt_include_expsyms
17585 # Commands necessary for linking programs (against libraries) with templates.
17586 prelink_cmds=$lt_prelink_cmds
17588 # Specify filename containing input files.
17589 file_list_spec=$lt_file_list_spec
17591 # How to hardcode a shared library path into an executable.
17592 hardcode_action=$hardcode_action
17594 # The directories searched by this compiler when creating a shared library.
17595 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17597 # Dependencies to place before and after the objects being linked to
17598 # create a shared library.
17599 predep_objects=$lt_predep_objects
17600 postdep_objects=$lt_postdep_objects
17601 predeps=$lt_predeps
17602 postdeps=$lt_postdeps
17604 # The library search path used internally by the compiler when linking
17605 # a shared library.
17606 compiler_lib_search_path=$lt_compiler_lib_search_path
17608 # ### END LIBTOOL CONFIG
17614 cat <<\_LT_EOF >> "$cfgfile"
17615 # AIX sometimes has problems with the GCC collect2 program. For some
17616 # reason, if we set the COLLECT_NAMES environment variable, the problems
17617 # vanish in a puff of smoke.
17618 if test "X${COLLECT_NAMES+set}" != Xset; then
17620 export COLLECT_NAMES
17627 ltmain="$ac_aux_dir/ltmain.sh"
17630 # We use sed instead of cat because bash on DJGPP gets confused if
17631 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17632 # text mode, it properly converts lines to CR/LF. This bash problem
17633 # is reportedly fixed, but why not run on old versions too?
17634 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17635 || (rm -f "$cfgfile"; exit 1)
17639 cat << \_LT_EOF
>> "$cfgfile"
17641 # func_dirname file append nondir_replacement
17642 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17643 # otherwise set result to NONDIR_REPLACEMENT.
17647 */*) func_dirname_result
="${1%/*}${2}" ;;
17648 * ) func_dirname_result
="${3}" ;;
17652 # func_basename file
17655 func_basename_result
="${1##*/}"
17658 # func_dirname_and_basename file append nondir_replacement
17659 # perform func_basename and func_dirname in a single function
17661 # dirname: Compute the dirname of FILE. If nonempty,
17662 # add APPEND to the result, otherwise set result
17663 # to NONDIR_REPLACEMENT.
17664 # value returned in "$func_dirname_result"
17665 # basename: Compute filename of FILE.
17666 # value retuned in "$func_basename_result"
17667 # Implementation must be kept synchronized with func_dirname
17668 # and func_basename. For efficiency, we do not delegate to
17669 # those functions but instead duplicate the functionality here.
17670 func_dirname_and_basename
()
17673 */*) func_dirname_result
="${1%/*}${2}" ;;
17674 * ) func_dirname_result
="${3}" ;;
17676 func_basename_result
="${1##*/}"
17679 # func_stripname prefix suffix name
17680 # strip PREFIX and SUFFIX off of NAME.
17681 # PREFIX and SUFFIX must not contain globbing or regex special
17682 # characters, hashes, percent signs, but SUFFIX may contain a leading
17683 # dot (in which case that matches only a dot).
17686 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17687 # positional parameters, so assign one to ordinary parameter first.
17688 func_stripname_result
=${3}
17689 func_stripname_result
=${func_stripname_result#"${1}"}
17690 func_stripname_result
=${func_stripname_result%"${2}"}
17696 func_opt_split_opt
=${1%%=*}
17697 func_opt_split_arg
=${1#*=}
17704 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
17705 *) func_lo2o_result
=${1} ;;
17709 # func_xform libobj-or-source
17712 func_xform_result
=${1%.*}.lo
17715 # func_arith arithmetic-term...
17718 func_arith_result
=$(( $* ))
17722 # STRING may not start with a hyphen.
17725 func_len_result
=${#1}
17730 *) # Bourne compatible functions.
17731 cat << \_LT_EOF
>> "$cfgfile"
17733 # func_dirname file append nondir_replacement
17734 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17735 # otherwise set result to NONDIR_REPLACEMENT.
17738 # Extract subdirectory from the argument.
17739 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17740 if test "X$func_dirname_result" = "X${1}"; then
17741 func_dirname_result
="${3}"
17743 func_dirname_result
="$func_dirname_result${2}"
17747 # func_basename file
17750 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
17754 # func_stripname prefix suffix name
17755 # strip PREFIX and SUFFIX off of NAME.
17756 # PREFIX and SUFFIX must not contain globbing or regex special
17757 # characters, hashes, percent signs, but SUFFIX may contain a leading
17758 # dot (in which case that matches only a dot).
17759 # func_strip_suffix prefix name
17763 .
*) func_stripname_result
=`$ECHO "X${3}" \
17764 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17765 *) func_stripname_result
=`$ECHO "X${3}" \
17766 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17771 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
17772 my_sed_long_arg
='1s/^-[^=]*=//'
17777 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17778 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17784 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17787 # func_xform libobj-or-source
17790 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17793 # func_arith arithmetic-term...
17796 func_arith_result
=`expr "$@"`
17800 # STRING may not start with a hyphen.
17803 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17809 case $lt_shell_append in
17811 cat << \_LT_EOF
>> "$cfgfile"
17813 # func_append var value
17814 # Append VALUE to the end of shell variable VAR.
17822 cat << \_LT_EOF
>> "$cfgfile"
17824 # func_append var value
17825 # Append VALUE to the end of shell variable VAR.
17836 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17837 || (rm -f "$cfgfile"; exit 1)
17839 mv -f "$cfgfile" "$ofile" ||
17840 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17844 cat <<_LT_EOF >> "$ofile"
17846 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17848 # The linker used to build libraries.
17851 # Commands used to build an old-style archive.
17852 old_archive_cmds=$lt_old_archive_cmds_CXX
17854 # A language specific compiler.
17855 CC=$lt_compiler_CXX
17857 # Is the compiler the GNU compiler?
17860 # Compiler flag to turn off builtin functions.
17861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17863 # How to pass a linker flag through the compiler.
17864 wl=$lt_lt_prog_compiler_wl_CXX
17866 # Additional compiler flags for building library objects.
17867 pic_flag=$lt_lt_prog_compiler_pic_CXX
17869 # Compiler flag to prevent dynamic linking.
17870 link_static_flag=$lt_lt_prog_compiler_static_CXX
17872 # Does compiler simultaneously support -c and -o options?
17873 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17875 # Whether or not to add -lc for building shared libraries.
17876 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17878 # Whether or not to disallow shared libs when runtime libs are static.
17879 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17881 # Compiler flag to allow reflexive dlopens.
17882 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17884 # Compiler flag to generate shared objects directly from archives.
17885 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17887 # Whether the compiler copes with passing no objects directly.
17888 compiler_needs_object=$lt_compiler_needs_object_CXX
17890 # Create an old-style archive from a shared archive.
17891 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17893 # Create a temporary old-style archive to link instead of a shared archive.
17894 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17896 # Commands used to build a shared archive.
17897 archive_cmds=$lt_archive_cmds_CXX
17898 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17900 # Commands used to build a loadable module if different from building
17901 # a shared archive.
17902 module_cmds=$lt_module_cmds_CXX
17903 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17905 # Whether we are building with GNU ld or not.
17906 with_gnu_ld=$lt_with_gnu_ld_CXX
17908 # Flag that allows shared libraries with undefined symbols to be built.
17909 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17911 # Flag that enforces no undefined symbols.
17912 no_undefined_flag=$lt_no_undefined_flag_CXX
17914 # Flag to hardcode \$libdir into a binary during linking.
17915 # This must work even if \$libdir does not exist
17916 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17918 # If ld is used when linking, flag to hardcode \$libdir into a binary
17919 # during linking. This must work even if \$libdir does not exist.
17920 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17922 # Whether we need a single "-rpath" flag with a separated argument.
17923 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17925 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17926 # DIR into the resulting binary.
17927 hardcode_direct=$hardcode_direct_CXX
17929 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17930 # DIR into the resulting binary and the resulting library dependency is
17931 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17932 # library is relocated.
17933 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17935 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17936 # into the resulting binary.
17937 hardcode_minus_L=$hardcode_minus_L_CXX
17939 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17940 # into the resulting binary.
17941 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17943 # Set to "yes" if building a shared library automatically hardcodes DIR
17944 # into the library and all subsequent libraries and executables linked
17946 hardcode_automatic=$hardcode_automatic_CXX
17948 # Set to yes if linker adds runtime paths of dependent libraries
17949 # to runtime path list.
17950 inherit_rpath=$inherit_rpath_CXX
17952 # Whether libtool must link a program against all its dependency libraries.
17953 link_all_deplibs=$link_all_deplibs_CXX
17955 # Fix the shell variable \$srcfile for the compiler.
17956 fix_srcfile_path=$lt_fix_srcfile_path_CXX
17958 # Set to "yes" if exported symbols are required.
17959 always_export_symbols=$always_export_symbols_CXX
17961 # The commands to list exported symbols.
17962 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17964 # Symbols that should not be listed in the preloaded symbols.
17965 exclude_expsyms=$lt_exclude_expsyms_CXX
17967 # Symbols that must always be exported.
17968 include_expsyms=$lt_include_expsyms_CXX
17970 # Commands necessary for linking programs (against libraries) with templates.
17971 prelink_cmds=$lt_prelink_cmds_CXX
17973 # Specify filename containing input files.
17974 file_list_spec=$lt_file_list_spec_CXX
17976 # How to hardcode a shared library path into an executable.
17977 hardcode_action=$hardcode_action_CXX
17979 # The directories searched by this compiler when creating a shared library.
17980 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17982 # Dependencies to place before and after the objects being linked to
17983 # create a shared library.
17984 predep_objects=$lt_predep_objects_CXX
17985 postdep_objects=$lt_postdep_objects_CXX
17986 predeps=$lt_predeps_CXX
17987 postdeps=$lt_postdeps_CXX
17989 # The library search path used internally by the compiler when linking
17990 # a shared library.
17991 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17993 # ### END LIBTOOL TAG CONFIG: CXX
18004 ac_clean_files
=$ac_clean_files_save
18006 test $ac_write_fail = 0 ||
18007 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18010 # configure is writing to config.log, and then calls config.status.
18011 # config.status does its own redirection, appending to config.log.
18012 # Unfortunately, on DOS this fails, as config.log is still kept open
18013 # by configure, so config.status won't be able to write to it; its
18014 # output is simply discarded. So we exec the FD to /dev/null,
18015 # effectively closing config.log, so it can be properly (re)opened and
18016 # appended to by config.status. When coming back to configure, we
18017 # need to make the FD available again.
18018 if test "$no_create" != yes; then
18020 ac_config_status_args
=
18021 test "$silent" = yes &&
18022 ac_config_status_args
="$ac_config_status_args --quiet"
18024 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18026 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18027 # would make configure fail if this is the last instruction.
18028 $ac_cs_success || as_fn_exit
1
18030 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18032 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18036 abs_srcdir
="`cd $srcdir && pwd`"
18037 abs_builddir
="`pwd`"
18038 if test "$abs_srcdir" != "$abs_builddir"; then
18039 ${MAKE:-make} mkdir-init