2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir -p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X
--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X
--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X
--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 # Use only awk features that work with 7th edition Unix awk (1978).
682 # My, what an old awk you have, Mr. Solaris!
684 while (length(v1) && length(v2)) {
685 # Set d1 to be the next thing to compare from v1, and likewise for d2.
686 # Normally this is a single character, but if v1 and v2 contain digits,
687 # compare them as integers and fractions as strverscmp does.
688 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
689 # Split v1 and v2 into their leading digit string components d1 and d2,
690 # and advance v1 and v2 past the leading digit strings.
691 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
692 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
693 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
694 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
697 # Compare two fractions.
698 while (d1 ~ /^0/ && d2 ~ /^0/) {
699 d1 = substr(d1, 2); len1--
700 d2 = substr(d2, 2); len2--
702 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
703 # The two components differ in length, and the common prefix
704 # contains only leading zeros. Consider the longer to be less.
708 # Otherwise, compare as strings.
713 # A fraction is less than an integer.
718 # An integer is greater than a fraction.
721 # Compare two integers.
727 # The normal case, without worrying about digits.
728 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
729 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
734 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
735 # which mishandles some comparisons of empty strings to integers.
736 if (length(v2)) exit 1
737 if (length(v1)) exit 2
741 test -n "$DJDIR" || exec 7<&0 </dev
/null
745 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
746 # so uname gets run too.
747 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
752 ac_default_prefix
=/usr
/local
754 ac_config_libobj_dir
=.
761 # Identity of this package.
762 PACKAGE_NAME
='Cycript'
763 PACKAGE_TARNAME
='cycript'
764 PACKAGE_VERSION
='0.9'
765 PACKAGE_STRING
='Cycript 0.9'
766 PACKAGE_BUGREPORT
='saurik@saurik.com'
767 PACKAGE_URL
='http://www.cycript.org/'
769 ac_unique_file
="Console.cpp"
770 # Factoring default headers for most tests.
771 ac_includes_default
="\
773 #ifdef HAVE_SYS_TYPES_H
774 # include <sys/types.h>
776 #ifdef HAVE_SYS_STAT_H
777 # include <sys/stat.h>
783 # ifdef HAVE_STDLIB_H
788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
793 #ifdef HAVE_STRINGS_H
794 # include <strings.h>
796 #ifdef HAVE_INTTYPES_H
797 # include <inttypes.h>
806 ac_subst_vars
='LTLIBOBJS
904 program_transform_name
917 enable_option_checking
928 ac_precious_vars
='build_alias
953 # Initialize some variables set by options.
955 ac_init_version
=false
956 ac_unrecognized_opts
=
958 # The variables have the same names as the options, with
959 # dashes changed to underlines.
967 program_transform_name
=s
,x
,x
,
975 # Installation directory options.
976 # These are left unexpanded so users can "make install exec_prefix=/foo"
977 # and all the variables that are supposed to be based on exec_prefix
978 # by default will actually change.
979 # Use braces instead of parens because sh, perl, etc. also accept them.
980 # (The list follows the same order as the GNU Coding Standards.)
981 bindir
='${exec_prefix}/bin'
982 sbindir
='${exec_prefix}/sbin'
983 libexecdir
='${exec_prefix}/libexec'
984 datarootdir
='${prefix}/share'
985 datadir
='${datarootdir}'
986 sysconfdir
='${prefix}/etc'
987 sharedstatedir
='${prefix}/com'
988 localstatedir
='${prefix}/var'
989 includedir
='${prefix}/include'
990 oldincludedir
='/usr/include'
991 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
992 infodir
='${datarootdir}/info'
997 libdir
='${exec_prefix}/lib'
998 localedir
='${datarootdir}/locale'
999 mandir
='${datarootdir}/man'
1005 # If the previous option needs an argument, assign it.
1006 if test -n "$ac_prev"; then
1007 eval $ac_prev=\
$ac_option
1013 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026 bindir
=$ac_optarg ;;
1028 -build | --build | --buil | --bui | --bu)
1029 ac_prev
=build_alias
;;
1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031 build_alias
=$ac_optarg ;;
1033 -cache-file | --cache-file | --cache-fil | --cache-fi \
1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035 ac_prev
=cache_file
;;
1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038 cache_file
=$ac_optarg ;;
1040 --config-cache | -C)
1041 cache_file
=config.cache
;;
1043 -datadir | --datadir | --datadi | --datad)
1045 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046 datadir
=$ac_optarg ;;
1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049 | --dataroo | --dataro | --datar)
1050 ac_prev
=datarootdir
;;
1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053 datarootdir
=$ac_optarg ;;
1055 -disable-* | --disable-*)
1056 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1059 as_fn_error
"invalid feature name: $ac_useropt"
1060 ac_useropt_orig
=$ac_useropt
1061 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_
$ac_useropt"
1066 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1067 ac_unrecognized_sep
=', ';;
1069 eval enable_
$ac_useropt=no
;;
1071 -docdir | --docdir | --docdi | --doc | --do)
1073 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1074 docdir
=$ac_optarg ;;
1076 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1079 dvidir
=$ac_optarg ;;
1081 -enable-* | --enable-*)
1082 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1085 as_fn_error
"invalid feature name: $ac_useropt"
1086 ac_useropt_orig
=$ac_useropt
1087 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "enable_
$ac_useropt"
1092 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1093 ac_unrecognized_sep
=', ';;
1095 eval enable_
$ac_useropt=\
$ac_optarg ;;
1097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1099 | --exec | --exe | --ex)
1100 ac_prev
=exec_prefix
;;
1101 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1102 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1103 | --exec=* | --exe=* | --ex=*)
1104 exec_prefix
=$ac_optarg ;;
1106 -gas | --gas | --ga | --g)
1107 # Obsolete; use --with-gas.
1110 -help | --help | --hel | --he | -h)
1111 ac_init_help
=long
;;
1112 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1113 ac_init_help
=recursive
;;
1114 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1115 ac_init_help
=short
;;
1117 -host | --host | --hos | --ho)
1118 ac_prev
=host_alias
;;
1119 -host=* | --host=* | --hos=* | --ho=*)
1120 host_alias
=$ac_optarg ;;
1122 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1124 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1126 htmldir
=$ac_optarg ;;
1128 -includedir | --includedir | --includedi | --included | --include \
1129 | --includ | --inclu | --incl | --inc)
1130 ac_prev
=includedir
;;
1131 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1132 | --includ=* | --inclu=* | --incl=* | --inc=*)
1133 includedir
=$ac_optarg ;;
1135 -infodir | --infodir | --infodi | --infod | --info | --inf)
1137 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1138 infodir
=$ac_optarg ;;
1140 -libdir | --libdir | --libdi | --libd)
1142 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1143 libdir
=$ac_optarg ;;
1145 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1146 | --libexe | --libex | --libe)
1147 ac_prev
=libexecdir
;;
1148 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1149 | --libexe=* | --libex=* | --libe=*)
1150 libexecdir
=$ac_optarg ;;
1152 -localedir | --localedir | --localedi | --localed | --locale)
1153 ac_prev
=localedir
;;
1154 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1155 localedir
=$ac_optarg ;;
1157 -localstatedir | --localstatedir | --localstatedi | --localstated \
1158 | --localstate | --localstat | --localsta | --localst | --locals)
1159 ac_prev
=localstatedir
;;
1160 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1161 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1162 localstatedir
=$ac_optarg ;;
1164 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1166 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1167 mandir
=$ac_optarg ;;
1169 -nfp | --nfp | --nf)
1170 # Obsolete; use --without-fp.
1173 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1174 | --no-cr | --no-c | -n)
1177 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1178 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1182 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1183 | --oldin | --oldi | --old | --ol | --o)
1184 ac_prev
=oldincludedir
;;
1185 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1186 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1187 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1188 oldincludedir
=$ac_optarg ;;
1190 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1192 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1193 prefix
=$ac_optarg ;;
1195 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1196 | --program-pre | --program-pr | --program-p)
1197 ac_prev
=program_prefix
;;
1198 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1199 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1200 program_prefix
=$ac_optarg ;;
1202 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1203 | --program-suf | --program-su | --program-s)
1204 ac_prev
=program_suffix
;;
1205 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1206 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1207 program_suffix
=$ac_optarg ;;
1209 -program-transform-name | --program-transform-name \
1210 | --program-transform-nam | --program-transform-na \
1211 | --program-transform-n | --program-transform- \
1212 | --program-transform | --program-transfor \
1213 | --program-transfo | --program-transf \
1214 | --program-trans | --program-tran \
1215 | --progr-tra | --program-tr | --program-t)
1216 ac_prev
=program_transform_name
;;
1217 -program-transform-name=* | --program-transform-name=* \
1218 | --program-transform-nam=* | --program-transform-na=* \
1219 | --program-transform-n=* | --program-transform-=* \
1220 | --program-transform=* | --program-transfor=* \
1221 | --program-transfo=* | --program-transf=* \
1222 | --program-trans=* | --program-tran=* \
1223 | --progr-tra=* | --program-tr=* | --program-t=*)
1224 program_transform_name
=$ac_optarg ;;
1226 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1228 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1229 pdfdir
=$ac_optarg ;;
1231 -psdir | --psdir | --psdi | --psd | --ps)
1233 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1240 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244 sbindir
=$ac_optarg ;;
1246 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1247 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1248 | --sharedst | --shareds | --shared | --share | --shar \
1250 ac_prev
=sharedstatedir
;;
1251 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1252 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1253 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255 sharedstatedir
=$ac_optarg ;;
1257 -site | --site | --sit)
1259 -site=* | --site=* | --sit=*)
1262 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1265 srcdir
=$ac_optarg ;;
1267 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1268 | --syscon | --sysco | --sysc | --sys | --sy)
1269 ac_prev
=sysconfdir
;;
1270 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1271 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1272 sysconfdir
=$ac_optarg ;;
1274 -target | --target | --targe | --targ | --tar | --ta | --t)
1275 ac_prev
=target_alias
;;
1276 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1277 target_alias
=$ac_optarg ;;
1279 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 -version | --version | --versio | --versi | --vers | -V)
1283 ac_init_version
=: ;;
1286 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1289 as_fn_error
"invalid package name: $ac_useropt"
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=\
$ac_optarg ;;
1301 -without-* | --without-*)
1302 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1303 # Reject names that are not valid shell variable names.
1304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1305 as_fn_error
"invalid package name: $ac_useropt"
1306 ac_useropt_orig
=$ac_useropt
1307 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1313 ac_unrecognized_sep
=', ';;
1315 eval with_
$ac_useropt=no
;;
1318 # Obsolete; use --with-x.
1321 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1322 | --x-incl | --x-inc | --x-in | --x-i)
1323 ac_prev
=x_includes
;;
1324 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1325 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1326 x_includes
=$ac_optarg ;;
1328 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1329 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1330 ac_prev
=x_libraries
;;
1331 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1332 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1333 x_libraries
=$ac_optarg ;;
1335 -*) as_fn_error
"unrecognized option: \`$ac_option'
1336 Try \`$0 --help' for more information."
1340 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1341 # Reject names that are not valid shell variable names.
1342 case $ac_envvar in #(
1343 '' | [0-9]* | *[!_$as_cr_alnum]* )
1344 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1346 eval $ac_envvar=\
$ac_optarg
1347 export $ac_envvar ;;
1350 # FIXME: should be removed in autoconf 3.0.
1351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1354 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1360 if test -n "$ac_prev"; then
1361 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1362 as_fn_error
"missing argument to $ac_option"
1365 if test -n "$ac_unrecognized_opts"; then
1366 case $enable_option_checking in
1368 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1369 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1373 # Check all directory arguments for consistency.
1374 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1375 datadir sysconfdir sharedstatedir localstatedir includedir \
1376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1377 libdir localedir mandir
1379 eval ac_val
=\$
$ac_var
1380 # Remove trailing slashes.
1383 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1384 eval $ac_var=\
$ac_val;;
1386 # Be sure to have absolute directory names.
1388 [\\/$
]* | ?
:[\\/]* ) continue;;
1389 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1391 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1394 # There might be people who depend on the old broken behavior: `$host'
1395 # used to hold the argument of --host etc.
1396 # FIXME: To remove some day.
1399 target
=$target_alias
1401 # FIXME: To remove some day.
1402 if test "x$host_alias" != x
; then
1403 if test "x$build_alias" = x
; then
1404 cross_compiling
=maybe
1405 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1406 If a cross compiler is detected then cross compile mode will be used." >&2
1407 elif test "x$build_alias" != "x$host_alias"; then
1413 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1415 test "$silent" = yes && exec 6>/dev
/null
1418 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1419 ac_ls_di
=`ls -di .` &&
1420 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1421 as_fn_error
"working directory cannot be determined"
1422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1423 as_fn_error
"pwd does not report name of working directory"
1426 # Find the source files, if location was not specified.
1427 if test -z "$srcdir"; then
1428 ac_srcdir_defaulted
=yes
1429 # Try the directory containing this script, then the parent directory.
1430 ac_confdir
=`$as_dirname -- "$as_myself" ||
1431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1432 X"$as_myself" : 'X\(//\)[^/]' \| \
1433 X"$as_myself" : 'X\(//\)$' \| \
1434 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1435 $as_echo X"$as_myself" |
1436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1458 ac_srcdir_defaulted
=no
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1461 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1462 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1464 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1466 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1468 # When building in place, set srcdir=.
1469 if test "$ac_abs_confdir" = "$ac_pwd"; then
1472 # Remove unnecessary trailing slashes from srcdir.
1473 # Double slashes in file names in object file debugging info
1474 # mess up M-x gdb in Emacs.
1476 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1478 for ac_var
in $ac_precious_vars; do
1479 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1480 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1481 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1482 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1486 # Report the --help message.
1488 if test "$ac_init_help" = "long"; then
1489 # Omit some internal or obsolete options to make the list less imposing.
1490 # This message is too long to be a string in the A/UX 3.1 sh.
1492 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1494 Usage: $0 [OPTION]... [VAR=VALUE]...
1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1497 VAR=VALUE. See below for descriptions of some of the useful variables.
1499 Defaults for the options are specified in brackets.
1502 -h, --help display this help and exit
1503 --help=short display options specific to this package
1504 --help=recursive display the short help of all the included packages
1505 -V, --version display version information and exit
1506 -q, --quiet, --silent do not print \`checking...' messages
1507 --cache-file=FILE cache test results in FILE [disabled]
1508 -C, --config-cache alias for \`--cache-file=config.cache'
1509 -n, --no-create do not create output files
1510 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1512 Installation directories:
1513 --prefix=PREFIX install architecture-independent files in PREFIX
1514 [$ac_default_prefix]
1515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1518 By default, \`make install' will install all the files in
1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1521 for instance \`--prefix=\$HOME'.
1523 For better control, use the options below.
1525 Fine tuning of the installation directories:
1526 --bindir=DIR user executables [EPREFIX/bin]
1527 --sbindir=DIR system admin executables [EPREFIX/sbin]
1528 --libexecdir=DIR program executables [EPREFIX/libexec]
1529 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1530 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1531 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1532 --libdir=DIR object code libraries [EPREFIX/lib]
1533 --includedir=DIR C header files [PREFIX/include]
1534 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1535 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1536 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1537 --infodir=DIR info documentation [DATAROOTDIR/info]
1538 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1539 --mandir=DIR man documentation [DATAROOTDIR/man]
1540 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1541 --htmldir=DIR html documentation [DOCDIR]
1542 --dvidir=DIR dvi documentation [DOCDIR]
1543 --pdfdir=DIR pdf documentation [DOCDIR]
1544 --psdir=DIR ps documentation [DOCDIR]
1550 --build=BUILD configure
for building on BUILD
[guessed
]
1551 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1555 if test -n "$ac_init_help"; then
1556 case $ac_init_help in
1557 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1562 --disable-option-checking ignore unrecognized
--enable/--with options
1563 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1564 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1565 --enable-static[=PKGS
] build static libraries
[default
=no
]
1566 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1567 --enable-fast-install[=PKGS
]
1568 optimize
for fast installation
[default
=yes]
1569 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1570 --disable-rpath do not hardcode runtime library paths
1573 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1574 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1575 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1577 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1578 --with-apr=PATH prefix
for installed APR or the full path to
1580 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1581 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1582 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1584 Some influential environment variables:
1585 CC C compiler command
1586 CFLAGS C compiler flags
1587 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1588 nonstandard directory <lib dir>
1589 LIBS libraries to pass to the linker, e.g. -l<library>
1590 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1591 you have headers in a nonstandard directory <include dir>
1593 PKG_CONFIG path to pkg-config utility
1594 CXX C++ compiler command
1595 CXXFLAGS C++ compiler flags
1596 CXXCPP C++ preprocessor
1597 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1598 the first program found out of
: `bison -y', `byacc
', `yacc'.
1599 YFLAGS The list of arguments that will be passed by default to
$YACC.
1600 This
script will default YFLAGS to the empty string to avoid a
1601 default value of
`-d' given by some make applications.
1602 GPERF perfect hash function generator
1604 C compiler flags for WEBKIT, overriding pkg-config
1605 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1606 OBJCXX Objective C++ compiler command
1607 OBJCXXFLAGS Objective C++ compiler flags
1609 C compiler flags for LIBFFI, overriding pkg-config
1610 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1612 Use these variables to override the choices made by `configure
' or to help
1613 it to find libraries and programs with nonstandard names/locations.
1615 Report bugs to <saurik@saurik.com>.
1616 Cycript home page: <http://www.cycript.org/>.
1621 if test "$ac_init_help" = "recursive"; then
1622 # If there are subdirs, report their specific --help.
1623 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1624 test -d "$ac_dir" ||
1625 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1630 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1633 # A ".." for each directory in $ac_dir_suffix.
1634 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1635 case $ac_top_builddir_sub in
1636 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1640 ac_abs_top_builddir=$ac_pwd
1641 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1642 # for backward compatibility:
1643 ac_top_builddir=$ac_top_build_prefix
1646 .) # We are building in place.
1648 ac_top_srcdir=$ac_top_builddir_sub
1649 ac_abs_top_srcdir=$ac_pwd ;;
1650 [\\/]* | ?:[\\/]* ) # Absolute name.
1651 ac_srcdir=$srcdir$ac_dir_suffix;
1652 ac_top_srcdir=$srcdir
1653 ac_abs_top_srcdir=$srcdir ;;
1655 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1656 ac_top_srcdir=$ac_top_build_prefix$srcdir
1657 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1659 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1661 cd "$ac_dir" || { ac_status=$?; continue; }
1662 # Check for guested configure.
1663 if test -f "$ac_srcdir/configure.gnu"; then
1665 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1666 elif test -f "$ac_srcdir/configure"; then
1668 $SHELL "$ac_srcdir/configure" --help=recursive
1670 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672 cd "$ac_pwd" || { ac_status=$?; break; }
1676 test -n "$ac_init_help" && exit $ac_status
1677 if $ac_init_version; then
1679 Cycript configure 0.9
1680 generated by GNU Autoconf 2.65
1682 Copyright (C) 2009 Free Software Foundation, Inc.
1683 This configure script is free software; the Free Software Foundation
1684 gives unlimited permission to copy, distribute and modify it.
1689 ## ------------------------ ##
1690 ## Autoconf initialization. ##
1691 ## ------------------------ ##
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile ()
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 rm -f conftest.$ac_objext
1700 if { { ac_try="$ac_compile"
1702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^
*+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's
/^
/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_compile
1731 # ac_fn_c_try_link LINENO
1732 # -----------------------
1733 # Try to link conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext conftest$ac_exeext
1738 if { { ac_try="$ac_link"
1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741 *) ac_try_echo=$ac_try;;
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_link") 2>conftest.err
1747 if test -s conftest.err; then
1748 grep -v '^
*+' conftest.err >conftest.er1
1749 cat conftest.er1 >&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } && {
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest$ac_exeext && {
1757 test "$cross_compiling" = yes ||
1758 $as_test_x conftest$ac_exeext
1762 $as_echo "$as_me: failed program was:" >&5
1763 sed 's
/^
/| /' conftest.$ac_ext >&5
1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1769 # interfere with the next link command; also delete a directory that is
1770 # left behind by Apple's compiler. We
do this before executing the actions.
1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1773 as_fn_set_status
$ac_retval
1775 } # ac_fn_c_try_link
1777 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1778 # -------------------------------------------------------
1779 # Tests whether HEADER exists and can be compiled using the include files in
1780 # INCLUDES, setting the cache variable VAR accordingly.
1781 ac_fn_c_check_header_compile
()
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 $as_echo_n "(cached) " >&6
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1806 } # ac_fn_c_check_header_compile
1808 # ac_fn_c_try_cpp LINENO
1809 # ----------------------
1810 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^ *+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } >/dev/null && {
1830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1831 test ! -s conftest.err
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_try_run LINENO
1846 # ----------------------
1847 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1848 # that executables *can* be run.
1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852 if { { ac_try="$ac_link"
1854 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1855 *) ac_try_echo
=$ac_try;;
1857 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858 $as_echo "$ac_try_echo"; } >&5
1859 (eval "$ac_link") 2>&5
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1863 { { case "(($ac_try" in
1864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_try") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; }; }; then :
1875 $as_echo "$as_me: program exited with status $ac_status" >&5
1876 $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1879 ac_retval=$ac_status
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883 as_fn_set_status $ac_retval
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext \
1945 conftest$ac_exeext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1952 } # ac_fn_c_check_func
1954 # ac_fn_cxx_try_compile LINENO
1955 # ----------------------------
1956 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1957 ac_fn_cxx_try_compile ()
1959 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960 rm -f conftest.$ac_objext
1961 if { { ac_try="$ac_compile"
1963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1964 *) ac_try_echo
=$ac_try;;
1966 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967 $as_echo "$ac_try_echo"; } >&5
1968 (eval "$ac_compile") 2>conftest.err
1970 if test -s conftest.err
; then
1971 grep -v '^ *+' conftest.err
>conftest.er1
1972 cat conftest.er1
>&5
1973 mv -f conftest.er1 conftest.err
1975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976 test $ac_status = 0; } && {
1977 test -z "$ac_cxx_werror_flag" ||
1978 test ! -s conftest.err
1979 } && test -s conftest.
$ac_objext; then :
1982 $as_echo "$as_me: failed program was:" >&5
1983 sed 's/^/| /' conftest.
$ac_ext >&5
1987 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1988 as_fn_set_status
$ac_retval
1990 } # ac_fn_cxx_try_compile
1992 # ac_fn_cxx_try_cpp LINENO
1993 # ------------------------
1994 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1995 ac_fn_cxx_try_cpp
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 if test -s conftest.err; then
2008 grep -v '^ *+' conftest.err >conftest.er1
2009 cat conftest.er1 >&5
2010 mv -f conftest.er1 conftest.err
2012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2013 test $ac_status = 0; } >/dev/null && {
2014 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2015 test ! -s conftest.err
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2025 as_fn_set_status $ac_retval
2027 } # ac_fn_cxx_try_cpp
2029 # ac_fn_cxx_try_link LINENO
2030 # -------------------------
2031 # Try to link conftest.$ac_ext, and return whether this succeeded.
2032 ac_fn_cxx_try_link ()
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 rm -f conftest.$ac_objext conftest$ac_exeext
2036 if { { ac_try="$ac_link"
2038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2039 *) ac_try_echo
=$ac_try;;
2041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2042 $as_echo "$ac_try_echo"; } >&5
2043 (eval "$ac_link") 2>conftest.err
2045 if test -s conftest.err
; then
2046 grep -v '^ *+' conftest.err
>conftest.er1
2047 cat conftest.er1
>&5
2048 mv -f conftest.er1 conftest.err
2050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2051 test $ac_status = 0; } && {
2052 test -z "$ac_cxx_werror_flag" ||
2053 test ! -s conftest.err
2054 } && test -s conftest
$ac_exeext && {
2055 test "$cross_compiling" = yes ||
2056 $as_test_x conftest
$ac_exeext
2060 $as_echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.
$ac_ext >&5
2065 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2066 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2067 # interfere with the next link command; also delete a directory that is
2068 # left behind by Apple's compiler. We do this before executing the actions.
2069 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2070 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2071 as_fn_set_status
$ac_retval
2073 } # ac_fn_cxx_try_link
2075 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2076 # ---------------------------------------------------------
2077 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2078 # the include files in INCLUDES and setting the cache variable VAR
2080 ac_fn_cxx_check_header_mongrel
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085 $as_echo_n "checking for $2... " >&6; }
2086 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087 $as_echo_n "(cached) " >&6
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2093 # Is the header compilable?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2095 $as_echo_n "checking $2 usability... " >&6; }
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2101 if ac_fn_cxx_try_compile
"$LINENO"; then :
2102 ac_header_compiler
=yes
2104 ac_header_compiler
=no
2106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2108 $as_echo "$ac_header_compiler" >&6; }
2110 # Is the header present?
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2112 $as_echo_n "checking $2 presence... " >&6; }
2113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2117 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2118 ac_header_preproc
=yes
2120 ac_header_preproc
=no
2122 rm -f conftest.err conftest.
$ac_ext
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2124 $as_echo "$ac_header_preproc" >&6; }
2126 # So? What about this header?
2127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2130 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2136 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2138 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2140 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2142 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ## -------------------------------- ##
2147 ## Report this to saurik@saurik.com ##
2148 ## -------------------------------- ##
2150 ) | sed "s/^/$as_me: WARNING: /" >&2
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2154 $as_echo_n "checking for $2... " >&6; }
2155 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156 $as_echo_n "(cached) " >&6
2158 eval "$3=\$ac_header_compiler"
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2166 } # ac_fn_cxx_check_header_mongrel
2168 # ac_fn_objcxx_try_compile LINENO
2169 # -------------------------------
2170 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2171 ac_fn_objcxx_try_compile
()
2173 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2174 rm -f conftest.
$ac_objext
2175 if { { ac_try
="$ac_compile"
2177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2178 *) ac_try_echo=$ac_try;;
2180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2181 $as_echo "$ac_try_echo"; } >&5
2182 (eval "$ac_compile") 2>conftest.err
2184 if test -s conftest.err; then
2185 grep -v '^ *+' conftest.err >conftest.er1
2186 cat conftest.er1 >&5
2187 mv -f conftest.er1 conftest.err
2189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2190 test $ac_status = 0; } && {
2191 test -z "$ac_objcxx_werror_flag" ||
2192 test ! -s conftest.err
2193 } && test -s conftest.$ac_objext; then :
2196 $as_echo "$as_me: failed program was:" >&5
2197 sed 's/^/| /' conftest.$ac_ext >&5
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2202 as_fn_set_status $ac_retval
2204 } # ac_fn_objcxx_try_compile
2206 # ac_fn_objcxx_try_link LINENO
2207 # ----------------------------
2208 # Try to link conftest.$ac_ext, and return whether this succeeded.
2209 ac_fn_objcxx_try_link ()
2211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2212 rm -f conftest.$ac_objext conftest$ac_exeext
2213 if { { ac_try="$ac_link"
2215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2216 *) ac_try_echo
=$ac_try;;
2218 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2219 $as_echo "$ac_try_echo"; } >&5
2220 (eval "$ac_link") 2>conftest.err
2222 if test -s conftest.err
; then
2223 grep -v '^ *+' conftest.err
>conftest.er1
2224 cat conftest.er1
>&5
2225 mv -f conftest.er1 conftest.err
2227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2228 test $ac_status = 0; } && {
2229 test -z "$ac_objcxx_werror_flag" ||
2230 test ! -s conftest.err
2231 } && test -s conftest
$ac_exeext && {
2232 test "$cross_compiling" = yes ||
2233 $as_test_x conftest
$ac_exeext
2237 $as_echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.
$ac_ext >&5
2242 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2243 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2244 # interfere with the next link command; also delete a directory that is
2245 # left behind by Apple's compiler. We do this before executing the actions.
2246 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2248 as_fn_set_status
$ac_retval
2250 } # ac_fn_objcxx_try_link
2251 cat >config.log
<<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2255 It was created by Cycript $as_me 0.9, which was
2256 generated by GNU Autoconf 2.65. Invocation command line was
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2277 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2278 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2281 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2282 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2283 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir
=.
2292 $as_echo "PATH: $as_dir"
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2316 ac_must_keep_next
=false
2322 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324 | -silent | --silent | --silen | --sile | --sil)
2327 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2330 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2332 as_fn_append ac_configure_args1
" '$ac_arg'"
2333 if test $ac_must_keep_next = true
; then
2334 ac_must_keep_next
=false
# Got value, back to normal.
2337 *=* | --config-cache | -C | -disable-* | --disable-* \
2338 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340 | -with-* | --with-* | -without-* | --without-* | --x)
2341 case "$ac_configure_args0 " in
2342 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2345 -* ) ac_must_keep_next
=true
;;
2348 as_fn_append ac_configure_args
" '$ac_arg'"
2353 { ac_configure_args0
=; unset ac_configure_args0
;}
2354 { ac_configure_args1
=; unset ac_configure_args1
;}
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log. We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362 # Save into config.log some information that might help in debugging.
2367 ## ---------------- ##
2368 ## Cache variables. ##
2369 ## ---------------- ##
2372 # The following way of writing the cache mishandles newlines in values,
2374 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2375 eval ac_val=\$$ac_var
2379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2383 _ | IFS | as_nl) ;; #(
2384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2385 *) { eval $ac_var=; unset $ac_var;} ;;
2390 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2391 *${as_nl}ac_space=\ *)
2393 "s/'\''/'\''\\\\'\'''\''/g;
2394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2405 ## ----------------- ##
2406 ## Output variables. ##
2407 ## ----------------- ##
2410 for ac_var in $ac_subst_vars
2412 eval ac_val=\$$ac_var
2414 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 $as_echo "$ac_var='\''$ac_val'\''"
2420 if test -n "$ac_subst_files"; then
2422 ## ------------------- ##
2423 ## File substitutions. ##
2424 ## ------------------- ##
2427 for ac_var
in $ac_subst_files
2429 eval ac_val
=\$
$ac_var
2431 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2433 $as_echo "$ac_var='\''$ac_val'\''"
2438 if test -s confdefs.h; then
2448 test "$ac_signal" != 0 &&
2449 $as_echo "$as_me: caught signal $ac_signal"
2450 $as_echo "$as_me: exit $exit_status"
2452 rm -f core *.core core.conftest.* &&
2453 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 for ac_signal
in 1 2 13 15; do
2457 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2461 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2462 rm -f -r conftest
* confdefs.h
2464 $as_echo "/* confdefs.h */" > confdefs.h
2466 # Predefined preprocessor variables.
2468 cat >>confdefs.h
<<_ACEOF
2469 #define PACKAGE_NAME "$PACKAGE_NAME"
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_STRING "$PACKAGE_STRING"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_URL "$PACKAGE_URL"
2493 # Let the site file select an alternate cache file if it wants to.
2494 # Prefer an explicitly selected file to automatically selected ones.
2497 if test -n "$CONFIG_SITE"; then
2498 ac_site_file1
=$CONFIG_SITE
2499 elif test "x$prefix" != xNONE
; then
2500 ac_site_file1
=$prefix/share
/config.site
2501 ac_site_file2
=$prefix/etc
/config.site
2503 ac_site_file1
=$ac_default_prefix/share
/config.site
2504 ac_site_file2
=$ac_default_prefix/etc
/config.site
2506 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2508 test "x$ac_site_file" = xNONE
&& continue
2509 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2511 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2512 sed 's/^/| /' "$ac_site_file" >&5
2517 if test -r "$cache_file"; then
2518 # Some versions of bash will fail to source /dev/null (special files
2519 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2520 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2522 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2525 *) .
"./$cache_file";;
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2530 $as_echo "$as_me: creating cache $cache_file" >&6;}
2534 # Check that the precious variables saved in the cache have kept the same
2536 ac_cache_corrupted
=false
2537 for ac_var
in $ac_precious_vars; do
2538 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2539 eval ac_new_set
=\
$ac_env_${ac_var}_set
2540 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2541 eval ac_new_val
=\
$ac_env_${ac_var}_value
2542 case $ac_old_set,$ac_new_set in
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2545 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2546 ac_cache_corrupted
=: ;;
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2549 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2550 ac_cache_corrupted
=: ;;
2553 if test "x$ac_old_val" != "x$ac_new_val"; then
2554 # differences in whitespace do not lead to failure.
2555 ac_old_val_w
=`echo x $ac_old_val`
2556 ac_new_val_w
=`echo x $ac_new_val`
2557 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2559 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2560 ac_cache_corrupted
=:
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2563 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2564 eval $ac_var=\
$ac_old_val
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2567 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2569 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2572 # Pass precious variables to config.status.
2573 if test "$ac_new_set" = set; then
2575 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 *) ac_arg
=$ac_var=$ac_new_val ;;
2578 case " $ac_configure_args " in
2579 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2580 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2584 if $ac_cache_corrupted; then
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2588 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2589 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2591 ## -------------------- ##
2592 ## Main body of script. ##
2593 ## -------------------- ##
2596 ac_cpp
='$CPP $CPPFLAGS'
2597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2604 for ac_dir
in .
"$srcdir"/.
; do
2605 for ac_t
in install-sh install.sh shtool
; do
2606 if test -f "$ac_dir/$ac_t"; then
2608 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2613 if test -z "$ac_aux_dir"; then
2614 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2617 # These three variables are undocumented and unsupported,
2618 # and are intended to be withdrawn in a future Autoconf release.
2619 # They can cause serious problems if a builder's source tree is in a directory
2620 # whose full name contains unusual characters.
2621 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2622 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2623 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2629 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2634 macro_version
='2.2.6b'
2635 macro_revision
='1.3017'
2649 ltmain
="$ac_aux_dir/ltmain.sh"
2651 # Make sure we can run config.sub.
2652 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2653 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2656 $as_echo_n "checking build system type... " >&6; }
2657 if test "${ac_cv_build+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 ac_build_alias
=$build_alias
2661 test "x$ac_build_alias" = x
&&
2662 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2663 test "x$ac_build_alias" = x
&&
2664 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2665 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2666 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2670 $as_echo "$ac_cv_build" >&6; }
2671 case $ac_cv_build in
2673 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2676 ac_save_IFS
=$IFS; IFS
='-'
2682 # Remember, the first character of IFS is used to create $*,
2683 # except with old shells:
2686 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2690 $as_echo_n "checking host system type... " >&6; }
2691 if test "${ac_cv_host+set}" = set; then :
2692 $as_echo_n "(cached) " >&6
2694 if test "x$host_alias" = x
; then
2695 ac_cv_host
=$ac_cv_build
2697 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2698 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2703 $as_echo "$ac_cv_host" >&6; }
2706 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2709 ac_save_IFS
=$IFS; IFS
='-'
2715 # Remember, the first character of IFS is used to create $*,
2716 # except with old shells:
2719 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2723 ac_cpp
='$CPP $CPPFLAGS'
2724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2727 if test -n "$ac_tool_prefix"; then
2728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2729 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if test "${ac_cv_prog_CC+set}" = set; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC
="$CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2745 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2758 $as_echo "$CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2766 if test -z "$ac_cv_prog_CC"; then
2768 # Extract the first word of "gcc", so it can be a program name with args.
2769 set dummy gcc
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$ac_ct_CC"; then
2776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_ac_ct_CC
="gcc"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2796 if test -n "$ac_ct_CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798 $as_echo "$ac_ct_CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2804 if test "x$ac_ct_CC" = x
; then
2807 case $cross_compiling:$ac_tool_warned in
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned
=yes ;;
2819 if test -z "$CC"; then
2820 if test -n "$ac_tool_prefix"; then
2821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2822 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if test "${ac_cv_prog_CC+set}" = set; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC
="$CC" # Let the user override the test.
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 for ac_exec_ext
in '' $ac_executable_extensions; do
2837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2838 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test -n "$CC"; then
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 $as_echo "$CC" >&6; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2860 if test -z "$CC"; then
2861 # Extract the first word of "cc", so it can be a program name with args.
2862 set dummy cc
; ac_word
=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC
="$CC" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2880 ac_prog_rejected
=yes
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test $ac_prog_rejected = yes; then
2892 # We found a bogon in the path, so make sure we never use it.
2893 set dummy
$ac_cv_prog_CC
2895 if test $# != 0; then
2896 # We chose a different compiler from the bogus one.
2897 # However, it has the same basename, so the bogon will be chosen
2898 # first if we set CC to just the basename; use the full file name.
2900 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2916 if test -z "$CC"; then
2917 if test -n "$ac_tool_prefix"; then
2918 for ac_prog
in cl.exe
2920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if test "${ac_cv_prog_CC+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC
="$CC" # Let the user override the test.
2930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir
=.
2935 for ac_exec_ext
in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2957 test -n "$CC" && break
2960 if test -z "$CC"; then
2962 for ac_prog
in cl.exe
2964 # Extract the first word of "$ac_prog", so it can be a program name with args.
2965 set dummy
$ac_prog; ac_word
=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2971 if test -n "$ac_ct_CC"; then
2972 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2978 test -z "$as_dir" && as_dir
=.
2979 for ac_exec_ext
in '' $ac_executable_extensions; do
2980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981 ac_cv_prog_ac_ct_CC
="$ac_prog"
2982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2992 if test -n "$ac_ct_CC"; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2994 $as_echo "$ac_ct_CC" >&6; }
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
3001 test -n "$ac_ct_CC" && break
3004 if test "x$ac_ct_CC" = x
; then
3007 case $cross_compiling:$ac_tool_warned in
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3011 ac_tool_warned
=yes ;;
3020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3022 as_fn_error
"no acceptable C compiler found in \$PATH
3023 See \`config.log' for more details." "$LINENO" 5; }
3025 # Provide some information about the compiler.
3026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3029 for ac_option
in --version -v -V -qversion; do
3030 { { ac_try
="$ac_compiler $ac_option >&5"
3032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3039 if test -s conftest.err; then
3041 ... rest of stderr output deleted ...
3042 10q' conftest.err >conftest.er1
3043 cat conftest.er1 >&5
3045 rm -f conftest.er1 conftest.err
3046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3047 test $ac_status = 0; }
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 ac_clean_files_save=$ac_clean_files
3062 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3063 # Try to create an executable without -o first, disregard a.out.
3064 # It will help us diagnose broken compilers, and finding out an intuition
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3067 $as_echo_n "checking whether the C compiler works... " >&6; }
3068 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3070 # The possible output files:
3071 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3074 for ac_file in $ac_files
3077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3078 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3083 if { { ac_try="$ac_link_default"
3085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3086 *) ac_try_echo
=$ac_try;;
3088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3089 $as_echo "$ac_try_echo"; } >&5
3090 (eval "$ac_link_default") 2>&5
3092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3093 test $ac_status = 0; }; then :
3094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3097 # so that the user can short-circuit this test for compilers unknown to
3099 for ac_file
in $ac_files ''
3101 test -f "$ac_file" || continue
3103 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3106 # We found the default executable, but exeext='' is most
3110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3112 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3114 # We set ac_cv_exeext here because the later test for it is not
3115 # safe: cross compilers may not add the suffix if given an `-o'
3116 # argument, so we may need to know it at that point already.
3117 # Even if this section looks crufty: it has the advantage of
3124 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3129 if test -z "$ac_file"; then :
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3131 $as_echo "no" >&6; }
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.
$ac_ext >&5
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 { as_fn_set_status
77
3138 as_fn_error
"C compiler cannot create executables
3139 See \`config.log' for more details." "$LINENO" 5; }; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3142 $as_echo "yes" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3145 $as_echo_n "checking for C compiler default output file name... " >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3147 $as_echo "$ac_file" >&6; }
3148 ac_exeext
=$ac_cv_exeext
3150 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3151 ac_clean_files
=$ac_clean_files_save
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3153 $as_echo_n "checking for suffix of executables... " >&6; }
3154 if { { ac_try
="$ac_link"
3156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; then :
3165 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3166 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3167 # work properly (i.e., refer to `conftest.exe'), while it won't with
3169 for ac_file
in conftest.exe conftest conftest.
*; do
3170 test -f "$ac_file" || continue
3172 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3173 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3182 See \`config.log' for more details." "$LINENO" 5; }
3184 rm -f conftest conftest
$ac_cv_exeext
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3186 $as_echo "$ac_cv_exeext" >&6; }
3188 rm -f conftest.
$ac_ext
3189 EXEEXT
=$ac_cv_exeext
3191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h. */
3197 FILE *f = fopen ("conftest.out", "w");
3198 return ferror (f) || fclose (f) != 0;
3204 ac_clean_files
="$ac_clean_files conftest.out"
3205 # Check that the compiler produces executables we can run. If not, either
3206 # the compiler is broken, or we cross compile.
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3208 $as_echo_n "checking whether we are cross compiling... " >&6; }
3209 if test "$cross_compiling" != yes; then
3210 { { ac_try
="$ac_link"
3212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3216 $as_echo "$ac_try_echo"; } >&5
3217 (eval "$ac_link") 2>&5
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }
3221 if { ac_try='./conftest$ac_cv_exeext'
3222 { { case "(($ac_try" in
3223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3224 *) ac_try_echo
=$ac_try;;
3226 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_try") 2>&5
3230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3231 test $ac_status = 0; }; }; then
3234 if test "$cross_compiling" = maybe
; then
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error
"cannot run C compiled programs.
3240 If you meant to cross compile, use \`--host'.
3241 See \`config.log' for more details." "$LINENO" 5; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3246 $as_echo "$cross_compiling" >&6; }
3248 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3249 ac_clean_files
=$ac_clean_files_save
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3251 $as_echo_n "checking for suffix of object files... " >&6; }
3252 if test "${ac_cv_objext+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3266 rm -f conftest.o conftest.obj
3267 if { { ac_try
="$ac_compile"
3269 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_compile") 2>&5
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; }; then :
3278 for ac_file in conftest.o conftest.obj conftest.*; do
3279 test -f "$ac_file" || continue;
3281 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3282 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3287 $as_echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 as_fn_error "cannot compute suffix of object files
: cannot compile
3293 See \
`config.log' for more details." "$LINENO" 5; }
3295 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3298 $as_echo "$ac_cv_objext" >&6; }
3299 OBJEXT=$ac_cv_objext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3302 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3303 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3326 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3330 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3331 if test $ac_compiler_gnu = yes; then
3336 ac_test_CFLAGS=${CFLAGS+set}
3337 ac_save_CFLAGS=$CFLAGS
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3339 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3340 if test "${ac_cv_prog_cc_g+set}" = set; then :
3341 $as_echo_n "(cached) " >&6
3343 ac_save_c_werror_flag=$ac_c_werror_flag
3344 ac_c_werror_flag=yes
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3358 if ac_fn_c_try_compile "$LINENO"; then :
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3373 if ac_fn_c_try_compile "$LINENO"; then :
3376 ac_c_werror_flag=$ac_save_c_werror_flag
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3389 if ac_fn_c_try_compile "$LINENO"; then :
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 ac_c_werror_flag=$ac_save_c_werror_flag
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3400 $as_echo "$ac_cv_prog_cc_g" >&6; }
3401 if test "$ac_test_CFLAGS" = set; then
3402 CFLAGS=$ac_save_CFLAGS
3403 elif test $ac_cv_prog_cc_g = yes; then
3404 if test "$GCC" = yes; then
3410 if test "$GCC" = yes; then
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3417 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3418 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 ac_cv_prog_cc_c89=no
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 #include <sys/types.h>
3428 #include <sys/stat.h>
3429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3430 struct buf { int x; };
3431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3432 static char *e (p, i)
3438 static char *f (char * (*g) (char **, int), char **p, ...)
3443 s = g (p, va_arg (v,int));
3448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3449 function prototypes and stuff, but not '\xHH' hex character constants.
3450 These don't provoke an error unfortunately, instead are silently treated
3451 as 'x'. The following induces an error, until -std is added to get
3452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3453 array size at least. It's necessary to write '\x00'==0 to get something
3454 that's true only with -std. */
3455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3458 inside strings and character constants. */
3460 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3462 int test (int i, double x);
3463 struct s1 {int (*f) (int a);};
3464 struct s2 {int (*f) (double a);};
3465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3479 CC="$ac_save_CC $ac_arg"
3480 if ac_fn_c_try_compile "$LINENO"; then :
3481 ac_cv_prog_cc_c89=$ac_arg
3483 rm -f core conftest.err conftest.$ac_objext
3484 test "x$ac_cv_prog_cc_c89" != "xno" && break
3486 rm -f conftest.$ac_ext
3491 case "x$ac_cv_prog_cc_c89" in
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3494 $as_echo "none needed" >&6; } ;;
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3497 $as_echo "unsupported" >&6; } ;;
3499 CC="$CC $ac_cv_prog_cc_c89"
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3501 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3503 if test "x$ac_cv_prog_cc_c89" != xno; then :
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3514 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3515 if test "${ac_cv_path_SED+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3519 for ac_i in 1 2 3 4 5 6 7; do
3520 ac_script="$ac_script$as_nl$ac_script"
3522 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3523 { ac_script=; unset ac_script;}
3524 if test -z "$SED"; then
3525 ac_path_SED_found=false
3526 # Loop through the user's path and test for each of PROGNAME-LIST
3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3531 test -z "$as_dir" && as_dir=.
3532 for ac_prog in sed gsed; do
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3535 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3536 # Check for GNU ac_path_SED and select it if it is found.
3537 # Check for GNU $ac_path_SED
3538 case `"$ac_path_SED" --version 2>&1` in
3540 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3543 $as_echo_n 0123456789 >"conftest.in"
3546 cat "conftest.in" "conftest.in" >"conftest.tmp"
3547 mv "conftest.tmp" "conftest.in"
3548 cp "conftest.in" "conftest.nl"
3549 $as_echo '' >> "conftest.nl"
3550 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3551 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3552 as_fn_arith $ac_count + 1 && ac_count=$as_val
3553 if test $ac_count -gt ${ac_path_SED_max-0}; then
3554 # Best one so far, save it but keep looking for a better one
3555 ac_cv_path_SED="$ac_path_SED"
3556 ac_path_SED_max=$ac_count
3558 # 10*(2^10) chars as input seems more than enough
3559 test $ac_count -gt 10 && break
3561 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3564 $ac_path_SED_found && break 3
3569 if test -z "$ac_cv_path_SED"; then
3570 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3578 $as_echo "$ac_cv_path_SED" >&6; }
3579 SED="$ac_cv_path_SED"
3582 test -z "$SED" && SED=sed
3583 Xsed="$SED -e 1s/^X//"
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3596 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3597 if test "${ac_cv_path_GREP+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -z "$GREP"; then
3601 ac_path_GREP_found=false
3602 # Loop through the user's path and test for each of PROGNAME-LIST
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3607 test -z "$as_dir" && as_dir=.
3608 for ac_prog in grep ggrep; do
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3611 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3612 # Check for GNU ac_path_GREP and select it if it is found.
3613 # Check for GNU $ac_path_GREP
3614 case `"$ac_path_GREP" --version 2>&1` in
3616 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3619 $as_echo_n 0123456789 >"conftest.in"
3622 cat "conftest.in" "conftest.in" >"conftest.tmp"
3623 mv "conftest.tmp" "conftest.in"
3624 cp "conftest.in" "conftest.nl"
3625 $as_echo 'GREP' >> "conftest.nl"
3626 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3627 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3628 as_fn_arith $ac_count + 1 && ac_count=$as_val
3629 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3630 # Best one so far, save it but keep looking for a better one
3631 ac_cv_path_GREP="$ac_path_GREP"
3632 ac_path_GREP_max=$ac_count
3634 # 10*(2^10) chars as input seems more than enough
3635 test $ac_count -gt 10 && break
3637 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3640 $ac_path_GREP_found && break 3
3645 if test -z "$ac_cv_path_GREP"; then
3646 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3649 ac_cv_path_GREP=$GREP
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3654 $as_echo "$ac_cv_path_GREP" >&6; }
3655 GREP="$ac_cv_path_GREP"
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3659 $as_echo_n "checking for egrep... " >&6; }
3660 if test "${ac_cv_path_EGREP+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3664 then ac_cv_path_EGREP="$GREP -E"
3666 if test -z "$EGREP"; then
3667 ac_path_EGREP_found=false
3668 # Loop through the user's path and test for each of PROGNAME-LIST
3669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3673 test -z "$as_dir" && as_dir=.
3674 for ac_prog in egrep; do
3675 for ac_exec_ext in '' $ac_executable_extensions; do
3676 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3677 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3678 # Check for GNU ac_path_EGREP and select it if it is found.
3679 # Check for GNU $ac_path_EGREP
3680 case `"$ac_path_EGREP" --version 2>&1` in
3682 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3685 $as_echo_n 0123456789 >"conftest.in"
3688 cat "conftest.in" "conftest.in" >"conftest.tmp"
3689 mv "conftest.tmp" "conftest.in"
3690 cp "conftest.in" "conftest.nl"
3691 $as_echo 'EGREP' >> "conftest.nl"
3692 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3693 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3694 as_fn_arith $ac_count + 1 && ac_count=$as_val
3695 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3696 # Best one so far, save it but keep looking for a better one
3697 ac_cv_path_EGREP="$ac_path_EGREP"
3698 ac_path_EGREP_max=$ac_count
3700 # 10*(2^10) chars as input seems more than enough
3701 test $ac_count -gt 10 && break
3703 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3706 $ac_path_EGREP_found && break 3
3711 if test -z "$ac_cv_path_EGREP"; then
3712 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3715 ac_cv_path_EGREP=$EGREP
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3721 $as_echo "$ac_cv_path_EGREP" >&6; }
3722 EGREP="$ac_cv_path_EGREP"
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3726 $as_echo_n "checking for fgrep... " >&6; }
3727 if test "${ac_cv_path_FGREP+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3731 then ac_cv_path_FGREP="$GREP -F"
3733 if test -z "$FGREP"; then
3734 ac_path_FGREP_found=false
3735 # Loop through the user's path and test for each of PROGNAME-LIST
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3740 test -z "$as_dir" && as_dir=.
3741 for ac_prog in fgrep; do
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3744 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3745 # Check for GNU ac_path_FGREP and select it if it is found.
3746 # Check for GNU $ac_path_FGREP
3747 case `"$ac_path_FGREP" --version 2>&1` in
3749 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3752 $as_echo_n 0123456789 >"conftest.in"
3755 cat "conftest.in" "conftest.in" >"conftest.tmp"
3756 mv "conftest.tmp" "conftest.in"
3757 cp "conftest.in" "conftest.nl"
3758 $as_echo 'FGREP' >> "conftest.nl"
3759 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3761 as_fn_arith $ac_count + 1 && ac_count=$as_val
3762 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3763 # Best one so far, save it but keep looking for a better one
3764 ac_cv_path_FGREP="$ac_path_FGREP"
3765 ac_path_FGREP_max=$ac_count
3767 # 10*(2^10) chars as input seems more than enough
3768 test $ac_count -gt 10 && break
3770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3773 $ac_path_FGREP_found && break 3
3778 if test -z "$ac_cv_path_FGREP"; then
3779 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3782 ac_cv_path_FGREP=$FGREP
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3788 $as_echo "$ac_cv_path_FGREP" >&6; }
3789 FGREP="$ac_cv_path_FGREP"
3792 test -z "$GREP" && GREP=grep
3812 # Check whether --with-gnu-ld was given.
3813 if test "${with_gnu_ld+set}" = set; then :
3814 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3820 if test "$GCC" = yes; then
3821 # Check if gcc -print-prog-name=ld gives a path.
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3823 $as_echo_n "checking for ld used by $CC... " >&6; }
3826 # gcc leaves a trailing carriage return which upsets mingw
3827 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3829 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3832 # Accept absolute paths.
3834 re_direlt='/[^/][^/]*/\.\./'
3835 # Canonicalize the pathname of ld
3836 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3837 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3838 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3840 test -z "$LD" && LD="$ac_prog"
3843 # If it fails, then pretend we aren't using GCC.
3847 # If it is relative, then search for the first ld in PATH.
3851 elif test "$with_gnu_ld" = yes; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3853 $as_echo_n "checking for GNU ld... " >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3856 $as_echo_n "checking for non-GNU ld... " >&6; }
3858 if test "${lt_cv_path_LD+set}" = set; then :
3859 $as_echo_n "(cached) " >&6
3861 if test -z "$LD"; then
3862 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3863 for ac_dir in $PATH; do
3865 test -z "$ac_dir" && ac_dir=.
3866 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3867 lt_cv_path_LD="$ac_dir/$ac_prog"
3868 # Check to see if the program is GNU ld. I'd rather use --version,
3869 # but apparently some variants of GNU ld only accept -v.
3870 # Break only if it was the GNU/non-GNU ld that we prefer.
3871 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3872 *GNU* | *'with BFD'*)
3873 test "$with_gnu_ld" != no && break
3876 test "$with_gnu_ld" != yes && break
3883 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3888 if test -n "$LD"; then
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3890 $as_echo "$LD" >&6; }
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3893 $as_echo "no" >&6; }
3895 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3897 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3898 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3899 $as_echo_n "(cached) " >&6
3901 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3902 case `$LD -v 2>&1 </dev
/null
` in
3903 *GNU* | *'with BFD'*)
3904 lt_cv_prog_gnu_ld=yes
3907 lt_cv_prog_gnu_ld=no
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3912 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3913 with_gnu_ld=$lt_cv_prog_gnu_ld
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3924 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3925 if test "${lt_cv_path_NM+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$NM"; then
3929 # Let the user override the test.
3932 lt_nm_to_check="${ac_tool_prefix}nm"
3933 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3934 lt_nm_to_check="$lt_nm_to_check nm"
3936 for lt_tmp_nm in $lt_nm_to_check; do
3937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3938 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3940 test -z "$ac_dir" && ac_dir=.
3941 tmp_nm="$ac_dir/$lt_tmp_nm"
3942 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3943 # Check to see if the nm accepts a BSD-compat flag.
3944 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3945 # nm: unknown option "B" ignored
3946 # Tru64's nm complains that
/dev
/null is an invalid object
file
3947 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3948 */dev
/null
* | *'Invalid file or object type'*)
3949 lt_cv_path_NM
="$tmp_nm -B"
3953 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3955 lt_cv_path_NM
="$tmp_nm -p"
3959 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3960 continue # so that we can try to find one that supports BSD flags
3969 : ${lt_cv_path_NM=no}
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3973 $as_echo "$lt_cv_path_NM" >&6; }
3974 if test "$lt_cv_path_NM" != "no"; then
3977 # Didn't find any BSD compatible name lister, look for dumpbin.
3978 if test -n "$ac_tool_prefix"; then
3979 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3981 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3982 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3986 $as_echo_n "(cached) " >&6
3988 if test -n "$DUMPBIN"; then
3989 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3995 test -z "$as_dir" && as_dir
=.
3996 for ac_exec_ext
in '' $ac_executable_extensions; do
3997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3998 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 DUMPBIN
=$ac_cv_prog_DUMPBIN
4009 if test -n "$DUMPBIN"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4011 $as_echo "$DUMPBIN" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4018 test -n "$DUMPBIN" && break
4021 if test -z "$DUMPBIN"; then
4022 ac_ct_DUMPBIN
=$DUMPBIN
4023 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4025 # Extract the first word of "$ac_prog", so it can be a program name with args.
4026 set dummy
$ac_prog; ac_word
=$2
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4028 $as_echo_n "checking for $ac_word... " >&6; }
4029 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4030 $as_echo_n "(cached) " >&6
4032 if test -n "$ac_ct_DUMPBIN"; then
4033 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir
=.
4040 for ac_exec_ext
in '' $ac_executable_extensions; do
4041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4042 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4052 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4053 if test -n "$ac_ct_DUMPBIN"; then
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4055 $as_echo "$ac_ct_DUMPBIN" >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4058 $as_echo "no" >&6; }
4062 test -n "$ac_ct_DUMPBIN" && break
4065 if test "x$ac_ct_DUMPBIN" = x
; then
4068 case $cross_compiling:$ac_tool_warned in
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4072 ac_tool_warned
=yes ;;
4074 DUMPBIN
=$ac_ct_DUMPBIN
4079 if test "$DUMPBIN" != ":"; then
4083 test -z "$NM" && NM
=nm
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4091 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4092 if test "${lt_cv_nm_interface+set}" = set; then :
4093 $as_echo_n "(cached) " >&6
4095 lt_cv_nm_interface
="BSD nm"
4096 echo "int some_variable = 0;" > conftest.
$ac_ext
4097 (eval echo "\"\$as_me:4097: $ac_compile\"" >&5)
4098 (eval "$ac_compile" 2>conftest.err
)
4099 cat conftest.err
>&5
4100 (eval echo "\"\$as_me:4100: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4101 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4102 cat conftest.err
>&5
4103 (eval echo "\"\$as_me:4103: output\"" >&5)
4104 cat conftest.out
>&5
4105 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4106 lt_cv_nm_interface
="MS dumpbin"
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4111 $as_echo "$lt_cv_nm_interface" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4114 $as_echo_n "checking whether ln -s works... " >&6; }
4116 if test "$LN_S" = "ln -s"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4118 $as_echo "yes" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4121 $as_echo "no, using $LN_S" >&6; }
4124 # find the maximum length of command line arguments
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4126 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4127 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4128 $as_echo_n "(cached) " >&6
4135 # On DJGPP, this test can blow up pretty badly due to problems in libc
4136 # (any single argument exceeding 2000 bytes causes a buffer overrun
4137 # during glob expansion). Even if it were fixed, the result of this
4138 # check would be larger than it should be.
4139 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4143 # Under GNU Hurd, this test is not required because there is
4144 # no limit to the length of command line arguments.
4145 # Libtool will interpret -1 as no limit whatsoever
4146 lt_cv_sys_max_cmd_len
=-1;
4149 cygwin
* | mingw
* | cegcc
*)
4150 # On Win9x/ME, this test blows up -- it succeeds, but takes
4151 # about 5 minutes as the teststring grows exponentially.
4152 # Worse, since 9x/ME are not pre-emptively multitasking,
4153 # you end up with a "frozen" computer, even though with patience
4154 # the test eventually succeeds (with a max line length of 256k).
4155 # Instead, let's just punt: use the minimum linelength reported by
4156 # all of the supported platforms: 8192 (on NT/2K/XP).
4157 lt_cv_sys_max_cmd_len
=8192;
4161 # On AmigaOS with pdksh, this test takes hours, literally.
4162 # So we just punt and use a minimum line length of 8192.
4163 lt_cv_sys_max_cmd_len
=8192;
4166 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4167 # This has been around since 386BSD, at least. Likely further.
4168 if test -x /sbin
/sysctl
; then
4169 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4170 elif test -x /usr
/sbin
/sysctl
; then
4171 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4173 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4175 # And add a safety zone
4176 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4181 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4182 lt_cv_sys_max_cmd_len
=196608
4186 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4187 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4188 # nice to cause kernel panics so lets avoid the loop below.
4189 # First set a reasonable default.
4190 lt_cv_sys_max_cmd_len
=16384
4192 if test -x /sbin
/sysconfig
; then
4193 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4194 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4199 lt_cv_sys_max_cmd_len
=102400
4201 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4202 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4203 if test -n "$kargmax"; then
4204 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4206 lt_cv_sys_max_cmd_len
=32768
4210 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4211 if test -n "$lt_cv_sys_max_cmd_len"; then
4212 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4215 # Make teststring a little bigger before we do anything with it.
4216 # a 1K string should be a reasonable start.
4217 for i
in 1 2 3 4 5 6 7 8 ; do
4218 teststring
=$teststring$teststring
4220 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4221 # If test is not a shell built-in, we'll probably end up computing a
4222 # maximum length that is only half of the actual maximum length, but
4224 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4225 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4226 test $i != 17 # 1/2 MB should be enough
4229 teststring
=$teststring$teststring
4231 # Only check the string length outside the loop.
4232 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4234 # Add a significant safety factor because C++ compilers can tack on
4235 # massive amounts of additional arguments before passing them to the
4236 # linker. It appears as though 1/2 is a usable value.
4237 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4244 if test -n $lt_cv_sys_max_cmd_len ; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4246 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4249 $as_echo "none" >&6; }
4251 max_cmd_len
=$lt_cv_sys_max_cmd_len
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4263 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4264 # Try some XSI features
4267 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4269 && eval 'test $(( 1 + 1 )) -eq 2 \
4270 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4273 $as_echo "$xsi_shell" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4277 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4279 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4281 && lt_shell_append
=yes
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4283 $as_echo "$lt_shell_append" >&6; }
4286 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4296 # test EBCDIC or ASCII
4297 case `echo X|tr X '\101'` in
4298 A
) # ASCII based system
4299 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4300 lt_SP2NL
='tr \040 \012'
4301 lt_NL2SP
='tr \015\012 \040\040'
4303 *) # EBCDIC based system
4304 lt_SP2NL
='tr \100 \n'
4305 lt_NL2SP
='tr \r\n \100\100'
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4318 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4319 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
4322 lt_cv_ld_reload_flag
='-r'
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4325 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4326 reload_flag
=$lt_cv_ld_reload_flag
4327 case $reload_flag in
4329 *) reload_flag
=" $reload_flag" ;;
4331 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4334 if test "$GCC" = yes; then
4335 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4337 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4350 if test -n "$ac_tool_prefix"; then
4351 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4352 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$OBJDUMP"; then
4359 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir
=.
4366 for ac_exec_ext
in '' $ac_executable_extensions; do
4367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 OBJDUMP
=$ac_cv_prog_OBJDUMP
4379 if test -n "$OBJDUMP"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4381 $as_echo "$OBJDUMP" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4389 if test -z "$ac_cv_prog_OBJDUMP"; then
4390 ac_ct_OBJDUMP
=$OBJDUMP
4391 # Extract the first word of "objdump", so it can be a program name with args.
4392 set dummy objdump
; ac_word
=$2
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394 $as_echo_n "checking for $ac_word... " >&6; }
4395 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4396 $as_echo_n "(cached) " >&6
4398 if test -n "$ac_ct_OBJDUMP"; then
4399 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4405 test -z "$as_dir" && as_dir
=.
4406 for ac_exec_ext
in '' $ac_executable_extensions; do
4407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4419 if test -n "$ac_ct_OBJDUMP"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4421 $as_echo "$ac_ct_OBJDUMP" >&6; }
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4427 if test "x$ac_ct_OBJDUMP" = x
; then
4430 case $cross_compiling:$ac_tool_warned in
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned
=yes ;;
4436 OBJDUMP
=$ac_ct_OBJDUMP
4439 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4442 test -z "$OBJDUMP" && OBJDUMP
=objdump
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4453 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4454 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4457 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4458 lt_cv_file_magic_test_file
=
4459 lt_cv_deplibs_check_method
='unknown'
4460 # Need to set the preceding variable on all platforms that support
4461 # interlibrary dependencies.
4462 # 'none' -- dependencies not supported.
4463 # `unknown' -- same as none, but documents that we really don't know.
4464 # 'pass_all' -- all dependencies passed with no checks.
4465 # 'test_compile' -- check by making test program.
4466 # 'file_magic [[regex]]' -- check by looking for files in library path
4467 # which responds to the $file_magic_cmd with a given extended regex.
4468 # If you have `file' or equivalent on your system and you're not sure
4469 # whether `pass_all' will *always* work, you probably want this one.
4473 lt_cv_deplibs_check_method
=pass_all
4477 lt_cv_deplibs_check_method
=pass_all
4481 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4482 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4483 lt_cv_file_magic_test_file
=/shlib
/libc.so
4487 # func_win32_libid is a shell function defined in ltmain.sh
4488 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4489 lt_cv_file_magic_cmd
='func_win32_libid'
4493 # Base MSYS/MinGW do not provide the 'file' command needed by
4494 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4495 # unless we find 'file', for example because we are cross-compiling.
4496 if ( file / ) >/dev
/null
2>&1; then
4497 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4498 lt_cv_file_magic_cmd
='func_win32_libid'
4500 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4501 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4506 # use the weaker test based on 'objdump'. See mingw*.
4507 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4508 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4511 darwin
* | rhapsody
*)
4512 lt_cv_deplibs_check_method
=pass_all
4515 freebsd
* | dragonfly
*)
4516 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4519 # Not sure whether the presence of OpenBSD here was a mistake.
4520 # Let's accept both of them until this is cleared up.
4521 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4522 lt_cv_file_magic_cmd
=/usr
/bin
/file
4523 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4527 lt_cv_deplibs_check_method
=pass_all
4532 lt_cv_deplibs_check_method
=pass_all
4535 hpux10.20
* | hpux11
*)
4536 lt_cv_file_magic_cmd
=/usr
/bin
/file
4539 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4540 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4543 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]'
4544 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4547 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4548 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4554 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4555 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4558 irix5
* | irix6
* | nonstopux
*)
4560 *-32|*"-32 ") libmagic
=32-bit;;
4561 *-n32|*"-n32 ") libmagic
=N32
;;
4562 *-64|*"-64 ") libmagic
=64-bit;;
4563 *) libmagic
=never
-match;;
4565 lt_cv_deplibs_check_method
=pass_all
4568 # This must be Linux ELF.
4569 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4570 lt_cv_deplibs_check_method
=pass_all
4573 netbsd
* | netbsdelf
*-gnu)
4574 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4575 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4577 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4582 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4583 lt_cv_file_magic_cmd
=/usr
/bin
/file
4584 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4588 lt_cv_deplibs_check_method
=pass_all
4592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4593 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4595 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4599 osf3
* | osf4
* | osf5
*)
4600 lt_cv_deplibs_check_method
=pass_all
4604 lt_cv_deplibs_check_method
=pass_all
4608 lt_cv_deplibs_check_method
=pass_all
4611 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4612 lt_cv_deplibs_check_method
=pass_all
4616 case $host_vendor in
4618 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]'
4619 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4622 lt_cv_deplibs_check_method
=pass_all
4625 lt_cv_file_magic_cmd
='/bin/file'
4626 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4629 lt_cv_file_magic_cmd
='/bin/file'
4630 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4631 lt_cv_file_magic_test_file
=/lib
/libc.so
4634 lt_cv_deplibs_check_method
=pass_all
4637 lt_cv_deplibs_check_method
=pass_all
4643 lt_cv_deplibs_check_method
=pass_all
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4649 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4650 file_magic_cmd
=$lt_cv_file_magic_cmd
4651 deplibs_check_method
=$lt_cv_deplibs_check_method
4652 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4665 if test -n "$ac_tool_prefix"; then
4666 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4667 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if test "${ac_cv_prog_AR+set}" = set; then :
4671 $as_echo_n "(cached) " >&6
4673 if test -n "$AR"; then
4674 ac_cv_prog_AR
="$AR" # Let the user override the test.
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 test -z "$as_dir" && as_dir
=.
4681 for ac_exec_ext
in '' $ac_executable_extensions; do
4682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 if test -n "$AR"; then
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4696 $as_echo "$AR" >&6; }
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 $as_echo "no" >&6; }
4704 if test -z "$ac_cv_prog_AR"; then
4706 # Extract the first word of "ar", so it can be a program name with args.
4707 set dummy
ar; ac_word
=$2
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4711 $as_echo_n "(cached) " >&6
4713 if test -n "$ac_ct_AR"; then
4714 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_ac_ct_AR
="ar"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4734 if test -n "$ac_ct_AR"; then
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4736 $as_echo "$ac_ct_AR" >&6; }
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4739 $as_echo "no" >&6; }
4742 if test "x$ac_ct_AR" = x
; then
4745 case $cross_compiling:$ac_tool_warned in
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4749 ac_tool_warned
=yes ;;
4757 test -z "$AR" && AR
=ar
4758 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4770 if test -n "$ac_tool_prefix"; then
4771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if test "${ac_cv_prog_STRIP+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$STRIP"; then
4779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 STRIP
=$ac_cv_prog_STRIP
4799 if test -n "$STRIP"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4801 $as_echo "$STRIP" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4809 if test -z "$ac_cv_prog_STRIP"; then
4811 # Extract the first word of "strip", so it can be a program name with args.
4812 set dummy strip
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$ac_ct_STRIP"; then
4819 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir
=.
4826 for ac_exec_ext
in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_prog_ac_ct_STRIP
="strip"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4839 if test -n "$ac_ct_STRIP"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4841 $as_echo "$ac_ct_STRIP" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4847 if test "x$ac_ct_STRIP" = x
; then
4850 case $cross_compiling:$ac_tool_warned in
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854 ac_tool_warned
=yes ;;
4859 STRIP
="$ac_cv_prog_STRIP"
4862 test -z "$STRIP" && STRIP
=:
4869 if test -n "$ac_tool_prefix"; then
4870 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4871 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$RANLIB"; then
4878 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 RANLIB
=$ac_cv_prog_RANLIB
4898 if test -n "$RANLIB"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4900 $as_echo "$RANLIB" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4908 if test -z "$ac_cv_prog_RANLIB"; then
4909 ac_ct_RANLIB
=$RANLIB
4910 # Extract the first word of "ranlib", so it can be a program name with args.
4911 set dummy ranlib
; ac_word
=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4915 $as_echo_n "(cached) " >&6
4917 if test -n "$ac_ct_RANLIB"; then
4918 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4938 if test -n "$ac_ct_RANLIB"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4940 $as_echo "$ac_ct_RANLIB" >&6; }
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4943 $as_echo "no" >&6; }
4946 if test "x$ac_ct_RANLIB" = x
; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned
=yes ;;
4955 RANLIB
=$ac_ct_RANLIB
4958 RANLIB
="$ac_cv_prog_RANLIB"
4961 test -z "$RANLIB" && RANLIB
=:
4968 # Determine commands to create old-style static archives.
4969 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4970 old_postinstall_cmds
='chmod 644 $oldlib'
4971 old_postuninstall_cmds
=
4973 if test -n "$RANLIB"; then
4976 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4979 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4982 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5018 # If no C compiler was specified, use CC.
5021 # If no C compiler flags were specified, use CFLAGS.
5022 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5024 # Allow CC to be a program name with arguments.
5028 # Check for command to grab the raw symbol name followed by C symbol from nm.
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5030 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5031 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5032 $as_echo_n "(cached) " >&6
5035 # These are sane defaults that work on at least a few old systems.
5036 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5038 # Character class describing NM global symbol codes.
5039 symcode
='[BCDEGRST]'
5041 # Regexp to match symbols that can be accessed directly from C.
5042 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5044 # Define system-specific variables.
5049 cygwin
* | mingw
* | pw32
* | cegcc
*)
5050 symcode
='[ABCDGISTW]'
5053 if test "$host_cpu" = ia64
; then
5054 symcode
='[ABCDEGRST]'
5058 symcode
='[BCDEGRST]'
5061 symcode
='[BCDEGQRST]'
5072 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5080 # If we're using GNU nm, then use its standard symbol codes.
5081 case `$NM -V 2>&1` in
5082 *GNU
* | *'with BFD'*)
5083 symcode
='[ABCDGIRSTW]' ;;
5086 # Transform an extracted symbol line into a proper C declaration.
5087 # Some systems (esp. on ia64) link data and code symbols differently,
5088 # so use this general approach.
5089 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5091 # Transform an extracted symbol line into symbol name and symbol address
5092 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5093 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'"
5095 # Handle CRLF in mingw tool chain
5099 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5103 # Try without a prefix underscore, then with it.
5104 for ac_symprfx
in "" "_"; do
5106 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5107 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5109 # Write the raw and C identifiers.
5110 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5111 # Fake it for dumpbin and say T for any non-static function
5112 # and D for any global variable.
5113 # Also find C++ and __fastcall symbols from MSVC++,
5114 # which start with @ or ?.
5115 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5116 " {last_section=section; section=\$ 3};"\
5117 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5118 " \$ 0!~/External *\|/{next};"\
5119 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5120 " {if(hide[section]) next};"\
5121 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5122 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5123 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5124 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5125 " ' prfx=^$ac_symprfx"
5127 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5130 # Check to see that the pipe works correctly.
5134 cat > conftest.
$ac_ext <<_LT_EOF
5139 void nm_test_func(void);
5140 void nm_test_func(void){}
5144 int main(){nm_test_var='a';nm_test_func();return(0);}
5147 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5148 (eval $ac_compile) 2>&5
5150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5151 test $ac_status = 0; }; then
5152 # Now try to grab the symbols.
5154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5155 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5158 test $ac_status = 0; } && test -s "$nlist"; then
5159 # Try sorting and uniquifying the output.
5160 if sort "$nlist" | uniq > "$nlist"T
; then
5161 mv -f "$nlist"T
"$nlist"
5166 # Make sure that we snagged all the symbols we need.
5167 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5168 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5169 cat <<_LT_EOF > conftest.$ac_ext
5175 # Now generate the symbol file.
5176 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5178 cat <<_LT_EOF >> conftest.$ac_ext
5180 /* The mapping between symbol names and symbols. */
5185 lt__PROGRAM__LTX_preloaded_symbols[] =
5187 { "@PROGRAM@", (void *) 0 },
5189 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5190 cat <<\_LT_EOF
>> conftest.
$ac_ext
5194 /* This works around a problem
in FreeBSD linker
*/
5195 #ifdef FREEBSD_WORKAROUND
5196 static const void
*lt_preloaded_setup
() {
5197 return lt__PROGRAM__LTX_preloaded_symbols
;
5205 # Now try linking the two files.
5206 mv conftest.
$ac_objext conftstm.
$ac_objext
5207 lt_save_LIBS
="$LIBS"
5208 lt_save_CFLAGS
="$CFLAGS"
5209 LIBS
="conftstm.$ac_objext"
5210 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5211 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5212 (eval $ac_link) 2>&5
5214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5215 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5218 LIBS
="$lt_save_LIBS"
5219 CFLAGS
="$lt_save_CFLAGS"
5221 echo "cannot find nm_test_func in $nlist" >&5
5224 echo "cannot find nm_test_var in $nlist" >&5
5227 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5230 echo "$progname: failed program was:" >&5
5231 cat conftest.
$ac_ext >&5
5233 rm -rf conftest
* conftst
*
5235 # Do not use the global_symbol_pipe unless it works.
5236 if test "$pipe_works" = yes; then
5239 lt_cv_sys_global_symbol_pipe
=
5245 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5246 lt_cv_sys_global_symbol_to_cdecl
=
5248 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5250 $as_echo "failed" >&6; }
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5253 $as_echo "ok" >&6; }
5278 # Check whether --enable-libtool-lock was given.
5279 if test "${enable_libtool_lock+set}" = set; then :
5280 enableval
=$enable_libtool_lock;
5283 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5285 # Some flags need to be propagated to the compiler or linker for good
5289 # Find out which ABI we are using.
5290 echo 'int i;' > conftest.
$ac_ext
5291 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5292 (eval $ac_compile) 2>&5
5294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }; then
5296 case `/usr/bin/file conftest.$ac_objext` in
5308 # Find out which ABI we are using.
5309 echo '#line 5309 "configure"' > conftest.
$ac_ext
5310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5311 (eval $ac_compile) 2>&5
5313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5314 test $ac_status = 0; }; then
5315 if test "$lt_cv_prog_gnu_ld" = yes; then
5316 case `/usr/bin/file conftest.$ac_objext` in
5318 LD
="${LD-ld} -melf32bsmip"
5321 LD
="${LD-ld} -melf32bmipn32"
5324 LD
="${LD-ld} -melf64bmip"
5328 case `/usr/bin/file conftest.$ac_objext` in
5344 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5345 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5346 # Find out which ABI we are using.
5347 echo 'int i;' > conftest.
$ac_ext
5348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5349 (eval $ac_compile) 2>&5
5351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5352 test $ac_status = 0; }; then
5353 case `/usr/bin/file conftest.o` in
5356 x86_64
-*kfreebsd
*-gnu)
5357 LD
="${LD-ld} -m elf_i386_fbsd"
5360 LD
="${LD-ld} -m elf_i386"
5362 ppc64
-*linux
*|powerpc64
-*linux
*)
5363 LD
="${LD-ld} -m elf32ppclinux"
5366 LD
="${LD-ld} -m elf_s390"
5369 LD
="${LD-ld} -m elf32_sparc"
5375 x86_64
-*kfreebsd
*-gnu)
5376 LD
="${LD-ld} -m elf_x86_64_fbsd"
5379 LD
="${LD-ld} -m elf_x86_64"
5381 ppc
*-*linux
*|powerpc
*-*linux
*)
5382 LD
="${LD-ld} -m elf64ppc"
5384 s390
*-*linux
*|s390
*-*tpf
*)
5385 LD
="${LD-ld} -m elf64_s390"
5388 LD
="${LD-ld} -m elf64_sparc"
5398 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5399 SAVE_CFLAGS
="$CFLAGS"
5400 CFLAGS
="$CFLAGS -belf"
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5402 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5403 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5404 $as_echo_n "(cached) " >&6
5407 ac_cpp
='$CPP $CPPFLAGS'
5408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5423 if ac_fn_c_try_link
"$LINENO"; then :
5424 lt_cv_cc_needs_belf
=yes
5426 lt_cv_cc_needs_belf
=no
5428 rm -f core conftest.err conftest.
$ac_objext \
5429 conftest
$ac_exeext conftest.
$ac_ext
5431 ac_cpp
='$CPP $CPPFLAGS'
5432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5438 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5439 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5441 CFLAGS
="$SAVE_CFLAGS"
5445 # Find out which ABI we are using.
5446 echo 'int i;' > conftest.
$ac_ext
5447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5448 (eval $ac_compile) 2>&5
5450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5451 test $ac_status = 0; }; then
5452 case `/usr/bin/file conftest.o` in
5454 case $lt_cv_prog_gnu_ld in
5455 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5457 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5469 need_locks
="$enable_libtool_lock"
5473 rhapsody
* | darwin
*)
5474 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5476 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5480 $as_echo_n "(cached) " >&6
5482 if test -n "$DSYMUTIL"; then
5483 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_exec_ext
in '' $ac_executable_extensions; do
5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5502 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5503 if test -n "$DSYMUTIL"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5505 $as_echo "$DSYMUTIL" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5513 if test -z "$ac_cv_prog_DSYMUTIL"; then
5514 ac_ct_DSYMUTIL
=$DSYMUTIL
5515 # Extract the first word of "dsymutil", so it can be a program name with args.
5516 set dummy dsymutil
; ac_word
=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -n "$ac_ct_DSYMUTIL"; then
5523 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir
=.
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5532 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5543 if test -n "$ac_ct_DSYMUTIL"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5545 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5551 if test "x$ac_ct_DSYMUTIL" = x
; then
5554 case $cross_compiling:$ac_tool_warned in
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5558 ac_tool_warned
=yes ;;
5560 DSYMUTIL
=$ac_ct_DSYMUTIL
5563 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5566 if test -n "$ac_tool_prefix"; then
5567 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5568 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -n "$NMEDIT"; then
5575 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir
=.
5582 for ac_exec_ext
in '' $ac_executable_extensions; do
5583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5584 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 NMEDIT
=$ac_cv_prog_NMEDIT
5595 if test -n "$NMEDIT"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5597 $as_echo "$NMEDIT" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5605 if test -z "$ac_cv_prog_NMEDIT"; then
5606 ac_ct_NMEDIT
=$NMEDIT
5607 # Extract the first word of "nmedit", so it can be a program name with args.
5608 set dummy nmedit
; ac_word
=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$ac_ct_NMEDIT"; then
5615 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir
=.
5622 for ac_exec_ext
in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5635 if test -n "$ac_ct_NMEDIT"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5637 $as_echo "$ac_ct_NMEDIT" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5643 if test "x$ac_ct_NMEDIT" = x
; then
5646 case $cross_compiling:$ac_tool_warned in
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5650 ac_tool_warned
=yes ;;
5652 NMEDIT
=$ac_ct_NMEDIT
5655 NMEDIT
="$ac_cv_prog_NMEDIT"
5658 if test -n "$ac_tool_prefix"; then
5659 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5660 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5662 $as_echo_n "checking for $ac_word... " >&6; }
5663 if test "${ac_cv_prog_LIPO+set}" = set; then :
5664 $as_echo_n "(cached) " >&6
5666 if test -n "$LIPO"; then
5667 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5673 test -z "$as_dir" && as_dir
=.
5674 for ac_exec_ext
in '' $ac_executable_extensions; do
5675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5676 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686 LIPO
=$ac_cv_prog_LIPO
5687 if test -n "$LIPO"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5689 $as_echo "$LIPO" >&6; }
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5697 if test -z "$ac_cv_prog_LIPO"; then
5699 # Extract the first word of "lipo", so it can be a program name with args.
5700 set dummy lipo
; ac_word
=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5704 $as_echo_n "(cached) " >&6
5706 if test -n "$ac_ct_LIPO"; then
5707 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_LIPO
="lipo"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5727 if test -n "$ac_ct_LIPO"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5729 $as_echo "$ac_ct_LIPO" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5735 if test "x$ac_ct_LIPO" = x
; then
5738 case $cross_compiling:$ac_tool_warned in
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5742 ac_tool_warned
=yes ;;
5747 LIPO
="$ac_cv_prog_LIPO"
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5752 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$OTOOL"; then
5759 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir
=.
5766 for ac_exec_ext
in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 OTOOL
=$ac_cv_prog_OTOOL
5779 if test -n "$OTOOL"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5781 $as_echo "$OTOOL" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -z "$ac_cv_prog_OTOOL"; then
5791 # Extract the first word of "otool", so it can be a program name with args.
5792 set dummy otool
; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$ac_ct_OTOOL"; then
5799 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_ac_ct_OTOOL
="otool"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5819 if test -n "$ac_ct_OTOOL"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5821 $as_echo "$ac_ct_OTOOL" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5827 if test "x$ac_ct_OTOOL" = x
; then
5830 case $cross_compiling:$ac_tool_warned in
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5834 ac_tool_warned
=yes ;;
5839 OTOOL
="$ac_cv_prog_OTOOL"
5842 if test -n "$ac_tool_prefix"; then
5843 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5844 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5846 $as_echo_n "checking for $ac_word... " >&6; }
5847 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5848 $as_echo_n "(cached) " >&6
5850 if test -n "$OTOOL64"; then
5851 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5857 test -z "$as_dir" && as_dir
=.
5858 for ac_exec_ext
in '' $ac_executable_extensions; do
5859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5860 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 OTOOL64
=$ac_cv_prog_OTOOL64
5871 if test -n "$OTOOL64"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5873 $as_echo "$OTOOL64" >&6; }
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5881 if test -z "$ac_cv_prog_OTOOL64"; then
5882 ac_ct_OTOOL64
=$OTOOL64
5883 # Extract the first word of "otool64", so it can be a program name with args.
5884 set dummy otool64
; ac_word
=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5888 $as_echo_n "(cached) " >&6
5890 if test -n "$ac_ct_OTOOL64"; then
5891 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5897 test -z "$as_dir" && as_dir
=.
5898 for ac_exec_ext
in '' $ac_executable_extensions; do
5899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5900 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5911 if test -n "$ac_ct_OTOOL64"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5913 $as_echo "$ac_ct_OTOOL64" >&6; }
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5919 if test "x$ac_ct_OTOOL64" = x
; then
5922 case $cross_compiling:$ac_tool_warned in
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5926 ac_tool_warned
=yes ;;
5928 OTOOL64
=$ac_ct_OTOOL64
5931 OTOOL64
="$ac_cv_prog_OTOOL64"
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5961 $as_echo_n "checking for -single_module linker flag... " >&6; }
5962 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5965 lt_cv_apple_cc_single_mod
=no
5966 if test -z "${LT_MULTI_MODULE}"; then
5967 # By default we will add the -single_module flag. You can override
5968 # by either setting the environment variable LT_MULTI_MODULE
5969 # non-empty at configure time, or by adding -multi_module to the
5971 rm -rf libconftest.dylib
*
5972 echo "int foo(void){return 1;}" > conftest.c
5973 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5974 -dynamiclib -Wl,-single_module conftest.c" >&5
5975 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5976 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5978 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5979 lt_cv_apple_cc_single_mod
=yes
5981 cat conftest.err
>&5
5983 rm -rf libconftest.dylib
*
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5988 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5990 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5991 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5992 $as_echo_n "(cached) " >&6
5994 lt_cv_ld_exported_symbols_list
=no
5995 save_LDFLAGS
=$LDFLAGS
5996 echo "_main" > conftest.sym
5997 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5999 /* end confdefs.h. */
6009 if ac_fn_c_try_link
"$LINENO"; then :
6010 lt_cv_ld_exported_symbols_list
=yes
6012 lt_cv_ld_exported_symbols_list
=no
6014 rm -f core conftest.err conftest.
$ac_objext \
6015 conftest
$ac_exeext conftest.
$ac_ext
6016 LDFLAGS
="$save_LDFLAGS"
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6020 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6022 rhapsody
* | darwin1.
[012])
6023 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6025 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6026 darwin
*) # darwin 5.x on
6027 # if running on 10.5 or later, the deployment target defaults
6028 # to the OS version, if on x86, and 10.4, the deployment
6029 # target defaults to 10.4. Don't you love it?
6030 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6031 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6032 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6034 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6036 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6040 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6041 _lt_dar_single_mod
='$single_module'
6043 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6044 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6046 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6048 if test "$DSYMUTIL" != ":"; then
6049 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6057 ac_cpp
='$CPP $CPPFLAGS'
6058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6062 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6063 # On Suns, sometimes $CPP names a directory.
6064 if test -n "$CPP" && test -d "$CPP"; then
6067 if test -z "$CPP"; then
6068 if test "${ac_cv_prog_CPP+set}" = set; then :
6069 $as_echo_n "(cached) " >&6
6071 # Double quotes because CPP needs to be expanded
6072 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6075 for ac_c_preproc_warn_flag
in '' yes
6077 # Use a header file that comes with gcc, so configuring glibc
6078 # with a fresh cross-compiler works.
6079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6080 # <limits.h> exists even on freestanding compilers.
6081 # On the NeXT, cc -E runs the code through the compiler's parser,
6082 # not just through cpp. "Syntax error" is here to catch this case.
6083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6086 # include <limits.h>
6088 # include <assert.h>
6092 if ac_fn_c_try_cpp
"$LINENO"; then :
6095 # Broken: fails on valid input.
6098 rm -f conftest.err conftest.
$ac_ext
6100 # OK, works on sane cases. Now check whether nonexistent headers
6101 # can be detected and how.
6102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6103 /* end confdefs.h. */
6104 #include <ac_nonexistent.h>
6106 if ac_fn_c_try_cpp
"$LINENO"; then :
6107 # Broken: success on invalid input.
6110 # Passes both tests.
6114 rm -f conftest.err conftest.
$ac_ext
6117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6118 rm -f conftest.err conftest.
$ac_ext
6119 if $ac_preproc_ok; then :
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6132 $as_echo "$CPP" >&6; }
6134 for ac_c_preproc_warn_flag
in '' yes
6136 # Use a header file that comes with gcc, so configuring glibc
6137 # with a fresh cross-compiler works.
6138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6139 # <limits.h> exists even on freestanding compilers.
6140 # On the NeXT, cc -E runs the code through the compiler's parser,
6141 # not just through cpp. "Syntax error" is here to catch this case.
6142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6143 /* end confdefs.h. */
6145 # include <limits.h>
6147 # include <assert.h>
6151 if ac_fn_c_try_cpp
"$LINENO"; then :
6154 # Broken: fails on valid input.
6157 rm -f conftest.err conftest.
$ac_ext
6159 # OK, works on sane cases. Now check whether nonexistent headers
6160 # can be detected and how.
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <ac_nonexistent.h>
6165 if ac_fn_c_try_cpp
"$LINENO"; then :
6166 # Broken: success on invalid input.
6169 # Passes both tests.
6173 rm -f conftest.err conftest.
$ac_ext
6176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6177 rm -f conftest.err conftest.
$ac_ext
6178 if $ac_preproc_ok; then :
6181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6183 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6184 See \`config.log' for more details." "$LINENO" 5; }
6188 ac_cpp
='$CPP $CPPFLAGS'
6189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6195 $as_echo_n "checking for ANSI C header files... " >&6; }
6196 if test "${ac_cv_header_stdc+set}" = set; then :
6197 $as_echo_n "(cached) " >&6
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6214 if ac_fn_c_try_compile
"$LINENO"; then :
6215 ac_cv_header_stdc
=yes
6217 ac_cv_header_stdc
=no
6219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6221 if test $ac_cv_header_stdc = yes; then
6222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6224 /* end confdefs.h. */
6228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6229 $EGREP "memchr" >/dev
/null
2>&1; then :
6232 ac_cv_header_stdc
=no
6238 if test $ac_cv_header_stdc = yes; then
6239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6241 /* end confdefs.h. */
6245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6246 $EGREP "free" >/dev
/null
2>&1; then :
6249 ac_cv_header_stdc
=no
6255 if test $ac_cv_header_stdc = yes; then
6256 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6257 if test "$cross_compiling" = yes; then :
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6264 #if ((' ' & 0x0FF) == 0x020)
6265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6268 # define ISLOWER(c) \
6269 (('a' <= (c) && (c) <= 'i') \
6270 || ('j' <= (c) && (c) <= 'r') \
6271 || ('s' <= (c) && (c) <= 'z'))
6272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6280 for (i = 0; i < 256; i++)
6281 if (XOR (islower (i), ISLOWER (i))
6282 || toupper (i) != TOUPPER (i))
6287 if ac_fn_c_try_run
"$LINENO"; then :
6290 ac_cv_header_stdc
=no
6292 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6293 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6299 $as_echo "$ac_cv_header_stdc" >&6; }
6300 if test $ac_cv_header_stdc = yes; then
6302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6307 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6308 inttypes.h stdint.h unistd.h
6310 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6311 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6313 eval as_val
=\$
$as_ac_Header
6314 if test "x$as_val" = x
""yes; then :
6315 cat >>confdefs.h
<<_ACEOF
6316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6324 for ac_header
in dlfcn.h
6326 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6328 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6329 cat >>confdefs.h
<<_ACEOF
6330 #define HAVE_DLFCN_H 1
6340 # Check whether --enable-static was given.
6341 if test "${enable_static+set}" = set; then :
6342 enableval
=$enable_static; p
=${PACKAGE-default}
6344 yes) enable_static
=yes ;;
6345 no
) enable_static
=no
;;
6348 # Look at the argument we got. We use all the common list separators.
6349 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6350 for pkg
in $enableval; do
6352 if test "X$pkg" = "X$p"; then
6378 # Check whether --enable-shared was given.
6379 if test "${enable_shared+set}" = set; then :
6380 enableval
=$enable_shared; p
=${PACKAGE-default}
6382 yes) enable_shared
=yes ;;
6383 no
) enable_shared
=no
;;
6386 # Look at the argument we got. We use all the common list separators.
6387 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6388 for pkg
in $enableval; do
6390 if test "X$pkg" = "X$p"; then
6411 # Check whether --with-pic was given.
6412 if test "${with_pic+set}" = set; then :
6413 withval
=$with_pic; pic_mode
="$withval"
6419 test -z "$pic_mode" && pic_mode
=default
6427 # Check whether --enable-fast-install was given.
6428 if test "${enable_fast_install+set}" = set; then :
6429 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6431 yes) enable_fast_install
=yes ;;
6432 no
) enable_fast_install
=no
;;
6434 enable_fast_install
=no
6435 # Look at the argument we got. We use all the common list separators.
6436 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6437 for pkg
in $enableval; do
6439 if test "X$pkg" = "X$p"; then
6440 enable_fast_install
=yes
6447 enable_fast_install
=yes
6460 # This can be used to rebuild libtool when needed
6461 LIBTOOL_DEPS
="$ltmain"
6463 # Always use our own libtool.
6464 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6490 test -z "$LN_S" && LN_S
="ln -s"
6505 if test -n "${ZSH_VERSION+set}" ; then
6506 setopt NO_GLOB_SUBST
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6510 $as_echo_n "checking for objdir... " >&6; }
6511 if test "${lt_cv_objdir+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6514 rm -f .libs
2>/dev
/null
6515 mkdir .libs
2>/dev
/null
6516 if test -d .libs
; then
6519 # MS-DOS does not allow filenames that begin with a dot.
6522 rmdir .libs
2>/dev
/null
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6525 $as_echo "$lt_cv_objdir" >&6; }
6526 objdir
=$lt_cv_objdir
6532 cat >>confdefs.h
<<_ACEOF
6533 #define LT_OBJDIR "$lt_cv_objdir/"
6554 # AIX sometimes has problems with the GCC collect2 program. For some
6555 # reason, if we set the COLLECT_NAMES environment variable, the problems
6556 # vanish in a puff of smoke.
6557 if test "X${COLLECT_NAMES+set}" != Xset
; then
6559 export COLLECT_NAMES
6564 # Sed substitution that helps us do robust quoting. It backslashifies
6565 # metacharacters that are still active within double-quoted strings.
6566 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6568 # Same as above, but do not quote variable references.
6569 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6571 # Sed substitution to delay expansion of an escaped shell variable in a
6572 # double_quote_subst'ed string.
6573 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6575 # Sed substitution to delay expansion of an escaped single quote.
6576 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6578 # Sed substitution to avoid accidental globbing in evaled expressions
6579 no_glob_subst
='s/\*/\\\*/g'
6583 can_build_shared
=yes
6585 # All known linkers require a `.a' archive for static linking (except MSVC,
6586 # which needs '.lib').
6589 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6592 old_CFLAGS
="$CFLAGS"
6594 # Set sane defaults for various variables
6595 test -z "$CC" && CC
=cc
6596 test -z "$LTCC" && LTCC
=$CC
6597 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6598 test -z "$LD" && LD
=ld
6599 test -z "$ac_objext" && ac_objext
=o
6601 for cc_temp
in $compiler""; do
6603 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6604 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6609 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6612 # Only perform the check for file, if the check method requires it
6613 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6614 case $deplibs_check_method in
6616 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6618 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6619 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6620 $as_echo_n "(cached) " >&6
6624 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6627 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6628 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6629 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6630 for ac_dir
in $ac_dummy; do
6632 test -z "$ac_dir" && ac_dir
=.
6633 if test -f $ac_dir/${ac_tool_prefix}file; then
6634 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6635 if test -n "$file_magic_test_file"; then
6636 case $deplibs_check_method in
6638 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6639 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6640 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6641 $EGREP "$file_magic_regex" > /dev
/null
; then
6646 *** Warning: the command libtool uses to detect shared libraries,
6647 *** $file_magic_cmd, produces output that libtool cannot recognize.
6648 *** The result is that libtool may fail to recognize shared libraries
6649 *** as such. This will affect the creation of libtool libraries that
6650 *** depend on shared libraries, but programs linked with such libtool
6651 *** libraries will work regardless of this problem. Nevertheless, you
6652 *** may want to report the problem to your system manager and/or to
6653 *** bug-libtool@gnu.org
6663 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6668 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6669 if test -n "$MAGIC_CMD"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6671 $as_echo "$MAGIC_CMD" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6681 if test -z "$lt_cv_path_MAGIC_CMD"; then
6682 if test -n "$ac_tool_prefix"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6684 $as_echo_n "checking for file... " >&6; }
6685 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6690 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6693 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6694 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6695 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6696 for ac_dir
in $ac_dummy; do
6698 test -z "$ac_dir" && ac_dir
=.
6699 if test -f $ac_dir/file; then
6700 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6701 if test -n "$file_magic_test_file"; then
6702 case $deplibs_check_method in
6704 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6705 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6706 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6707 $EGREP "$file_magic_regex" > /dev
/null
; then
6712 *** Warning: the command libtool uses to detect shared libraries,
6713 *** $file_magic_cmd, produces output that libtool cannot recognize.
6714 *** The result is that libtool may fail to recognize shared libraries
6715 *** as such. This will affect the creation of libtool libraries that
6716 *** depend on shared libraries, but programs linked with such libtool
6717 *** libraries will work regardless of this problem. Nevertheless, you
6718 *** may want to report the problem to your system manager and/or to
6719 *** bug-libtool@gnu.org
6729 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6734 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6735 if test -n "$MAGIC_CMD"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6737 $as_echo "$MAGIC_CMD" >&6; }
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6753 # Use C for the default configuration in the libtool script
6757 ac_cpp
='$CPP $CPPFLAGS'
6758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6763 # Source file extension for C test sources.
6766 # Object file extension for compiled C test sources.
6770 # Code to be used in simple compile tests
6771 lt_simple_compile_test_code
="int some_variable = 0;"
6773 # Code to be used in simple link tests
6774 lt_simple_link_test_code
='int main(){return(0);}'
6782 # If no C compiler was specified, use CC.
6785 # If no C compiler flags were specified, use CFLAGS.
6786 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6788 # Allow CC to be a program name with arguments.
6791 # Save the default compiler, since it gets overwritten when the other
6792 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6793 compiler_DEFAULT
=$CC
6795 # save warnings/boilerplate of simple test code
6796 ac_outfile
=conftest.
$ac_objext
6797 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6798 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6799 _lt_compiler_boilerplate
=`cat conftest.err`
6802 ac_outfile
=conftest.
$ac_objext
6803 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6804 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6805 _lt_linker_boilerplate
=`cat conftest.err`
6809 if test -n "$compiler"; then
6811 lt_prog_compiler_no_builtin_flag
=
6813 if test "$GCC" = yes; then
6814 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6817 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6818 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6819 $as_echo_n "(cached) " >&6
6821 lt_cv_prog_compiler_rtti_exceptions
=no
6822 ac_outfile
=conftest.
$ac_objext
6823 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6824 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6825 # Insert the option either (1) after the last *FLAGS variable, or
6826 # (2) before a word containing "conftest.", or (3) at the end.
6827 # Note that $ac_compile itself does not contain backslashes and begins
6828 # with a dollar sign (not a hyphen), so the echo should work correctly.
6829 # The option is referenced via a variable to avoid confusing sed.
6830 lt_compile
=`echo "$ac_compile" | $SED \
6831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6833 -e 's:$: $lt_compiler_flag:'`
6834 (eval echo "\"\$as_me:6834: $lt_compile\"" >&5)
6835 (eval "$lt_compile" 2>conftest.err
)
6837 cat conftest.err
>&5
6838 echo "$as_me:6838: \$? = $ac_status" >&5
6839 if (exit $ac_status) && test -s "$ac_outfile"; then
6840 # The compiler can only warn and ignore the option if not recognized
6841 # So say no if there are warnings other than the usual output.
6842 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6843 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6844 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6845 lt_cv_prog_compiler_rtti_exceptions
=yes
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6852 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6854 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6855 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6867 lt_prog_compiler_wl
=
6868 lt_prog_compiler_pic
=
6869 lt_prog_compiler_static
=
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6872 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6874 if test "$GCC" = yes; then
6875 lt_prog_compiler_wl
='-Wl,'
6876 lt_prog_compiler_static
='-static'
6880 # All AIX code is PIC.
6881 if test "$host_cpu" = ia64
; then
6882 # AIX 5 now supports IA64 processor
6883 lt_prog_compiler_static
='-Bstatic'
6890 # see comment about AmigaOS4 .so support
6891 lt_prog_compiler_pic
='-fPIC'
6894 # FIXME: we need at least 68020 code to build shared libraries, but
6895 # adding the `-m68020' flag to GCC prevents building anything better,
6897 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6902 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6903 # PIC is the default for these OSes.
6906 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6907 # This hack is so that the source file can tell whether it is being
6908 # built for inclusion in a dll (and should export symbols for example).
6909 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6910 # (--disable-auto-import) libraries
6911 lt_prog_compiler_pic
='-DDLL_EXPORT'
6914 darwin
* | rhapsody
*)
6915 # PIC is the default on this platform
6916 # Common symbols not allowed in MH_DYLIB files
6917 lt_prog_compiler_pic
='-fno-common'
6921 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6922 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6923 # sets the default TLS model and affects inlining.
6929 lt_prog_compiler_pic
='-fPIC'
6935 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6936 # Instead, we relocate shared libraries at runtime.
6940 # Just because we use GCC doesn't mean we suddenly get shared libraries
6941 # on systems that don't support them.
6942 lt_prog_compiler_can_build_shared
=no
6947 # QNX uses GNU C++, but need to define -shared option too, otherwise
6949 lt_prog_compiler_pic
='-fPIC -shared'
6953 if test -d /usr
/nec
; then
6954 lt_prog_compiler_pic
=-Kconform_pic
6959 lt_prog_compiler_pic
='-fPIC'
6963 # PORTME Check for flag to pass linker flags through the system compiler.
6966 lt_prog_compiler_wl
='-Wl,'
6967 if test "$host_cpu" = ia64
; then
6968 # AIX 5 now supports IA64 processor
6969 lt_prog_compiler_static
='-Bstatic'
6971 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6975 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6976 # This hack is so that the source file can tell whether it is being
6977 # built for inclusion in a dll (and should export symbols for example).
6978 lt_prog_compiler_pic
='-DDLL_EXPORT'
6981 hpux9
* | hpux10
* | hpux11
*)
6982 lt_prog_compiler_wl
='-Wl,'
6983 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6990 lt_prog_compiler_pic
='+Z'
6993 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6994 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6997 irix5
* | irix6
* | nonstopux
*)
6998 lt_prog_compiler_wl
='-Wl,'
6999 # PIC (with -KPIC) is the default.
7000 lt_prog_compiler_static
='-non_shared'
7003 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7004 case $cc_basename in
7005 # old Intel for x86_64 which still supported -KPIC.
7007 lt_prog_compiler_wl
='-Wl,'
7008 lt_prog_compiler_pic
='-KPIC'
7009 lt_prog_compiler_static
='-static'
7011 # icc used to be incompatible with GCC.
7012 # ICC 10 doesn't accept -KPIC any more.
7014 lt_prog_compiler_wl
='-Wl,'
7015 lt_prog_compiler_pic
='-fPIC'
7016 lt_prog_compiler_static
='-static'
7018 # Lahey Fortran 8.1.
7020 lt_prog_compiler_wl
='-Wl,'
7021 lt_prog_compiler_pic
='--shared'
7022 lt_prog_compiler_static
='--static'
7024 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7025 # Portland Group compilers (*not* the Pentium gcc compiler,
7026 # which looks to be a dead project)
7027 lt_prog_compiler_wl
='-Wl,'
7028 lt_prog_compiler_pic
='-fpic'
7029 lt_prog_compiler_static
='-Bstatic'
7032 lt_prog_compiler_wl
='-Wl,'
7033 # All Alpha code is PIC.
7034 lt_prog_compiler_static
='-non_shared'
7037 # IBM XL C 8.0/Fortran 10.1 on PPC
7038 lt_prog_compiler_wl
='-Wl,'
7039 lt_prog_compiler_pic
='-qpic'
7040 lt_prog_compiler_static
='-qstaticlink'
7043 case `$CC -V 2>&1 | sed 5q` in
7046 lt_prog_compiler_pic
='-KPIC'
7047 lt_prog_compiler_static
='-Bstatic'
7048 lt_prog_compiler_wl
='-Wl,'
7051 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7052 lt_prog_compiler_pic
='-KPIC'
7053 lt_prog_compiler_static
='-Bstatic'
7054 lt_prog_compiler_wl
=''
7062 lt_prog_compiler_pic
='-KPIC'
7063 lt_prog_compiler_static
='-Bstatic'
7067 # QNX uses GNU C++, but need to define -shared option too, otherwise
7069 lt_prog_compiler_pic
='-fPIC -shared'
7072 osf3
* | osf4
* | osf5
*)
7073 lt_prog_compiler_wl
='-Wl,'
7074 # All OSF/1 code is PIC.
7075 lt_prog_compiler_static
='-non_shared'
7079 lt_prog_compiler_static
='-non_shared'
7083 lt_prog_compiler_pic
='-KPIC'
7084 lt_prog_compiler_static
='-Bstatic'
7085 case $cc_basename in
7087 lt_prog_compiler_wl
='-Qoption ld ';;
7089 lt_prog_compiler_wl
='-Wl,';;
7094 lt_prog_compiler_wl
='-Qoption ld '
7095 lt_prog_compiler_pic
='-PIC'
7096 lt_prog_compiler_static
='-Bstatic'
7099 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7100 lt_prog_compiler_wl
='-Wl,'
7101 lt_prog_compiler_pic
='-KPIC'
7102 lt_prog_compiler_static
='-Bstatic'
7106 if test -d /usr
/nec
;then
7107 lt_prog_compiler_pic
='-Kconform_pic'
7108 lt_prog_compiler_static
='-Bstatic'
7112 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7113 lt_prog_compiler_wl
='-Wl,'
7114 lt_prog_compiler_pic
='-KPIC'
7115 lt_prog_compiler_static
='-Bstatic'
7119 lt_prog_compiler_wl
='-Wl,'
7120 lt_prog_compiler_can_build_shared
=no
7124 lt_prog_compiler_pic
='-pic'
7125 lt_prog_compiler_static
='-Bstatic'
7129 lt_prog_compiler_can_build_shared
=no
7135 # For platforms which do not support PIC, -DPIC is meaningless:
7137 lt_prog_compiler_pic
=
7140 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7144 $as_echo "$lt_prog_compiler_pic" >&6; }
7152 # Check to make sure the PIC flag actually works.
7154 if test -n "$lt_prog_compiler_pic"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7156 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7157 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7160 lt_cv_prog_compiler_pic_works
=no
7161 ac_outfile
=conftest.
$ac_objext
7162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7163 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7164 # Insert the option either (1) after the last *FLAGS variable, or
7165 # (2) before a word containing "conftest.", or (3) at the end.
7166 # Note that $ac_compile itself does not contain backslashes and begins
7167 # with a dollar sign (not a hyphen), so the echo should work correctly.
7168 # The option is referenced via a variable to avoid confusing sed.
7169 lt_compile
=`echo "$ac_compile" | $SED \
7170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7172 -e 's:$: $lt_compiler_flag:'`
7173 (eval echo "\"\$as_me:7173: $lt_compile\"" >&5)
7174 (eval "$lt_compile" 2>conftest.err
)
7176 cat conftest.err
>&5
7177 echo "$as_me:7177: \$? = $ac_status" >&5
7178 if (exit $ac_status) && test -s "$ac_outfile"; then
7179 # The compiler can only warn and ignore the option if not recognized
7180 # So say no if there are warnings other than the usual output.
7181 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7183 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7184 lt_cv_prog_compiler_pic_works
=yes
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7191 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7193 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7194 case $lt_prog_compiler_pic in
7196 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7199 lt_prog_compiler_pic
=
7200 lt_prog_compiler_can_build_shared
=no
7211 # Check to make sure the static flag actually works.
7213 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7216 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7217 $as_echo_n "(cached) " >&6
7219 lt_cv_prog_compiler_static_works
=no
7220 save_LDFLAGS
="$LDFLAGS"
7221 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7222 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7223 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7224 # The linker can only warn and ignore the option if not recognized
7225 # So say no if there are warnings
7226 if test -s conftest.err
; then
7227 # Append any errors to the config.log.
7228 cat conftest.err
1>&5
7229 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7230 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7231 if diff conftest.exp conftest.er2
>/dev
/null
; then
7232 lt_cv_prog_compiler_static_works
=yes
7235 lt_cv_prog_compiler_static_works
=yes
7239 LDFLAGS
="$save_LDFLAGS"
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7243 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7245 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7248 lt_prog_compiler_static
=
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7258 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7259 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7262 lt_cv_prog_compiler_c_o
=no
7263 $RM -r conftest
2>/dev
/null
7267 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7269 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7270 # Insert the option either (1) after the last *FLAGS variable, or
7271 # (2) before a word containing "conftest.", or (3) at the end.
7272 # Note that $ac_compile itself does not contain backslashes and begins
7273 # with a dollar sign (not a hyphen), so the echo should work correctly.
7274 lt_compile
=`echo "$ac_compile" | $SED \
7275 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7276 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7277 -e 's:$: $lt_compiler_flag:'`
7278 (eval echo "\"\$as_me:7278: $lt_compile\"" >&5)
7279 (eval "$lt_compile" 2>out
/conftest.err
)
7281 cat out
/conftest.err
>&5
7282 echo "$as_me:7282: \$? = $ac_status" >&5
7283 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7285 # The compiler can only warn and ignore the option if not recognized
7286 # So say no if there are warnings
7287 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7288 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7289 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7290 lt_cv_prog_compiler_c_o
=yes
7295 # SGI C++ compiler will create directory out/ii_files/ for
7296 # template instantiation
7297 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7298 $RM out
/* && rmdir out
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7305 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7313 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7314 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7315 $as_echo_n "(cached) " >&6
7317 lt_cv_prog_compiler_c_o
=no
7318 $RM -r conftest
2>/dev
/null
7322 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7324 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7325 # Insert the option either (1) after the last *FLAGS variable, or
7326 # (2) before a word containing "conftest.", or (3) at the end.
7327 # Note that $ac_compile itself does not contain backslashes and begins
7328 # with a dollar sign (not a hyphen), so the echo should work correctly.
7329 lt_compile
=`echo "$ac_compile" | $SED \
7330 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7331 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7332 -e 's:$: $lt_compiler_flag:'`
7333 (eval echo "\"\$as_me:7333: $lt_compile\"" >&5)
7334 (eval "$lt_compile" 2>out
/conftest.err
)
7336 cat out
/conftest.err
>&5
7337 echo "$as_me:7337: \$? = $ac_status" >&5
7338 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7340 # The compiler can only warn and ignore the option if not recognized
7341 # So say no if there are warnings
7342 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7343 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7344 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7345 lt_cv_prog_compiler_c_o
=yes
7350 # SGI C++ compiler will create directory out/ii_files/ for
7351 # template instantiation
7352 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7353 $RM out
/* && rmdir out
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7360 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7365 hard_links
="nottested"
7366 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7367 # do not overwrite the value of need_locks provided by the user
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7369 $as_echo_n "checking if we can lock with hard links... " >&6; }
7372 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7374 ln conftest.a conftest.b
2>&5 || hard_links
=no
7375 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7377 $as_echo "$hard_links" >&6; }
7378 if test "$hard_links" = no
; then
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7380 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7393 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7396 allow_undefined_flag
=
7397 always_export_symbols
=no
7399 archive_expsym_cmds
=
7400 compiler_needs_object
=no
7401 enable_shared_with_static_runtimes
=no
7402 export_dynamic_flag_spec
=
7403 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7404 hardcode_automatic
=no
7406 hardcode_direct_absolute
=no
7407 hardcode_libdir_flag_spec
=
7408 hardcode_libdir_flag_spec_ld
=
7409 hardcode_libdir_separator
=
7411 hardcode_shlibpath_var
=unsupported
7413 link_all_deplibs
=unknown
7416 old_archive_from_new_cmds
=
7417 old_archive_from_expsyms_cmds
=
7418 thread_safe_flag_spec
=
7419 whole_archive_flag_spec
=
7420 # include_expsyms should be a list of space-separated symbols to be *always*
7421 # included in the symbol list
7423 # exclude_expsyms can be an extended regexp of symbols to exclude
7424 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7425 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7426 # as well as any symbol that contains `d'.
7427 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7428 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7429 # platforms (ab)use it in PIC code, but their linkers get confused if
7430 # the symbol is explicitly referenced. Since portable code cannot
7431 # rely on this symbol name, it's probably fine to never include it in
7432 # preloaded symbol tables.
7433 # Exclude shared library initialization/finalization symbols.
7434 extract_expsyms_cmds
=
7437 cygwin
* | mingw
* | pw32
* | cegcc
*)
7438 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7439 # When not using gcc, we currently assume that we are using
7440 # Microsoft Visual C++.
7441 if test "$GCC" != yes; then
7446 # we just hope/assume this is gcc and not c89 (= MSVC++)
7452 linux
* | k
*bsd
*-gnu)
7458 if test "$with_gnu_ld" = yes; then
7459 # If archive_cmds runs LD, not CC, wlarc should be empty
7462 # Set some defaults for GNU ld with shared library support. These
7463 # are reset later if shared libraries are not supported. Putting them
7464 # here allows them to be overridden if necessary.
7465 runpath_var
=LD_RUN_PATH
7466 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7467 export_dynamic_flag_spec
='${wl}--export-dynamic'
7468 # ancient GNU ld didn't support --whole-archive et. al.
7469 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7470 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7472 whole_archive_flag_spec
=
7474 supports_anon_versioning
=no
7475 case `$LD -v 2>&1` in
7476 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7477 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7478 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7479 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7480 *\
2.11.
*) ;; # other 2.11 versions
7481 *) supports_anon_versioning
=yes ;;
7484 # See if GNU ld supports shared libraries.
7487 # On AIX/PPC, the GNU linker is very broken
7488 if test "$host_cpu" != ia64
; then
7492 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7493 *** to be unable to reliably create shared libraries on AIX.
7494 *** Therefore, libtool is disabling shared libraries support. If you
7495 *** really care for shared libraries, you may want to modify your PATH
7496 *** so that a non-GNU linker is found, and then restart.
7505 # see comment about AmigaOS4 .so support
7506 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7507 archive_expsym_cmds
=''
7510 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)'
7511 hardcode_libdir_flag_spec
='-L$libdir'
7512 hardcode_minus_L
=yes
7518 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7519 allow_undefined_flag
=unsupported
7520 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7521 # support --undefined. This deserves some investigation. FIXME
7522 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7528 cygwin
* | mingw
* | pw32
* | cegcc
*)
7529 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7530 # as there is no search path for DLLs.
7531 hardcode_libdir_flag_spec
='-L$libdir'
7532 allow_undefined_flag
=unsupported
7533 always_export_symbols
=no
7534 enable_shared_with_static_runtimes
=yes
7535 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7537 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7538 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7539 # If the export-symbols file already is a .def file (1st line
7540 # is EXPORTS), use it as is; otherwise, prepend...
7541 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7542 cp $export_symbols $output_objdir/$soname.def;
7544 echo EXPORTS > $output_objdir/$soname.def;
7545 cat $export_symbols >> $output_objdir/$soname.def;
7547 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7555 hardcode_shlibpath_var
=no
7556 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7557 export_dynamic_flag_spec
='${wl}-E'
7558 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7559 # Instead, shared libraries are loaded at an image base (0x10000000 by
7560 # default) and relocated if they conflict, which is a slow very memory
7561 # consuming and fragmenting process. To avoid this, we pick a random,
7562 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7563 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7564 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7565 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'
7568 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7570 if test "$host_os" = linux
-dietlibc; then
7571 case $cc_basename in
7572 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7575 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7576 && test "$tmp_diet" = no
7579 tmp_sharedflag
='-shared'
7580 case $cc_basename,$host_cpu in
7581 pgcc
*) # Portland Group C compiler
7582 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'
7583 tmp_addflag
=' $pic_flag'
7585 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7586 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'
7587 tmp_addflag
=' $pic_flag -Mnomain' ;;
7588 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7589 tmp_addflag
=' -i_dynamic' ;;
7590 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7591 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7592 ifc
* | ifort
*) # Intel Fortran compiler
7593 tmp_addflag
=' -nofor_main' ;;
7594 lf95
*) # Lahey Fortran 8.1
7595 whole_archive_flag_spec
=
7596 tmp_sharedflag
='--shared' ;;
7597 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7598 tmp_sharedflag
='-qmkshrobj'
7601 case `$CC -V 2>&1 | sed 5q` in
7602 *Sun\ C
*) # Sun C 5.9
7603 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'
7604 compiler_needs_object
=yes
7605 tmp_sharedflag
='-G' ;;
7606 *Sun\ F
*) # Sun Fortran 8.3
7607 tmp_sharedflag
='-G' ;;
7609 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7611 if test "x$supports_anon_versioning" = xyes
; then
7612 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7613 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7614 echo "local: *; };" >> $output_objdir/$libname.ver~
7615 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7618 case $cc_basename in
7620 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7621 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7622 hardcode_libdir_flag_spec
=
7623 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7624 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7625 if test "x$supports_anon_versioning" = xyes
; then
7626 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7627 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7628 echo "local: *; };" >> $output_objdir/$libname.ver~
7629 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7638 netbsd
* | netbsdelf
*-gnu)
7639 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7640 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7644 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7649 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7653 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7654 *** create shared libraries on Solaris systems. Therefore, libtool
7655 *** is disabling shared libraries support. We urge you to upgrade GNU
7656 *** binutils to release 2.9.1 or newer. Another option is to modify
7657 *** your PATH or compiler configuration so that the native linker is
7658 *** used, and then restart.
7661 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7669 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7670 case `$LD -v 2>&1` in
7671 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7675 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7676 *** reliably create shared libraries on SCO systems. Therefore, libtool
7677 *** is disabling shared libraries support. We urge you to upgrade GNU
7678 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7679 *** your PATH or compiler configuration so that the native linker is
7680 *** used, and then restart.
7685 # For security reasons, it is highly recommended that you always
7686 # use absolute paths for naming shared libraries, and exclude the
7687 # DT_RUNPATH tag from executables and libraries. But doing so
7688 # requires that you compile everything twice, which is a pain.
7689 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7690 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7691 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7692 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7701 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7704 hardcode_shlibpath_var
=no
7708 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7709 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7710 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7717 if test "$ld_shlibs" = no
; then
7719 hardcode_libdir_flag_spec
=
7720 export_dynamic_flag_spec
=
7721 whole_archive_flag_spec
=
7724 # PORTME fill in a description of your system's linker (not GNU ld)
7727 allow_undefined_flag
=unsupported
7728 always_export_symbols
=yes
7729 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'
7730 # Note: this linker hardcodes the directories in LIBPATH if there
7731 # are no directories specified by -L.
7732 hardcode_minus_L
=yes
7733 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7734 # Neither direct hardcoding nor static linking is supported with a
7736 hardcode_direct
=unsupported
7741 if test "$host_cpu" = ia64
; then
7742 # On IA64, the linker does run time linking by default, so we don't
7743 # have to do anything special.
7744 aix_use_runtimelinking
=no
7745 exp_sym_flag
='-Bexport'
7748 # If we're using GNU nm, then we don't want the "-C" option.
7749 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7750 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7751 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'
7753 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'
7755 aix_use_runtimelinking
=no
7757 # Test if we are trying to use run time linking or normal
7758 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7759 # need to do runtime linking.
7760 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7761 for ld_flag
in $LDFLAGS; do
7762 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7763 aix_use_runtimelinking
=yes
7770 exp_sym_flag
='-bexport'
7771 no_entry_flag
='-bnoentry'
7774 # When large executables or shared objects are built, AIX ld can
7775 # have problems creating the table of contents. If linking a library
7776 # or program results in "error TOC overflow" add -mminimal-toc to
7777 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7778 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7782 hardcode_direct_absolute
=yes
7783 hardcode_libdir_separator
=':'
7784 link_all_deplibs
=yes
7785 file_list_spec
='${wl}-f,'
7787 if test "$GCC" = yes; then
7788 case $host_os in aix4.
[012]|aix4.
[012].
*)
7789 # We only want to do this on AIX 4.2 and lower, the check
7790 # below for broken collect2 doesn't work under 4.3+
7791 collect2name
=`${CC} -print-prog-name=collect2`
7792 if test -f "$collect2name" &&
7793 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7795 # We have reworked collect2
7798 # We have old collect2
7799 hardcode_direct
=unsupported
7800 # It fails to find uninstalled libraries when the uninstalled
7801 # path is not listed in the libpath. Setting hardcode_minus_L
7802 # to unsupported forces relinking
7803 hardcode_minus_L
=yes
7804 hardcode_libdir_flag_spec
='-L$libdir'
7805 hardcode_libdir_separator
=
7809 shared_flag
='-shared'
7810 if test "$aix_use_runtimelinking" = yes; then
7811 shared_flag
="$shared_flag "'${wl}-G'
7816 if test "$host_cpu" = ia64
; then
7817 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7818 # chokes on -Wl,-G. The following line is correct:
7821 if test "$aix_use_runtimelinking" = yes; then
7822 shared_flag
='${wl}-G'
7824 shared_flag
='${wl}-bM:SRE'
7829 export_dynamic_flag_spec
='${wl}-bexpall'
7830 # It seems that -bexpall does not export symbols beginning with
7831 # underscore (_), so it is better to generate a list of symbols to export.
7832 always_export_symbols
=yes
7833 if test "$aix_use_runtimelinking" = yes; then
7834 # Warning - without using the other runtime loading flags (-brtl),
7835 # -berok will link without error, but may produce a broken library.
7836 allow_undefined_flag
='-berok'
7837 # Determine the default libpath from the value encoded in an
7839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7840 /* end confdefs.h. */
7850 if ac_fn_c_try_link
"$LINENO"; then :
7852 lt_aix_libpath_sed
='
7853 /Import File Strings/,/^$/ {
7859 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7860 # Check for a 64-bit object if we didn't find anything.
7861 if test -z "$aix_libpath"; then
7862 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7865 rm -f core conftest.err conftest.
$ac_objext \
7866 conftest
$ac_exeext conftest.
$ac_ext
7867 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7869 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7870 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"
7872 if test "$host_cpu" = ia64
; then
7873 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7874 allow_undefined_flag
="-z nodefs"
7875 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"
7877 # Determine the default libpath from the value encoded in an
7879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7880 /* end confdefs.h. */
7890 if ac_fn_c_try_link
"$LINENO"; then :
7892 lt_aix_libpath_sed
='
7893 /Import File Strings/,/^$/ {
7899 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7900 # Check for a 64-bit object if we didn't find anything.
7901 if test -z "$aix_libpath"; then
7902 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7905 rm -f core conftest.err conftest.
$ac_objext \
7906 conftest
$ac_exeext conftest.
$ac_ext
7907 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7909 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7910 # Warning - without using the other run time loading flags,
7911 # -berok will link without error, but may produce a broken library.
7912 no_undefined_flag
=' ${wl}-bernotok'
7913 allow_undefined_flag
=' ${wl}-berok'
7914 # Exported symbols can be pulled into shared objects from archives
7915 whole_archive_flag_spec
='$convenience'
7916 archive_cmds_need_lc
=yes
7917 # This is similar to how AIX traditionally builds its shared libraries.
7918 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'
7926 # see comment about AmigaOS4 .so support
7927 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7928 archive_expsym_cmds
=''
7931 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)'
7932 hardcode_libdir_flag_spec
='-L$libdir'
7933 hardcode_minus_L
=yes
7939 export_dynamic_flag_spec
=-rdynamic
7942 cygwin
* | mingw
* | pw32
* | cegcc
*)
7943 # When not using gcc, we currently assume that we are using
7944 # Microsoft Visual C++.
7945 # hardcode_libdir_flag_spec is actually meaningless, as there is
7946 # no search path for DLLs.
7947 hardcode_libdir_flag_spec
=' '
7948 allow_undefined_flag
=unsupported
7949 # Tell ltmain to make .lib files, not .a files.
7951 # Tell ltmain to make .dll files, not .so files.
7953 # FIXME: Setting linknames here is a bad hack.
7954 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7955 # The linker will automatically build a .lib file if we build a DLL.
7956 old_archive_from_new_cmds
='true'
7957 # FIXME: Should let the user specify the lib program.
7958 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7959 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7960 enable_shared_with_static_runtimes
=yes
7963 darwin
* | rhapsody
*)
7966 archive_cmds_need_lc
=no
7968 hardcode_automatic
=yes
7969 hardcode_shlibpath_var
=unsupported
7970 whole_archive_flag_spec
=''
7971 link_all_deplibs
=yes
7972 allow_undefined_flag
="$_lt_dar_allow_undefined"
7973 case $cc_basename in
7974 ifort
*) _lt_dar_can_shared
=yes ;;
7975 *) _lt_dar_can_shared
=$GCC ;;
7977 if test "$_lt_dar_can_shared" = "yes"; then
7978 output_verbose_link_cmd
=echo
7979 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7980 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7981 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}"
7982 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}"
7991 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7992 hardcode_libdir_flag_spec
='-L$libdir'
7993 hardcode_shlibpath_var
=no
8000 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8001 # support. Future versions do this automatically, but an explicit c++rt0.o
8002 # does not break anything, and helps significantly (at the cost of a little
8005 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8006 hardcode_libdir_flag_spec
='-R$libdir'
8008 hardcode_shlibpath_var
=no
8011 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8013 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8015 hardcode_minus_L
=yes
8016 hardcode_shlibpath_var
=no
8019 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8020 freebsd
* | dragonfly
*)
8021 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8022 hardcode_libdir_flag_spec
='-R$libdir'
8024 hardcode_shlibpath_var
=no
8028 if test "$GCC" = yes; then
8029 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'
8031 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'
8033 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8034 hardcode_libdir_separator
=:
8037 # hardcode_minus_L: Not really in the search PATH,
8038 # but as the default location of the library.
8039 hardcode_minus_L
=yes
8040 export_dynamic_flag_spec
='${wl}-E'
8044 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8045 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8047 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8049 if test "$with_gnu_ld" = no
; then
8050 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8051 hardcode_libdir_flag_spec_ld
='+b $libdir'
8052 hardcode_libdir_separator
=:
8054 hardcode_direct_absolute
=yes
8055 export_dynamic_flag_spec
='${wl}-E'
8056 # hardcode_minus_L: Not really in the search PATH,
8057 # but as the default location of the library.
8058 hardcode_minus_L
=yes
8063 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8066 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8069 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8072 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8078 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8081 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8084 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8088 if test "$with_gnu_ld" = no
; then
8089 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8090 hardcode_libdir_separator
=:
8095 hardcode_shlibpath_var
=no
8099 hardcode_direct_absolute
=yes
8100 export_dynamic_flag_spec
='${wl}-E'
8102 # hardcode_minus_L: Not really in the search PATH,
8103 # but as the default location of the library.
8104 hardcode_minus_L
=yes
8110 irix5
* | irix6
* | nonstopux
*)
8111 if test "$GCC" = yes; then
8112 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'
8113 # Try to use the -exported_symbol ld option, if it does not
8114 # work, assume that -exports_file does not work either and
8115 # implicitly export all symbols.
8116 save_LDFLAGS
="$LDFLAGS"
8117 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8119 /* end confdefs.h. */
8122 if ac_fn_c_try_link
"$LINENO"; then :
8123 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'
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 LDFLAGS
="$save_LDFLAGS"
8130 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'
8131 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'
8133 archive_cmds_need_lc
='no'
8134 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8135 hardcode_libdir_separator
=:
8137 link_all_deplibs
=yes
8140 netbsd
* | netbsdelf
*-gnu)
8141 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8142 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8144 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8146 hardcode_libdir_flag_spec
='-R$libdir'
8148 hardcode_shlibpath_var
=no
8152 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8155 hardcode_libdir_separator
=:
8156 hardcode_shlibpath_var
=no
8163 if test -f /usr
/libexec
/ld.so
; then
8165 hardcode_shlibpath_var
=no
8166 hardcode_direct_absolute
=yes
8167 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8168 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8169 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8170 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8171 export_dynamic_flag_spec
='${wl}-E'
8174 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8175 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8176 hardcode_libdir_flag_spec
='-R$libdir'
8179 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8180 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8190 hardcode_libdir_flag_spec
='-L$libdir'
8191 hardcode_minus_L
=yes
8192 allow_undefined_flag
=unsupported
8193 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'
8194 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8198 if test "$GCC" = yes; then
8199 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8200 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'
8202 allow_undefined_flag
=' -expect_unresolved \*'
8203 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'
8205 archive_cmds_need_lc
='no'
8206 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8207 hardcode_libdir_separator
=:
8210 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8211 if test "$GCC" = yes; then
8212 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8213 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'
8214 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8216 allow_undefined_flag
=' -expect_unresolved \*'
8217 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'
8218 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~
8219 $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'
8221 # Both c and cxx compiler support -rpath directly
8222 hardcode_libdir_flag_spec
='-rpath $libdir'
8224 archive_cmds_need_lc
='no'
8225 hardcode_libdir_separator
=:
8229 no_undefined_flag
=' -z defs'
8230 if test "$GCC" = yes; then
8232 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8233 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8234 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8236 case `$CC -V 2>&1` in
8239 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8240 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8241 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8245 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8246 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8247 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8251 hardcode_libdir_flag_spec
='-R$libdir'
8252 hardcode_shlibpath_var
=no
8254 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8256 # The compiler driver will combine and reorder linker options,
8257 # but understands `-z linker_flag'. GCC discards it without `$wl',
8258 # but is careful enough not to reorder.
8259 # Supported since Solaris 2.6 (maybe 2.5.1?)
8260 if test "$GCC" = yes; then
8261 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8263 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8267 link_all_deplibs
=yes
8271 if test "x$host_vendor" = xsequent
; then
8272 # Use $CC to link under sequent, because it throws in some extra .o
8273 # files that make .init and .fini sections work.
8274 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8276 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8278 hardcode_libdir_flag_spec
='-L$libdir'
8280 hardcode_minus_L
=yes
8281 hardcode_shlibpath_var
=no
8285 case $host_vendor in
8287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8288 hardcode_direct
=yes # is this really true???
8291 ## LD is ld it makes a PLAMLIB
8292 ## CC just makes a GrossModule.
8293 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8294 reload_cmds
='$CC -r -o $output$reload_objs'
8298 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8299 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8302 runpath_var
='LD_RUN_PATH'
8303 hardcode_shlibpath_var
=no
8307 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8308 hardcode_shlibpath_var
=no
8309 export_dynamic_flag_spec
='-Bexport'
8313 if test -d /usr
/nec
; then
8314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8315 hardcode_shlibpath_var
=no
8316 runpath_var
=LD_RUN_PATH
8317 hardcode_runpath_var
=yes
8322 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8323 no_undefined_flag
='${wl}-z,text'
8324 archive_cmds_need_lc
=no
8325 hardcode_shlibpath_var
=no
8326 runpath_var
='LD_RUN_PATH'
8328 if test "$GCC" = yes; then
8329 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8330 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8332 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8333 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8337 sysv5
* | sco3.2v5
* | sco5v6
*)
8338 # Note: We can NOT use -z defs as we might desire, because we do not
8339 # link with -lc, and that would cause any symbols used from libc to
8340 # always be unresolved, which means just about no library would
8341 # ever link correctly. If we're not using GNU ld we use -z text
8342 # though, which does catch some bad symbols but isn't as heavy-handed
8344 no_undefined_flag
='${wl}-z,text'
8345 allow_undefined_flag
='${wl}-z,nodefs'
8346 archive_cmds_need_lc
=no
8347 hardcode_shlibpath_var
=no
8348 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8349 hardcode_libdir_separator
=':'
8350 link_all_deplibs
=yes
8351 export_dynamic_flag_spec
='${wl}-Bexport'
8352 runpath_var
='LD_RUN_PATH'
8354 if test "$GCC" = yes; then
8355 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8356 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8358 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8359 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8364 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8365 hardcode_libdir_flag_spec
='-L$libdir'
8366 hardcode_shlibpath_var
=no
8374 if test x
$host_vendor = xsni
; then
8376 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8377 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8384 $as_echo "$ld_shlibs" >&6; }
8385 test "$ld_shlibs" = no
&& can_build_shared
=no
8387 with_gnu_ld
=$with_gnu_ld
8404 # Do we need to explicitly link libc?
8406 case "x$archive_cmds_need_lc" in
8408 # Assume -lc should be added
8409 archive_cmds_need_lc
=yes
8411 if test "$enable_shared" = yes && test "$GCC" = yes; then
8412 case $archive_cmds in
8414 # FIXME: we may have to deal with multi-command sequences.
8417 # Test whether the compiler implicitly links with -lc since on some
8418 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8419 # to ld, don't add -lc before -lgcc.
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8421 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8423 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8426 (eval $ac_compile) 2>&5
8428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8429 test $ac_status = 0; } 2>conftest.err
; then
8432 libobjs
=conftest.
$ac_objext
8434 wl
=$lt_prog_compiler_wl
8435 pic_flag
=$lt_prog_compiler_pic
8441 lt_save_allow_undefined_flag
=$allow_undefined_flag
8442 allow_undefined_flag
=
8443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8444 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8447 test $ac_status = 0; }
8449 archive_cmds_need_lc
=no
8451 archive_cmds_need_lc
=yes
8453 allow_undefined_flag
=$lt_save_allow_undefined_flag
8455 cat conftest.err
1>&5
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8459 $as_echo "$archive_cmds_need_lc" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8623 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8625 if test "$GCC" = yes; then
8627 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8628 *) lt_awk_arg
="/^libraries:/" ;;
8630 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8631 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8632 # if the path contains ";" then we assume it to be the separator
8633 # otherwise default to the standard path separator (i.e. ":") - it is
8634 # assumed that no part of a normal pathname contains ";" but that should
8635 # okay in the real world where ";" in dirpaths is itself problematic.
8636 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8638 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8640 # Ok, now we have the path, separated by spaces, we can step through it
8641 # and add multilib dir if necessary.
8642 lt_tmp_lt_search_path_spec
=
8643 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8644 for lt_sys_path
in $lt_search_path_spec; do
8645 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8646 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8648 test -d "$lt_sys_path" && \
8649 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8652 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8653 BEGIN {RS=" "; FS="/|\n";} {
8656 for (lt_i = NF; lt_i > 0; lt_i--) {
8657 if ($lt_i != "" && $lt_i != ".") {
8658 if ($lt_i == "..") {
8661 if (lt_count == 0) {
8662 lt_foo="/" $lt_i lt_foo;
8669 if (lt_foo != "") { lt_freq[lt_foo]++; }
8670 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8672 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8674 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8677 libname_spec
='lib$name'
8685 shlibpath_overrides_runpath
=unknown
8687 dynamic_linker
="$host_os ld.so"
8688 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8689 need_lib_prefix
=unknown
8690 hardcode_into_libs
=no
8692 # when you set need_version to no, make sure it does not cause -set_version
8693 # flags to be left without arguments
8694 need_version
=unknown
8699 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8700 shlibpath_var
=LIBPATH
8702 # AIX 3 has no versioning support, so we append a major version to the name.
8703 soname_spec
='${libname}${release}${shared_ext}$major'
8710 hardcode_into_libs
=yes
8711 if test "$host_cpu" = ia64
; then
8712 # AIX 5 supports IA64
8713 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8714 shlibpath_var
=LD_LIBRARY_PATH
8716 # With GCC up to 2.95.x, collect2 would create an import file
8717 # for dependence libraries. The import file would start with
8718 # the line `#! .'. This would cause the generated library to
8719 # depend on `.', always an invalid library. This was fixed in
8720 # development snapshots of GCC prior to 3.0.
8722 aix4
| aix4.
[01] | aix4.
[01].
*)
8723 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8725 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8732 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8733 # soname into executable. Probably we can add versioning support to
8734 # collect2, so additional links can be useful in future.
8735 if test "$aix_use_runtimelinking" = yes; then
8736 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8737 # instead of lib<name>.a to let people know that these are not
8738 # typical AIX shared libraries.
8739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8741 # We preserve .a as extension for shared libraries through AIX4.2
8742 # and later when we are not doing run time linking.
8743 library_names_spec
='${libname}${release}.a $libname.a'
8744 soname_spec
='${libname}${release}${shared_ext}$major'
8746 shlibpath_var
=LIBPATH
8753 # Since July 2007 AmigaOS4 officially supports .so libraries.
8754 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8758 library_names_spec
='$libname.ixlibrary $libname.a'
8759 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8760 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'
8766 library_names_spec
='${libname}${shared_ext}'
8767 dynamic_linker
="$host_os ld.so"
8768 shlibpath_var
=LIBRARY_PATH
8774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8775 soname_spec
='${libname}${release}${shared_ext}$major'
8776 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8777 shlibpath_var
=LD_LIBRARY_PATH
8778 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8779 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8780 # the default ld.so.conf also contains /usr/contrib/lib and
8781 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8782 # libtool to hard-code these into programs
8785 cygwin
* | mingw
* | pw32
* | cegcc
*)
8786 version_type
=windows
8791 case $GCC,$host_os in
8792 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8793 library_names_spec
='$libname.dll.a'
8794 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8795 postinstall_cmds
='base_file=`basename \${file}`~
8796 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8797 dldir=$destdir/`dirname \$dlpath`~
8798 test -d \$dldir || mkdir -p \$dldir~
8799 $install_prog $dir/$dlname \$dldir/$dlname~
8800 chmod a+x \$dldir/$dlname~
8801 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8802 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8804 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8805 dlpath=$dir/\$dldll~
8807 shlibpath_overrides_runpath
=yes
8811 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8812 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8813 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8816 # MinGW DLLs use traditional 'lib' prefix
8817 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8818 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8819 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8820 # It is most probably a Windows format PATH printed by
8821 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8822 # path with ; separators, and with drive letters. We can handle the
8823 # drive letters (cygwin fileutils understands them), so leave them,
8824 # especially as we might pass files found there to a mingw objdump,
8825 # which wouldn't understand a cygwinified path. Ahh.
8826 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8828 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8832 # pw32 DLLs use 'pw' prefix rather than 'lib'
8833 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8839 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8842 dynamic_linker
='Win32 ld.exe'
8843 # FIXME: first we should search . and the directory the executable is in
8847 darwin
* | rhapsody
*)
8848 dynamic_linker
="$host_os dyld"
8852 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8853 soname_spec
='${libname}${release}${major}$shared_ext'
8854 shlibpath_overrides_runpath
=yes
8855 shlibpath_var
=DYLD_LIBRARY_PATH
8856 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8858 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8859 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8867 soname_spec
='${libname}${release}${shared_ext}$major'
8868 shlibpath_var
=LD_LIBRARY_PATH
8875 freebsd
* | dragonfly
*)
8876 # DragonFly does not have aout. When/if they implement a new
8877 # versioning mechanism, adjust this.
8878 if test -x /usr
/bin
/objformat
; then
8879 objformat
=`/usr/bin/objformat`
8882 freebsd
[123]*) objformat
=aout
;;
8886 version_type
=freebsd
-$objformat
8887 case $version_type in
8889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8898 shlibpath_var
=LD_LIBRARY_PATH
8901 shlibpath_overrides_runpath
=yes
8903 freebsd3.
[01]* | freebsdelf3.
[01]*)
8904 shlibpath_overrides_runpath
=yes
8905 hardcode_into_libs
=yes
8907 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8908 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8909 shlibpath_overrides_runpath
=no
8910 hardcode_into_libs
=yes
8912 *) # from 4.6 on, and DragonFly
8913 shlibpath_overrides_runpath
=yes
8914 hardcode_into_libs
=yes
8923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8924 soname_spec
='${libname}${release}${shared_ext}$major'
8925 shlibpath_var
=LD_LIBRARY_PATH
8926 hardcode_into_libs
=yes
8929 hpux9
* | hpux10
* | hpux11
*)
8930 # Give a soname corresponding to the major version so that dld.sl refuses to
8931 # link against other versions.
8938 hardcode_into_libs
=yes
8939 dynamic_linker
="$host_os dld.so"
8940 shlibpath_var
=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8942 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8943 soname_spec
='${libname}${release}${shared_ext}$major'
8944 if test "X$HPUX_IA64_MODE" = X32
; then
8945 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8947 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8949 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8953 hardcode_into_libs
=yes
8954 dynamic_linker
="$host_os dld.sl"
8955 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8956 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8958 soname_spec
='${libname}${release}${shared_ext}$major'
8959 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8960 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8964 dynamic_linker
="$host_os dld.sl"
8965 shlibpath_var
=SHLIB_PATH
8966 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8968 soname_spec
='${libname}${release}${shared_ext}$major'
8971 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8972 postinstall_cmds
='chmod 555 $lib'
8979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8980 soname_spec
='${libname}${release}${shared_ext}$major'
8981 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8982 shlibpath_var
=LD_LIBRARY_PATH
8983 shlibpath_overrides_runpath
=no
8984 hardcode_into_libs
=yes
8987 irix5
* | irix6
* | nonstopux
*)
8989 nonstopux
*) version_type
=nonstopux
;;
8991 if test "$lt_cv_prog_gnu_ld" = yes; then
8999 soname_spec
='${libname}${release}${shared_ext}$major'
9000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9002 irix5
* | nonstopux
*)
9006 case $LD in # libtool.m4 will add one of these switches to LD
9007 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9008 libsuff
= shlibsuff
= libmagic
=32-bit;;
9009 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9010 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9011 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9012 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9013 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9017 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9018 shlibpath_overrides_runpath
=no
9019 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9020 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9021 hardcode_into_libs
=yes
9024 # No shared lib support for Linux oldld, aout, or coff.
9025 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9029 # This must be Linux ELF.
9030 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9035 soname_spec
='${libname}${release}${shared_ext}$major'
9036 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9037 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=no
9039 # Some binutils ld are patched to set DT_RUNPATH
9040 save_LDFLAGS
=$LDFLAGS
9042 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9043 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9055 if ac_fn_c_try_link
"$LINENO"; then :
9056 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9057 shlibpath_overrides_runpath
=yes
9060 rm -f core conftest.err conftest.
$ac_objext \
9061 conftest
$ac_exeext conftest.
$ac_ext
9062 LDFLAGS
=$save_LDFLAGS
9065 # This implies no fast_install, which is unacceptable.
9066 # Some rework will be needed to allow for fast_install
9067 # before this can be enabled.
9068 hardcode_into_libs
=yes
9070 # Append ld.so.conf contents to the search path
9071 if test -f /etc
/ld.so.conf
; then
9072 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' ' '`
9073 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9076 # We used to test for /lib/ld.so.1 and disable shared libraries on
9077 # powerpc, because MkLinux only supported shared libraries with the
9078 # GNU dynamic linker. Since this was broken with cross compilers,
9079 # most powerpc-linux boxes support dynamic linking these days and
9080 # people can always --disable-shared, the test was removed, and we
9081 # assume the GNU/Linux dynamic linker is in use.
9082 dynamic_linker
='GNU/Linux ld.so'
9089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9090 soname_spec
='${libname}${release}${shared_ext}$major'
9091 shlibpath_var
=LD_LIBRARY_PATH
9092 shlibpath_overrides_runpath
=no
9093 hardcode_into_libs
=yes
9094 dynamic_linker
='NetBSD ld.elf_so'
9101 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9103 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9104 dynamic_linker
='NetBSD (a.out) ld.so'
9106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9107 soname_spec
='${libname}${release}${shared_ext}$major'
9108 dynamic_linker
='NetBSD ld.elf_so'
9110 shlibpath_var
=LD_LIBRARY_PATH
9111 shlibpath_overrides_runpath
=yes
9112 hardcode_into_libs
=yes
9117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9118 shlibpath_var
=LD_LIBRARY_PATH
9119 shlibpath_overrides_runpath
=yes
9126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9127 soname_spec
='${libname}${release}${shared_ext}$major'
9128 shlibpath_var
=LD_LIBRARY_PATH
9129 shlibpath_overrides_runpath
=no
9130 hardcode_into_libs
=yes
9131 dynamic_linker
='ldqnx.so'
9136 sys_lib_dlsearch_path_spec
="/usr/lib"
9138 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9140 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9141 *) need_version
=no
;;
9143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9144 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9145 shlibpath_var
=LD_LIBRARY_PATH
9146 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9148 openbsd2.
[89] | openbsd2.
[89].
*)
9149 shlibpath_overrides_runpath
=no
9152 shlibpath_overrides_runpath
=yes
9156 shlibpath_overrides_runpath
=yes
9161 libname_spec
='$name'
9164 library_names_spec
='$libname${shared_ext} $libname.a'
9165 dynamic_linker
='OS/2 ld.exe'
9166 shlibpath_var
=LIBPATH
9169 osf3
* | osf4
* | osf5
*)
9173 soname_spec
='${libname}${release}${shared_ext}$major'
9174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9175 shlibpath_var
=LD_LIBRARY_PATH
9176 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9177 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9189 soname_spec
='${libname}${release}${shared_ext}$major'
9190 shlibpath_var
=LD_LIBRARY_PATH
9191 shlibpath_overrides_runpath
=yes
9192 hardcode_into_libs
=yes
9193 # ldd complains unless libraries are executable
9194 postinstall_cmds
='chmod +x $lib'
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9200 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9201 shlibpath_var
=LD_LIBRARY_PATH
9202 shlibpath_overrides_runpath
=yes
9203 if test "$with_gnu_ld" = yes; then
9211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9212 soname_spec
='${libname}${release}${shared_ext}$major'
9213 shlibpath_var
=LD_LIBRARY_PATH
9214 case $host_vendor in
9216 shlibpath_overrides_runpath
=no
9218 runpath_var
=LD_RUN_PATH
9226 shlibpath_overrides_runpath
=no
9227 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9233 if test -d /usr
/nec
;then
9235 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9236 soname_spec
='$libname${shared_ext}.$major'
9237 shlibpath_var
=LD_LIBRARY_PATH
9241 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9242 version_type
=freebsd
-elf
9245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9246 soname_spec
='${libname}${release}${shared_ext}$major'
9247 shlibpath_var
=LD_LIBRARY_PATH
9248 shlibpath_overrides_runpath
=yes
9249 hardcode_into_libs
=yes
9250 if test "$with_gnu_ld" = yes; then
9251 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9253 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9256 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9260 sys_lib_dlsearch_path_spec
='/usr/lib'
9264 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9268 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9269 shlibpath_var
=LD_LIBRARY_PATH
9270 shlibpath_overrides_runpath
=no
9271 hardcode_into_libs
=yes
9276 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9277 soname_spec
='${libname}${release}${shared_ext}$major'
9278 shlibpath_var
=LD_LIBRARY_PATH
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9286 $as_echo "$dynamic_linker" >&6; }
9287 test "$dynamic_linker" = no
&& can_build_shared
=no
9289 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9290 if test "$GCC" = yes; then
9291 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9294 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9295 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9297 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9298 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9388 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9390 if test -n "$hardcode_libdir_flag_spec" ||
9391 test -n "$runpath_var" ||
9392 test "X$hardcode_automatic" = "Xyes" ; then
9394 # We can hardcode non-existent directories.
9395 if test "$hardcode_direct" != no
&&
9396 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9397 # have to relink, otherwise we might link with an installed library
9398 # when we should be linking with a yet-to-be-installed one
9399 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9400 test "$hardcode_minus_L" != no
; then
9401 # Linking always hardcodes the temporary library directory.
9402 hardcode_action
=relink
9404 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9405 hardcode_action
=immediate
9408 # We cannot hardcode anything, or else we can only hardcode existing
9410 hardcode_action
=unsupported
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9413 $as_echo "$hardcode_action" >&6; }
9415 if test "$hardcode_action" = relink
||
9416 test "$inherit_rpath" = yes; then
9417 # Fast installation is not supported
9418 enable_fast_install
=no
9419 elif test "$shlibpath_overrides_runpath" = yes ||
9420 test "$enable_shared" = no
; then
9421 # Fast installation is not necessary
9422 enable_fast_install
=needless
9430 if test "x$enable_dlopen" != xyes
; then
9431 enable_dlopen
=unknown
9432 enable_dlopen_self
=unknown
9433 enable_dlopen_self_static
=unknown
9440 lt_cv_dlopen
="load_add_on"
9442 lt_cv_dlopen_self
=yes
9445 mingw
* | pw32
* | cegcc
*)
9446 lt_cv_dlopen
="LoadLibrary"
9451 lt_cv_dlopen
="dlopen"
9456 # if libdl is installed we need to link against it
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9458 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9459 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9460 $as_echo_n "(cached) " >&6
9462 ac_check_lib_save_LIBS
=$LIBS
9464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9482 if ac_fn_c_try_link
"$LINENO"; then :
9483 ac_cv_lib_dl_dlopen
=yes
9485 ac_cv_lib_dl_dlopen
=no
9487 rm -f core conftest.err conftest.
$ac_objext \
9488 conftest
$ac_exeext conftest.
$ac_ext
9489 LIBS
=$ac_check_lib_save_LIBS
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9492 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9493 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9494 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9499 lt_cv_dlopen_self
=yes
9506 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9507 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9508 lt_cv_dlopen
="shl_load"
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9511 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9512 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9513 $as_echo_n "(cached) " >&6
9515 ac_check_lib_save_LIBS
=$LIBS
9517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9535 if ac_fn_c_try_link
"$LINENO"; then :
9536 ac_cv_lib_dld_shl_load
=yes
9538 ac_cv_lib_dld_shl_load
=no
9540 rm -f core conftest.err conftest.
$ac_objext \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9545 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9546 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9547 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9549 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9550 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9551 lt_cv_dlopen
="dlopen"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9554 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9555 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9556 $as_echo_n "(cached) " >&6
9558 ac_check_lib_save_LIBS
=$LIBS
9560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9578 if ac_fn_c_try_link
"$LINENO"; then :
9579 ac_cv_lib_dl_dlopen
=yes
9581 ac_cv_lib_dl_dlopen
=no
9583 rm -f core conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LIBS
=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9588 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9589 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9590 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9593 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9594 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9595 $as_echo_n "(cached) " >&6
9597 ac_check_lib_save_LIBS
=$LIBS
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9602 /* Override any GCC internal prototype to avoid an error.
9603 Use char because int might match the return type of a GCC
9604 builtin and then its argument prototype would still apply. */
9617 if ac_fn_c_try_link
"$LINENO"; then :
9618 ac_cv_lib_svld_dlopen
=yes
9620 ac_cv_lib_svld_dlopen
=no
9622 rm -f core conftest.err conftest.
$ac_objext \
9623 conftest
$ac_exeext conftest.
$ac_ext
9624 LIBS
=$ac_check_lib_save_LIBS
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9627 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9628 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9629 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9632 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9633 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9634 $as_echo_n "(cached) " >&6
9636 ac_check_lib_save_LIBS
=$LIBS
9638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9639 /* end confdefs.h. */
9641 /* Override any GCC internal prototype to avoid an error.
9642 Use char because int might match the return type of a GCC
9643 builtin and then its argument prototype would still apply. */
9656 if ac_fn_c_try_link
"$LINENO"; then :
9657 ac_cv_lib_dld_dld_link
=yes
9659 ac_cv_lib_dld_dld_link
=no
9661 rm -f core conftest.err conftest.
$ac_objext \
9662 conftest
$ac_exeext conftest.
$ac_ext
9663 LIBS
=$ac_check_lib_save_LIBS
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9666 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9667 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9668 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9689 if test "x$lt_cv_dlopen" != xno
; then
9695 case $lt_cv_dlopen in
9697 save_CPPFLAGS
="$CPPFLAGS"
9698 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9700 save_LDFLAGS
="$LDFLAGS"
9701 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9704 LIBS
="$lt_cv_dlopen_libs $LIBS"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9707 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9708 if test "${lt_cv_dlopen_self+set}" = set; then :
9709 $as_echo_n "(cached) " >&6
9711 if test "$cross_compiling" = yes; then :
9712 lt_cv_dlopen_self
=cross
9714 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9715 lt_status
=$lt_dlunknown
9716 cat > conftest.
$ac_ext <<_LT_EOF
9717 #line 9717 "configure"
9718 #include "confdefs.h"
9727 # define LT_DLGLOBAL RTLD_GLOBAL
9730 # define LT_DLGLOBAL DL_GLOBAL
9732 # define LT_DLGLOBAL 0
9736 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9737 find out it does not work in some platform. */
9738 #ifndef LT_DLLAZY_OR_NOW
9740 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9743 # define LT_DLLAZY_OR_NOW DL_LAZY
9746 # define LT_DLLAZY_OR_NOW RTLD_NOW
9749 # define LT_DLLAZY_OR_NOW DL_NOW
9751 # define LT_DLLAZY_OR_NOW 0
9758 void fnord() { int i=42;}
9761 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9762 int status = $lt_dlunknown;
9766 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9767 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9768 /* dlclose (self); */
9776 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9777 (eval $ac_link) 2>&5
9779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9780 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9781 (.
/conftest
; exit; ) >&5 2>/dev
/null
9784 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9785 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9786 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9789 # compilation failed
9790 lt_cv_dlopen_self
=no
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9798 $as_echo "$lt_cv_dlopen_self" >&6; }
9800 if test "x$lt_cv_dlopen_self" = xyes
; then
9801 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9803 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9804 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9805 $as_echo_n "(cached) " >&6
9807 if test "$cross_compiling" = yes; then :
9808 lt_cv_dlopen_self_static
=cross
9810 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9811 lt_status
=$lt_dlunknown
9812 cat > conftest.
$ac_ext <<_LT_EOF
9813 #line 9813 "configure"
9814 #include "confdefs.h"
9823 # define LT_DLGLOBAL RTLD_GLOBAL
9826 # define LT_DLGLOBAL DL_GLOBAL
9828 # define LT_DLGLOBAL 0
9832 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9833 find out it does not work in some platform. */
9834 #ifndef LT_DLLAZY_OR_NOW
9836 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9839 # define LT_DLLAZY_OR_NOW DL_LAZY
9842 # define LT_DLLAZY_OR_NOW RTLD_NOW
9845 # define LT_DLLAZY_OR_NOW DL_NOW
9847 # define LT_DLLAZY_OR_NOW 0
9854 void fnord() { int i=42;}
9857 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9858 int status = $lt_dlunknown;
9862 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9863 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9864 /* dlclose (self); */
9872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9873 (eval $ac_link) 2>&5
9875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9876 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9877 (.
/conftest
; exit; ) >&5 2>/dev
/null
9880 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9881 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9882 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9885 # compilation failed
9886 lt_cv_dlopen_self_static
=no
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9894 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9897 CPPFLAGS
="$save_CPPFLAGS"
9898 LDFLAGS
="$save_LDFLAGS"
9903 case $lt_cv_dlopen_self in
9904 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9905 *) enable_dlopen_self
=unknown
;;
9908 case $lt_cv_dlopen_self_static in
9909 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9910 *) enable_dlopen_self_static
=unknown
;;
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9933 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9934 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9935 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9936 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9938 $as_echo "yes" >&6; }
9940 # FIXME - insert some real tests, host_os isn't really good enough
9943 if test -n "$STRIP" ; then
9944 striplib
="$STRIP -x"
9945 old_striplib
="$STRIP -S"
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9947 $as_echo "yes" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9950 $as_echo "no" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9955 $as_echo "no" >&6; }
9971 # Report which library types will actually be built
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9973 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9975 $as_echo "$can_build_shared" >&6; }
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9978 $as_echo_n "checking whether to build shared libraries... " >&6; }
9979 test "$can_build_shared" = "no" && enable_shared
=no
9981 # On AIX, shared libraries and static libraries use the same namespace, and
9982 # are all built from PIC.
9985 test "$enable_shared" = yes && enable_static
=no
9986 if test -n "$RANLIB"; then
9987 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9988 postinstall_cmds
='$RANLIB $lib'
9993 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9994 test "$enable_shared" = yes && enable_static
=no
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9999 $as_echo "$enable_shared" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10002 $as_echo_n "checking whether to build static libraries... " >&6; }
10003 # Make sure either enable_shared or enable_static is yes.
10004 test "$enable_shared" = yes || enable_static
=yes
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10006 $as_echo "$enable_static" >&6; }
10013 ac_cpp
='$CPP $CPPFLAGS'
10014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10032 ac_config_commands
="$ac_config_commands libtool"
10037 # Only expand once:
10042 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10043 if test -n "$ac_tool_prefix"; then
10044 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10045 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10047 $as_echo_n "checking for $ac_word... " >&6; }
10048 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10049 $as_echo_n "(cached) " >&6
10051 case $PKG_CONFIG in
10053 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10057 for as_dir
in $PATH
10060 test -z "$as_dir" && as_dir
=.
10061 for ac_exec_ext
in '' $ac_executable_extensions; do
10062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10063 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10074 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10075 if test -n "$PKG_CONFIG"; then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10077 $as_echo "$PKG_CONFIG" >&6; }
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10080 $as_echo "no" >&6; }
10085 if test -z "$ac_cv_path_PKG_CONFIG"; then
10086 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10087 # Extract the first word of "pkg-config", so it can be a program name with args.
10088 set dummy pkg
-config; ac_word
=$2
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10090 $as_echo_n "checking for $ac_word... " >&6; }
10091 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10092 $as_echo_n "(cached) " >&6
10094 case $ac_pt_PKG_CONFIG in
10096 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10100 for as_dir
in $PATH
10103 test -z "$as_dir" && as_dir
=.
10104 for ac_exec_ext
in '' $ac_executable_extensions; do
10105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10106 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10117 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10118 if test -n "$ac_pt_PKG_CONFIG"; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10120 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10123 $as_echo "no" >&6; }
10126 if test "x$ac_pt_PKG_CONFIG" = x
; then
10129 case $cross_compiling:$ac_tool_warned in
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10133 ac_tool_warned
=yes ;;
10135 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10138 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10142 if test -n "$PKG_CONFIG"; then
10143 _pkg_min_version
=0.22
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10145 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10146 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10148 $as_echo "yes" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10151 $as_echo "no" >&6; }
10157 ac_cpp
='$CXXCPP $CPPFLAGS'
10158 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10159 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10160 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10161 if test -z "$CXX"; then
10162 if test -n "$CCC"; then
10165 if test -n "$ac_tool_prefix"; then
10166 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10169 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10171 $as_echo_n "checking for $ac_word... " >&6; }
10172 if test "${ac_cv_prog_CXX+set}" = set; then :
10173 $as_echo_n "(cached) " >&6
10175 if test -n "$CXX"; then
10176 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10179 for as_dir
in $PATH
10182 test -z "$as_dir" && as_dir
=.
10183 for ac_exec_ext
in '' $ac_executable_extensions; do
10184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10185 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10195 CXX
=$ac_cv_prog_CXX
10196 if test -n "$CXX"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10198 $as_echo "$CXX" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 $as_echo "no" >&6; }
10205 test -n "$CXX" && break
10208 if test -z "$CXX"; then
10210 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10212 # Extract the first word of "$ac_prog", so it can be a program name with args.
10213 set dummy
$ac_prog; ac_word
=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10215 $as_echo_n "checking for $ac_word... " >&6; }
10216 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10217 $as_echo_n "(cached) " >&6
10219 if test -n "$ac_ct_CXX"; then
10220 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10223 for as_dir
in $PATH
10226 test -z "$as_dir" && as_dir
=.
10227 for ac_exec_ext
in '' $ac_executable_extensions; do
10228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10229 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10240 if test -n "$ac_ct_CXX"; then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10242 $as_echo "$ac_ct_CXX" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10245 $as_echo "no" >&6; }
10249 test -n "$ac_ct_CXX" && break
10252 if test "x$ac_ct_CXX" = x
; then
10255 case $cross_compiling:$ac_tool_warned in
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10259 ac_tool_warned
=yes ;;
10267 # Provide some information about the compiler.
10268 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10271 for ac_option
in --version -v -V -qversion; do
10272 { { ac_try
="$ac_compiler $ac_option >&5"
10273 case "(($ac_try" in
10274 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10275 *) ac_try_echo=$ac_try;;
10277 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10278 $as_echo "$ac_try_echo"; } >&5
10279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10281 if test -s conftest.err; then
10283 ... rest of stderr output deleted ...
10284 10q' conftest.err >conftest.er1
10285 cat conftest.er1 >&5
10287 rm -f conftest.er1 conftest.err
10288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10289 test $ac_status = 0; }
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10293 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10294 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10295 $as_echo_n "(cached) " >&6
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10311 if ac_fn_cxx_try_compile "$LINENO"; then :
10312 ac_compiler_gnu=yes
10316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10317 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10321 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10322 if test $ac_compiler_gnu = yes; then
10327 ac_test_CXXFLAGS=${CXXFLAGS+set}
10328 ac_save_CXXFLAGS=$CXXFLAGS
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10330 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10331 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10332 $as_echo_n "(cached) " >&6
10334 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10335 ac_cxx_werror_flag=yes
10336 ac_cv_prog_cxx_g=no
10338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10339 /* end confdefs.h. */
10349 if ac_fn_cxx_try_compile "$LINENO"; then :
10350 ac_cv_prog_cxx_g=yes
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10364 if ac_fn_cxx_try_compile "$LINENO"; then :
10367 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10380 if ac_fn_cxx_try_compile "$LINENO"; then :
10381 ac_cv_prog_cxx_g=yes
10383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10388 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10391 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10392 if test "$ac_test_CXXFLAGS" = set; then
10393 CXXFLAGS=$ac_save_CXXFLAGS
10394 elif test $ac_cv_prog_cxx_g = yes; then
10395 if test "$GXX" = yes; then
10401 if test "$GXX" = yes; then
10408 ac_cpp='$CPP $CPPFLAGS'
10409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10415 ac_cpp='$CXXCPP $CPPFLAGS'
10416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10419 if test -z "$CXX"; then
10420 if test -n "$CCC"; then
10423 if test -n "$ac_tool_prefix"; then
10424 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10429 $as_echo_n "checking for $ac_word... " >&6; }
10430 if test "${ac_cv_prog_CXX+set}" = set; then :
10431 $as_echo_n "(cached) " >&6
10433 if test -n "$CXX"; then
10434 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10453 CXX=$ac_cv_prog_CXX
10454 if test -n "$CXX"; then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10456 $as_echo "$CXX" >&6; }
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10459 $as_echo "no" >&6; }
10463 test -n "$CXX" && break
10466 if test -z "$CXX"; then
10468 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10470 # Extract the first word of "$ac_prog", so it can be a program name with args.
10471 set dummy $ac_prog; ac_word=$2
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10473 $as_echo_n "checking for $ac_word... " >&6; }
10474 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10475 $as_echo_n "(cached) " >&6
10477 if test -n "$ac_ct_CXX"; then
10478 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_prog_ac_ct_CXX="$ac_prog"
10488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10497 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10498 if test -n "$ac_ct_CXX"; then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10500 $as_echo "$ac_ct_CXX" >&6; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10503 $as_echo "no" >&6; }
10507 test -n "$ac_ct_CXX" && break
10510 if test "x$ac_ct_CXX" = x; then
10513 case $cross_compiling:$ac_tool_warned in
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10517 ac_tool_warned=yes ;;
10525 # Provide some information about the compiler.
10526 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10529 for ac_option in --version -v -V -qversion; do
10530 { { ac_try="$ac_compiler $ac_option >&5"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10533 *) ac_try_echo
=$ac_try;;
10535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10536 $as_echo "$ac_try_echo"; } >&5
10537 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10539 if test -s conftest.err
; then
10541 ... rest of stderr output deleted ...
10542 10q' conftest.err
>conftest.er1
10543 cat conftest.er1
>&5
10545 rm -f conftest.er1 conftest.err
10546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10547 test $ac_status = 0; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10551 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10552 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10553 $as_echo_n "(cached) " >&6
10555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10569 if ac_fn_cxx_try_compile
"$LINENO"; then :
10570 ac_compiler_gnu
=yes
10574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10575 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10579 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10580 if test $ac_compiler_gnu = yes; then
10585 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10586 ac_save_CXXFLAGS
=$CXXFLAGS
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10588 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10589 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10590 $as_echo_n "(cached) " >&6
10592 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10593 ac_cxx_werror_flag
=yes
10594 ac_cv_prog_cxx_g
=no
10596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10607 if ac_fn_cxx_try_compile
"$LINENO"; then :
10608 ac_cv_prog_cxx_g
=yes
10611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10622 if ac_fn_cxx_try_compile
"$LINENO"; then :
10625 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10638 if ac_fn_cxx_try_compile
"$LINENO"; then :
10639 ac_cv_prog_cxx_g
=yes
10641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10646 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10649 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10650 if test "$ac_test_CXXFLAGS" = set; then
10651 CXXFLAGS
=$ac_save_CXXFLAGS
10652 elif test $ac_cv_prog_cxx_g = yes; then
10653 if test "$GXX" = yes; then
10659 if test "$GXX" = yes; then
10666 ac_cpp
='$CPP $CPPFLAGS'
10667 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10668 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10669 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10671 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10672 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10673 (test "X$CXX" != "Xg++"))) ; then
10675 ac_cpp
='$CXXCPP $CPPFLAGS'
10676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10680 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10681 if test -z "$CXXCPP"; then
10682 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10683 $as_echo_n "(cached) " >&6
10685 # Double quotes because CXXCPP needs to be expanded
10686 for CXXCPP
in "$CXX -E" "/lib/cpp"
10688 ac_preproc_ok
=false
10689 for ac_cxx_preproc_warn_flag
in '' yes
10691 # Use a header file that comes with gcc, so configuring glibc
10692 # with a fresh cross-compiler works.
10693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10694 # <limits.h> exists even on freestanding compilers.
10695 # On the NeXT, cc -E runs the code through the compiler's parser,
10696 # not just through cpp. "Syntax error" is here to catch this case.
10697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 # include <limits.h>
10702 # include <assert.h>
10706 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10709 # Broken: fails on valid input.
10712 rm -f conftest.err conftest.
$ac_ext
10714 # OK, works on sane cases. Now check whether nonexistent headers
10715 # can be detected and how.
10716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 #include <ac_nonexistent.h>
10720 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10721 # Broken: success on invalid input.
10724 # Passes both tests.
10728 rm -f conftest.err conftest.
$ac_ext
10731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10732 rm -f conftest.err conftest.
$ac_ext
10733 if $ac_preproc_ok; then :
10738 ac_cv_prog_CXXCPP
=$CXXCPP
10741 CXXCPP
=$ac_cv_prog_CXXCPP
10743 ac_cv_prog_CXXCPP
=$CXXCPP
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10746 $as_echo "$CXXCPP" >&6; }
10747 ac_preproc_ok
=false
10748 for ac_cxx_preproc_warn_flag
in '' yes
10750 # Use a header file that comes with gcc, so configuring glibc
10751 # with a fresh cross-compiler works.
10752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10753 # <limits.h> exists even on freestanding compilers.
10754 # On the NeXT, cc -E runs the code through the compiler's parser,
10755 # not just through cpp. "Syntax error" is here to catch this case.
10756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 # include <limits.h>
10761 # include <assert.h>
10765 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10768 # Broken: fails on valid input.
10771 rm -f conftest.err conftest.
$ac_ext
10773 # OK, works on sane cases. Now check whether nonexistent headers
10774 # can be detected and how.
10775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10777 #include <ac_nonexistent.h>
10779 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10780 # Broken: success on invalid input.
10783 # Passes both tests.
10787 rm -f conftest.err conftest.
$ac_ext
10790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10791 rm -f conftest.err conftest.
$ac_ext
10792 if $ac_preproc_ok; then :
10795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10797 _lt_caught_CXX_error
=yes; }
10801 ac_cpp
='$CPP $CPPFLAGS'
10802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10807 _lt_caught_CXX_error
=yes
10814 ac_cpp
='$CXXCPP $CPPFLAGS'
10815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10819 archive_cmds_need_lc_CXX
=no
10820 allow_undefined_flag_CXX
=
10821 always_export_symbols_CXX
=no
10822 archive_expsym_cmds_CXX
=
10823 compiler_needs_object_CXX
=no
10824 export_dynamic_flag_spec_CXX
=
10825 hardcode_direct_CXX
=no
10826 hardcode_direct_absolute_CXX
=no
10827 hardcode_libdir_flag_spec_CXX
=
10828 hardcode_libdir_flag_spec_ld_CXX
=
10829 hardcode_libdir_separator_CXX
=
10830 hardcode_minus_L_CXX
=no
10831 hardcode_shlibpath_var_CXX
=unsupported
10832 hardcode_automatic_CXX
=no
10833 inherit_rpath_CXX
=no
10835 module_expsym_cmds_CXX
=
10836 link_all_deplibs_CXX
=unknown
10837 old_archive_cmds_CXX
=$old_archive_cmds
10838 no_undefined_flag_CXX
=
10839 whole_archive_flag_spec_CXX
=
10840 enable_shared_with_static_runtimes_CXX
=no
10842 # Source file extension for C++ test sources.
10845 # Object file extension for compiled C++ test sources.
10849 # No sense in running all these tests if we already determined that
10850 # the CXX compiler isn't working. Some variables (like enable_shared)
10851 # are currently assumed to apply to all compilers on this platform,
10852 # and will be corrupted by setting them based on a non-working compiler.
10853 if test "$_lt_caught_CXX_error" != yes; then
10854 # Code to be used in simple compile tests
10855 lt_simple_compile_test_code
="int some_variable = 0;"
10857 # Code to be used in simple link tests
10858 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10860 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10867 # If no C compiler was specified, use CC.
10870 # If no C compiler flags were specified, use CFLAGS.
10871 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10873 # Allow CC to be a program name with arguments.
10877 # save warnings/boilerplate of simple test code
10878 ac_outfile
=conftest.
$ac_objext
10879 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10880 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10881 _lt_compiler_boilerplate
=`cat conftest.err`
10884 ac_outfile
=conftest.
$ac_objext
10885 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10886 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10887 _lt_linker_boilerplate
=`cat conftest.err`
10891 # Allow CC to be a program name with arguments.
10896 lt_save_with_gnu_ld
=$with_gnu_ld
10897 lt_save_path_LD
=$lt_cv_path_LD
10898 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10899 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10901 $as_unset lt_cv_prog_gnu_ld
10903 if test -n "${lt_cv_path_LDCXX+set}"; then
10904 lt_cv_path_LD
=$lt_cv_path_LDCXX
10906 $as_unset lt_cv_path_LD
10908 test -z "${LDCXX+set}" || LD
=$LDCXX
10912 for cc_temp
in $compiler""; do
10914 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10915 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10920 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10923 if test -n "$compiler"; then
10924 # We don't want -fno-exception when compiling C++ code, so set the
10925 # no_builtin_flag separately
10926 if test "$GXX" = yes; then
10927 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10929 lt_prog_compiler_no_builtin_flag_CXX
=
10932 if test "$GXX" = yes; then
10933 # Set up default GNU C++ configuration
10937 # Check whether --with-gnu-ld was given.
10938 if test "${with_gnu_ld+set}" = set; then :
10939 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10945 if test "$GCC" = yes; then
10946 # Check if gcc -print-prog-name=ld gives a path.
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10948 $as_echo_n "checking for ld used by $CC... " >&6; }
10951 # gcc leaves a trailing carriage return which upsets mingw
10952 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10954 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10957 # Accept absolute paths.
10959 re_direlt
='/[^/][^/]*/\.\./'
10960 # Canonicalize the pathname of ld
10961 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10962 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
10963 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10965 test -z "$LD" && LD
="$ac_prog"
10968 # If it fails, then pretend we aren't using GCC.
10972 # If it is relative, then search for the first ld in PATH.
10973 with_gnu_ld
=unknown
10976 elif test "$with_gnu_ld" = yes; then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10978 $as_echo_n "checking for GNU ld... " >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10981 $as_echo_n "checking for non-GNU ld... " >&6; }
10983 if test "${lt_cv_path_LD+set}" = set; then :
10984 $as_echo_n "(cached) " >&6
10986 if test -z "$LD"; then
10987 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10988 for ac_dir
in $PATH; do
10990 test -z "$ac_dir" && ac_dir
=.
10991 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10992 lt_cv_path_LD
="$ac_dir/$ac_prog"
10993 # Check to see if the program is GNU ld. I'd rather use --version,
10994 # but apparently some variants of GNU ld only accept -v.
10995 # Break only if it was the GNU/non-GNU ld that we prefer.
10996 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10997 *GNU
* | *'with BFD'*)
10998 test "$with_gnu_ld" != no
&& break
11001 test "$with_gnu_ld" != yes && break
11008 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11012 LD
="$lt_cv_path_LD"
11013 if test -n "$LD"; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11015 $as_echo "$LD" >&6; }
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11018 $as_echo "no" >&6; }
11020 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11022 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11023 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11024 $as_echo_n "(cached) " >&6
11026 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11027 case `$LD -v 2>&1 </dev/null` in
11028 *GNU
* | *'with BFD'*)
11029 lt_cv_prog_gnu_ld
=yes
11032 lt_cv_prog_gnu_ld
=no
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11037 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11038 with_gnu_ld
=$lt_cv_prog_gnu_ld
11046 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11047 # archiving commands below assume that GNU ld is being used.
11048 if test "$with_gnu_ld" = yes; then
11049 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11050 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'
11052 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11053 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11055 # If archive_cmds runs LD, not CC, wlarc should be empty
11056 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11057 # investigate it a little bit more. (MM)
11060 # ancient GNU ld didn't support --whole-archive et. al.
11061 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11062 $GREP 'no-whole-archive' > /dev
/null
; then
11063 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11065 whole_archive_flag_spec_CXX
=
11071 # A generic and very simple default shared library creation
11072 # command for GNU C++ for the case where it uses the native
11073 # linker, instead of GNU ld. If possible, this setting should
11074 # overridden to take advantage of the native linker features on
11075 # the platform it is being used on.
11076 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11079 # Commands to make compiler produce verbose output that lists
11080 # what "hidden" libraries, object files and flags are used when
11081 # linking a shared library.
11082 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11090 # PORTME: fill in a description of your system's C++ link characteristics
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11092 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11096 # FIXME: insert proper C++ library support
11100 if test "$host_cpu" = ia64
; then
11101 # On IA64, the linker does run time linking by default, so we don't
11102 # have to do anything special.
11103 aix_use_runtimelinking
=no
11104 exp_sym_flag
='-Bexport'
11107 aix_use_runtimelinking
=no
11109 # Test if we are trying to use run time linking or normal
11110 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11111 # need to do runtime linking.
11112 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11113 for ld_flag
in $LDFLAGS; do
11116 aix_use_runtimelinking
=yes
11124 exp_sym_flag
='-bexport'
11125 no_entry_flag
='-bnoentry'
11128 # When large executables or shared objects are built, AIX ld can
11129 # have problems creating the table of contents. If linking a library
11130 # or program results in "error TOC overflow" add -mminimal-toc to
11131 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11132 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11134 archive_cmds_CXX
=''
11135 hardcode_direct_CXX
=yes
11136 hardcode_direct_absolute_CXX
=yes
11137 hardcode_libdir_separator_CXX
=':'
11138 link_all_deplibs_CXX
=yes
11139 file_list_spec_CXX
='${wl}-f,'
11141 if test "$GXX" = yes; then
11142 case $host_os in aix4.
[012]|aix4.
[012].
*)
11143 # We only want to do this on AIX 4.2 and lower, the check
11144 # below for broken collect2 doesn't work under 4.3+
11145 collect2name
=`${CC} -print-prog-name=collect2`
11146 if test -f "$collect2name" &&
11147 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11149 # We have reworked collect2
11152 # We have old collect2
11153 hardcode_direct_CXX
=unsupported
11154 # It fails to find uninstalled libraries when the uninstalled
11155 # path is not listed in the libpath. Setting hardcode_minus_L
11156 # to unsupported forces relinking
11157 hardcode_minus_L_CXX
=yes
11158 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11159 hardcode_libdir_separator_CXX
=
11162 shared_flag
='-shared'
11163 if test "$aix_use_runtimelinking" = yes; then
11164 shared_flag
="$shared_flag "'${wl}-G'
11168 if test "$host_cpu" = ia64
; then
11169 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11170 # chokes on -Wl,-G. The following line is correct:
11173 if test "$aix_use_runtimelinking" = yes; then
11174 shared_flag
='${wl}-G'
11176 shared_flag
='${wl}-bM:SRE'
11181 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11182 # It seems that -bexpall does not export symbols beginning with
11183 # underscore (_), so it is better to generate a list of symbols to
11185 always_export_symbols_CXX
=yes
11186 if test "$aix_use_runtimelinking" = yes; then
11187 # Warning - without using the other runtime loading flags (-brtl),
11188 # -berok will link without error, but may produce a broken library.
11189 allow_undefined_flag_CXX
='-berok'
11190 # Determine the default libpath from the value encoded in an empty
11192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11203 if ac_fn_cxx_try_link
"$LINENO"; then :
11205 lt_aix_libpath_sed
='
11206 /Import File Strings/,/^$/ {
11212 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11213 # Check for a 64-bit object if we didn't find anything.
11214 if test -z "$aix_libpath"; then
11215 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11218 rm -f core conftest.err conftest.
$ac_objext \
11219 conftest
$ac_exeext conftest.
$ac_ext
11220 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11222 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11224 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"
11226 if test "$host_cpu" = ia64
; then
11227 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11228 allow_undefined_flag_CXX
="-z nodefs"
11229 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"
11231 # Determine the default libpath from the value encoded in an
11232 # empty executable.
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11244 if ac_fn_cxx_try_link
"$LINENO"; then :
11246 lt_aix_libpath_sed
='
11247 /Import File Strings/,/^$/ {
11253 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11254 # Check for a 64-bit object if we didn't find anything.
11255 if test -z "$aix_libpath"; then
11256 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11259 rm -f core conftest.err conftest.
$ac_objext \
11260 conftest
$ac_exeext conftest.
$ac_ext
11261 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11263 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11264 # Warning - without using the other run time loading flags,
11265 # -berok will link without error, but may produce a broken library.
11266 no_undefined_flag_CXX
=' ${wl}-bernotok'
11267 allow_undefined_flag_CXX
=' ${wl}-berok'
11268 # Exported symbols can be pulled into shared objects from archives
11269 whole_archive_flag_spec_CXX
='$convenience'
11270 archive_cmds_need_lc_CXX
=yes
11271 # This is similar to how AIX traditionally builds its shared
11273 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'
11279 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11280 allow_undefined_flag_CXX
=unsupported
11281 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11282 # support --undefined. This deserves some investigation. FIXME
11283 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11290 case $cc_basename in
11292 # FIXME: insert proper C++ library support
11298 cygwin
* | mingw
* | pw32
* | cegcc
*)
11299 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11300 # as there is no search path for DLLs.
11301 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11302 allow_undefined_flag_CXX
=unsupported
11303 always_export_symbols_CXX
=no
11304 enable_shared_with_static_runtimes_CXX
=yes
11306 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11307 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'
11308 # If the export-symbols file already is a .def file (1st line
11309 # is EXPORTS), use it as is; otherwise, prepend...
11310 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11311 cp $export_symbols $output_objdir/$soname.def;
11313 echo EXPORTS > $output_objdir/$soname.def;
11314 cat $export_symbols >> $output_objdir/$soname.def;
11316 $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'
11321 darwin
* | rhapsody
*)
11324 archive_cmds_need_lc_CXX
=no
11325 hardcode_direct_CXX
=no
11326 hardcode_automatic_CXX
=yes
11327 hardcode_shlibpath_var_CXX
=unsupported
11328 whole_archive_flag_spec_CXX
=''
11329 link_all_deplibs_CXX
=yes
11330 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11331 case $cc_basename in
11332 ifort
*) _lt_dar_can_shared
=yes ;;
11333 *) _lt_dar_can_shared
=$GCC ;;
11335 if test "$_lt_dar_can_shared" = "yes"; then
11336 output_verbose_link_cmd
=echo
11337 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}"
11338 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11339 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}"
11340 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}"
11341 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11342 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}"
11343 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}"
11353 case $cc_basename in
11355 # FIXME: insert proper C++ library support
11359 # Green Hills C++ Compiler
11360 # FIXME: insert proper C++ library support
11364 # FIXME: insert proper C++ library support
11371 # C++ shared libraries reported to be fairly broken before
11377 archive_cmds_need_lc_CXX
=no
11380 freebsd
* | dragonfly
*)
11381 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11390 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11391 hardcode_libdir_separator_CXX
=:
11392 export_dynamic_flag_spec_CXX
='${wl}-E'
11393 hardcode_direct_CXX
=yes
11394 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11395 # but as the default
11396 # location of the library.
11398 case $cc_basename in
11400 # FIXME: insert proper C++ library support
11404 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'
11405 # Commands to make compiler produce verbose output that lists
11406 # what "hidden" libraries, object files and flags are used when
11407 # linking a shared library.
11409 # There doesn't appear to be a way to prevent this compiler from
11410 # explicitly linking system object files so we need to strip them
11411 # from the output so that they don't get included in the library
11413 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'
11416 if test "$GXX" = yes; then
11417 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'
11419 # FIXME: insert proper C++ library support
11427 if test $with_gnu_ld = no
; then
11428 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11429 hardcode_libdir_separator_CXX
=:
11435 export_dynamic_flag_spec_CXX
='${wl}-E'
11441 hardcode_direct_CXX
=no
11442 hardcode_shlibpath_var_CXX
=no
11445 hardcode_direct_CXX
=yes
11446 hardcode_direct_absolute_CXX
=yes
11447 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11448 # but as the default
11449 # location of the library.
11453 case $cc_basename in
11455 # FIXME: insert proper C++ library support
11461 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11464 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11467 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11470 # Commands to make compiler produce verbose output that lists
11471 # what "hidden" libraries, object files and flags are used when
11472 # linking a shared library.
11474 # There doesn't appear to be a way to prevent this compiler from
11475 # explicitly linking system object files so we need to strip them
11476 # from the output so that they don't get included in the library
11478 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'
11481 if test "$GXX" = yes; then
11482 if test $with_gnu_ld = no
; then
11485 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11488 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11491 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'
11496 # FIXME: insert proper C++ library support
11504 hardcode_direct_CXX
=no
11505 hardcode_shlibpath_var_CXX
=no
11506 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11507 export_dynamic_flag_spec_CXX
='${wl}-E'
11508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11509 # Instead, shared libraries are loaded at an image base (0x10000000 by
11510 # default) and relocated if they conflict, which is a slow very memory
11511 # consuming and fragmenting process. To avoid this, we pick a random,
11512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11514 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'
11515 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'
11518 case $cc_basename in
11521 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'
11523 # Archives containing C++ object files must be created using
11524 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11525 # necessary to make sure instantiated templates are included
11527 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11530 if test "$GXX" = yes; then
11531 if test "$with_gnu_ld" = no
; then
11532 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'
11534 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'
11537 link_all_deplibs_CXX
=yes
11540 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11541 hardcode_libdir_separator_CXX
=:
11542 inherit_rpath_CXX
=yes
11545 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11546 case $cc_basename in
11548 # Kuck and Associates, Inc. (KAI) C++ Compiler
11550 # KCC will only create a shared library if the output file
11551 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11552 # to its proper name (with version) after linking.
11553 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'
11554 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'
11555 # Commands to make compiler produce verbose output that lists
11556 # what "hidden" libraries, object files and flags are used when
11557 # linking a shared library.
11559 # There doesn't appear to be a way to prevent this compiler from
11560 # explicitly linking system object files so we need to strip them
11561 # from the output so that they don't get included in the library
11563 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'
11565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11566 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11568 # Archives containing C++ object files must be created using
11569 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11570 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11575 # version 8.0 and above of icpc choke on multiply defined symbols
11576 # if we add $predep_objects and $postdep_objects, however 7.1 and
11577 # earlier do not add the objects themselves.
11578 case `$CC -V 2>&1` in
11580 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11581 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'
11583 *) # Version 8.0 or newer
11586 ia64
*) tmp_idyn
=' -i_dynamic';;
11588 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11589 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'
11592 archive_cmds_need_lc_CXX
=no
11593 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11594 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11595 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11598 # Portland Group C++ compiler
11600 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11601 prelink_cmds_CXX
='tpldir=Template.dir~
11603 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11604 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11605 old_archive_cmds_CXX
='tpldir=Template.dir~
11607 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11608 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11610 archive_cmds_CXX
='tpldir=Template.dir~
11612 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11613 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11614 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11616 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11617 $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'
11619 *) # Version 6 will use weak symbols
11620 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11621 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'
11625 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11626 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11627 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'
11631 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11632 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'
11634 runpath_var
=LD_RUN_PATH
11635 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11636 hardcode_libdir_separator_CXX
=:
11638 # Commands to make compiler produce verbose output that lists
11639 # what "hidden" libraries, object files and flags are used when
11640 # linking a shared library.
11642 # There doesn't appear to be a way to prevent this compiler from
11643 # explicitly linking system object files so we need to strip them
11644 # from the output so that they don't get included in the library
11646 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'
11649 # IBM XL 8.0 on PPC, with GNU ld
11650 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11651 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11652 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11653 if test "x$supports_anon_versioning" = xyes
; then
11654 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11655 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11656 echo "local: *; };" >> $output_objdir/$libname.ver~
11657 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11661 case `$CC -V 2>&1 | sed 5q` in
11664 no_undefined_flag_CXX
=' -zdefs'
11665 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11666 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'
11667 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11668 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'
11669 compiler_needs_object_CXX
=yes
11671 # Not sure whether something based on
11672 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11674 output_verbose_link_cmd
='echo'
11676 # Archives containing C++ object files must be created using
11677 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11678 # necessary to make sure instantiated templates are included
11680 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11688 # FIXME: insert proper C++ library support
11693 # FIXME: insert proper C++ library support
11698 case $cc_basename in
11700 # FIXME: insert proper C++ library support
11704 # FIXME: insert proper C++ library support
11711 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11712 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11714 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11715 hardcode_direct_CXX
=yes
11716 hardcode_shlibpath_var_CXX
=no
11718 # Workaround some broken pre-1.5 toolchains
11719 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11727 # C++ shared libraries are fairly broken
11732 if test -f /usr
/libexec
/ld.so
; then
11733 hardcode_direct_CXX
=yes
11734 hardcode_shlibpath_var_CXX
=no
11735 hardcode_direct_absolute_CXX
=yes
11736 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11737 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11738 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11739 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11740 export_dynamic_flag_spec_CXX
='${wl}-E'
11741 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11743 output_verbose_link_cmd
=echo
11749 osf3
* | osf4
* | osf5
*)
11750 case $cc_basename in
11752 # Kuck and Associates, Inc. (KAI) C++ Compiler
11754 # KCC will only create a shared library if the output file
11755 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11756 # to its proper name (with version) after linking.
11757 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'
11759 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11760 hardcode_libdir_separator_CXX
=:
11762 # Archives containing C++ object files must be created using
11763 # the KAI C++ compiler.
11765 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11766 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11770 # Rational C++ 2.4.1
11771 # FIXME: insert proper C++ library support
11777 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11778 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'
11779 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11782 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11783 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'
11784 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11785 echo "-hidden">> $lib.exp~
11786 $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~
11788 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11792 hardcode_libdir_separator_CXX
=:
11794 # Commands to make compiler produce verbose output that lists
11795 # what "hidden" libraries, object files and flags are used when
11796 # linking a shared library.
11798 # There doesn't appear to be a way to prevent this compiler from
11799 # explicitly linking system object files so we need to strip them
11800 # from the output so that they don't get included in the library
11802 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'
11805 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11806 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11809 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'
11812 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'
11816 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11817 hardcode_libdir_separator_CXX
=:
11819 # Commands to make compiler produce verbose output that lists
11820 # what "hidden" libraries, object files and flags are used when
11821 # linking a shared library.
11822 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11825 # FIXME: insert proper C++ library support
11833 # FIXME: insert proper C++ library support
11838 case $cc_basename in
11841 # FIXME: insert proper C++ library support
11846 # FIXME: insert proper C++ library support
11850 # FIXME: insert proper C++ library support
11857 case $cc_basename in
11859 # Sun C++ 4.2, 5.x and Centerline C++
11860 archive_cmds_need_lc_CXX
=yes
11861 no_undefined_flag_CXX
=' -zdefs'
11862 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11863 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11864 $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'
11866 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11867 hardcode_shlibpath_var_CXX
=no
11869 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11871 # The compiler driver will combine and reorder linker options,
11872 # but understands `-z linker_flag'.
11873 # Supported since Solaris 2.6 (maybe 2.5.1?)
11874 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11877 link_all_deplibs_CXX
=yes
11879 output_verbose_link_cmd
='echo'
11881 # Archives containing C++ object files must be created using
11882 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11883 # necessary to make sure instantiated templates are included
11885 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11888 # Green Hills C++ Compiler
11889 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11891 # The C++ compiler must be used to create the archive.
11892 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11895 # GNU C++ compiler with Solaris linker
11896 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11897 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11898 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11899 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11900 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11901 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11903 # Commands to make compiler produce verbose output that lists
11904 # what "hidden" libraries, object files and flags are used when
11905 # linking a shared library.
11906 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11908 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11910 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11911 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11912 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11914 # Commands to make compiler produce verbose output that lists
11915 # what "hidden" libraries, object files and flags are used when
11916 # linking a shared library.
11917 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11920 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11922 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11924 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11932 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11933 no_undefined_flag_CXX
='${wl}-z,text'
11934 archive_cmds_need_lc_CXX
=no
11935 hardcode_shlibpath_var_CXX
=no
11936 runpath_var
='LD_RUN_PATH'
11938 case $cc_basename in
11940 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11941 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11944 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11945 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 sysv5
* | sco3.2v5
* | sco5v6
*)
11951 # Note: We can NOT use -z defs as we might desire, because we do not
11952 # link with -lc, and that would cause any symbols used from libc to
11953 # always be unresolved, which means just about no library would
11954 # ever link correctly. If we're not using GNU ld we use -z text
11955 # though, which does catch some bad symbols but isn't as heavy-handed
11957 no_undefined_flag_CXX
='${wl}-z,text'
11958 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11959 archive_cmds_need_lc_CXX
=no
11960 hardcode_shlibpath_var_CXX
=no
11961 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
11962 hardcode_libdir_separator_CXX
=':'
11963 link_all_deplibs_CXX
=yes
11964 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11965 runpath_var
='LD_RUN_PATH'
11967 case $cc_basename in
11969 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11970 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11973 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11980 case $cc_basename in
11982 # NonStop-UX NCC 3.20
11983 # FIXME: insert proper C++ library support
11987 # FIXME: insert proper C++ library support
11994 # FIXME: insert proper C++ library support
11999 # FIXME: insert proper C++ library support
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12005 $as_echo "$ld_shlibs_CXX" >&6; }
12006 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12012 ## There is no encapsulation within the following macros, do not change
12013 ## the running order or otherwise move them around unless you know exactly
12014 ## what you are doing...
12015 # Dependencies to place before and after the object being linked:
12016 predep_objects_CXX
=
12017 postdep_objects_CXX
=
12020 compiler_lib_search_path_CXX
=
12022 cat > conftest.
$ac_ext <<_LT_EOF
12026 Foo (void) { a = 0; }
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12033 (eval $ac_compile) 2>&5
12035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036 test $ac_status = 0; }; then
12037 # Parse the compiler output and extract the necessary
12038 # objects, libraries and library flags.
12040 # Sentinel used to keep track of whether or not we are before
12041 # the conftest object file.
12042 pre_test_object_deps_done
=no
12044 for p
in `eval "$output_verbose_link_cmd"`; do
12048 # Some compilers place space between "-{L,R}" and the path.
12049 # Remove the space.
12050 if test $p = "-L" ||
12051 test $p = "-R"; then
12058 if test "$pre_test_object_deps_done" = no
; then
12061 # Internal compiler library paths should come after those
12062 # provided the user. The postdeps already come after the
12063 # user supplied libs so there is no need to process them.
12064 if test -z "$compiler_lib_search_path_CXX"; then
12065 compiler_lib_search_path_CXX
="${prev}${p}"
12067 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12070 # The "-l" case would never come before the object being
12071 # linked, so don't bother handling this case.
12074 if test -z "$postdeps_CXX"; then
12075 postdeps_CXX
="${prev}${p}"
12077 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12083 # This assumes that the test object file only shows up
12084 # once in the compiler output.
12085 if test "$p" = "conftest.$objext"; then
12086 pre_test_object_deps_done
=yes
12090 if test "$pre_test_object_deps_done" = no
; then
12091 if test -z "$predep_objects_CXX"; then
12092 predep_objects_CXX
="$p"
12094 predep_objects_CXX
="$predep_objects_CXX $p"
12097 if test -z "$postdep_objects_CXX"; then
12098 postdep_objects_CXX
="$p"
12100 postdep_objects_CXX
="$postdep_objects_CXX $p"
12105 *) ;; # Ignore the rest.
12113 echo "libtool.m4: error: problem compiling CXX test program"
12116 $RM -f confest.
$objext
12118 # PORTME: override above test on systems where it is broken
12121 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12122 # hack all around it, let's just trust "g++" to DTRT.
12123 predep_objects_CXX
=
12124 postdep_objects_CXX
=
12129 case `$CC -V 2>&1 | sed 5q` in
12133 # The more standards-conforming stlport4 library is
12134 # incompatible with the Cstd library. Avoid specifying
12135 # it if it's in CXXFLAGS. Ignore libCrun as
12136 # -library=stlport4 depends on it.
12137 case " $CXX $CXXFLAGS " in
12138 *" -library=stlport4 "*)
12139 solaris_use_stlport4
=yes
12143 if test "$solaris_use_stlport4" != yes; then
12144 postdeps_CXX
='-library=Cstd -library=Crun'
12151 case $cc_basename in
12153 # The more standards-conforming stlport4 library is
12154 # incompatible with the Cstd library. Avoid specifying
12155 # it if it's in CXXFLAGS. Ignore libCrun as
12156 # -library=stlport4 depends on it.
12157 case " $CXX $CXXFLAGS " in
12158 *" -library=stlport4 "*)
12159 solaris_use_stlport4
=yes
12163 # Adding this requires a known-good setup of shared libraries for
12164 # Sun compiler versions before 5.6, else PIC objects from an old
12165 # archive will be linked into the output, leading to subtle bugs.
12166 if test "$solaris_use_stlport4" != yes; then
12167 postdeps_CXX
='-library=Cstd -library=Crun'
12175 case " $postdeps_CXX " in
12176 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12178 compiler_lib_search_dirs_CXX
=
12179 if test -n "${compiler_lib_search_path_CXX}"; then
12180 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12213 lt_prog_compiler_wl_CXX
=
12214 lt_prog_compiler_pic_CXX
=
12215 lt_prog_compiler_static_CXX
=
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12218 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12220 # C++ specific cases for pic, static, wl, etc.
12221 if test "$GXX" = yes; then
12222 lt_prog_compiler_wl_CXX
='-Wl,'
12223 lt_prog_compiler_static_CXX
='-static'
12227 # All AIX code is PIC.
12228 if test "$host_cpu" = ia64
; then
12229 # AIX 5 now supports IA64 processor
12230 lt_prog_compiler_static_CXX
='-Bstatic'
12237 # see comment about AmigaOS4 .so support
12238 lt_prog_compiler_pic_CXX
='-fPIC'
12241 # FIXME: we need at least 68020 code to build shared libraries, but
12242 # adding the `-m68020' flag to GCC prevents building anything better,
12244 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12249 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12250 # PIC is the default for these OSes.
12252 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12253 # This hack is so that the source file can tell whether it is being
12254 # built for inclusion in a dll (and should export symbols for example).
12255 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12256 # (--disable-auto-import) libraries
12257 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12259 darwin
* | rhapsody
*)
12260 # PIC is the default on this platform
12261 # Common symbols not allowed in MH_DYLIB files
12262 lt_prog_compiler_pic_CXX
='-fno-common'
12265 # DJGPP does not support shared libraries at all
12266 lt_prog_compiler_pic_CXX
=
12269 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12270 # Instead, we relocate shared libraries at runtime.
12273 if test -d /usr
/nec
; then
12274 lt_prog_compiler_pic_CXX
=-Kconform_pic
12278 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12279 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12280 # sets the default TLS model and affects inlining.
12285 lt_prog_compiler_pic_CXX
='-fPIC'
12290 # QNX uses GNU C++, but need to define -shared option too, otherwise
12291 # it will coredump.
12292 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12295 lt_prog_compiler_pic_CXX
='-fPIC'
12301 # All AIX code is PIC.
12302 if test "$host_cpu" = ia64
; then
12303 # AIX 5 now supports IA64 processor
12304 lt_prog_compiler_static_CXX
='-Bstatic'
12306 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12310 case $cc_basename in
12312 # Green Hills C++ Compiler
12313 # _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"
12318 case $cc_basename in
12320 lt_prog_compiler_pic_CXX
='-KPIC'
12323 # Green Hills C++ Compiler
12324 lt_prog_compiler_pic_CXX
='-pic'
12330 freebsd
* | dragonfly
*)
12331 # FreeBSD uses GNU C++
12333 hpux9
* | hpux10
* | hpux11
*)
12334 case $cc_basename in
12336 lt_prog_compiler_wl_CXX
='-Wl,'
12337 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12338 if test "$host_cpu" != ia64
; then
12339 lt_prog_compiler_pic_CXX
='+Z'
12343 lt_prog_compiler_wl_CXX
='-Wl,'
12344 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12350 lt_prog_compiler_pic_CXX
='+Z'
12359 # This is c89, which is MS Visual C++ (no shared libs)
12360 # Anyone wants to do a port?
12362 irix5
* | irix6
* | nonstopux
*)
12363 case $cc_basename in
12365 lt_prog_compiler_wl_CXX
='-Wl,'
12366 lt_prog_compiler_static_CXX
='-non_shared'
12367 # CC pic flag -KPIC is the default.
12373 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12374 case $cc_basename in
12377 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12378 lt_prog_compiler_pic_CXX
='-fPIC'
12381 # old Intel C++ for x86_64 which still supported -KPIC.
12382 lt_prog_compiler_wl_CXX
='-Wl,'
12383 lt_prog_compiler_pic_CXX
='-KPIC'
12384 lt_prog_compiler_static_CXX
='-static'
12387 # Intel C++, used to be incompatible with GCC.
12388 # ICC 10 doesn't accept -KPIC any more.
12389 lt_prog_compiler_wl_CXX
='-Wl,'
12390 lt_prog_compiler_pic_CXX
='-fPIC'
12391 lt_prog_compiler_static_CXX
='-static'
12394 # Portland Group C++ compiler
12395 lt_prog_compiler_wl_CXX
='-Wl,'
12396 lt_prog_compiler_pic_CXX
='-fpic'
12397 lt_prog_compiler_static_CXX
='-Bstatic'
12401 # Make sure the PIC flag is empty. It appears that all Alpha
12402 # Linux and Compaq Tru64 Unix objects are PIC.
12403 lt_prog_compiler_pic_CXX
=
12404 lt_prog_compiler_static_CXX
='-non_shared'
12407 # IBM XL 8.0 on PPC
12408 lt_prog_compiler_wl_CXX
='-Wl,'
12409 lt_prog_compiler_pic_CXX
='-qpic'
12410 lt_prog_compiler_static_CXX
='-qstaticlink'
12413 case `$CC -V 2>&1 | sed 5q` in
12416 lt_prog_compiler_pic_CXX
='-KPIC'
12417 lt_prog_compiler_static_CXX
='-Bstatic'
12418 lt_prog_compiler_wl_CXX
='-Qoption ld '
12429 case $cc_basename in
12431 lt_prog_compiler_pic_CXX
='-W c,exportall'
12437 netbsd
* | netbsdelf
*-gnu)
12440 # QNX uses GNU C++, but need to define -shared option too, otherwise
12441 # it will coredump.
12442 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12444 osf3
* | osf4
* | osf5
*)
12445 case $cc_basename in
12447 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12450 # Rational C++ 2.4.1
12451 lt_prog_compiler_pic_CXX
='-pic'
12454 # Digital/Compaq C++
12455 lt_prog_compiler_wl_CXX
='-Wl,'
12456 # Make sure the PIC flag is empty. It appears that all Alpha
12457 # Linux and Compaq Tru64 Unix objects are PIC.
12458 lt_prog_compiler_pic_CXX
=
12459 lt_prog_compiler_static_CXX
='-non_shared'
12468 case $cc_basename in
12470 # Sun C++ 4.2, 5.x and Centerline C++
12471 lt_prog_compiler_pic_CXX
='-KPIC'
12472 lt_prog_compiler_static_CXX
='-Bstatic'
12473 lt_prog_compiler_wl_CXX
='-Qoption ld '
12476 # Green Hills C++ Compiler
12477 lt_prog_compiler_pic_CXX
='-PIC'
12484 case $cc_basename in
12487 lt_prog_compiler_pic_CXX
='-pic'
12488 lt_prog_compiler_static_CXX
='-Bstatic'
12492 lt_prog_compiler_pic_CXX
='-pic'
12498 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12499 case $cc_basename in
12501 lt_prog_compiler_wl_CXX
='-Wl,'
12502 lt_prog_compiler_pic_CXX
='-KPIC'
12503 lt_prog_compiler_static_CXX
='-Bstatic'
12508 case $cc_basename in
12510 # NonStop-UX NCC 3.20
12511 lt_prog_compiler_pic_CXX
='-KPIC'
12520 lt_prog_compiler_can_build_shared_CXX
=no
12526 # For platforms which do not support PIC, -DPIC is meaningless:
12528 lt_prog_compiler_pic_CXX
=
12531 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12535 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12540 # Check to make sure the PIC flag actually works.
12542 if test -n "$lt_prog_compiler_pic_CXX"; then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12544 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12545 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12546 $as_echo_n "(cached) " >&6
12548 lt_cv_prog_compiler_pic_works_CXX
=no
12549 ac_outfile
=conftest.
$ac_objext
12550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12551 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12552 # Insert the option either (1) after the last *FLAGS variable, or
12553 # (2) before a word containing "conftest.", or (3) at the end.
12554 # Note that $ac_compile itself does not contain backslashes and begins
12555 # with a dollar sign (not a hyphen), so the echo should work correctly.
12556 # The option is referenced via a variable to avoid confusing sed.
12557 lt_compile
=`echo "$ac_compile" | $SED \
12558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12560 -e 's:$: $lt_compiler_flag:'`
12561 (eval echo "\"\$as_me:12561: $lt_compile\"" >&5)
12562 (eval "$lt_compile" 2>conftest.err
)
12564 cat conftest.err
>&5
12565 echo "$as_me:12565: \$? = $ac_status" >&5
12566 if (exit $ac_status) && test -s "$ac_outfile"; then
12567 # The compiler can only warn and ignore the option if not recognized
12568 # So say no if there are warnings other than the usual output.
12569 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12571 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12572 lt_cv_prog_compiler_pic_works_CXX
=yes
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12579 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12581 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12582 case $lt_prog_compiler_pic_CXX in
12584 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12587 lt_prog_compiler_pic_CXX
=
12588 lt_prog_compiler_can_build_shared_CXX
=no
12596 # Check to make sure the static flag actually works.
12598 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12600 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12601 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12602 $as_echo_n "(cached) " >&6
12604 lt_cv_prog_compiler_static_works_CXX
=no
12605 save_LDFLAGS
="$LDFLAGS"
12606 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12607 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12608 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12609 # The linker can only warn and ignore the option if not recognized
12610 # So say no if there are warnings
12611 if test -s conftest.err
; then
12612 # Append any errors to the config.log.
12613 cat conftest.err
1>&5
12614 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12615 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12616 if diff conftest.exp conftest.er2
>/dev
/null
; then
12617 lt_cv_prog_compiler_static_works_CXX
=yes
12620 lt_cv_prog_compiler_static_works_CXX
=yes
12624 LDFLAGS
="$save_LDFLAGS"
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12628 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12630 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12633 lt_prog_compiler_static_CXX
=
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12641 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12642 $as_echo_n "(cached) " >&6
12644 lt_cv_prog_compiler_c_o_CXX
=no
12645 $RM -r conftest
2>/dev
/null
12649 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12651 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12652 # Insert the option either (1) after the last *FLAGS variable, or
12653 # (2) before a word containing "conftest.", or (3) at the end.
12654 # Note that $ac_compile itself does not contain backslashes and begins
12655 # with a dollar sign (not a hyphen), so the echo should work correctly.
12656 lt_compile
=`echo "$ac_compile" | $SED \
12657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12659 -e 's:$: $lt_compiler_flag:'`
12660 (eval echo "\"\$as_me:12660: $lt_compile\"" >&5)
12661 (eval "$lt_compile" 2>out
/conftest.err
)
12663 cat out
/conftest.err
>&5
12664 echo "$as_me:12664: \$? = $ac_status" >&5
12665 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12667 # The compiler can only warn and ignore the option if not recognized
12668 # So say no if there are warnings
12669 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12670 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12671 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12672 lt_cv_prog_compiler_c_o_CXX
=yes
12677 # SGI C++ compiler will create directory out/ii_files/ for
12678 # template instantiation
12679 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12680 $RM out
/* && rmdir out
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12687 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12692 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12693 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12694 $as_echo_n "(cached) " >&6
12696 lt_cv_prog_compiler_c_o_CXX
=no
12697 $RM -r conftest
2>/dev
/null
12701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12703 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12704 # Insert the option either (1) after the last *FLAGS variable, or
12705 # (2) before a word containing "conftest.", or (3) at the end.
12706 # Note that $ac_compile itself does not contain backslashes and begins
12707 # with a dollar sign (not a hyphen), so the echo should work correctly.
12708 lt_compile
=`echo "$ac_compile" | $SED \
12709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12711 -e 's:$: $lt_compiler_flag:'`
12712 (eval echo "\"\$as_me:12712: $lt_compile\"" >&5)
12713 (eval "$lt_compile" 2>out
/conftest.err
)
12715 cat out
/conftest.err
>&5
12716 echo "$as_me:12716: \$? = $ac_status" >&5
12717 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12719 # The compiler can only warn and ignore the option if not recognized
12720 # So say no if there are warnings
12721 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12722 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12723 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12724 lt_cv_prog_compiler_c_o_CXX
=yes
12729 # SGI C++ compiler will create directory out/ii_files/ for
12730 # template instantiation
12731 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12732 $RM out
/* && rmdir out
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12739 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12744 hard_links
="nottested"
12745 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12746 # do not overwrite the value of need_locks provided by the user
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12748 $as_echo_n "checking if we can lock with hard links... " >&6; }
12751 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12753 ln conftest.a conftest.b
2>&5 || hard_links
=no
12754 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12756 $as_echo "$hard_links" >&6; }
12757 if test "$hard_links" = no
; then
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12759 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12769 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12771 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12774 # If we're using GNU nm, then we don't want the "-C" option.
12775 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12776 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12777 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'
12779 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'
12783 export_symbols_cmds_CXX
="$ltdll_cmds"
12785 cygwin
* | mingw
* | cegcc
*)
12786 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'
12788 linux
* | k
*bsd
*-gnu)
12789 link_all_deplibs_CXX
=no
12792 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12795 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12798 $as_echo "$ld_shlibs_CXX" >&6; }
12799 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12801 with_gnu_ld_CXX
=$with_gnu_ld
12809 # Do we need to explicitly link libc?
12811 case "x$archive_cmds_need_lc_CXX" in
12813 # Assume -lc should be added
12814 archive_cmds_need_lc_CXX
=yes
12816 if test "$enable_shared" = yes && test "$GCC" = yes; then
12817 case $archive_cmds_CXX in
12819 # FIXME: we may have to deal with multi-command sequences.
12822 # Test whether the compiler implicitly links with -lc since on some
12823 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12824 # to ld, don't add -lc before -lgcc.
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12826 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12828 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12831 (eval $ac_compile) 2>&5
12833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12834 test $ac_status = 0; } 2>conftest.err
; then
12837 libobjs
=conftest.
$ac_objext
12839 wl
=$lt_prog_compiler_wl_CXX
12840 pic_flag
=$lt_prog_compiler_pic_CXX
12846 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12847 allow_undefined_flag_CXX
=
12848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12849 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12852 test $ac_status = 0; }
12854 archive_cmds_need_lc_CXX
=no
12856 archive_cmds_need_lc_CXX
=yes
12858 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12860 cat conftest.err
1>&5
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12864 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12935 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12937 library_names_spec
=
12938 libname_spec
='lib$name'
12942 postuninstall_cmds
=
12946 shlibpath_overrides_runpath
=unknown
12948 dynamic_linker
="$host_os ld.so"
12949 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12950 need_lib_prefix
=unknown
12951 hardcode_into_libs
=no
12953 # when you set need_version to no, make sure it does not cause -set_version
12954 # flags to be left without arguments
12955 need_version
=unknown
12960 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12961 shlibpath_var
=LIBPATH
12963 # AIX 3 has no versioning support, so we append a major version to the name.
12964 soname_spec
='${libname}${release}${shared_ext}$major'
12971 hardcode_into_libs
=yes
12972 if test "$host_cpu" = ia64
; then
12973 # AIX 5 supports IA64
12974 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12975 shlibpath_var
=LD_LIBRARY_PATH
12977 # With GCC up to 2.95.x, collect2 would create an import file
12978 # for dependence libraries. The import file would start with
12979 # the line `#! .'. This would cause the generated library to
12980 # depend on `.', always an invalid library. This was fixed in
12981 # development snapshots of GCC prior to 3.0.
12983 aix4
| aix4.
[01] | aix4.
[01].
*)
12984 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12986 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
12989 can_build_shared
=no
12993 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12994 # soname into executable. Probably we can add versioning support to
12995 # collect2, so additional links can be useful in future.
12996 if test "$aix_use_runtimelinking" = yes; then
12997 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12998 # instead of lib<name>.a to let people know that these are not
12999 # typical AIX shared libraries.
13000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13002 # We preserve .a as extension for shared libraries through AIX4.2
13003 # and later when we are not doing run time linking.
13004 library_names_spec
='${libname}${release}.a $libname.a'
13005 soname_spec
='${libname}${release}${shared_ext}$major'
13007 shlibpath_var
=LIBPATH
13014 # Since July 2007 AmigaOS4 officially supports .so libraries.
13015 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13019 library_names_spec
='$libname.ixlibrary $libname.a'
13020 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13021 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'
13027 library_names_spec
='${libname}${shared_ext}'
13028 dynamic_linker
="$host_os ld.so"
13029 shlibpath_var
=LIBRARY_PATH
13035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13036 soname_spec
='${libname}${release}${shared_ext}$major'
13037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13038 shlibpath_var
=LD_LIBRARY_PATH
13039 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13040 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13041 # the default ld.so.conf also contains /usr/contrib/lib and
13042 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13043 # libtool to hard-code these into programs
13046 cygwin
* | mingw
* | pw32
* | cegcc
*)
13047 version_type
=windows
13052 case $GCC,$host_os in
13053 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13054 library_names_spec
='$libname.dll.a'
13055 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13056 postinstall_cmds
='base_file=`basename \${file}`~
13057 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13058 dldir=$destdir/`dirname \$dlpath`~
13059 test -d \$dldir || mkdir -p \$dldir~
13060 $install_prog $dir/$dlname \$dldir/$dlname~
13061 chmod a+x \$dldir/$dlname~
13062 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13063 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13065 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13066 dlpath=$dir/\$dldll~
13068 shlibpath_overrides_runpath
=yes
13072 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13073 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13074 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13077 # MinGW DLLs use traditional 'lib' prefix
13078 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13079 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13080 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13081 # It is most probably a Windows format PATH printed by
13082 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13083 # path with ; separators, and with drive letters. We can handle the
13084 # drive letters (cygwin fileutils understands them), so leave them,
13085 # especially as we might pass files found there to a mingw objdump,
13086 # which wouldn't understand a cygwinified path. Ahh.
13087 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13089 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13093 # pw32 DLLs use 'pw' prefix rather than 'lib'
13094 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13100 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13103 dynamic_linker
='Win32 ld.exe'
13104 # FIXME: first we should search . and the directory the executable is in
13108 darwin
* | rhapsody
*)
13109 dynamic_linker
="$host_os dyld"
13110 version_type
=darwin
13113 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13114 soname_spec
='${libname}${release}${major}$shared_ext'
13115 shlibpath_overrides_runpath
=yes
13116 shlibpath_var
=DYLD_LIBRARY_PATH
13117 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13119 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13127 soname_spec
='${libname}${release}${shared_ext}$major'
13128 shlibpath_var
=LD_LIBRARY_PATH
13135 freebsd
* | dragonfly
*)
13136 # DragonFly does not have aout. When/if they implement a new
13137 # versioning mechanism, adjust this.
13138 if test -x /usr
/bin
/objformat
; then
13139 objformat
=`/usr/bin/objformat`
13142 freebsd
[123]*) objformat
=aout
;;
13143 *) objformat
=elf
;;
13146 version_type
=freebsd
-$objformat
13147 case $version_type in
13149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13154 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13158 shlibpath_var
=LD_LIBRARY_PATH
13161 shlibpath_overrides_runpath
=yes
13163 freebsd3.
[01]* | freebsdelf3.
[01]*)
13164 shlibpath_overrides_runpath
=yes
13165 hardcode_into_libs
=yes
13167 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13168 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13169 shlibpath_overrides_runpath
=no
13170 hardcode_into_libs
=yes
13172 *) # from 4.6 on, and DragonFly
13173 shlibpath_overrides_runpath
=yes
13174 hardcode_into_libs
=yes
13183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13184 soname_spec
='${libname}${release}${shared_ext}$major'
13185 shlibpath_var
=LD_LIBRARY_PATH
13186 hardcode_into_libs
=yes
13189 hpux9
* | hpux10
* | hpux11
*)
13190 # Give a soname corresponding to the major version so that dld.sl refuses to
13191 # link against other versions.
13198 hardcode_into_libs
=yes
13199 dynamic_linker
="$host_os dld.so"
13200 shlibpath_var
=LD_LIBRARY_PATH
13201 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13203 soname_spec
='${libname}${release}${shared_ext}$major'
13204 if test "X$HPUX_IA64_MODE" = X32
; then
13205 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13207 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13209 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13213 hardcode_into_libs
=yes
13214 dynamic_linker
="$host_os dld.sl"
13215 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13216 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13218 soname_spec
='${libname}${release}${shared_ext}$major'
13219 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13220 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13224 dynamic_linker
="$host_os dld.sl"
13225 shlibpath_var
=SHLIB_PATH
13226 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228 soname_spec
='${libname}${release}${shared_ext}$major'
13231 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13232 postinstall_cmds
='chmod 555 $lib'
13239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13240 soname_spec
='${libname}${release}${shared_ext}$major'
13241 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13242 shlibpath_var
=LD_LIBRARY_PATH
13243 shlibpath_overrides_runpath
=no
13244 hardcode_into_libs
=yes
13247 irix5
* | irix6
* | nonstopux
*)
13249 nonstopux
*) version_type
=nonstopux
;;
13251 if test "$lt_cv_prog_gnu_ld" = yes; then
13259 soname_spec
='${libname}${release}${shared_ext}$major'
13260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13262 irix5
* | nonstopux
*)
13263 libsuff
= shlibsuff
=
13266 case $LD in # libtool.m4 will add one of these switches to LD
13267 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13268 libsuff
= shlibsuff
= libmagic
=32-bit;;
13269 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13270 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13271 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13272 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13273 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13277 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13278 shlibpath_overrides_runpath
=no
13279 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13280 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13281 hardcode_into_libs
=yes
13284 # No shared lib support for Linux oldld, aout, or coff.
13285 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13289 # This must be Linux ELF.
13290 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13294 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13295 soname_spec
='${libname}${release}${shared_ext}$major'
13296 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13297 shlibpath_var
=LD_LIBRARY_PATH
13298 shlibpath_overrides_runpath
=no
13299 # Some binutils ld are patched to set DT_RUNPATH
13300 save_LDFLAGS
=$LDFLAGS
13301 save_libdir
=$libdir
13302 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13303 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13315 if ac_fn_cxx_try_link
"$LINENO"; then :
13316 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13317 shlibpath_overrides_runpath
=yes
13320 rm -f core conftest.err conftest.
$ac_objext \
13321 conftest
$ac_exeext conftest.
$ac_ext
13322 LDFLAGS
=$save_LDFLAGS
13323 libdir
=$save_libdir
13325 # This implies no fast_install, which is unacceptable.
13326 # Some rework will be needed to allow for fast_install
13327 # before this can be enabled.
13328 hardcode_into_libs
=yes
13330 # Append ld.so.conf contents to the search path
13331 if test -f /etc
/ld.so.conf
; then
13332 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' ' '`
13333 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13336 # We used to test for /lib/ld.so.1 and disable shared libraries on
13337 # powerpc, because MkLinux only supported shared libraries with the
13338 # GNU dynamic linker. Since this was broken with cross compilers,
13339 # most powerpc-linux boxes support dynamic linking these days and
13340 # people can always --disable-shared, the test was removed, and we
13341 # assume the GNU/Linux dynamic linker is in use.
13342 dynamic_linker
='GNU/Linux ld.so'
13349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13350 soname_spec
='${libname}${release}${shared_ext}$major'
13351 shlibpath_var
=LD_LIBRARY_PATH
13352 shlibpath_overrides_runpath
=no
13353 hardcode_into_libs
=yes
13354 dynamic_linker
='NetBSD ld.elf_so'
13361 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13364 dynamic_linker
='NetBSD (a.out) ld.so'
13366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13367 soname_spec
='${libname}${release}${shared_ext}$major'
13368 dynamic_linker
='NetBSD ld.elf_so'
13370 shlibpath_var
=LD_LIBRARY_PATH
13371 shlibpath_overrides_runpath
=yes
13372 hardcode_into_libs
=yes
13377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13378 shlibpath_var
=LD_LIBRARY_PATH
13379 shlibpath_overrides_runpath
=yes
13386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13387 soname_spec
='${libname}${release}${shared_ext}$major'
13388 shlibpath_var
=LD_LIBRARY_PATH
13389 shlibpath_overrides_runpath
=no
13390 hardcode_into_libs
=yes
13391 dynamic_linker
='ldqnx.so'
13396 sys_lib_dlsearch_path_spec
="/usr/lib"
13398 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13400 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13401 *) need_version
=no
;;
13403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13404 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13405 shlibpath_var
=LD_LIBRARY_PATH
13406 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13408 openbsd2.
[89] | openbsd2.
[89].
*)
13409 shlibpath_overrides_runpath
=no
13412 shlibpath_overrides_runpath
=yes
13416 shlibpath_overrides_runpath
=yes
13421 libname_spec
='$name'
13424 library_names_spec
='$libname${shared_ext} $libname.a'
13425 dynamic_linker
='OS/2 ld.exe'
13426 shlibpath_var
=LIBPATH
13429 osf3
* | osf4
* | osf5
*)
13433 soname_spec
='${libname}${release}${shared_ext}$major'
13434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13435 shlibpath_var
=LD_LIBRARY_PATH
13436 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13437 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13448 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13449 soname_spec
='${libname}${release}${shared_ext}$major'
13450 shlibpath_var
=LD_LIBRARY_PATH
13451 shlibpath_overrides_runpath
=yes
13452 hardcode_into_libs
=yes
13453 # ldd complains unless libraries are executable
13454 postinstall_cmds
='chmod +x $lib'
13459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13460 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13461 shlibpath_var
=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath
=yes
13463 if test "$with_gnu_ld" = yes; then
13471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13472 soname_spec
='${libname}${release}${shared_ext}$major'
13473 shlibpath_var
=LD_LIBRARY_PATH
13474 case $host_vendor in
13476 shlibpath_overrides_runpath
=no
13478 runpath_var
=LD_RUN_PATH
13486 shlibpath_overrides_runpath
=no
13487 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13493 if test -d /usr
/nec
;then
13495 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13496 soname_spec
='$libname${shared_ext}.$major'
13497 shlibpath_var
=LD_LIBRARY_PATH
13501 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13502 version_type
=freebsd
-elf
13505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13506 soname_spec
='${libname}${release}${shared_ext}$major'
13507 shlibpath_var
=LD_LIBRARY_PATH
13508 shlibpath_overrides_runpath
=yes
13509 hardcode_into_libs
=yes
13510 if test "$with_gnu_ld" = yes; then
13511 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13513 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13516 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13520 sys_lib_dlsearch_path_spec
='/usr/lib'
13524 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13529 shlibpath_var
=LD_LIBRARY_PATH
13530 shlibpath_overrides_runpath
=no
13531 hardcode_into_libs
=yes
13536 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13537 soname_spec
='${libname}${release}${shared_ext}$major'
13538 shlibpath_var
=LD_LIBRARY_PATH
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13546 $as_echo "$dynamic_linker" >&6; }
13547 test "$dynamic_linker" = no
&& can_build_shared
=no
13549 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13550 if test "$GCC" = yes; then
13551 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13554 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13555 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13557 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13558 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13597 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13598 hardcode_action_CXX
=
13599 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13600 test -n "$runpath_var_CXX" ||
13601 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13603 # We can hardcode non-existent directories.
13604 if test "$hardcode_direct_CXX" != no
&&
13605 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13606 # have to relink, otherwise we might link with an installed library
13607 # when we should be linking with a yet-to-be-installed one
13608 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13609 test "$hardcode_minus_L_CXX" != no
; then
13610 # Linking always hardcodes the temporary library directory.
13611 hardcode_action_CXX
=relink
13613 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13614 hardcode_action_CXX
=immediate
13617 # We cannot hardcode anything, or else we can only hardcode existing
13619 hardcode_action_CXX
=unsupported
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13622 $as_echo "$hardcode_action_CXX" >&6; }
13624 if test "$hardcode_action_CXX" = relink
||
13625 test "$inherit_rpath_CXX" = yes; then
13626 # Fast installation is not supported
13627 enable_fast_install
=no
13628 elif test "$shlibpath_overrides_runpath" = yes ||
13629 test "$enable_shared" = no
; then
13630 # Fast installation is not necessary
13631 enable_fast_install
=needless
13640 fi # test -n "$compiler"
13646 with_gnu_ld
=$lt_save_with_gnu_ld
13647 lt_cv_path_LDCXX
=$lt_cv_path_LD
13648 lt_cv_path_LD
=$lt_save_path_LD
13649 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13650 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13651 fi # test "$_lt_caught_CXX_error" != yes
13654 ac_cpp
='$CPP $CPPFLAGS'
13655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13661 ac_cpp
='$CXXCPP $CPPFLAGS'
13662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13666 for ac_prog
in 'bison -y' byacc
13668 # Extract the first word of "$ac_prog", so it can be a program name with args.
13669 set dummy
$ac_prog; ac_word
=$2
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13671 $as_echo_n "checking for $ac_word... " >&6; }
13672 if test "${ac_cv_prog_YACC+set}" = set; then :
13673 $as_echo_n "(cached) " >&6
13675 if test -n "$YACC"; then
13676 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13679 for as_dir
in $PATH
13682 test -z "$as_dir" && as_dir
=.
13683 for ac_exec_ext
in '' $ac_executable_extensions; do
13684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13685 ac_cv_prog_YACC
="$ac_prog"
13686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13695 YACC
=$ac_cv_prog_YACC
13696 if test -n "$YACC"; then
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13698 $as_echo "$YACC" >&6; }
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13701 $as_echo "no" >&6; }
13705 test -n "$YACC" && break
13707 test -n "$YACC" || YACC
="yacc"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
13714 $as_echo_n "checking if bison is the parser generator... " >&6; }
13715 if test "${ax_cv_prog_bison+set}" = set; then :
13716 $as_echo_n "(cached) " >&6
13719 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
13721 ax_cv_prog_bison
=yes
13725 ax_cv_prog_bison
=no
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
13731 $as_echo "$ax_cv_prog_bison" >&6; }
13732 if test "$ax_cv_prog_bison" = yes; then :
13736 BISON
=`echo $YACC | $SED -e 's/ -y//'`
13737 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
13743 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
13747 for ac_prog
in gawk mawk nawk
awk
13749 # Extract the first word of "$ac_prog", so it can be a program name with args.
13750 set dummy
$ac_prog; ac_word
=$2
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13752 $as_echo_n "checking for $ac_word... " >&6; }
13753 if test "${ac_cv_prog_AWK+set}" = set; then :
13754 $as_echo_n "(cached) " >&6
13756 if test -n "$AWK"; then
13757 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13760 for as_dir
in $PATH
13763 test -z "$as_dir" && as_dir
=.
13764 for ac_exec_ext
in '' $ac_executable_extensions; do
13765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13766 ac_cv_prog_AWK
="$ac_prog"
13767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13776 AWK
=$ac_cv_prog_AWK
13777 if test -n "$AWK"; then
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13779 $as_echo "$AWK" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13782 $as_echo "no" >&6; }
13786 test -n "$AWK" && break
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5
13790 $as_echo_n "checking if bison is >= 2.3... " >&6; }
13791 as_arg_v1
=$BISON_VERSION
13793 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13798 $as_echo "no" >&6; }
13799 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13803 $as_echo "yes" >&6; } ;; #(
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13806 $as_echo "yes" >&6; } ;; #(
13811 # expand $ac_aux_dir to an absolute path
13812 am_aux_dir
=`cd $ac_aux_dir && pwd`
13814 if test x
"${MISSING+set}" != xset
; then
13815 case $am_aux_dir in
13817 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13819 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13822 # Use eval to expand $SHELL
13823 if eval "$MISSING --run true"; then
13824 am_missing_run
="$MISSING --run "
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
13828 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
13831 for ac_prog
in flex
lex
13833 # Extract the first word of "$ac_prog", so it can be a program name with args.
13834 set dummy
$ac_prog; ac_word
=$2
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13836 $as_echo_n "checking for $ac_word... " >&6; }
13837 if test "${ac_cv_prog_LEX+set}" = set; then :
13838 $as_echo_n "(cached) " >&6
13840 if test -n "$LEX"; then
13841 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13844 for as_dir
in $PATH
13847 test -z "$as_dir" && as_dir
=.
13848 for ac_exec_ext
in '' $ac_executable_extensions; do
13849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13850 ac_cv_prog_LEX
="$ac_prog"
13851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13860 LEX
=$ac_cv_prog_LEX
13861 if test -n "$LEX"; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13863 $as_echo "$LEX" >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13866 $as_echo "no" >&6; }
13870 test -n "$LEX" && break
13872 test -n "$LEX" || LEX
=":"
13874 if test "x$LEX" != "x:"; then
13875 cat >conftest.l
<<_ACEOF
13881 e { yyless (input () != 0); }
13882 f { unput (yytext[0]); }
13883 . { BEGIN INITIAL; }
13885 #ifdef YYTEXT_POINTER
13886 extern char *yytext;
13891 return ! yylex () + ! yywrap ();
13894 { { ac_try
="$LEX conftest.l"
13895 case "(($ac_try" in
13896 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13897 *) ac_try_echo=$ac_try;;
13899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13900 $as_echo "$ac_try_echo"; } >&5
13901 (eval "$LEX conftest.l") 2>&5
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13906 $as_echo_n "checking lex output file root... " >&6; }
13907 if test "${ac_cv_prog_lex_root+set}" = set; then :
13908 $as_echo_n "(cached) " >&6
13911 if test -f lex.yy.c; then
13912 ac_cv_prog_lex_root=lex.yy
13913 elif test -f lexyy.c; then
13914 ac_cv_prog_lex_root=lexyy
13916 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13920 $as_echo "$ac_cv_prog_lex_root" >&6; }
13921 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13923 if test -z "${LEXLIB+set}"; then
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13925 $as_echo_n "checking lex library... " >&6; }
13926 if test "${ac_cv_lib_lex+set}" = set; then :
13927 $as_echo_n "(cached) " >&6
13931 ac_cv_lib_lex='none needed'
13932 for ac_lib in '' -lfl -ll; do
13933 LIBS="$ac_lib $ac_save_LIBS"
13934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13935 /* end confdefs.h. */
13936 `cat $LEX_OUTPUT_ROOT.c
`
13938 if ac_fn_cxx_try_link "$LINENO"; then :
13939 ac_cv_lib_lex=$ac_lib
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 test "$ac_cv_lib_lex" != 'none needed' && break
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13949 $as_echo "$ac_cv_lib_lex" >&6; }
13950 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13955 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13956 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
13957 $as_echo_n "(cached) " >&6
13959 # POSIX says lex can declare yytext either as a pointer or an array; the
13960 # default is implementation-dependent. Figure out which it is, since
13961 # not all implementations provide the %pointer and %array declarations.
13962 ac_cv_prog_lex_yytext_pointer=no
13964 LIBS="$LEXLIB $ac_save_LIBS"
13965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h. */
13967 #define YYTEXT_POINTER 1
13968 `cat $LEX_OUTPUT_ROOT.c
`
13970 if ac_fn_cxx_try_link "$LINENO"; then :
13971 ac_cv_prog_lex_yytext_pointer=yes
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13979 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13980 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13982 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13985 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13988 if test "$LEX" = :; then
13989 LEX=${am_missing_run}flex
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
13996 $as_echo_n "checking if flex is the lexer generator... " >&6; }
13997 if test "${ax_cv_prog_flex+set}" = set; then :
13998 $as_echo_n "(cached) " >&6
14001 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
14003 ax_cv_prog_flex=yes
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14013 $as_echo "$ax_cv_prog_flex" >&6; }
14014 if test "$ax_cv_prog_flex" = yes; then :
14019 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14025 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14030 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14031 as_arg_v1=$FLEX_VERSION
14033 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14038 $as_echo "no" >&6; }
14039 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14043 $as_echo "yes" >&6; } ;; #(
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14046 $as_echo "yes" >&6; } ;; #(
14051 for ac_prog in bash
14053 # Extract the first word of "$ac_prog", so it can be a program name with args.
14054 set dummy $ac_prog; ac_word=$2
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14056 $as_echo_n "checking for $ac_word... " >&6; }
14057 if test "${ac_cv_prog__BASH+set}" = set; then :
14058 $as_echo_n "(cached) " >&6
14060 if test -n "$_BASH"; then
14061 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
14063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14064 for as_dir in $PATH
14067 test -z "$as_dir" && as_dir=.
14068 for ac_exec_ext in '' $ac_executable_extensions; do
14069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14070 ac_cv_prog__BASH="$ac_prog"
14071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 _BASH=$ac_cv_prog__BASH
14081 if test -n "$_BASH"; then
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14083 $as_echo "$_BASH" >&6; }
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14086 $as_echo "no" >&6; }
14090 test -n "$_BASH" && break
14094 for ac_prog in gperf
14096 # Extract the first word of "$ac_prog", so it can be a program name with args.
14097 set dummy $ac_prog; ac_word=$2
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14099 $as_echo_n "checking for $ac_word... " >&6; }
14100 if test "${ac_cv_prog_GPERF+set}" = set; then :
14101 $as_echo_n "(cached) " >&6
14103 if test -n "$GPERF"; then
14104 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
14106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14107 for as_dir in $PATH
14110 test -z "$as_dir" && as_dir=.
14111 for ac_exec_ext in '' $ac_executable_extensions; do
14112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14113 ac_cv_prog_GPERF="$ac_prog"
14114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14123 GPERF=$ac_cv_prog_GPERF
14124 if test -n "$GPERF"; then
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14126 $as_echo "$GPERF" >&6; }
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14129 $as_echo "no" >&6; }
14133 test -n "$GPERF" && break
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14137 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14138 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14139 as_arg_v1=$GPERF_VERSION
14141 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14146 $as_echo "no" >&6; }
14147 as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14151 $as_echo "yes" >&6; } ;; #(
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14154 $as_echo "yes" >&6; } ;; #(
14158 for ac_prog in time
14160 # Extract the first word of "$ac_prog", so it can be a program name with args.
14161 set dummy $ac_prog; ac_word=$2
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14163 $as_echo_n "checking for $ac_word... " >&6; }
14164 if test "${ac_cv_prog_TIME+set}" = set; then :
14165 $as_echo_n "(cached) " >&6
14167 if test -n "$TIME"; then
14168 ac_cv_prog_TIME="$TIME" # Let the user override the test.
14170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14171 for as_dir in $PATH
14174 test -z "$as_dir" && as_dir=.
14175 for ac_exec_ext in '' $ac_executable_extensions; do
14176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14177 ac_cv_prog_TIME="$ac_prog"
14178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14187 TIME=$ac_cv_prog_TIME
14188 if test -n "$TIME"; then
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14190 $as_echo "$TIME" >&6; }
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14193 $as_echo "no" >&6; }
14197 test -n "$TIME" && break
14203 if test "$target_os" = "os2-emx"; then
14204 # Scripts don't pass test -x on OS/2
14210 acceptable_majors="1"
14212 apr_temp_acceptable_apr_config=""
14213 for apr_temp_major in $acceptable_majors
14215 case $apr_temp_major in
14217 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14220 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14226 $as_echo_n "checking for APR... " >&6; }
14228 # Check whether --with-apr was given.
14229 if test "${with_apr+set}" = set; then :
14231 if test "$withval" = "no" || test "$withval" = "yes"; then
14232 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14235 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14237 for lookdir in "$withval/bin" "$withval"
14239 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14240 apr_config="$lookdir/$apr_temp_apr_config_file"
14248 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14249 apr_config="$withval"
14253 if test "$apr_found" != "yes"; then
14254 as_fn_error "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
14259 if test -n "1" && test "1" = "1"; then
14260 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14262 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14263 apr_config="$apr_temp_apr_config_file"
14268 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14269 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14270 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14279 if test "$apr_found" = "no" && test -d ""; then
14280 apr_temp_abs_srcdir="`cd && pwd`"
14281 apr_found="reconfig"
14282 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14283 case $apr_bundled_major in
14285 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14288 apr_temp_apr_config_file="apr-config"
14291 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14294 if test -n ""; then
14295 apr_config="/$apr_temp_apr_config_file"
14297 apr_config="/$apr_temp_apr_config_file"
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14305 $as_echo "$apr_found" >&6; }
14307 case $apr_found in #(
14311 for element in `$apr_config --includes`; do
14313 for x in $CPPFLAGS; do
14315 acl_save_prefix="$prefix"
14316 prefix="$acl_final_prefix"
14317 acl_save_exec_prefix="$exec_prefix"
14318 exec_prefix="$acl_final_exec_prefix"
14320 exec_prefix="$acl_save_exec_prefix"
14321 prefix="$acl_save_prefix"
14323 if test "X$x" = "X$element"; then
14328 if test -z "$haveit"; then
14329 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14333 LTLIBAPR=`$apr_config --link-libtool`
14337 as_fn_error "You need apr" "$LINENO" 5 ;;
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14342 $as_echo_n "checking for a readline compatible library... " >&6; }
14343 if test "${vl_cv_lib_readline+set}" = set; then :
14344 $as_echo_n "(cached) " >&6
14348 for readline_lib in readline edit editline; do
14349 for termcap_lib in "" termcap curses ncurses; do
14350 if test -z "$termcap_lib"; then
14351 TRY_LIB="-l$readline_lib"
14353 TRY_LIB="-l$readline_lib -l$termcap_lib"
14355 LIBS="$ORIG_LIBS $TRY_LIB"
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14359 /* Override any GCC internal prototype to avoid an error.
14360 Use char because int might match the return type of a GCC
14361 builtin and then its argument prototype would still apply. */
14369 return readline ();
14374 if ac_fn_cxx_try_link "$LINENO"; then :
14375 vl_cv_lib_readline="$TRY_LIB"
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 if test -n "$vl_cv_lib_readline"; then
14383 if test -n "$vl_cv_lib_readline"; then
14387 if test -z "$vl_cv_lib_readline"; then
14388 vl_cv_lib_readline="no"
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14394 $as_echo "$vl_cv_lib_readline" >&6; }
14396 if test "$vl_cv_lib_readline" != "no"; then
14398 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14400 for ac_header in readline.h readline/readline.h
14402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14403 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14404 eval as_val=\$$as_ac_Header
14405 if test "x$as_val" = x""yes; then :
14406 cat >>confdefs.h <<_ACEOF
14407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14415 $as_echo_n "checking whether readline supports history... " >&6; }
14416 if test "${vl_cv_lib_readline_history+set}" = set; then :
14417 $as_echo_n "(cached) " >&6
14420 vl_cv_lib_readline_history="no"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14430 char add_history ();
14434 return add_history ();
14439 if ac_fn_cxx_try_link "$LINENO"; then :
14440 vl_cv_lib_readline_history="yes"
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14447 $as_echo "$vl_cv_lib_readline_history" >&6; }
14448 if test "$vl_cv_lib_readline_history" = "yes"; then
14450 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14452 for ac_header in history.h readline/history.h
14454 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14455 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14456 eval as_val=\$$as_ac_Header
14457 if test "x$as_val" = x""yes; then :
14458 cat >>confdefs.h <<_ACEOF
14459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14469 # Find a good install program. We prefer a C program (faster),
14470 # so one script is as good as another. But avoid the broken or
14471 # incompatible versions:
14472 # SysV /etc/install, /usr/sbin/install
14473 # SunOS /usr/etc/install
14474 # IRIX /sbin/install
14476 # AmigaOS /C/install, which installs bootblocks on floppy discs
14477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14480 # OS/2's system install, which has a completely different semantic
14481 # ./install, which can be erroneously created by make from ./install.sh.
14482 # Reject install programs that cannot install multiple files.
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14484 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14485 if test -z "$INSTALL"; then
14486 if test "${ac_cv_path_install+set}" = set; then :
14487 $as_echo_n "(cached) " >&6
14489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14490 for as_dir in $PATH
14493 test -z "$as_dir" && as_dir=.
14494 # Account for people who put trailing slashes in PATH elements.
14495 case $as_dir/ in #((
14496 ./ | .// | /[cC]/* | \
14497 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14498 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
14501 # OSF1 and SCO ODT 3.0 have their own names for install.
14502 # Don't use installbsd from OSF since it installs stuff as root
14504 for ac_prog in ginstall scoinst install; do
14505 for ac_exec_ext in '' $ac_executable_extensions; do
14506 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14507 if test $ac_prog = install &&
14508 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14509 # AIX install. It has an incompatible calling convention.
14511 elif test $ac_prog = install &&
14512 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14513 # program-specific install script used by HP pwplus--don't use.
14516 rm -rf conftest.one conftest.two conftest.dir
14517 echo one > conftest.one
14518 echo two > conftest.two
14520 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
14521 test -s conftest.one && test -s conftest.two &&
14522 test -s conftest.dir/conftest.one &&
14523 test -s conftest.dir/conftest.two
14525 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14538 rm -rf conftest.one conftest.two conftest.dir
14541 if test "${ac_cv_path_install+set}" = set; then
14542 INSTALL=$ac_cv_path_install
14544 # As a last resort, use the slow shell script. Don't cache a
14545 # value for INSTALL within a source directory, because that will
14546 # break other packages using the cache if that directory is
14547 # removed, or if the value is a relative name.
14548 INSTALL=$ac_install_sh
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14552 $as_echo "$INSTALL" >&6; }
14554 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14555 # It thinks the first close brace ends the variable substitution.
14556 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14558 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14560 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14563 ac_cpp='$CPP $CPPFLAGS'
14564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14569 if test "X$prefix" = "XNONE"; then
14570 acl_final_prefix="$ac_default_prefix"
14572 acl_final_prefix="$prefix"
14574 if test "X$exec_prefix" = "XNONE"; then
14575 acl_final_exec_prefix='${prefix}'
14577 acl_final_exec_prefix="$exec_prefix"
14579 acl_save_prefix="$prefix"
14580 prefix="$acl_final_prefix"
14581 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14582 prefix="$acl_save_prefix"
14585 # Check whether --with-gnu-ld was given.
14586 if test "${with_gnu_ld+set}" = set; then :
14587 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14592 # Prepare PATH_SEPARATOR.
14593 # The user is always right.
14594 if test "${PATH_SEPARATOR+set}" != set; then
14595 echo "#! /bin/sh" >conf$$.sh
14596 echo "exit 0" >>conf$$.sh
14598 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14606 if test "$GCC" = yes; then
14607 # Check if gcc -print-prog-name=ld gives a path.
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14609 $as_echo_n "checking for ld used by GCC... " >&6; }
14612 # gcc leaves a trailing carriage return which upsets mingw
14613 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
14615 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14618 # Accept absolute paths.
14619 [\\/]* | [A-Za-z]:[\\/]*)
14620 re_direlt='/[^/][^/]*/\.\./'
14621 # Canonicalize the path of ld
14622 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14623 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14624 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14626 test -z "$LD" && LD="$ac_prog"
14629 # If it fails, then pretend we aren't using GCC.
14633 # If it is relative, then search for the first ld in PATH.
14634 with_gnu_ld=unknown
14637 elif test "$with_gnu_ld" = yes; then
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14639 $as_echo_n "checking for GNU ld... " >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14642 $as_echo_n "checking for non-GNU ld... " >&6; }
14644 if test "${acl_cv_path_LD+set}" = set; then :
14645 $as_echo_n "(cached) " >&6
14647 if test -z "$LD"; then
14648 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14649 for ac_dir in $PATH; do
14650 test -z "$ac_dir" && ac_dir=.
14651 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14652 acl_cv_path_LD="$ac_dir/$ac_prog"
14653 # Check to see if the program is GNU ld. I'd rather use --version,
14654 # but apparently some GNU ld's only accept -v.
14655 # Break only if it was the GNU/non-GNU ld that we prefer.
14656 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
14657 *GNU* | *'with BFD'*)
14658 test "$with_gnu_ld" != no && break ;;
14660 test "$with_gnu_ld" != yes && break ;;
14666 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14670 LD="$acl_cv_path_LD"
14671 if test -n "$LD"; then
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14673 $as_echo "$LD" >&6; }
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676 $as_echo "no" >&6; }
14678 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14680 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14681 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14682 $as_echo_n "(cached) " >&6
14684 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14685 case `$LD -v 2>&1 </dev
/null
` in
14686 *GNU* | *'with BFD'*)
14687 acl_cv_prog_gnu_ld=yes ;;
14689 acl_cv_prog_gnu_ld=no ;;
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14693 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14694 with_gnu_ld=$acl_cv_prog_gnu_ld
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14700 $as_echo_n "checking for shared library run path origin... " >&6; }
14701 if test "${acl_cv_rpath+set}" = set; then :
14702 $as_echo_n "(cached) " >&6
14705 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14706 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14708 rm -f ./conftest.sh
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14713 $as_echo "$acl_cv_rpath" >&6; }
14715 acl_libext="$acl_cv_libext"
14716 acl_shlibext="$acl_cv_shlibext"
14717 acl_libname_spec="$acl_cv_libname_spec"
14718 acl_library_names_spec="$acl_cv_library_names_spec"
14719 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14720 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14721 acl_hardcode_direct="$acl_cv_hardcode_direct"
14722 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14723 # Check whether --enable-rpath was given.
14724 if test "${enable_rpath+set}" = set; then :
14725 enableval=$enable_rpath; :
14733 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14734 if test -n "$searchpath"; then
14735 acl_save_IFS="${IFS= }"; IFS=":"
14736 for searchdir in $searchpath; do
14737 if test -d "$searchdir"; then
14738 case "$searchdir" in
14739 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14740 *) searchdir=`cd "$searchdir" && pwd`
14741 case "$searchdir" in
14742 */lib64 ) acl_libdirstem=lib64 ;;
14747 IFS="$acl_save_IFS"
14760 acl_save_prefix="$prefix"
14761 prefix="$acl_final_prefix"
14762 acl_save_exec_prefix="$exec_prefix"
14763 exec_prefix="$acl_final_exec_prefix"
14765 eval additional_includedir=\"$includedir\"
14766 eval additional_libdir=\"$libdir\"
14768 exec_prefix="$acl_save_exec_prefix"
14769 prefix="$acl_save_prefix"
14772 # Check whether --with-libiconv-prefix was given.
14773 if test "${with_libiconv_prefix+set}" = set; then :
14774 withval=$with_libiconv_prefix;
14775 if test "X$withval" = "Xno"; then
14778 if test "X$withval" = "X"; then
14780 acl_save_prefix="$prefix"
14781 prefix="$acl_final_prefix"
14782 acl_save_exec_prefix="$exec_prefix"
14783 exec_prefix="$acl_final_exec_prefix"
14785 eval additional_includedir=\"$includedir\"
14786 eval additional_libdir=\"$libdir\"
14788 exec_prefix="$acl_save_exec_prefix"
14789 prefix="$acl_save_prefix"
14792 additional_includedir="$withval/include"
14793 additional_libdir="$withval/$acl_libdirstem"
14805 names_already_handled=
14806 names_next_round='iconv '
14807 while test -n "$names_next_round"; do
14808 names_this_round="$names_next_round"
14810 for name in $names_this_round; do
14812 for n in $names_already_handled; do
14813 if test "$n" = "$name"; then
14814 already_handled=yes
14818 if test -z "$already_handled"; then
14819 names_already_handled="$names_already_handled $name"
14820 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14821 eval value=\"\$HAVE_LIB$uppername\"
14822 if test -n "$value"; then
14823 if test "$value" = yes; then
14824 eval value=\"\$LIB$uppername\"
14825 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14826 eval value=\"\$LTLIB$uppername\"
14827 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14836 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14837 if test -n "$acl_shlibext"; then
14838 shrext=".$acl_shlibext" # typically: shrext=.so
14842 if test $use_additional = yes; then
14843 dir="$additional_libdir"
14844 if test -n "$acl_shlibext"; then
14845 if test -f "$dir/$libname$shrext"; then
14847 found_so="$dir/$libname$shrext"
14849 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14850 ver=`(cd "$dir" && \
14851 for f
in "$libname$shrext".
*; do echo "$f"; done \
14852 | sed -e "s,^$libname$shrext\\\\.,," \
14853 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14854 | sed 1q
) 2>/dev
/null
`
14855 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14857 found_so="$dir/$libname$shrext.$ver"
14860 eval library_names=\"$acl_library_names_spec\"
14861 for f in $library_names; do
14862 if test -f "$dir/$f"; then
14871 if test "X$found_dir" = "X"; then
14872 if test -f "$dir/$libname.$acl_libext"; then
14874 found_a="$dir/$libname.$acl_libext"
14877 if test "X$found_dir" != "X"; then
14878 if test -f "$dir/$libname.la"; then
14879 found_la="$dir/$libname.la"
14883 if test "X$found_dir" = "X"; then
14884 for x in $LDFLAGS $LTLIBICONV; do
14886 acl_save_prefix="$prefix"
14887 prefix="$acl_final_prefix"
14888 acl_save_exec_prefix="$exec_prefix"
14889 exec_prefix="$acl_final_exec_prefix"
14891 exec_prefix="$acl_save_exec_prefix"
14892 prefix="$acl_save_prefix"
14896 dir=`echo "X$x" | sed -e 's/^X-L//'`
14897 if test -n "$acl_shlibext"; then
14898 if test -f "$dir/$libname$shrext"; then
14900 found_so="$dir/$libname$shrext"
14902 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14903 ver=`(cd "$dir" && \
14904 for f
in "$libname$shrext".
*; do echo "$f"; done \
14905 | sed -e "s,^$libname$shrext\\\\.,," \
14906 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14907 | sed 1q
) 2>/dev
/null
`
14908 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14910 found_so="$dir/$libname$shrext.$ver"
14913 eval library_names=\"$acl_library_names_spec\"
14914 for f in $library_names; do
14915 if test -f "$dir/$f"; then
14924 if test "X$found_dir" = "X"; then
14925 if test -f "$dir/$libname.$acl_libext"; then
14927 found_a="$dir/$libname.$acl_libext"
14930 if test "X$found_dir" != "X"; then
14931 if test -f "$dir/$libname.la"; then
14932 found_la="$dir/$libname.la"
14937 if test "X$found_dir" != "X"; then
14942 if test "X$found_dir" != "X"; then
14943 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14944 if test "X$found_so" != "X"; then
14945 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14946 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14949 for x in $ltrpathdirs; do
14950 if test "X$x" = "X$found_dir"; then
14955 if test -z "$haveit"; then
14956 ltrpathdirs="$ltrpathdirs $found_dir"
14958 if test "$acl_hardcode_direct" = yes; then
14959 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14961 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14962 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14964 for x in $rpathdirs; do
14965 if test "X$x" = "X$found_dir"; then
14970 if test -z "$haveit"; then
14971 rpathdirs="$rpathdirs $found_dir"
14975 for x in $LDFLAGS $LIBICONV; do
14977 acl_save_prefix="$prefix"
14978 prefix="$acl_final_prefix"
14979 acl_save_exec_prefix="$exec_prefix"
14980 exec_prefix="$acl_final_exec_prefix"
14982 exec_prefix="$acl_save_exec_prefix"
14983 prefix="$acl_save_prefix"
14985 if test "X$x" = "X-L$found_dir"; then
14990 if test -z "$haveit"; then
14991 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14993 if test "$acl_hardcode_minus_L" != no; then
14994 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14996 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15002 if test "X$found_a" != "X"; then
15003 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15005 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15008 additional_includedir=
15009 case "$found_dir" in
15010 */$acl_libdirstem | */$acl_libdirstem/)
15011 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15012 LIBICONV_PREFIX="$basedir"
15013 additional_includedir="$basedir/include"
15016 if test "X$additional_includedir" != "X"; then
15017 if test "X$additional_includedir" != "X/usr/include"; then
15019 if test "X$additional_includedir" = "X/usr/local/include"; then
15020 if test -n "$GCC"; then
15022 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15026 if test -z "$haveit"; then
15027 for x in $CPPFLAGS $INCICONV; do
15029 acl_save_prefix="$prefix"
15030 prefix="$acl_final_prefix"
15031 acl_save_exec_prefix="$exec_prefix"
15032 exec_prefix="$acl_final_exec_prefix"
15034 exec_prefix="$acl_save_exec_prefix"
15035 prefix="$acl_save_prefix"
15037 if test "X$x" = "X-I$additional_includedir"; then
15042 if test -z "$haveit"; then
15043 if test -d "$additional_includedir"; then
15044 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15050 if test -n "$found_la"; then
15051 save_libdir="$libdir"
15052 case "$found_la" in
15053 */* | *\\*) . "$found_la" ;;
15054 *) . "./$found_la" ;;
15056 libdir="$save_libdir"
15057 for dep in $dependency_libs; do
15060 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15061 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15063 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15064 if test -n "$GCC"; then
15066 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15070 if test -z "$haveit"; then
15072 for x in $LDFLAGS $LIBICONV; do
15074 acl_save_prefix="$prefix"
15075 prefix="$acl_final_prefix"
15076 acl_save_exec_prefix="$exec_prefix"
15077 exec_prefix="$acl_final_exec_prefix"
15079 exec_prefix="$acl_save_exec_prefix"
15080 prefix="$acl_save_prefix"
15082 if test "X$x" = "X-L$additional_libdir"; then
15087 if test -z "$haveit"; then
15088 if test -d "$additional_libdir"; then
15089 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15093 for x in $LDFLAGS $LTLIBICONV; do
15095 acl_save_prefix="$prefix"
15096 prefix="$acl_final_prefix"
15097 acl_save_exec_prefix="$exec_prefix"
15098 exec_prefix="$acl_final_exec_prefix"
15100 exec_prefix="$acl_save_exec_prefix"
15101 prefix="$acl_save_prefix"
15103 if test "X$x" = "X-L$additional_libdir"; then
15108 if test -z "$haveit"; then
15109 if test -d "$additional_libdir"; then
15110 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15117 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15118 if test "$enable_rpath" != no; then
15120 for x in $rpathdirs; do
15121 if test "X$x" = "X$dir"; then
15126 if test -z "$haveit"; then
15127 rpathdirs="$rpathdirs $dir"
15130 for x in $ltrpathdirs; do
15131 if test "X$x" = "X$dir"; then
15136 if test -z "$haveit"; then
15137 ltrpathdirs="$ltrpathdirs $dir"
15142 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15145 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15148 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15149 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15155 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15156 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15162 if test "X$rpathdirs" != "X"; then
15163 if test -n "$acl_hardcode_libdir_separator"; then
15165 for found_dir in $rpathdirs; do
15166 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15168 acl_save_libdir="$libdir"
15170 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15171 libdir="$acl_save_libdir"
15172 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15174 for found_dir in $rpathdirs; do
15175 acl_save_libdir="$libdir"
15176 libdir="$found_dir"
15177 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15178 libdir="$acl_save_libdir"
15179 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15183 if test "X$ltrpathdirs" != "X"; then
15184 for found_dir in $ltrpathdirs; do
15185 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15195 am_save_CPPFLAGS="$CPPFLAGS"
15197 for element in $INCICONV; do
15199 for x in $CPPFLAGS; do
15201 acl_save_prefix="$prefix"
15202 prefix="$acl_final_prefix"
15203 acl_save_exec_prefix="$exec_prefix"
15204 exec_prefix="$acl_final_exec_prefix"
15206 exec_prefix="$acl_save_exec_prefix"
15207 prefix="$acl_save_prefix"
15209 if test "X$x" = "X$element"; then
15214 if test -z "$haveit"; then
15215 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15221 $as_echo_n "checking for iconv... " >&6; }
15222 if test "${am_cv_func_iconv+set}" = set; then :
15223 $as_echo_n "(cached) " >&6
15226 am_cv_func_iconv="no, consider installing GNU libiconv"
15228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15229 /* end confdefs.h. */
15230 #include <stdlib.h>
15235 iconv_t cd = iconv_open("","");
15236 iconv(cd,NULL,NULL,NULL,NULL);
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 am_cv_func_iconv=yes
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247 if test "$am_cv_func_iconv" != yes; then
15248 am_save_LIBS="$LIBS"
15249 LIBS="$LIBS $LIBICONV"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 #include <stdlib.h>
15257 iconv_t cd = iconv_open("","");
15258 iconv(cd,NULL,NULL,NULL,NULL);
15264 if ac_fn_c_try_link "$LINENO"; then :
15265 am_cv_lib_iconv=yes
15266 am_cv_func_iconv=yes
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270 LIBS="$am_save_LIBS"
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15275 $as_echo "$am_cv_func_iconv" >&6; }
15276 if test "$am_cv_func_iconv" = yes; then
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15278 $as_echo_n "checking for working iconv... " >&6; }
15279 if test "${am_cv_func_iconv_works+set}" = set; then :
15280 $as_echo_n "(cached) " >&6
15283 am_save_LIBS="$LIBS"
15284 if test $am_cv_lib_iconv = yes; then
15285 LIBS="$LIBS $LIBICONV"
15287 if test "$cross_compiling" = yes; then :
15289 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15290 *) am_cv_func_iconv_works="guessing yes" ;;
15293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15294 /* end confdefs.h. */
15297 #include <string.h>
15300 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15303 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15304 if (cd_utf8_to_88591 != (iconv_t)(-1))
15306 static const char input[] = "\342\202\254"; /* EURO SIGN */
15308 const char *inptr = input;
15309 size_t inbytesleft = strlen (input);
15310 char *outptr = buf;
15311 size_t outbytesleft = sizeof (buf);
15312 size_t res = iconv (cd_utf8_to_88591,
15313 (char **) &inptr, &inbytesleft,
15314 &outptr, &outbytesleft);
15319 #if 0 /* This bug could be worked around by the caller. */
15320 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15322 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15323 if (cd_88591_to_utf8 != (iconv_t)(-1))
15325 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15327 const char *inptr = input;
15328 size_t inbytesleft = strlen (input);
15329 char *outptr = buf;
15330 size_t outbytesleft = sizeof (buf);
15331 size_t res = iconv (cd_88591_to_utf8,
15332 (char **) &inptr, &inbytesleft,
15333 &outptr, &outbytesleft);
15339 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15341 if (/* Try standardized names. */
15342 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15343 /* Try IRIX, OSF/1 names. */
15344 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15345 /* Try AIX names. */
15346 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15347 /* Try HP-UX names. */
15348 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15353 if ac_fn_c_try_run "$LINENO"; then :
15354 am_cv_func_iconv_works=yes
15356 am_cv_func_iconv_works=no
15358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15359 conftest.$ac_objext conftest.beam conftest.$ac_ext
15362 LIBS="$am_save_LIBS"
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15366 $as_echo "$am_cv_func_iconv_works" >&6; }
15367 case "$am_cv_func_iconv_works" in
15368 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15369 *) am_func_iconv=yes ;;
15372 am_func_iconv=no am_cv_lib_iconv=no
15374 if test "$am_func_iconv" = yes; then
15376 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15379 if test "$am_cv_lib_iconv" = yes; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15381 $as_echo_n "checking how to link with libiconv... " >&6; }
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15383 $as_echo "$LIBICONV" >&6; }
15385 CPPFLAGS="$am_save_CPPFLAGS"
15392 if test "$am_cv_func_iconv" = yes; then
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15394 $as_echo_n "checking for iconv declaration... " >&6; }
15395 if test "${am_cv_proto_iconv+set}" = set; then :
15396 $as_echo_n "(cached) " >&6
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 #include <stdlib.h>
15408 #if defined(__STDC__) || defined(__cplusplus)
15409 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15422 if ac_fn_c_try_compile "$LINENO"; then :
15423 am_cv_proto_iconv_arg1=""
15425 am_cv_proto_iconv_arg1="const"
15427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15428 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
15431 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15433 }$am_cv_proto_iconv" >&5
15435 }$am_cv_proto_iconv" >&6; }
15437 cat >>confdefs.h <<_ACEOF
15438 #define ICONV_CONST $am_cv_proto_iconv_arg1
15444 ac_cpp='$CXXCPP $CPPFLAGS'
15445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15449 case $am_cv_func_iconv in #(
15453 as_fn_error "You need iconv" "$LINENO" 5 ;;
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15458 $as_echo_n "checking for WEBKIT... " >&6; }
15460 if test -n "$PKG_CONFIG"; then
15461 if test -n "$WEBKIT_CFLAGS"; then
15462 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15464 if test -n "$PKG_CONFIG" && \
15465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15466 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15469 test $ac_status = 0; }; then
15470 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15478 if test -n "$PKG_CONFIG"; then
15479 if test -n "$WEBKIT_LIBS"; then
15480 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15482 if test -n "$PKG_CONFIG" && \
15483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15484 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15487 test $ac_status = 0; }; then
15488 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15499 if test $pkg_failed = yes; then
15501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15502 _pkg_short_errors_supported=yes
15504 _pkg_short_errors_supported=no
15506 if test $_pkg_short_errors_supported = yes; then
15507 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15509 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15511 # Put the nasty error message in config.log where it belongs
15512 echo "$WEBKIT_PKG_ERRORS" >&5
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15515 $as_echo "no" >&6; }
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15520 $as_echo_n "checking for WEBKIT... " >&6; }
15522 if test -n "$PKG_CONFIG"; then
15523 if test -n "$WEBKIT_CFLAGS"; then
15524 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15526 if test -n "$PKG_CONFIG" && \
15527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15528 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15531 test $ac_status = 0; }; then
15532 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15540 if test -n "$PKG_CONFIG"; then
15541 if test -n "$WEBKIT_LIBS"; then
15542 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15544 if test -n "$PKG_CONFIG" && \
15545 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15546 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15549 test $ac_status = 0; }; then
15550 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15561 if test $pkg_failed = yes; then
15563 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15564 _pkg_short_errors_supported=yes
15566 _pkg_short_errors_supported=no
15568 if test $_pkg_short_errors_supported = yes; then
15569 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15571 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15573 # Put the nasty error message in config.log where it belongs
15574 echo "$WEBKIT_PKG_ERRORS" >&5
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15577 $as_echo "no" >&6; }
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15581 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15582 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15583 $as_echo_n "(cached) " >&6
15586 ac_check_framework_save_LIBS=$LIBS
15587 LIBS="-framework JavaScriptCore $LIBS"
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15591 #include <JavaScriptCore/JSBase.h>
15596 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15601 if ac_fn_cxx_try_link "$LINENO"; then :
15603 ac_cv_framework_JavaScriptCore=yes
15606 ac_cv_framework_JavaScriptCore=no
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_check_framework_save_LIBS
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15614 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15615 if test $ac_cv_framework_JavaScriptCore = yes; then :
15618 for element in "-framework JavaScriptCore $LIBS"; do
15622 acl_save_prefix="$prefix"
15623 prefix="$acl_final_prefix"
15624 acl_save_exec_prefix="$exec_prefix"
15625 exec_prefix="$acl_final_exec_prefix"
15627 exec_prefix="$acl_save_exec_prefix"
15628 prefix="$acl_save_prefix"
15630 if test "X$x" = "X$element"; then
15635 if test -z "$haveit"; then
15636 LIBS="${LIBS}${LIBS:+ }$element"
15644 elif test $pkg_failed = untried; then
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15648 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15649 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15650 $as_echo_n "(cached) " >&6
15653 ac_check_framework_save_LIBS=$LIBS
15654 LIBS="-framework JavaScriptCore $LIBS"
15655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 /* end confdefs.h. */
15658 #include <JavaScriptCore/JSBase.h>
15663 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15668 if ac_fn_cxx_try_link "$LINENO"; then :
15670 ac_cv_framework_JavaScriptCore=yes
15673 ac_cv_framework_JavaScriptCore=no
15675 rm -f core conftest.err conftest.$ac_objext \
15676 conftest$ac_exeext conftest.$ac_ext
15677 LIBS=$ac_check_framework_save_LIBS
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15681 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15682 if test $ac_cv_framework_JavaScriptCore = yes; then :
15685 for element in "-framework JavaScriptCore $LIBS"; do
15689 acl_save_prefix="$prefix"
15690 prefix="$acl_final_prefix"
15691 acl_save_exec_prefix="$exec_prefix"
15692 exec_prefix="$acl_final_exec_prefix"
15694 exec_prefix="$acl_save_exec_prefix"
15695 prefix="$acl_save_prefix"
15697 if test "X$x" = "X$element"; then
15702 if test -z "$haveit"; then
15703 LIBS="${LIBS}${LIBS:+ }$element"
15712 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15713 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15715 $as_echo "yes" >&6; }
15719 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15721 for x in $CXXFLAGS; do
15723 acl_save_prefix="$prefix"
15724 prefix="$acl_final_prefix"
15725 acl_save_exec_prefix="$exec_prefix"
15726 exec_prefix="$acl_final_exec_prefix"
15728 exec_prefix="$acl_save_exec_prefix"
15729 prefix="$acl_save_prefix"
15731 if test "X$x" = "X$element"; then
15736 if test -z "$haveit"; then
15737 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15742 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15746 acl_save_prefix="$prefix"
15747 prefix="$acl_final_prefix"
15748 acl_save_exec_prefix="$exec_prefix"
15749 exec_prefix="$acl_final_exec_prefix"
15751 exec_prefix="$acl_save_exec_prefix"
15752 prefix="$acl_save_prefix"
15754 if test "X$x" = "X$element"; then
15759 if test -z "$haveit"; then
15760 LIBS="${LIBS}${LIBS:+ }$element"
15767 elif test $pkg_failed = untried; then
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15772 $as_echo_n "checking for WEBKIT... " >&6; }
15774 if test -n "$PKG_CONFIG"; then
15775 if test -n "$WEBKIT_CFLAGS"; then
15776 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15778 if test -n "$PKG_CONFIG" && \
15779 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15780 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783 test $ac_status = 0; }; then
15784 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15792 if test -n "$PKG_CONFIG"; then
15793 if test -n "$WEBKIT_LIBS"; then
15794 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15796 if test -n "$PKG_CONFIG" && \
15797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15798 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15801 test $ac_status = 0; }; then
15802 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15813 if test $pkg_failed = yes; then
15815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15816 _pkg_short_errors_supported=yes
15818 _pkg_short_errors_supported=no
15820 if test $_pkg_short_errors_supported = yes; then
15821 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15823 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15825 # Put the nasty error message in config.log where it belongs
15826 echo "$WEBKIT_PKG_ERRORS" >&5
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15829 $as_echo "no" >&6; }
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15833 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15834 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15835 $as_echo_n "(cached) " >&6
15838 ac_check_framework_save_LIBS=$LIBS
15839 LIBS="-framework JavaScriptCore $LIBS"
15840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15843 #include <JavaScriptCore/JSBase.h>
15848 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15853 if ac_fn_cxx_try_link "$LINENO"; then :
15855 ac_cv_framework_JavaScriptCore=yes
15858 ac_cv_framework_JavaScriptCore=no
15860 rm -f core conftest.err conftest.$ac_objext \
15861 conftest$ac_exeext conftest.$ac_ext
15862 LIBS=$ac_check_framework_save_LIBS
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15866 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15867 if test $ac_cv_framework_JavaScriptCore = yes; then :
15870 for element in "-framework JavaScriptCore $LIBS"; do
15874 acl_save_prefix="$prefix"
15875 prefix="$acl_final_prefix"
15876 acl_save_exec_prefix="$exec_prefix"
15877 exec_prefix="$acl_final_exec_prefix"
15879 exec_prefix="$acl_save_exec_prefix"
15880 prefix="$acl_save_prefix"
15882 if test "X$x" = "X$element"; then
15887 if test -z "$haveit"; then
15888 LIBS="${LIBS}${LIBS:+ }$element"
15896 elif test $pkg_failed = untried; then
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15900 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15901 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15902 $as_echo_n "(cached) " >&6
15905 ac_check_framework_save_LIBS=$LIBS
15906 LIBS="-framework JavaScriptCore $LIBS"
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15910 #include <JavaScriptCore/JSBase.h>
15915 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15920 if ac_fn_cxx_try_link "$LINENO"; then :
15922 ac_cv_framework_JavaScriptCore=yes
15925 ac_cv_framework_JavaScriptCore=no
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_framework_save_LIBS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15933 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15934 if test $ac_cv_framework_JavaScriptCore = yes; then :
15937 for element in "-framework JavaScriptCore $LIBS"; do
15941 acl_save_prefix="$prefix"
15942 prefix="$acl_final_prefix"
15943 acl_save_exec_prefix="$exec_prefix"
15944 exec_prefix="$acl_final_exec_prefix"
15946 exec_prefix="$acl_save_exec_prefix"
15947 prefix="$acl_save_prefix"
15949 if test "X$x" = "X$element"; then
15954 if test -z "$haveit"; then
15955 LIBS="${LIBS}${LIBS:+ }$element"
15964 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15965 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15967 $as_echo "yes" >&6; }
15971 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15973 for x in $CXXFLAGS; do
15975 acl_save_prefix="$prefix"
15976 prefix="$acl_final_prefix"
15977 acl_save_exec_prefix="$exec_prefix"
15978 exec_prefix="$acl_final_exec_prefix"
15980 exec_prefix="$acl_save_exec_prefix"
15981 prefix="$acl_save_prefix"
15983 if test "X$x" = "X$element"; then
15988 if test -z "$haveit"; then
15989 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15994 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15998 acl_save_prefix="$prefix"
15999 prefix="$acl_final_prefix"
16000 acl_save_exec_prefix="$exec_prefix"
16001 exec_prefix="$acl_final_exec_prefix"
16003 exec_prefix="$acl_save_exec_prefix"
16004 prefix="$acl_save_prefix"
16006 if test "X$x" = "X$element"; then
16011 if test -z "$haveit"; then
16012 LIBS="${LIBS}${LIBS:+ }$element"
16020 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16021 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16023 $as_echo "yes" >&6; }
16027 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16029 for x in $CXXFLAGS; do
16031 acl_save_prefix="$prefix"
16032 prefix="$acl_final_prefix"
16033 acl_save_exec_prefix="$exec_prefix"
16034 exec_prefix="$acl_final_exec_prefix"
16036 exec_prefix="$acl_save_exec_prefix"
16037 prefix="$acl_save_prefix"
16039 if test "X$x" = "X$element"; then
16044 if test -z "$haveit"; then
16045 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16050 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16054 acl_save_prefix="$prefix"
16055 prefix="$acl_final_prefix"
16056 acl_save_exec_prefix="$exec_prefix"
16057 exec_prefix="$acl_final_exec_prefix"
16059 exec_prefix="$acl_save_exec_prefix"
16060 prefix="$acl_save_prefix"
16062 if test "X$x" = "X$element"; then
16067 if test -z "$haveit"; then
16068 LIBS="${LIBS}${LIBS:+ }$element"
16075 ac_cpp='$OBJCXXCPP $CPPFLAGS'
16076 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
16079 if test -n "$ac_tool_prefix"; then
16080 for ac_prog in g++ objc++ objcxx c++ CXX
16082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16083 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16085 $as_echo_n "checking for $ac_word... " >&6; }
16086 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
16087 $as_echo_n "(cached) " >&6
16089 if test -n "$OBJCXX"; then
16090 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
16092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16093 for as_dir in $PATH
16096 test -z "$as_dir" && as_dir=.
16097 for ac_exec_ext in '' $ac_executable_extensions; do
16098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16099 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
16100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16109 OBJCXX=$ac_cv_prog_OBJCXX
16110 if test -n "$OBJCXX"; then
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
16112 $as_echo "$OBJCXX" >&6; }
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16115 $as_echo "no" >&6; }
16119 test -n "$OBJCXX" && break
16122 if test -z "$OBJCXX"; then
16123 ac_ct_OBJCXX=$OBJCXX
16124 for ac_prog in g++ objc++ objcxx c++ CXX
16126 # Extract the first word of "$ac_prog", so it can be a program name with args.
16127 set dummy $ac_prog; ac_word=$2
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16129 $as_echo_n "checking for $ac_word... " >&6; }
16130 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
16131 $as_echo_n "(cached) " >&6
16133 if test -n "$ac_ct_OBJCXX"; then
16134 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
16136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16137 for as_dir in $PATH
16140 test -z "$as_dir" && as_dir=.
16141 for ac_exec_ext in '' $ac_executable_extensions; do
16142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16143 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
16144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16153 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
16154 if test -n "$ac_ct_OBJCXX"; then
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
16156 $as_echo "$ac_ct_OBJCXX" >&6; }
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16159 $as_echo "no" >&6; }
16163 test -n "$ac_ct_OBJCXX" && break
16166 if test "x$ac_ct_OBJCXX" = x; then
16169 case $cross_compiling:$ac_tool_warned in
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16173 ac_tool_warned=yes ;;
16175 OBJCXX=$ac_ct_OBJCXX
16179 # Provide some information about the compiler.
16180 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
16183 for ac_option in --version -v -V -qversion; do
16184 { { ac_try="$ac_compiler $ac_option >&5"
16185 case "(($ac_try" in
16186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16187 *) ac_try_echo
=$ac_try;;
16189 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16190 $as_echo "$ac_try_echo"; } >&5
16191 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16193 if test -s conftest.err
; then
16195 ... rest of stderr output deleted ...
16196 10q' conftest.err
>conftest.er1
16197 cat conftest.er1
>&5
16199 rm -f conftest.er1 conftest.err
16200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16201 test $ac_status = 0; }
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
16205 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
16206 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
16207 $as_echo_n "(cached) " >&6
16209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16223 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16224 ac_compiler_gnu
=yes
16228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16229 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16233 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16234 if test $ac_compiler_gnu = yes; then
16239 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
16240 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16242 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16243 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
16244 $as_echo_n "(cached) " >&6
16246 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
16247 ac_objcxx_werror_flag
=yes
16248 ac_cv_prog_objcxx_g
=no
16250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16261 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16262 ac_cv_prog_objcxx_g
=yes
16265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16276 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16279 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
16281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16292 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16293 ac_cv_prog_objcxx_g
=yes
16295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16300 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16303 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16304 if test "$ac_test_OBJCXXFLAGS" = set; then
16305 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
16306 elif test $ac_cv_prog_objcxx_g = yes; then
16307 if test "$GOBJCXX" = yes; then
16308 OBJCXXFLAGS
="-g -O2"
16313 if test "$GOBJCXX" = yes; then
16320 ac_cpp
='$CXXCPP $CPPFLAGS'
16321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16326 case $CY_EXECUTE in #(
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16333 $as_echo_n "checking for LIBFFI... " >&6; }
16335 if test -n "$PKG_CONFIG"; then
16336 if test -n "$LIBFFI_CFLAGS"; then
16337 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
16339 if test -n "$PKG_CONFIG" && \
16340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16341 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16344 test $ac_status = 0; }; then
16345 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
16353 if test -n "$PKG_CONFIG"; then
16354 if test -n "$LIBFFI_LIBS"; then
16355 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
16357 if test -n "$PKG_CONFIG" && \
16358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16359 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16362 test $ac_status = 0; }; then
16363 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
16374 if test $pkg_failed = yes; then
16376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16377 _pkg_short_errors_supported
=yes
16379 _pkg_short_errors_supported
=no
16381 if test $_pkg_short_errors_supported = yes; then
16382 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16384 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16386 # Put the nasty error message in config.log where it belongs
16387 echo "$LIBFFI_PKG_ERRORS" >&5
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16390 $as_echo "no" >&6; }
16392 for ac_header
in ffi.h ffi
/ffi.h
16394 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16395 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16396 eval as_val
=\$
$as_ac_Header
16397 if test "x$as_val" = x
""yes; then :
16398 cat >>confdefs.h
<<_ACEOF
16399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16406 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16408 as_fn_error
"You need libffi" "$LINENO" 5
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16412 $as_echo_n "checking for library containing ffi_call... " >&6; }
16413 if test "${ac_cv_search_ffi_call+set}" = set; then :
16414 $as_echo_n "(cached) " >&6
16416 ac_func_search_save_LIBS
=$LIBS
16417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16420 /* Override any GCC internal prototype to avoid an error.
16421 Use char because int might match the return type of a GCC
16422 builtin and then its argument prototype would still apply. */
16430 return ffi_call ();
16435 for ac_lib
in '' ffi
; do
16436 if test -z "$ac_lib"; then
16437 ac_res
="none required"
16440 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16442 if ac_fn_cxx_try_link
"$LINENO"; then :
16443 ac_cv_search_ffi_call
=$ac_res
16445 rm -f core conftest.err conftest.
$ac_objext \
16447 if test "${ac_cv_search_ffi_call+set}" = set; then :
16451 if test "${ac_cv_search_ffi_call+set}" = set; then :
16454 ac_cv_search_ffi_call
=no
16456 rm conftest.
$ac_ext
16457 LIBS
=$ac_func_search_save_LIBS
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16460 $as_echo "$ac_cv_search_ffi_call" >&6; }
16461 ac_res
=$ac_cv_search_ffi_call
16462 if test "$ac_res" != no
; then :
16463 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16467 case $ac_cv_search_ffi_call in #(
16470 as_fn_error
"You need libffi" "$LINENO" 5
16476 elif test $pkg_failed = untried
; then
16478 for ac_header
in ffi.h ffi
/ffi.h
16480 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16481 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16482 eval as_val
=\$
$as_ac_Header
16483 if test "x$as_val" = x
""yes; then :
16484 cat >>confdefs.h
<<_ACEOF
16485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16492 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16494 as_fn_error
"You need libffi" "$LINENO" 5
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16498 $as_echo_n "checking for library containing ffi_call... " >&6; }
16499 if test "${ac_cv_search_ffi_call+set}" = set; then :
16500 $as_echo_n "(cached) " >&6
16502 ac_func_search_save_LIBS
=$LIBS
16503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16506 /* Override any GCC internal prototype to avoid an error.
16507 Use char because int might match the return type of a GCC
16508 builtin and then its argument prototype would still apply. */
16516 return ffi_call ();
16521 for ac_lib
in '' ffi
; do
16522 if test -z "$ac_lib"; then
16523 ac_res
="none required"
16526 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16528 if ac_fn_cxx_try_link
"$LINENO"; then :
16529 ac_cv_search_ffi_call
=$ac_res
16531 rm -f core conftest.err conftest.
$ac_objext \
16533 if test "${ac_cv_search_ffi_call+set}" = set; then :
16537 if test "${ac_cv_search_ffi_call+set}" = set; then :
16540 ac_cv_search_ffi_call
=no
16542 rm conftest.
$ac_ext
16543 LIBS
=$ac_func_search_save_LIBS
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16546 $as_echo "$ac_cv_search_ffi_call" >&6; }
16547 ac_res
=$ac_cv_search_ffi_call
16548 if test "$ac_res" != no
; then :
16549 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16553 case $ac_cv_search_ffi_call in #(
16556 as_fn_error
"You need libffi" "$LINENO" 5
16563 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
16564 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16566 $as_echo "yes" >&6; }
16569 for element
in `$PKG_CONFIG --cflags libffi`; do
16571 for x
in $CXXFLAGS; do
16573 acl_save_prefix
="$prefix"
16574 prefix
="$acl_final_prefix"
16575 acl_save_exec_prefix
="$exec_prefix"
16576 exec_prefix
="$acl_final_exec_prefix"
16578 exec_prefix
="$acl_save_exec_prefix"
16579 prefix
="$acl_save_prefix"
16581 if test "X$x" = "X$element"; then
16586 if test -z "$haveit"; then
16587 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16592 for element
in `$PKG_CONFIG --libs libffi`; do
16596 acl_save_prefix
="$prefix"
16597 prefix
="$acl_final_prefix"
16598 acl_save_exec_prefix
="$exec_prefix"
16599 exec_prefix
="$acl_final_exec_prefix"
16601 exec_prefix
="$acl_save_exec_prefix"
16602 prefix
="$acl_save_prefix"
16604 if test "X$x" = "X$element"; then
16609 if test -z "$haveit"; then
16610 LIBS
="${LIBS}${LIBS:+ }$element"
16617 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16618 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16619 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16620 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
16623 $as_echo_n "checking if we really have Objective C++... " >&6; }
16624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16625 /* end confdefs.h. */
16627 // This space intentionally left blank
16630 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16634 $as_echo "yes" >&6; }
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16638 $as_echo "no" >&6; }
16640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16641 if test "x$CY_OBJECTIVEC" = x1
; then :
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
16645 $as_echo_n "checking for framework CoreFoundation... " >&6; }
16646 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
16647 $as_echo_n "(cached) " >&6
16650 ac_check_framework_save_LIBS
=$LIBS
16651 LIBS
="-framework CoreFoundation $LIBS"
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16655 #include <CoreFoundation/CFBase.h>
16660 CFAllocatorGetDefault();
16665 if ac_fn_objcxx_try_link
"$LINENO"; then :
16667 ac_cv_framework_CoreFoundation
=yes
16670 ac_cv_framework_CoreFoundation
=no
16672 rm -f core conftest.err conftest.
$ac_objext \
16673 conftest
$ac_exeext conftest.
$ac_ext
16674 LIBS
=$ac_check_framework_save_LIBS
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
16678 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
16679 if test $ac_cv_framework_CoreFoundation = yes; then :
16682 for element
in "-framework CoreFoundation $LIBS"; do
16686 acl_save_prefix
="$prefix"
16687 prefix
="$acl_final_prefix"
16688 acl_save_exec_prefix
="$exec_prefix"
16689 exec_prefix
="$acl_final_exec_prefix"
16691 exec_prefix
="$acl_save_exec_prefix"
16692 prefix
="$acl_save_prefix"
16694 if test "X$x" = "X$element"; then
16699 if test -z "$haveit"; then
16700 LIBS
="${LIBS}${LIBS:+ }$element"
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
16709 $as_echo_n "checking for framework Foundation... " >&6; }
16710 if test "${ac_cv_framework_Foundation+set}" = set; then :
16711 $as_echo_n "(cached) " >&6
16714 ac_check_framework_save_LIBS
=$LIBS
16715 LIBS
="-framework Foundation $LIBS"
16716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 #include <Foundation/NSObject.h>
16724 [[NSObject alloc] init];
16729 if ac_fn_objcxx_try_link
"$LINENO"; then :
16731 ac_cv_framework_Foundation
=yes
16734 ac_cv_framework_Foundation
=no
16736 rm -f core conftest.err conftest.
$ac_objext \
16737 conftest
$ac_exeext conftest.
$ac_ext
16738 LIBS
=$ac_check_framework_save_LIBS
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
16742 $as_echo "$ac_cv_framework_Foundation" >&6; }
16743 if test $ac_cv_framework_Foundation = yes; then :
16746 for element
in "-framework Foundation $LIBS"; do
16750 acl_save_prefix
="$prefix"
16751 prefix
="$acl_final_prefix"
16752 acl_save_exec_prefix
="$exec_prefix"
16753 exec_prefix
="$acl_final_exec_prefix"
16755 exec_prefix
="$acl_save_exec_prefix"
16756 prefix
="$acl_save_prefix"
16758 if test "X$x" = "X$element"; then
16763 if test -z "$haveit"; then
16764 LIBS
="${LIBS}${LIBS:+ }$element"
16768 cat >>confdefs.h
<<_ACEOF
16769 #define HAVE_FRAMEWORK_FOUNDATION 1
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
16777 $as_echo_n "checking for framework WebKit... " >&6; }
16778 if test "${ac_cv_framework_WebKit+set}" = set; then :
16779 $as_echo_n "(cached) " >&6
16782 ac_check_framework_save_LIBS
=$LIBS
16783 LIBS
="-framework WebKit $LIBS"
16784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16785 /* end confdefs.h. */
16787 #include <WebKit/WebScriptObject.h>
16792 [[WebScriptObject alloc] init];
16797 if ac_fn_objcxx_try_link
"$LINENO"; then :
16799 ac_cv_framework_WebKit
=yes
16802 ac_cv_framework_WebKit
=no
16804 rm -f core conftest.err conftest.
$ac_objext \
16805 conftest
$ac_exeext conftest.
$ac_ext
16806 LIBS
=$ac_check_framework_save_LIBS
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
16810 $as_echo "$ac_cv_framework_WebKit" >&6; }
16811 if test $ac_cv_framework_WebKit = yes; then :
16814 for element
in "-framework WebKit $LIBS"; do
16818 acl_save_prefix
="$prefix"
16819 prefix
="$acl_final_prefix"
16820 acl_save_exec_prefix
="$exec_prefix"
16821 exec_prefix
="$acl_final_exec_prefix"
16823 exec_prefix
="$acl_save_exec_prefix"
16824 prefix
="$acl_save_prefix"
16826 if test "X$x" = "X$element"; then
16831 if test -z "$haveit"; then
16832 LIBS
="${LIBS}${LIBS:+ }$element"
16836 cat >>confdefs.h
<<_ACEOF
16837 #define HAVE_FRAMEWORK_WEBKIT 1
16846 for ac_prog
in gnustep
-config
16848 # Extract the first word of "$ac_prog", so it can be a program name with args.
16849 set dummy
$ac_prog; ac_word
=$2
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16851 $as_echo_n "checking for $ac_word... " >&6; }
16852 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
16853 $as_echo_n "(cached) " >&6
16855 if test -n "$GNUSTEP_CONFIG"; then
16856 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
16858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16859 for as_dir
in $PATH
16862 test -z "$as_dir" && as_dir
=.
16863 for ac_exec_ext
in '' $ac_executable_extensions; do
16864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16865 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
16866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16875 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
16876 if test -n "$GNUSTEP_CONFIG"; then
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
16878 $as_echo "$GNUSTEP_CONFIG" >&6; }
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16881 $as_echo "no" >&6; }
16885 test -n "$GNUSTEP_CONFIG" && break
16888 if test "x$GNUSTEP_CONFIG" != x
; then :
16892 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
16894 for x
in $OBJCXXFLAGS; do
16896 acl_save_prefix
="$prefix"
16897 prefix
="$acl_final_prefix"
16898 acl_save_exec_prefix
="$exec_prefix"
16899 exec_prefix
="$acl_final_exec_prefix"
16901 exec_prefix
="$acl_save_exec_prefix"
16902 prefix
="$acl_save_prefix"
16904 if test "X$x" = "X$element"; then
16909 if test -z "$haveit"; then
16910 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16915 for element
in `$GNUSTEP_CONFIG --base-libs`; do
16919 acl_save_prefix
="$prefix"
16920 prefix
="$acl_final_prefix"
16921 acl_save_exec_prefix
="$exec_prefix"
16922 exec_prefix
="$acl_final_exec_prefix"
16924 exec_prefix
="$acl_save_exec_prefix"
16925 prefix
="$acl_save_prefix"
16927 if test "X$x" = "X$element"; then
16932 if test -z "$haveit"; then
16933 LIBS
="${LIBS}${LIBS:+ }$element"
16947 ac_cpp
='$CXXCPP $CPPFLAGS'
16948 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
16956 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
16960 $as_echo_n "checking for GNU make... " >&6; }
16961 if test "${_cv_gnu_make_command+set}" = set; then :
16962 $as_echo_n "(cached) " >&6
16964 _cv_gnu_make_command
='' ;
16965 for a
in "$MAKE" make gmake gnumake
; do
16966 if test -z "$a" ; then continue ; fi ;
16967 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
16968 _cv_gnu_make_command
=$a ;
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
16975 $as_echo "$_cv_gnu_make_command" >&6; } ;
16976 if test "x$_cv_gnu_make_command" != "x" ; then
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
16981 $as_echo "\"Not found\"" >&6; };
16985 if test "x$_cv_gnu_make_command" = x
; then :
16986 as_fn_error
"You need GNU make" "$LINENO" 5
16988 ac_config_files
="$ac_config_files GNUmakefile"
16990 cat >confcache
<<\_ACEOF
16991 # This file is a shell script that caches the results of configure
16992 # tests run on this system so they can be shared between configure
16993 # scripts and configure runs, see configure's option --config-cache.
16994 # It is not useful on other systems. If it contains results you don't
16995 # want to keep, you may remove or edit it.
16997 # config.status only pays attention to the cache file if you give it
16998 # the --recheck option to rerun configure.
17000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17002 # following values.
17006 # The following way of writing the cache mishandles newlines in values,
17007 # but we know of no workaround that is simple, portable, and efficient.
17008 # So, we kill variables containing newlines.
17009 # Ultrix sh set writes to stderr and can't be redirected directly,
17010 # and sets the high bit in the cache file unless we assign to the vars.
17012 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17013 eval ac_val
=\$
$ac_var
17017 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17021 _
| IFS
| as_nl
) ;; #(
17022 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
17023 *) { eval $ac_var=; unset $ac_var;} ;;
17029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17030 *${as_nl}ac_space
=\
*)
17031 # `set' does not quote correctly, so add quotes: double-quote
17032 # substitution turns \\\\ into \\, and sed turns \\ into \.
17035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17038 # `set' quotes correctly as required by POSIX, so do not add quotes.
17039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17052 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17053 if test -w "$cache_file"; then
17054 test "x$cache_file" != "x/dev/null" &&
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17056 $as_echo "$as_me: updating cache $cache_file" >&6;}
17057 cat confcache
>$cache_file
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17060 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17065 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17066 # Let make expand exec_prefix.
17067 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17069 # Transform confdefs.h into DEFS.
17070 # Protect against shell expansion while executing Makefile rules.
17071 # Protect against Makefile macro expansion.
17073 # If the first sed substitution is executed (which looks for macros that
17074 # take arguments), then branch to the quote section. Otherwise,
17075 # look for a macro that doesn't take arguments.
17085 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17087 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17091 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17104 DEFS
=`sed -n "$ac_script" confdefs.h`
17109 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17110 # 1. Remove the extension, and $U if already installed.
17111 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17112 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17113 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17114 # will be set to the directory where LIBOBJS objects are built.
17115 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17116 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17118 LIBOBJS
=$ac_libobjs
17120 LTLIBOBJS
=$ac_ltlibobjs
17124 : ${CONFIG_STATUS=./config.status}
17126 ac_clean_files_save
=$ac_clean_files
17127 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17129 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17131 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17133 # Generated by $as_me.
17134 # Run this file to recreate the current configuration.
17135 # Compiler output produced by configure, useful for debugging
17136 # configure, is in config.log if it exists.
17139 ac_cs_recheck=false
17142 SHELL=\${CONFIG_SHELL-$SHELL}
17145 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
17146 ## -------------------- ##
17147 ## M4sh Initialization. ##
17148 ## -------------------- ##
17150 # Be more Bourne compatible
17151 DUALCASE
=1; export DUALCASE
# for MKS sh
17152 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17155 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17156 # is contrary to our usage. Disable this feature.
17157 alias -g '${1+"$@"}'='"$@"'
17158 setopt NO_GLOB_SUBST
17160 case `(set -o) 2>/dev/null` in #(
17172 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17173 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17174 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17175 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17176 # Prefer a ksh shell builtin over an external printf program on Solaris,
17177 # but without wasting forks for bash or zsh.
17178 if test -z "$BASH_VERSION$ZSH_VERSION" \
17179 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17180 as_echo='print
-r --'
17181 as_echo_n='print
-rn --'
17182 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17183 as_echo='printf %s
\n'
17184 as_echo_n='printf %s
'
17186 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17187 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17188 as_echo_n='/usr
/ucb
/echo -n'
17190 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17191 as_echo_n_body='eval
17195 expr "X$arg" : "X\\(.*\\)$as_nl";
17196 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17198 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17200 export as_echo_n_body
17201 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17203 export as_echo_body
17204 as_echo='sh
-c $as_echo_body as_echo
'
17207 # The user is always right.
17208 if test "${PATH_SEPARATOR+set}" != set; then
17210 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17211 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17218 # We need space, tab and new line, in precisely that order. Quoting is
17219 # there to prevent editors from complaining about space-tab.
17220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17221 # splitting by setting IFS to empty value.)
17224 # Find who we are. Look in the path if we contain no directory separator.
17226 *[\\/]* ) as_myself=$0 ;;
17227 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17228 for as_dir in $PATH
17231 test -z "$as_dir" && as_dir=.
17232 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17238 # We did not find ourselves, most probably we were run as `sh COMMAND'
17239 # in which case we are not to be found in the path.
17240 if test "x$as_myself" = x
; then
17243 if test ! -f "$as_myself"; then
17244 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17248 # Unset variables that we do not need and which cause bugs (e.g. in
17249 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17250 # suppresses any "Segmentation fault" message there. '((' could
17251 # trigger a bug in pdksh 5.2.14.
17252 for as_var
in BASH_ENV ENV MAIL MAILPATH
17253 do eval test x\
${$as_var+set} = xset \
17254 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
17267 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17270 # as_fn_error ERROR [LINENO LOG_FD]
17271 # ---------------------------------
17272 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17273 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17274 # script with status $?, using 1 if that was 0.
17277 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17279 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17280 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17282 $as_echo "$as_me: error: $1" >&2
17283 as_fn_exit
$as_status
17287 # as_fn_set_status STATUS
17288 # -----------------------
17289 # Set $? to STATUS, without forking.
17290 as_fn_set_status
()
17293 } # as_fn_set_status
17295 # as_fn_exit STATUS
17296 # -----------------
17297 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17301 as_fn_set_status
$1
17307 # Portably unset VAR.
17310 { eval $1=; unset $1;}
17312 as_unset
=as_fn_unset
17313 # as_fn_append VAR VALUE
17314 # ----------------------
17315 # Append the text in VALUE to the end of the definition contained in VAR. Take
17316 # advantage of any shell optimizations that allow amortized linear growth over
17317 # repeated appends, instead of the typical quadratic growth present in naive
17319 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17320 eval 'as_fn_append ()
17331 # as_fn_arith ARG...
17332 # ------------------
17333 # Perform arithmetic evaluation on the ARGs, and store the result in the
17334 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17335 # must be portable across $(()) and expr.
17336 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17337 eval 'as_fn_arith ()
17344 as_val
=`expr "$@" || test $? -eq 1`
17349 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17350 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17356 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17357 as_basename
=basename
17362 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17368 as_me
=`$as_basename -- "$0" ||
17369 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17370 X"$0" : 'X\(//\)$' \| \
17371 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17373 sed '/^.*\/\([^/][^/]*\)\/*$/{
17387 # Avoid depending upon Character Ranges.
17388 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17389 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17390 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17391 as_cr_digits
='0123456789'
17392 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17394 ECHO_C
= ECHO_N
= ECHO_T
=
17395 case `echo -n x` in #(((((
17397 case `echo 'xy\c'` in
17398 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17400 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17407 rm -f conf$$ conf$$.exe conf$$.
file
17408 if test -d conf$$.dir
; then
17409 rm -f conf$$.dir
/conf$$.
file
17412 mkdir conf$$.dir
2>/dev
/null
17414 if (echo >conf$$.
file) 2>/dev
/null
; then
17415 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17417 # ... but there are two gotchas:
17418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17420 # In both cases, we have to default to `cp -p'.
17421 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
17423 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17431 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17432 rmdir conf$$.dir
2>/dev
/null
17437 # Create "$as_dir" as a directory, including parents if necessary.
17442 -*) as_dir
=.
/$as_dir;;
17444 test -d "$as_dir" || eval $as_mkdir_p || {
17448 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17449 *) as_qdir
=$as_dir;;
17451 as_dirs
="'$as_qdir' $as_dirs"
17452 as_dir
=`$as_dirname -- "$as_dir" ||
17453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17454 X"$as_dir" : 'X\(//\)[^/]' \| \
17455 X"$as_dir" : 'X\(//\)$' \| \
17456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17457 $as_echo X"$as_dir" |
17458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17462 /^X\(\/\/\)[^/].*/{
17475 test -d "$as_dir" && break
17477 test -z "$as_dirs" || eval "mkdir $as_dirs"
17478 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17482 if mkdir -p .
2>/dev
/null
; then
17483 as_mkdir_p
='mkdir -p "$as_dir"'
17485 test -d .
/-p && rmdir .
/-p
17489 if test -x / >/dev
/null
2>&1; then
17490 as_test_x
='test -x'
17492 if ls -dL / >/dev
/null
2>&1; then
17499 if test -d "$1"; then
17505 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17506 ???[sx]*):;;*)false;;esac;fi
17510 as_executable_p
=$as_test_x
17512 # Sed expression to map a string onto a valid CPP name.
17513 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17515 # Sed expression to map a string onto a valid variable name.
17516 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17520 ## ----------------------------------- ##
17521 ## Main body of $CONFIG_STATUS script. ##
17522 ## ----------------------------------- ##
17524 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17526 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17527 # Save the log message, to keep $0 and so on meaningful, and to
17528 # report actual input values of CONFIG_FILES etc. instead of their
17529 # values after options handling.
17531 This file was extended by Cycript $as_me 0.9, which was
17532 generated by GNU Autoconf 2.65. Invocation command line was
17534 CONFIG_FILES = $CONFIG_FILES
17535 CONFIG_HEADERS = $CONFIG_HEADERS
17536 CONFIG_LINKS = $CONFIG_LINKS
17537 CONFIG_COMMANDS = $CONFIG_COMMANDS
17540 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17545 case $ac_config_files in *"
17546 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17552 # Files that config.status was made for.
17553 config_files="$ac_config_files"
17554 config_commands="$ac_config_commands"
17558 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17560 \`$as_me' instantiates files and other configuration actions
17561 from templates according to the current configuration. Unless the files
17562 and actions are specified as TAGs, all are instantiated by default.
17564 Usage: $0 [OPTION]... [TAG]...
17566 -h, --help print this help, then exit
17567 -V, --version print version number and configuration settings, then exit
17568 --config print configuration, then exit
17569 -q, --quiet, --silent
17570 do not print progress messages
17571 -d, --debug don't remove temporary files
17572 --recheck update $as_me by reconfiguring in the same conditions
17573 --file=FILE[:TEMPLATE]
17574 instantiate the configuration file FILE
17576 Configuration files:
17579 Configuration commands:
17582 Report bugs to <saurik@saurik.com>.
17583 Cycript home page: <http://www.cycript.org/>."
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17589 Cycript config.status 0.9
17590 configured by $0, generated by GNU Autoconf 2.65,
17591 with options \\"\$ac_cs_config\\"
17593 Copyright (C) 2009 Free Software Foundation, Inc.
17594 This config.status script is free software; the Free Software Foundation
17595 gives unlimited permission to copy, distribute and modify it."
17601 test -n "\$AWK" || AWK=awk
17604 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17605 # The default lists apply if the user does not specify any file.
17611 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17612 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17623 # Handling of the options.
17624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17627 $as_echo "$ac_cs_version"; exit ;;
17628 --config | --confi | --conf | --con | --co | --c )
17629 $as_echo "$ac_cs_config"; exit ;;
17630 --debug | --debu | --deb | --de | --d | -d )
17632 --file | --fil | --fi | --f )
17635 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17637 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17638 ac_need_defaults
=false
;;
17639 --he | --h | --help | --hel | -h )
17640 $as_echo "$ac_cs_usage"; exit ;;
17641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17642 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17645 # This is an error.
17646 -*) as_fn_error
"unrecognized option: \`$1'
17647 Try \`$0 --help' for more information." ;;
17649 *) as_fn_append ac_config_targets
" $1"
17650 ac_need_defaults
=false
;;
17656 ac_configure_extra_args
=
17658 if $ac_cs_silent; then
17660 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17665 if \$ac_cs_recheck; then
17666 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17668 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17669 CONFIG_SHELL='$SHELL'
17670 export CONFIG_SHELL
17675 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17679 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17680 ## Running $as_me. ##
17686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17692 # The HP-UX ksh and POSIX shell print the target directory to stdout
17693 # if CDPATH is set.
17694 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17696 sed_quote_subst='$sed_quote_subst'
17697 double_quote_subst='$double_quote_subst'
17698 delay_variable_subst='$delay_variable_subst'
17699 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17700 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17701 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17702 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17703 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17704 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17705 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17706 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17707 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17708 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17709 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17710 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17711 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17712 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17713 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17714 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17715 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17716 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17717 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17718 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17719 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17720 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17721 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17722 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17723 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17724 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17725 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17726 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17727 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17728 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17729 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17730 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17731 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17732 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17733 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17734 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17735 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17736 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17737 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17738 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17739 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17740 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17741 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17742 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17743 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"`'
17744 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"`'
17745 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17746 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17747 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17748 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17749 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17750 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17751 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17752 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17753 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17754 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17755 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17756 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17757 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17758 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17759 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17760 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17761 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17762 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17763 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17764 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17765 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17766 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17767 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17768 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17769 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17770 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17771 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17772 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17773 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17774 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17775 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17776 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17777 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17778 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17779 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17780 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17781 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17782 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17783 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17784 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17785 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17786 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17787 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17788 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17789 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17790 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17791 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17792 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17793 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17794 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17795 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17796 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17797 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17798 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17799 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17800 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17801 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17802 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17803 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17804 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17805 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17806 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17807 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17808 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17809 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17810 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17811 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17812 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17813 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17814 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17815 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17816 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17817 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17818 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17819 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17820 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17821 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17822 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17823 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17824 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17825 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17826 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17827 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17828 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17829 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17830 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17831 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17832 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17833 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17834 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17835 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17836 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17837 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17838 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17839 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17840 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17841 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17842 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17843 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17844 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17845 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17846 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17847 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17848 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17849 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17850 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17851 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17852 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17853 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17854 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17855 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17856 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17857 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17858 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17859 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17860 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17861 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17862 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17863 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17864 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17865 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17866 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17867 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17868 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17869 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17872 LTCFLAGS='$LTCFLAGS'
17873 compiler='$compiler_DEFAULT'
17875 # Quote evaled strings.
17887 deplibs_check_method \
17896 lt_cv_sys_global_symbol_pipe \
17897 lt_cv_sys_global_symbol_to_cdecl \
17898 lt_cv_sys_global_symbol_to_c_name_address \
17899 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17902 lt_prog_compiler_no_builtin_flag \
17903 lt_prog_compiler_wl \
17904 lt_prog_compiler_pic \
17905 lt_prog_compiler_static \
17906 lt_cv_prog_compiler_c_o \
17914 export_dynamic_flag_spec \
17915 whole_archive_flag_spec \
17916 compiler_needs_object \
17918 allow_undefined_flag \
17919 no_undefined_flag \
17920 hardcode_libdir_flag_spec \
17921 hardcode_libdir_flag_spec_ld \
17922 hardcode_libdir_separator \
17927 variables_saved_for_relink \
17929 library_names_spec \
17934 compiler_lib_search_dirs \
17939 compiler_lib_search_path \
17942 lt_prog_compiler_no_builtin_flag_CXX \
17943 lt_prog_compiler_wl_CXX \
17944 lt_prog_compiler_pic_CXX \
17945 lt_prog_compiler_static_CXX \
17946 lt_cv_prog_compiler_c_o_CXX \
17947 export_dynamic_flag_spec_CXX \
17948 whole_archive_flag_spec_CXX \
17949 compiler_needs_object_CXX \
17951 allow_undefined_flag_CXX \
17952 no_undefined_flag_CXX \
17953 hardcode_libdir_flag_spec_CXX \
17954 hardcode_libdir_flag_spec_ld_CXX \
17955 hardcode_libdir_separator_CXX \
17956 fix_srcfile_path_CXX \
17957 exclude_expsyms_CXX \
17958 include_expsyms_CXX \
17959 file_list_spec_CXX \
17960 compiler_lib_search_dirs_CXX \
17961 predep_objects_CXX \
17962 postdep_objects_CXX \
17965 compiler_lib_search_path_CXX; do
17966 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17967 *[\\\\\\\`\\"\\\$]*)
17968 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17971 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17976 # Double-quote double-evaled strings.
17977 for var in reload_cmds \
17978 old_postinstall_cmds \
17979 old_postuninstall_cmds \
17981 extract_expsyms_cmds \
17982 old_archive_from_new_cmds \
17983 old_archive_from_expsyms_cmds \
17985 archive_expsym_cmds \
17987 module_expsym_cmds \
17988 export_symbols_cmds \
17991 postuninstall_cmds \
17993 sys_lib_search_path_spec \
17994 sys_lib_dlsearch_path_spec \
17995 old_archive_cmds_CXX \
17996 old_archive_from_new_cmds_CXX \
17997 old_archive_from_expsyms_cmds_CXX \
17999 archive_expsym_cmds_CXX \
18001 module_expsym_cmds_CXX \
18002 export_symbols_cmds_CXX \
18003 prelink_cmds_CXX; do
18004 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18005 *[\\\\\\\`\\"\\\$]*)
18006 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18009 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18014 # Fix-up fallback echo if it was mangled by the above quoting rules.
18016 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18020 ac_aux_dir='$ac_aux_dir'
18021 xsi_shell='$xsi_shell'
18022 lt_shell_append='$lt_shell_append'
18024 # See if we are running on zsh, and set the options which allow our
18025 # commands through without removal of \ escapes INIT.
18026 if test -n "\${ZSH_VERSION+set}" ; then
18027 setopt NO_GLOB_SUBST
18033 TIMESTAMP='$TIMESTAMP'
18044 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18046 # Handling of arguments.
18047 for ac_config_target
in $ac_config_targets
18049 case $ac_config_target in
18050 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18051 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
18053 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18058 # If the user did not use the arguments to specify the items to instantiate,
18059 # then the envvar interface is used. Set only those that are not.
18060 # We use the long form for the default assignment because of an extremely
18061 # bizarre bug on SunOS 4.1.3.
18062 if $ac_need_defaults; then
18063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18064 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18067 # Have a temporary directory for convenience. Make it in the build tree
18068 # simply because there is no reason against having it here, and in addition,
18069 # creating and moving files from /tmp can sometimes cause problems.
18070 # Hook for its removal unless debugging.
18071 # Note that there is a small window in which the directory will not be cleaned:
18072 # after its creation but before its name has been assigned to `$tmp'.
18076 trap 'exit_status=$?
18077 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18079 trap 'as_fn_exit 1' 1 2 13 15
18081 # Create a (secure) tmp directory for tmp files.
18084 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18085 test -n "$tmp" && test -d "$tmp"
18088 tmp
=.
/conf$$
-$RANDOM
18089 (umask 077 && mkdir "$tmp")
18090 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18092 # Set up the scripts for CONFIG_FILES section.
18093 # No need to generate them if there are no CONFIG_FILES.
18094 # This happens for instance with `./config.status config.h'.
18095 if test -n "$CONFIG_FILES"; then
18098 ac_cr
=`echo X | tr X '\015'`
18099 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18100 # But we know of no other shell where ac_cr would be empty at this
18101 # point, so we can use a bashism as a fallback.
18102 if test "x$ac_cr" = x
; then
18103 eval ac_cr
=\$
\'\\r
\'
18105 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18106 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18109 ac_cs_awk_cr
=$ac_cr
18112 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18117 echo "cat >conf$$subs.awk <<_ACEOF" &&
18118 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18120 } >conf$$subs.sh ||
18121 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18122 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18124 for ac_last_try in false false false false false :; do
18125 . ./conf$$subs.sh ||
18126 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18128 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18129 if test $ac_delim_n = $ac_delim_num; then
18131 elif $ac_last_try; then
18132 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18134 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18137 rm -f conf$$subs.sh
18139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18140 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18144 s/^/S["/; s
/!.
*/"]=/
18154 s/\(.\{148\}\)..*/\1/
18156 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18161 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18168 s/\(.\{148\}\)..*/\1/
18170 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18174 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18179 ' <conf$$subs.awk | sed '
18184 ' >>$CONFIG_STATUS || ac_write_fail=1
18185 rm -f conf$$subs.awk
18186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18188 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18189 for (key in S) S_is_set[key] = 1
18195 nfields = split(line, field, "@
")
18197 len = length(field[1])
18198 for (i = 2; i < nfields; i++) {
18200 keylen = length(key)
18201 if (S_is_set[key]) {
18203 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18204 len += length(value) + length(field[++i])
18215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18216 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18217 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18220 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18221 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18224 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18225 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18226 # trailing colons and then remove the whole line if VPATH becomes empty
18227 # (actually we leave an empty line to preserve line numbers).
18228 if test "x
$srcdir" = x.; then
18229 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18230 s/:*\$(srcdir):*/:/
18231 s/:*\${srcdir}:*/:/
18233 s/^\([^=]*=[ ]*\):*/\1/
18239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18240 fi # test -n "$CONFIG_FILES"
18243 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
18248 :[FHLC]) ac_mode=$ac_tag; continue;;
18250 case $ac_mode$ac_tag in
18252 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
18253 :[FH]-) ac_tag=-:-;;
18254 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18271 -) ac_f="$tmp/stdin";;
18272 *) # Look for the file first in the build tree, then in the source tree
18273 # (if the path is not absolute). The absolute path cannot be DOS-style,
18274 # because $ac_f cannot contain `:'.
18278 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18280 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18282 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
18283 as_fn_append ac_file_inputs " '$ac_f'"
18286 # Let's still pretend it is `configure' which instantiates (i.e., don't
18287 # use $as_me), people would be surprised to read:
18288 # /* config.h. Generated by config.status. */
18289 configure_input='Generated from '`
18290 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18292 if test x"$ac_file" != x-; then
18293 configure_input="$ac_file.
$configure_input"
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
18295 $as_echo "$as_me: creating
$ac_file" >&6;}
18297 # Neutralize special characters interpreted by sed in replacement strings.
18298 case $configure_input in #(
18299 *\&* | *\|* | *\\* )
18300 ac_sed_conf_input=`$as_echo "$configure_input" |
18301 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18302 *) ac_sed_conf_input=$configure_input;;
18306 *:-:* | *:-) cat >"$tmp/stdin
" \
18307 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
18312 ac_dir=`$as_dirname -- "$ac_file" ||
18313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18314 X"$ac_file" : 'X\(//\)[^/]' \| \
18315 X"$ac_file" : 'X\(//\)$' \| \
18316 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18317 $as_echo X"$ac_file" |
18318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18322 /^X\(\/\/\)[^/].*/{
18335 as_dir="$ac_dir"; as_fn_mkdir_p
18339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18341 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18342 # A "..
" for each directory in $ac_dir_suffix.
18343 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18344 case $ac_top_builddir_sub in
18345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18349 ac_abs_top_builddir=$ac_pwd
18350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18351 # for backward compatibility:
18352 ac_top_builddir=$ac_top_build_prefix
18355 .) # We are building in place.
18357 ac_top_srcdir=$ac_top_builddir_sub
18358 ac_abs_top_srcdir=$ac_pwd ;;
18359 [\\/]* | ?:[\\/]* ) # Absolute name.
18360 ac_srcdir=$srcdir$ac_dir_suffix;
18361 ac_top_srcdir=$srcdir
18362 ac_abs_top_srcdir=$srcdir ;;
18363 *) # Relative name.
18364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18365 ac_top_srcdir=$ac_top_build_prefix$srcdir
18366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18379 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18384 # If the template does not know about datarootdir, expand it.
18385 # FIXME: This hack should be removed a few years after 2.60.
18386 ac_datarootdir_hack=; ac_datarootdir_seen=
18397 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
18398 *datarootdir*) ac_datarootdir_seen=yes;;
18399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
18401 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18404 ac_datarootdir_hack='
18405 s&@datadir@&$datadir&g
18406 s&@docdir@&$docdir&g
18407 s&@infodir@&$infodir&g
18408 s&@localedir@&$localedir&g
18409 s&@mandir@&$mandir&g
18410 s&\\\${datarootdir}&$datarootdir&g' ;;
18414 # Neutralize VPATH when `$srcdir' = `.'.
18415 # Shell code in configure.ac might set extrasub.
18416 # FIXME: do we really want to maintain this feature?
18417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18418 ac_sed_extra="$ac_vpsub
18421 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18423 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
18424 s
|@configure_input@
|$ac_sed_conf_input|;t t
18425 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18426 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18427 s
&@srcdir@
&$ac_srcdir&;t t
18428 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18429 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18430 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18431 s
&@builddir@
&$ac_builddir&;t t
18432 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18433 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18434 s
&@INSTALL@
&$ac_INSTALL&;t t
18435 $ac_datarootdir_hack
18437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18438 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18441 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18444 which seems to be undefined. Please make sure it is defined." >&5
18445 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18446 which seems to be undefined. Please make sure it is defined." >&2;}
18450 -) cat "$tmp/out" && rm -f "$tmp/out";;
18451 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18453 || as_fn_error "could not create $ac_file" "$LINENO" 5
18457 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18458 $as_echo "$as_me: executing $ac_file commands" >&6;}
18463 case $ac_file$ac_mode in
18466 # See if we are running on zsh, and set the options which allow our
18467 # commands through without removal of \ escapes.
18468 if test -n "${ZSH_VERSION+set}" ; then
18469 setopt NO_GLOB_SUBST
18472 cfgfile="${ofile}T"
18473 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18476 cat <<_LT_EOF >> "$cfgfile"
18479 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
18480 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18481 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18482 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18484 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18485 # 2006, 2007, 2008 Free Software Foundation, Inc.
18486 # Written by Gordon Matzigkeit, 1996
18488 # This file is part of GNU Libtool.
18490 # GNU Libtool is free software; you can redistribute it and/or
18491 # modify it under the terms of the GNU General Public License as
18492 # published by the Free Software Foundation; either version 2 of
18493 # the License, or (at your option) any later version.
18495 # As a special exception to the GNU General Public License,
18496 # if you distribute this file as part of a program or library that
18497 # is built using GNU Libtool, you may include this file under the
18498 # same distribution terms that you use for the rest of that program.
18500 # GNU Libtool is distributed in the hope that it will be useful,
18501 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18502 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18503 # GNU General Public License for more details.
18505 # You should have received a copy of the GNU General Public License
18506 # along with GNU Libtool; see the file COPYING. If not, a copy
18507 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18508 # obtained by writing to the Free Software Foundation, Inc.,
18509 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18512 # The names of the tagged configurations supported by this script.
18513 available_tags="CXX "
18515 # ### BEGIN LIBTOOL CONFIG
18517 # Which release of libtool.m4 was used?
18518 macro_version=$macro_version
18519 macro_revision=$macro_revision
18521 # Whether or not to build static libraries.
18522 build_old_libs=$enable_static
18524 # Whether or not to build shared libraries.
18525 build_libtool_libs=$enable_shared
18527 # What type of objects to build.
18530 # Whether or not to optimize for fast installation.
18531 fast_install=$enable_fast_install
18534 host_alias=$host_alias
18538 # The build system.
18539 build_alias=$build_alias
18543 # A sed program that does not truncate output.
18546 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18547 Xsed="\$SED -e 1s/^X//"
18549 # A grep program that handles long lines.
18555 # A literal string matcher.
18558 # A BSD- or MS-compatible name lister.
18561 # Whether we need soft or hard links.
18564 # What is the maximum length of a command?
18565 max_cmd_len=$max_cmd_len
18567 # Object file suffix (normally "o").
18570 # Executable file suffix (normally "").
18573 # whether the shell understands "unset".
18576 # turn spaces into newlines.
18579 # turn newlines into spaces.
18582 # How to create reloadable object files.
18583 reload_flag=$lt_reload_flag
18584 reload_cmds=$lt_reload_cmds
18586 # An object symbol dumper.
18587 OBJDUMP=$lt_OBJDUMP
18589 # Method to check whether dependent libraries are shared objects.
18590 deplibs_check_method=$lt_deplibs_check_method
18592 # Command to use when deplibs_check_method == "file_magic".
18593 file_magic_cmd=$lt_file_magic_cmd
18597 AR_FLAGS=$lt_AR_FLAGS
18599 # A symbol stripping program.
18602 # Commands used to install an old-style archive.
18604 old_postinstall_cmds=$lt_old_postinstall_cmds
18605 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18610 # LTCC compiler flags.
18611 LTCFLAGS=$lt_CFLAGS
18613 # Take the output of nm and produce a listing of raw symbols and C names.
18614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18616 # Transform the output of nm in a proper C declaration.
18617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18619 # Transform the output of nm in a C name address pair.
18620 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18622 # Transform the output of nm in a C name address pair when lib prefix is needed.
18623 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18625 # The name of the directory that contains temporary libtool files.
18628 # Shell to use when invoking shell scripts.
18631 # An echo program that does not interpret backslashes.
18634 # Used to examine libraries when file_magic_cmd begins with "file".
18635 MAGIC_CMD=$MAGIC_CMD
18637 # Must we lock files when doing compilation?
18638 need_locks=$lt_need_locks
18640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18641 DSYMUTIL=$lt_DSYMUTIL
18643 # Tool to change global to local symbols on Mac OS X.
18646 # Tool to manipulate fat objects and archives on Mac OS X.
18649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18653 OTOOL64=$lt_OTOOL64
18655 # Old archive suffix (normally "a").
18658 # Shared library suffix (normally ".so").
18659 shrext_cmds=$lt_shrext_cmds
18661 # The commands to extract the exported symbol list from a shared archive.
18662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18664 # Variables whose values should be saved in libtool wrapper scripts and
18665 # restored at link time.
18666 variables_saved_for_relink=$lt_variables_saved_for_relink
18668 # Do we need the "lib" prefix for modules?
18669 need_lib_prefix=$need_lib_prefix
18671 # Do we need a version for libraries?
18672 need_version=$need_version
18674 # Library versioning type.
18675 version_type=$version_type
18677 # Shared library runtime path variable.
18678 runpath_var=$runpath_var
18680 # Shared library path variable.
18681 shlibpath_var=$shlibpath_var
18683 # Is shlibpath searched before the hard-coded library search path?
18684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18686 # Format of library name prefix.
18687 libname_spec=$lt_libname_spec
18689 # List of archive names. First name is the real one, the rest are links.
18690 # The last name is the one that the linker finds with -lNAME
18691 library_names_spec=$lt_library_names_spec
18693 # The coded name of the library, if different from the real name.
18694 soname_spec=$lt_soname_spec
18696 # Command to use after installation of a shared archive.
18697 postinstall_cmds=$lt_postinstall_cmds
18699 # Command to use after uninstallation of a shared archive.
18700 postuninstall_cmds=$lt_postuninstall_cmds
18702 # Commands used to finish a libtool library installation in a directory.
18703 finish_cmds=$lt_finish_cmds
18705 # As "finish_cmds", except a single script fragment to be evaled but
18707 finish_eval=$lt_finish_eval
18709 # Whether we should hardcode library paths into libraries.
18710 hardcode_into_libs=$hardcode_into_libs
18712 # Compile-time system search path for libraries.
18713 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18715 # Run-time system search path for libraries.
18716 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18718 # Whether dlopen is supported.
18719 dlopen_support=$enable_dlopen
18721 # Whether dlopen of programs is supported.
18722 dlopen_self=$enable_dlopen_self
18724 # Whether dlopen of statically linked programs is supported.
18725 dlopen_self_static=$enable_dlopen_self_static
18727 # Commands to strip libraries.
18728 old_striplib=$lt_old_striplib
18729 striplib=$lt_striplib
18732 # The linker used to build libraries.
18735 # Commands used to build an old-style archive.
18736 old_archive_cmds=$lt_old_archive_cmds
18738 # A language specific compiler.
18741 # Is the compiler the GNU compiler?
18744 # Compiler flag to turn off builtin functions.
18745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18747 # How to pass a linker flag through the compiler.
18748 wl=$lt_lt_prog_compiler_wl
18750 # Additional compiler flags for building library objects.
18751 pic_flag=$lt_lt_prog_compiler_pic
18753 # Compiler flag to prevent dynamic linking.
18754 link_static_flag=$lt_lt_prog_compiler_static
18756 # Does compiler simultaneously support -c and -o options?
18757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18759 # Whether or not to add -lc for building shared libraries.
18760 build_libtool_need_lc=$archive_cmds_need_lc
18762 # Whether or not to disallow shared libs when runtime libs are static.
18763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18765 # Compiler flag to allow reflexive dlopens.
18766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18768 # Compiler flag to generate shared objects directly from archives.
18769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18771 # Whether the compiler copes with passing no objects directly.
18772 compiler_needs_object=$lt_compiler_needs_object
18774 # Create an old-style archive from a shared archive.
18775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18777 # Create a temporary old-style archive to link instead of a shared archive.
18778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18780 # Commands used to build a shared archive.
18781 archive_cmds=$lt_archive_cmds
18782 archive_expsym_cmds=$lt_archive_expsym_cmds
18784 # Commands used to build a loadable module if different from building
18785 # a shared archive.
18786 module_cmds=$lt_module_cmds
18787 module_expsym_cmds=$lt_module_expsym_cmds
18789 # Whether we are building with GNU ld or not.
18790 with_gnu_ld=$lt_with_gnu_ld
18792 # Flag that allows shared libraries with undefined symbols to be built.
18793 allow_undefined_flag=$lt_allow_undefined_flag
18795 # Flag that enforces no undefined symbols.
18796 no_undefined_flag=$lt_no_undefined_flag
18798 # Flag to hardcode \$libdir into a binary during linking.
18799 # This must work even if \$libdir does not exist
18800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18802 # If ld is used when linking, flag to hardcode \$libdir into a binary
18803 # during linking. This must work even if \$libdir does not exist.
18804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18806 # Whether we need a single "-rpath" flag with a separated argument.
18807 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18810 # DIR into the resulting binary.
18811 hardcode_direct=$hardcode_direct
18813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18814 # DIR into the resulting binary and the resulting library dependency is
18815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18816 # library is relocated.
18817 hardcode_direct_absolute=$hardcode_direct_absolute
18819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18820 # into the resulting binary.
18821 hardcode_minus_L=$hardcode_minus_L
18823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18824 # into the resulting binary.
18825 hardcode_shlibpath_var=$hardcode_shlibpath_var
18827 # Set to "yes" if building a shared library automatically hardcodes DIR
18828 # into the library and all subsequent libraries and executables linked
18830 hardcode_automatic=$hardcode_automatic
18832 # Set to yes if linker adds runtime paths of dependent libraries
18833 # to runtime path list.
18834 inherit_rpath=$inherit_rpath
18836 # Whether libtool must link a program against all its dependency libraries.
18837 link_all_deplibs=$link_all_deplibs
18839 # Fix the shell variable \$srcfile for the compiler.
18840 fix_srcfile_path=$lt_fix_srcfile_path
18842 # Set to "yes" if exported symbols are required.
18843 always_export_symbols=$always_export_symbols
18845 # The commands to list exported symbols.
18846 export_symbols_cmds=$lt_export_symbols_cmds
18848 # Symbols that should not be listed in the preloaded symbols.
18849 exclude_expsyms=$lt_exclude_expsyms
18851 # Symbols that must always be exported.
18852 include_expsyms=$lt_include_expsyms
18854 # Commands necessary for linking programs (against libraries) with templates.
18855 prelink_cmds=$lt_prelink_cmds
18857 # Specify filename containing input files.
18858 file_list_spec=$lt_file_list_spec
18860 # How to hardcode a shared library path into an executable.
18861 hardcode_action=$hardcode_action
18863 # The directories searched by this compiler when creating a shared library.
18864 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18866 # Dependencies to place before and after the objects being linked to
18867 # create a shared library.
18868 predep_objects=$lt_predep_objects
18869 postdep_objects=$lt_postdep_objects
18870 predeps=$lt_predeps
18871 postdeps=$lt_postdeps
18873 # The library search path used internally by the compiler when linking
18874 # a shared library.
18875 compiler_lib_search_path=$lt_compiler_lib_search_path
18877 # ### END LIBTOOL CONFIG
18883 cat <<\_LT_EOF >> "$cfgfile"
18884 # AIX sometimes has problems with the GCC collect2 program. For some
18885 # reason, if we set the COLLECT_NAMES environment variable, the problems
18886 # vanish in a puff of smoke.
18887 if test "X${COLLECT_NAMES+set}" != Xset; then
18889 export COLLECT_NAMES
18896 ltmain="$ac_aux_dir/ltmain.sh"
18899 # We use sed instead of cat because bash on DJGPP gets confused if
18900 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18901 # text mode, it properly converts lines to CR/LF. This bash problem
18902 # is reportedly fixed, but why not run on old versions too?
18903 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18904 || (rm -f "$cfgfile"; exit 1)
18908 cat << \_LT_EOF
>> "$cfgfile"
18910 # func_dirname file append nondir_replacement
18911 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18912 # otherwise set result to NONDIR_REPLACEMENT.
18916 */*) func_dirname_result
="${1%/*}${2}" ;;
18917 * ) func_dirname_result
="${3}" ;;
18921 # func_basename file
18924 func_basename_result
="${1##*/}"
18927 # func_dirname_and_basename file append nondir_replacement
18928 # perform func_basename and func_dirname in a single function
18930 # dirname: Compute the dirname of FILE. If nonempty,
18931 # add APPEND to the result, otherwise set result
18932 # to NONDIR_REPLACEMENT.
18933 # value returned in "$func_dirname_result"
18934 # basename: Compute filename of FILE.
18935 # value retuned in "$func_basename_result"
18936 # Implementation must be kept synchronized with func_dirname
18937 # and func_basename. For efficiency, we do not delegate to
18938 # those functions but instead duplicate the functionality here.
18939 func_dirname_and_basename
()
18942 */*) func_dirname_result
="${1%/*}${2}" ;;
18943 * ) func_dirname_result
="${3}" ;;
18945 func_basename_result
="${1##*/}"
18948 # func_stripname prefix suffix name
18949 # strip PREFIX and SUFFIX off of NAME.
18950 # PREFIX and SUFFIX must not contain globbing or regex special
18951 # characters, hashes, percent signs, but SUFFIX may contain a leading
18952 # dot (in which case that matches only a dot).
18955 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18956 # positional parameters, so assign one to ordinary parameter first.
18957 func_stripname_result
=${3}
18958 func_stripname_result
=${func_stripname_result#"${1}"}
18959 func_stripname_result
=${func_stripname_result%"${2}"}
18965 func_opt_split_opt
=${1%%=*}
18966 func_opt_split_arg
=${1#*=}
18973 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18974 *) func_lo2o_result
=${1} ;;
18978 # func_xform libobj-or-source
18981 func_xform_result
=${1%.*}.lo
18984 # func_arith arithmetic-term...
18987 func_arith_result
=$(( $* ))
18991 # STRING may not start with a hyphen.
18994 func_len_result
=${#1}
18999 *) # Bourne compatible functions.
19000 cat << \_LT_EOF
>> "$cfgfile"
19002 # func_dirname file append nondir_replacement
19003 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19004 # otherwise set result to NONDIR_REPLACEMENT.
19007 # Extract subdirectory from the argument.
19008 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19009 if test "X$func_dirname_result" = "X${1}"; then
19010 func_dirname_result
="${3}"
19012 func_dirname_result
="$func_dirname_result${2}"
19016 # func_basename file
19019 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
19023 # func_stripname prefix suffix name
19024 # strip PREFIX and SUFFIX off of NAME.
19025 # PREFIX and SUFFIX must not contain globbing or regex special
19026 # characters, hashes, percent signs, but SUFFIX may contain a leading
19027 # dot (in which case that matches only a dot).
19028 # func_strip_suffix prefix name
19032 .
*) func_stripname_result
=`$ECHO "X${3}" \
19033 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19034 *) func_stripname_result
=`$ECHO "X${3}" \
19035 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19040 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19041 my_sed_long_arg
='1s/^-[^=]*=//'
19046 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19047 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19053 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19056 # func_xform libobj-or-source
19059 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19062 # func_arith arithmetic-term...
19065 func_arith_result
=`expr "$@"`
19069 # STRING may not start with a hyphen.
19072 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19078 case $lt_shell_append in
19080 cat << \_LT_EOF
>> "$cfgfile"
19082 # func_append var value
19083 # Append VALUE to the end of shell variable VAR.
19091 cat << \_LT_EOF
>> "$cfgfile"
19093 # func_append var value
19094 # Append VALUE to the end of shell variable VAR.
19105 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19106 || (rm -f "$cfgfile"; exit 1)
19108 mv -f "$cfgfile" "$ofile" ||
19109 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19113 cat <<_LT_EOF >> "$ofile"
19115 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19117 # The linker used to build libraries.
19120 # Commands used to build an old-style archive.
19121 old_archive_cmds=$lt_old_archive_cmds_CXX
19123 # A language specific compiler.
19124 CC=$lt_compiler_CXX
19126 # Is the compiler the GNU compiler?
19129 # Compiler flag to turn off builtin functions.
19130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19132 # How to pass a linker flag through the compiler.
19133 wl=$lt_lt_prog_compiler_wl_CXX
19135 # Additional compiler flags for building library objects.
19136 pic_flag=$lt_lt_prog_compiler_pic_CXX
19138 # Compiler flag to prevent dynamic linking.
19139 link_static_flag=$lt_lt_prog_compiler_static_CXX
19141 # Does compiler simultaneously support -c and -o options?
19142 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19144 # Whether or not to add -lc for building shared libraries.
19145 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19147 # Whether or not to disallow shared libs when runtime libs are static.
19148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19150 # Compiler flag to allow reflexive dlopens.
19151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19153 # Compiler flag to generate shared objects directly from archives.
19154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19156 # Whether the compiler copes with passing no objects directly.
19157 compiler_needs_object=$lt_compiler_needs_object_CXX
19159 # Create an old-style archive from a shared archive.
19160 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19162 # Create a temporary old-style archive to link instead of a shared archive.
19163 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19165 # Commands used to build a shared archive.
19166 archive_cmds=$lt_archive_cmds_CXX
19167 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19169 # Commands used to build a loadable module if different from building
19170 # a shared archive.
19171 module_cmds=$lt_module_cmds_CXX
19172 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19174 # Whether we are building with GNU ld or not.
19175 with_gnu_ld=$lt_with_gnu_ld_CXX
19177 # Flag that allows shared libraries with undefined symbols to be built.
19178 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19180 # Flag that enforces no undefined symbols.
19181 no_undefined_flag=$lt_no_undefined_flag_CXX
19183 # Flag to hardcode \$libdir into a binary during linking.
19184 # This must work even if \$libdir does not exist
19185 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19187 # If ld is used when linking, flag to hardcode \$libdir into a binary
19188 # during linking. This must work even if \$libdir does not exist.
19189 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19191 # Whether we need a single "-rpath" flag with a separated argument.
19192 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19195 # DIR into the resulting binary.
19196 hardcode_direct=$hardcode_direct_CXX
19198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19199 # DIR into the resulting binary and the resulting library dependency is
19200 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19201 # library is relocated.
19202 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19204 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19205 # into the resulting binary.
19206 hardcode_minus_L=$hardcode_minus_L_CXX
19208 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19209 # into the resulting binary.
19210 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19212 # Set to "yes" if building a shared library automatically hardcodes DIR
19213 # into the library and all subsequent libraries and executables linked
19215 hardcode_automatic=$hardcode_automatic_CXX
19217 # Set to yes if linker adds runtime paths of dependent libraries
19218 # to runtime path list.
19219 inherit_rpath=$inherit_rpath_CXX
19221 # Whether libtool must link a program against all its dependency libraries.
19222 link_all_deplibs=$link_all_deplibs_CXX
19224 # Fix the shell variable \$srcfile for the compiler.
19225 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19227 # Set to "yes" if exported symbols are required.
19228 always_export_symbols=$always_export_symbols_CXX
19230 # The commands to list exported symbols.
19231 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19233 # Symbols that should not be listed in the preloaded symbols.
19234 exclude_expsyms=$lt_exclude_expsyms_CXX
19236 # Symbols that must always be exported.
19237 include_expsyms=$lt_include_expsyms_CXX
19239 # Commands necessary for linking programs (against libraries) with templates.
19240 prelink_cmds=$lt_prelink_cmds_CXX
19242 # Specify filename containing input files.
19243 file_list_spec=$lt_file_list_spec_CXX
19245 # How to hardcode a shared library path into an executable.
19246 hardcode_action=$hardcode_action_CXX
19248 # The directories searched by this compiler when creating a shared library.
19249 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19251 # Dependencies to place before and after the objects being linked to
19252 # create a shared library.
19253 predep_objects=$lt_predep_objects_CXX
19254 postdep_objects=$lt_postdep_objects_CXX
19255 predeps=$lt_predeps_CXX
19256 postdeps=$lt_postdeps_CXX
19258 # The library search path used internally by the compiler when linking
19259 # a shared library.
19260 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19262 # ### END LIBTOOL TAG CONFIG: CXX
19273 ac_clean_files
=$ac_clean_files_save
19275 test $ac_write_fail = 0 ||
19276 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19279 # configure is writing to config.log, and then calls config.status.
19280 # config.status does its own redirection, appending to config.log.
19281 # Unfortunately, on DOS this fails, as config.log is still kept open
19282 # by configure, so config.status won't be able to write to it; its
19283 # output is simply discarded. So we exec the FD to /dev/null,
19284 # effectively closing config.log, so it can be properly (re)opened and
19285 # appended to by config.status. When coming back to configure, we
19286 # need to make the FD available again.
19287 if test "$no_create" != yes; then
19289 ac_config_status_args
=
19290 test "$silent" = yes &&
19291 ac_config_status_args
="$ac_config_status_args --quiet"
19293 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19295 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19296 # would make configure fail if this is the last instruction.
19297 $ac_cs_success || as_fn_exit $?
19299 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19301 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}