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
905 program_transform_name
918 enable_option_checking
929 ac_precious_vars
='build_alias
954 # Initialize some variables set by options.
956 ac_init_version
=false
957 ac_unrecognized_opts
=
959 # The variables have the same names as the options, with
960 # dashes changed to underlines.
968 program_transform_name
=s
,x
,x
,
976 # Installation directory options.
977 # These are left unexpanded so users can "make install exec_prefix=/foo"
978 # and all the variables that are supposed to be based on exec_prefix
979 # by default will actually change.
980 # Use braces instead of parens because sh, perl, etc. also accept them.
981 # (The list follows the same order as the GNU Coding Standards.)
982 bindir
='${exec_prefix}/bin'
983 sbindir
='${exec_prefix}/sbin'
984 libexecdir
='${exec_prefix}/libexec'
985 datarootdir
='${prefix}/share'
986 datadir
='${datarootdir}'
987 sysconfdir
='${prefix}/etc'
988 sharedstatedir
='${prefix}/com'
989 localstatedir
='${prefix}/var'
990 includedir
='${prefix}/include'
991 oldincludedir
='/usr/include'
992 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
993 infodir
='${datarootdir}/info'
998 libdir
='${exec_prefix}/lib'
999 localedir
='${datarootdir}/locale'
1000 mandir
='${datarootdir}/man'
1006 # If the previous option needs an argument, assign it.
1007 if test -n "$ac_prev"; then
1008 eval $ac_prev=\
$ac_option
1014 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1018 # Accept the important Cygnus configure options, so we can diagnose typos.
1020 case $ac_dashdash$ac_option in
1024 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1026 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1027 bindir
=$ac_optarg ;;
1029 -build | --build | --buil | --bui | --bu)
1030 ac_prev
=build_alias
;;
1031 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1032 build_alias
=$ac_optarg ;;
1034 -cache-file | --cache-file | --cache-fil | --cache-fi \
1035 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1036 ac_prev
=cache_file
;;
1037 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1038 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1039 cache_file
=$ac_optarg ;;
1041 --config-cache | -C)
1042 cache_file
=config.cache
;;
1044 -datadir | --datadir | --datadi | --datad)
1046 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1047 datadir
=$ac_optarg ;;
1049 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1050 | --dataroo | --dataro | --datar)
1051 ac_prev
=datarootdir
;;
1052 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1053 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1054 datarootdir
=$ac_optarg ;;
1056 -disable-* | --disable-*)
1057 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1060 as_fn_error
"invalid feature name: $ac_useropt"
1061 ac_useropt_orig
=$ac_useropt
1062 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1065 "enable_
$ac_useropt"
1067 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1068 ac_unrecognized_sep
=', ';;
1070 eval enable_
$ac_useropt=no
;;
1072 -docdir | --docdir | --docdi | --doc | --do)
1074 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1075 docdir
=$ac_optarg ;;
1077 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1079 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1080 dvidir
=$ac_optarg ;;
1082 -enable-* | --enable-*)
1083 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1086 as_fn_error
"invalid feature name: $ac_useropt"
1087 ac_useropt_orig
=$ac_useropt
1088 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089 case $ac_user_opts in
1091 "enable_
$ac_useropt"
1093 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1094 ac_unrecognized_sep
=', ';;
1096 eval enable_
$ac_useropt=\
$ac_optarg ;;
1098 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1099 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1100 | --exec | --exe | --ex)
1101 ac_prev
=exec_prefix
;;
1102 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1103 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1104 | --exec=* | --exe=* | --ex=*)
1105 exec_prefix
=$ac_optarg ;;
1107 -gas | --gas | --ga | --g)
1108 # Obsolete; use --with-gas.
1111 -help | --help | --hel | --he | -h)
1112 ac_init_help
=long
;;
1113 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1114 ac_init_help
=recursive
;;
1115 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1116 ac_init_help
=short
;;
1118 -host | --host | --hos | --ho)
1119 ac_prev
=host_alias
;;
1120 -host=* | --host=* | --hos=* | --ho=*)
1121 host_alias
=$ac_optarg ;;
1123 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127 htmldir
=$ac_optarg ;;
1129 -includedir | --includedir | --includedi | --included | --include \
1130 | --includ | --inclu | --incl | --inc)
1131 ac_prev
=includedir
;;
1132 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1133 | --includ=* | --inclu=* | --incl=* | --inc=*)
1134 includedir
=$ac_optarg ;;
1136 -infodir | --infodir | --infodi | --infod | --info | --inf)
1138 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1139 infodir
=$ac_optarg ;;
1141 -libdir | --libdir | --libdi | --libd)
1143 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1144 libdir
=$ac_optarg ;;
1146 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1147 | --libexe | --libex | --libe)
1148 ac_prev
=libexecdir
;;
1149 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1150 | --libexe=* | --libex=* | --libe=*)
1151 libexecdir
=$ac_optarg ;;
1153 -localedir | --localedir | --localedi | --localed | --locale)
1154 ac_prev
=localedir
;;
1155 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1156 localedir
=$ac_optarg ;;
1158 -localstatedir | --localstatedir | --localstatedi | --localstated \
1159 | --localstate | --localstat | --localsta | --localst | --locals)
1160 ac_prev
=localstatedir
;;
1161 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1162 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1163 localstatedir
=$ac_optarg ;;
1165 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1168 mandir
=$ac_optarg ;;
1170 -nfp | --nfp | --nf)
1171 # Obsolete; use --without-fp.
1174 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1175 | --no-cr | --no-c | -n)
1178 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1179 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1182 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1183 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1184 | --oldin | --oldi | --old | --ol | --o)
1185 ac_prev
=oldincludedir
;;
1186 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1187 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1188 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1189 oldincludedir
=$ac_optarg ;;
1191 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1194 prefix
=$ac_optarg ;;
1196 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1197 | --program-pre | --program-pr | --program-p)
1198 ac_prev
=program_prefix
;;
1199 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1200 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1201 program_prefix
=$ac_optarg ;;
1203 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1204 | --program-suf | --program-su | --program-s)
1205 ac_prev
=program_suffix
;;
1206 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1207 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1208 program_suffix
=$ac_optarg ;;
1210 -program-transform-name | --program-transform-name \
1211 | --program-transform-nam | --program-transform-na \
1212 | --program-transform-n | --program-transform- \
1213 | --program-transform | --program-transfor \
1214 | --program-transfo | --program-transf \
1215 | --program-trans | --program-tran \
1216 | --progr-tra | --program-tr | --program-t)
1217 ac_prev
=program_transform_name
;;
1218 -program-transform-name=* | --program-transform-name=* \
1219 | --program-transform-nam=* | --program-transform-na=* \
1220 | --program-transform-n=* | --program-transform-=* \
1221 | --program-transform=* | --program-transfor=* \
1222 | --program-transfo=* | --program-transf=* \
1223 | --program-trans=* | --program-tran=* \
1224 | --progr-tra=* | --program-tr=* | --program-t=*)
1225 program_transform_name
=$ac_optarg ;;
1227 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1230 pdfdir
=$ac_optarg ;;
1232 -psdir | --psdir | --psdi | --psd | --ps)
1234 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1238 | -silent | --silent | --silen | --sile | --sil)
1241 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245 sbindir
=$ac_optarg ;;
1247 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1248 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1249 | --sharedst | --shareds | --shared | --share | --shar \
1251 ac_prev
=sharedstatedir
;;
1252 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1253 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1254 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256 sharedstatedir
=$ac_optarg ;;
1258 -site | --site | --sit)
1260 -site=* | --site=* | --sit=*)
1263 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1266 srcdir
=$ac_optarg ;;
1268 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1269 | --syscon | --sysco | --sysc | --sys | --sy)
1270 ac_prev
=sysconfdir
;;
1271 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1272 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1273 sysconfdir
=$ac_optarg ;;
1275 -target | --target | --targe | --targ | --tar | --ta | --t)
1276 ac_prev
=target_alias
;;
1277 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1278 target_alias
=$ac_optarg ;;
1280 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1283 -version | --version | --versio | --versi | --vers | -V)
1284 ac_init_version
=: ;;
1287 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1290 as_fn_error
"invalid package name: $ac_useropt"
1291 ac_useropt_orig
=$ac_useropt
1292 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1297 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1298 ac_unrecognized_sep
=', ';;
1300 eval with_
$ac_useropt=\
$ac_optarg ;;
1302 -without-* | --without-*)
1303 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1304 # Reject names that are not valid shell variable names.
1305 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1306 as_fn_error
"invalid package name: $ac_useropt"
1307 ac_useropt_orig
=$ac_useropt
1308 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1309 case $ac_user_opts in
1313 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1314 ac_unrecognized_sep
=', ';;
1316 eval with_
$ac_useropt=no
;;
1319 # Obsolete; use --with-x.
1322 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1323 | --x-incl | --x-inc | --x-in | --x-i)
1324 ac_prev
=x_includes
;;
1325 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1326 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1327 x_includes
=$ac_optarg ;;
1329 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1330 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1331 ac_prev
=x_libraries
;;
1332 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1333 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1334 x_libraries
=$ac_optarg ;;
1336 -*) as_fn_error
"unrecognized option: \`$ac_option'
1337 Try \`$0 --help' for more information."
1341 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1342 # Reject names that are not valid shell variable names.
1343 case $ac_envvar in #(
1344 '' | [0-9]* | *[!_$as_cr_alnum]* )
1345 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1347 eval $ac_envvar=\
$ac_optarg
1348 export $ac_envvar ;;
1351 # FIXME: should be removed in autoconf 3.0.
1352 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1353 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1354 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1355 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1361 if test -n "$ac_prev"; then
1362 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1363 as_fn_error
"missing argument to $ac_option"
1366 if test -n "$ac_unrecognized_opts"; then
1367 case $enable_option_checking in
1369 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1370 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1374 # Check all directory arguments for consistency.
1375 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1376 datadir sysconfdir sharedstatedir localstatedir includedir \
1377 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1378 libdir localedir mandir
1380 eval ac_val
=\$
$ac_var
1381 # Remove trailing slashes.
1384 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1385 eval $ac_var=\
$ac_val;;
1387 # Be sure to have absolute directory names.
1389 [\\/$
]* | ?
:[\\/]* ) continue;;
1390 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1392 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1395 # There might be people who depend on the old broken behavior: `$host'
1396 # used to hold the argument of --host etc.
1397 # FIXME: To remove some day.
1400 target
=$target_alias
1402 # FIXME: To remove some day.
1403 if test "x$host_alias" != x
; then
1404 if test "x$build_alias" = x
; then
1405 cross_compiling
=maybe
1406 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1407 If a cross compiler is detected then cross compile mode will be used." >&2
1408 elif test "x$build_alias" != "x$host_alias"; then
1414 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1416 test "$silent" = yes && exec 6>/dev
/null
1419 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1420 ac_ls_di
=`ls -di .` &&
1421 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1422 as_fn_error
"working directory cannot be determined"
1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1424 as_fn_error
"pwd does not report name of working directory"
1427 # Find the source files, if location was not specified.
1428 if test -z "$srcdir"; then
1429 ac_srcdir_defaulted
=yes
1430 # Try the directory containing this script, then the parent directory.
1431 ac_confdir
=`$as_dirname -- "$as_myself" ||
1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1433 X"$as_myself" : 'X\(//\)[^/]' \| \
1434 X"$as_myself" : 'X\(//\)$' \| \
1435 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1436 $as_echo X"$as_myself" |
1437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1459 ac_srcdir_defaulted
=no
1461 if test ! -r "$srcdir/$ac_unique_file"; then
1462 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1463 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1465 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1467 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1469 # When building in place, set srcdir=.
1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
1473 # Remove unnecessary trailing slashes from srcdir.
1474 # Double slashes in file names in object file debugging info
1475 # mess up M-x gdb in Emacs.
1477 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1479 for ac_var
in $ac_precious_vars; do
1480 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1481 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1482 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1483 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1487 # Report the --help message.
1489 if test "$ac_init_help" = "long"; then
1490 # Omit some internal or obsolete options to make the list less imposing.
1491 # This message is too long to be a string in the A/UX 3.1 sh.
1493 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1495 Usage: $0 [OPTION]... [VAR=VALUE]...
1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1498 VAR=VALUE. See below for descriptions of some of the useful variables.
1500 Defaults for the options are specified in brackets.
1503 -h, --help display this help and exit
1504 --help=short display options specific to this package
1505 --help=recursive display the short help of all the included packages
1506 -V, --version display version information and exit
1507 -q, --quiet, --silent do not print \`checking...' messages
1508 --cache-file=FILE cache test results in FILE [disabled]
1509 -C, --config-cache alias for \`--cache-file=config.cache'
1510 -n, --no-create do not create output files
1511 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1513 Installation directories:
1514 --prefix=PREFIX install architecture-independent files in PREFIX
1515 [$ac_default_prefix]
1516 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1519 By default, \`make install' will install all the files in
1520 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1521 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1522 for instance \`--prefix=\$HOME'.
1524 For better control, use the options below.
1526 Fine tuning of the installation directories:
1527 --bindir=DIR user executables [EPREFIX/bin]
1528 --sbindir=DIR system admin executables [EPREFIX/sbin]
1529 --libexecdir=DIR program executables [EPREFIX/libexec]
1530 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1531 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1532 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1533 --libdir=DIR object code libraries [EPREFIX/lib]
1534 --includedir=DIR C header files [PREFIX/include]
1535 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1536 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1537 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1538 --infodir=DIR info documentation [DATAROOTDIR/info]
1539 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1540 --mandir=DIR man documentation [DATAROOTDIR/man]
1541 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1542 --htmldir=DIR html documentation [DOCDIR]
1543 --dvidir=DIR dvi documentation [DOCDIR]
1544 --pdfdir=DIR pdf documentation [DOCDIR]
1545 --psdir=DIR ps documentation [DOCDIR]
1551 --build=BUILD configure
for building on BUILD
[guessed
]
1552 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1556 if test -n "$ac_init_help"; then
1557 case $ac_init_help in
1558 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1563 --disable-option-checking ignore unrecognized
--enable/--with options
1564 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1565 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1566 --enable-static[=PKGS
] build static libraries
[default
=no
]
1567 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1568 --enable-fast-install[=PKGS
]
1569 optimize
for fast installation
[default
=yes]
1570 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1571 --disable-rpath do not hardcode runtime library paths
1574 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1575 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1576 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1578 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1579 --with-apr=PATH prefix
for installed APR or the full path to
1581 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1582 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1583 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1585 Some influential environment variables:
1586 CC C compiler command
1587 CFLAGS C compiler flags
1588 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1589 nonstandard directory <lib dir>
1590 LIBS libraries to pass to the linker, e.g. -l<library>
1591 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1592 you have headers in a nonstandard directory <include dir>
1594 PKG_CONFIG path to pkg-config utility
1595 CXX C++ compiler command
1596 CXXFLAGS C++ compiler flags
1597 CXXCPP C++ preprocessor
1598 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1599 the first program found out of
: `bison -y', `byacc
', `yacc'.
1600 YFLAGS The list of arguments that will be passed by default to
$YACC.
1601 This
script will default YFLAGS to the empty string to avoid a
1602 default value of
`-d' given by some make applications.
1603 GPERF perfect hash function generator
1605 C compiler flags for WEBKIT, overriding pkg-config
1606 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1607 OBJCXX Objective C++ compiler command
1608 OBJCXXFLAGS Objective C++ compiler flags
1610 C compiler flags for LIBFFI, overriding pkg-config
1611 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1613 Use these variables to override the choices made by `configure
' or to help
1614 it to find libraries and programs with nonstandard names/locations.
1616 Report bugs to <saurik@saurik.com>.
1617 Cycript home page: <http://www.cycript.org/>.
1622 if test "$ac_init_help" = "recursive"; then
1623 # If there are subdirs, report their specific --help.
1624 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1625 test -d "$ac_dir" ||
1626 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1634 # A ".." for each directory in $ac_dir_suffix.
1635 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1636 case $ac_top_builddir_sub in
1637 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1641 ac_abs_top_builddir=$ac_pwd
1642 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1643 # for backward compatibility:
1644 ac_top_builddir=$ac_top_build_prefix
1647 .) # We are building in place.
1649 ac_top_srcdir=$ac_top_builddir_sub
1650 ac_abs_top_srcdir=$ac_pwd ;;
1651 [\\/]* | ?:[\\/]* ) # Absolute name.
1652 ac_srcdir=$srcdir$ac_dir_suffix;
1653 ac_top_srcdir=$srcdir
1654 ac_abs_top_srcdir=$srcdir ;;
1656 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657 ac_top_srcdir=$ac_top_build_prefix$srcdir
1658 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1660 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1662 cd "$ac_dir" || { ac_status=$?; continue; }
1663 # Check for guested configure.
1664 if test -f "$ac_srcdir/configure.gnu"; then
1666 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667 elif test -f "$ac_srcdir/configure"; then
1669 $SHELL "$ac_srcdir/configure" --help=recursive
1671 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673 cd "$ac_pwd" || { ac_status=$?; break; }
1677 test -n "$ac_init_help" && exit $ac_status
1678 if $ac_init_version; then
1680 Cycript configure 0.9
1681 generated by GNU Autoconf 2.65
1683 Copyright (C) 2009 Free Software Foundation, Inc.
1684 This configure script is free software; the Free Software Foundation
1685 gives unlimited permission to copy, distribute and modify it.
1690 ## ------------------------ ##
1691 ## Autoconf initialization. ##
1692 ## ------------------------ ##
1694 # ac_fn_c_try_compile LINENO
1695 # --------------------------
1696 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1697 ac_fn_c_try_compile ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 rm -f conftest.$ac_objext
1701 if { { ac_try="$ac_compile"
1703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704 *) ac_try_echo=$ac_try;;
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_compile") 2>conftest.err
1710 if test -s conftest.err; then
1711 grep -v '^
*+' conftest.err >conftest.er1
1712 cat conftest.er1 >&5
1713 mv -f conftest.er1 conftest.err
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; } && {
1717 test -z "$ac_c_werror_flag" ||
1718 test ! -s conftest.err
1719 } && test -s conftest.$ac_objext; then :
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's
/^
/| /' conftest.$ac_ext >&5
1727 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_compile
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 rm -f conftest.$ac_objext conftest$ac_exeext
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^
*+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } && {
1755 test -z "$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1757 } && test -s conftest$ac_exeext && {
1758 test "$cross_compiling" = yes ||
1759 $as_test_x conftest$ac_exeext
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's
/^
/| /' conftest.$ac_ext >&5
1768 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770 # interfere with the next link command; also delete a directory that is
1771 # left behind by Apple's compiler. We
do this before executing the actions.
1772 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1774 as_fn_set_status
$ac_retval
1776 } # ac_fn_c_try_link
1778 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1779 # -------------------------------------------------------
1780 # Tests whether HEADER exists and can be compiled using the include files in
1781 # INCLUDES, setting the cache variable VAR accordingly.
1782 ac_fn_c_check_header_compile
()
1784 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786 $as_echo_n "checking for $2... " >&6; }
1787 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1788 $as_echo_n "(cached) " >&6
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile
"$LINENO"; then :
1800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1807 } # ac_fn_c_check_header_compile
1809 # ac_fn_c_try_cpp LINENO
1810 # ----------------------
1811 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1814 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1815 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1824 if test -s conftest.err; then
1825 grep -v '^ *+' conftest.err >conftest.er1
1826 cat conftest.er1 >&5
1827 mv -f conftest.er1 conftest.err
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } >/dev/null && {
1831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1832 test ! -s conftest.err
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_try_run LINENO
1847 # ----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1849 # that executables *can* be run.
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 if { { ac_try="$ac_link"
1855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1856 *) ac_try_echo
=$ac_try;;
1858 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>&5
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1864 { { case "(($ac_try" in
1865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_try") 2>&5
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; }; }; then :
1876 $as_echo "$as_me: program exited with status $ac_status" >&5
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1880 ac_retval=$ac_status
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884 as_fn_set_status $ac_retval
1888 # ac_fn_c_check_func LINENO FUNC VAR
1889 # ----------------------------------
1890 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1891 ac_fn_c_check_func ()
1893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895 $as_echo_n "checking for $2... " >&6; }
1896 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897 $as_echo_n "(cached) " >&6
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900 /* end confdefs.h. */
1901 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903 #define $2 innocuous_$2
1905 /* System header to define __stub macros and hopefully few prototypes,
1906 which can conflict with char $2 (); below.
1907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908 <limits.h> exists even on freestanding compilers. */
1911 # include <limits.h>
1913 # include <assert.h>
1918 /* Override any GCC internal prototype to avoid an error.
1919 Use char because int might match the return type of a GCC
1920 builtin and then its argument prototype would still apply. */
1925 /* The GNU C library defines this for functions which it implements
1926 to always fail with ENOSYS. Some functions are actually named
1927 something starting with __ and the normal name is an alias. */
1928 #if defined __stub_$2 || defined __stub___$2
1940 if ac_fn_c_try_link "$LINENO"; then :
1945 rm -f core conftest.err conftest.$ac_objext \
1946 conftest$ac_exeext conftest.$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953 } # ac_fn_c_check_func
1955 # ac_fn_cxx_try_compile LINENO
1956 # ----------------------------
1957 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1958 ac_fn_cxx_try_compile ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 rm -f conftest.$ac_objext
1962 if { { ac_try="$ac_compile"
1964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1965 *) ac_try_echo
=$ac_try;;
1967 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1968 $as_echo "$ac_try_echo"; } >&5
1969 (eval "$ac_compile") 2>conftest.err
1971 if test -s conftest.err
; then
1972 grep -v '^ *+' conftest.err
>conftest.er1
1973 cat conftest.er1
>&5
1974 mv -f conftest.er1 conftest.err
1976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1977 test $ac_status = 0; } && {
1978 test -z "$ac_cxx_werror_flag" ||
1979 test ! -s conftest.err
1980 } && test -s conftest.
$ac_objext; then :
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.
$ac_ext >&5
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1989 as_fn_set_status
$ac_retval
1991 } # ac_fn_cxx_try_compile
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp
()
1998 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1999 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 as_fn_set_status $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2039 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2040 *) ac_try_echo
=$ac_try;;
2042 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2046 if test -s conftest.err
; then
2047 grep -v '^ *+' conftest.err
>conftest.er1
2048 cat conftest.er1
>&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest
$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest
$ac_exeext
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.
$ac_ext >&5
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2072 as_fn_set_status
$ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # ---------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2081 ac_fn_cxx_check_header_mongrel
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2102 if ac_fn_cxx_try_compile
"$LINENO"; then :
2103 ac_header_compiler
=yes
2105 ac_header_compiler
=no
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2118 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2119 ac_header_preproc
=yes
2121 ac_header_preproc
=no
2123 rm -f conftest.err conftest.
$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 ## -------------------------------- ##
2148 ## Report this to saurik@saurik.com ##
2149 ## -------------------------------- ##
2151 ) | sed "s/^/$as_me: WARNING: /" >&2
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2159 eval "$3=\$ac_header_compiler"
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2167 } # ac_fn_cxx_check_header_mongrel
2169 # ac_fn_objcxx_try_compile LINENO
2170 # -------------------------------
2171 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2172 ac_fn_objcxx_try_compile
()
2174 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2175 rm -f conftest.
$ac_objext
2176 if { { ac_try
="$ac_compile"
2178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2179 *) ac_try_echo=$ac_try;;
2181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2182 $as_echo "$ac_try_echo"; } >&5
2183 (eval "$ac_compile") 2>conftest.err
2185 if test -s conftest.err; then
2186 grep -v '^ *+' conftest.err >conftest.er1
2187 cat conftest.er1 >&5
2188 mv -f conftest.er1 conftest.err
2190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2191 test $ac_status = 0; } && {
2192 test -z "$ac_objcxx_werror_flag" ||
2193 test ! -s conftest.err
2194 } && test -s conftest.$ac_objext; then :
2197 $as_echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2202 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2203 as_fn_set_status $ac_retval
2205 } # ac_fn_objcxx_try_compile
2207 # ac_fn_objcxx_try_link LINENO
2208 # ----------------------------
2209 # Try to link conftest.$ac_ext, and return whether this succeeded.
2210 ac_fn_objcxx_try_link ()
2212 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213 rm -f conftest.$ac_objext conftest$ac_exeext
2214 if { { ac_try="$ac_link"
2216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2217 *) ac_try_echo
=$ac_try;;
2219 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_link") 2>conftest.err
2223 if test -s conftest.err
; then
2224 grep -v '^ *+' conftest.err
>conftest.er1
2225 cat conftest.er1
>&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } && {
2230 test -z "$ac_objcxx_werror_flag" ||
2231 test ! -s conftest.err
2232 } && test -s conftest
$ac_exeext && {
2233 test "$cross_compiling" = yes ||
2234 $as_test_x conftest
$ac_exeext
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.
$ac_ext >&5
2243 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2244 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2245 # interfere with the next link command; also delete a directory that is
2246 # left behind by Apple's compiler. We do this before executing the actions.
2247 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2248 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2249 as_fn_set_status
$ac_retval
2251 } # ac_fn_objcxx_try_link
2252 cat >config.log
<<_ACEOF
2253 This file contains any messages produced by compilers while
2254 running configure, to aid debugging if configure makes a mistake.
2256 It was created by Cycript $as_me 0.9, which was
2257 generated by GNU Autoconf 2.65. Invocation command line was
2269 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2270 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2271 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2272 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2273 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2275 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2276 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2278 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2279 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2280 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2281 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2282 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2283 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2284 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2292 test -z "$as_dir" && as_dir
=.
2293 $as_echo "PATH: $as_dir"
2309 # Keep a trace of the command line.
2310 # Strip out --no-create and --no-recursion so they do not pile up.
2311 # Strip out --silent because we don't want to record it for future runs.
2312 # Also quote any args containing shell meta-characters.
2313 # Make two passes to allow for proper duplicate-argument suppression.
2317 ac_must_keep_next
=false
2323 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2325 | -silent | --silent | --silen | --sile | --sil)
2328 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2333 as_fn_append ac_configure_args1
" '$ac_arg'"
2334 if test $ac_must_keep_next = true
; then
2335 ac_must_keep_next
=false
# Got value, back to normal.
2338 *=* | --config-cache | -C | -disable-* | --disable-* \
2339 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2340 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2341 | -with-* | --with-* | -without-* | --without-* | --x)
2342 case "$ac_configure_args0 " in
2343 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2346 -* ) ac_must_keep_next
=true
;;
2349 as_fn_append ac_configure_args
" '$ac_arg'"
2354 { ac_configure_args0
=; unset ac_configure_args0
;}
2355 { ac_configure_args1
=; unset ac_configure_args1
;}
2357 # When interrupted or exit'd, cleanup temporary files, and complete
2358 # config.log. We remove comments because anyway the quotes in there
2359 # would cause problems or look ugly.
2360 # WARNING: Use '\'' to represent an apostrophe within the trap.
2361 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2362 trap 'exit_status=$?
2363 # Save into config.log some information that might help in debugging.
2368 ## ---------------- ##
2369 ## Cache variables. ##
2370 ## ---------------- ##
2373 # The following way of writing the cache mishandles newlines in values,
2375 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2376 eval ac_val=\$$ac_var
2380 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2381 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2384 _ | IFS | as_nl) ;; #(
2385 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2386 *) { eval $ac_var=; unset $ac_var;} ;;
2391 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2392 *${as_nl}ac_space=\ *)
2394 "s/'\''/'\''\\\\'\'''\''/g;
2395 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2398 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2406 ## ----------------- ##
2407 ## Output variables. ##
2408 ## ----------------- ##
2411 for ac_var in $ac_subst_vars
2413 eval ac_val=\$$ac_var
2415 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417 $as_echo "$ac_var='\''$ac_val'\''"
2421 if test -n "$ac_subst_files"; then
2423 ## ------------------- ##
2424 ## File substitutions. ##
2425 ## ------------------- ##
2428 for ac_var
in $ac_subst_files
2430 eval ac_val
=\$
$ac_var
2432 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2434 $as_echo "$ac_var='\''$ac_val'\''"
2439 if test -s confdefs.h; then
2449 test "$ac_signal" != 0 &&
2450 $as_echo "$as_me: caught signal $ac_signal"
2451 $as_echo "$as_me: exit $exit_status"
2453 rm -f core *.core core.conftest.* &&
2454 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2457 for ac_signal
in 1 2 13 15; do
2458 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2462 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2463 rm -f -r conftest
* confdefs.h
2465 $as_echo "/* confdefs.h */" > confdefs.h
2467 # Predefined preprocessor variables.
2469 cat >>confdefs.h
<<_ACEOF
2470 #define PACKAGE_NAME "$PACKAGE_NAME"
2473 cat >>confdefs.h
<<_ACEOF
2474 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2477 cat >>confdefs.h
<<_ACEOF
2478 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_STRING "$PACKAGE_STRING"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_URL "$PACKAGE_URL"
2494 # Let the site file select an alternate cache file if it wants to.
2495 # Prefer an explicitly selected file to automatically selected ones.
2498 if test -n "$CONFIG_SITE"; then
2499 ac_site_file1
=$CONFIG_SITE
2500 elif test "x$prefix" != xNONE
; then
2501 ac_site_file1
=$prefix/share
/config.site
2502 ac_site_file2
=$prefix/etc
/config.site
2504 ac_site_file1
=$ac_default_prefix/share
/config.site
2505 ac_site_file2
=$ac_default_prefix/etc
/config.site
2507 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2509 test "x$ac_site_file" = xNONE
&& continue
2510 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2512 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2513 sed 's/^/| /' "$ac_site_file" >&5
2518 if test -r "$cache_file"; then
2519 # Some versions of bash will fail to source /dev/null (special files
2520 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2521 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2525 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2526 *) .
"./$cache_file";;
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2535 # Check that the precious variables saved in the cache have kept the same
2537 ac_cache_corrupted
=false
2538 for ac_var
in $ac_precious_vars; do
2539 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2540 eval ac_new_set
=\
$ac_env_${ac_var}_set
2541 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2542 eval ac_new_val
=\
$ac_env_${ac_var}_value
2543 case $ac_old_set,$ac_new_set in
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547 ac_cache_corrupted
=: ;;
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551 ac_cache_corrupted
=: ;;
2554 if test "x$ac_old_val" != "x$ac_new_val"; then
2555 # differences in whitespace do not lead to failure.
2556 ac_old_val_w
=`echo x $ac_old_val`
2557 ac_new_val_w
=`echo x $ac_new_val`
2558 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561 ac_cache_corrupted
=:
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565 eval $ac_var=\
$ac_old_val
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2568 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2573 # Pass precious variables to config.status.
2574 if test "$ac_new_set" = set; then
2576 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577 *) ac_arg
=$ac_var=$ac_new_val ;;
2579 case " $ac_configure_args " in
2580 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2581 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2585 if $ac_cache_corrupted; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2597 ac_cpp
='$CPP $CPPFLAGS'
2598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2605 for ac_dir
in .
"$srcdir"/.
; do
2606 for ac_t
in install-sh install.sh shtool
; do
2607 if test -f "$ac_dir/$ac_t"; then
2609 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2614 if test -z "$ac_aux_dir"; then
2615 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2618 # These three variables are undocumented and unsupported,
2619 # and are intended to be withdrawn in a future Autoconf release.
2620 # They can cause serious problems if a builder's source tree is in a directory
2621 # whose full name contains unusual characters.
2622 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2623 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2624 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2630 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2635 macro_version
='2.2.6b'
2636 macro_revision
='1.3017'
2650 ltmain
="$ac_aux_dir/ltmain.sh"
2652 # Make sure we can run config.sub.
2653 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2654 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2657 $as_echo_n "checking build system type... " >&6; }
2658 if test "${ac_cv_build+set}" = set; then :
2659 $as_echo_n "(cached) " >&6
2661 ac_build_alias
=$build_alias
2662 test "x$ac_build_alias" = x
&&
2663 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2664 test "x$ac_build_alias" = x
&&
2665 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2666 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2667 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2671 $as_echo "$ac_cv_build" >&6; }
2672 case $ac_cv_build in
2674 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2677 ac_save_IFS
=$IFS; IFS
='-'
2683 # Remember, the first character of IFS is used to create $*,
2684 # except with old shells:
2687 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2691 $as_echo_n "checking host system type... " >&6; }
2692 if test "${ac_cv_host+set}" = set; then :
2693 $as_echo_n "(cached) " >&6
2695 if test "x$host_alias" = x
; then
2696 ac_cv_host
=$ac_cv_build
2698 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2699 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2704 $as_echo "$ac_cv_host" >&6; }
2707 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2710 ac_save_IFS
=$IFS; IFS
='-'
2716 # Remember, the first character of IFS is used to create $*,
2717 # except with old shells:
2720 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2724 ac_cpp
='$CPP $CPPFLAGS'
2725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2728 if test -n "$ac_tool_prefix"; then
2729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2730 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2733 if test "${ac_cv_prog_CC+set}" = set; then :
2734 $as_echo_n "(cached) " >&6
2736 if test -n "$CC"; then
2737 ac_cv_prog_CC
="$CC" # Let the user override the test.
2739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir
=.
2744 for ac_exec_ext
in '' $ac_executable_extensions; do
2745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 if test -n "$CC"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2759 $as_echo "$CC" >&6; }
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762 $as_echo "no" >&6; }
2767 if test -z "$ac_cv_prog_CC"; then
2769 # Extract the first word of "gcc", so it can be a program name with args.
2770 set dummy gcc
; ac_word
=$2
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$ac_ct_CC"; then
2777 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786 ac_cv_prog_ac_ct_CC
="gcc"
2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2799 $as_echo "$ac_ct_CC" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2805 if test "x$ac_ct_CC" = x
; then
2808 case $cross_compiling:$ac_tool_warned in
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2812 ac_tool_warned
=yes ;;
2820 if test -z "$CC"; then
2821 if test -n "$ac_tool_prefix"; then
2822 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2823 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if test "${ac_cv_prog_CC+set}" = set; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$CC"; then
2830 ac_cv_prog_CC
="$CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test -n "$CC"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2852 $as_echo "$CC" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2861 if test -z "$CC"; then
2862 # Extract the first word of "cc", so it can be a program name with args.
2863 set dummy cc
; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_CC+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CC"; then
2870 ac_cv_prog_CC
="$CC" # Let the user override the test.
2873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir
=.
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2881 ac_prog_rejected
=yes
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test $ac_prog_rejected = yes; then
2893 # We found a bogon in the path, so make sure we never use it.
2894 set dummy
$ac_cv_prog_CC
2896 if test $# != 0; then
2897 # We chose a different compiler from the bogus one.
2898 # However, it has the same basename, so the bogon will be chosen
2899 # first if we set CC to just the basename; use the full file name.
2901 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2907 if test -n "$CC"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2909 $as_echo "$CC" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2917 if test -z "$CC"; then
2918 if test -n "$ac_tool_prefix"; then
2919 for ac_prog
in cl.exe
2921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2922 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if test "${ac_cv_prog_CC+set}" = set; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$CC"; then
2929 ac_cv_prog_CC
="$CC" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test -n "$CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2951 $as_echo "$CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2958 test -n "$CC" && break
2961 if test -z "$CC"; then
2963 for ac_prog
in cl.exe
2965 # Extract the first word of "$ac_prog", so it can be a program name with args.
2966 set dummy
$ac_prog; ac_word
=$2
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2968 $as_echo_n "checking for $ac_word... " >&6; }
2969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2970 $as_echo_n "(cached) " >&6
2972 if test -n "$ac_ct_CC"; then
2973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2979 test -z "$as_dir" && as_dir
=.
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982 ac_cv_prog_ac_ct_CC
="$ac_prog"
2983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2993 if test -n "$ac_ct_CC"; then
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2995 $as_echo "$ac_ct_CC" >&6; }
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2998 $as_echo "no" >&6; }
3002 test -n "$ac_ct_CC" && break
3005 if test "x$ac_ct_CC" = x
; then
3008 case $cross_compiling:$ac_tool_warned in
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3012 ac_tool_warned
=yes ;;
3021 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 as_fn_error
"no acceptable C compiler found in \$PATH
3024 See \`config.log' for more details." "$LINENO" 5; }
3026 # Provide some information about the compiler.
3027 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3030 for ac_option
in --version -v -V -qversion; do
3031 { { ac_try
="$ac_compiler $ac_option >&5"
3033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3040 if test -s conftest.err; then
3042 ... rest of stderr output deleted ...
3043 10q' conftest.err >conftest.er1
3044 cat conftest.er1 >&5
3046 rm -f conftest.er1 conftest.err
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; }
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3062 ac_clean_files_save=$ac_clean_files
3063 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3064 # Try to create an executable without -o first, disregard a.out.
3065 # It will help us diagnose broken compilers, and finding out an intuition
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3068 $as_echo_n "checking whether the C compiler works... " >&6; }
3069 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3071 # The possible output files:
3072 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3075 for ac_file in $ac_files
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3079 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3084 if { { ac_try="$ac_link_default"
3086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3087 *) ac_try_echo
=$ac_try;;
3089 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3090 $as_echo "$ac_try_echo"; } >&5
3091 (eval "$ac_link_default") 2>&5
3093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3094 test $ac_status = 0; }; then :
3095 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3096 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3097 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3098 # so that the user can short-circuit this test for compilers unknown to
3100 for ac_file
in $ac_files ''
3102 test -f "$ac_file" || continue
3104 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3107 # We found the default executable, but exeext='' is most
3111 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3113 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3115 # We set ac_cv_exeext here because the later test for it is not
3116 # safe: cross compilers may not add the suffix if given an `-o'
3117 # argument, so we may need to know it at that point already.
3118 # Even if this section looks crufty: it has the advantage of
3125 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3130 if test -z "$ac_file"; then :
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.
$ac_ext >&5
3136 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3138 { as_fn_set_status
77
3139 as_fn_error
"C compiler cannot create executables
3140 See \`config.log' for more details." "$LINENO" 5; }; }
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3143 $as_echo "yes" >&6; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3146 $as_echo_n "checking for C compiler default output file name... " >&6; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3148 $as_echo "$ac_file" >&6; }
3149 ac_exeext
=$ac_cv_exeext
3151 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3152 ac_clean_files
=$ac_clean_files_save
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3154 $as_echo_n "checking for suffix of executables... " >&6; }
3155 if { { ac_try
="$ac_link"
3157 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3161 $as_echo "$ac_try_echo"; } >&5
3162 (eval "$ac_link") 2>&5
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3165 test $ac_status = 0; }; then :
3166 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3167 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3168 # work properly (i.e., refer to `conftest.exe'), while it won't with
3170 for ac_file
in conftest.exe conftest conftest.
*; do
3171 test -f "$ac_file" || continue
3173 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3174 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3182 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3183 See \`config.log' for more details." "$LINENO" 5; }
3185 rm -f conftest conftest
$ac_cv_exeext
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3187 $as_echo "$ac_cv_exeext" >&6; }
3189 rm -f conftest.
$ac_ext
3190 EXEEXT
=$ac_cv_exeext
3192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3198 FILE *f = fopen ("conftest.out", "w");
3199 return ferror (f) || fclose (f) != 0;
3205 ac_clean_files
="$ac_clean_files conftest.out"
3206 # Check that the compiler produces executables we can run. If not, either
3207 # the compiler is broken, or we cross compile.
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3209 $as_echo_n "checking whether we are cross compiling... " >&6; }
3210 if test "$cross_compiling" != yes; then
3211 { { ac_try
="$ac_link"
3213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217 $as_echo "$ac_try_echo"; } >&5
3218 (eval "$ac_link") 2>&5
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }
3222 if { ac_try='./conftest$ac_cv_exeext'
3223 { { case "(($ac_try" in
3224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3225 *) ac_try_echo
=$ac_try;;
3227 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_try") 2>&5
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; }; }; then
3235 if test "$cross_compiling" = maybe
; then
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error
"cannot run C compiled programs.
3241 If you meant to cross compile, use \`--host'.
3242 See \`config.log' for more details." "$LINENO" 5; }
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3247 $as_echo "$cross_compiling" >&6; }
3249 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3250 ac_clean_files
=$ac_clean_files_save
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3252 $as_echo_n "checking for suffix of object files... " >&6; }
3253 if test "${ac_cv_objext+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 rm -f conftest.o conftest.obj
3268 if { { ac_try
="$ac_compile"
3270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3273 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3274 $as_echo "$ac_try_echo"; } >&5
3275 (eval "$ac_compile") 2>&5
3277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278 test $ac_status = 0; }; then :
3279 for ac_file in conftest.o conftest.obj conftest.*; do
3280 test -f "$ac_file" || continue;
3282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3283 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error "cannot compute suffix of object files
: cannot compile
3294 See \
`config.log' for more details." "$LINENO" 5; }
3296 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3299 $as_echo "$ac_cv_objext" >&6; }
3300 OBJEXT=$ac_cv_objext
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3303 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3304 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3321 if ac_fn_c_try_compile "$LINENO"; then :
3326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3331 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3332 if test $ac_compiler_gnu = yes; then
3337 ac_test_CFLAGS=${CFLAGS+set}
3338 ac_save_CFLAGS=$CFLAGS
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3340 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3341 if test "${ac_cv_prog_cc_g+set}" = set; then :
3342 $as_echo_n "(cached) " >&6
3344 ac_save_c_werror_flag=$ac_c_werror_flag
3345 ac_c_werror_flag=yes
3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3359 if ac_fn_c_try_compile "$LINENO"; then :
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3377 ac_c_werror_flag=$ac_save_c_werror_flag
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3390 if ac_fn_c_try_compile "$LINENO"; then :
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 ac_c_werror_flag=$ac_save_c_werror_flag
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3401 $as_echo "$ac_cv_prog_cc_g" >&6; }
3402 if test "$ac_test_CFLAGS" = set; then
3403 CFLAGS=$ac_save_CFLAGS
3404 elif test $ac_cv_prog_cc_g = yes; then
3405 if test "$GCC" = yes; then
3411 if test "$GCC" = yes; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3418 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3419 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3420 $as_echo_n "(cached) " >&6
3422 ac_cv_prog_cc_c89=no
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3428 #include <sys/types.h>
3429 #include <sys/stat.h>
3430 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3431 struct buf { int x; };
3432 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3433 static char *e (p, i)
3439 static char *f (char * (*g) (char **, int), char **p, ...)
3444 s = g (p, va_arg (v,int));
3449 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3450 function prototypes and stuff, but not '\xHH' hex character constants.
3451 These don't provoke an error unfortunately, instead are silently treated
3452 as 'x'. The following induces an error, until -std is added to get
3453 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3454 array size at least. It's necessary to write '\x00'==0 to get something
3455 that's true only with -std. */
3456 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3458 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3459 inside strings and character constants. */
3461 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3463 int test (int i, double x);
3464 struct s1 {int (*f) (int a);};
3465 struct s2 {int (*f) (double a);};
3466 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3472 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3477 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3478 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3480 CC="$ac_save_CC $ac_arg"
3481 if ac_fn_c_try_compile "$LINENO"; then :
3482 ac_cv_prog_cc_c89=$ac_arg
3484 rm -f core conftest.err conftest.$ac_objext
3485 test "x$ac_cv_prog_cc_c89" != "xno" && break
3487 rm -f conftest.$ac_ext
3492 case "x$ac_cv_prog_cc_c89" in
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3495 $as_echo "none needed" >&6; } ;;
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3498 $as_echo "unsupported" >&6; } ;;
3500 CC="$CC $ac_cv_prog_cc_c89"
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3502 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3504 if test "x$ac_cv_prog_cc_c89" != xno; then :
3509 ac_cpp='$CPP $CPPFLAGS'
3510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3515 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3516 if test "${ac_cv_path_SED+set}" = set; then :
3517 $as_echo_n "(cached) " >&6
3519 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3520 for ac_i in 1 2 3 4 5 6 7; do
3521 ac_script="$ac_script$as_nl$ac_script"
3523 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3524 { ac_script=; unset ac_script;}
3525 if test -z "$SED"; then
3526 ac_path_SED_found=false
3527 # Loop through the user's path and test for each of PROGNAME-LIST
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir=.
3533 for ac_prog in sed gsed; do
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3536 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3537 # Check for GNU ac_path_SED and select it if it is found.
3538 # Check for GNU $ac_path_SED
3539 case `"$ac_path_SED" --version 2>&1` in
3541 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3544 $as_echo_n 0123456789 >"conftest.in"
3547 cat "conftest.in" "conftest.in" >"conftest.tmp"
3548 mv "conftest.tmp" "conftest.in"
3549 cp "conftest.in" "conftest.nl"
3550 $as_echo '' >> "conftest.nl"
3551 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3553 as_fn_arith $ac_count + 1 && ac_count=$as_val
3554 if test $ac_count -gt ${ac_path_SED_max-0}; then
3555 # Best one so far, save it but keep looking for a better one
3556 ac_cv_path_SED="$ac_path_SED"
3557 ac_path_SED_max=$ac_count
3559 # 10*(2^10) chars as input seems more than enough
3560 test $ac_count -gt 10 && break
3562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3565 $ac_path_SED_found && break 3
3570 if test -z "$ac_cv_path_SED"; then
3571 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3579 $as_echo "$ac_cv_path_SED" >&6; }
3580 SED="$ac_cv_path_SED"
3583 test -z "$SED" && SED=sed
3584 Xsed="$SED -e 1s/^X//"
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3598 if test "${ac_cv_path_GREP+set}" = set; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -z "$GREP"; then
3602 ac_path_GREP_found=false
3603 # Loop through the user's path and test for each of PROGNAME-LIST
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3608 test -z "$as_dir" && as_dir=.
3609 for ac_prog in grep ggrep; do
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3612 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3613 # Check for GNU ac_path_GREP and select it if it is found.
3614 # Check for GNU $ac_path_GREP
3615 case `"$ac_path_GREP" --version 2>&1` in
3617 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3620 $as_echo_n 0123456789 >"conftest.in"
3623 cat "conftest.in" "conftest.in" >"conftest.tmp"
3624 mv "conftest.tmp" "conftest.in"
3625 cp "conftest.in" "conftest.nl"
3626 $as_echo 'GREP' >> "conftest.nl"
3627 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3628 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3629 as_fn_arith $ac_count + 1 && ac_count=$as_val
3630 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3631 # Best one so far, save it but keep looking for a better one
3632 ac_cv_path_GREP="$ac_path_GREP"
3633 ac_path_GREP_max=$ac_count
3635 # 10*(2^10) chars as input seems more than enough
3636 test $ac_count -gt 10 && break
3638 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3641 $ac_path_GREP_found && break 3
3646 if test -z "$ac_cv_path_GREP"; then
3647 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3650 ac_cv_path_GREP=$GREP
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3655 $as_echo "$ac_cv_path_GREP" >&6; }
3656 GREP="$ac_cv_path_GREP"
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3660 $as_echo_n "checking for egrep... " >&6; }
3661 if test "${ac_cv_path_EGREP+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3664 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3665 then ac_cv_path_EGREP="$GREP -E"
3667 if test -z "$EGREP"; then
3668 ac_path_EGREP_found=false
3669 # Loop through the user's path and test for each of PROGNAME-LIST
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in egrep; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3678 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3679 # Check for GNU ac_path_EGREP and select it if it is found.
3680 # Check for GNU $ac_path_EGREP
3681 case `"$ac_path_EGREP" --version 2>&1` in
3683 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3686 $as_echo_n 0123456789 >"conftest.in"
3689 cat "conftest.in" "conftest.in" >"conftest.tmp"
3690 mv "conftest.tmp" "conftest.in"
3691 cp "conftest.in" "conftest.nl"
3692 $as_echo 'EGREP' >> "conftest.nl"
3693 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3694 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3695 as_fn_arith $ac_count + 1 && ac_count=$as_val
3696 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3697 # Best one so far, save it but keep looking for a better one
3698 ac_cv_path_EGREP="$ac_path_EGREP"
3699 ac_path_EGREP_max=$ac_count
3701 # 10*(2^10) chars as input seems more than enough
3702 test $ac_count -gt 10 && break
3704 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3707 $ac_path_EGREP_found && break 3
3712 if test -z "$ac_cv_path_EGREP"; then
3713 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3716 ac_cv_path_EGREP=$EGREP
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3722 $as_echo "$ac_cv_path_EGREP" >&6; }
3723 EGREP="$ac_cv_path_EGREP"
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3727 $as_echo_n "checking for fgrep... " >&6; }
3728 if test "${ac_cv_path_FGREP+set}" = set; then :
3729 $as_echo_n "(cached) " >&6
3731 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3732 then ac_cv_path_FGREP="$GREP -F"
3734 if test -z "$FGREP"; then
3735 ac_path_FGREP_found=false
3736 # Loop through the user's path and test for each of PROGNAME-LIST
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3741 test -z "$as_dir" && as_dir=.
3742 for ac_prog in fgrep; do
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3745 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3746 # Check for GNU ac_path_FGREP and select it if it is found.
3747 # Check for GNU $ac_path_FGREP
3748 case `"$ac_path_FGREP" --version 2>&1` in
3750 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3753 $as_echo_n 0123456789 >"conftest.in"
3756 cat "conftest.in" "conftest.in" >"conftest.tmp"
3757 mv "conftest.tmp" "conftest.in"
3758 cp "conftest.in" "conftest.nl"
3759 $as_echo 'FGREP' >> "conftest.nl"
3760 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3762 as_fn_arith $ac_count + 1 && ac_count=$as_val
3763 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3764 # Best one so far, save it but keep looking for a better one
3765 ac_cv_path_FGREP="$ac_path_FGREP"
3766 ac_path_FGREP_max=$ac_count
3768 # 10*(2^10) chars as input seems more than enough
3769 test $ac_count -gt 10 && break
3771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3774 $ac_path_FGREP_found && break 3
3779 if test -z "$ac_cv_path_FGREP"; then
3780 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3783 ac_cv_path_FGREP=$FGREP
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3789 $as_echo "$ac_cv_path_FGREP" >&6; }
3790 FGREP="$ac_cv_path_FGREP"
3793 test -z "$GREP" && GREP=grep
3813 # Check whether --with-gnu-ld was given.
3814 if test "${with_gnu_ld+set}" = set; then :
3815 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3821 if test "$GCC" = yes; then
3822 # Check if gcc -print-prog-name=ld gives a path.
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3824 $as_echo_n "checking for ld used by $CC... " >&6; }
3827 # gcc leaves a trailing carriage return which upsets mingw
3828 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3830 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3833 # Accept absolute paths.
3835 re_direlt='/[^/][^/]*/\.\./'
3836 # Canonicalize the pathname of ld
3837 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3838 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3839 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3841 test -z "$LD" && LD="$ac_prog"
3844 # If it fails, then pretend we aren't using GCC.
3848 # If it is relative, then search for the first ld in PATH.
3852 elif test "$with_gnu_ld" = yes; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3854 $as_echo_n "checking for GNU ld... " >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3857 $as_echo_n "checking for non-GNU ld... " >&6; }
3859 if test "${lt_cv_path_LD+set}" = set; then :
3860 $as_echo_n "(cached) " >&6
3862 if test -z "$LD"; then
3863 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3864 for ac_dir in $PATH; do
3866 test -z "$ac_dir" && ac_dir=.
3867 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3868 lt_cv_path_LD="$ac_dir/$ac_prog"
3869 # Check to see if the program is GNU ld. I'd rather use --version,
3870 # but apparently some variants of GNU ld only accept -v.
3871 # Break only if it was the GNU/non-GNU ld that we prefer.
3872 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3873 *GNU* | *'with BFD'*)
3874 test "$with_gnu_ld" != no && break
3877 test "$with_gnu_ld" != yes && break
3884 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3889 if test -n "$LD"; then
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3891 $as_echo "$LD" >&6; }
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894 $as_echo "no" >&6; }
3896 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3898 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3899 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3902 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3903 case `$LD -v 2>&1 </dev
/null
` in
3904 *GNU* | *'with BFD'*)
3905 lt_cv_prog_gnu_ld=yes
3908 lt_cv_prog_gnu_ld=no
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3913 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3914 with_gnu_ld=$lt_cv_prog_gnu_ld
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3925 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3926 if test "${lt_cv_path_NM+set}" = set; then :
3927 $as_echo_n "(cached) " >&6
3929 if test -n "$NM"; then
3930 # Let the user override the test.
3933 lt_nm_to_check="${ac_tool_prefix}nm"
3934 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3935 lt_nm_to_check="$lt_nm_to_check nm"
3937 for lt_tmp_nm in $lt_nm_to_check; do
3938 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3939 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3941 test -z "$ac_dir" && ac_dir=.
3942 tmp_nm="$ac_dir/$lt_tmp_nm"
3943 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3944 # Check to see if the nm accepts a BSD-compat flag.
3945 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3946 # nm: unknown option "B" ignored
3947 # Tru64's nm complains that
/dev
/null is an invalid object
file
3948 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3949 */dev
/null
* | *'Invalid file or object type'*)
3950 lt_cv_path_NM
="$tmp_nm -B"
3954 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3956 lt_cv_path_NM
="$tmp_nm -p"
3960 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3961 continue # so that we can try to find one that supports BSD flags
3970 : ${lt_cv_path_NM=no}
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3974 $as_echo "$lt_cv_path_NM" >&6; }
3975 if test "$lt_cv_path_NM" != "no"; then
3978 # Didn't find any BSD compatible name lister, look for dumpbin.
3979 if test -n "$ac_tool_prefix"; then
3980 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3983 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3987 $as_echo_n "(cached) " >&6
3989 if test -n "$DUMPBIN"; then
3990 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_exec_ext
in '' $ac_executable_extensions; do
3998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3999 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 DUMPBIN
=$ac_cv_prog_DUMPBIN
4010 if test -n "$DUMPBIN"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4012 $as_echo "$DUMPBIN" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4019 test -n "$DUMPBIN" && break
4022 if test -z "$DUMPBIN"; then
4023 ac_ct_DUMPBIN
=$DUMPBIN
4024 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4026 # Extract the first word of "$ac_prog", so it can be a program name with args.
4027 set dummy
$ac_prog; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$ac_ct_DUMPBIN"; then
4034 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4054 if test -n "$ac_ct_DUMPBIN"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4056 $as_echo "$ac_ct_DUMPBIN" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$ac_ct_DUMPBIN" && break
4066 if test "x$ac_ct_DUMPBIN" = x
; then
4069 case $cross_compiling:$ac_tool_warned in
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073 ac_tool_warned
=yes ;;
4075 DUMPBIN
=$ac_ct_DUMPBIN
4080 if test "$DUMPBIN" != ":"; then
4084 test -z "$NM" && NM
=nm
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4092 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4093 if test "${lt_cv_nm_interface+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4096 lt_cv_nm_interface
="BSD nm"
4097 echo "int some_variable = 0;" > conftest.
$ac_ext
4098 (eval echo "\"\$as_me:4098: $ac_compile\"" >&5)
4099 (eval "$ac_compile" 2>conftest.err
)
4100 cat conftest.err
>&5
4101 (eval echo "\"\$as_me:4101: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4102 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4103 cat conftest.err
>&5
4104 (eval echo "\"\$as_me:4104: output\"" >&5)
4105 cat conftest.out
>&5
4106 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4107 lt_cv_nm_interface
="MS dumpbin"
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4112 $as_echo "$lt_cv_nm_interface" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4115 $as_echo_n "checking whether ln -s works... " >&6; }
4117 if test "$LN_S" = "ln -s"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4122 $as_echo "no, using $LN_S" >&6; }
4125 # find the maximum length of command line arguments
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4127 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4128 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4136 # On DJGPP, this test can blow up pretty badly due to problems in libc
4137 # (any single argument exceeding 2000 bytes causes a buffer overrun
4138 # during glob expansion). Even if it were fixed, the result of this
4139 # check would be larger than it should be.
4140 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4144 # Under GNU Hurd, this test is not required because there is
4145 # no limit to the length of command line arguments.
4146 # Libtool will interpret -1 as no limit whatsoever
4147 lt_cv_sys_max_cmd_len
=-1;
4150 cygwin
* | mingw
* | cegcc
*)
4151 # On Win9x/ME, this test blows up -- it succeeds, but takes
4152 # about 5 minutes as the teststring grows exponentially.
4153 # Worse, since 9x/ME are not pre-emptively multitasking,
4154 # you end up with a "frozen" computer, even though with patience
4155 # the test eventually succeeds (with a max line length of 256k).
4156 # Instead, let's just punt: use the minimum linelength reported by
4157 # all of the supported platforms: 8192 (on NT/2K/XP).
4158 lt_cv_sys_max_cmd_len
=8192;
4162 # On AmigaOS with pdksh, this test takes hours, literally.
4163 # So we just punt and use a minimum line length of 8192.
4164 lt_cv_sys_max_cmd_len
=8192;
4167 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4168 # This has been around since 386BSD, at least. Likely further.
4169 if test -x /sbin
/sysctl
; then
4170 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4171 elif test -x /usr
/sbin
/sysctl
; then
4172 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4174 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4176 # And add a safety zone
4177 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4178 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4182 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4183 lt_cv_sys_max_cmd_len
=196608
4187 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4188 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4189 # nice to cause kernel panics so lets avoid the loop below.
4190 # First set a reasonable default.
4191 lt_cv_sys_max_cmd_len
=16384
4193 if test -x /sbin
/sysconfig
; then
4194 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4195 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4200 lt_cv_sys_max_cmd_len
=102400
4202 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4203 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4204 if test -n "$kargmax"; then
4205 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4207 lt_cv_sys_max_cmd_len
=32768
4211 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4212 if test -n "$lt_cv_sys_max_cmd_len"; then
4213 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4214 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4216 # Make teststring a little bigger before we do anything with it.
4217 # a 1K string should be a reasonable start.
4218 for i
in 1 2 3 4 5 6 7 8 ; do
4219 teststring
=$teststring$teststring
4221 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4222 # If test is not a shell built-in, we'll probably end up computing a
4223 # maximum length that is only half of the actual maximum length, but
4225 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4226 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4227 test $i != 17 # 1/2 MB should be enough
4230 teststring
=$teststring$teststring
4232 # Only check the string length outside the loop.
4233 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4235 # Add a significant safety factor because C++ compilers can tack on
4236 # massive amounts of additional arguments before passing them to the
4237 # linker. It appears as though 1/2 is a usable value.
4238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4245 if test -n $lt_cv_sys_max_cmd_len ; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4247 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4250 $as_echo "none" >&6; }
4252 max_cmd_len
=$lt_cv_sys_max_cmd_len
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4264 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4265 # Try some XSI features
4268 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4270 && eval 'test $(( 1 + 1 )) -eq 2 \
4271 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4274 $as_echo "$xsi_shell" >&6; }
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4278 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4280 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4282 && lt_shell_append
=yes
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4284 $as_echo "$lt_shell_append" >&6; }
4287 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4297 # test EBCDIC or ASCII
4298 case `echo X|tr X '\101'` in
4299 A
) # ASCII based system
4300 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4301 lt_SP2NL
='tr \040 \012'
4302 lt_NL2SP
='tr \015\012 \040\040'
4304 *) # EBCDIC based system
4305 lt_SP2NL
='tr \100 \n'
4306 lt_NL2SP
='tr \r\n \100\100'
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4319 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4320 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4321 $as_echo_n "(cached) " >&6
4323 lt_cv_ld_reload_flag
='-r'
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4326 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4327 reload_flag
=$lt_cv_ld_reload_flag
4328 case $reload_flag in
4330 *) reload_flag
=" $reload_flag" ;;
4332 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4335 if test "$GCC" = yes; then
4336 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4338 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4351 if test -n "$ac_tool_prefix"; then
4352 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4353 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$OBJDUMP"; then
4360 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir
=.
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 OBJDUMP
=$ac_cv_prog_OBJDUMP
4380 if test -n "$OBJDUMP"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4382 $as_echo "$OBJDUMP" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4390 if test -z "$ac_cv_prog_OBJDUMP"; then
4391 ac_ct_OBJDUMP
=$OBJDUMP
4392 # Extract the first word of "objdump", so it can be a program name with args.
4393 set dummy objdump
; ac_word
=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4397 $as_echo_n "(cached) " >&6
4399 if test -n "$ac_ct_OBJDUMP"; then
4400 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir
=.
4407 for ac_exec_ext
in '' $ac_executable_extensions; do
4408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4409 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4420 if test -n "$ac_ct_OBJDUMP"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4422 $as_echo "$ac_ct_OBJDUMP" >&6; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4428 if test "x$ac_ct_OBJDUMP" = x
; then
4431 case $cross_compiling:$ac_tool_warned in
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4435 ac_tool_warned
=yes ;;
4437 OBJDUMP
=$ac_ct_OBJDUMP
4440 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4443 test -z "$OBJDUMP" && OBJDUMP
=objdump
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4454 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4455 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4456 $as_echo_n "(cached) " >&6
4458 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4459 lt_cv_file_magic_test_file
=
4460 lt_cv_deplibs_check_method
='unknown'
4461 # Need to set the preceding variable on all platforms that support
4462 # interlibrary dependencies.
4463 # 'none' -- dependencies not supported.
4464 # `unknown' -- same as none, but documents that we really don't know.
4465 # 'pass_all' -- all dependencies passed with no checks.
4466 # 'test_compile' -- check by making test program.
4467 # 'file_magic [[regex]]' -- check by looking for files in library path
4468 # which responds to the $file_magic_cmd with a given extended regex.
4469 # If you have `file' or equivalent on your system and you're not sure
4470 # whether `pass_all' will *always* work, you probably want this one.
4474 lt_cv_deplibs_check_method
=pass_all
4478 lt_cv_deplibs_check_method
=pass_all
4482 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4483 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4484 lt_cv_file_magic_test_file
=/shlib
/libc.so
4488 # func_win32_libid is a shell function defined in ltmain.sh
4489 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4490 lt_cv_file_magic_cmd
='func_win32_libid'
4494 # Base MSYS/MinGW do not provide the 'file' command needed by
4495 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4496 # unless we find 'file', for example because we are cross-compiling.
4497 if ( file / ) >/dev
/null
2>&1; then
4498 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4499 lt_cv_file_magic_cmd
='func_win32_libid'
4501 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4502 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4507 # use the weaker test based on 'objdump'. See mingw*.
4508 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4509 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4512 darwin
* | rhapsody
*)
4513 lt_cv_deplibs_check_method
=pass_all
4516 freebsd
* | dragonfly
*)
4517 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4520 # Not sure whether the presence of OpenBSD here was a mistake.
4521 # Let's accept both of them until this is cleared up.
4522 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4523 lt_cv_file_magic_cmd
=/usr
/bin
/file
4524 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4528 lt_cv_deplibs_check_method
=pass_all
4533 lt_cv_deplibs_check_method
=pass_all
4536 hpux10.20
* | hpux11
*)
4537 lt_cv_file_magic_cmd
=/usr
/bin
/file
4540 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4541 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4544 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]'
4545 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4548 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4549 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4555 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4556 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4559 irix5
* | irix6
* | nonstopux
*)
4561 *-32|*"-32 ") libmagic
=32-bit;;
4562 *-n32|*"-n32 ") libmagic
=N32
;;
4563 *-64|*"-64 ") libmagic
=64-bit;;
4564 *) libmagic
=never
-match;;
4566 lt_cv_deplibs_check_method
=pass_all
4569 # This must be Linux ELF.
4570 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4571 lt_cv_deplibs_check_method
=pass_all
4574 netbsd
* | netbsdelf
*-gnu)
4575 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4576 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4578 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4583 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4584 lt_cv_file_magic_cmd
=/usr
/bin
/file
4585 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4589 lt_cv_deplibs_check_method
=pass_all
4593 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4594 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4596 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4600 osf3
* | osf4
* | osf5
*)
4601 lt_cv_deplibs_check_method
=pass_all
4605 lt_cv_deplibs_check_method
=pass_all
4609 lt_cv_deplibs_check_method
=pass_all
4612 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4613 lt_cv_deplibs_check_method
=pass_all
4617 case $host_vendor in
4619 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]'
4620 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4623 lt_cv_deplibs_check_method
=pass_all
4626 lt_cv_file_magic_cmd
='/bin/file'
4627 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4630 lt_cv_file_magic_cmd
='/bin/file'
4631 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4632 lt_cv_file_magic_test_file
=/lib
/libc.so
4635 lt_cv_deplibs_check_method
=pass_all
4638 lt_cv_deplibs_check_method
=pass_all
4644 lt_cv_deplibs_check_method
=pass_all
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4650 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4651 file_magic_cmd
=$lt_cv_file_magic_cmd
4652 deplibs_check_method
=$lt_cv_deplibs_check_method
4653 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4666 if test -n "$ac_tool_prefix"; then
4667 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4668 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if test "${ac_cv_prog_AR+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
4674 if test -n "$AR"; then
4675 ac_cv_prog_AR
="$AR" # Let the user override the test.
4677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 test -z "$as_dir" && as_dir
=.
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 if test -n "$AR"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4697 $as_echo "$AR" >&6; }
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4705 if test -z "$ac_cv_prog_AR"; then
4707 # Extract the first word of "ar", so it can be a program name with args.
4708 set dummy
ar; ac_word
=$2
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4710 $as_echo_n "checking for $ac_word... " >&6; }
4711 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4712 $as_echo_n "(cached) " >&6
4714 if test -n "$ac_ct_AR"; then
4715 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_prog_ac_ct_AR
="ar"
4725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4735 if test -n "$ac_ct_AR"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4737 $as_echo "$ac_ct_AR" >&6; }
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4743 if test "x$ac_ct_AR" = x
; then
4746 case $cross_compiling:$ac_tool_warned in
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4750 ac_tool_warned
=yes ;;
4758 test -z "$AR" && AR
=ar
4759 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4771 if test -n "$ac_tool_prefix"; then
4772 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4773 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4775 $as_echo_n "checking for $ac_word... " >&6; }
4776 if test "${ac_cv_prog_STRIP+set}" = set; then :
4777 $as_echo_n "(cached) " >&6
4779 if test -n "$STRIP"; then
4780 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4786 test -z "$as_dir" && as_dir
=.
4787 for ac_exec_ext
in '' $ac_executable_extensions; do
4788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4789 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 STRIP
=$ac_cv_prog_STRIP
4800 if test -n "$STRIP"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4802 $as_echo "$STRIP" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4810 if test -z "$ac_cv_prog_STRIP"; then
4812 # Extract the first word of "strip", so it can be a program name with args.
4813 set dummy strip
; ac_word
=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -n "$ac_ct_STRIP"; then
4820 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4826 test -z "$as_dir" && as_dir
=.
4827 for ac_exec_ext
in '' $ac_executable_extensions; do
4828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829 ac_cv_prog_ac_ct_STRIP
="strip"
4830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4840 if test -n "$ac_ct_STRIP"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4842 $as_echo "$ac_ct_STRIP" >&6; }
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4848 if test "x$ac_ct_STRIP" = x
; then
4851 case $cross_compiling:$ac_tool_warned in
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4855 ac_tool_warned
=yes ;;
4860 STRIP
="$ac_cv_prog_STRIP"
4863 test -z "$STRIP" && STRIP
=:
4870 if test -n "$ac_tool_prefix"; then
4871 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4872 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$RANLIB"; then
4879 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 RANLIB
=$ac_cv_prog_RANLIB
4899 if test -n "$RANLIB"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4901 $as_echo "$RANLIB" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4909 if test -z "$ac_cv_prog_RANLIB"; then
4910 ac_ct_RANLIB
=$RANLIB
4911 # Extract the first word of "ranlib", so it can be a program name with args.
4912 set dummy ranlib
; ac_word
=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$ac_ct_RANLIB"; then
4919 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4939 if test -n "$ac_ct_RANLIB"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4941 $as_echo "$ac_ct_RANLIB" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4947 if test "x$ac_ct_RANLIB" = x
; then
4950 case $cross_compiling:$ac_tool_warned in
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4954 ac_tool_warned
=yes ;;
4956 RANLIB
=$ac_ct_RANLIB
4959 RANLIB
="$ac_cv_prog_RANLIB"
4962 test -z "$RANLIB" && RANLIB
=:
4969 # Determine commands to create old-style static archives.
4970 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4971 old_postinstall_cmds
='chmod 644 $oldlib'
4972 old_postuninstall_cmds
=
4974 if test -n "$RANLIB"; then
4977 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4980 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4983 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5019 # If no C compiler was specified, use CC.
5022 # If no C compiler flags were specified, use CFLAGS.
5023 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5025 # Allow CC to be a program name with arguments.
5029 # Check for command to grab the raw symbol name followed by C symbol from nm.
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5031 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5032 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5036 # These are sane defaults that work on at least a few old systems.
5037 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5039 # Character class describing NM global symbol codes.
5040 symcode
='[BCDEGRST]'
5042 # Regexp to match symbols that can be accessed directly from C.
5043 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5045 # Define system-specific variables.
5050 cygwin
* | mingw
* | pw32
* | cegcc
*)
5051 symcode
='[ABCDGISTW]'
5054 if test "$host_cpu" = ia64
; then
5055 symcode
='[ABCDEGRST]'
5059 symcode
='[BCDEGRST]'
5062 symcode
='[BCDEGQRST]'
5073 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5081 # If we're using GNU nm, then use its standard symbol codes.
5082 case `$NM -V 2>&1` in
5083 *GNU
* | *'with BFD'*)
5084 symcode
='[ABCDGIRSTW]' ;;
5087 # Transform an extracted symbol line into a proper C declaration.
5088 # Some systems (esp. on ia64) link data and code symbols differently,
5089 # so use this general approach.
5090 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5092 # Transform an extracted symbol line into symbol name and symbol address
5093 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5094 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'"
5096 # Handle CRLF in mingw tool chain
5100 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5104 # Try without a prefix underscore, then with it.
5105 for ac_symprfx
in "" "_"; do
5107 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5108 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5110 # Write the raw and C identifiers.
5111 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5112 # Fake it for dumpbin and say T for any non-static function
5113 # and D for any global variable.
5114 # Also find C++ and __fastcall symbols from MSVC++,
5115 # which start with @ or ?.
5116 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5117 " {last_section=section; section=\$ 3};"\
5118 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5119 " \$ 0!~/External *\|/{next};"\
5120 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5121 " {if(hide[section]) next};"\
5122 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5123 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5124 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5125 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5126 " ' prfx=^$ac_symprfx"
5128 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5131 # Check to see that the pipe works correctly.
5135 cat > conftest.
$ac_ext <<_LT_EOF
5140 void nm_test_func(void);
5141 void nm_test_func(void){}
5145 int main(){nm_test_var='a';nm_test_func();return(0);}
5148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5149 (eval $ac_compile) 2>&5
5151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; }; then
5153 # Now try to grab the symbols.
5155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5156 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5159 test $ac_status = 0; } && test -s "$nlist"; then
5160 # Try sorting and uniquifying the output.
5161 if sort "$nlist" | uniq > "$nlist"T
; then
5162 mv -f "$nlist"T
"$nlist"
5167 # Make sure that we snagged all the symbols we need.
5168 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5169 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5170 cat <<_LT_EOF > conftest.$ac_ext
5176 # Now generate the symbol file.
5177 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5179 cat <<_LT_EOF >> conftest.$ac_ext
5181 /* The mapping between symbol names and symbols. */
5186 lt__PROGRAM__LTX_preloaded_symbols[] =
5188 { "@PROGRAM@", (void *) 0 },
5190 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5191 cat <<\_LT_EOF
>> conftest.
$ac_ext
5195 /* This works around a problem
in FreeBSD linker
*/
5196 #ifdef FREEBSD_WORKAROUND
5197 static const void
*lt_preloaded_setup
() {
5198 return lt__PROGRAM__LTX_preloaded_symbols
;
5206 # Now try linking the two files.
5207 mv conftest.
$ac_objext conftstm.
$ac_objext
5208 lt_save_LIBS
="$LIBS"
5209 lt_save_CFLAGS
="$CFLAGS"
5210 LIBS
="conftstm.$ac_objext"
5211 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5213 (eval $ac_link) 2>&5
5215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5219 LIBS
="$lt_save_LIBS"
5220 CFLAGS
="$lt_save_CFLAGS"
5222 echo "cannot find nm_test_func in $nlist" >&5
5225 echo "cannot find nm_test_var in $nlist" >&5
5228 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5231 echo "$progname: failed program was:" >&5
5232 cat conftest.
$ac_ext >&5
5234 rm -rf conftest
* conftst
*
5236 # Do not use the global_symbol_pipe unless it works.
5237 if test "$pipe_works" = yes; then
5240 lt_cv_sys_global_symbol_pipe
=
5246 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5247 lt_cv_sys_global_symbol_to_cdecl
=
5249 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5251 $as_echo "failed" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5254 $as_echo "ok" >&6; }
5279 # Check whether --enable-libtool-lock was given.
5280 if test "${enable_libtool_lock+set}" = set; then :
5281 enableval
=$enable_libtool_lock;
5284 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5286 # Some flags need to be propagated to the compiler or linker for good
5290 # Find out which ABI we are using.
5291 echo 'int i;' > conftest.
$ac_ext
5292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5293 (eval $ac_compile) 2>&5
5295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5296 test $ac_status = 0; }; then
5297 case `/usr/bin/file conftest.$ac_objext` in
5309 # Find out which ABI we are using.
5310 echo '#line 5310 "configure"' > conftest.
$ac_ext
5311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5312 (eval $ac_compile) 2>&5
5314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }; then
5316 if test "$lt_cv_prog_gnu_ld" = yes; then
5317 case `/usr/bin/file conftest.$ac_objext` in
5319 LD
="${LD-ld} -melf32bsmip"
5322 LD
="${LD-ld} -melf32bmipn32"
5325 LD
="${LD-ld} -melf64bmip"
5329 case `/usr/bin/file conftest.$ac_objext` in
5345 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5346 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5347 # Find out which ABI we are using.
5348 echo 'int i;' > conftest.
$ac_ext
5349 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5350 (eval $ac_compile) 2>&5
5352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5353 test $ac_status = 0; }; then
5354 case `/usr/bin/file conftest.o` in
5357 x86_64
-*kfreebsd
*-gnu)
5358 LD
="${LD-ld} -m elf_i386_fbsd"
5361 LD
="${LD-ld} -m elf_i386"
5363 ppc64
-*linux
*|powerpc64
-*linux
*)
5364 LD
="${LD-ld} -m elf32ppclinux"
5367 LD
="${LD-ld} -m elf_s390"
5370 LD
="${LD-ld} -m elf32_sparc"
5376 x86_64
-*kfreebsd
*-gnu)
5377 LD
="${LD-ld} -m elf_x86_64_fbsd"
5380 LD
="${LD-ld} -m elf_x86_64"
5382 ppc
*-*linux
*|powerpc
*-*linux
*)
5383 LD
="${LD-ld} -m elf64ppc"
5385 s390
*-*linux
*|s390
*-*tpf
*)
5386 LD
="${LD-ld} -m elf64_s390"
5389 LD
="${LD-ld} -m elf64_sparc"
5399 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5400 SAVE_CFLAGS
="$CFLAGS"
5401 CFLAGS
="$CFLAGS -belf"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5403 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5404 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5408 ac_cpp
='$CPP $CPPFLAGS'
5409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5424 if ac_fn_c_try_link
"$LINENO"; then :
5425 lt_cv_cc_needs_belf
=yes
5427 lt_cv_cc_needs_belf
=no
5429 rm -f core conftest.err conftest.
$ac_objext \
5430 conftest
$ac_exeext conftest.
$ac_ext
5432 ac_cpp
='$CPP $CPPFLAGS'
5433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5439 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5440 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5441 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5442 CFLAGS
="$SAVE_CFLAGS"
5446 # Find out which ABI we are using.
5447 echo 'int i;' > conftest.
$ac_ext
5448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5449 (eval $ac_compile) 2>&5
5451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5452 test $ac_status = 0; }; then
5453 case `/usr/bin/file conftest.o` in
5455 case $lt_cv_prog_gnu_ld in
5456 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5458 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5470 need_locks
="$enable_libtool_lock"
5474 rhapsody
* | darwin
*)
5475 if test -n "$ac_tool_prefix"; then
5476 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5477 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$DSYMUTIL"; then
5484 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5504 if test -n "$DSYMUTIL"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5506 $as_echo "$DSYMUTIL" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5514 if test -z "$ac_cv_prog_DSYMUTIL"; then
5515 ac_ct_DSYMUTIL
=$DSYMUTIL
5516 # Extract the first word of "dsymutil", so it can be a program name with args.
5517 set dummy dsymutil
; ac_word
=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -n "$ac_ct_DSYMUTIL"; then
5524 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir
=.
5531 for ac_exec_ext
in '' $ac_executable_extensions; do
5532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5533 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5544 if test -n "$ac_ct_DSYMUTIL"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5546 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5552 if test "x$ac_ct_DSYMUTIL" = x
; then
5555 case $cross_compiling:$ac_tool_warned in
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5559 ac_tool_warned
=yes ;;
5561 DSYMUTIL
=$ac_ct_DSYMUTIL
5564 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5567 if test -n "$ac_tool_prefix"; then
5568 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5569 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5573 $as_echo_n "(cached) " >&6
5575 if test -n "$NMEDIT"; then
5576 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir
=.
5583 for ac_exec_ext
in '' $ac_executable_extensions; do
5584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 NMEDIT
=$ac_cv_prog_NMEDIT
5596 if test -n "$NMEDIT"; then
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5598 $as_echo "$NMEDIT" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }
5606 if test -z "$ac_cv_prog_NMEDIT"; then
5607 ac_ct_NMEDIT
=$NMEDIT
5608 # Extract the first word of "nmedit", so it can be a program name with args.
5609 set dummy nmedit
; ac_word
=$2
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611 $as_echo_n "checking for $ac_word... " >&6; }
5612 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5613 $as_echo_n "(cached) " >&6
5615 if test -n "$ac_ct_NMEDIT"; then
5616 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5622 test -z "$as_dir" && as_dir
=.
5623 for ac_exec_ext
in '' $ac_executable_extensions; do
5624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5625 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5636 if test -n "$ac_ct_NMEDIT"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5638 $as_echo "$ac_ct_NMEDIT" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5644 if test "x$ac_ct_NMEDIT" = x
; then
5647 case $cross_compiling:$ac_tool_warned in
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5651 ac_tool_warned
=yes ;;
5653 NMEDIT
=$ac_ct_NMEDIT
5656 NMEDIT
="$ac_cv_prog_NMEDIT"
5659 if test -n "$ac_tool_prefix"; then
5660 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5661 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if test "${ac_cv_prog_LIPO+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$LIPO"; then
5668 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir
=.
5675 for ac_exec_ext
in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 LIPO
=$ac_cv_prog_LIPO
5688 if test -n "$LIPO"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5690 $as_echo "$LIPO" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5698 if test -z "$ac_cv_prog_LIPO"; then
5700 # Extract the first word of "lipo", so it can be a program name with args.
5701 set dummy lipo
; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$ac_ct_LIPO"; then
5708 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5717 ac_cv_prog_ac_ct_LIPO
="lipo"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5728 if test -n "$ac_ct_LIPO"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5730 $as_echo "$ac_ct_LIPO" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5736 if test "x$ac_ct_LIPO" = x
; then
5739 case $cross_compiling:$ac_tool_warned in
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5743 ac_tool_warned
=yes ;;
5748 LIPO
="$ac_cv_prog_LIPO"
5751 if test -n "$ac_tool_prefix"; then
5752 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5753 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$OTOOL"; then
5760 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5769 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 OTOOL
=$ac_cv_prog_OTOOL
5780 if test -n "$OTOOL"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5782 $as_echo "$OTOOL" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if test -z "$ac_cv_prog_OTOOL"; then
5792 # Extract the first word of "otool", so it can be a program name with args.
5793 set dummy otool
; ac_word
=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5797 $as_echo_n "(cached) " >&6
5799 if test -n "$ac_ct_OTOOL"; then
5800 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5806 test -z "$as_dir" && as_dir
=.
5807 for ac_exec_ext
in '' $ac_executable_extensions; do
5808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5809 ac_cv_prog_ac_ct_OTOOL
="otool"
5810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5820 if test -n "$ac_ct_OTOOL"; then
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5822 $as_echo "$ac_ct_OTOOL" >&6; }
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5828 if test "x$ac_ct_OTOOL" = x
; then
5831 case $cross_compiling:$ac_tool_warned in
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned
=yes ;;
5840 OTOOL
="$ac_cv_prog_OTOOL"
5843 if test -n "$ac_tool_prefix"; then
5844 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5845 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847 $as_echo_n "checking for $ac_word... " >&6; }
5848 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5849 $as_echo_n "(cached) " >&6
5851 if test -n "$OTOOL64"; then
5852 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5858 test -z "$as_dir" && as_dir
=.
5859 for ac_exec_ext
in '' $ac_executable_extensions; do
5860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5861 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 OTOOL64
=$ac_cv_prog_OTOOL64
5872 if test -n "$OTOOL64"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5874 $as_echo "$OTOOL64" >&6; }
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877 $as_echo "no" >&6; }
5882 if test -z "$ac_cv_prog_OTOOL64"; then
5883 ac_ct_OTOOL64
=$OTOOL64
5884 # Extract the first word of "otool64", so it can be a program name with args.
5885 set dummy otool64
; ac_word
=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5891 if test -n "$ac_ct_OTOOL64"; then
5892 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5898 test -z "$as_dir" && as_dir
=.
5899 for ac_exec_ext
in '' $ac_executable_extensions; do
5900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5901 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5912 if test -n "$ac_ct_OTOOL64"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5914 $as_echo "$ac_ct_OTOOL64" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5920 if test "x$ac_ct_OTOOL64" = x
; then
5923 case $cross_compiling:$ac_tool_warned in
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5927 ac_tool_warned
=yes ;;
5929 OTOOL64
=$ac_ct_OTOOL64
5932 OTOOL64
="$ac_cv_prog_OTOOL64"
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5962 $as_echo_n "checking for -single_module linker flag... " >&6; }
5963 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5966 lt_cv_apple_cc_single_mod
=no
5967 if test -z "${LT_MULTI_MODULE}"; then
5968 # By default we will add the -single_module flag. You can override
5969 # by either setting the environment variable LT_MULTI_MODULE
5970 # non-empty at configure time, or by adding -multi_module to the
5972 rm -rf libconftest.dylib
*
5973 echo "int foo(void){return 1;}" > conftest.c
5974 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5975 -dynamiclib -Wl,-single_module conftest.c" >&5
5976 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5977 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5979 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5980 lt_cv_apple_cc_single_mod
=yes
5982 cat conftest.err
>&5
5984 rm -rf libconftest.dylib
*
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5989 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5991 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5992 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5993 $as_echo_n "(cached) " >&6
5995 lt_cv_ld_exported_symbols_list
=no
5996 save_LDFLAGS
=$LDFLAGS
5997 echo "_main" > conftest.sym
5998 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6010 if ac_fn_c_try_link
"$LINENO"; then :
6011 lt_cv_ld_exported_symbols_list
=yes
6013 lt_cv_ld_exported_symbols_list
=no
6015 rm -f core conftest.err conftest.
$ac_objext \
6016 conftest
$ac_exeext conftest.
$ac_ext
6017 LDFLAGS
="$save_LDFLAGS"
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6021 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6023 rhapsody
* | darwin1.
[012])
6024 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6026 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6027 darwin
*) # darwin 5.x on
6028 # if running on 10.5 or later, the deployment target defaults
6029 # to the OS version, if on x86, and 10.4, the deployment
6030 # target defaults to 10.4. Don't you love it?
6031 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6032 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6033 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6035 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6037 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6041 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6042 _lt_dar_single_mod
='$single_module'
6044 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6045 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6047 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6049 if test "$DSYMUTIL" != ":"; then
6050 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6058 ac_cpp
='$CPP $CPPFLAGS'
6059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6063 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6064 # On Suns, sometimes $CPP names a directory.
6065 if test -n "$CPP" && test -d "$CPP"; then
6068 if test -z "$CPP"; then
6069 if test "${ac_cv_prog_CPP+set}" = set; then :
6070 $as_echo_n "(cached) " >&6
6072 # Double quotes because CPP needs to be expanded
6073 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6076 for ac_c_preproc_warn_flag
in '' yes
6078 # Use a header file that comes with gcc, so configuring glibc
6079 # with a fresh cross-compiler works.
6080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6081 # <limits.h> exists even on freestanding compilers.
6082 # On the NeXT, cc -E runs the code through the compiler's parser,
6083 # not just through cpp. "Syntax error" is here to catch this case.
6084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6085 /* end confdefs.h. */
6087 # include <limits.h>
6089 # include <assert.h>
6093 if ac_fn_c_try_cpp
"$LINENO"; then :
6096 # Broken: fails on valid input.
6099 rm -f conftest.err conftest.
$ac_ext
6101 # OK, works on sane cases. Now check whether nonexistent headers
6102 # can be detected and how.
6103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6105 #include <ac_nonexistent.h>
6107 if ac_fn_c_try_cpp
"$LINENO"; then :
6108 # Broken: success on invalid input.
6111 # Passes both tests.
6115 rm -f conftest.err conftest.
$ac_ext
6118 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6119 rm -f conftest.err conftest.
$ac_ext
6120 if $ac_preproc_ok; then :
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6133 $as_echo "$CPP" >&6; }
6135 for ac_c_preproc_warn_flag
in '' yes
6137 # Use a header file that comes with gcc, so configuring glibc
6138 # with a fresh cross-compiler works.
6139 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6140 # <limits.h> exists even on freestanding compilers.
6141 # On the NeXT, cc -E runs the code through the compiler's parser,
6142 # not just through cpp. "Syntax error" is here to catch this case.
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6146 # include <limits.h>
6148 # include <assert.h>
6152 if ac_fn_c_try_cpp
"$LINENO"; then :
6155 # Broken: fails on valid input.
6158 rm -f conftest.err conftest.
$ac_ext
6160 # OK, works on sane cases. Now check whether nonexistent headers
6161 # can be detected and how.
6162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6163 /* end confdefs.h. */
6164 #include <ac_nonexistent.h>
6166 if ac_fn_c_try_cpp
"$LINENO"; then :
6167 # Broken: success on invalid input.
6170 # Passes both tests.
6174 rm -f conftest.err conftest.
$ac_ext
6177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6178 rm -f conftest.err conftest.
$ac_ext
6179 if $ac_preproc_ok; then :
6182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6183 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6184 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6185 See \`config.log' for more details." "$LINENO" 5; }
6189 ac_cpp
='$CPP $CPPFLAGS'
6190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6196 $as_echo_n "checking for ANSI C header files... " >&6; }
6197 if test "${ac_cv_header_stdc+set}" = set; then :
6198 $as_echo_n "(cached) " >&6
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6215 if ac_fn_c_try_compile
"$LINENO"; then :
6216 ac_cv_header_stdc
=yes
6218 ac_cv_header_stdc
=no
6220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6222 if test $ac_cv_header_stdc = yes; then
6223 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6230 $EGREP "memchr" >/dev
/null
2>&1; then :
6233 ac_cv_header_stdc
=no
6239 if test $ac_cv_header_stdc = yes; then
6240 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6247 $EGREP "free" >/dev
/null
2>&1; then :
6250 ac_cv_header_stdc
=no
6256 if test $ac_cv_header_stdc = yes; then
6257 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6258 if test "$cross_compiling" = yes; then :
6261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6265 #if ((' ' & 0x0FF) == 0x020)
6266 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6267 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6269 # define ISLOWER(c) \
6270 (('a' <= (c) && (c) <= 'i') \
6271 || ('j' <= (c) && (c) <= 'r') \
6272 || ('s' <= (c) && (c) <= 'z'))
6273 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6276 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6281 for (i = 0; i < 256; i++)
6282 if (XOR (islower (i), ISLOWER (i))
6283 || toupper (i) != TOUPPER (i))
6288 if ac_fn_c_try_run
"$LINENO"; then :
6291 ac_cv_header_stdc
=no
6293 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6294 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6300 $as_echo "$ac_cv_header_stdc" >&6; }
6301 if test $ac_cv_header_stdc = yes; then
6303 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6307 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6308 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6309 inttypes.h stdint.h unistd.h
6311 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6312 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6314 eval as_val
=\$
$as_ac_Header
6315 if test "x$as_val" = x
""yes; then :
6316 cat >>confdefs.h
<<_ACEOF
6317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6325 for ac_header
in dlfcn.h
6327 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6329 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6330 cat >>confdefs.h
<<_ACEOF
6331 #define HAVE_DLFCN_H 1
6341 # Check whether --enable-static was given.
6342 if test "${enable_static+set}" = set; then :
6343 enableval
=$enable_static; p
=${PACKAGE-default}
6345 yes) enable_static
=yes ;;
6346 no
) enable_static
=no
;;
6349 # Look at the argument we got. We use all the common list separators.
6350 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6351 for pkg
in $enableval; do
6353 if test "X$pkg" = "X$p"; then
6379 # Check whether --enable-shared was given.
6380 if test "${enable_shared+set}" = set; then :
6381 enableval
=$enable_shared; p
=${PACKAGE-default}
6383 yes) enable_shared
=yes ;;
6384 no
) enable_shared
=no
;;
6387 # Look at the argument we got. We use all the common list separators.
6388 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6389 for pkg
in $enableval; do
6391 if test "X$pkg" = "X$p"; then
6412 # Check whether --with-pic was given.
6413 if test "${with_pic+set}" = set; then :
6414 withval
=$with_pic; pic_mode
="$withval"
6420 test -z "$pic_mode" && pic_mode
=default
6428 # Check whether --enable-fast-install was given.
6429 if test "${enable_fast_install+set}" = set; then :
6430 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6432 yes) enable_fast_install
=yes ;;
6433 no
) enable_fast_install
=no
;;
6435 enable_fast_install
=no
6436 # Look at the argument we got. We use all the common list separators.
6437 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6438 for pkg
in $enableval; do
6440 if test "X$pkg" = "X$p"; then
6441 enable_fast_install
=yes
6448 enable_fast_install
=yes
6461 # This can be used to rebuild libtool when needed
6462 LIBTOOL_DEPS
="$ltmain"
6464 # Always use our own libtool.
6465 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6491 test -z "$LN_S" && LN_S
="ln -s"
6506 if test -n "${ZSH_VERSION+set}" ; then
6507 setopt NO_GLOB_SUBST
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6511 $as_echo_n "checking for objdir... " >&6; }
6512 if test "${lt_cv_objdir+set}" = set; then :
6513 $as_echo_n "(cached) " >&6
6515 rm -f .libs
2>/dev
/null
6516 mkdir .libs
2>/dev
/null
6517 if test -d .libs
; then
6520 # MS-DOS does not allow filenames that begin with a dot.
6523 rmdir .libs
2>/dev
/null
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6526 $as_echo "$lt_cv_objdir" >&6; }
6527 objdir
=$lt_cv_objdir
6533 cat >>confdefs.h
<<_ACEOF
6534 #define LT_OBJDIR "$lt_cv_objdir/"
6555 # AIX sometimes has problems with the GCC collect2 program. For some
6556 # reason, if we set the COLLECT_NAMES environment variable, the problems
6557 # vanish in a puff of smoke.
6558 if test "X${COLLECT_NAMES+set}" != Xset
; then
6560 export COLLECT_NAMES
6565 # Sed substitution that helps us do robust quoting. It backslashifies
6566 # metacharacters that are still active within double-quoted strings.
6567 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6569 # Same as above, but do not quote variable references.
6570 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6572 # Sed substitution to delay expansion of an escaped shell variable in a
6573 # double_quote_subst'ed string.
6574 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6576 # Sed substitution to delay expansion of an escaped single quote.
6577 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6579 # Sed substitution to avoid accidental globbing in evaled expressions
6580 no_glob_subst
='s/\*/\\\*/g'
6584 can_build_shared
=yes
6586 # All known linkers require a `.a' archive for static linking (except MSVC,
6587 # which needs '.lib').
6590 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6593 old_CFLAGS
="$CFLAGS"
6595 # Set sane defaults for various variables
6596 test -z "$CC" && CC
=cc
6597 test -z "$LTCC" && LTCC
=$CC
6598 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6599 test -z "$LD" && LD
=ld
6600 test -z "$ac_objext" && ac_objext
=o
6602 for cc_temp
in $compiler""; do
6604 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6605 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6610 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6613 # Only perform the check for file, if the check method requires it
6614 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6615 case $deplibs_check_method in
6617 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6619 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6620 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6621 $as_echo_n "(cached) " >&6
6625 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6628 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6629 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6630 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6631 for ac_dir
in $ac_dummy; do
6633 test -z "$ac_dir" && ac_dir
=.
6634 if test -f $ac_dir/${ac_tool_prefix}file; then
6635 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6636 if test -n "$file_magic_test_file"; then
6637 case $deplibs_check_method in
6639 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6640 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6641 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6642 $EGREP "$file_magic_regex" > /dev
/null
; then
6647 *** Warning: the command libtool uses to detect shared libraries,
6648 *** $file_magic_cmd, produces output that libtool cannot recognize.
6649 *** The result is that libtool may fail to recognize shared libraries
6650 *** as such. This will affect the creation of libtool libraries that
6651 *** depend on shared libraries, but programs linked with such libtool
6652 *** libraries will work regardless of this problem. Nevertheless, you
6653 *** may want to report the problem to your system manager and/or to
6654 *** bug-libtool@gnu.org
6664 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6669 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6670 if test -n "$MAGIC_CMD"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6672 $as_echo "$MAGIC_CMD" >&6; }
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6682 if test -z "$lt_cv_path_MAGIC_CMD"; then
6683 if test -n "$ac_tool_prefix"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6685 $as_echo_n "checking for file... " >&6; }
6686 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6687 $as_echo_n "(cached) " >&6
6691 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6694 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6695 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6696 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6697 for ac_dir
in $ac_dummy; do
6699 test -z "$ac_dir" && ac_dir
=.
6700 if test -f $ac_dir/file; then
6701 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6702 if test -n "$file_magic_test_file"; then
6703 case $deplibs_check_method in
6705 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6706 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6707 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6708 $EGREP "$file_magic_regex" > /dev
/null
; then
6713 *** Warning: the command libtool uses to detect shared libraries,
6714 *** $file_magic_cmd, produces output that libtool cannot recognize.
6715 *** The result is that libtool may fail to recognize shared libraries
6716 *** as such. This will affect the creation of libtool libraries that
6717 *** depend on shared libraries, but programs linked with such libtool
6718 *** libraries will work regardless of this problem. Nevertheless, you
6719 *** may want to report the problem to your system manager and/or to
6720 *** bug-libtool@gnu.org
6730 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6735 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6736 if test -n "$MAGIC_CMD"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6738 $as_echo "$MAGIC_CMD" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6754 # Use C for the default configuration in the libtool script
6758 ac_cpp
='$CPP $CPPFLAGS'
6759 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6764 # Source file extension for C test sources.
6767 # Object file extension for compiled C test sources.
6771 # Code to be used in simple compile tests
6772 lt_simple_compile_test_code
="int some_variable = 0;"
6774 # Code to be used in simple link tests
6775 lt_simple_link_test_code
='int main(){return(0);}'
6783 # If no C compiler was specified, use CC.
6786 # If no C compiler flags were specified, use CFLAGS.
6787 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6789 # Allow CC to be a program name with arguments.
6792 # Save the default compiler, since it gets overwritten when the other
6793 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6794 compiler_DEFAULT
=$CC
6796 # save warnings/boilerplate of simple test code
6797 ac_outfile
=conftest.
$ac_objext
6798 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6799 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6800 _lt_compiler_boilerplate
=`cat conftest.err`
6803 ac_outfile
=conftest.
$ac_objext
6804 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6805 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6806 _lt_linker_boilerplate
=`cat conftest.err`
6810 if test -n "$compiler"; then
6812 lt_prog_compiler_no_builtin_flag
=
6814 if test "$GCC" = yes; then
6815 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6818 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6819 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6822 lt_cv_prog_compiler_rtti_exceptions
=no
6823 ac_outfile
=conftest.
$ac_objext
6824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6825 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6826 # Insert the option either (1) after the last *FLAGS variable, or
6827 # (2) before a word containing "conftest.", or (3) at the end.
6828 # Note that $ac_compile itself does not contain backslashes and begins
6829 # with a dollar sign (not a hyphen), so the echo should work correctly.
6830 # The option is referenced via a variable to avoid confusing sed.
6831 lt_compile
=`echo "$ac_compile" | $SED \
6832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6834 -e 's:$: $lt_compiler_flag:'`
6835 (eval echo "\"\$as_me:6835: $lt_compile\"" >&5)
6836 (eval "$lt_compile" 2>conftest.err
)
6838 cat conftest.err
>&5
6839 echo "$as_me:6839: \$? = $ac_status" >&5
6840 if (exit $ac_status) && test -s "$ac_outfile"; then
6841 # The compiler can only warn and ignore the option if not recognized
6842 # So say no if there are warnings other than the usual output.
6843 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6844 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6845 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6846 lt_cv_prog_compiler_rtti_exceptions
=yes
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6853 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6855 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6856 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6868 lt_prog_compiler_wl
=
6869 lt_prog_compiler_pic
=
6870 lt_prog_compiler_static
=
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6873 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6875 if test "$GCC" = yes; then
6876 lt_prog_compiler_wl
='-Wl,'
6877 lt_prog_compiler_static
='-static'
6881 # All AIX code is PIC.
6882 if test "$host_cpu" = ia64
; then
6883 # AIX 5 now supports IA64 processor
6884 lt_prog_compiler_static
='-Bstatic'
6891 # see comment about AmigaOS4 .so support
6892 lt_prog_compiler_pic
='-fPIC'
6895 # FIXME: we need at least 68020 code to build shared libraries, but
6896 # adding the `-m68020' flag to GCC prevents building anything better,
6898 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6903 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6904 # PIC is the default for these OSes.
6907 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6908 # This hack is so that the source file can tell whether it is being
6909 # built for inclusion in a dll (and should export symbols for example).
6910 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6911 # (--disable-auto-import) libraries
6912 lt_prog_compiler_pic
='-DDLL_EXPORT'
6915 darwin
* | rhapsody
*)
6916 # PIC is the default on this platform
6917 # Common symbols not allowed in MH_DYLIB files
6918 lt_prog_compiler_pic
='-fno-common'
6922 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6923 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6924 # sets the default TLS model and affects inlining.
6930 lt_prog_compiler_pic
='-fPIC'
6936 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6937 # Instead, we relocate shared libraries at runtime.
6941 # Just because we use GCC doesn't mean we suddenly get shared libraries
6942 # on systems that don't support them.
6943 lt_prog_compiler_can_build_shared
=no
6948 # QNX uses GNU C++, but need to define -shared option too, otherwise
6950 lt_prog_compiler_pic
='-fPIC -shared'
6954 if test -d /usr
/nec
; then
6955 lt_prog_compiler_pic
=-Kconform_pic
6960 lt_prog_compiler_pic
='-fPIC'
6964 # PORTME Check for flag to pass linker flags through the system compiler.
6967 lt_prog_compiler_wl
='-Wl,'
6968 if test "$host_cpu" = ia64
; then
6969 # AIX 5 now supports IA64 processor
6970 lt_prog_compiler_static
='-Bstatic'
6972 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6976 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6977 # This hack is so that the source file can tell whether it is being
6978 # built for inclusion in a dll (and should export symbols for example).
6979 lt_prog_compiler_pic
='-DDLL_EXPORT'
6982 hpux9
* | hpux10
* | hpux11
*)
6983 lt_prog_compiler_wl
='-Wl,'
6984 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6991 lt_prog_compiler_pic
='+Z'
6994 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6995 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6998 irix5
* | irix6
* | nonstopux
*)
6999 lt_prog_compiler_wl
='-Wl,'
7000 # PIC (with -KPIC) is the default.
7001 lt_prog_compiler_static
='-non_shared'
7004 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7005 case $cc_basename in
7006 # old Intel for x86_64 which still supported -KPIC.
7008 lt_prog_compiler_wl
='-Wl,'
7009 lt_prog_compiler_pic
='-KPIC'
7010 lt_prog_compiler_static
='-static'
7012 # icc used to be incompatible with GCC.
7013 # ICC 10 doesn't accept -KPIC any more.
7015 lt_prog_compiler_wl
='-Wl,'
7016 lt_prog_compiler_pic
='-fPIC'
7017 lt_prog_compiler_static
='-static'
7019 # Lahey Fortran 8.1.
7021 lt_prog_compiler_wl
='-Wl,'
7022 lt_prog_compiler_pic
='--shared'
7023 lt_prog_compiler_static
='--static'
7025 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7026 # Portland Group compilers (*not* the Pentium gcc compiler,
7027 # which looks to be a dead project)
7028 lt_prog_compiler_wl
='-Wl,'
7029 lt_prog_compiler_pic
='-fpic'
7030 lt_prog_compiler_static
='-Bstatic'
7033 lt_prog_compiler_wl
='-Wl,'
7034 # All Alpha code is PIC.
7035 lt_prog_compiler_static
='-non_shared'
7038 # IBM XL C 8.0/Fortran 10.1 on PPC
7039 lt_prog_compiler_wl
='-Wl,'
7040 lt_prog_compiler_pic
='-qpic'
7041 lt_prog_compiler_static
='-qstaticlink'
7044 case `$CC -V 2>&1 | sed 5q` in
7047 lt_prog_compiler_pic
='-KPIC'
7048 lt_prog_compiler_static
='-Bstatic'
7049 lt_prog_compiler_wl
='-Wl,'
7052 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7053 lt_prog_compiler_pic
='-KPIC'
7054 lt_prog_compiler_static
='-Bstatic'
7055 lt_prog_compiler_wl
=''
7063 lt_prog_compiler_pic
='-KPIC'
7064 lt_prog_compiler_static
='-Bstatic'
7068 # QNX uses GNU C++, but need to define -shared option too, otherwise
7070 lt_prog_compiler_pic
='-fPIC -shared'
7073 osf3
* | osf4
* | osf5
*)
7074 lt_prog_compiler_wl
='-Wl,'
7075 # All OSF/1 code is PIC.
7076 lt_prog_compiler_static
='-non_shared'
7080 lt_prog_compiler_static
='-non_shared'
7084 lt_prog_compiler_pic
='-KPIC'
7085 lt_prog_compiler_static
='-Bstatic'
7086 case $cc_basename in
7088 lt_prog_compiler_wl
='-Qoption ld ';;
7090 lt_prog_compiler_wl
='-Wl,';;
7095 lt_prog_compiler_wl
='-Qoption ld '
7096 lt_prog_compiler_pic
='-PIC'
7097 lt_prog_compiler_static
='-Bstatic'
7100 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7101 lt_prog_compiler_wl
='-Wl,'
7102 lt_prog_compiler_pic
='-KPIC'
7103 lt_prog_compiler_static
='-Bstatic'
7107 if test -d /usr
/nec
;then
7108 lt_prog_compiler_pic
='-Kconform_pic'
7109 lt_prog_compiler_static
='-Bstatic'
7113 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7114 lt_prog_compiler_wl
='-Wl,'
7115 lt_prog_compiler_pic
='-KPIC'
7116 lt_prog_compiler_static
='-Bstatic'
7120 lt_prog_compiler_wl
='-Wl,'
7121 lt_prog_compiler_can_build_shared
=no
7125 lt_prog_compiler_pic
='-pic'
7126 lt_prog_compiler_static
='-Bstatic'
7130 lt_prog_compiler_can_build_shared
=no
7136 # For platforms which do not support PIC, -DPIC is meaningless:
7138 lt_prog_compiler_pic
=
7141 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7145 $as_echo "$lt_prog_compiler_pic" >&6; }
7153 # Check to make sure the PIC flag actually works.
7155 if test -n "$lt_prog_compiler_pic"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7157 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7158 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7159 $as_echo_n "(cached) " >&6
7161 lt_cv_prog_compiler_pic_works
=no
7162 ac_outfile
=conftest.
$ac_objext
7163 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7164 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7165 # Insert the option either (1) after the last *FLAGS variable, or
7166 # (2) before a word containing "conftest.", or (3) at the end.
7167 # Note that $ac_compile itself does not contain backslashes and begins
7168 # with a dollar sign (not a hyphen), so the echo should work correctly.
7169 # The option is referenced via a variable to avoid confusing sed.
7170 lt_compile
=`echo "$ac_compile" | $SED \
7171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7173 -e 's:$: $lt_compiler_flag:'`
7174 (eval echo "\"\$as_me:7174: $lt_compile\"" >&5)
7175 (eval "$lt_compile" 2>conftest.err
)
7177 cat conftest.err
>&5
7178 echo "$as_me:7178: \$? = $ac_status" >&5
7179 if (exit $ac_status) && test -s "$ac_outfile"; then
7180 # The compiler can only warn and ignore the option if not recognized
7181 # So say no if there are warnings other than the usual output.
7182 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7183 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7184 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7185 lt_cv_prog_compiler_pic_works
=yes
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7192 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7194 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7195 case $lt_prog_compiler_pic in
7197 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7200 lt_prog_compiler_pic
=
7201 lt_prog_compiler_can_build_shared
=no
7212 # Check to make sure the static flag actually works.
7214 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7216 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7217 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7218 $as_echo_n "(cached) " >&6
7220 lt_cv_prog_compiler_static_works
=no
7221 save_LDFLAGS
="$LDFLAGS"
7222 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7223 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7224 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7225 # The linker can only warn and ignore the option if not recognized
7226 # So say no if there are warnings
7227 if test -s conftest.err
; then
7228 # Append any errors to the config.log.
7229 cat conftest.err
1>&5
7230 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7231 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7232 if diff conftest.exp conftest.er2
>/dev
/null
; then
7233 lt_cv_prog_compiler_static_works
=yes
7236 lt_cv_prog_compiler_static_works
=yes
7240 LDFLAGS
="$save_LDFLAGS"
7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7244 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7246 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7249 lt_prog_compiler_static
=
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7259 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7260 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7261 $as_echo_n "(cached) " >&6
7263 lt_cv_prog_compiler_c_o
=no
7264 $RM -r conftest
2>/dev
/null
7268 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7270 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7271 # Insert the option either (1) after the last *FLAGS variable, or
7272 # (2) before a word containing "conftest.", or (3) at the end.
7273 # Note that $ac_compile itself does not contain backslashes and begins
7274 # with a dollar sign (not a hyphen), so the echo should work correctly.
7275 lt_compile
=`echo "$ac_compile" | $SED \
7276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7278 -e 's:$: $lt_compiler_flag:'`
7279 (eval echo "\"\$as_me:7279: $lt_compile\"" >&5)
7280 (eval "$lt_compile" 2>out
/conftest.err
)
7282 cat out
/conftest.err
>&5
7283 echo "$as_me:7283: \$? = $ac_status" >&5
7284 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7286 # The compiler can only warn and ignore the option if not recognized
7287 # So say no if there are warnings
7288 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7289 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7290 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7291 lt_cv_prog_compiler_c_o
=yes
7296 # SGI C++ compiler will create directory out/ii_files/ for
7297 # template instantiation
7298 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7299 $RM out
/* && rmdir out
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7306 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7314 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7315 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7316 $as_echo_n "(cached) " >&6
7318 lt_cv_prog_compiler_c_o
=no
7319 $RM -r conftest
2>/dev
/null
7323 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7325 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7326 # Insert the option either (1) after the last *FLAGS variable, or
7327 # (2) before a word containing "conftest.", or (3) at the end.
7328 # Note that $ac_compile itself does not contain backslashes and begins
7329 # with a dollar sign (not a hyphen), so the echo should work correctly.
7330 lt_compile
=`echo "$ac_compile" | $SED \
7331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7333 -e 's:$: $lt_compiler_flag:'`
7334 (eval echo "\"\$as_me:7334: $lt_compile\"" >&5)
7335 (eval "$lt_compile" 2>out
/conftest.err
)
7337 cat out
/conftest.err
>&5
7338 echo "$as_me:7338: \$? = $ac_status" >&5
7339 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7341 # The compiler can only warn and ignore the option if not recognized
7342 # So say no if there are warnings
7343 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7344 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7345 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7346 lt_cv_prog_compiler_c_o
=yes
7351 # SGI C++ compiler will create directory out/ii_files/ for
7352 # template instantiation
7353 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7354 $RM out
/* && rmdir out
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7361 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7366 hard_links
="nottested"
7367 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7368 # do not overwrite the value of need_locks provided by the user
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7370 $as_echo_n "checking if we can lock with hard links... " >&6; }
7373 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7375 ln conftest.a conftest.b
2>&5 || hard_links
=no
7376 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7378 $as_echo "$hard_links" >&6; }
7379 if test "$hard_links" = no
; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7381 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7394 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7397 allow_undefined_flag
=
7398 always_export_symbols
=no
7400 archive_expsym_cmds
=
7401 compiler_needs_object
=no
7402 enable_shared_with_static_runtimes
=no
7403 export_dynamic_flag_spec
=
7404 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7405 hardcode_automatic
=no
7407 hardcode_direct_absolute
=no
7408 hardcode_libdir_flag_spec
=
7409 hardcode_libdir_flag_spec_ld
=
7410 hardcode_libdir_separator
=
7412 hardcode_shlibpath_var
=unsupported
7414 link_all_deplibs
=unknown
7417 old_archive_from_new_cmds
=
7418 old_archive_from_expsyms_cmds
=
7419 thread_safe_flag_spec
=
7420 whole_archive_flag_spec
=
7421 # include_expsyms should be a list of space-separated symbols to be *always*
7422 # included in the symbol list
7424 # exclude_expsyms can be an extended regexp of symbols to exclude
7425 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7426 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7427 # as well as any symbol that contains `d'.
7428 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7429 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7430 # platforms (ab)use it in PIC code, but their linkers get confused if
7431 # the symbol is explicitly referenced. Since portable code cannot
7432 # rely on this symbol name, it's probably fine to never include it in
7433 # preloaded symbol tables.
7434 # Exclude shared library initialization/finalization symbols.
7435 extract_expsyms_cmds
=
7438 cygwin
* | mingw
* | pw32
* | cegcc
*)
7439 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7440 # When not using gcc, we currently assume that we are using
7441 # Microsoft Visual C++.
7442 if test "$GCC" != yes; then
7447 # we just hope/assume this is gcc and not c89 (= MSVC++)
7453 linux
* | k
*bsd
*-gnu)
7459 if test "$with_gnu_ld" = yes; then
7460 # If archive_cmds runs LD, not CC, wlarc should be empty
7463 # Set some defaults for GNU ld with shared library support. These
7464 # are reset later if shared libraries are not supported. Putting them
7465 # here allows them to be overridden if necessary.
7466 runpath_var
=LD_RUN_PATH
7467 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7468 export_dynamic_flag_spec
='${wl}--export-dynamic'
7469 # ancient GNU ld didn't support --whole-archive et. al.
7470 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7471 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7473 whole_archive_flag_spec
=
7475 supports_anon_versioning
=no
7476 case `$LD -v 2>&1` in
7477 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7478 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7479 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7480 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7481 *\
2.11.
*) ;; # other 2.11 versions
7482 *) supports_anon_versioning
=yes ;;
7485 # See if GNU ld supports shared libraries.
7488 # On AIX/PPC, the GNU linker is very broken
7489 if test "$host_cpu" != ia64
; then
7493 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7494 *** to be unable to reliably create shared libraries on AIX.
7495 *** Therefore, libtool is disabling shared libraries support. If you
7496 *** really care for shared libraries, you may want to modify your PATH
7497 *** so that a non-GNU linker is found, and then restart.
7506 # see comment about AmigaOS4 .so support
7507 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7508 archive_expsym_cmds
=''
7511 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)'
7512 hardcode_libdir_flag_spec
='-L$libdir'
7513 hardcode_minus_L
=yes
7519 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7520 allow_undefined_flag
=unsupported
7521 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7522 # support --undefined. This deserves some investigation. FIXME
7523 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7529 cygwin
* | mingw
* | pw32
* | cegcc
*)
7530 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7531 # as there is no search path for DLLs.
7532 hardcode_libdir_flag_spec
='-L$libdir'
7533 allow_undefined_flag
=unsupported
7534 always_export_symbols
=no
7535 enable_shared_with_static_runtimes
=yes
7536 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7538 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7539 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7540 # If the export-symbols file already is a .def file (1st line
7541 # is EXPORTS), use it as is; otherwise, prepend...
7542 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7543 cp $export_symbols $output_objdir/$soname.def;
7545 echo EXPORTS > $output_objdir/$soname.def;
7546 cat $export_symbols >> $output_objdir/$soname.def;
7548 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7556 hardcode_shlibpath_var
=no
7557 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7558 export_dynamic_flag_spec
='${wl}-E'
7559 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7560 # Instead, shared libraries are loaded at an image base (0x10000000 by
7561 # default) and relocated if they conflict, which is a slow very memory
7562 # consuming and fragmenting process. To avoid this, we pick a random,
7563 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7564 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7565 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7566 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'
7569 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7571 if test "$host_os" = linux
-dietlibc; then
7572 case $cc_basename in
7573 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7576 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7577 && test "$tmp_diet" = no
7580 tmp_sharedflag
='-shared'
7581 case $cc_basename,$host_cpu in
7582 pgcc
*) # Portland Group C compiler
7583 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'
7584 tmp_addflag
=' $pic_flag'
7586 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7587 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'
7588 tmp_addflag
=' $pic_flag -Mnomain' ;;
7589 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7590 tmp_addflag
=' -i_dynamic' ;;
7591 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7592 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7593 ifc
* | ifort
*) # Intel Fortran compiler
7594 tmp_addflag
=' -nofor_main' ;;
7595 lf95
*) # Lahey Fortran 8.1
7596 whole_archive_flag_spec
=
7597 tmp_sharedflag
='--shared' ;;
7598 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7599 tmp_sharedflag
='-qmkshrobj'
7602 case `$CC -V 2>&1 | sed 5q` in
7603 *Sun\ C
*) # Sun C 5.9
7604 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'
7605 compiler_needs_object
=yes
7606 tmp_sharedflag
='-G' ;;
7607 *Sun\ F
*) # Sun Fortran 8.3
7608 tmp_sharedflag
='-G' ;;
7610 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7612 if test "x$supports_anon_versioning" = xyes
; then
7613 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7614 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7615 echo "local: *; };" >> $output_objdir/$libname.ver~
7616 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7619 case $cc_basename in
7621 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7622 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7623 hardcode_libdir_flag_spec
=
7624 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7625 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7626 if test "x$supports_anon_versioning" = xyes
; then
7627 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7629 echo "local: *; };" >> $output_objdir/$libname.ver~
7630 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7639 netbsd
* | netbsdelf
*-gnu)
7640 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7641 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7644 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7645 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7650 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7654 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7655 *** create shared libraries on Solaris systems. Therefore, libtool
7656 *** is disabling shared libraries support. We urge you to upgrade GNU
7657 *** binutils to release 2.9.1 or newer. Another option is to modify
7658 *** your PATH or compiler configuration so that the native linker is
7659 *** used, and then restart.
7662 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7663 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7664 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7670 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7671 case `$LD -v 2>&1` in
7672 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7676 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7677 *** reliably create shared libraries on SCO systems. Therefore, libtool
7678 *** is disabling shared libraries support. We urge you to upgrade GNU
7679 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7680 *** your PATH or compiler configuration so that the native linker is
7681 *** used, and then restart.
7686 # For security reasons, it is highly recommended that you always
7687 # use absolute paths for naming shared libraries, and exclude the
7688 # DT_RUNPATH tag from executables and libraries. But doing so
7689 # requires that you compile everything twice, which is a pain.
7690 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7691 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7692 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7693 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7702 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7705 hardcode_shlibpath_var
=no
7709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7710 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7711 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7718 if test "$ld_shlibs" = no
; then
7720 hardcode_libdir_flag_spec
=
7721 export_dynamic_flag_spec
=
7722 whole_archive_flag_spec
=
7725 # PORTME fill in a description of your system's linker (not GNU ld)
7728 allow_undefined_flag
=unsupported
7729 always_export_symbols
=yes
7730 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'
7731 # Note: this linker hardcodes the directories in LIBPATH if there
7732 # are no directories specified by -L.
7733 hardcode_minus_L
=yes
7734 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7735 # Neither direct hardcoding nor static linking is supported with a
7737 hardcode_direct
=unsupported
7742 if test "$host_cpu" = ia64
; then
7743 # On IA64, the linker does run time linking by default, so we don't
7744 # have to do anything special.
7745 aix_use_runtimelinking
=no
7746 exp_sym_flag
='-Bexport'
7749 # If we're using GNU nm, then we don't want the "-C" option.
7750 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7751 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7752 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'
7754 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'
7756 aix_use_runtimelinking
=no
7758 # Test if we are trying to use run time linking or normal
7759 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7760 # need to do runtime linking.
7761 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7762 for ld_flag
in $LDFLAGS; do
7763 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7764 aix_use_runtimelinking
=yes
7771 exp_sym_flag
='-bexport'
7772 no_entry_flag
='-bnoentry'
7775 # When large executables or shared objects are built, AIX ld can
7776 # have problems creating the table of contents. If linking a library
7777 # or program results in "error TOC overflow" add -mminimal-toc to
7778 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7779 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7783 hardcode_direct_absolute
=yes
7784 hardcode_libdir_separator
=':'
7785 link_all_deplibs
=yes
7786 file_list_spec
='${wl}-f,'
7788 if test "$GCC" = yes; then
7789 case $host_os in aix4.
[012]|aix4.
[012].
*)
7790 # We only want to do this on AIX 4.2 and lower, the check
7791 # below for broken collect2 doesn't work under 4.3+
7792 collect2name
=`${CC} -print-prog-name=collect2`
7793 if test -f "$collect2name" &&
7794 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7796 # We have reworked collect2
7799 # We have old collect2
7800 hardcode_direct
=unsupported
7801 # It fails to find uninstalled libraries when the uninstalled
7802 # path is not listed in the libpath. Setting hardcode_minus_L
7803 # to unsupported forces relinking
7804 hardcode_minus_L
=yes
7805 hardcode_libdir_flag_spec
='-L$libdir'
7806 hardcode_libdir_separator
=
7810 shared_flag
='-shared'
7811 if test "$aix_use_runtimelinking" = yes; then
7812 shared_flag
="$shared_flag "'${wl}-G'
7817 if test "$host_cpu" = ia64
; then
7818 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7819 # chokes on -Wl,-G. The following line is correct:
7822 if test "$aix_use_runtimelinking" = yes; then
7823 shared_flag
='${wl}-G'
7825 shared_flag
='${wl}-bM:SRE'
7830 export_dynamic_flag_spec
='${wl}-bexpall'
7831 # It seems that -bexpall does not export symbols beginning with
7832 # underscore (_), so it is better to generate a list of symbols to export.
7833 always_export_symbols
=yes
7834 if test "$aix_use_runtimelinking" = yes; then
7835 # Warning - without using the other runtime loading flags (-brtl),
7836 # -berok will link without error, but may produce a broken library.
7837 allow_undefined_flag
='-berok'
7838 # Determine the default libpath from the value encoded in an
7840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7851 if ac_fn_c_try_link
"$LINENO"; then :
7853 lt_aix_libpath_sed
='
7854 /Import File Strings/,/^$/ {
7860 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7861 # Check for a 64-bit object if we didn't find anything.
7862 if test -z "$aix_libpath"; then
7863 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7866 rm -f core conftest.err conftest.
$ac_objext \
7867 conftest
$ac_exeext conftest.
$ac_ext
7868 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7870 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7871 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"
7873 if test "$host_cpu" = ia64
; then
7874 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7875 allow_undefined_flag
="-z nodefs"
7876 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"
7878 # Determine the default libpath from the value encoded in an
7880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7891 if ac_fn_c_try_link
"$LINENO"; then :
7893 lt_aix_libpath_sed
='
7894 /Import File Strings/,/^$/ {
7900 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7901 # Check for a 64-bit object if we didn't find anything.
7902 if test -z "$aix_libpath"; then
7903 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7906 rm -f core conftest.err conftest.
$ac_objext \
7907 conftest
$ac_exeext conftest.
$ac_ext
7908 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7910 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7911 # Warning - without using the other run time loading flags,
7912 # -berok will link without error, but may produce a broken library.
7913 no_undefined_flag
=' ${wl}-bernotok'
7914 allow_undefined_flag
=' ${wl}-berok'
7915 # Exported symbols can be pulled into shared objects from archives
7916 whole_archive_flag_spec
='$convenience'
7917 archive_cmds_need_lc
=yes
7918 # This is similar to how AIX traditionally builds its shared libraries.
7919 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'
7927 # see comment about AmigaOS4 .so support
7928 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7929 archive_expsym_cmds
=''
7932 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)'
7933 hardcode_libdir_flag_spec
='-L$libdir'
7934 hardcode_minus_L
=yes
7940 export_dynamic_flag_spec
=-rdynamic
7943 cygwin
* | mingw
* | pw32
* | cegcc
*)
7944 # When not using gcc, we currently assume that we are using
7945 # Microsoft Visual C++.
7946 # hardcode_libdir_flag_spec is actually meaningless, as there is
7947 # no search path for DLLs.
7948 hardcode_libdir_flag_spec
=' '
7949 allow_undefined_flag
=unsupported
7950 # Tell ltmain to make .lib files, not .a files.
7952 # Tell ltmain to make .dll files, not .so files.
7954 # FIXME: Setting linknames here is a bad hack.
7955 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7956 # The linker will automatically build a .lib file if we build a DLL.
7957 old_archive_from_new_cmds
='true'
7958 # FIXME: Should let the user specify the lib program.
7959 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7960 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7961 enable_shared_with_static_runtimes
=yes
7964 darwin
* | rhapsody
*)
7967 archive_cmds_need_lc
=no
7969 hardcode_automatic
=yes
7970 hardcode_shlibpath_var
=unsupported
7971 whole_archive_flag_spec
=''
7972 link_all_deplibs
=yes
7973 allow_undefined_flag
="$_lt_dar_allow_undefined"
7974 case $cc_basename in
7975 ifort
*) _lt_dar_can_shared
=yes ;;
7976 *) _lt_dar_can_shared
=$GCC ;;
7978 if test "$_lt_dar_can_shared" = "yes"; then
7979 output_verbose_link_cmd
=echo
7980 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7981 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7982 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}"
7983 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}"
7992 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7993 hardcode_libdir_flag_spec
='-L$libdir'
7994 hardcode_shlibpath_var
=no
8001 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8002 # support. Future versions do this automatically, but an explicit c++rt0.o
8003 # does not break anything, and helps significantly (at the cost of a little
8006 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8007 hardcode_libdir_flag_spec
='-R$libdir'
8009 hardcode_shlibpath_var
=no
8012 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8014 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8016 hardcode_minus_L
=yes
8017 hardcode_shlibpath_var
=no
8020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8021 freebsd
* | dragonfly
*)
8022 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8023 hardcode_libdir_flag_spec
='-R$libdir'
8025 hardcode_shlibpath_var
=no
8029 if test "$GCC" = yes; then
8030 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'
8032 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'
8034 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8035 hardcode_libdir_separator
=:
8038 # hardcode_minus_L: Not really in the search PATH,
8039 # but as the default location of the library.
8040 hardcode_minus_L
=yes
8041 export_dynamic_flag_spec
='${wl}-E'
8045 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8046 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8048 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8050 if test "$with_gnu_ld" = no
; then
8051 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8052 hardcode_libdir_flag_spec_ld
='+b $libdir'
8053 hardcode_libdir_separator
=:
8055 hardcode_direct_absolute
=yes
8056 export_dynamic_flag_spec
='${wl}-E'
8057 # hardcode_minus_L: Not really in the search PATH,
8058 # but as the default location of the library.
8059 hardcode_minus_L
=yes
8064 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8067 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8070 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8073 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8079 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8082 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8085 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8089 if test "$with_gnu_ld" = no
; then
8090 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8091 hardcode_libdir_separator
=:
8096 hardcode_shlibpath_var
=no
8100 hardcode_direct_absolute
=yes
8101 export_dynamic_flag_spec
='${wl}-E'
8103 # hardcode_minus_L: Not really in the search PATH,
8104 # but as the default location of the library.
8105 hardcode_minus_L
=yes
8111 irix5
* | irix6
* | nonstopux
*)
8112 if test "$GCC" = yes; then
8113 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'
8114 # Try to use the -exported_symbol ld option, if it does not
8115 # work, assume that -exports_file does not work either and
8116 # implicitly export all symbols.
8117 save_LDFLAGS
="$LDFLAGS"
8118 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8123 if ac_fn_c_try_link
"$LINENO"; then :
8124 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'
8127 rm -f core conftest.err conftest.
$ac_objext \
8128 conftest
$ac_exeext conftest.
$ac_ext
8129 LDFLAGS
="$save_LDFLAGS"
8131 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'
8132 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'
8134 archive_cmds_need_lc
='no'
8135 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8136 hardcode_libdir_separator
=:
8138 link_all_deplibs
=yes
8141 netbsd
* | netbsdelf
*-gnu)
8142 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8143 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8145 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8147 hardcode_libdir_flag_spec
='-R$libdir'
8149 hardcode_shlibpath_var
=no
8153 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8155 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8156 hardcode_libdir_separator
=:
8157 hardcode_shlibpath_var
=no
8164 if test -f /usr
/libexec
/ld.so
; then
8166 hardcode_shlibpath_var
=no
8167 hardcode_direct_absolute
=yes
8168 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8169 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8170 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8171 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8172 export_dynamic_flag_spec
='${wl}-E'
8175 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8176 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8177 hardcode_libdir_flag_spec
='-R$libdir'
8180 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8181 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8191 hardcode_libdir_flag_spec
='-L$libdir'
8192 hardcode_minus_L
=yes
8193 allow_undefined_flag
=unsupported
8194 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'
8195 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8199 if test "$GCC" = yes; then
8200 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8201 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'
8203 allow_undefined_flag
=' -expect_unresolved \*'
8204 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'
8206 archive_cmds_need_lc
='no'
8207 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8208 hardcode_libdir_separator
=:
8211 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8212 if test "$GCC" = yes; then
8213 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8214 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'
8215 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8217 allow_undefined_flag
=' -expect_unresolved \*'
8218 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'
8219 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~
8220 $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'
8222 # Both c and cxx compiler support -rpath directly
8223 hardcode_libdir_flag_spec
='-rpath $libdir'
8225 archive_cmds_need_lc
='no'
8226 hardcode_libdir_separator
=:
8230 no_undefined_flag
=' -z defs'
8231 if test "$GCC" = yes; then
8233 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8234 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8235 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8237 case `$CC -V 2>&1` in
8240 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8241 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8242 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8246 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8247 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8248 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8252 hardcode_libdir_flag_spec
='-R$libdir'
8253 hardcode_shlibpath_var
=no
8255 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8257 # The compiler driver will combine and reorder linker options,
8258 # but understands `-z linker_flag'. GCC discards it without `$wl',
8259 # but is careful enough not to reorder.
8260 # Supported since Solaris 2.6 (maybe 2.5.1?)
8261 if test "$GCC" = yes; then
8262 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8264 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8268 link_all_deplibs
=yes
8272 if test "x$host_vendor" = xsequent
; then
8273 # Use $CC to link under sequent, because it throws in some extra .o
8274 # files that make .init and .fini sections work.
8275 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8277 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8279 hardcode_libdir_flag_spec
='-L$libdir'
8281 hardcode_minus_L
=yes
8282 hardcode_shlibpath_var
=no
8286 case $host_vendor in
8288 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8289 hardcode_direct
=yes # is this really true???
8292 ## LD is ld it makes a PLAMLIB
8293 ## CC just makes a GrossModule.
8294 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8295 reload_cmds
='$CC -r -o $output$reload_objs'
8299 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8300 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8303 runpath_var
='LD_RUN_PATH'
8304 hardcode_shlibpath_var
=no
8308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8309 hardcode_shlibpath_var
=no
8310 export_dynamic_flag_spec
='-Bexport'
8314 if test -d /usr
/nec
; then
8315 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8316 hardcode_shlibpath_var
=no
8317 runpath_var
=LD_RUN_PATH
8318 hardcode_runpath_var
=yes
8323 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8324 no_undefined_flag
='${wl}-z,text'
8325 archive_cmds_need_lc
=no
8326 hardcode_shlibpath_var
=no
8327 runpath_var
='LD_RUN_PATH'
8329 if test "$GCC" = yes; then
8330 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8331 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8333 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8334 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8338 sysv5
* | sco3.2v5
* | sco5v6
*)
8339 # Note: We can NOT use -z defs as we might desire, because we do not
8340 # link with -lc, and that would cause any symbols used from libc to
8341 # always be unresolved, which means just about no library would
8342 # ever link correctly. If we're not using GNU ld we use -z text
8343 # though, which does catch some bad symbols but isn't as heavy-handed
8345 no_undefined_flag
='${wl}-z,text'
8346 allow_undefined_flag
='${wl}-z,nodefs'
8347 archive_cmds_need_lc
=no
8348 hardcode_shlibpath_var
=no
8349 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8350 hardcode_libdir_separator
=':'
8351 link_all_deplibs
=yes
8352 export_dynamic_flag_spec
='${wl}-Bexport'
8353 runpath_var
='LD_RUN_PATH'
8355 if test "$GCC" = yes; then
8356 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8357 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8359 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8365 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8366 hardcode_libdir_flag_spec
='-L$libdir'
8367 hardcode_shlibpath_var
=no
8375 if test x
$host_vendor = xsni
; then
8377 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8378 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8385 $as_echo "$ld_shlibs" >&6; }
8386 test "$ld_shlibs" = no
&& can_build_shared
=no
8388 with_gnu_ld
=$with_gnu_ld
8405 # Do we need to explicitly link libc?
8407 case "x$archive_cmds_need_lc" in
8409 # Assume -lc should be added
8410 archive_cmds_need_lc
=yes
8412 if test "$enable_shared" = yes && test "$GCC" = yes; then
8413 case $archive_cmds in
8415 # FIXME: we may have to deal with multi-command sequences.
8418 # Test whether the compiler implicitly links with -lc since on some
8419 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8420 # to ld, don't add -lc before -lgcc.
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8422 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8424 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8427 (eval $ac_compile) 2>&5
8429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8430 test $ac_status = 0; } 2>conftest.err
; then
8433 libobjs
=conftest.
$ac_objext
8435 wl
=$lt_prog_compiler_wl
8436 pic_flag
=$lt_prog_compiler_pic
8442 lt_save_allow_undefined_flag
=$allow_undefined_flag
8443 allow_undefined_flag
=
8444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8445 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8448 test $ac_status = 0; }
8450 archive_cmds_need_lc
=no
8452 archive_cmds_need_lc
=yes
8454 allow_undefined_flag
=$lt_save_allow_undefined_flag
8456 cat conftest.err
1>&5
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8460 $as_echo "$archive_cmds_need_lc" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8626 if test "$GCC" = yes; then
8628 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8629 *) lt_awk_arg
="/^libraries:/" ;;
8631 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8632 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8633 # if the path contains ";" then we assume it to be the separator
8634 # otherwise default to the standard path separator (i.e. ":") - it is
8635 # assumed that no part of a normal pathname contains ";" but that should
8636 # okay in the real world where ";" in dirpaths is itself problematic.
8637 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8639 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8641 # Ok, now we have the path, separated by spaces, we can step through it
8642 # and add multilib dir if necessary.
8643 lt_tmp_lt_search_path_spec
=
8644 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8645 for lt_sys_path
in $lt_search_path_spec; do
8646 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8647 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8649 test -d "$lt_sys_path" && \
8650 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8653 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8654 BEGIN {RS=" "; FS="/|\n";} {
8657 for (lt_i = NF; lt_i > 0; lt_i--) {
8658 if ($lt_i != "" && $lt_i != ".") {
8659 if ($lt_i == "..") {
8662 if (lt_count == 0) {
8663 lt_foo="/" $lt_i lt_foo;
8670 if (lt_foo != "") { lt_freq[lt_foo]++; }
8671 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8673 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8675 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8678 libname_spec
='lib$name'
8686 shlibpath_overrides_runpath
=unknown
8688 dynamic_linker
="$host_os ld.so"
8689 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8690 need_lib_prefix
=unknown
8691 hardcode_into_libs
=no
8693 # when you set need_version to no, make sure it does not cause -set_version
8694 # flags to be left without arguments
8695 need_version
=unknown
8700 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8701 shlibpath_var
=LIBPATH
8703 # AIX 3 has no versioning support, so we append a major version to the name.
8704 soname_spec
='${libname}${release}${shared_ext}$major'
8711 hardcode_into_libs
=yes
8712 if test "$host_cpu" = ia64
; then
8713 # AIX 5 supports IA64
8714 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8715 shlibpath_var
=LD_LIBRARY_PATH
8717 # With GCC up to 2.95.x, collect2 would create an import file
8718 # for dependence libraries. The import file would start with
8719 # the line `#! .'. This would cause the generated library to
8720 # depend on `.', always an invalid library. This was fixed in
8721 # development snapshots of GCC prior to 3.0.
8723 aix4
| aix4.
[01] | aix4.
[01].
*)
8724 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8726 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8733 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8734 # soname into executable. Probably we can add versioning support to
8735 # collect2, so additional links can be useful in future.
8736 if test "$aix_use_runtimelinking" = yes; then
8737 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8738 # instead of lib<name>.a to let people know that these are not
8739 # typical AIX shared libraries.
8740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8742 # We preserve .a as extension for shared libraries through AIX4.2
8743 # and later when we are not doing run time linking.
8744 library_names_spec
='${libname}${release}.a $libname.a'
8745 soname_spec
='${libname}${release}${shared_ext}$major'
8747 shlibpath_var
=LIBPATH
8754 # Since July 2007 AmigaOS4 officially supports .so libraries.
8755 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759 library_names_spec
='$libname.ixlibrary $libname.a'
8760 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8761 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'
8767 library_names_spec
='${libname}${shared_ext}'
8768 dynamic_linker
="$host_os ld.so"
8769 shlibpath_var
=LIBRARY_PATH
8775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8776 soname_spec
='${libname}${release}${shared_ext}$major'
8777 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8778 shlibpath_var
=LD_LIBRARY_PATH
8779 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8780 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8781 # the default ld.so.conf also contains /usr/contrib/lib and
8782 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8783 # libtool to hard-code these into programs
8786 cygwin
* | mingw
* | pw32
* | cegcc
*)
8787 version_type
=windows
8792 case $GCC,$host_os in
8793 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8794 library_names_spec
='$libname.dll.a'
8795 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8796 postinstall_cmds
='base_file=`basename \${file}`~
8797 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8798 dldir=$destdir/`dirname \$dlpath`~
8799 test -d \$dldir || mkdir -p \$dldir~
8800 $install_prog $dir/$dlname \$dldir/$dlname~
8801 chmod a+x \$dldir/$dlname~
8802 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8803 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8805 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8806 dlpath=$dir/\$dldll~
8808 shlibpath_overrides_runpath
=yes
8812 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8813 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8814 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8817 # MinGW DLLs use traditional 'lib' prefix
8818 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8819 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8820 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8821 # It is most probably a Windows format PATH printed by
8822 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8823 # path with ; separators, and with drive letters. We can handle the
8824 # drive letters (cygwin fileutils understands them), so leave them,
8825 # especially as we might pass files found there to a mingw objdump,
8826 # which wouldn't understand a cygwinified path. Ahh.
8827 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8829 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8833 # pw32 DLLs use 'pw' prefix rather than 'lib'
8834 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8840 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8843 dynamic_linker
='Win32 ld.exe'
8844 # FIXME: first we should search . and the directory the executable is in
8848 darwin
* | rhapsody
*)
8849 dynamic_linker
="$host_os dyld"
8853 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8854 soname_spec
='${libname}${release}${major}$shared_ext'
8855 shlibpath_overrides_runpath
=yes
8856 shlibpath_var
=DYLD_LIBRARY_PATH
8857 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8859 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8860 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8868 soname_spec
='${libname}${release}${shared_ext}$major'
8869 shlibpath_var
=LD_LIBRARY_PATH
8876 freebsd
* | dragonfly
*)
8877 # DragonFly does not have aout. When/if they implement a new
8878 # versioning mechanism, adjust this.
8879 if test -x /usr
/bin
/objformat
; then
8880 objformat
=`/usr/bin/objformat`
8883 freebsd
[123]*) objformat
=aout
;;
8887 version_type
=freebsd
-$objformat
8888 case $version_type in
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8895 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8899 shlibpath_var
=LD_LIBRARY_PATH
8902 shlibpath_overrides_runpath
=yes
8904 freebsd3.
[01]* | freebsdelf3.
[01]*)
8905 shlibpath_overrides_runpath
=yes
8906 hardcode_into_libs
=yes
8908 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8909 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8910 shlibpath_overrides_runpath
=no
8911 hardcode_into_libs
=yes
8913 *) # from 4.6 on, and DragonFly
8914 shlibpath_overrides_runpath
=yes
8915 hardcode_into_libs
=yes
8924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8925 soname_spec
='${libname}${release}${shared_ext}$major'
8926 shlibpath_var
=LD_LIBRARY_PATH
8927 hardcode_into_libs
=yes
8930 hpux9
* | hpux10
* | hpux11
*)
8931 # Give a soname corresponding to the major version so that dld.sl refuses to
8932 # link against other versions.
8939 hardcode_into_libs
=yes
8940 dynamic_linker
="$host_os dld.so"
8941 shlibpath_var
=LD_LIBRARY_PATH
8942 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8944 soname_spec
='${libname}${release}${shared_ext}$major'
8945 if test "X$HPUX_IA64_MODE" = X32
; then
8946 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8948 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8950 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8954 hardcode_into_libs
=yes
8955 dynamic_linker
="$host_os dld.sl"
8956 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8957 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8959 soname_spec
='${libname}${release}${shared_ext}$major'
8960 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8961 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8965 dynamic_linker
="$host_os dld.sl"
8966 shlibpath_var
=SHLIB_PATH
8967 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8969 soname_spec
='${libname}${release}${shared_ext}$major'
8972 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8973 postinstall_cmds
='chmod 555 $lib'
8980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8981 soname_spec
='${libname}${release}${shared_ext}$major'
8982 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8983 shlibpath_var
=LD_LIBRARY_PATH
8984 shlibpath_overrides_runpath
=no
8985 hardcode_into_libs
=yes
8988 irix5
* | irix6
* | nonstopux
*)
8990 nonstopux
*) version_type
=nonstopux
;;
8992 if test "$lt_cv_prog_gnu_ld" = yes; then
9000 soname_spec
='${libname}${release}${shared_ext}$major'
9001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9003 irix5
* | nonstopux
*)
9007 case $LD in # libtool.m4 will add one of these switches to LD
9008 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9009 libsuff
= shlibsuff
= libmagic
=32-bit;;
9010 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9011 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9012 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9013 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9014 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9018 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9019 shlibpath_overrides_runpath
=no
9020 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9021 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9022 hardcode_into_libs
=yes
9025 # No shared lib support for Linux oldld, aout, or coff.
9026 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9030 # This must be Linux ELF.
9031 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9036 soname_spec
='${libname}${release}${shared_ext}$major'
9037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9038 shlibpath_var
=LD_LIBRARY_PATH
9039 shlibpath_overrides_runpath
=no
9040 # Some binutils ld are patched to set DT_RUNPATH
9041 save_LDFLAGS
=$LDFLAGS
9043 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9044 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9056 if ac_fn_c_try_link
"$LINENO"; then :
9057 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9058 shlibpath_overrides_runpath
=yes
9061 rm -f core conftest.err conftest.
$ac_objext \
9062 conftest
$ac_exeext conftest.
$ac_ext
9063 LDFLAGS
=$save_LDFLAGS
9066 # This implies no fast_install, which is unacceptable.
9067 # Some rework will be needed to allow for fast_install
9068 # before this can be enabled.
9069 hardcode_into_libs
=yes
9071 # Append ld.so.conf contents to the search path
9072 if test -f /etc
/ld.so.conf
; then
9073 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' ' '`
9074 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9077 # We used to test for /lib/ld.so.1 and disable shared libraries on
9078 # powerpc, because MkLinux only supported shared libraries with the
9079 # GNU dynamic linker. Since this was broken with cross compilers,
9080 # most powerpc-linux boxes support dynamic linking these days and
9081 # people can always --disable-shared, the test was removed, and we
9082 # assume the GNU/Linux dynamic linker is in use.
9083 dynamic_linker
='GNU/Linux ld.so'
9090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9091 soname_spec
='${libname}${release}${shared_ext}$major'
9092 shlibpath_var
=LD_LIBRARY_PATH
9093 shlibpath_overrides_runpath
=no
9094 hardcode_into_libs
=yes
9095 dynamic_linker
='NetBSD ld.elf_so'
9102 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9104 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9105 dynamic_linker
='NetBSD (a.out) ld.so'
9107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9108 soname_spec
='${libname}${release}${shared_ext}$major'
9109 dynamic_linker
='NetBSD ld.elf_so'
9111 shlibpath_var
=LD_LIBRARY_PATH
9112 shlibpath_overrides_runpath
=yes
9113 hardcode_into_libs
=yes
9118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9119 shlibpath_var
=LD_LIBRARY_PATH
9120 shlibpath_overrides_runpath
=yes
9127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9128 soname_spec
='${libname}${release}${shared_ext}$major'
9129 shlibpath_var
=LD_LIBRARY_PATH
9130 shlibpath_overrides_runpath
=no
9131 hardcode_into_libs
=yes
9132 dynamic_linker
='ldqnx.so'
9137 sys_lib_dlsearch_path_spec
="/usr/lib"
9139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9141 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9142 *) need_version
=no
;;
9144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9145 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9146 shlibpath_var
=LD_LIBRARY_PATH
9147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9149 openbsd2.
[89] | openbsd2.
[89].
*)
9150 shlibpath_overrides_runpath
=no
9153 shlibpath_overrides_runpath
=yes
9157 shlibpath_overrides_runpath
=yes
9162 libname_spec
='$name'
9165 library_names_spec
='$libname${shared_ext} $libname.a'
9166 dynamic_linker
='OS/2 ld.exe'
9167 shlibpath_var
=LIBPATH
9170 osf3
* | osf4
* | osf5
*)
9174 soname_spec
='${libname}${release}${shared_ext}$major'
9175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9176 shlibpath_var
=LD_LIBRARY_PATH
9177 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9178 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9190 soname_spec
='${libname}${release}${shared_ext}$major'
9191 shlibpath_var
=LD_LIBRARY_PATH
9192 shlibpath_overrides_runpath
=yes
9193 hardcode_into_libs
=yes
9194 # ldd complains unless libraries are executable
9195 postinstall_cmds
='chmod +x $lib'
9200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9201 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9202 shlibpath_var
=LD_LIBRARY_PATH
9203 shlibpath_overrides_runpath
=yes
9204 if test "$with_gnu_ld" = yes; then
9212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9213 soname_spec
='${libname}${release}${shared_ext}$major'
9214 shlibpath_var
=LD_LIBRARY_PATH
9215 case $host_vendor in
9217 shlibpath_overrides_runpath
=no
9219 runpath_var
=LD_RUN_PATH
9227 shlibpath_overrides_runpath
=no
9228 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9234 if test -d /usr
/nec
;then
9236 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9237 soname_spec
='$libname${shared_ext}.$major'
9238 shlibpath_var
=LD_LIBRARY_PATH
9242 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9243 version_type
=freebsd
-elf
9246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9247 soname_spec
='${libname}${release}${shared_ext}$major'
9248 shlibpath_var
=LD_LIBRARY_PATH
9249 shlibpath_overrides_runpath
=yes
9250 hardcode_into_libs
=yes
9251 if test "$with_gnu_ld" = yes; then
9252 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9254 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9257 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9261 sys_lib_dlsearch_path_spec
='/usr/lib'
9265 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9270 shlibpath_var
=LD_LIBRARY_PATH
9271 shlibpath_overrides_runpath
=no
9272 hardcode_into_libs
=yes
9277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9278 soname_spec
='${libname}${release}${shared_ext}$major'
9279 shlibpath_var
=LD_LIBRARY_PATH
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9287 $as_echo "$dynamic_linker" >&6; }
9288 test "$dynamic_linker" = no
&& can_build_shared
=no
9290 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9291 if test "$GCC" = yes; then
9292 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9296 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9299 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9391 if test -n "$hardcode_libdir_flag_spec" ||
9392 test -n "$runpath_var" ||
9393 test "X$hardcode_automatic" = "Xyes" ; then
9395 # We can hardcode non-existent directories.
9396 if test "$hardcode_direct" != no
&&
9397 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9398 # have to relink, otherwise we might link with an installed library
9399 # when we should be linking with a yet-to-be-installed one
9400 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9401 test "$hardcode_minus_L" != no
; then
9402 # Linking always hardcodes the temporary library directory.
9403 hardcode_action
=relink
9405 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9406 hardcode_action
=immediate
9409 # We cannot hardcode anything, or else we can only hardcode existing
9411 hardcode_action
=unsupported
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9414 $as_echo "$hardcode_action" >&6; }
9416 if test "$hardcode_action" = relink
||
9417 test "$inherit_rpath" = yes; then
9418 # Fast installation is not supported
9419 enable_fast_install
=no
9420 elif test "$shlibpath_overrides_runpath" = yes ||
9421 test "$enable_shared" = no
; then
9422 # Fast installation is not necessary
9423 enable_fast_install
=needless
9431 if test "x$enable_dlopen" != xyes
; then
9432 enable_dlopen
=unknown
9433 enable_dlopen_self
=unknown
9434 enable_dlopen_self_static
=unknown
9441 lt_cv_dlopen
="load_add_on"
9443 lt_cv_dlopen_self
=yes
9446 mingw
* | pw32
* | cegcc
*)
9447 lt_cv_dlopen
="LoadLibrary"
9452 lt_cv_dlopen
="dlopen"
9457 # if libdl is installed we need to link against it
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9459 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9460 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9461 $as_echo_n "(cached) " >&6
9463 ac_check_lib_save_LIBS
=$LIBS
9465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9483 if ac_fn_c_try_link
"$LINENO"; then :
9484 ac_cv_lib_dl_dlopen
=yes
9486 ac_cv_lib_dl_dlopen
=no
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 LIBS
=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9493 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9494 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9495 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9500 lt_cv_dlopen_self
=yes
9507 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9508 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9509 lt_cv_dlopen
="shl_load"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9512 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9513 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9514 $as_echo_n "(cached) " >&6
9516 ac_check_lib_save_LIBS
=$LIBS
9518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9536 if ac_fn_c_try_link
"$LINENO"; then :
9537 ac_cv_lib_dld_shl_load
=yes
9539 ac_cv_lib_dld_shl_load
=no
9541 rm -f core conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 LIBS
=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9546 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9547 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9548 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9550 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9551 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9552 lt_cv_dlopen
="dlopen"
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9557 $as_echo_n "(cached) " >&6
9559 ac_check_lib_save_LIBS
=$LIBS
9561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9579 if ac_fn_c_try_link
"$LINENO"; then :
9580 ac_cv_lib_dl_dlopen
=yes
9582 ac_cv_lib_dl_dlopen
=no
9584 rm -f core conftest.err conftest.
$ac_objext \
9585 conftest
$ac_exeext conftest.
$ac_ext
9586 LIBS
=$ac_check_lib_save_LIBS
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9590 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9591 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9594 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9595 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_lib_save_LIBS
=$LIBS
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9618 if ac_fn_c_try_link
"$LINENO"; then :
9619 ac_cv_lib_svld_dlopen
=yes
9621 ac_cv_lib_svld_dlopen
=no
9623 rm -f core conftest.err conftest.
$ac_objext \
9624 conftest
$ac_exeext conftest.
$ac_ext
9625 LIBS
=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9628 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9629 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9630 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9633 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9634 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9635 $as_echo_n "(cached) " >&6
9637 ac_check_lib_save_LIBS
=$LIBS
9639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9657 if ac_fn_c_try_link
"$LINENO"; then :
9658 ac_cv_lib_dld_dld_link
=yes
9660 ac_cv_lib_dld_dld_link
=no
9662 rm -f core conftest.err conftest.
$ac_objext \
9663 conftest
$ac_exeext conftest.
$ac_ext
9664 LIBS
=$ac_check_lib_save_LIBS
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9667 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9668 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9669 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9690 if test "x$lt_cv_dlopen" != xno
; then
9696 case $lt_cv_dlopen in
9698 save_CPPFLAGS
="$CPPFLAGS"
9699 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9701 save_LDFLAGS
="$LDFLAGS"
9702 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9705 LIBS
="$lt_cv_dlopen_libs $LIBS"
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9708 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9709 if test "${lt_cv_dlopen_self+set}" = set; then :
9710 $as_echo_n "(cached) " >&6
9712 if test "$cross_compiling" = yes; then :
9713 lt_cv_dlopen_self
=cross
9715 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9716 lt_status
=$lt_dlunknown
9717 cat > conftest.
$ac_ext <<_LT_EOF
9718 #line 9718 "configure"
9719 #include "confdefs.h"
9728 # define LT_DLGLOBAL RTLD_GLOBAL
9731 # define LT_DLGLOBAL DL_GLOBAL
9733 # define LT_DLGLOBAL 0
9737 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9738 find out it does not work in some platform. */
9739 #ifndef LT_DLLAZY_OR_NOW
9741 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9744 # define LT_DLLAZY_OR_NOW DL_LAZY
9747 # define LT_DLLAZY_OR_NOW RTLD_NOW
9750 # define LT_DLLAZY_OR_NOW DL_NOW
9752 # define LT_DLLAZY_OR_NOW 0
9759 void fnord() { int i=42;}
9762 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9763 int status = $lt_dlunknown;
9767 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9768 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9769 /* dlclose (self); */
9777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9778 (eval $ac_link) 2>&5
9780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9781 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9782 (.
/conftest
; exit; ) >&5 2>/dev
/null
9785 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9786 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9787 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9790 # compilation failed
9791 lt_cv_dlopen_self
=no
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9799 $as_echo "$lt_cv_dlopen_self" >&6; }
9801 if test "x$lt_cv_dlopen_self" = xyes
; then
9802 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9804 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9805 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9806 $as_echo_n "(cached) " >&6
9808 if test "$cross_compiling" = yes; then :
9809 lt_cv_dlopen_self_static
=cross
9811 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9812 lt_status
=$lt_dlunknown
9813 cat > conftest.
$ac_ext <<_LT_EOF
9814 #line 9814 "configure"
9815 #include "confdefs.h"
9824 # define LT_DLGLOBAL RTLD_GLOBAL
9827 # define LT_DLGLOBAL DL_GLOBAL
9829 # define LT_DLGLOBAL 0
9833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9834 find out it does not work in some platform. */
9835 #ifndef LT_DLLAZY_OR_NOW
9837 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9840 # define LT_DLLAZY_OR_NOW DL_LAZY
9843 # define LT_DLLAZY_OR_NOW RTLD_NOW
9846 # define LT_DLLAZY_OR_NOW DL_NOW
9848 # define LT_DLLAZY_OR_NOW 0
9855 void fnord() { int i=42;}
9858 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9859 int status = $lt_dlunknown;
9863 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9864 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9865 /* dlclose (self); */
9873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9874 (eval $ac_link) 2>&5
9876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9877 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9878 (.
/conftest
; exit; ) >&5 2>/dev
/null
9881 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9882 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9883 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9886 # compilation failed
9887 lt_cv_dlopen_self_static
=no
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9895 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9898 CPPFLAGS
="$save_CPPFLAGS"
9899 LDFLAGS
="$save_LDFLAGS"
9904 case $lt_cv_dlopen_self in
9905 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9906 *) enable_dlopen_self
=unknown
;;
9909 case $lt_cv_dlopen_self_static in
9910 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9911 *) enable_dlopen_self_static
=unknown
;;
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9934 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9935 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9936 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9937 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9939 $as_echo "yes" >&6; }
9941 # FIXME - insert some real tests, host_os isn't really good enough
9944 if test -n "$STRIP" ; then
9945 striplib
="$STRIP -x"
9946 old_striplib
="$STRIP -S"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9948 $as_echo "yes" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9956 $as_echo "no" >&6; }
9972 # Report which library types will actually be built
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9974 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9976 $as_echo "$can_build_shared" >&6; }
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9979 $as_echo_n "checking whether to build shared libraries... " >&6; }
9980 test "$can_build_shared" = "no" && enable_shared
=no
9982 # On AIX, shared libraries and static libraries use the same namespace, and
9983 # are all built from PIC.
9986 test "$enable_shared" = yes && enable_static
=no
9987 if test -n "$RANLIB"; then
9988 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9989 postinstall_cmds
='$RANLIB $lib'
9994 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9995 test "$enable_shared" = yes && enable_static
=no
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10000 $as_echo "$enable_shared" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10003 $as_echo_n "checking whether to build static libraries... " >&6; }
10004 # Make sure either enable_shared or enable_static is yes.
10005 test "$enable_shared" = yes || enable_static
=yes
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10007 $as_echo "$enable_static" >&6; }
10014 ac_cpp
='$CPP $CPPFLAGS'
10015 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10016 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10017 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10033 ac_config_commands
="$ac_config_commands libtool"
10038 # Only expand once:
10043 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10044 if test -n "$ac_tool_prefix"; then
10045 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10046 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10048 $as_echo_n "checking for $ac_word... " >&6; }
10049 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10050 $as_echo_n "(cached) " >&6
10052 case $PKG_CONFIG in
10054 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10058 for as_dir
in $PATH
10061 test -z "$as_dir" && as_dir
=.
10062 for ac_exec_ext
in '' $ac_executable_extensions; do
10063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10064 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10075 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10076 if test -n "$PKG_CONFIG"; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10078 $as_echo "$PKG_CONFIG" >&6; }
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10081 $as_echo "no" >&6; }
10086 if test -z "$ac_cv_path_PKG_CONFIG"; then
10087 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10088 # Extract the first word of "pkg-config", so it can be a program name with args.
10089 set dummy pkg
-config; ac_word
=$2
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10091 $as_echo_n "checking for $ac_word... " >&6; }
10092 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10093 $as_echo_n "(cached) " >&6
10095 case $ac_pt_PKG_CONFIG in
10097 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10101 for as_dir
in $PATH
10104 test -z "$as_dir" && as_dir
=.
10105 for ac_exec_ext
in '' $ac_executable_extensions; do
10106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10107 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10119 if test -n "$ac_pt_PKG_CONFIG"; then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10121 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124 $as_echo "no" >&6; }
10127 if test "x$ac_pt_PKG_CONFIG" = x
; then
10130 case $cross_compiling:$ac_tool_warned in
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10134 ac_tool_warned
=yes ;;
10136 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10139 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10143 if test -n "$PKG_CONFIG"; then
10144 _pkg_min_version
=0.22
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10146 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10147 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10149 $as_echo "yes" >&6; }
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10152 $as_echo "no" >&6; }
10158 ac_cpp
='$CXXCPP $CPPFLAGS'
10159 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10160 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10161 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10162 if test -z "$CXX"; then
10163 if test -n "$CCC"; then
10166 if test -n "$ac_tool_prefix"; then
10167 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10170 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10172 $as_echo_n "checking for $ac_word... " >&6; }
10173 if test "${ac_cv_prog_CXX+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10176 if test -n "$CXX"; then
10177 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10180 for as_dir
in $PATH
10183 test -z "$as_dir" && as_dir
=.
10184 for ac_exec_ext
in '' $ac_executable_extensions; do
10185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10186 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 CXX
=$ac_cv_prog_CXX
10197 if test -n "$CXX"; then
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10199 $as_echo "$CXX" >&6; }
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10206 test -n "$CXX" && break
10209 if test -z "$CXX"; then
10211 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10213 # Extract the first word of "$ac_prog", so it can be a program name with args.
10214 set dummy
$ac_prog; ac_word
=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10216 $as_echo_n "checking for $ac_word... " >&6; }
10217 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10218 $as_echo_n "(cached) " >&6
10220 if test -n "$ac_ct_CXX"; then
10221 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10224 for as_dir
in $PATH
10227 test -z "$as_dir" && as_dir
=.
10228 for ac_exec_ext
in '' $ac_executable_extensions; do
10229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10230 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10240 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10241 if test -n "$ac_ct_CXX"; then
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10243 $as_echo "$ac_ct_CXX" >&6; }
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10246 $as_echo "no" >&6; }
10250 test -n "$ac_ct_CXX" && break
10253 if test "x$ac_ct_CXX" = x
; then
10256 case $cross_compiling:$ac_tool_warned in
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10260 ac_tool_warned
=yes ;;
10268 # Provide some information about the compiler.
10269 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10272 for ac_option
in --version -v -V -qversion; do
10273 { { ac_try
="$ac_compiler $ac_option >&5"
10274 case "(($ac_try" in
10275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10276 *) ac_try_echo=$ac_try;;
10278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10279 $as_echo "$ac_try_echo"; } >&5
10280 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10282 if test -s conftest.err; then
10284 ... rest of stderr output deleted ...
10285 10q' conftest.err >conftest.er1
10286 cat conftest.er1 >&5
10288 rm -f conftest.er1 conftest.err
10289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10290 test $ac_status = 0; }
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10294 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10295 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10296 $as_echo_n "(cached) " >&6
10298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299 /* end confdefs.h. */
10312 if ac_fn_cxx_try_compile "$LINENO"; then :
10313 ac_compiler_gnu=yes
10317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10318 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10322 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10323 if test $ac_compiler_gnu = yes; then
10328 ac_test_CXXFLAGS=${CXXFLAGS+set}
10329 ac_save_CXXFLAGS=$CXXFLAGS
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10331 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10332 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10333 $as_echo_n "(cached) " >&6
10335 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10336 ac_cxx_werror_flag=yes
10337 ac_cv_prog_cxx_g=no
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h. */
10350 if ac_fn_cxx_try_compile "$LINENO"; then :
10351 ac_cv_prog_cxx_g=yes
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10365 if ac_fn_cxx_try_compile "$LINENO"; then :
10368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10381 if ac_fn_cxx_try_compile "$LINENO"; then :
10382 ac_cv_prog_cxx_g=yes
10384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10389 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10392 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10393 if test "$ac_test_CXXFLAGS" = set; then
10394 CXXFLAGS=$ac_save_CXXFLAGS
10395 elif test $ac_cv_prog_cxx_g = yes; then
10396 if test "$GXX" = yes; then
10402 if test "$GXX" = yes; then
10409 ac_cpp='$CPP $CPPFLAGS'
10410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10416 ac_cpp='$CXXCPP $CPPFLAGS'
10417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10420 if test -z "$CXX"; then
10421 if test -n "$CCC"; then
10424 if test -n "$ac_tool_prefix"; then
10425 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10427 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10428 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 $as_echo_n "checking for $ac_word... " >&6; }
10431 if test "${ac_cv_prog_CXX+set}" = set; then :
10432 $as_echo_n "(cached) " >&6
10434 if test -n "$CXX"; then
10435 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10444 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10454 CXX=$ac_cv_prog_CXX
10455 if test -n "$CXX"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10457 $as_echo "$CXX" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 $as_echo "no" >&6; }
10464 test -n "$CXX" && break
10467 if test -z "$CXX"; then
10469 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10471 # Extract the first word of "$ac_prog", so it can be a program name with args.
10472 set dummy $ac_prog; ac_word=$2
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10474 $as_echo_n "checking for $ac_word... " >&6; }
10475 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10476 $as_echo_n "(cached) " >&6
10478 if test -n "$ac_ct_CXX"; then
10479 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482 for as_dir in $PATH
10485 test -z "$as_dir" && as_dir=.
10486 for ac_exec_ext in '' $ac_executable_extensions; do
10487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10488 ac_cv_prog_ac_ct_CXX="$ac_prog"
10489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10499 if test -n "$ac_ct_CXX"; then
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10501 $as_echo "$ac_ct_CXX" >&6; }
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10504 $as_echo "no" >&6; }
10508 test -n "$ac_ct_CXX" && break
10511 if test "x$ac_ct_CXX" = x; then
10514 case $cross_compiling:$ac_tool_warned in
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10518 ac_tool_warned=yes ;;
10526 # Provide some information about the compiler.
10527 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10530 for ac_option in --version -v -V -qversion; do
10531 { { ac_try="$ac_compiler $ac_option >&5"
10532 case "(($ac_try" in
10533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10534 *) ac_try_echo
=$ac_try;;
10536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10537 $as_echo "$ac_try_echo"; } >&5
10538 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10540 if test -s conftest.err
; then
10542 ... rest of stderr output deleted ...
10543 10q' conftest.err
>conftest.er1
10544 cat conftest.er1
>&5
10546 rm -f conftest.er1 conftest.err
10547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10548 test $ac_status = 0; }
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10552 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10553 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10554 $as_echo_n "(cached) " >&6
10556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10557 /* end confdefs.h. */
10570 if ac_fn_cxx_try_compile
"$LINENO"; then :
10571 ac_compiler_gnu
=yes
10575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10576 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10580 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10581 if test $ac_compiler_gnu = yes; then
10586 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10587 ac_save_CXXFLAGS
=$CXXFLAGS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10589 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10590 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10591 $as_echo_n "(cached) " >&6
10593 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10594 ac_cxx_werror_flag
=yes
10595 ac_cv_prog_cxx_g
=no
10597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10598 /* end confdefs.h. */
10608 if ac_fn_cxx_try_compile
"$LINENO"; then :
10609 ac_cv_prog_cxx_g
=yes
10612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10623 if ac_fn_cxx_try_compile
"$LINENO"; then :
10626 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10639 if ac_fn_cxx_try_compile
"$LINENO"; then :
10640 ac_cv_prog_cxx_g
=yes
10642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10647 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10650 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10651 if test "$ac_test_CXXFLAGS" = set; then
10652 CXXFLAGS
=$ac_save_CXXFLAGS
10653 elif test $ac_cv_prog_cxx_g = yes; then
10654 if test "$GXX" = yes; then
10660 if test "$GXX" = yes; then
10667 ac_cpp
='$CPP $CPPFLAGS'
10668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10672 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10673 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10674 (test "X$CXX" != "Xg++"))) ; then
10676 ac_cpp
='$CXXCPP $CPPFLAGS'
10677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10681 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10682 if test -z "$CXXCPP"; then
10683 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10684 $as_echo_n "(cached) " >&6
10686 # Double quotes because CXXCPP needs to be expanded
10687 for CXXCPP
in "$CXX -E" "/lib/cpp"
10689 ac_preproc_ok
=false
10690 for ac_cxx_preproc_warn_flag
in '' yes
10692 # Use a header file that comes with gcc, so configuring glibc
10693 # with a fresh cross-compiler works.
10694 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10695 # <limits.h> exists even on freestanding compilers.
10696 # On the NeXT, cc -E runs the code through the compiler's parser,
10697 # not just through cpp. "Syntax error" is here to catch this case.
10698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h. */
10701 # include <limits.h>
10703 # include <assert.h>
10707 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10710 # Broken: fails on valid input.
10713 rm -f conftest.err conftest.
$ac_ext
10715 # OK, works on sane cases. Now check whether nonexistent headers
10716 # can be detected and how.
10717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10719 #include <ac_nonexistent.h>
10721 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10722 # Broken: success on invalid input.
10725 # Passes both tests.
10729 rm -f conftest.err conftest.
$ac_ext
10732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10733 rm -f conftest.err conftest.
$ac_ext
10734 if $ac_preproc_ok; then :
10739 ac_cv_prog_CXXCPP
=$CXXCPP
10742 CXXCPP
=$ac_cv_prog_CXXCPP
10744 ac_cv_prog_CXXCPP
=$CXXCPP
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10747 $as_echo "$CXXCPP" >&6; }
10748 ac_preproc_ok
=false
10749 for ac_cxx_preproc_warn_flag
in '' yes
10751 # Use a header file that comes with gcc, so configuring glibc
10752 # with a fresh cross-compiler works.
10753 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10754 # <limits.h> exists even on freestanding compilers.
10755 # On the NeXT, cc -E runs the code through the compiler's parser,
10756 # not just through cpp. "Syntax error" is here to catch this case.
10757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 # include <limits.h>
10762 # include <assert.h>
10766 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10769 # Broken: fails on valid input.
10772 rm -f conftest.err conftest.
$ac_ext
10774 # OK, works on sane cases. Now check whether nonexistent headers
10775 # can be detected and how.
10776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10778 #include <ac_nonexistent.h>
10780 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10781 # Broken: success on invalid input.
10784 # Passes both tests.
10788 rm -f conftest.err conftest.
$ac_ext
10791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10792 rm -f conftest.err conftest.
$ac_ext
10793 if $ac_preproc_ok; then :
10796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10798 _lt_caught_CXX_error
=yes; }
10802 ac_cpp
='$CPP $CPPFLAGS'
10803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10808 _lt_caught_CXX_error
=yes
10815 ac_cpp
='$CXXCPP $CPPFLAGS'
10816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10820 archive_cmds_need_lc_CXX
=no
10821 allow_undefined_flag_CXX
=
10822 always_export_symbols_CXX
=no
10823 archive_expsym_cmds_CXX
=
10824 compiler_needs_object_CXX
=no
10825 export_dynamic_flag_spec_CXX
=
10826 hardcode_direct_CXX
=no
10827 hardcode_direct_absolute_CXX
=no
10828 hardcode_libdir_flag_spec_CXX
=
10829 hardcode_libdir_flag_spec_ld_CXX
=
10830 hardcode_libdir_separator_CXX
=
10831 hardcode_minus_L_CXX
=no
10832 hardcode_shlibpath_var_CXX
=unsupported
10833 hardcode_automatic_CXX
=no
10834 inherit_rpath_CXX
=no
10836 module_expsym_cmds_CXX
=
10837 link_all_deplibs_CXX
=unknown
10838 old_archive_cmds_CXX
=$old_archive_cmds
10839 no_undefined_flag_CXX
=
10840 whole_archive_flag_spec_CXX
=
10841 enable_shared_with_static_runtimes_CXX
=no
10843 # Source file extension for C++ test sources.
10846 # Object file extension for compiled C++ test sources.
10850 # No sense in running all these tests if we already determined that
10851 # the CXX compiler isn't working. Some variables (like enable_shared)
10852 # are currently assumed to apply to all compilers on this platform,
10853 # and will be corrupted by setting them based on a non-working compiler.
10854 if test "$_lt_caught_CXX_error" != yes; then
10855 # Code to be used in simple compile tests
10856 lt_simple_compile_test_code
="int some_variable = 0;"
10858 # Code to be used in simple link tests
10859 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10861 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10868 # If no C compiler was specified, use CC.
10871 # If no C compiler flags were specified, use CFLAGS.
10872 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10874 # Allow CC to be a program name with arguments.
10878 # save warnings/boilerplate of simple test code
10879 ac_outfile
=conftest.
$ac_objext
10880 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10881 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10882 _lt_compiler_boilerplate
=`cat conftest.err`
10885 ac_outfile
=conftest.
$ac_objext
10886 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10887 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10888 _lt_linker_boilerplate
=`cat conftest.err`
10892 # Allow CC to be a program name with arguments.
10897 lt_save_with_gnu_ld
=$with_gnu_ld
10898 lt_save_path_LD
=$lt_cv_path_LD
10899 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10900 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10902 $as_unset lt_cv_prog_gnu_ld
10904 if test -n "${lt_cv_path_LDCXX+set}"; then
10905 lt_cv_path_LD
=$lt_cv_path_LDCXX
10907 $as_unset lt_cv_path_LD
10909 test -z "${LDCXX+set}" || LD
=$LDCXX
10913 for cc_temp
in $compiler""; do
10915 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10916 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10921 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10924 if test -n "$compiler"; then
10925 # We don't want -fno-exception when compiling C++ code, so set the
10926 # no_builtin_flag separately
10927 if test "$GXX" = yes; then
10928 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10930 lt_prog_compiler_no_builtin_flag_CXX
=
10933 if test "$GXX" = yes; then
10934 # Set up default GNU C++ configuration
10938 # Check whether --with-gnu-ld was given.
10939 if test "${with_gnu_ld+set}" = set; then :
10940 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10946 if test "$GCC" = yes; then
10947 # Check if gcc -print-prog-name=ld gives a path.
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10949 $as_echo_n "checking for ld used by $CC... " >&6; }
10952 # gcc leaves a trailing carriage return which upsets mingw
10953 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10955 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10958 # Accept absolute paths.
10960 re_direlt
='/[^/][^/]*/\.\./'
10961 # Canonicalize the pathname of ld
10962 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10963 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
10964 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10966 test -z "$LD" && LD
="$ac_prog"
10969 # If it fails, then pretend we aren't using GCC.
10973 # If it is relative, then search for the first ld in PATH.
10974 with_gnu_ld
=unknown
10977 elif test "$with_gnu_ld" = yes; then
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10979 $as_echo_n "checking for GNU ld... " >&6; }
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10982 $as_echo_n "checking for non-GNU ld... " >&6; }
10984 if test "${lt_cv_path_LD+set}" = set; then :
10985 $as_echo_n "(cached) " >&6
10987 if test -z "$LD"; then
10988 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10989 for ac_dir
in $PATH; do
10991 test -z "$ac_dir" && ac_dir
=.
10992 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10993 lt_cv_path_LD
="$ac_dir/$ac_prog"
10994 # Check to see if the program is GNU ld. I'd rather use --version,
10995 # but apparently some variants of GNU ld only accept -v.
10996 # Break only if it was the GNU/non-GNU ld that we prefer.
10997 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10998 *GNU
* | *'with BFD'*)
10999 test "$with_gnu_ld" != no
&& break
11002 test "$with_gnu_ld" != yes && break
11009 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11013 LD
="$lt_cv_path_LD"
11014 if test -n "$LD"; then
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11016 $as_echo "$LD" >&6; }
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11019 $as_echo "no" >&6; }
11021 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11023 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11024 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11025 $as_echo_n "(cached) " >&6
11027 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11028 case `$LD -v 2>&1 </dev/null` in
11029 *GNU
* | *'with BFD'*)
11030 lt_cv_prog_gnu_ld
=yes
11033 lt_cv_prog_gnu_ld
=no
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11038 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11039 with_gnu_ld
=$lt_cv_prog_gnu_ld
11047 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11048 # archiving commands below assume that GNU ld is being used.
11049 if test "$with_gnu_ld" = yes; then
11050 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11051 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'
11053 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11054 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11056 # If archive_cmds runs LD, not CC, wlarc should be empty
11057 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11058 # investigate it a little bit more. (MM)
11061 # ancient GNU ld didn't support --whole-archive et. al.
11062 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11063 $GREP 'no-whole-archive' > /dev
/null
; then
11064 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11066 whole_archive_flag_spec_CXX
=
11072 # A generic and very simple default shared library creation
11073 # command for GNU C++ for the case where it uses the native
11074 # linker, instead of GNU ld. If possible, this setting should
11075 # overridden to take advantage of the native linker features on
11076 # the platform it is being used on.
11077 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11080 # Commands to make compiler produce verbose output that lists
11081 # what "hidden" libraries, object files and flags are used when
11082 # linking a shared library.
11083 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11091 # PORTME: fill in a description of your system's C++ link characteristics
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11093 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11097 # FIXME: insert proper C++ library support
11101 if test "$host_cpu" = ia64
; then
11102 # On IA64, the linker does run time linking by default, so we don't
11103 # have to do anything special.
11104 aix_use_runtimelinking
=no
11105 exp_sym_flag
='-Bexport'
11108 aix_use_runtimelinking
=no
11110 # Test if we are trying to use run time linking or normal
11111 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11112 # need to do runtime linking.
11113 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11114 for ld_flag
in $LDFLAGS; do
11117 aix_use_runtimelinking
=yes
11125 exp_sym_flag
='-bexport'
11126 no_entry_flag
='-bnoentry'
11129 # When large executables or shared objects are built, AIX ld can
11130 # have problems creating the table of contents. If linking a library
11131 # or program results in "error TOC overflow" add -mminimal-toc to
11132 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11133 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11135 archive_cmds_CXX
=''
11136 hardcode_direct_CXX
=yes
11137 hardcode_direct_absolute_CXX
=yes
11138 hardcode_libdir_separator_CXX
=':'
11139 link_all_deplibs_CXX
=yes
11140 file_list_spec_CXX
='${wl}-f,'
11142 if test "$GXX" = yes; then
11143 case $host_os in aix4.
[012]|aix4.
[012].
*)
11144 # We only want to do this on AIX 4.2 and lower, the check
11145 # below for broken collect2 doesn't work under 4.3+
11146 collect2name
=`${CC} -print-prog-name=collect2`
11147 if test -f "$collect2name" &&
11148 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11150 # We have reworked collect2
11153 # We have old collect2
11154 hardcode_direct_CXX
=unsupported
11155 # It fails to find uninstalled libraries when the uninstalled
11156 # path is not listed in the libpath. Setting hardcode_minus_L
11157 # to unsupported forces relinking
11158 hardcode_minus_L_CXX
=yes
11159 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11160 hardcode_libdir_separator_CXX
=
11163 shared_flag
='-shared'
11164 if test "$aix_use_runtimelinking" = yes; then
11165 shared_flag
="$shared_flag "'${wl}-G'
11169 if test "$host_cpu" = ia64
; then
11170 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11171 # chokes on -Wl,-G. The following line is correct:
11174 if test "$aix_use_runtimelinking" = yes; then
11175 shared_flag
='${wl}-G'
11177 shared_flag
='${wl}-bM:SRE'
11182 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11183 # It seems that -bexpall does not export symbols beginning with
11184 # underscore (_), so it is better to generate a list of symbols to
11186 always_export_symbols_CXX
=yes
11187 if test "$aix_use_runtimelinking" = yes; then
11188 # Warning - without using the other runtime loading flags (-brtl),
11189 # -berok will link without error, but may produce a broken library.
11190 allow_undefined_flag_CXX
='-berok'
11191 # Determine the default libpath from the value encoded in an empty
11193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11204 if ac_fn_cxx_try_link
"$LINENO"; then :
11206 lt_aix_libpath_sed
='
11207 /Import File Strings/,/^$/ {
11213 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11214 # Check for a 64-bit object if we didn't find anything.
11215 if test -z "$aix_libpath"; then
11216 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11219 rm -f core conftest.err conftest.
$ac_objext \
11220 conftest
$ac_exeext conftest.
$ac_ext
11221 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11223 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11225 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"
11227 if test "$host_cpu" = ia64
; then
11228 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11229 allow_undefined_flag_CXX
="-z nodefs"
11230 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"
11232 # Determine the default libpath from the value encoded in an
11233 # empty executable.
11234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11245 if ac_fn_cxx_try_link
"$LINENO"; then :
11247 lt_aix_libpath_sed
='
11248 /Import File Strings/,/^$/ {
11254 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11255 # Check for a 64-bit object if we didn't find anything.
11256 if test -z "$aix_libpath"; then
11257 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11260 rm -f core conftest.err conftest.
$ac_objext \
11261 conftest
$ac_exeext conftest.
$ac_ext
11262 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11264 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11265 # Warning - without using the other run time loading flags,
11266 # -berok will link without error, but may produce a broken library.
11267 no_undefined_flag_CXX
=' ${wl}-bernotok'
11268 allow_undefined_flag_CXX
=' ${wl}-berok'
11269 # Exported symbols can be pulled into shared objects from archives
11270 whole_archive_flag_spec_CXX
='$convenience'
11271 archive_cmds_need_lc_CXX
=yes
11272 # This is similar to how AIX traditionally builds its shared
11274 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'
11280 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11281 allow_undefined_flag_CXX
=unsupported
11282 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11283 # support --undefined. This deserves some investigation. FIXME
11284 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11291 case $cc_basename in
11293 # FIXME: insert proper C++ library support
11299 cygwin
* | mingw
* | pw32
* | cegcc
*)
11300 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11301 # as there is no search path for DLLs.
11302 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11303 allow_undefined_flag_CXX
=unsupported
11304 always_export_symbols_CXX
=no
11305 enable_shared_with_static_runtimes_CXX
=yes
11307 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11308 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'
11309 # If the export-symbols file already is a .def file (1st line
11310 # is EXPORTS), use it as is; otherwise, prepend...
11311 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11312 cp $export_symbols $output_objdir/$soname.def;
11314 echo EXPORTS > $output_objdir/$soname.def;
11315 cat $export_symbols >> $output_objdir/$soname.def;
11317 $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'
11322 darwin
* | rhapsody
*)
11325 archive_cmds_need_lc_CXX
=no
11326 hardcode_direct_CXX
=no
11327 hardcode_automatic_CXX
=yes
11328 hardcode_shlibpath_var_CXX
=unsupported
11329 whole_archive_flag_spec_CXX
=''
11330 link_all_deplibs_CXX
=yes
11331 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11332 case $cc_basename in
11333 ifort
*) _lt_dar_can_shared
=yes ;;
11334 *) _lt_dar_can_shared
=$GCC ;;
11336 if test "$_lt_dar_can_shared" = "yes"; then
11337 output_verbose_link_cmd
=echo
11338 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}"
11339 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11340 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}"
11341 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}"
11342 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11343 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}"
11344 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}"
11354 case $cc_basename in
11356 # FIXME: insert proper C++ library support
11360 # Green Hills C++ Compiler
11361 # FIXME: insert proper C++ library support
11365 # FIXME: insert proper C++ library support
11372 # C++ shared libraries reported to be fairly broken before
11378 archive_cmds_need_lc_CXX
=no
11381 freebsd
* | dragonfly
*)
11382 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11391 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11392 hardcode_libdir_separator_CXX
=:
11393 export_dynamic_flag_spec_CXX
='${wl}-E'
11394 hardcode_direct_CXX
=yes
11395 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11396 # but as the default
11397 # location of the library.
11399 case $cc_basename in
11401 # FIXME: insert proper C++ library support
11405 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'
11406 # Commands to make compiler produce verbose output that lists
11407 # what "hidden" libraries, object files and flags are used when
11408 # linking a shared library.
11410 # There doesn't appear to be a way to prevent this compiler from
11411 # explicitly linking system object files so we need to strip them
11412 # from the output so that they don't get included in the library
11414 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'
11417 if test "$GXX" = yes; then
11418 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'
11420 # FIXME: insert proper C++ library support
11428 if test $with_gnu_ld = no
; then
11429 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11430 hardcode_libdir_separator_CXX
=:
11436 export_dynamic_flag_spec_CXX
='${wl}-E'
11442 hardcode_direct_CXX
=no
11443 hardcode_shlibpath_var_CXX
=no
11446 hardcode_direct_CXX
=yes
11447 hardcode_direct_absolute_CXX
=yes
11448 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11449 # but as the default
11450 # location of the library.
11454 case $cc_basename in
11456 # FIXME: insert proper C++ library support
11462 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11465 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11468 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11471 # Commands to make compiler produce verbose output that lists
11472 # what "hidden" libraries, object files and flags are used when
11473 # linking a shared library.
11475 # There doesn't appear to be a way to prevent this compiler from
11476 # explicitly linking system object files so we need to strip them
11477 # from the output so that they don't get included in the library
11479 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'
11482 if test "$GXX" = yes; then
11483 if test $with_gnu_ld = no
; then
11486 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11489 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11492 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'
11497 # FIXME: insert proper C++ library support
11505 hardcode_direct_CXX
=no
11506 hardcode_shlibpath_var_CXX
=no
11507 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11508 export_dynamic_flag_spec_CXX
='${wl}-E'
11509 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11510 # Instead, shared libraries are loaded at an image base (0x10000000 by
11511 # default) and relocated if they conflict, which is a slow very memory
11512 # consuming and fragmenting process. To avoid this, we pick a random,
11513 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11514 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11515 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'
11516 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'
11519 case $cc_basename in
11522 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'
11524 # Archives containing C++ object files must be created using
11525 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11526 # necessary to make sure instantiated templates are included
11528 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11531 if test "$GXX" = yes; then
11532 if test "$with_gnu_ld" = no
; then
11533 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'
11535 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'
11538 link_all_deplibs_CXX
=yes
11541 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11542 hardcode_libdir_separator_CXX
=:
11543 inherit_rpath_CXX
=yes
11546 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11547 case $cc_basename in
11549 # Kuck and Associates, Inc. (KAI) C++ Compiler
11551 # KCC will only create a shared library if the output file
11552 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11553 # to its proper name (with version) after linking.
11554 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'
11555 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'
11556 # Commands to make compiler produce verbose output that lists
11557 # what "hidden" libraries, object files and flags are used when
11558 # linking a shared library.
11560 # There doesn't appear to be a way to prevent this compiler from
11561 # explicitly linking system object files so we need to strip them
11562 # from the output so that they don't get included in the library
11564 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'
11566 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11567 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11569 # Archives containing C++ object files must be created using
11570 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11571 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11576 # version 8.0 and above of icpc choke on multiply defined symbols
11577 # if we add $predep_objects and $postdep_objects, however 7.1 and
11578 # earlier do not add the objects themselves.
11579 case `$CC -V 2>&1` in
11581 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11582 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'
11584 *) # Version 8.0 or newer
11587 ia64
*) tmp_idyn
=' -i_dynamic';;
11589 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11590 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'
11593 archive_cmds_need_lc_CXX
=no
11594 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11595 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11596 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11599 # Portland Group C++ compiler
11601 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11602 prelink_cmds_CXX
='tpldir=Template.dir~
11604 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11605 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11606 old_archive_cmds_CXX
='tpldir=Template.dir~
11608 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11609 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11611 archive_cmds_CXX
='tpldir=Template.dir~
11613 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11614 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11615 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11617 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11618 $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'
11620 *) # Version 6 will use weak symbols
11621 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11622 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'
11626 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11627 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11628 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'
11632 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11633 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'
11635 runpath_var
=LD_RUN_PATH
11636 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11637 hardcode_libdir_separator_CXX
=:
11639 # Commands to make compiler produce verbose output that lists
11640 # what "hidden" libraries, object files and flags are used when
11641 # linking a shared library.
11643 # There doesn't appear to be a way to prevent this compiler from
11644 # explicitly linking system object files so we need to strip them
11645 # from the output so that they don't get included in the library
11647 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'
11650 # IBM XL 8.0 on PPC, with GNU ld
11651 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11652 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11653 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11654 if test "x$supports_anon_versioning" = xyes
; then
11655 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11656 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11657 echo "local: *; };" >> $output_objdir/$libname.ver~
11658 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11662 case `$CC -V 2>&1 | sed 5q` in
11665 no_undefined_flag_CXX
=' -zdefs'
11666 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11667 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'
11668 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11669 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'
11670 compiler_needs_object_CXX
=yes
11672 # Not sure whether something based on
11673 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11675 output_verbose_link_cmd
='echo'
11677 # Archives containing C++ object files must be created using
11678 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11679 # necessary to make sure instantiated templates are included
11681 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11689 # FIXME: insert proper C++ library support
11694 # FIXME: insert proper C++ library support
11699 case $cc_basename in
11701 # FIXME: insert proper C++ library support
11705 # FIXME: insert proper C++ library support
11712 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11713 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11715 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11716 hardcode_direct_CXX
=yes
11717 hardcode_shlibpath_var_CXX
=no
11719 # Workaround some broken pre-1.5 toolchains
11720 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11728 # C++ shared libraries are fairly broken
11733 if test -f /usr
/libexec
/ld.so
; then
11734 hardcode_direct_CXX
=yes
11735 hardcode_shlibpath_var_CXX
=no
11736 hardcode_direct_absolute_CXX
=yes
11737 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11738 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11739 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11740 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11741 export_dynamic_flag_spec_CXX
='${wl}-E'
11742 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11744 output_verbose_link_cmd
=echo
11750 osf3
* | osf4
* | osf5
*)
11751 case $cc_basename in
11753 # Kuck and Associates, Inc. (KAI) C++ Compiler
11755 # KCC will only create a shared library if the output file
11756 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11757 # to its proper name (with version) after linking.
11758 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'
11760 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11761 hardcode_libdir_separator_CXX
=:
11763 # Archives containing C++ object files must be created using
11764 # the KAI C++ compiler.
11766 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11767 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11771 # Rational C++ 2.4.1
11772 # FIXME: insert proper C++ library support
11778 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11779 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'
11780 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11783 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11784 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'
11785 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11786 echo "-hidden">> $lib.exp~
11787 $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~
11789 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11793 hardcode_libdir_separator_CXX
=:
11795 # Commands to make compiler produce verbose output that lists
11796 # what "hidden" libraries, object files and flags are used when
11797 # linking a shared library.
11799 # There doesn't appear to be a way to prevent this compiler from
11800 # explicitly linking system object files so we need to strip them
11801 # from the output so that they don't get included in the library
11803 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'
11806 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11807 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11810 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'
11813 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'
11817 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11818 hardcode_libdir_separator_CXX
=:
11820 # Commands to make compiler produce verbose output that lists
11821 # what "hidden" libraries, object files and flags are used when
11822 # linking a shared library.
11823 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11826 # FIXME: insert proper C++ library support
11834 # FIXME: insert proper C++ library support
11839 case $cc_basename in
11842 # FIXME: insert proper C++ library support
11847 # FIXME: insert proper C++ library support
11851 # FIXME: insert proper C++ library support
11858 case $cc_basename in
11860 # Sun C++ 4.2, 5.x and Centerline C++
11861 archive_cmds_need_lc_CXX
=yes
11862 no_undefined_flag_CXX
=' -zdefs'
11863 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11864 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11865 $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'
11867 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11868 hardcode_shlibpath_var_CXX
=no
11870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11872 # The compiler driver will combine and reorder linker options,
11873 # but understands `-z linker_flag'.
11874 # Supported since Solaris 2.6 (maybe 2.5.1?)
11875 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11878 link_all_deplibs_CXX
=yes
11880 output_verbose_link_cmd
='echo'
11882 # Archives containing C++ object files must be created using
11883 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11884 # necessary to make sure instantiated templates are included
11886 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11889 # Green Hills C++ Compiler
11890 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11892 # The C++ compiler must be used to create the archive.
11893 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11896 # GNU C++ compiler with Solaris linker
11897 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11898 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11899 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11900 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11901 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11902 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11909 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11911 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11912 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11913 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11915 # Commands to make compiler produce verbose output that lists
11916 # what "hidden" libraries, object files and flags are used when
11917 # linking a shared library.
11918 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11921 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11923 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11925 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11933 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11934 no_undefined_flag_CXX
='${wl}-z,text'
11935 archive_cmds_need_lc_CXX
=no
11936 hardcode_shlibpath_var_CXX
=no
11937 runpath_var
='LD_RUN_PATH'
11939 case $cc_basename in
11941 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11942 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11945 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11951 sysv5
* | sco3.2v5
* | sco5v6
*)
11952 # Note: We can NOT use -z defs as we might desire, because we do not
11953 # link with -lc, and that would cause any symbols used from libc to
11954 # always be unresolved, which means just about no library would
11955 # ever link correctly. If we're not using GNU ld we use -z text
11956 # though, which does catch some bad symbols but isn't as heavy-handed
11958 no_undefined_flag_CXX
='${wl}-z,text'
11959 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11960 archive_cmds_need_lc_CXX
=no
11961 hardcode_shlibpath_var_CXX
=no
11962 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
11963 hardcode_libdir_separator_CXX
=':'
11964 link_all_deplibs_CXX
=yes
11965 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11966 runpath_var
='LD_RUN_PATH'
11968 case $cc_basename in
11970 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11971 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11975 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11981 case $cc_basename in
11983 # NonStop-UX NCC 3.20
11984 # FIXME: insert proper C++ library support
11988 # FIXME: insert proper C++ library support
11995 # FIXME: insert proper C++ library support
12000 # FIXME: insert proper C++ library support
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12006 $as_echo "$ld_shlibs_CXX" >&6; }
12007 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12013 ## There is no encapsulation within the following macros, do not change
12014 ## the running order or otherwise move them around unless you know exactly
12015 ## what you are doing...
12016 # Dependencies to place before and after the object being linked:
12017 predep_objects_CXX
=
12018 postdep_objects_CXX
=
12021 compiler_lib_search_path_CXX
=
12023 cat > conftest.
$ac_ext <<_LT_EOF
12027 Foo (void) { a = 0; }
12033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12034 (eval $ac_compile) 2>&5
12036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12037 test $ac_status = 0; }; then
12038 # Parse the compiler output and extract the necessary
12039 # objects, libraries and library flags.
12041 # Sentinel used to keep track of whether or not we are before
12042 # the conftest object file.
12043 pre_test_object_deps_done
=no
12045 for p
in `eval "$output_verbose_link_cmd"`; do
12049 # Some compilers place space between "-{L,R}" and the path.
12050 # Remove the space.
12051 if test $p = "-L" ||
12052 test $p = "-R"; then
12059 if test "$pre_test_object_deps_done" = no
; then
12062 # Internal compiler library paths should come after those
12063 # provided the user. The postdeps already come after the
12064 # user supplied libs so there is no need to process them.
12065 if test -z "$compiler_lib_search_path_CXX"; then
12066 compiler_lib_search_path_CXX
="${prev}${p}"
12068 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12071 # The "-l" case would never come before the object being
12072 # linked, so don't bother handling this case.
12075 if test -z "$postdeps_CXX"; then
12076 postdeps_CXX
="${prev}${p}"
12078 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12084 # This assumes that the test object file only shows up
12085 # once in the compiler output.
12086 if test "$p" = "conftest.$objext"; then
12087 pre_test_object_deps_done
=yes
12091 if test "$pre_test_object_deps_done" = no
; then
12092 if test -z "$predep_objects_CXX"; then
12093 predep_objects_CXX
="$p"
12095 predep_objects_CXX
="$predep_objects_CXX $p"
12098 if test -z "$postdep_objects_CXX"; then
12099 postdep_objects_CXX
="$p"
12101 postdep_objects_CXX
="$postdep_objects_CXX $p"
12106 *) ;; # Ignore the rest.
12114 echo "libtool.m4: error: problem compiling CXX test program"
12117 $RM -f confest.
$objext
12119 # PORTME: override above test on systems where it is broken
12122 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12123 # hack all around it, let's just trust "g++" to DTRT.
12124 predep_objects_CXX
=
12125 postdep_objects_CXX
=
12130 case `$CC -V 2>&1 | sed 5q` in
12134 # The more standards-conforming stlport4 library is
12135 # incompatible with the Cstd library. Avoid specifying
12136 # it if it's in CXXFLAGS. Ignore libCrun as
12137 # -library=stlport4 depends on it.
12138 case " $CXX $CXXFLAGS " in
12139 *" -library=stlport4 "*)
12140 solaris_use_stlport4
=yes
12144 if test "$solaris_use_stlport4" != yes; then
12145 postdeps_CXX
='-library=Cstd -library=Crun'
12152 case $cc_basename in
12154 # The more standards-conforming stlport4 library is
12155 # incompatible with the Cstd library. Avoid specifying
12156 # it if it's in CXXFLAGS. Ignore libCrun as
12157 # -library=stlport4 depends on it.
12158 case " $CXX $CXXFLAGS " in
12159 *" -library=stlport4 "*)
12160 solaris_use_stlport4
=yes
12164 # Adding this requires a known-good setup of shared libraries for
12165 # Sun compiler versions before 5.6, else PIC objects from an old
12166 # archive will be linked into the output, leading to subtle bugs.
12167 if test "$solaris_use_stlport4" != yes; then
12168 postdeps_CXX
='-library=Cstd -library=Crun'
12176 case " $postdeps_CXX " in
12177 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12179 compiler_lib_search_dirs_CXX
=
12180 if test -n "${compiler_lib_search_path_CXX}"; then
12181 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12214 lt_prog_compiler_wl_CXX
=
12215 lt_prog_compiler_pic_CXX
=
12216 lt_prog_compiler_static_CXX
=
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12219 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12221 # C++ specific cases for pic, static, wl, etc.
12222 if test "$GXX" = yes; then
12223 lt_prog_compiler_wl_CXX
='-Wl,'
12224 lt_prog_compiler_static_CXX
='-static'
12228 # All AIX code is PIC.
12229 if test "$host_cpu" = ia64
; then
12230 # AIX 5 now supports IA64 processor
12231 lt_prog_compiler_static_CXX
='-Bstatic'
12238 # see comment about AmigaOS4 .so support
12239 lt_prog_compiler_pic_CXX
='-fPIC'
12242 # FIXME: we need at least 68020 code to build shared libraries, but
12243 # adding the `-m68020' flag to GCC prevents building anything better,
12245 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12250 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12251 # PIC is the default for these OSes.
12253 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12254 # This hack is so that the source file can tell whether it is being
12255 # built for inclusion in a dll (and should export symbols for example).
12256 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12257 # (--disable-auto-import) libraries
12258 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12260 darwin
* | rhapsody
*)
12261 # PIC is the default on this platform
12262 # Common symbols not allowed in MH_DYLIB files
12263 lt_prog_compiler_pic_CXX
='-fno-common'
12266 # DJGPP does not support shared libraries at all
12267 lt_prog_compiler_pic_CXX
=
12270 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12271 # Instead, we relocate shared libraries at runtime.
12274 if test -d /usr
/nec
; then
12275 lt_prog_compiler_pic_CXX
=-Kconform_pic
12279 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12280 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12281 # sets the default TLS model and affects inlining.
12286 lt_prog_compiler_pic_CXX
='-fPIC'
12291 # QNX uses GNU C++, but need to define -shared option too, otherwise
12292 # it will coredump.
12293 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12296 lt_prog_compiler_pic_CXX
='-fPIC'
12302 # All AIX code is PIC.
12303 if test "$host_cpu" = ia64
; then
12304 # AIX 5 now supports IA64 processor
12305 lt_prog_compiler_static_CXX
='-Bstatic'
12307 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12311 case $cc_basename in
12313 # Green Hills C++ Compiler
12314 # _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"
12319 case $cc_basename in
12321 lt_prog_compiler_pic_CXX
='-KPIC'
12324 # Green Hills C++ Compiler
12325 lt_prog_compiler_pic_CXX
='-pic'
12331 freebsd
* | dragonfly
*)
12332 # FreeBSD uses GNU C++
12334 hpux9
* | hpux10
* | hpux11
*)
12335 case $cc_basename in
12337 lt_prog_compiler_wl_CXX
='-Wl,'
12338 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12339 if test "$host_cpu" != ia64
; then
12340 lt_prog_compiler_pic_CXX
='+Z'
12344 lt_prog_compiler_wl_CXX
='-Wl,'
12345 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12351 lt_prog_compiler_pic_CXX
='+Z'
12360 # This is c89, which is MS Visual C++ (no shared libs)
12361 # Anyone wants to do a port?
12363 irix5
* | irix6
* | nonstopux
*)
12364 case $cc_basename in
12366 lt_prog_compiler_wl_CXX
='-Wl,'
12367 lt_prog_compiler_static_CXX
='-non_shared'
12368 # CC pic flag -KPIC is the default.
12374 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12375 case $cc_basename in
12378 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12379 lt_prog_compiler_pic_CXX
='-fPIC'
12382 # old Intel C++ for x86_64 which still supported -KPIC.
12383 lt_prog_compiler_wl_CXX
='-Wl,'
12384 lt_prog_compiler_pic_CXX
='-KPIC'
12385 lt_prog_compiler_static_CXX
='-static'
12388 # Intel C++, used to be incompatible with GCC.
12389 # ICC 10 doesn't accept -KPIC any more.
12390 lt_prog_compiler_wl_CXX
='-Wl,'
12391 lt_prog_compiler_pic_CXX
='-fPIC'
12392 lt_prog_compiler_static_CXX
='-static'
12395 # Portland Group C++ compiler
12396 lt_prog_compiler_wl_CXX
='-Wl,'
12397 lt_prog_compiler_pic_CXX
='-fpic'
12398 lt_prog_compiler_static_CXX
='-Bstatic'
12402 # Make sure the PIC flag is empty. It appears that all Alpha
12403 # Linux and Compaq Tru64 Unix objects are PIC.
12404 lt_prog_compiler_pic_CXX
=
12405 lt_prog_compiler_static_CXX
='-non_shared'
12408 # IBM XL 8.0 on PPC
12409 lt_prog_compiler_wl_CXX
='-Wl,'
12410 lt_prog_compiler_pic_CXX
='-qpic'
12411 lt_prog_compiler_static_CXX
='-qstaticlink'
12414 case `$CC -V 2>&1 | sed 5q` in
12417 lt_prog_compiler_pic_CXX
='-KPIC'
12418 lt_prog_compiler_static_CXX
='-Bstatic'
12419 lt_prog_compiler_wl_CXX
='-Qoption ld '
12430 case $cc_basename in
12432 lt_prog_compiler_pic_CXX
='-W c,exportall'
12438 netbsd
* | netbsdelf
*-gnu)
12441 # QNX uses GNU C++, but need to define -shared option too, otherwise
12442 # it will coredump.
12443 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12445 osf3
* | osf4
* | osf5
*)
12446 case $cc_basename in
12448 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12451 # Rational C++ 2.4.1
12452 lt_prog_compiler_pic_CXX
='-pic'
12455 # Digital/Compaq C++
12456 lt_prog_compiler_wl_CXX
='-Wl,'
12457 # Make sure the PIC flag is empty. It appears that all Alpha
12458 # Linux and Compaq Tru64 Unix objects are PIC.
12459 lt_prog_compiler_pic_CXX
=
12460 lt_prog_compiler_static_CXX
='-non_shared'
12469 case $cc_basename in
12471 # Sun C++ 4.2, 5.x and Centerline C++
12472 lt_prog_compiler_pic_CXX
='-KPIC'
12473 lt_prog_compiler_static_CXX
='-Bstatic'
12474 lt_prog_compiler_wl_CXX
='-Qoption ld '
12477 # Green Hills C++ Compiler
12478 lt_prog_compiler_pic_CXX
='-PIC'
12485 case $cc_basename in
12488 lt_prog_compiler_pic_CXX
='-pic'
12489 lt_prog_compiler_static_CXX
='-Bstatic'
12493 lt_prog_compiler_pic_CXX
='-pic'
12499 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12500 case $cc_basename in
12502 lt_prog_compiler_wl_CXX
='-Wl,'
12503 lt_prog_compiler_pic_CXX
='-KPIC'
12504 lt_prog_compiler_static_CXX
='-Bstatic'
12509 case $cc_basename in
12511 # NonStop-UX NCC 3.20
12512 lt_prog_compiler_pic_CXX
='-KPIC'
12521 lt_prog_compiler_can_build_shared_CXX
=no
12527 # For platforms which do not support PIC, -DPIC is meaningless:
12529 lt_prog_compiler_pic_CXX
=
12532 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12536 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12541 # Check to make sure the PIC flag actually works.
12543 if test -n "$lt_prog_compiler_pic_CXX"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12545 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12546 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12547 $as_echo_n "(cached) " >&6
12549 lt_cv_prog_compiler_pic_works_CXX
=no
12550 ac_outfile
=conftest.
$ac_objext
12551 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12552 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12553 # Insert the option either (1) after the last *FLAGS variable, or
12554 # (2) before a word containing "conftest.", or (3) at the end.
12555 # Note that $ac_compile itself does not contain backslashes and begins
12556 # with a dollar sign (not a hyphen), so the echo should work correctly.
12557 # The option is referenced via a variable to avoid confusing sed.
12558 lt_compile
=`echo "$ac_compile" | $SED \
12559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12561 -e 's:$: $lt_compiler_flag:'`
12562 (eval echo "\"\$as_me:12562: $lt_compile\"" >&5)
12563 (eval "$lt_compile" 2>conftest.err
)
12565 cat conftest.err
>&5
12566 echo "$as_me:12566: \$? = $ac_status" >&5
12567 if (exit $ac_status) && test -s "$ac_outfile"; then
12568 # The compiler can only warn and ignore the option if not recognized
12569 # So say no if there are warnings other than the usual output.
12570 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12571 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12572 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12573 lt_cv_prog_compiler_pic_works_CXX
=yes
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12580 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12582 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12583 case $lt_prog_compiler_pic_CXX in
12585 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12588 lt_prog_compiler_pic_CXX
=
12589 lt_prog_compiler_can_build_shared_CXX
=no
12597 # Check to make sure the static flag actually works.
12599 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12601 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12602 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12603 $as_echo_n "(cached) " >&6
12605 lt_cv_prog_compiler_static_works_CXX
=no
12606 save_LDFLAGS
="$LDFLAGS"
12607 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12608 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12609 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12610 # The linker can only warn and ignore the option if not recognized
12611 # So say no if there are warnings
12612 if test -s conftest.err
; then
12613 # Append any errors to the config.log.
12614 cat conftest.err
1>&5
12615 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12616 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12617 if diff conftest.exp conftest.er2
>/dev
/null
; then
12618 lt_cv_prog_compiler_static_works_CXX
=yes
12621 lt_cv_prog_compiler_static_works_CXX
=yes
12625 LDFLAGS
="$save_LDFLAGS"
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12629 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12631 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12634 lt_prog_compiler_static_CXX
=
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12641 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12642 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12643 $as_echo_n "(cached) " >&6
12645 lt_cv_prog_compiler_c_o_CXX
=no
12646 $RM -r conftest
2>/dev
/null
12650 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12652 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12653 # Insert the option either (1) after the last *FLAGS variable, or
12654 # (2) before a word containing "conftest.", or (3) at the end.
12655 # Note that $ac_compile itself does not contain backslashes and begins
12656 # with a dollar sign (not a hyphen), so the echo should work correctly.
12657 lt_compile
=`echo "$ac_compile" | $SED \
12658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12660 -e 's:$: $lt_compiler_flag:'`
12661 (eval echo "\"\$as_me:12661: $lt_compile\"" >&5)
12662 (eval "$lt_compile" 2>out
/conftest.err
)
12664 cat out
/conftest.err
>&5
12665 echo "$as_me:12665: \$? = $ac_status" >&5
12666 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12668 # The compiler can only warn and ignore the option if not recognized
12669 # So say no if there are warnings
12670 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12671 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12672 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12673 lt_cv_prog_compiler_c_o_CXX
=yes
12678 # SGI C++ compiler will create directory out/ii_files/ for
12679 # template instantiation
12680 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12681 $RM out
/* && rmdir out
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12688 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12693 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12694 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12695 $as_echo_n "(cached) " >&6
12697 lt_cv_prog_compiler_c_o_CXX
=no
12698 $RM -r conftest
2>/dev
/null
12702 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12704 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12705 # Insert the option either (1) after the last *FLAGS variable, or
12706 # (2) before a word containing "conftest.", or (3) at the end.
12707 # Note that $ac_compile itself does not contain backslashes and begins
12708 # with a dollar sign (not a hyphen), so the echo should work correctly.
12709 lt_compile
=`echo "$ac_compile" | $SED \
12710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12712 -e 's:$: $lt_compiler_flag:'`
12713 (eval echo "\"\$as_me:12713: $lt_compile\"" >&5)
12714 (eval "$lt_compile" 2>out
/conftest.err
)
12716 cat out
/conftest.err
>&5
12717 echo "$as_me:12717: \$? = $ac_status" >&5
12718 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12720 # The compiler can only warn and ignore the option if not recognized
12721 # So say no if there are warnings
12722 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12723 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12724 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12725 lt_cv_prog_compiler_c_o_CXX
=yes
12730 # SGI C++ compiler will create directory out/ii_files/ for
12731 # template instantiation
12732 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12733 $RM out
/* && rmdir out
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12740 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12745 hard_links
="nottested"
12746 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12747 # do not overwrite the value of need_locks provided by the user
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12749 $as_echo_n "checking if we can lock with hard links... " >&6; }
12752 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12754 ln conftest.a conftest.b
2>&5 || hard_links
=no
12755 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12757 $as_echo "$hard_links" >&6; }
12758 if test "$hard_links" = no
; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12760 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12770 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12772 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12775 # If we're using GNU nm, then we don't want the "-C" option.
12776 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12777 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12778 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'
12780 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'
12784 export_symbols_cmds_CXX
="$ltdll_cmds"
12786 cygwin
* | mingw
* | cegcc
*)
12787 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'
12789 linux
* | k
*bsd
*-gnu)
12790 link_all_deplibs_CXX
=no
12793 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12796 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12799 $as_echo "$ld_shlibs_CXX" >&6; }
12800 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12802 with_gnu_ld_CXX
=$with_gnu_ld
12810 # Do we need to explicitly link libc?
12812 case "x$archive_cmds_need_lc_CXX" in
12814 # Assume -lc should be added
12815 archive_cmds_need_lc_CXX
=yes
12817 if test "$enable_shared" = yes && test "$GCC" = yes; then
12818 case $archive_cmds_CXX in
12820 # FIXME: we may have to deal with multi-command sequences.
12823 # Test whether the compiler implicitly links with -lc since on some
12824 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12825 # to ld, don't add -lc before -lgcc.
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12827 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12832 (eval $ac_compile) 2>&5
12834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12835 test $ac_status = 0; } 2>conftest.err
; then
12838 libobjs
=conftest.
$ac_objext
12840 wl
=$lt_prog_compiler_wl_CXX
12841 pic_flag
=$lt_prog_compiler_pic_CXX
12847 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12848 allow_undefined_flag_CXX
=
12849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12850 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12853 test $ac_status = 0; }
12855 archive_cmds_need_lc_CXX
=no
12857 archive_cmds_need_lc_CXX
=yes
12859 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12861 cat conftest.err
1>&5
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12865 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12936 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12938 library_names_spec
=
12939 libname_spec
='lib$name'
12943 postuninstall_cmds
=
12947 shlibpath_overrides_runpath
=unknown
12949 dynamic_linker
="$host_os ld.so"
12950 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12951 need_lib_prefix
=unknown
12952 hardcode_into_libs
=no
12954 # when you set need_version to no, make sure it does not cause -set_version
12955 # flags to be left without arguments
12956 need_version
=unknown
12961 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12962 shlibpath_var
=LIBPATH
12964 # AIX 3 has no versioning support, so we append a major version to the name.
12965 soname_spec
='${libname}${release}${shared_ext}$major'
12972 hardcode_into_libs
=yes
12973 if test "$host_cpu" = ia64
; then
12974 # AIX 5 supports IA64
12975 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12976 shlibpath_var
=LD_LIBRARY_PATH
12978 # With GCC up to 2.95.x, collect2 would create an import file
12979 # for dependence libraries. The import file would start with
12980 # the line `#! .'. This would cause the generated library to
12981 # depend on `.', always an invalid library. This was fixed in
12982 # development snapshots of GCC prior to 3.0.
12984 aix4
| aix4.
[01] | aix4.
[01].
*)
12985 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12987 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
12990 can_build_shared
=no
12994 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12995 # soname into executable. Probably we can add versioning support to
12996 # collect2, so additional links can be useful in future.
12997 if test "$aix_use_runtimelinking" = yes; then
12998 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12999 # instead of lib<name>.a to let people know that these are not
13000 # typical AIX shared libraries.
13001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13003 # We preserve .a as extension for shared libraries through AIX4.2
13004 # and later when we are not doing run time linking.
13005 library_names_spec
='${libname}${release}.a $libname.a'
13006 soname_spec
='${libname}${release}${shared_ext}$major'
13008 shlibpath_var
=LIBPATH
13015 # Since July 2007 AmigaOS4 officially supports .so libraries.
13016 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13020 library_names_spec
='$libname.ixlibrary $libname.a'
13021 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13022 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'
13028 library_names_spec
='${libname}${shared_ext}'
13029 dynamic_linker
="$host_os ld.so"
13030 shlibpath_var
=LIBRARY_PATH
13036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13037 soname_spec
='${libname}${release}${shared_ext}$major'
13038 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13039 shlibpath_var
=LD_LIBRARY_PATH
13040 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13041 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13042 # the default ld.so.conf also contains /usr/contrib/lib and
13043 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13044 # libtool to hard-code these into programs
13047 cygwin
* | mingw
* | pw32
* | cegcc
*)
13048 version_type
=windows
13053 case $GCC,$host_os in
13054 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13055 library_names_spec
='$libname.dll.a'
13056 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13057 postinstall_cmds
='base_file=`basename \${file}`~
13058 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13059 dldir=$destdir/`dirname \$dlpath`~
13060 test -d \$dldir || mkdir -p \$dldir~
13061 $install_prog $dir/$dlname \$dldir/$dlname~
13062 chmod a+x \$dldir/$dlname~
13063 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13064 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13066 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13067 dlpath=$dir/\$dldll~
13069 shlibpath_overrides_runpath
=yes
13073 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13074 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13075 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13078 # MinGW DLLs use traditional 'lib' prefix
13079 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13080 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13081 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13082 # It is most probably a Windows format PATH printed by
13083 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13084 # path with ; separators, and with drive letters. We can handle the
13085 # drive letters (cygwin fileutils understands them), so leave them,
13086 # especially as we might pass files found there to a mingw objdump,
13087 # which wouldn't understand a cygwinified path. Ahh.
13088 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13090 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13094 # pw32 DLLs use 'pw' prefix rather than 'lib'
13095 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13101 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13104 dynamic_linker
='Win32 ld.exe'
13105 # FIXME: first we should search . and the directory the executable is in
13109 darwin
* | rhapsody
*)
13110 dynamic_linker
="$host_os dyld"
13111 version_type
=darwin
13114 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13115 soname_spec
='${libname}${release}${major}$shared_ext'
13116 shlibpath_overrides_runpath
=yes
13117 shlibpath_var
=DYLD_LIBRARY_PATH
13118 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13120 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13128 soname_spec
='${libname}${release}${shared_ext}$major'
13129 shlibpath_var
=LD_LIBRARY_PATH
13136 freebsd
* | dragonfly
*)
13137 # DragonFly does not have aout. When/if they implement a new
13138 # versioning mechanism, adjust this.
13139 if test -x /usr
/bin
/objformat
; then
13140 objformat
=`/usr/bin/objformat`
13143 freebsd
[123]*) objformat
=aout
;;
13144 *) objformat
=elf
;;
13147 version_type
=freebsd
-$objformat
13148 case $version_type in
13150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13155 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13159 shlibpath_var
=LD_LIBRARY_PATH
13162 shlibpath_overrides_runpath
=yes
13164 freebsd3.
[01]* | freebsdelf3.
[01]*)
13165 shlibpath_overrides_runpath
=yes
13166 hardcode_into_libs
=yes
13168 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13169 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13170 shlibpath_overrides_runpath
=no
13171 hardcode_into_libs
=yes
13173 *) # from 4.6 on, and DragonFly
13174 shlibpath_overrides_runpath
=yes
13175 hardcode_into_libs
=yes
13184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13185 soname_spec
='${libname}${release}${shared_ext}$major'
13186 shlibpath_var
=LD_LIBRARY_PATH
13187 hardcode_into_libs
=yes
13190 hpux9
* | hpux10
* | hpux11
*)
13191 # Give a soname corresponding to the major version so that dld.sl refuses to
13192 # link against other versions.
13199 hardcode_into_libs
=yes
13200 dynamic_linker
="$host_os dld.so"
13201 shlibpath_var
=LD_LIBRARY_PATH
13202 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13204 soname_spec
='${libname}${release}${shared_ext}$major'
13205 if test "X$HPUX_IA64_MODE" = X32
; then
13206 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13208 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13210 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13214 hardcode_into_libs
=yes
13215 dynamic_linker
="$host_os dld.sl"
13216 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13217 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13219 soname_spec
='${libname}${release}${shared_ext}$major'
13220 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13221 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13225 dynamic_linker
="$host_os dld.sl"
13226 shlibpath_var
=SHLIB_PATH
13227 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13229 soname_spec
='${libname}${release}${shared_ext}$major'
13232 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13233 postinstall_cmds
='chmod 555 $lib'
13240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13241 soname_spec
='${libname}${release}${shared_ext}$major'
13242 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13243 shlibpath_var
=LD_LIBRARY_PATH
13244 shlibpath_overrides_runpath
=no
13245 hardcode_into_libs
=yes
13248 irix5
* | irix6
* | nonstopux
*)
13250 nonstopux
*) version_type
=nonstopux
;;
13252 if test "$lt_cv_prog_gnu_ld" = yes; then
13260 soname_spec
='${libname}${release}${shared_ext}$major'
13261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13263 irix5
* | nonstopux
*)
13264 libsuff
= shlibsuff
=
13267 case $LD in # libtool.m4 will add one of these switches to LD
13268 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13269 libsuff
= shlibsuff
= libmagic
=32-bit;;
13270 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13271 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13272 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13273 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13274 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13278 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13279 shlibpath_overrides_runpath
=no
13280 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13281 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13282 hardcode_into_libs
=yes
13285 # No shared lib support for Linux oldld, aout, or coff.
13286 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13290 # This must be Linux ELF.
13291 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13296 soname_spec
='${libname}${release}${shared_ext}$major'
13297 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13298 shlibpath_var
=LD_LIBRARY_PATH
13299 shlibpath_overrides_runpath
=no
13300 # Some binutils ld are patched to set DT_RUNPATH
13301 save_LDFLAGS
=$LDFLAGS
13302 save_libdir
=$libdir
13303 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13304 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13306 /* end confdefs.h. */
13316 if ac_fn_cxx_try_link
"$LINENO"; then :
13317 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13318 shlibpath_overrides_runpath
=yes
13321 rm -f core conftest.err conftest.
$ac_objext \
13322 conftest
$ac_exeext conftest.
$ac_ext
13323 LDFLAGS
=$save_LDFLAGS
13324 libdir
=$save_libdir
13326 # This implies no fast_install, which is unacceptable.
13327 # Some rework will be needed to allow for fast_install
13328 # before this can be enabled.
13329 hardcode_into_libs
=yes
13331 # Append ld.so.conf contents to the search path
13332 if test -f /etc
/ld.so.conf
; then
13333 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' ' '`
13334 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13337 # We used to test for /lib/ld.so.1 and disable shared libraries on
13338 # powerpc, because MkLinux only supported shared libraries with the
13339 # GNU dynamic linker. Since this was broken with cross compilers,
13340 # most powerpc-linux boxes support dynamic linking these days and
13341 # people can always --disable-shared, the test was removed, and we
13342 # assume the GNU/Linux dynamic linker is in use.
13343 dynamic_linker
='GNU/Linux ld.so'
13350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13351 soname_spec
='${libname}${release}${shared_ext}$major'
13352 shlibpath_var
=LD_LIBRARY_PATH
13353 shlibpath_overrides_runpath
=no
13354 hardcode_into_libs
=yes
13355 dynamic_linker
='NetBSD ld.elf_so'
13362 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13364 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13365 dynamic_linker
='NetBSD (a.out) ld.so'
13367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13368 soname_spec
='${libname}${release}${shared_ext}$major'
13369 dynamic_linker
='NetBSD ld.elf_so'
13371 shlibpath_var
=LD_LIBRARY_PATH
13372 shlibpath_overrides_runpath
=yes
13373 hardcode_into_libs
=yes
13378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13379 shlibpath_var
=LD_LIBRARY_PATH
13380 shlibpath_overrides_runpath
=yes
13387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13388 soname_spec
='${libname}${release}${shared_ext}$major'
13389 shlibpath_var
=LD_LIBRARY_PATH
13390 shlibpath_overrides_runpath
=no
13391 hardcode_into_libs
=yes
13392 dynamic_linker
='ldqnx.so'
13397 sys_lib_dlsearch_path_spec
="/usr/lib"
13399 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13401 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13402 *) need_version
=no
;;
13404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13405 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13406 shlibpath_var
=LD_LIBRARY_PATH
13407 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13409 openbsd2.
[89] | openbsd2.
[89].
*)
13410 shlibpath_overrides_runpath
=no
13413 shlibpath_overrides_runpath
=yes
13417 shlibpath_overrides_runpath
=yes
13422 libname_spec
='$name'
13425 library_names_spec
='$libname${shared_ext} $libname.a'
13426 dynamic_linker
='OS/2 ld.exe'
13427 shlibpath_var
=LIBPATH
13430 osf3
* | osf4
* | osf5
*)
13434 soname_spec
='${libname}${release}${shared_ext}$major'
13435 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13436 shlibpath_var
=LD_LIBRARY_PATH
13437 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13438 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13450 soname_spec
='${libname}${release}${shared_ext}$major'
13451 shlibpath_var
=LD_LIBRARY_PATH
13452 shlibpath_overrides_runpath
=yes
13453 hardcode_into_libs
=yes
13454 # ldd complains unless libraries are executable
13455 postinstall_cmds
='chmod +x $lib'
13460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13461 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13462 shlibpath_var
=LD_LIBRARY_PATH
13463 shlibpath_overrides_runpath
=yes
13464 if test "$with_gnu_ld" = yes; then
13472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13473 soname_spec
='${libname}${release}${shared_ext}$major'
13474 shlibpath_var
=LD_LIBRARY_PATH
13475 case $host_vendor in
13477 shlibpath_overrides_runpath
=no
13479 runpath_var
=LD_RUN_PATH
13487 shlibpath_overrides_runpath
=no
13488 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13494 if test -d /usr
/nec
;then
13496 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13497 soname_spec
='$libname${shared_ext}.$major'
13498 shlibpath_var
=LD_LIBRARY_PATH
13502 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13503 version_type
=freebsd
-elf
13506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13507 soname_spec
='${libname}${release}${shared_ext}$major'
13508 shlibpath_var
=LD_LIBRARY_PATH
13509 shlibpath_overrides_runpath
=yes
13510 hardcode_into_libs
=yes
13511 if test "$with_gnu_ld" = yes; then
13512 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13514 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13517 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13521 sys_lib_dlsearch_path_spec
='/usr/lib'
13525 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13530 shlibpath_var
=LD_LIBRARY_PATH
13531 shlibpath_overrides_runpath
=no
13532 hardcode_into_libs
=yes
13537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13538 soname_spec
='${libname}${release}${shared_ext}$major'
13539 shlibpath_var
=LD_LIBRARY_PATH
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13547 $as_echo "$dynamic_linker" >&6; }
13548 test "$dynamic_linker" = no
&& can_build_shared
=no
13550 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13551 if test "$GCC" = yes; then
13552 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13555 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13556 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13558 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13559 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13598 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13599 hardcode_action_CXX
=
13600 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13601 test -n "$runpath_var_CXX" ||
13602 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13604 # We can hardcode non-existent directories.
13605 if test "$hardcode_direct_CXX" != no
&&
13606 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13607 # have to relink, otherwise we might link with an installed library
13608 # when we should be linking with a yet-to-be-installed one
13609 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13610 test "$hardcode_minus_L_CXX" != no
; then
13611 # Linking always hardcodes the temporary library directory.
13612 hardcode_action_CXX
=relink
13614 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13615 hardcode_action_CXX
=immediate
13618 # We cannot hardcode anything, or else we can only hardcode existing
13620 hardcode_action_CXX
=unsupported
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13623 $as_echo "$hardcode_action_CXX" >&6; }
13625 if test "$hardcode_action_CXX" = relink
||
13626 test "$inherit_rpath_CXX" = yes; then
13627 # Fast installation is not supported
13628 enable_fast_install
=no
13629 elif test "$shlibpath_overrides_runpath" = yes ||
13630 test "$enable_shared" = no
; then
13631 # Fast installation is not necessary
13632 enable_fast_install
=needless
13641 fi # test -n "$compiler"
13647 with_gnu_ld
=$lt_save_with_gnu_ld
13648 lt_cv_path_LDCXX
=$lt_cv_path_LD
13649 lt_cv_path_LD
=$lt_save_path_LD
13650 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13651 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13652 fi # test "$_lt_caught_CXX_error" != yes
13655 ac_cpp
='$CPP $CPPFLAGS'
13656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13662 ac_cpp
='$CXXCPP $CPPFLAGS'
13663 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
13668 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
13669 if test "${ac_cv_path_SED+set}" = set; then :
13670 $as_echo_n "(cached) " >&6
13672 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
13673 for ac_i
in 1 2 3 4 5 6 7; do
13674 ac_script
="$ac_script$as_nl$ac_script"
13676 echo "$ac_script" 2>/dev
/null
| sed 99q
>conftest.
sed
13677 { ac_script
=; unset ac_script
;}
13678 if test -z "$SED"; then
13679 ac_path_SED_found
=false
13680 # Loop through the user's path and test for each of PROGNAME-LIST
13681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13682 for as_dir
in $PATH
13685 test -z "$as_dir" && as_dir
=.
13686 for ac_prog
in sed gsed
; do
13687 for ac_exec_ext
in '' $ac_executable_extensions; do
13688 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
13689 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
13690 # Check for GNU ac_path_SED and select it if it is found.
13691 # Check for GNU $ac_path_SED
13692 case `"$ac_path_SED" --version 2>&1` in
13694 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
13697 $as_echo_n 0123456789 >"conftest.in"
13700 cat "conftest.in" "conftest.in" >"conftest.tmp"
13701 mv "conftest.tmp" "conftest.in"
13702 cp "conftest.in" "conftest.nl"
13703 $as_echo '' >> "conftest.nl"
13704 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
13705 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
13706 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
13707 if test $ac_count -gt ${ac_path_SED_max-0}; then
13708 # Best one so far, save it but keep looking for a better one
13709 ac_cv_path_SED
="$ac_path_SED"
13710 ac_path_SED_max
=$ac_count
13712 # 10*(2^10) chars as input seems more than enough
13713 test $ac_count -gt 10 && break
13715 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
13718 $ac_path_SED_found && break 3
13723 if test -z "$ac_cv_path_SED"; then
13724 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
13727 ac_cv_path_SED
=$SED
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
13732 $as_echo "$ac_cv_path_SED" >&6; }
13733 SED
="$ac_cv_path_SED"
13736 for ac_prog
in 'bison -y' byacc
13738 # Extract the first word of "$ac_prog", so it can be a program name with args.
13739 set dummy
$ac_prog; ac_word
=$2
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13741 $as_echo_n "checking for $ac_word... " >&6; }
13742 if test "${ac_cv_prog_YACC+set}" = set; then :
13743 $as_echo_n "(cached) " >&6
13745 if test -n "$YACC"; then
13746 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13749 for as_dir
in $PATH
13752 test -z "$as_dir" && as_dir
=.
13753 for ac_exec_ext
in '' $ac_executable_extensions; do
13754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13755 ac_cv_prog_YACC
="$ac_prog"
13756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13765 YACC
=$ac_cv_prog_YACC
13766 if test -n "$YACC"; then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13768 $as_echo "$YACC" >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13771 $as_echo "no" >&6; }
13775 test -n "$YACC" && break
13777 test -n "$YACC" || YACC
="yacc"
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
13784 $as_echo_n "checking if bison is the parser generator... " >&6; }
13785 if test "${ax_cv_prog_bison+set}" = set; then :
13786 $as_echo_n "(cached) " >&6
13789 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
13791 ax_cv_prog_bison
=yes
13795 ax_cv_prog_bison
=no
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
13801 $as_echo "$ax_cv_prog_bison" >&6; }
13802 if test "$ax_cv_prog_bison" = yes; then :
13806 BISON
=`echo $YACC | $SED -e 's/ -y//'`
13807 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
13813 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
13817 for ac_prog
in gawk mawk nawk
awk
13819 # Extract the first word of "$ac_prog", so it can be a program name with args.
13820 set dummy
$ac_prog; ac_word
=$2
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13822 $as_echo_n "checking for $ac_word... " >&6; }
13823 if test "${ac_cv_prog_AWK+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13826 if test -n "$AWK"; then
13827 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13830 for as_dir
in $PATH
13833 test -z "$as_dir" && as_dir
=.
13834 for ac_exec_ext
in '' $ac_executable_extensions; do
13835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13836 ac_cv_prog_AWK
="$ac_prog"
13837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13846 AWK
=$ac_cv_prog_AWK
13847 if test -n "$AWK"; then
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13849 $as_echo "$AWK" >&6; }
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13852 $as_echo "no" >&6; }
13856 test -n "$AWK" && break
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5
13860 $as_echo_n "checking if bison is >= 2.3... " >&6; }
13861 as_arg_v1
=$BISON_VERSION
13863 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13868 $as_echo "no" >&6; }
13869 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13873 $as_echo "yes" >&6; } ;; #(
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13876 $as_echo "yes" >&6; } ;; #(
13881 # expand $ac_aux_dir to an absolute path
13882 am_aux_dir
=`cd $ac_aux_dir && pwd`
13884 if test x
"${MISSING+set}" != xset
; then
13885 case $am_aux_dir in
13887 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13889 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13892 # Use eval to expand $SHELL
13893 if eval "$MISSING --run true"; then
13894 am_missing_run
="$MISSING --run "
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
13898 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
13901 for ac_prog
in flex
lex
13903 # Extract the first word of "$ac_prog", so it can be a program name with args.
13904 set dummy
$ac_prog; ac_word
=$2
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13906 $as_echo_n "checking for $ac_word... " >&6; }
13907 if test "${ac_cv_prog_LEX+set}" = set; then :
13908 $as_echo_n "(cached) " >&6
13910 if test -n "$LEX"; then
13911 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13914 for as_dir
in $PATH
13917 test -z "$as_dir" && as_dir
=.
13918 for ac_exec_ext
in '' $ac_executable_extensions; do
13919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13920 ac_cv_prog_LEX
="$ac_prog"
13921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13930 LEX
=$ac_cv_prog_LEX
13931 if test -n "$LEX"; then
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13933 $as_echo "$LEX" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13936 $as_echo "no" >&6; }
13940 test -n "$LEX" && break
13942 test -n "$LEX" || LEX
=":"
13944 if test "x$LEX" != "x:"; then
13945 cat >conftest.l
<<_ACEOF
13951 e { yyless (input () != 0); }
13952 f { unput (yytext[0]); }
13953 . { BEGIN INITIAL; }
13955 #ifdef YYTEXT_POINTER
13956 extern char *yytext;
13961 return ! yylex () + ! yywrap ();
13964 { { ac_try
="$LEX conftest.l"
13965 case "(($ac_try" in
13966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13970 $as_echo "$ac_try_echo"; } >&5
13971 (eval "$LEX conftest.l") 2>&5
13973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13974 test $ac_status = 0; }
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13976 $as_echo_n "checking lex output file root... " >&6; }
13977 if test "${ac_cv_prog_lex_root+set}" = set; then :
13978 $as_echo_n "(cached) " >&6
13981 if test -f lex.yy.c; then
13982 ac_cv_prog_lex_root=lex.yy
13983 elif test -f lexyy.c; then
13984 ac_cv_prog_lex_root=lexyy
13986 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13990 $as_echo "$ac_cv_prog_lex_root" >&6; }
13991 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13993 if test -z "${LEXLIB+set}"; then
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13995 $as_echo_n "checking lex library... " >&6; }
13996 if test "${ac_cv_lib_lex+set}" = set; then :
13997 $as_echo_n "(cached) " >&6
14001 ac_cv_lib_lex='none needed'
14002 for ac_lib in '' -lfl -ll; do
14003 LIBS="$ac_lib $ac_save_LIBS"
14004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14005 /* end confdefs.h. */
14006 `cat $LEX_OUTPUT_ROOT.c
`
14008 if ac_fn_cxx_try_link "$LINENO"; then :
14009 ac_cv_lib_lex=$ac_lib
14011 rm -f core conftest.err conftest.$ac_objext \
14012 conftest$ac_exeext conftest.$ac_ext
14013 test "$ac_cv_lib_lex" != 'none needed' && break
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
14019 $as_echo "$ac_cv_lib_lex" >&6; }
14020 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
14025 $as_echo_n "checking whether yytext is a pointer... " >&6; }
14026 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14027 $as_echo_n "(cached) " >&6
14029 # POSIX says lex can declare yytext either as a pointer or an array; the
14030 # default is implementation-dependent. Figure out which it is, since
14031 # not all implementations provide the %pointer and %array declarations.
14032 ac_cv_prog_lex_yytext_pointer=no
14034 LIBS="$LEXLIB $ac_save_LIBS"
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14037 #define YYTEXT_POINTER 1
14038 `cat $LEX_OUTPUT_ROOT.c
`
14040 if ac_fn_cxx_try_link "$LINENO"; then :
14041 ac_cv_prog_lex_yytext_pointer=yes
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
14049 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14050 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14052 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14055 rm -f conftest.l $LEX_OUTPUT_ROOT.c
14058 if test "$LEX" = :; then
14059 LEX=${am_missing_run}flex
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
14066 $as_echo_n "checking if flex is the lexer generator... " >&6; }
14067 if test "${ax_cv_prog_flex+set}" = set; then :
14068 $as_echo_n "(cached) " >&6
14071 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
14073 ax_cv_prog_flex=yes
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14083 $as_echo "$ax_cv_prog_flex" >&6; }
14084 if test "$ax_cv_prog_flex" = yes; then :
14089 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14095 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14100 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14101 as_arg_v1=$FLEX_VERSION
14103 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14108 $as_echo "no" >&6; }
14109 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14113 $as_echo "yes" >&6; } ;; #(
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14116 $as_echo "yes" >&6; } ;; #(
14121 for ac_prog in bash
14123 # Extract the first word of "$ac_prog", so it can be a program name with args.
14124 set dummy $ac_prog; ac_word=$2
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14126 $as_echo_n "checking for $ac_word... " >&6; }
14127 if test "${ac_cv_prog__BASH+set}" = set; then :
14128 $as_echo_n "(cached) " >&6
14130 if test -n "$_BASH"; then
14131 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
14133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14134 for as_dir in $PATH
14137 test -z "$as_dir" && as_dir=.
14138 for ac_exec_ext in '' $ac_executable_extensions; do
14139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140 ac_cv_prog__BASH="$ac_prog"
14141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14150 _BASH=$ac_cv_prog__BASH
14151 if test -n "$_BASH"; then
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14153 $as_echo "$_BASH" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14156 $as_echo "no" >&6; }
14160 test -n "$_BASH" && break
14164 for ac_prog in gperf
14166 # Extract the first word of "$ac_prog", so it can be a program name with args.
14167 set dummy $ac_prog; ac_word=$2
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14169 $as_echo_n "checking for $ac_word... " >&6; }
14170 if test "${ac_cv_prog_GPERF+set}" = set; then :
14171 $as_echo_n "(cached) " >&6
14173 if test -n "$GPERF"; then
14174 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
14176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14177 for as_dir in $PATH
14180 test -z "$as_dir" && as_dir=.
14181 for ac_exec_ext in '' $ac_executable_extensions; do
14182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14183 ac_cv_prog_GPERF="$ac_prog"
14184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14193 GPERF=$ac_cv_prog_GPERF
14194 if test -n "$GPERF"; then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14196 $as_echo "$GPERF" >&6; }
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14199 $as_echo "no" >&6; }
14203 test -n "$GPERF" && break
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14207 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14208 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14209 as_arg_v1=$GPERF_VERSION
14211 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216 $as_echo "no" >&6; }
14217 as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14221 $as_echo "yes" >&6; } ;; #(
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14224 $as_echo "yes" >&6; } ;; #(
14228 for ac_prog in time
14230 # Extract the first word of "$ac_prog", so it can be a program name with args.
14231 set dummy $ac_prog; ac_word=$2
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14233 $as_echo_n "checking for $ac_word... " >&6; }
14234 if test "${ac_cv_prog_TIME+set}" = set; then :
14235 $as_echo_n "(cached) " >&6
14237 if test -n "$TIME"; then
14238 ac_cv_prog_TIME="$TIME" # Let the user override the test.
14240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14241 for as_dir in $PATH
14244 test -z "$as_dir" && as_dir=.
14245 for ac_exec_ext in '' $ac_executable_extensions; do
14246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14247 ac_cv_prog_TIME="$ac_prog"
14248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14257 TIME=$ac_cv_prog_TIME
14258 if test -n "$TIME"; then
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14260 $as_echo "$TIME" >&6; }
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14263 $as_echo "no" >&6; }
14267 test -n "$TIME" && break
14273 if test "$target_os" = "os2-emx"; then
14274 # Scripts don't pass test -x on OS/2
14280 acceptable_majors="1"
14282 apr_temp_acceptable_apr_config=""
14283 for apr_temp_major in $acceptable_majors
14285 case $apr_temp_major in
14287 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14290 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14296 $as_echo_n "checking for APR... " >&6; }
14298 # Check whether --with-apr was given.
14299 if test "${with_apr+set}" = set; then :
14301 if test "$withval" = "no" || test "$withval" = "yes"; then
14302 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14305 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14307 for lookdir in "$withval/bin" "$withval"
14309 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14310 apr_config="$lookdir/$apr_temp_apr_config_file"
14318 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14319 apr_config="$withval"
14323 if test "$apr_found" != "yes"; then
14324 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
14329 if test -n "1" && test "1" = "1"; then
14330 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14332 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14333 apr_config="$apr_temp_apr_config_file"
14338 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14339 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14340 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14349 if test "$apr_found" = "no" && test -d ""; then
14350 apr_temp_abs_srcdir="`cd && pwd`"
14351 apr_found="reconfig"
14352 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14353 case $apr_bundled_major in
14355 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14358 apr_temp_apr_config_file="apr-config"
14361 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14364 if test -n ""; then
14365 apr_config="/$apr_temp_apr_config_file"
14367 apr_config="/$apr_temp_apr_config_file"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14375 $as_echo "$apr_found" >&6; }
14377 case $apr_found in #(
14381 for element in `$apr_config --includes`; do
14383 for x in $CPPFLAGS; do
14385 acl_save_prefix="$prefix"
14386 prefix="$acl_final_prefix"
14387 acl_save_exec_prefix="$exec_prefix"
14388 exec_prefix="$acl_final_exec_prefix"
14390 exec_prefix="$acl_save_exec_prefix"
14391 prefix="$acl_save_prefix"
14393 if test "X$x" = "X$element"; then
14398 if test -z "$haveit"; then
14399 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14403 LTLIBAPR=`$apr_config --link-libtool`
14407 as_fn_error "You need apr" "$LINENO" 5 ;;
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14412 $as_echo_n "checking for a readline compatible library... " >&6; }
14413 if test "${vl_cv_lib_readline+set}" = set; then :
14414 $as_echo_n "(cached) " >&6
14418 for readline_lib in readline edit editline; do
14419 for termcap_lib in "" termcap curses ncurses; do
14420 if test -z "$termcap_lib"; then
14421 TRY_LIB="-l$readline_lib"
14423 TRY_LIB="-l$readline_lib -l$termcap_lib"
14425 LIBS="$ORIG_LIBS $TRY_LIB"
14426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14429 /* Override any GCC internal prototype to avoid an error.
14430 Use char because int might match the return type of a GCC
14431 builtin and then its argument prototype would still apply. */
14439 return readline ();
14444 if ac_fn_cxx_try_link "$LINENO"; then :
14445 vl_cv_lib_readline="$TRY_LIB"
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 if test -n "$vl_cv_lib_readline"; then
14453 if test -n "$vl_cv_lib_readline"; then
14457 if test -z "$vl_cv_lib_readline"; then
14458 vl_cv_lib_readline="no"
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14464 $as_echo "$vl_cv_lib_readline" >&6; }
14466 if test "$vl_cv_lib_readline" != "no"; then
14468 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14470 for ac_header in readline.h readline/readline.h
14472 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14473 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14474 eval as_val=\$$as_ac_Header
14475 if test "x$as_val" = x""yes; then :
14476 cat >>confdefs.h <<_ACEOF
14477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14485 $as_echo_n "checking whether readline supports history... " >&6; }
14486 if test "${vl_cv_lib_readline_history+set}" = set; then :
14487 $as_echo_n "(cached) " >&6
14490 vl_cv_lib_readline_history="no"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14500 char add_history ();
14504 return add_history ();
14509 if ac_fn_cxx_try_link "$LINENO"; then :
14510 vl_cv_lib_readline_history="yes"
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14517 $as_echo "$vl_cv_lib_readline_history" >&6; }
14518 if test "$vl_cv_lib_readline_history" = "yes"; then
14520 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14522 for ac_header in history.h readline/history.h
14524 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14525 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14526 eval as_val=\$$as_ac_Header
14527 if test "x$as_val" = x""yes; then :
14528 cat >>confdefs.h <<_ACEOF
14529 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14539 # Find a good install program. We prefer a C program (faster),
14540 # so one script is as good as another. But avoid the broken or
14541 # incompatible versions:
14542 # SysV /etc/install, /usr/sbin/install
14543 # SunOS /usr/etc/install
14544 # IRIX /sbin/install
14546 # AmigaOS /C/install, which installs bootblocks on floppy discs
14547 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14548 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14549 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14550 # OS/2's system install, which has a completely different semantic
14551 # ./install, which can be erroneously created by make from ./install.sh.
14552 # Reject install programs that cannot install multiple files.
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14554 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14555 if test -z "$INSTALL"; then
14556 if test "${ac_cv_path_install+set}" = set; then :
14557 $as_echo_n "(cached) " >&6
14559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14560 for as_dir in $PATH
14563 test -z "$as_dir" && as_dir=.
14564 # Account for people who put trailing slashes in PATH elements.
14565 case $as_dir/ in #((
14566 ./ | .// | /[cC]/* | \
14567 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14568 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
14571 # OSF1 and SCO ODT 3.0 have their own names for install.
14572 # Don't use installbsd from OSF since it installs stuff as root
14574 for ac_prog in ginstall scoinst install; do
14575 for ac_exec_ext in '' $ac_executable_extensions; do
14576 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14577 if test $ac_prog = install &&
14578 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14579 # AIX install. It has an incompatible calling convention.
14581 elif test $ac_prog = install &&
14582 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14583 # program-specific install script used by HP pwplus--don't use.
14586 rm -rf conftest.one conftest.two conftest.dir
14587 echo one > conftest.one
14588 echo two > conftest.two
14590 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
14591 test -s conftest.one && test -s conftest.two &&
14592 test -s conftest.dir/conftest.one &&
14593 test -s conftest.dir/conftest.two
14595 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14608 rm -rf conftest.one conftest.two conftest.dir
14611 if test "${ac_cv_path_install+set}" = set; then
14612 INSTALL=$ac_cv_path_install
14614 # As a last resort, use the slow shell script. Don't cache a
14615 # value for INSTALL within a source directory, because that will
14616 # break other packages using the cache if that directory is
14617 # removed, or if the value is a relative name.
14618 INSTALL=$ac_install_sh
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14622 $as_echo "$INSTALL" >&6; }
14624 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14625 # It thinks the first close brace ends the variable substitution.
14626 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14630 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14633 ac_cpp='$CPP $CPPFLAGS'
14634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14639 if test "X$prefix" = "XNONE"; then
14640 acl_final_prefix="$ac_default_prefix"
14642 acl_final_prefix="$prefix"
14644 if test "X$exec_prefix" = "XNONE"; then
14645 acl_final_exec_prefix='${prefix}'
14647 acl_final_exec_prefix="$exec_prefix"
14649 acl_save_prefix="$prefix"
14650 prefix="$acl_final_prefix"
14651 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14652 prefix="$acl_save_prefix"
14655 # Check whether --with-gnu-ld was given.
14656 if test "${with_gnu_ld+set}" = set; then :
14657 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14662 # Prepare PATH_SEPARATOR.
14663 # The user is always right.
14664 if test "${PATH_SEPARATOR+set}" != set; then
14665 echo "#! /bin/sh" >conf$$.sh
14666 echo "exit 0" >>conf$$.sh
14668 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14676 if test "$GCC" = yes; then
14677 # Check if gcc -print-prog-name=ld gives a path.
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14679 $as_echo_n "checking for ld used by GCC... " >&6; }
14682 # gcc leaves a trailing carriage return which upsets mingw
14683 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
14685 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14688 # Accept absolute paths.
14689 [\\/]* | [A-Za-z]:[\\/]*)
14690 re_direlt='/[^/][^/]*/\.\./'
14691 # Canonicalize the path of ld
14692 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14693 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14694 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14696 test -z "$LD" && LD="$ac_prog"
14699 # If it fails, then pretend we aren't using GCC.
14703 # If it is relative, then search for the first ld in PATH.
14704 with_gnu_ld=unknown
14707 elif test "$with_gnu_ld" = yes; then
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14709 $as_echo_n "checking for GNU ld... " >&6; }
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14712 $as_echo_n "checking for non-GNU ld... " >&6; }
14714 if test "${acl_cv_path_LD+set}" = set; then :
14715 $as_echo_n "(cached) " >&6
14717 if test -z "$LD"; then
14718 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14719 for ac_dir in $PATH; do
14720 test -z "$ac_dir" && ac_dir=.
14721 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14722 acl_cv_path_LD="$ac_dir/$ac_prog"
14723 # Check to see if the program is GNU ld. I'd rather use --version,
14724 # but apparently some GNU ld's only accept -v.
14725 # Break only if it was the GNU/non-GNU ld that we prefer.
14726 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
14727 *GNU* | *'with BFD'*)
14728 test "$with_gnu_ld" != no && break ;;
14730 test "$with_gnu_ld" != yes && break ;;
14736 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14740 LD="$acl_cv_path_LD"
14741 if test -n "$LD"; then
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14743 $as_echo "$LD" >&6; }
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14746 $as_echo "no" >&6; }
14748 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14750 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14751 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14752 $as_echo_n "(cached) " >&6
14754 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14755 case `$LD -v 2>&1 </dev
/null
` in
14756 *GNU* | *'with BFD'*)
14757 acl_cv_prog_gnu_ld=yes ;;
14759 acl_cv_prog_gnu_ld=no ;;
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14763 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14764 with_gnu_ld=$acl_cv_prog_gnu_ld
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14770 $as_echo_n "checking for shared library run path origin... " >&6; }
14771 if test "${acl_cv_rpath+set}" = set; then :
14772 $as_echo_n "(cached) " >&6
14775 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14776 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14778 rm -f ./conftest.sh
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14783 $as_echo "$acl_cv_rpath" >&6; }
14785 acl_libext="$acl_cv_libext"
14786 acl_shlibext="$acl_cv_shlibext"
14787 acl_libname_spec="$acl_cv_libname_spec"
14788 acl_library_names_spec="$acl_cv_library_names_spec"
14789 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14790 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14791 acl_hardcode_direct="$acl_cv_hardcode_direct"
14792 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14793 # Check whether --enable-rpath was given.
14794 if test "${enable_rpath+set}" = set; then :
14795 enableval=$enable_rpath; :
14803 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14804 if test -n "$searchpath"; then
14805 acl_save_IFS="${IFS= }"; IFS=":"
14806 for searchdir in $searchpath; do
14807 if test -d "$searchdir"; then
14808 case "$searchdir" in
14809 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14810 *) searchdir=`cd "$searchdir" && pwd`
14811 case "$searchdir" in
14812 */lib64 ) acl_libdirstem=lib64 ;;
14817 IFS="$acl_save_IFS"
14830 acl_save_prefix="$prefix"
14831 prefix="$acl_final_prefix"
14832 acl_save_exec_prefix="$exec_prefix"
14833 exec_prefix="$acl_final_exec_prefix"
14835 eval additional_includedir=\"$includedir\"
14836 eval additional_libdir=\"$libdir\"
14838 exec_prefix="$acl_save_exec_prefix"
14839 prefix="$acl_save_prefix"
14842 # Check whether --with-libiconv-prefix was given.
14843 if test "${with_libiconv_prefix+set}" = set; then :
14844 withval=$with_libiconv_prefix;
14845 if test "X$withval" = "Xno"; then
14848 if test "X$withval" = "X"; then
14850 acl_save_prefix="$prefix"
14851 prefix="$acl_final_prefix"
14852 acl_save_exec_prefix="$exec_prefix"
14853 exec_prefix="$acl_final_exec_prefix"
14855 eval additional_includedir=\"$includedir\"
14856 eval additional_libdir=\"$libdir\"
14858 exec_prefix="$acl_save_exec_prefix"
14859 prefix="$acl_save_prefix"
14862 additional_includedir="$withval/include"
14863 additional_libdir="$withval/$acl_libdirstem"
14875 names_already_handled=
14876 names_next_round='iconv '
14877 while test -n "$names_next_round"; do
14878 names_this_round="$names_next_round"
14880 for name in $names_this_round; do
14882 for n in $names_already_handled; do
14883 if test "$n" = "$name"; then
14884 already_handled=yes
14888 if test -z "$already_handled"; then
14889 names_already_handled="$names_already_handled $name"
14890 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14891 eval value=\"\$HAVE_LIB$uppername\"
14892 if test -n "$value"; then
14893 if test "$value" = yes; then
14894 eval value=\"\$LIB$uppername\"
14895 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14896 eval value=\"\$LTLIB$uppername\"
14897 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14906 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14907 if test -n "$acl_shlibext"; then
14908 shrext=".$acl_shlibext" # typically: shrext=.so
14912 if test $use_additional = yes; then
14913 dir="$additional_libdir"
14914 if test -n "$acl_shlibext"; then
14915 if test -f "$dir/$libname$shrext"; then
14917 found_so="$dir/$libname$shrext"
14919 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14920 ver=`(cd "$dir" && \
14921 for f
in "$libname$shrext".
*; do echo "$f"; done \
14922 | sed -e "s,^$libname$shrext\\\\.,," \
14923 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14924 | sed 1q
) 2>/dev
/null
`
14925 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14927 found_so="$dir/$libname$shrext.$ver"
14930 eval library_names=\"$acl_library_names_spec\"
14931 for f in $library_names; do
14932 if test -f "$dir/$f"; then
14941 if test "X$found_dir" = "X"; then
14942 if test -f "$dir/$libname.$acl_libext"; then
14944 found_a="$dir/$libname.$acl_libext"
14947 if test "X$found_dir" != "X"; then
14948 if test -f "$dir/$libname.la"; then
14949 found_la="$dir/$libname.la"
14953 if test "X$found_dir" = "X"; then
14954 for x in $LDFLAGS $LTLIBICONV; do
14956 acl_save_prefix="$prefix"
14957 prefix="$acl_final_prefix"
14958 acl_save_exec_prefix="$exec_prefix"
14959 exec_prefix="$acl_final_exec_prefix"
14961 exec_prefix="$acl_save_exec_prefix"
14962 prefix="$acl_save_prefix"
14966 dir=`echo "X$x" | sed -e 's/^X-L//'`
14967 if test -n "$acl_shlibext"; then
14968 if test -f "$dir/$libname$shrext"; then
14970 found_so="$dir/$libname$shrext"
14972 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14973 ver=`(cd "$dir" && \
14974 for f
in "$libname$shrext".
*; do echo "$f"; done \
14975 | sed -e "s,^$libname$shrext\\\\.,," \
14976 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14977 | sed 1q
) 2>/dev
/null
`
14978 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14980 found_so="$dir/$libname$shrext.$ver"
14983 eval library_names=\"$acl_library_names_spec\"
14984 for f in $library_names; do
14985 if test -f "$dir/$f"; then
14994 if test "X$found_dir" = "X"; then
14995 if test -f "$dir/$libname.$acl_libext"; then
14997 found_a="$dir/$libname.$acl_libext"
15000 if test "X$found_dir" != "X"; then
15001 if test -f "$dir/$libname.la"; then
15002 found_la="$dir/$libname.la"
15007 if test "X$found_dir" != "X"; then
15012 if test "X$found_dir" != "X"; then
15013 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15014 if test "X$found_so" != "X"; then
15015 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15016 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15019 for x in $ltrpathdirs; do
15020 if test "X$x" = "X$found_dir"; then
15025 if test -z "$haveit"; then
15026 ltrpathdirs="$ltrpathdirs $found_dir"
15028 if test "$acl_hardcode_direct" = yes; then
15029 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15031 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15032 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15034 for x in $rpathdirs; do
15035 if test "X$x" = "X$found_dir"; then
15040 if test -z "$haveit"; then
15041 rpathdirs="$rpathdirs $found_dir"
15045 for x in $LDFLAGS $LIBICONV; do
15047 acl_save_prefix="$prefix"
15048 prefix="$acl_final_prefix"
15049 acl_save_exec_prefix="$exec_prefix"
15050 exec_prefix="$acl_final_exec_prefix"
15052 exec_prefix="$acl_save_exec_prefix"
15053 prefix="$acl_save_prefix"
15055 if test "X$x" = "X-L$found_dir"; then
15060 if test -z "$haveit"; then
15061 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15063 if test "$acl_hardcode_minus_L" != no; then
15064 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15066 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15072 if test "X$found_a" != "X"; then
15073 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15075 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15078 additional_includedir=
15079 case "$found_dir" in
15080 */$acl_libdirstem | */$acl_libdirstem/)
15081 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15082 LIBICONV_PREFIX="$basedir"
15083 additional_includedir="$basedir/include"
15086 if test "X$additional_includedir" != "X"; then
15087 if test "X$additional_includedir" != "X/usr/include"; then
15089 if test "X$additional_includedir" = "X/usr/local/include"; then
15090 if test -n "$GCC"; then
15092 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15096 if test -z "$haveit"; then
15097 for x in $CPPFLAGS $INCICONV; do
15099 acl_save_prefix="$prefix"
15100 prefix="$acl_final_prefix"
15101 acl_save_exec_prefix="$exec_prefix"
15102 exec_prefix="$acl_final_exec_prefix"
15104 exec_prefix="$acl_save_exec_prefix"
15105 prefix="$acl_save_prefix"
15107 if test "X$x" = "X-I$additional_includedir"; then
15112 if test -z "$haveit"; then
15113 if test -d "$additional_includedir"; then
15114 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15120 if test -n "$found_la"; then
15121 save_libdir="$libdir"
15122 case "$found_la" in
15123 */* | *\\*) . "$found_la" ;;
15124 *) . "./$found_la" ;;
15126 libdir="$save_libdir"
15127 for dep in $dependency_libs; do
15130 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15131 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15133 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15134 if test -n "$GCC"; then
15136 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15140 if test -z "$haveit"; then
15142 for x in $LDFLAGS $LIBICONV; do
15144 acl_save_prefix="$prefix"
15145 prefix="$acl_final_prefix"
15146 acl_save_exec_prefix="$exec_prefix"
15147 exec_prefix="$acl_final_exec_prefix"
15149 exec_prefix="$acl_save_exec_prefix"
15150 prefix="$acl_save_prefix"
15152 if test "X$x" = "X-L$additional_libdir"; then
15157 if test -z "$haveit"; then
15158 if test -d "$additional_libdir"; then
15159 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15163 for x in $LDFLAGS $LTLIBICONV; do
15165 acl_save_prefix="$prefix"
15166 prefix="$acl_final_prefix"
15167 acl_save_exec_prefix="$exec_prefix"
15168 exec_prefix="$acl_final_exec_prefix"
15170 exec_prefix="$acl_save_exec_prefix"
15171 prefix="$acl_save_prefix"
15173 if test "X$x" = "X-L$additional_libdir"; then
15178 if test -z "$haveit"; then
15179 if test -d "$additional_libdir"; then
15180 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15187 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15188 if test "$enable_rpath" != no; then
15190 for x in $rpathdirs; do
15191 if test "X$x" = "X$dir"; then
15196 if test -z "$haveit"; then
15197 rpathdirs="$rpathdirs $dir"
15200 for x in $ltrpathdirs; do
15201 if test "X$x" = "X$dir"; then
15206 if test -z "$haveit"; then
15207 ltrpathdirs="$ltrpathdirs $dir"
15212 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15215 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15218 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15219 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15225 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15226 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15232 if test "X$rpathdirs" != "X"; then
15233 if test -n "$acl_hardcode_libdir_separator"; then
15235 for found_dir in $rpathdirs; do
15236 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15238 acl_save_libdir="$libdir"
15240 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15241 libdir="$acl_save_libdir"
15242 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15244 for found_dir in $rpathdirs; do
15245 acl_save_libdir="$libdir"
15246 libdir="$found_dir"
15247 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15248 libdir="$acl_save_libdir"
15249 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15253 if test "X$ltrpathdirs" != "X"; then
15254 for found_dir in $ltrpathdirs; do
15255 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15265 am_save_CPPFLAGS="$CPPFLAGS"
15267 for element in $INCICONV; do
15269 for x in $CPPFLAGS; do
15271 acl_save_prefix="$prefix"
15272 prefix="$acl_final_prefix"
15273 acl_save_exec_prefix="$exec_prefix"
15274 exec_prefix="$acl_final_exec_prefix"
15276 exec_prefix="$acl_save_exec_prefix"
15277 prefix="$acl_save_prefix"
15279 if test "X$x" = "X$element"; then
15284 if test -z "$haveit"; then
15285 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15291 $as_echo_n "checking for iconv... " >&6; }
15292 if test "${am_cv_func_iconv+set}" = set; then :
15293 $as_echo_n "(cached) " >&6
15296 am_cv_func_iconv="no, consider installing GNU libiconv"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 #include <stdlib.h>
15305 iconv_t cd = iconv_open("","");
15306 iconv(cd,NULL,NULL,NULL,NULL);
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 am_cv_func_iconv=yes
15315 rm -f core conftest.err conftest.$ac_objext \
15316 conftest$ac_exeext conftest.$ac_ext
15317 if test "$am_cv_func_iconv" != yes; then
15318 am_save_LIBS="$LIBS"
15319 LIBS="$LIBS $LIBICONV"
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15321 /* end confdefs.h. */
15322 #include <stdlib.h>
15327 iconv_t cd = iconv_open("","");
15328 iconv(cd,NULL,NULL,NULL,NULL);
15334 if ac_fn_c_try_link "$LINENO"; then :
15335 am_cv_lib_iconv=yes
15336 am_cv_func_iconv=yes
15338 rm -f core conftest.err conftest.$ac_objext \
15339 conftest$ac_exeext conftest.$ac_ext
15340 LIBS="$am_save_LIBS"
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15345 $as_echo "$am_cv_func_iconv" >&6; }
15346 if test "$am_cv_func_iconv" = yes; then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15348 $as_echo_n "checking for working iconv... " >&6; }
15349 if test "${am_cv_func_iconv_works+set}" = set; then :
15350 $as_echo_n "(cached) " >&6
15353 am_save_LIBS="$LIBS"
15354 if test $am_cv_lib_iconv = yes; then
15355 LIBS="$LIBS $LIBICONV"
15357 if test "$cross_compiling" = yes; then :
15359 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15360 *) am_cv_func_iconv_works="guessing yes" ;;
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15367 #include <string.h>
15370 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15373 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15374 if (cd_utf8_to_88591 != (iconv_t)(-1))
15376 static const char input[] = "\342\202\254"; /* EURO SIGN */
15378 const char *inptr = input;
15379 size_t inbytesleft = strlen (input);
15380 char *outptr = buf;
15381 size_t outbytesleft = sizeof (buf);
15382 size_t res = iconv (cd_utf8_to_88591,
15383 (char **) &inptr, &inbytesleft,
15384 &outptr, &outbytesleft);
15389 #if 0 /* This bug could be worked around by the caller. */
15390 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15392 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15393 if (cd_88591_to_utf8 != (iconv_t)(-1))
15395 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15397 const char *inptr = input;
15398 size_t inbytesleft = strlen (input);
15399 char *outptr = buf;
15400 size_t outbytesleft = sizeof (buf);
15401 size_t res = iconv (cd_88591_to_utf8,
15402 (char **) &inptr, &inbytesleft,
15403 &outptr, &outbytesleft);
15409 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15411 if (/* Try standardized names. */
15412 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15413 /* Try IRIX, OSF/1 names. */
15414 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15415 /* Try AIX names. */
15416 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15417 /* Try HP-UX names. */
15418 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15423 if ac_fn_c_try_run "$LINENO"; then :
15424 am_cv_func_iconv_works=yes
15426 am_cv_func_iconv_works=no
15428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15429 conftest.$ac_objext conftest.beam conftest.$ac_ext
15432 LIBS="$am_save_LIBS"
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15436 $as_echo "$am_cv_func_iconv_works" >&6; }
15437 case "$am_cv_func_iconv_works" in
15438 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15439 *) am_func_iconv=yes ;;
15442 am_func_iconv=no am_cv_lib_iconv=no
15444 if test "$am_func_iconv" = yes; then
15446 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15449 if test "$am_cv_lib_iconv" = yes; then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15451 $as_echo_n "checking how to link with libiconv... " >&6; }
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15453 $as_echo "$LIBICONV" >&6; }
15455 CPPFLAGS="$am_save_CPPFLAGS"
15462 if test "$am_cv_func_iconv" = yes; then
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15464 $as_echo_n "checking for iconv declaration... " >&6; }
15465 if test "${am_cv_proto_iconv+set}" = set; then :
15466 $as_echo_n "(cached) " >&6
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 #include <stdlib.h>
15478 #if defined(__STDC__) || defined(__cplusplus)
15479 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15492 if ac_fn_c_try_compile "$LINENO"; then :
15493 am_cv_proto_iconv_arg1=""
15495 am_cv_proto_iconv_arg1="const"
15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15498 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);"
15501 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15503 }$am_cv_proto_iconv" >&5
15505 }$am_cv_proto_iconv" >&6; }
15507 cat >>confdefs.h <<_ACEOF
15508 #define ICONV_CONST $am_cv_proto_iconv_arg1
15514 ac_cpp='$CXXCPP $CPPFLAGS'
15515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15519 case $am_cv_func_iconv in #(
15523 as_fn_error "You need iconv" "$LINENO" 5 ;;
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15528 $as_echo_n "checking for WEBKIT... " >&6; }
15530 if test -n "$PKG_CONFIG"; then
15531 if test -n "$WEBKIT_CFLAGS"; then
15532 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15534 if test -n "$PKG_CONFIG" && \
15535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15536 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15539 test $ac_status = 0; }; then
15540 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15548 if test -n "$PKG_CONFIG"; then
15549 if test -n "$WEBKIT_LIBS"; then
15550 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15552 if test -n "$PKG_CONFIG" && \
15553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15554 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15557 test $ac_status = 0; }; then
15558 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15569 if test $pkg_failed = yes; then
15571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15572 _pkg_short_errors_supported=yes
15574 _pkg_short_errors_supported=no
15576 if test $_pkg_short_errors_supported = yes; then
15577 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15579 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15581 # Put the nasty error message in config.log where it belongs
15582 echo "$WEBKIT_PKG_ERRORS" >&5
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15585 $as_echo "no" >&6; }
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15590 $as_echo_n "checking for WEBKIT... " >&6; }
15592 if test -n "$PKG_CONFIG"; then
15593 if test -n "$WEBKIT_CFLAGS"; then
15594 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15596 if test -n "$PKG_CONFIG" && \
15597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15598 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15601 test $ac_status = 0; }; then
15602 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15610 if test -n "$PKG_CONFIG"; then
15611 if test -n "$WEBKIT_LIBS"; then
15612 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15614 if test -n "$PKG_CONFIG" && \
15615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15616 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 test $ac_status = 0; }; then
15620 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15631 if test $pkg_failed = yes; then
15633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15634 _pkg_short_errors_supported=yes
15636 _pkg_short_errors_supported=no
15638 if test $_pkg_short_errors_supported = yes; then
15639 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15641 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15643 # Put the nasty error message in config.log where it belongs
15644 echo "$WEBKIT_PKG_ERRORS" >&5
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15647 $as_echo "no" >&6; }
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15651 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15652 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15653 $as_echo_n "(cached) " >&6
15656 ac_check_framework_save_LIBS=$LIBS
15657 LIBS="-framework JavaScriptCore $LIBS"
15658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15661 #include <JavaScriptCore/JSBase.h>
15666 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15671 if ac_fn_cxx_try_link "$LINENO"; then :
15673 ac_cv_framework_JavaScriptCore=yes
15676 ac_cv_framework_JavaScriptCore=no
15678 rm -f core conftest.err conftest.$ac_objext \
15679 conftest$ac_exeext conftest.$ac_ext
15680 LIBS=$ac_check_framework_save_LIBS
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15684 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15685 if test $ac_cv_framework_JavaScriptCore = yes; then :
15688 for element in "-framework JavaScriptCore $LIBS"; do
15692 acl_save_prefix="$prefix"
15693 prefix="$acl_final_prefix"
15694 acl_save_exec_prefix="$exec_prefix"
15695 exec_prefix="$acl_final_exec_prefix"
15697 exec_prefix="$acl_save_exec_prefix"
15698 prefix="$acl_save_prefix"
15700 if test "X$x" = "X$element"; then
15705 if test -z "$haveit"; then
15706 LIBS="${LIBS}${LIBS:+ }$element"
15714 elif test $pkg_failed = untried; then
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15718 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15719 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15720 $as_echo_n "(cached) " >&6
15723 ac_check_framework_save_LIBS=$LIBS
15724 LIBS="-framework JavaScriptCore $LIBS"
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 #include <JavaScriptCore/JSBase.h>
15733 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15738 if ac_fn_cxx_try_link "$LINENO"; then :
15740 ac_cv_framework_JavaScriptCore=yes
15743 ac_cv_framework_JavaScriptCore=no
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15747 LIBS=$ac_check_framework_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15751 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15752 if test $ac_cv_framework_JavaScriptCore = yes; then :
15755 for element in "-framework JavaScriptCore $LIBS"; do
15759 acl_save_prefix="$prefix"
15760 prefix="$acl_final_prefix"
15761 acl_save_exec_prefix="$exec_prefix"
15762 exec_prefix="$acl_final_exec_prefix"
15764 exec_prefix="$acl_save_exec_prefix"
15765 prefix="$acl_save_prefix"
15767 if test "X$x" = "X$element"; then
15772 if test -z "$haveit"; then
15773 LIBS="${LIBS}${LIBS:+ }$element"
15782 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15783 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15785 $as_echo "yes" >&6; }
15789 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15791 for x in $CXXFLAGS; do
15793 acl_save_prefix="$prefix"
15794 prefix="$acl_final_prefix"
15795 acl_save_exec_prefix="$exec_prefix"
15796 exec_prefix="$acl_final_exec_prefix"
15798 exec_prefix="$acl_save_exec_prefix"
15799 prefix="$acl_save_prefix"
15801 if test "X$x" = "X$element"; then
15806 if test -z "$haveit"; then
15807 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15812 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15816 acl_save_prefix="$prefix"
15817 prefix="$acl_final_prefix"
15818 acl_save_exec_prefix="$exec_prefix"
15819 exec_prefix="$acl_final_exec_prefix"
15821 exec_prefix="$acl_save_exec_prefix"
15822 prefix="$acl_save_prefix"
15824 if test "X$x" = "X$element"; then
15829 if test -z "$haveit"; then
15830 LIBS="${LIBS}${LIBS:+ }$element"
15837 elif test $pkg_failed = untried; then
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15842 $as_echo_n "checking for WEBKIT... " >&6; }
15844 if test -n "$PKG_CONFIG"; then
15845 if test -n "$WEBKIT_CFLAGS"; then
15846 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15848 if test -n "$PKG_CONFIG" && \
15849 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15850 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15853 test $ac_status = 0; }; then
15854 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15862 if test -n "$PKG_CONFIG"; then
15863 if test -n "$WEBKIT_LIBS"; then
15864 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15866 if test -n "$PKG_CONFIG" && \
15867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15868 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15871 test $ac_status = 0; }; then
15872 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15883 if test $pkg_failed = yes; then
15885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15886 _pkg_short_errors_supported=yes
15888 _pkg_short_errors_supported=no
15890 if test $_pkg_short_errors_supported = yes; then
15891 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15893 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15895 # Put the nasty error message in config.log where it belongs
15896 echo "$WEBKIT_PKG_ERRORS" >&5
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15899 $as_echo "no" >&6; }
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15903 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15904 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15905 $as_echo_n "(cached) " >&6
15908 ac_check_framework_save_LIBS=$LIBS
15909 LIBS="-framework JavaScriptCore $LIBS"
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15913 #include <JavaScriptCore/JSBase.h>
15918 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15923 if ac_fn_cxx_try_link "$LINENO"; then :
15925 ac_cv_framework_JavaScriptCore=yes
15928 ac_cv_framework_JavaScriptCore=no
15930 rm -f core conftest.err conftest.$ac_objext \
15931 conftest$ac_exeext conftest.$ac_ext
15932 LIBS=$ac_check_framework_save_LIBS
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15936 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15937 if test $ac_cv_framework_JavaScriptCore = yes; then :
15940 for element in "-framework JavaScriptCore $LIBS"; do
15944 acl_save_prefix="$prefix"
15945 prefix="$acl_final_prefix"
15946 acl_save_exec_prefix="$exec_prefix"
15947 exec_prefix="$acl_final_exec_prefix"
15949 exec_prefix="$acl_save_exec_prefix"
15950 prefix="$acl_save_prefix"
15952 if test "X$x" = "X$element"; then
15957 if test -z "$haveit"; then
15958 LIBS="${LIBS}${LIBS:+ }$element"
15966 elif test $pkg_failed = untried; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15970 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15971 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15972 $as_echo_n "(cached) " >&6
15975 ac_check_framework_save_LIBS=$LIBS
15976 LIBS="-framework JavaScriptCore $LIBS"
15977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15980 #include <JavaScriptCore/JSBase.h>
15985 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15990 if ac_fn_cxx_try_link "$LINENO"; then :
15992 ac_cv_framework_JavaScriptCore=yes
15995 ac_cv_framework_JavaScriptCore=no
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
15999 LIBS=$ac_check_framework_save_LIBS
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16003 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16004 if test $ac_cv_framework_JavaScriptCore = yes; then :
16007 for element in "-framework JavaScriptCore $LIBS"; do
16011 acl_save_prefix="$prefix"
16012 prefix="$acl_final_prefix"
16013 acl_save_exec_prefix="$exec_prefix"
16014 exec_prefix="$acl_final_exec_prefix"
16016 exec_prefix="$acl_save_exec_prefix"
16017 prefix="$acl_save_prefix"
16019 if test "X$x" = "X$element"; then
16024 if test -z "$haveit"; then
16025 LIBS="${LIBS}${LIBS:+ }$element"
16034 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16035 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16037 $as_echo "yes" >&6; }
16041 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16043 for x in $CXXFLAGS; do
16045 acl_save_prefix="$prefix"
16046 prefix="$acl_final_prefix"
16047 acl_save_exec_prefix="$exec_prefix"
16048 exec_prefix="$acl_final_exec_prefix"
16050 exec_prefix="$acl_save_exec_prefix"
16051 prefix="$acl_save_prefix"
16053 if test "X$x" = "X$element"; then
16058 if test -z "$haveit"; then
16059 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16064 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16068 acl_save_prefix="$prefix"
16069 prefix="$acl_final_prefix"
16070 acl_save_exec_prefix="$exec_prefix"
16071 exec_prefix="$acl_final_exec_prefix"
16073 exec_prefix="$acl_save_exec_prefix"
16074 prefix="$acl_save_prefix"
16076 if test "X$x" = "X$element"; then
16081 if test -z "$haveit"; then
16082 LIBS="${LIBS}${LIBS:+ }$element"
16090 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16091 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16093 $as_echo "yes" >&6; }
16097 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16099 for x in $CXXFLAGS; do
16101 acl_save_prefix="$prefix"
16102 prefix="$acl_final_prefix"
16103 acl_save_exec_prefix="$exec_prefix"
16104 exec_prefix="$acl_final_exec_prefix"
16106 exec_prefix="$acl_save_exec_prefix"
16107 prefix="$acl_save_prefix"
16109 if test "X$x" = "X$element"; then
16114 if test -z "$haveit"; then
16115 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16120 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16124 acl_save_prefix="$prefix"
16125 prefix="$acl_final_prefix"
16126 acl_save_exec_prefix="$exec_prefix"
16127 exec_prefix="$acl_final_exec_prefix"
16129 exec_prefix="$acl_save_exec_prefix"
16130 prefix="$acl_save_prefix"
16132 if test "X$x" = "X$element"; then
16137 if test -z "$haveit"; then
16138 LIBS="${LIBS}${LIBS:+ }$element"
16145 ac_cpp='$OBJCXXCPP $CPPFLAGS'
16146 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16147 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16148 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
16149 if test -n "$ac_tool_prefix"; then
16150 for ac_prog in g++ objc++ objcxx c++ CXX
16152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16155 $as_echo_n "checking for $ac_word... " >&6; }
16156 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
16157 $as_echo_n "(cached) " >&6
16159 if test -n "$OBJCXX"; then
16160 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
16162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16163 for as_dir in $PATH
16166 test -z "$as_dir" && as_dir=.
16167 for ac_exec_ext in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
16170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 OBJCXX=$ac_cv_prog_OBJCXX
16180 if test -n "$OBJCXX"; then
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
16182 $as_echo "$OBJCXX" >&6; }
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16185 $as_echo "no" >&6; }
16189 test -n "$OBJCXX" && break
16192 if test -z "$OBJCXX"; then
16193 ac_ct_OBJCXX=$OBJCXX
16194 for ac_prog in g++ objc++ objcxx c++ CXX
16196 # Extract the first word of "$ac_prog", so it can be a program name with args.
16197 set dummy $ac_prog; ac_word=$2
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16199 $as_echo_n "checking for $ac_word... " >&6; }
16200 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
16201 $as_echo_n "(cached) " >&6
16203 if test -n "$ac_ct_OBJCXX"; then
16204 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
16206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16207 for as_dir in $PATH
16210 test -z "$as_dir" && as_dir=.
16211 for ac_exec_ext in '' $ac_executable_extensions; do
16212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16213 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
16214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16223 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
16224 if test -n "$ac_ct_OBJCXX"; then
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
16226 $as_echo "$ac_ct_OBJCXX" >&6; }
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16229 $as_echo "no" >&6; }
16233 test -n "$ac_ct_OBJCXX" && break
16236 if test "x$ac_ct_OBJCXX" = x; then
16239 case $cross_compiling:$ac_tool_warned in
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16243 ac_tool_warned=yes ;;
16245 OBJCXX=$ac_ct_OBJCXX
16249 # Provide some information about the compiler.
16250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
16253 for ac_option in --version -v -V -qversion; do
16254 { { ac_try="$ac_compiler $ac_option >&5"
16255 case "(($ac_try" in
16256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16257 *) ac_try_echo
=$ac_try;;
16259 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16260 $as_echo "$ac_try_echo"; } >&5
16261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16263 if test -s conftest.err
; then
16265 ... rest of stderr output deleted ...
16266 10q' conftest.err
>conftest.er1
16267 cat conftest.er1
>&5
16269 rm -f conftest.er1 conftest.err
16270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16271 test $ac_status = 0; }
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
16275 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
16276 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
16277 $as_echo_n "(cached) " >&6
16279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16293 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16294 ac_compiler_gnu
=yes
16298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16299 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16303 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16304 if test $ac_compiler_gnu = yes; then
16309 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
16310 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16312 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16313 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
16314 $as_echo_n "(cached) " >&6
16316 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
16317 ac_objcxx_werror_flag
=yes
16318 ac_cv_prog_objcxx_g
=no
16320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16321 /* end confdefs.h. */
16331 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16332 ac_cv_prog_objcxx_g
=yes
16335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16336 /* end confdefs.h. */
16346 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16349 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
16351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16362 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16363 ac_cv_prog_objcxx_g
=yes
16365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16370 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16373 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16374 if test "$ac_test_OBJCXXFLAGS" = set; then
16375 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
16376 elif test $ac_cv_prog_objcxx_g = yes; then
16377 if test "$GOBJCXX" = yes; then
16378 OBJCXXFLAGS
="-g -O2"
16383 if test "$GOBJCXX" = yes; then
16390 ac_cpp
='$CXXCPP $CPPFLAGS'
16391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16396 case $CY_EXECUTE in #(
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16403 $as_echo_n "checking for LIBFFI... " >&6; }
16405 if test -n "$PKG_CONFIG"; then
16406 if test -n "$LIBFFI_CFLAGS"; then
16407 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
16409 if test -n "$PKG_CONFIG" && \
16410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16411 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16414 test $ac_status = 0; }; then
16415 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
16423 if test -n "$PKG_CONFIG"; then
16424 if test -n "$LIBFFI_LIBS"; then
16425 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
16427 if test -n "$PKG_CONFIG" && \
16428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16429 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16432 test $ac_status = 0; }; then
16433 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
16444 if test $pkg_failed = yes; then
16446 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16447 _pkg_short_errors_supported
=yes
16449 _pkg_short_errors_supported
=no
16451 if test $_pkg_short_errors_supported = yes; then
16452 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16454 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16456 # Put the nasty error message in config.log where it belongs
16457 echo "$LIBFFI_PKG_ERRORS" >&5
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16460 $as_echo "no" >&6; }
16462 for ac_header
in ffi.h ffi
/ffi.h
16464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16465 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16466 eval as_val
=\$
$as_ac_Header
16467 if test "x$as_val" = x
""yes; then :
16468 cat >>confdefs.h
<<_ACEOF
16469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16476 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16478 as_fn_error
"You need libffi" "$LINENO" 5
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16482 $as_echo_n "checking for library containing ffi_call... " >&6; }
16483 if test "${ac_cv_search_ffi_call+set}" = set; then :
16484 $as_echo_n "(cached) " >&6
16486 ac_func_search_save_LIBS
=$LIBS
16487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16490 /* Override any GCC internal prototype to avoid an error.
16491 Use char because int might match the return type of a GCC
16492 builtin and then its argument prototype would still apply. */
16500 return ffi_call ();
16505 for ac_lib
in '' ffi
; do
16506 if test -z "$ac_lib"; then
16507 ac_res
="none required"
16510 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16512 if ac_fn_cxx_try_link
"$LINENO"; then :
16513 ac_cv_search_ffi_call
=$ac_res
16515 rm -f core conftest.err conftest.
$ac_objext \
16517 if test "${ac_cv_search_ffi_call+set}" = set; then :
16521 if test "${ac_cv_search_ffi_call+set}" = set; then :
16524 ac_cv_search_ffi_call
=no
16526 rm conftest.
$ac_ext
16527 LIBS
=$ac_func_search_save_LIBS
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16530 $as_echo "$ac_cv_search_ffi_call" >&6; }
16531 ac_res
=$ac_cv_search_ffi_call
16532 if test "$ac_res" != no
; then :
16533 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16537 case $ac_cv_search_ffi_call in #(
16540 as_fn_error
"You need libffi" "$LINENO" 5
16546 elif test $pkg_failed = untried
; then
16548 for ac_header
in ffi.h ffi
/ffi.h
16550 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16551 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16552 eval as_val
=\$
$as_ac_Header
16553 if test "x$as_val" = x
""yes; then :
16554 cat >>confdefs.h
<<_ACEOF
16555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16562 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16564 as_fn_error
"You need libffi" "$LINENO" 5
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16568 $as_echo_n "checking for library containing ffi_call... " >&6; }
16569 if test "${ac_cv_search_ffi_call+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16572 ac_func_search_save_LIBS
=$LIBS
16573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16586 return ffi_call ();
16591 for ac_lib
in '' ffi
; do
16592 if test -z "$ac_lib"; then
16593 ac_res
="none required"
16596 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16598 if ac_fn_cxx_try_link
"$LINENO"; then :
16599 ac_cv_search_ffi_call
=$ac_res
16601 rm -f core conftest.err conftest.
$ac_objext \
16603 if test "${ac_cv_search_ffi_call+set}" = set; then :
16607 if test "${ac_cv_search_ffi_call+set}" = set; then :
16610 ac_cv_search_ffi_call
=no
16612 rm conftest.
$ac_ext
16613 LIBS
=$ac_func_search_save_LIBS
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16616 $as_echo "$ac_cv_search_ffi_call" >&6; }
16617 ac_res
=$ac_cv_search_ffi_call
16618 if test "$ac_res" != no
; then :
16619 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16623 case $ac_cv_search_ffi_call in #(
16626 as_fn_error
"You need libffi" "$LINENO" 5
16633 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
16634 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16636 $as_echo "yes" >&6; }
16639 for element
in `$PKG_CONFIG --cflags libffi`; do
16641 for x
in $CXXFLAGS; do
16643 acl_save_prefix
="$prefix"
16644 prefix
="$acl_final_prefix"
16645 acl_save_exec_prefix
="$exec_prefix"
16646 exec_prefix
="$acl_final_exec_prefix"
16648 exec_prefix
="$acl_save_exec_prefix"
16649 prefix
="$acl_save_prefix"
16651 if test "X$x" = "X$element"; then
16656 if test -z "$haveit"; then
16657 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16662 for element
in `$PKG_CONFIG --libs libffi`; do
16666 acl_save_prefix
="$prefix"
16667 prefix
="$acl_final_prefix"
16668 acl_save_exec_prefix
="$exec_prefix"
16669 exec_prefix
="$acl_final_exec_prefix"
16671 exec_prefix
="$acl_save_exec_prefix"
16672 prefix
="$acl_save_prefix"
16674 if test "X$x" = "X$element"; then
16679 if test -z "$haveit"; then
16680 LIBS
="${LIBS}${LIBS:+ }$element"
16687 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16688 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16689 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16690 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
16693 $as_echo_n "checking if we really have Objective C++... " >&6; }
16694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 // This space intentionally left blank
16700 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16704 $as_echo "yes" >&6; }
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16708 $as_echo "no" >&6; }
16710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16711 if test "x$CY_OBJECTIVEC" = x1
; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
16715 $as_echo_n "checking for framework CoreFoundation... " >&6; }
16716 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16720 ac_check_framework_save_LIBS
=$LIBS
16721 LIBS
="-framework CoreFoundation $LIBS"
16722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16725 #include <CoreFoundation/CFBase.h>
16730 CFAllocatorGetDefault();
16735 if ac_fn_objcxx_try_link
"$LINENO"; then :
16737 ac_cv_framework_CoreFoundation
=yes
16740 ac_cv_framework_CoreFoundation
=no
16742 rm -f core conftest.err conftest.
$ac_objext \
16743 conftest
$ac_exeext conftest.
$ac_ext
16744 LIBS
=$ac_check_framework_save_LIBS
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
16748 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
16749 if test $ac_cv_framework_CoreFoundation = yes; then :
16752 for element
in "-framework CoreFoundation $LIBS"; do
16756 acl_save_prefix
="$prefix"
16757 prefix
="$acl_final_prefix"
16758 acl_save_exec_prefix
="$exec_prefix"
16759 exec_prefix
="$acl_final_exec_prefix"
16761 exec_prefix
="$acl_save_exec_prefix"
16762 prefix
="$acl_save_prefix"
16764 if test "X$x" = "X$element"; then
16769 if test -z "$haveit"; then
16770 LIBS
="${LIBS}${LIBS:+ }$element"
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
16779 $as_echo_n "checking for framework Foundation... " >&6; }
16780 if test "${ac_cv_framework_Foundation+set}" = set; then :
16781 $as_echo_n "(cached) " >&6
16784 ac_check_framework_save_LIBS
=$LIBS
16785 LIBS
="-framework Foundation $LIBS"
16786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 #include <Foundation/NSObject.h>
16794 [[NSObject alloc] init];
16799 if ac_fn_objcxx_try_link
"$LINENO"; then :
16801 ac_cv_framework_Foundation
=yes
16804 ac_cv_framework_Foundation
=no
16806 rm -f core conftest.err conftest.
$ac_objext \
16807 conftest
$ac_exeext conftest.
$ac_ext
16808 LIBS
=$ac_check_framework_save_LIBS
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
16812 $as_echo "$ac_cv_framework_Foundation" >&6; }
16813 if test $ac_cv_framework_Foundation = yes; then :
16816 for element
in "-framework Foundation $LIBS"; do
16820 acl_save_prefix
="$prefix"
16821 prefix
="$acl_final_prefix"
16822 acl_save_exec_prefix
="$exec_prefix"
16823 exec_prefix
="$acl_final_exec_prefix"
16825 exec_prefix
="$acl_save_exec_prefix"
16826 prefix
="$acl_save_prefix"
16828 if test "X$x" = "X$element"; then
16833 if test -z "$haveit"; then
16834 LIBS
="${LIBS}${LIBS:+ }$element"
16838 cat >>confdefs.h
<<_ACEOF
16839 #define HAVE_FRAMEWORK_FOUNDATION 1
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
16847 $as_echo_n "checking for framework WebKit... " >&6; }
16848 if test "${ac_cv_framework_WebKit+set}" = set; then :
16849 $as_echo_n "(cached) " >&6
16852 ac_check_framework_save_LIBS
=$LIBS
16853 LIBS
="-framework WebKit $LIBS"
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 #include <WebKit/WebScriptObject.h>
16862 [[WebScriptObject alloc] init];
16867 if ac_fn_objcxx_try_link
"$LINENO"; then :
16869 ac_cv_framework_WebKit
=yes
16872 ac_cv_framework_WebKit
=no
16874 rm -f core conftest.err conftest.
$ac_objext \
16875 conftest
$ac_exeext conftest.
$ac_ext
16876 LIBS
=$ac_check_framework_save_LIBS
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
16880 $as_echo "$ac_cv_framework_WebKit" >&6; }
16881 if test $ac_cv_framework_WebKit = yes; then :
16884 for element
in "-framework WebKit $LIBS"; do
16888 acl_save_prefix
="$prefix"
16889 prefix
="$acl_final_prefix"
16890 acl_save_exec_prefix
="$exec_prefix"
16891 exec_prefix
="$acl_final_exec_prefix"
16893 exec_prefix
="$acl_save_exec_prefix"
16894 prefix
="$acl_save_prefix"
16896 if test "X$x" = "X$element"; then
16901 if test -z "$haveit"; then
16902 LIBS
="${LIBS}${LIBS:+ }$element"
16906 cat >>confdefs.h
<<_ACEOF
16907 #define HAVE_FRAMEWORK_WEBKIT 1
16916 for ac_prog
in gnustep
-config
16918 # Extract the first word of "$ac_prog", so it can be a program name with args.
16919 set dummy
$ac_prog; ac_word
=$2
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16921 $as_echo_n "checking for $ac_word... " >&6; }
16922 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
16923 $as_echo_n "(cached) " >&6
16925 if test -n "$GNUSTEP_CONFIG"; then
16926 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
16928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16929 for as_dir
in $PATH
16932 test -z "$as_dir" && as_dir
=.
16933 for ac_exec_ext
in '' $ac_executable_extensions; do
16934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16935 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
16936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16945 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
16946 if test -n "$GNUSTEP_CONFIG"; then
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
16948 $as_echo "$GNUSTEP_CONFIG" >&6; }
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16951 $as_echo "no" >&6; }
16955 test -n "$GNUSTEP_CONFIG" && break
16958 if test "x$GNUSTEP_CONFIG" != x
; then :
16962 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
16964 for x
in $OBJCXXFLAGS; do
16966 acl_save_prefix
="$prefix"
16967 prefix
="$acl_final_prefix"
16968 acl_save_exec_prefix
="$exec_prefix"
16969 exec_prefix
="$acl_final_exec_prefix"
16971 exec_prefix
="$acl_save_exec_prefix"
16972 prefix
="$acl_save_prefix"
16974 if test "X$x" = "X$element"; then
16979 if test -z "$haveit"; then
16980 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16985 for element
in `$GNUSTEP_CONFIG --base-libs`; do
16989 acl_save_prefix
="$prefix"
16990 prefix
="$acl_final_prefix"
16991 acl_save_exec_prefix
="$exec_prefix"
16992 exec_prefix
="$acl_final_exec_prefix"
16994 exec_prefix
="$acl_save_exec_prefix"
16995 prefix
="$acl_save_prefix"
16997 if test "X$x" = "X$element"; then
17002 if test -z "$haveit"; then
17003 LIBS
="${LIBS}${LIBS:+ }$element"
17017 ac_cpp
='$CXXCPP $CPPFLAGS'
17018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
17026 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
17029 if test "x$CY_OBJECTIVEC" = x1
; then :
17031 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
17032 if test "x$ac_cv_header_mach_mach_h" = x
""yes; then :
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
17037 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
17039 CY_OBJECTIVEC_MACH
=1
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
17049 $as_echo_n "checking for GNU make... " >&6; }
17050 if test "${_cv_gnu_make_command+set}" = set; then :
17051 $as_echo_n "(cached) " >&6
17053 _cv_gnu_make_command
='' ;
17054 for a
in "$MAKE" make gmake gnumake
; do
17055 if test -z "$a" ; then continue ; fi ;
17056 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
17057 _cv_gnu_make_command
=$a ;
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
17064 $as_echo "$_cv_gnu_make_command" >&6; } ;
17065 if test "x$_cv_gnu_make_command" != "x" ; then
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
17070 $as_echo "\"Not found\"" >&6; };
17074 if test "x$_cv_gnu_make_command" = x
; then :
17075 as_fn_error
"You need GNU make" "$LINENO" 5
17077 ac_config_files
="$ac_config_files GNUmakefile"
17079 cat >confcache
<<\_ACEOF
17080 # This file is a shell script that caches the results of configure
17081 # tests run on this system so they can be shared between configure
17082 # scripts and configure runs, see configure's option --config-cache.
17083 # It is not useful on other systems. If it contains results you don't
17084 # want to keep, you may remove or edit it.
17086 # config.status only pays attention to the cache file if you give it
17087 # the --recheck option to rerun configure.
17089 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17090 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17091 # following values.
17095 # The following way of writing the cache mishandles newlines in values,
17096 # but we know of no workaround that is simple, portable, and efficient.
17097 # So, we kill variables containing newlines.
17098 # Ultrix sh set writes to stderr and can't be redirected directly,
17099 # and sets the high bit in the cache file unless we assign to the vars.
17101 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17102 eval ac_val
=\$
$ac_var
17106 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17107 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17110 _
| IFS
| as_nl
) ;; #(
17111 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
17112 *) { eval $ac_var=; unset $ac_var;} ;;
17118 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17119 *${as_nl}ac_space
=\
*)
17120 # `set' does not quote correctly, so add quotes: double-quote
17121 # substitution turns \\\\ into \\, and sed turns \\ into \.
17124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17127 # `set' quotes correctly as required by POSIX, so do not add quotes.
17128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17139 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17141 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17142 if test -w "$cache_file"; then
17143 test "x$cache_file" != "x/dev/null" &&
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17145 $as_echo "$as_me: updating cache $cache_file" >&6;}
17146 cat confcache
>$cache_file
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17155 # Let make expand exec_prefix.
17156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17158 # Transform confdefs.h into DEFS.
17159 # Protect against shell expansion while executing Makefile rules.
17160 # Protect against Makefile macro expansion.
17162 # If the first sed substitution is executed (which looks for macros that
17163 # take arguments), then branch to the quote section. Otherwise,
17164 # look for a macro that doesn't take arguments.
17174 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17176 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17180 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17193 DEFS
=`sed -n "$ac_script" confdefs.h`
17198 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17199 # 1. Remove the extension, and $U if already installed.
17200 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17201 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17202 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17203 # will be set to the directory where LIBOBJS objects are built.
17204 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17205 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17207 LIBOBJS
=$ac_libobjs
17209 LTLIBOBJS
=$ac_ltlibobjs
17213 : ${CONFIG_STATUS=./config.status}
17215 ac_clean_files_save
=$ac_clean_files
17216 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17218 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17220 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17222 # Generated by $as_me.
17223 # Run this file to recreate the current configuration.
17224 # Compiler output produced by configure, useful for debugging
17225 # configure, is in config.log if it exists.
17228 ac_cs_recheck=false
17231 SHELL=\${CONFIG_SHELL-$SHELL}
17234 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
17235 ## -------------------- ##
17236 ## M4sh Initialization. ##
17237 ## -------------------- ##
17239 # Be more Bourne compatible
17240 DUALCASE
=1; export DUALCASE
# for MKS sh
17241 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17244 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17245 # is contrary to our usage. Disable this feature.
17246 alias -g '${1+"$@"}'='"$@"'
17247 setopt NO_GLOB_SUBST
17249 case `(set -o) 2>/dev/null` in #(
17261 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17262 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17263 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17265 # Prefer a ksh shell builtin over an external printf program on Solaris,
17266 # but without wasting forks for bash or zsh.
17267 if test -z "$BASH_VERSION$ZSH_VERSION" \
17268 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17269 as_echo='print
-r --'
17270 as_echo_n='print
-rn --'
17271 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17272 as_echo='printf %s
\n'
17273 as_echo_n='printf %s
'
17275 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17276 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17277 as_echo_n='/usr
/ucb
/echo -n'
17279 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17280 as_echo_n_body='eval
17284 expr "X$arg" : "X\\(.*\\)$as_nl";
17285 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17287 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17289 export as_echo_n_body
17290 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17292 export as_echo_body
17293 as_echo='sh
-c $as_echo_body as_echo
'
17296 # The user is always right.
17297 if test "${PATH_SEPARATOR+set}" != set; then
17299 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17300 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17307 # We need space, tab and new line, in precisely that order. Quoting is
17308 # there to prevent editors from complaining about space-tab.
17309 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17310 # splitting by setting IFS to empty value.)
17313 # Find who we are. Look in the path if we contain no directory separator.
17315 *[\\/]* ) as_myself=$0 ;;
17316 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17317 for as_dir in $PATH
17320 test -z "$as_dir" && as_dir=.
17321 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17327 # We did not find ourselves, most probably we were run as `sh COMMAND'
17328 # in which case we are not to be found in the path.
17329 if test "x$as_myself" = x
; then
17332 if test ! -f "$as_myself"; then
17333 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17337 # Unset variables that we do not need and which cause bugs (e.g. in
17338 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17339 # suppresses any "Segmentation fault" message there. '((' could
17340 # trigger a bug in pdksh 5.2.14.
17341 for as_var
in BASH_ENV ENV MAIL MAILPATH
17342 do eval test x\
${$as_var+set} = xset \
17343 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
17356 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17359 # as_fn_error ERROR [LINENO LOG_FD]
17360 # ---------------------------------
17361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17363 # script with status $?, using 1 if that was 0.
17366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17371 $as_echo "$as_me: error: $1" >&2
17372 as_fn_exit
$as_status
17376 # as_fn_set_status STATUS
17377 # -----------------------
17378 # Set $? to STATUS, without forking.
17379 as_fn_set_status
()
17382 } # as_fn_set_status
17384 # as_fn_exit STATUS
17385 # -----------------
17386 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17390 as_fn_set_status
$1
17396 # Portably unset VAR.
17399 { eval $1=; unset $1;}
17401 as_unset
=as_fn_unset
17402 # as_fn_append VAR VALUE
17403 # ----------------------
17404 # Append the text in VALUE to the end of the definition contained in VAR. Take
17405 # advantage of any shell optimizations that allow amortized linear growth over
17406 # repeated appends, instead of the typical quadratic growth present in naive
17408 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17409 eval 'as_fn_append ()
17420 # as_fn_arith ARG...
17421 # ------------------
17422 # Perform arithmetic evaluation on the ARGs, and store the result in the
17423 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17424 # must be portable across $(()) and expr.
17425 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17426 eval 'as_fn_arith ()
17433 as_val
=`expr "$@" || test $? -eq 1`
17438 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17439 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17445 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17446 as_basename
=basename
17451 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17457 as_me
=`$as_basename -- "$0" ||
17458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17459 X"$0" : 'X\(//\)$' \| \
17460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17462 sed '/^.*\/\([^/][^/]*\)\/*$/{
17476 # Avoid depending upon Character Ranges.
17477 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17478 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17479 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17480 as_cr_digits
='0123456789'
17481 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17483 ECHO_C
= ECHO_N
= ECHO_T
=
17484 case `echo -n x` in #(((((
17486 case `echo 'xy\c'` in
17487 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17489 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17496 rm -f conf$$ conf$$.exe conf$$.
file
17497 if test -d conf$$.dir
; then
17498 rm -f conf$$.dir
/conf$$.
file
17501 mkdir conf$$.dir
2>/dev
/null
17503 if (echo >conf$$.
file) 2>/dev
/null
; then
17504 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17506 # ... but there are two gotchas:
17507 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17508 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17509 # In both cases, we have to default to `cp -p'.
17510 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
17512 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17520 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17521 rmdir conf$$.dir
2>/dev
/null
17526 # Create "$as_dir" as a directory, including parents if necessary.
17531 -*) as_dir
=.
/$as_dir;;
17533 test -d "$as_dir" || eval $as_mkdir_p || {
17537 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17538 *) as_qdir
=$as_dir;;
17540 as_dirs
="'$as_qdir' $as_dirs"
17541 as_dir
=`$as_dirname -- "$as_dir" ||
17542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17543 X"$as_dir" : 'X\(//\)[^/]' \| \
17544 X"$as_dir" : 'X\(//\)$' \| \
17545 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17546 $as_echo X"$as_dir" |
17547 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17551 /^X\(\/\/\)[^/].*/{
17564 test -d "$as_dir" && break
17566 test -z "$as_dirs" || eval "mkdir $as_dirs"
17567 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17571 if mkdir -p .
2>/dev
/null
; then
17572 as_mkdir_p
='mkdir -p "$as_dir"'
17574 test -d .
/-p && rmdir .
/-p
17578 if test -x / >/dev
/null
2>&1; then
17579 as_test_x
='test -x'
17581 if ls -dL / >/dev
/null
2>&1; then
17588 if test -d "$1"; then
17594 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17595 ???[sx]*):;;*)false;;esac;fi
17599 as_executable_p
=$as_test_x
17601 # Sed expression to map a string onto a valid CPP name.
17602 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17604 # Sed expression to map a string onto a valid variable name.
17605 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17609 ## ----------------------------------- ##
17610 ## Main body of $CONFIG_STATUS script. ##
17611 ## ----------------------------------- ##
17613 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17615 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17616 # Save the log message, to keep $0 and so on meaningful, and to
17617 # report actual input values of CONFIG_FILES etc. instead of their
17618 # values after options handling.
17620 This file was extended by Cycript $as_me 0.9, which was
17621 generated by GNU Autoconf 2.65. Invocation command line was
17623 CONFIG_FILES = $CONFIG_FILES
17624 CONFIG_HEADERS = $CONFIG_HEADERS
17625 CONFIG_LINKS = $CONFIG_LINKS
17626 CONFIG_COMMANDS = $CONFIG_COMMANDS
17629 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17634 case $ac_config_files in *"
17635 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17641 # Files that config.status was made for.
17642 config_files="$ac_config_files"
17643 config_commands="$ac_config_commands"
17647 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17649 \`$as_me' instantiates files and other configuration actions
17650 from templates according to the current configuration. Unless the files
17651 and actions are specified as TAGs, all are instantiated by default.
17653 Usage: $0 [OPTION]... [TAG]...
17655 -h, --help print this help, then exit
17656 -V, --version print version number and configuration settings, then exit
17657 --config print configuration, then exit
17658 -q, --quiet, --silent
17659 do not print progress messages
17660 -d, --debug don't remove temporary files
17661 --recheck update $as_me by reconfiguring in the same conditions
17662 --file=FILE[:TEMPLATE]
17663 instantiate the configuration file FILE
17665 Configuration files:
17668 Configuration commands:
17671 Report bugs to <saurik@saurik.com>.
17672 Cycript home page: <http://www.cycript.org/>."
17675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17676 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17678 Cycript config.status 0.9
17679 configured by $0, generated by GNU Autoconf 2.65,
17680 with options \\"\$ac_cs_config\\"
17682 Copyright (C) 2009 Free Software Foundation, Inc.
17683 This config.status script is free software; the Free Software Foundation
17684 gives unlimited permission to copy, distribute and modify it."
17690 test -n "\$AWK" || AWK=awk
17693 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17694 # The default lists apply if the user does not specify any file.
17700 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17701 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17712 # Handling of the options.
17713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17716 $as_echo "$ac_cs_version"; exit ;;
17717 --config | --confi | --conf | --con | --co | --c )
17718 $as_echo "$ac_cs_config"; exit ;;
17719 --debug | --debu | --deb | --de | --d | -d )
17721 --file | --fil | --fi | --f )
17724 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17726 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17727 ac_need_defaults
=false
;;
17728 --he | --h | --help | --hel | -h )
17729 $as_echo "$ac_cs_usage"; exit ;;
17730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17731 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17734 # This is an error.
17735 -*) as_fn_error
"unrecognized option: \`$1'
17736 Try \`$0 --help' for more information." ;;
17738 *) as_fn_append ac_config_targets
" $1"
17739 ac_need_defaults
=false
;;
17745 ac_configure_extra_args
=
17747 if $ac_cs_silent; then
17749 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17754 if \$ac_cs_recheck; then
17755 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17757 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17758 CONFIG_SHELL='$SHELL'
17759 export CONFIG_SHELL
17764 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17769 ## Running $as_me. ##
17775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17781 # The HP-UX ksh and POSIX shell print the target directory to stdout
17782 # if CDPATH is set.
17783 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17785 sed_quote_subst='$sed_quote_subst'
17786 double_quote_subst='$double_quote_subst'
17787 delay_variable_subst='$delay_variable_subst'
17788 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17789 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17790 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17791 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17792 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17793 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17794 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17795 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17796 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17797 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17798 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17799 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17800 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17801 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17802 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17803 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17804 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17805 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17806 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17807 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17808 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17809 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17810 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17811 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17812 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17813 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17814 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17815 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17816 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17817 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17818 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17819 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17820 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17821 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17822 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17823 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17824 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17825 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17826 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17827 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17828 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17829 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17830 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17831 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17832 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"`'
17833 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"`'
17834 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17835 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17836 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17837 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17838 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17839 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17840 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17841 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17842 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17843 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17844 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17845 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17846 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17847 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17848 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17849 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17850 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17851 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17852 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17853 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17854 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17855 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17856 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17857 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17858 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17859 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17860 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17861 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17862 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17863 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17864 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17865 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17866 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17867 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17868 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17869 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17870 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17871 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17872 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17873 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17874 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17875 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17876 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17877 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17878 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17879 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17880 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17881 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17882 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17883 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17884 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17885 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17886 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17887 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17888 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17889 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17890 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17891 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17892 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17893 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17894 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17895 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17896 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17897 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17898 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17899 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17900 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17901 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17902 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17903 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17904 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17905 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17906 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17907 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17908 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17909 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17910 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17911 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17912 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17913 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17914 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17915 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17916 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17917 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17918 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17919 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17920 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17921 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17922 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17923 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17924 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17925 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17926 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17927 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17928 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17929 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17930 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17931 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17932 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17933 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17934 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17935 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17936 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17937 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17938 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17939 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17940 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17941 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17942 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17943 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17944 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17945 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17946 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17947 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17948 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17949 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17950 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17951 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17952 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17953 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17954 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17955 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17956 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17957 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17958 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17961 LTCFLAGS='$LTCFLAGS'
17962 compiler='$compiler_DEFAULT'
17964 # Quote evaled strings.
17976 deplibs_check_method \
17985 lt_cv_sys_global_symbol_pipe \
17986 lt_cv_sys_global_symbol_to_cdecl \
17987 lt_cv_sys_global_symbol_to_c_name_address \
17988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17991 lt_prog_compiler_no_builtin_flag \
17992 lt_prog_compiler_wl \
17993 lt_prog_compiler_pic \
17994 lt_prog_compiler_static \
17995 lt_cv_prog_compiler_c_o \
18003 export_dynamic_flag_spec \
18004 whole_archive_flag_spec \
18005 compiler_needs_object \
18007 allow_undefined_flag \
18008 no_undefined_flag \
18009 hardcode_libdir_flag_spec \
18010 hardcode_libdir_flag_spec_ld \
18011 hardcode_libdir_separator \
18016 variables_saved_for_relink \
18018 library_names_spec \
18023 compiler_lib_search_dirs \
18028 compiler_lib_search_path \
18031 lt_prog_compiler_no_builtin_flag_CXX \
18032 lt_prog_compiler_wl_CXX \
18033 lt_prog_compiler_pic_CXX \
18034 lt_prog_compiler_static_CXX \
18035 lt_cv_prog_compiler_c_o_CXX \
18036 export_dynamic_flag_spec_CXX \
18037 whole_archive_flag_spec_CXX \
18038 compiler_needs_object_CXX \
18040 allow_undefined_flag_CXX \
18041 no_undefined_flag_CXX \
18042 hardcode_libdir_flag_spec_CXX \
18043 hardcode_libdir_flag_spec_ld_CXX \
18044 hardcode_libdir_separator_CXX \
18045 fix_srcfile_path_CXX \
18046 exclude_expsyms_CXX \
18047 include_expsyms_CXX \
18048 file_list_spec_CXX \
18049 compiler_lib_search_dirs_CXX \
18050 predep_objects_CXX \
18051 postdep_objects_CXX \
18054 compiler_lib_search_path_CXX; do
18055 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18056 *[\\\\\\\`\\"\\\$]*)
18057 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18060 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18065 # Double-quote double-evaled strings.
18066 for var in reload_cmds \
18067 old_postinstall_cmds \
18068 old_postuninstall_cmds \
18070 extract_expsyms_cmds \
18071 old_archive_from_new_cmds \
18072 old_archive_from_expsyms_cmds \
18074 archive_expsym_cmds \
18076 module_expsym_cmds \
18077 export_symbols_cmds \
18080 postuninstall_cmds \
18082 sys_lib_search_path_spec \
18083 sys_lib_dlsearch_path_spec \
18084 old_archive_cmds_CXX \
18085 old_archive_from_new_cmds_CXX \
18086 old_archive_from_expsyms_cmds_CXX \
18088 archive_expsym_cmds_CXX \
18090 module_expsym_cmds_CXX \
18091 export_symbols_cmds_CXX \
18092 prelink_cmds_CXX; do
18093 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18094 *[\\\\\\\`\\"\\\$]*)
18095 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18098 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18103 # Fix-up fallback echo if it was mangled by the above quoting rules.
18105 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18109 ac_aux_dir='$ac_aux_dir'
18110 xsi_shell='$xsi_shell'
18111 lt_shell_append='$lt_shell_append'
18113 # See if we are running on zsh, and set the options which allow our
18114 # commands through without removal of \ escapes INIT.
18115 if test -n "\${ZSH_VERSION+set}" ; then
18116 setopt NO_GLOB_SUBST
18122 TIMESTAMP='$TIMESTAMP'
18133 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18135 # Handling of arguments.
18136 for ac_config_target
in $ac_config_targets
18138 case $ac_config_target in
18139 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18140 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
18142 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18147 # If the user did not use the arguments to specify the items to instantiate,
18148 # then the envvar interface is used. Set only those that are not.
18149 # We use the long form for the default assignment because of an extremely
18150 # bizarre bug on SunOS 4.1.3.
18151 if $ac_need_defaults; then
18152 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18153 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18156 # Have a temporary directory for convenience. Make it in the build tree
18157 # simply because there is no reason against having it here, and in addition,
18158 # creating and moving files from /tmp can sometimes cause problems.
18159 # Hook for its removal unless debugging.
18160 # Note that there is a small window in which the directory will not be cleaned:
18161 # after its creation but before its name has been assigned to `$tmp'.
18165 trap 'exit_status=$?
18166 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18168 trap 'as_fn_exit 1' 1 2 13 15
18170 # Create a (secure) tmp directory for tmp files.
18173 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18174 test -n "$tmp" && test -d "$tmp"
18177 tmp
=.
/conf$$
-$RANDOM
18178 (umask 077 && mkdir "$tmp")
18179 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18181 # Set up the scripts for CONFIG_FILES section.
18182 # No need to generate them if there are no CONFIG_FILES.
18183 # This happens for instance with `./config.status config.h'.
18184 if test -n "$CONFIG_FILES"; then
18187 ac_cr
=`echo X | tr X '\015'`
18188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18189 # But we know of no other shell where ac_cr would be empty at this
18190 # point, so we can use a bashism as a fallback.
18191 if test "x$ac_cr" = x
; then
18192 eval ac_cr
=\$
\'\\r
\'
18194 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18198 ac_cs_awk_cr
=$ac_cr
18201 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18206 echo "cat >conf$$subs.awk <<_ACEOF" &&
18207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18209 } >conf$$subs.sh ||
18210 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18213 for ac_last_try in false false false false false :; do
18214 . ./conf$$subs.sh ||
18215 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18217 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18218 if test $ac_delim_n = $ac_delim_num; then
18220 elif $ac_last_try; then
18221 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18223 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18226 rm -f conf$$subs.sh
18228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18229 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18233 s/^/S["/; s
/!.
*/"]=/
18243 s/\(.\{148\}\)..*/\1/
18245 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18250 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18257 s/\(.\{148\}\)..*/\1/
18259 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18263 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18268 ' <conf$$subs.awk | sed '
18273 ' >>$CONFIG_STATUS || ac_write_fail=1
18274 rm -f conf$$subs.awk
18275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18277 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18278 for (key in S) S_is_set[key] = 1
18284 nfields = split(line, field, "@
")
18286 len = length(field[1])
18287 for (i = 2; i < nfields; i++) {
18289 keylen = length(key)
18290 if (S_is_set[key]) {
18292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18293 len += length(value) + length(field[++i])
18304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18305 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18306 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18309 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18310 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18313 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18314 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18315 # trailing colons and then remove the whole line if VPATH becomes empty
18316 # (actually we leave an empty line to preserve line numbers).
18317 if test "x
$srcdir" = x.; then
18318 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18319 s/:*\$(srcdir):*/:/
18320 s/:*\${srcdir}:*/:/
18322 s/^\([^=]*=[ ]*\):*/\1/
18328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18329 fi # test -n "$CONFIG_FILES"
18332 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
18337 :[FHLC]) ac_mode=$ac_tag; continue;;
18339 case $ac_mode$ac_tag in
18341 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
18342 :[FH]-) ac_tag=-:-;;
18343 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18360 -) ac_f="$tmp/stdin";;
18361 *) # Look for the file first in the build tree, then in the source tree
18362 # (if the path is not absolute). The absolute path cannot be DOS-style,
18363 # because $ac_f cannot contain `:'.
18367 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18369 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18371 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
18372 as_fn_append ac_file_inputs " '$ac_f'"
18375 # Let's still pretend it is `configure' which instantiates (i.e., don't
18376 # use $as_me), people would be surprised to read:
18377 # /* config.h. Generated by config.status. */
18378 configure_input='Generated from '`
18379 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18381 if test x"$ac_file" != x-; then
18382 configure_input="$ac_file.
$configure_input"
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
18384 $as_echo "$as_me: creating
$ac_file" >&6;}
18386 # Neutralize special characters interpreted by sed in replacement strings.
18387 case $configure_input in #(
18388 *\&* | *\|* | *\\* )
18389 ac_sed_conf_input=`$as_echo "$configure_input" |
18390 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18391 *) ac_sed_conf_input=$configure_input;;
18395 *:-:* | *:-) cat >"$tmp/stdin
" \
18396 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
18401 ac_dir=`$as_dirname -- "$ac_file" ||
18402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18403 X"$ac_file" : 'X\(//\)[^/]' \| \
18404 X"$ac_file" : 'X\(//\)$' \| \
18405 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18406 $as_echo X"$ac_file" |
18407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18411 /^X\(\/\/\)[^/].*/{
18424 as_dir="$ac_dir"; as_fn_mkdir_p
18428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18431 # A "..
" for each directory in $ac_dir_suffix.
18432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18433 case $ac_top_builddir_sub in
18434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18438 ac_abs_top_builddir=$ac_pwd
18439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18440 # for backward compatibility:
18441 ac_top_builddir=$ac_top_build_prefix
18444 .) # We are building in place.
18446 ac_top_srcdir=$ac_top_builddir_sub
18447 ac_abs_top_srcdir=$ac_pwd ;;
18448 [\\/]* | ?:[\\/]* ) # Absolute name.
18449 ac_srcdir=$srcdir$ac_dir_suffix;
18450 ac_top_srcdir=$srcdir
18451 ac_abs_top_srcdir=$srcdir ;;
18452 *) # Relative name.
18453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18454 ac_top_srcdir=$ac_top_build_prefix$srcdir
18455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18468 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18473 # If the template does not know about datarootdir, expand it.
18474 # FIXME: This hack should be removed a few years after 2.60.
18475 ac_datarootdir_hack=; ac_datarootdir_seen=
18486 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
18487 *datarootdir*) ac_datarootdir_seen=yes;;
18488 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
18490 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
18492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18493 ac_datarootdir_hack='
18494 s&@datadir@&$datadir&g
18495 s&@docdir@&$docdir&g
18496 s&@infodir@&$infodir&g
18497 s&@localedir@&$localedir&g
18498 s&@mandir@&$mandir&g
18499 s&\\\${datarootdir}&$datarootdir&g' ;;
18503 # Neutralize VPATH when `$srcdir' = `.'.
18504 # Shell code in configure.ac might set extrasub.
18505 # FIXME: do we really want to maintain this feature?
18506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18507 ac_sed_extra="$ac_vpsub
18510 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18512 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
18513 s
|@configure_input@
|$ac_sed_conf_input|;t t
18514 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18515 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18516 s
&@srcdir@
&$ac_srcdir&;t t
18517 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18518 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18519 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18520 s
&@builddir@
&$ac_builddir&;t t
18521 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18522 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18523 s
&@INSTALL@
&$ac_INSTALL&;t t
18524 $ac_datarootdir_hack
18526 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18527 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18529 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18530 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18531 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18533 which seems to be undefined. Please make sure it is defined." >&5
18534 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18535 which seems to be undefined. Please make sure it is defined." >&2;}
18539 -) cat "$tmp/out" && rm -f "$tmp/out";;
18540 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18542 || as_fn_error "could not create $ac_file" "$LINENO" 5
18546 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18547 $as_echo "$as_me: executing $ac_file commands" >&6;}
18552 case $ac_file$ac_mode in
18555 # See if we are running on zsh, and set the options which allow our
18556 # commands through without removal of \ escapes.
18557 if test -n "${ZSH_VERSION+set}" ; then
18558 setopt NO_GLOB_SUBST
18561 cfgfile="${ofile}T"
18562 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18565 cat <<_LT_EOF >> "$cfgfile"
18568 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
18569 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18570 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18571 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18573 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18574 # 2006, 2007, 2008 Free Software Foundation, Inc.
18575 # Written by Gordon Matzigkeit, 1996
18577 # This file is part of GNU Libtool.
18579 # GNU Libtool is free software; you can redistribute it and/or
18580 # modify it under the terms of the GNU General Public License as
18581 # published by the Free Software Foundation; either version 2 of
18582 # the License, or (at your option) any later version.
18584 # As a special exception to the GNU General Public License,
18585 # if you distribute this file as part of a program or library that
18586 # is built using GNU Libtool, you may include this file under the
18587 # same distribution terms that you use for the rest of that program.
18589 # GNU Libtool is distributed in the hope that it will be useful,
18590 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18592 # GNU General Public License for more details.
18594 # You should have received a copy of the GNU General Public License
18595 # along with GNU Libtool; see the file COPYING. If not, a copy
18596 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18597 # obtained by writing to the Free Software Foundation, Inc.,
18598 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18601 # The names of the tagged configurations supported by this script.
18602 available_tags="CXX "
18604 # ### BEGIN LIBTOOL CONFIG
18606 # Which release of libtool.m4 was used?
18607 macro_version=$macro_version
18608 macro_revision=$macro_revision
18610 # Whether or not to build static libraries.
18611 build_old_libs=$enable_static
18613 # Whether or not to build shared libraries.
18614 build_libtool_libs=$enable_shared
18616 # What type of objects to build.
18619 # Whether or not to optimize for fast installation.
18620 fast_install=$enable_fast_install
18623 host_alias=$host_alias
18627 # The build system.
18628 build_alias=$build_alias
18632 # A sed program that does not truncate output.
18635 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18636 Xsed="\$SED -e 1s/^X//"
18638 # A grep program that handles long lines.
18644 # A literal string matcher.
18647 # A BSD- or MS-compatible name lister.
18650 # Whether we need soft or hard links.
18653 # What is the maximum length of a command?
18654 max_cmd_len=$max_cmd_len
18656 # Object file suffix (normally "o").
18659 # Executable file suffix (normally "").
18662 # whether the shell understands "unset".
18665 # turn spaces into newlines.
18668 # turn newlines into spaces.
18671 # How to create reloadable object files.
18672 reload_flag=$lt_reload_flag
18673 reload_cmds=$lt_reload_cmds
18675 # An object symbol dumper.
18676 OBJDUMP=$lt_OBJDUMP
18678 # Method to check whether dependent libraries are shared objects.
18679 deplibs_check_method=$lt_deplibs_check_method
18681 # Command to use when deplibs_check_method == "file_magic".
18682 file_magic_cmd=$lt_file_magic_cmd
18686 AR_FLAGS=$lt_AR_FLAGS
18688 # A symbol stripping program.
18691 # Commands used to install an old-style archive.
18693 old_postinstall_cmds=$lt_old_postinstall_cmds
18694 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18699 # LTCC compiler flags.
18700 LTCFLAGS=$lt_CFLAGS
18702 # Take the output of nm and produce a listing of raw symbols and C names.
18703 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18705 # Transform the output of nm in a proper C declaration.
18706 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18708 # Transform the output of nm in a C name address pair.
18709 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18711 # Transform the output of nm in a C name address pair when lib prefix is needed.
18712 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18714 # The name of the directory that contains temporary libtool files.
18717 # Shell to use when invoking shell scripts.
18720 # An echo program that does not interpret backslashes.
18723 # Used to examine libraries when file_magic_cmd begins with "file".
18724 MAGIC_CMD=$MAGIC_CMD
18726 # Must we lock files when doing compilation?
18727 need_locks=$lt_need_locks
18729 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18730 DSYMUTIL=$lt_DSYMUTIL
18732 # Tool to change global to local symbols on Mac OS X.
18735 # Tool to manipulate fat objects and archives on Mac OS X.
18738 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18741 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18742 OTOOL64=$lt_OTOOL64
18744 # Old archive suffix (normally "a").
18747 # Shared library suffix (normally ".so").
18748 shrext_cmds=$lt_shrext_cmds
18750 # The commands to extract the exported symbol list from a shared archive.
18751 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18753 # Variables whose values should be saved in libtool wrapper scripts and
18754 # restored at link time.
18755 variables_saved_for_relink=$lt_variables_saved_for_relink
18757 # Do we need the "lib" prefix for modules?
18758 need_lib_prefix=$need_lib_prefix
18760 # Do we need a version for libraries?
18761 need_version=$need_version
18763 # Library versioning type.
18764 version_type=$version_type
18766 # Shared library runtime path variable.
18767 runpath_var=$runpath_var
18769 # Shared library path variable.
18770 shlibpath_var=$shlibpath_var
18772 # Is shlibpath searched before the hard-coded library search path?
18773 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18775 # Format of library name prefix.
18776 libname_spec=$lt_libname_spec
18778 # List of archive names. First name is the real one, the rest are links.
18779 # The last name is the one that the linker finds with -lNAME
18780 library_names_spec=$lt_library_names_spec
18782 # The coded name of the library, if different from the real name.
18783 soname_spec=$lt_soname_spec
18785 # Command to use after installation of a shared archive.
18786 postinstall_cmds=$lt_postinstall_cmds
18788 # Command to use after uninstallation of a shared archive.
18789 postuninstall_cmds=$lt_postuninstall_cmds
18791 # Commands used to finish a libtool library installation in a directory.
18792 finish_cmds=$lt_finish_cmds
18794 # As "finish_cmds", except a single script fragment to be evaled but
18796 finish_eval=$lt_finish_eval
18798 # Whether we should hardcode library paths into libraries.
18799 hardcode_into_libs=$hardcode_into_libs
18801 # Compile-time system search path for libraries.
18802 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18804 # Run-time system search path for libraries.
18805 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18807 # Whether dlopen is supported.
18808 dlopen_support=$enable_dlopen
18810 # Whether dlopen of programs is supported.
18811 dlopen_self=$enable_dlopen_self
18813 # Whether dlopen of statically linked programs is supported.
18814 dlopen_self_static=$enable_dlopen_self_static
18816 # Commands to strip libraries.
18817 old_striplib=$lt_old_striplib
18818 striplib=$lt_striplib
18821 # The linker used to build libraries.
18824 # Commands used to build an old-style archive.
18825 old_archive_cmds=$lt_old_archive_cmds
18827 # A language specific compiler.
18830 # Is the compiler the GNU compiler?
18833 # Compiler flag to turn off builtin functions.
18834 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18836 # How to pass a linker flag through the compiler.
18837 wl=$lt_lt_prog_compiler_wl
18839 # Additional compiler flags for building library objects.
18840 pic_flag=$lt_lt_prog_compiler_pic
18842 # Compiler flag to prevent dynamic linking.
18843 link_static_flag=$lt_lt_prog_compiler_static
18845 # Does compiler simultaneously support -c and -o options?
18846 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18848 # Whether or not to add -lc for building shared libraries.
18849 build_libtool_need_lc=$archive_cmds_need_lc
18851 # Whether or not to disallow shared libs when runtime libs are static.
18852 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18854 # Compiler flag to allow reflexive dlopens.
18855 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18857 # Compiler flag to generate shared objects directly from archives.
18858 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18860 # Whether the compiler copes with passing no objects directly.
18861 compiler_needs_object=$lt_compiler_needs_object
18863 # Create an old-style archive from a shared archive.
18864 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18866 # Create a temporary old-style archive to link instead of a shared archive.
18867 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18869 # Commands used to build a shared archive.
18870 archive_cmds=$lt_archive_cmds
18871 archive_expsym_cmds=$lt_archive_expsym_cmds
18873 # Commands used to build a loadable module if different from building
18874 # a shared archive.
18875 module_cmds=$lt_module_cmds
18876 module_expsym_cmds=$lt_module_expsym_cmds
18878 # Whether we are building with GNU ld or not.
18879 with_gnu_ld=$lt_with_gnu_ld
18881 # Flag that allows shared libraries with undefined symbols to be built.
18882 allow_undefined_flag=$lt_allow_undefined_flag
18884 # Flag that enforces no undefined symbols.
18885 no_undefined_flag=$lt_no_undefined_flag
18887 # Flag to hardcode \$libdir into a binary during linking.
18888 # This must work even if \$libdir does not exist
18889 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18891 # If ld is used when linking, flag to hardcode \$libdir into a binary
18892 # during linking. This must work even if \$libdir does not exist.
18893 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18895 # Whether we need a single "-rpath" flag with a separated argument.
18896 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18898 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18899 # DIR into the resulting binary.
18900 hardcode_direct=$hardcode_direct
18902 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18903 # DIR into the resulting binary and the resulting library dependency is
18904 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18905 # library is relocated.
18906 hardcode_direct_absolute=$hardcode_direct_absolute
18908 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18909 # into the resulting binary.
18910 hardcode_minus_L=$hardcode_minus_L
18912 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18913 # into the resulting binary.
18914 hardcode_shlibpath_var=$hardcode_shlibpath_var
18916 # Set to "yes" if building a shared library automatically hardcodes DIR
18917 # into the library and all subsequent libraries and executables linked
18919 hardcode_automatic=$hardcode_automatic
18921 # Set to yes if linker adds runtime paths of dependent libraries
18922 # to runtime path list.
18923 inherit_rpath=$inherit_rpath
18925 # Whether libtool must link a program against all its dependency libraries.
18926 link_all_deplibs=$link_all_deplibs
18928 # Fix the shell variable \$srcfile for the compiler.
18929 fix_srcfile_path=$lt_fix_srcfile_path
18931 # Set to "yes" if exported symbols are required.
18932 always_export_symbols=$always_export_symbols
18934 # The commands to list exported symbols.
18935 export_symbols_cmds=$lt_export_symbols_cmds
18937 # Symbols that should not be listed in the preloaded symbols.
18938 exclude_expsyms=$lt_exclude_expsyms
18940 # Symbols that must always be exported.
18941 include_expsyms=$lt_include_expsyms
18943 # Commands necessary for linking programs (against libraries) with templates.
18944 prelink_cmds=$lt_prelink_cmds
18946 # Specify filename containing input files.
18947 file_list_spec=$lt_file_list_spec
18949 # How to hardcode a shared library path into an executable.
18950 hardcode_action=$hardcode_action
18952 # The directories searched by this compiler when creating a shared library.
18953 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18955 # Dependencies to place before and after the objects being linked to
18956 # create a shared library.
18957 predep_objects=$lt_predep_objects
18958 postdep_objects=$lt_postdep_objects
18959 predeps=$lt_predeps
18960 postdeps=$lt_postdeps
18962 # The library search path used internally by the compiler when linking
18963 # a shared library.
18964 compiler_lib_search_path=$lt_compiler_lib_search_path
18966 # ### END LIBTOOL CONFIG
18972 cat <<\_LT_EOF >> "$cfgfile"
18973 # AIX sometimes has problems with the GCC collect2 program. For some
18974 # reason, if we set the COLLECT_NAMES environment variable, the problems
18975 # vanish in a puff of smoke.
18976 if test "X${COLLECT_NAMES+set}" != Xset; then
18978 export COLLECT_NAMES
18985 ltmain="$ac_aux_dir/ltmain.sh"
18988 # We use sed instead of cat because bash on DJGPP gets confused if
18989 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18990 # text mode, it properly converts lines to CR/LF. This bash problem
18991 # is reportedly fixed, but why not run on old versions too?
18992 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18993 || (rm -f "$cfgfile"; exit 1)
18997 cat << \_LT_EOF
>> "$cfgfile"
18999 # func_dirname file append nondir_replacement
19000 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19001 # otherwise set result to NONDIR_REPLACEMENT.
19005 */*) func_dirname_result
="${1%/*}${2}" ;;
19006 * ) func_dirname_result
="${3}" ;;
19010 # func_basename file
19013 func_basename_result
="${1##*/}"
19016 # func_dirname_and_basename file append nondir_replacement
19017 # perform func_basename and func_dirname in a single function
19019 # dirname: Compute the dirname of FILE. If nonempty,
19020 # add APPEND to the result, otherwise set result
19021 # to NONDIR_REPLACEMENT.
19022 # value returned in "$func_dirname_result"
19023 # basename: Compute filename of FILE.
19024 # value retuned in "$func_basename_result"
19025 # Implementation must be kept synchronized with func_dirname
19026 # and func_basename. For efficiency, we do not delegate to
19027 # those functions but instead duplicate the functionality here.
19028 func_dirname_and_basename
()
19031 */*) func_dirname_result
="${1%/*}${2}" ;;
19032 * ) func_dirname_result
="${3}" ;;
19034 func_basename_result
="${1##*/}"
19037 # func_stripname prefix suffix name
19038 # strip PREFIX and SUFFIX off of NAME.
19039 # PREFIX and SUFFIX must not contain globbing or regex special
19040 # characters, hashes, percent signs, but SUFFIX may contain a leading
19041 # dot (in which case that matches only a dot).
19044 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19045 # positional parameters, so assign one to ordinary parameter first.
19046 func_stripname_result
=${3}
19047 func_stripname_result
=${func_stripname_result#"${1}"}
19048 func_stripname_result
=${func_stripname_result%"${2}"}
19054 func_opt_split_opt
=${1%%=*}
19055 func_opt_split_arg
=${1#*=}
19062 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19063 *) func_lo2o_result
=${1} ;;
19067 # func_xform libobj-or-source
19070 func_xform_result
=${1%.*}.lo
19073 # func_arith arithmetic-term...
19076 func_arith_result
=$(( $* ))
19080 # STRING may not start with a hyphen.
19083 func_len_result
=${#1}
19088 *) # Bourne compatible functions.
19089 cat << \_LT_EOF
>> "$cfgfile"
19091 # func_dirname file append nondir_replacement
19092 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19093 # otherwise set result to NONDIR_REPLACEMENT.
19096 # Extract subdirectory from the argument.
19097 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19098 if test "X$func_dirname_result" = "X${1}"; then
19099 func_dirname_result
="${3}"
19101 func_dirname_result
="$func_dirname_result${2}"
19105 # func_basename file
19108 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
19112 # func_stripname prefix suffix name
19113 # strip PREFIX and SUFFIX off of NAME.
19114 # PREFIX and SUFFIX must not contain globbing or regex special
19115 # characters, hashes, percent signs, but SUFFIX may contain a leading
19116 # dot (in which case that matches only a dot).
19117 # func_strip_suffix prefix name
19121 .
*) func_stripname_result
=`$ECHO "X${3}" \
19122 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19123 *) func_stripname_result
=`$ECHO "X${3}" \
19124 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19129 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19130 my_sed_long_arg
='1s/^-[^=]*=//'
19135 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19136 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19142 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19145 # func_xform libobj-or-source
19148 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19151 # func_arith arithmetic-term...
19154 func_arith_result
=`expr "$@"`
19158 # STRING may not start with a hyphen.
19161 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19167 case $lt_shell_append in
19169 cat << \_LT_EOF
>> "$cfgfile"
19171 # func_append var value
19172 # Append VALUE to the end of shell variable VAR.
19180 cat << \_LT_EOF
>> "$cfgfile"
19182 # func_append var value
19183 # Append VALUE to the end of shell variable VAR.
19194 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19195 || (rm -f "$cfgfile"; exit 1)
19197 mv -f "$cfgfile" "$ofile" ||
19198 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19202 cat <<_LT_EOF >> "$ofile"
19204 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19206 # The linker used to build libraries.
19209 # Commands used to build an old-style archive.
19210 old_archive_cmds=$lt_old_archive_cmds_CXX
19212 # A language specific compiler.
19213 CC=$lt_compiler_CXX
19215 # Is the compiler the GNU compiler?
19218 # Compiler flag to turn off builtin functions.
19219 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19221 # How to pass a linker flag through the compiler.
19222 wl=$lt_lt_prog_compiler_wl_CXX
19224 # Additional compiler flags for building library objects.
19225 pic_flag=$lt_lt_prog_compiler_pic_CXX
19227 # Compiler flag to prevent dynamic linking.
19228 link_static_flag=$lt_lt_prog_compiler_static_CXX
19230 # Does compiler simultaneously support -c and -o options?
19231 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19233 # Whether or not to add -lc for building shared libraries.
19234 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19236 # Whether or not to disallow shared libs when runtime libs are static.
19237 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19239 # Compiler flag to allow reflexive dlopens.
19240 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19242 # Compiler flag to generate shared objects directly from archives.
19243 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19245 # Whether the compiler copes with passing no objects directly.
19246 compiler_needs_object=$lt_compiler_needs_object_CXX
19248 # Create an old-style archive from a shared archive.
19249 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19251 # Create a temporary old-style archive to link instead of a shared archive.
19252 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19254 # Commands used to build a shared archive.
19255 archive_cmds=$lt_archive_cmds_CXX
19256 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19258 # Commands used to build a loadable module if different from building
19259 # a shared archive.
19260 module_cmds=$lt_module_cmds_CXX
19261 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19263 # Whether we are building with GNU ld or not.
19264 with_gnu_ld=$lt_with_gnu_ld_CXX
19266 # Flag that allows shared libraries with undefined symbols to be built.
19267 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19269 # Flag that enforces no undefined symbols.
19270 no_undefined_flag=$lt_no_undefined_flag_CXX
19272 # Flag to hardcode \$libdir into a binary during linking.
19273 # This must work even if \$libdir does not exist
19274 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19276 # If ld is used when linking, flag to hardcode \$libdir into a binary
19277 # during linking. This must work even if \$libdir does not exist.
19278 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19280 # Whether we need a single "-rpath" flag with a separated argument.
19281 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19283 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19284 # DIR into the resulting binary.
19285 hardcode_direct=$hardcode_direct_CXX
19287 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19288 # DIR into the resulting binary and the resulting library dependency is
19289 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19290 # library is relocated.
19291 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19293 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19294 # into the resulting binary.
19295 hardcode_minus_L=$hardcode_minus_L_CXX
19297 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19298 # into the resulting binary.
19299 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19301 # Set to "yes" if building a shared library automatically hardcodes DIR
19302 # into the library and all subsequent libraries and executables linked
19304 hardcode_automatic=$hardcode_automatic_CXX
19306 # Set to yes if linker adds runtime paths of dependent libraries
19307 # to runtime path list.
19308 inherit_rpath=$inherit_rpath_CXX
19310 # Whether libtool must link a program against all its dependency libraries.
19311 link_all_deplibs=$link_all_deplibs_CXX
19313 # Fix the shell variable \$srcfile for the compiler.
19314 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19316 # Set to "yes" if exported symbols are required.
19317 always_export_symbols=$always_export_symbols_CXX
19319 # The commands to list exported symbols.
19320 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19322 # Symbols that should not be listed in the preloaded symbols.
19323 exclude_expsyms=$lt_exclude_expsyms_CXX
19325 # Symbols that must always be exported.
19326 include_expsyms=$lt_include_expsyms_CXX
19328 # Commands necessary for linking programs (against libraries) with templates.
19329 prelink_cmds=$lt_prelink_cmds_CXX
19331 # Specify filename containing input files.
19332 file_list_spec=$lt_file_list_spec_CXX
19334 # How to hardcode a shared library path into an executable.
19335 hardcode_action=$hardcode_action_CXX
19337 # The directories searched by this compiler when creating a shared library.
19338 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19340 # Dependencies to place before and after the objects being linked to
19341 # create a shared library.
19342 predep_objects=$lt_predep_objects_CXX
19343 postdep_objects=$lt_postdep_objects_CXX
19344 predeps=$lt_predeps_CXX
19345 postdeps=$lt_postdeps_CXX
19347 # The library search path used internally by the compiler when linking
19348 # a shared library.
19349 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19351 # ### END LIBTOOL TAG CONFIG: CXX
19362 ac_clean_files
=$ac_clean_files_save
19364 test $ac_write_fail = 0 ||
19365 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19368 # configure is writing to config.log, and then calls config.status.
19369 # config.status does its own redirection, appending to config.log.
19370 # Unfortunately, on DOS this fails, as config.log is still kept open
19371 # by configure, so config.status won't be able to write to it; its
19372 # output is simply discarded. So we exec the FD to /dev/null,
19373 # effectively closing config.log, so it can be properly (re)opened and
19374 # appended to by config.status. When coming back to configure, we
19375 # need to make the FD available again.
19376 if test "$no_create" != yes; then
19378 ac_config_status_args
=
19379 test "$silent" = yes &&
19380 ac_config_status_args
="$ac_config_status_args --quiet"
19382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19385 # would make configure fail if this is the last instruction.
19386 $ac_cs_success || as_fn_exit $?
19388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}