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
931 ac_precious_vars
='build_alias
959 # Initialize some variables set by options.
961 ac_init_version
=false
962 ac_unrecognized_opts
=
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name
=s
,x
,x
,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir
='${exec_prefix}/bin'
988 sbindir
='${exec_prefix}/sbin'
989 libexecdir
='${exec_prefix}/libexec'
990 datarootdir
='${prefix}/share'
991 datadir
='${datarootdir}'
992 sysconfdir
='${prefix}/etc'
993 sharedstatedir
='${prefix}/com'
994 localstatedir
='${prefix}/var'
995 includedir
='${prefix}/include'
996 oldincludedir
='/usr/include'
997 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir
='${datarootdir}/info'
1003 libdir
='${exec_prefix}/lib'
1004 localedir
='${datarootdir}/locale'
1005 mandir
='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\
$ac_option
1019 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 # Accept the important Cygnus configure options, so we can diagnose typos.
1025 case $ac_dashdash$ac_option in
1029 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1031 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1032 bindir
=$ac_optarg ;;
1034 -build | --build | --buil | --bui | --bu)
1035 ac_prev
=build_alias
;;
1036 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1037 build_alias
=$ac_optarg ;;
1039 -cache-file | --cache-file | --cache-fil | --cache-fi \
1040 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1041 ac_prev
=cache_file
;;
1042 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1043 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1044 cache_file
=$ac_optarg ;;
1046 --config-cache | -C)
1047 cache_file
=config.cache
;;
1049 -datadir | --datadir | --datadi | --datad)
1051 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1052 datadir
=$ac_optarg ;;
1054 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1055 | --dataroo | --dataro | --datar)
1056 ac_prev
=datarootdir
;;
1057 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1058 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1059 datarootdir
=$ac_optarg ;;
1061 -disable-* | --disable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 as_fn_error
"invalid feature name: $ac_useropt"
1066 ac_useropt_orig
=$ac_useropt
1067 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1070 "enable_
$ac_useropt"
1072 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1073 ac_unrecognized_sep
=', ';;
1075 eval enable_
$ac_useropt=no
;;
1077 -docdir | --docdir | --docdi | --doc | --do)
1079 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1080 docdir
=$ac_optarg ;;
1082 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1084 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1085 dvidir
=$ac_optarg ;;
1087 -enable-* | --enable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error
"invalid feature name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=\
$ac_optarg ;;
1103 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1104 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1105 | --exec | --exe | --ex)
1106 ac_prev
=exec_prefix
;;
1107 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1108 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1109 | --exec=* | --exe=* | --ex=*)
1110 exec_prefix
=$ac_optarg ;;
1112 -gas | --gas | --ga | --g)
1113 # Obsolete; use --with-gas.
1116 -help | --help | --hel | --he | -h)
1117 ac_init_help
=long
;;
1118 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1119 ac_init_help
=recursive
;;
1120 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1121 ac_init_help
=short
;;
1123 -host | --host | --hos | --ho)
1124 ac_prev
=host_alias
;;
1125 -host=* | --host=* | --hos=* | --ho=*)
1126 host_alias
=$ac_optarg ;;
1128 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132 htmldir
=$ac_optarg ;;
1134 -includedir | --includedir | --includedi | --included | --include \
1135 | --includ | --inclu | --incl | --inc)
1136 ac_prev
=includedir
;;
1137 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1138 | --includ=* | --inclu=* | --incl=* | --inc=*)
1139 includedir
=$ac_optarg ;;
1141 -infodir | --infodir | --infodi | --infod | --info | --inf)
1143 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1144 infodir
=$ac_optarg ;;
1146 -libdir | --libdir | --libdi | --libd)
1148 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1149 libdir
=$ac_optarg ;;
1151 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1152 | --libexe | --libex | --libe)
1153 ac_prev
=libexecdir
;;
1154 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1155 | --libexe=* | --libex=* | --libe=*)
1156 libexecdir
=$ac_optarg ;;
1158 -localedir | --localedir | --localedi | --localed | --locale)
1159 ac_prev
=localedir
;;
1160 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1161 localedir
=$ac_optarg ;;
1163 -localstatedir | --localstatedir | --localstatedi | --localstated \
1164 | --localstate | --localstat | --localsta | --localst | --locals)
1165 ac_prev
=localstatedir
;;
1166 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1167 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1168 localstatedir
=$ac_optarg ;;
1170 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1173 mandir
=$ac_optarg ;;
1175 -nfp | --nfp | --nf)
1176 # Obsolete; use --without-fp.
1179 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1180 | --no-cr | --no-c | -n)
1183 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1184 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1187 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1188 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1189 | --oldin | --oldi | --old | --ol | --o)
1190 ac_prev
=oldincludedir
;;
1191 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1192 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1193 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1194 oldincludedir
=$ac_optarg ;;
1196 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1199 prefix
=$ac_optarg ;;
1201 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1202 | --program-pre | --program-pr | --program-p)
1203 ac_prev
=program_prefix
;;
1204 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1205 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1206 program_prefix
=$ac_optarg ;;
1208 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1209 | --program-suf | --program-su | --program-s)
1210 ac_prev
=program_suffix
;;
1211 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1212 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1213 program_suffix
=$ac_optarg ;;
1215 -program-transform-name | --program-transform-name \
1216 | --program-transform-nam | --program-transform-na \
1217 | --program-transform-n | --program-transform- \
1218 | --program-transform | --program-transfor \
1219 | --program-transfo | --program-transf \
1220 | --program-trans | --program-tran \
1221 | --progr-tra | --program-tr | --program-t)
1222 ac_prev
=program_transform_name
;;
1223 -program-transform-name=* | --program-transform-name=* \
1224 | --program-transform-nam=* | --program-transform-na=* \
1225 | --program-transform-n=* | --program-transform-=* \
1226 | --program-transform=* | --program-transfor=* \
1227 | --program-transfo=* | --program-transf=* \
1228 | --program-trans=* | --program-tran=* \
1229 | --progr-tra=* | --program-tr=* | --program-t=*)
1230 program_transform_name
=$ac_optarg ;;
1232 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1235 pdfdir
=$ac_optarg ;;
1237 -psdir | --psdir | --psdi | --psd | --ps)
1239 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1243 | -silent | --silent | --silen | --sile | --sil)
1246 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250 sbindir
=$ac_optarg ;;
1252 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1253 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1254 | --sharedst | --shareds | --shared | --share | --shar \
1256 ac_prev
=sharedstatedir
;;
1257 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1258 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1259 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261 sharedstatedir
=$ac_optarg ;;
1263 -site | --site | --sit)
1265 -site=* | --site=* | --sit=*)
1268 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1271 srcdir
=$ac_optarg ;;
1273 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1274 | --syscon | --sysco | --sysc | --sys | --sy)
1275 ac_prev
=sysconfdir
;;
1276 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1277 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1278 sysconfdir
=$ac_optarg ;;
1280 -target | --target | --targe | --targ | --tar | --ta | --t)
1281 ac_prev
=target_alias
;;
1282 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1283 target_alias
=$ac_optarg ;;
1285 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1288 -version | --version | --versio | --versi | --vers | -V)
1289 ac_init_version
=: ;;
1292 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1293 # Reject names that are not valid shell variable names.
1294 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1295 as_fn_error
"invalid package name: $ac_useropt"
1296 ac_useropt_orig
=$ac_useropt
1297 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298 case $ac_user_opts in
1302 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1303 ac_unrecognized_sep
=', ';;
1305 eval with_
$ac_useropt=\
$ac_optarg ;;
1307 -without-* | --without-*)
1308 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1309 # Reject names that are not valid shell variable names.
1310 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1311 as_fn_error
"invalid package name: $ac_useropt"
1312 ac_useropt_orig
=$ac_useropt
1313 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1314 case $ac_user_opts in
1318 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1319 ac_unrecognized_sep
=', ';;
1321 eval with_
$ac_useropt=no
;;
1324 # Obsolete; use --with-x.
1327 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1328 | --x-incl | --x-inc | --x-in | --x-i)
1329 ac_prev
=x_includes
;;
1330 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1331 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1332 x_includes
=$ac_optarg ;;
1334 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1335 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1336 ac_prev
=x_libraries
;;
1337 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1338 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1339 x_libraries
=$ac_optarg ;;
1341 -*) as_fn_error
"unrecognized option: \`$ac_option'
1342 Try \`$0 --help' for more information."
1346 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1347 # Reject names that are not valid shell variable names.
1348 case $ac_envvar in #(
1349 '' | [0-9]* | *[!_$as_cr_alnum]* )
1350 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1352 eval $ac_envvar=\
$ac_optarg
1353 export $ac_envvar ;;
1356 # FIXME: should be removed in autoconf 3.0.
1357 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1358 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1359 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1366 if test -n "$ac_prev"; then
1367 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1368 as_fn_error
"missing argument to $ac_option"
1371 if test -n "$ac_unrecognized_opts"; then
1372 case $enable_option_checking in
1374 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1375 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1379 # Check all directory arguments for consistency.
1380 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1385 eval ac_val
=\$
$ac_var
1386 # Remove trailing slashes.
1389 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390 eval $ac_var=\
$ac_val;;
1392 # Be sure to have absolute directory names.
1394 [\\/$
]* | ?
:[\\/]* ) continue;;
1395 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1397 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1400 # There might be people who depend on the old broken behavior: `$host'
1401 # used to hold the argument of --host etc.
1402 # FIXME: To remove some day.
1405 target
=$target_alias
1407 # FIXME: To remove some day.
1408 if test "x$host_alias" != x
; then
1409 if test "x$build_alias" = x
; then
1410 cross_compiling
=maybe
1411 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1412 If a cross compiler is detected then cross compile mode will be used." >&2
1413 elif test "x$build_alias" != "x$host_alias"; then
1419 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1421 test "$silent" = yes && exec 6>/dev
/null
1424 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1425 ac_ls_di
=`ls -di .` &&
1426 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1427 as_fn_error
"working directory cannot be determined"
1428 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1429 as_fn_error
"pwd does not report name of working directory"
1432 # Find the source files, if location was not specified.
1433 if test -z "$srcdir"; then
1434 ac_srcdir_defaulted
=yes
1435 # Try the directory containing this script, then the parent directory.
1436 ac_confdir
=`$as_dirname -- "$as_myself" ||
1437 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1438 X"$as_myself" : 'X\(//\)[^/]' \| \
1439 X"$as_myself" : 'X\(//\)$' \| \
1440 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1441 $as_echo X"$as_myself" |
1442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1460 if test ! -r "$srcdir/$ac_unique_file"; then
1464 ac_srcdir_defaulted
=no
1466 if test ! -r "$srcdir/$ac_unique_file"; then
1467 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1468 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1470 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1472 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1474 # When building in place, set srcdir=.
1475 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 # Remove unnecessary trailing slashes from srcdir.
1479 # Double slashes in file names in object file debugging info
1480 # mess up M-x gdb in Emacs.
1482 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484 for ac_var
in $ac_precious_vars; do
1485 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1486 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1487 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1488 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1492 # Report the --help message.
1494 if test "$ac_init_help" = "long"; then
1495 # Omit some internal or obsolete options to make the list less imposing.
1496 # This message is too long to be a string in the A/UX 3.1 sh.
1498 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1500 Usage: $0 [OPTION]... [VAR=VALUE]...
1502 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1503 VAR=VALUE. See below for descriptions of some of the useful variables.
1505 Defaults for the options are specified in brackets.
1508 -h, --help display this help and exit
1509 --help=short display options specific to this package
1510 --help=recursive display the short help of all the included packages
1511 -V, --version display version information and exit
1512 -q, --quiet, --silent do not print \`checking...' messages
1513 --cache-file=FILE cache test results in FILE [disabled]
1514 -C, --config-cache alias for \`--cache-file=config.cache'
1515 -n, --no-create do not create output files
1516 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1518 Installation directories:
1519 --prefix=PREFIX install architecture-independent files in PREFIX
1520 [$ac_default_prefix]
1521 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 By default, \`make install' will install all the files in
1525 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1526 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1527 for instance \`--prefix=\$HOME'.
1529 For better control, use the options below.
1531 Fine tuning of the installation directories:
1532 --bindir=DIR user executables [EPREFIX/bin]
1533 --sbindir=DIR system admin executables [EPREFIX/sbin]
1534 --libexecdir=DIR program executables [EPREFIX/libexec]
1535 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1536 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1537 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1538 --libdir=DIR object code libraries [EPREFIX/lib]
1539 --includedir=DIR C header files [PREFIX/include]
1540 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1541 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1542 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1543 --infodir=DIR info documentation [DATAROOTDIR/info]
1544 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1545 --mandir=DIR man documentation [DATAROOTDIR/man]
1546 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1547 --htmldir=DIR html documentation [DOCDIR]
1548 --dvidir=DIR dvi documentation [DOCDIR]
1549 --pdfdir=DIR pdf documentation [DOCDIR]
1550 --psdir=DIR ps documentation [DOCDIR]
1556 --build=BUILD configure
for building on BUILD
[guessed
]
1557 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1561 if test -n "$ac_init_help"; then
1562 case $ac_init_help in
1563 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1568 --disable-option-checking ignore unrecognized
--enable/--with options
1569 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1570 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1571 --enable-static[=PKGS
] build static libraries
[default
=no
]
1572 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1573 --enable-fast-install[=PKGS
]
1574 optimize
for fast installation
[default
=yes]
1575 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1576 --disable-rpath do not hardcode runtime library paths
1577 --enable-javascript[=ENGINE
]
1578 use a JavaScript runtime
(currently the only
1579 available option
for ENGINE is JavaScriptCore
)
1583 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1584 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1585 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1587 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1588 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1589 path
for frameworks with
-F
1590 --with-apr=PATH prefix
for installed APR or the full path to
1592 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1593 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1594 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1605 PKG_CONFIG path to pkg-config utility
1606 CXX C++ compiler command
1607 CXXFLAGS C++ compiler flags
1608 CXXCPP C++ preprocessor
1609 OBJCXX Objective C++ compiler command
1610 OBJCXXFLAGS Objective C++ compiler flags
1611 BISON GNU Project parser generator (yacc replacement)
1612 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1613 the first program found out of
: `bison -y', `byacc
', `yacc'.
1614 YFLAGS The list of arguments that will be passed by default to
$YACC.
1615 This
script will default YFLAGS to the empty string to avoid a
1616 default value of
`-d' given by some make applications.
1617 FLEX the fast lexical analyser generator
1618 GPERF perfect hash function generator
1620 C compiler flags for WEBKIT, overriding pkg-config
1621 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1623 C compiler flags for LIBFFI, overriding pkg-config
1624 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1626 prints information about the current gnustep installation
1628 Use these variables to override the choices made by `configure
' or to help
1629 it to find libraries and programs with nonstandard names/locations.
1631 Report bugs to <saurik@saurik.com>.
1632 Cycript home page: <http://www.cycript.org/>.
1637 if test "$ac_init_help" = "recursive"; then
1638 # If there are subdirs, report their specific --help.
1639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1640 test -d "$ac_dir" ||
1641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1649 # A ".." for each directory in $ac_dir_suffix.
1650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1651 case $ac_top_builddir_sub in
1652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1656 ac_abs_top_builddir=$ac_pwd
1657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1658 # for backward compatibility:
1659 ac_top_builddir=$ac_top_build_prefix
1662 .) # We are building in place.
1664 ac_top_srcdir=$ac_top_builddir_sub
1665 ac_abs_top_srcdir=$ac_pwd ;;
1666 [\\/]* | ?:[\\/]* ) # Absolute name.
1667 ac_srcdir=$srcdir$ac_dir_suffix;
1668 ac_top_srcdir=$srcdir
1669 ac_abs_top_srcdir=$srcdir ;;
1671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1672 ac_top_srcdir=$ac_top_build_prefix$srcdir
1673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1677 cd "$ac_dir" || { ac_status=$?; continue; }
1678 # Check for guested configure.
1679 if test -f "$ac_srcdir/configure.gnu"; then
1681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1682 elif test -f "$ac_srcdir/configure"; then
1684 $SHELL "$ac_srcdir/configure" --help=recursive
1686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1688 cd "$ac_pwd" || { ac_status=$?; break; }
1692 test -n "$ac_init_help" && exit $ac_status
1693 if $ac_init_version; then
1695 Cycript configure 0.9
1696 generated by GNU Autoconf 2.65
1698 Copyright (C) 2009 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1705 ## ------------------------ ##
1706 ## Autoconf initialization. ##
1707 ## ------------------------ ##
1709 # ac_fn_c_try_compile LINENO
1710 # --------------------------
1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_compile ()
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext
1716 if { { ac_try="$ac_compile"
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_compile") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^
*+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest.$ac_objext; then :
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's
/^
/| /' conftest.$ac_ext >&5
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 as_fn_set_status $ac_retval
1745 } # ac_fn_c_try_compile
1747 # ac_fn_c_try_link LINENO
1748 # -----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded.
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext conftest$ac_exeext
1754 if { { ac_try="$ac_link"
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_link") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^
*+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest$ac_exeext && {
1773 test "$cross_compiling" = yes ||
1774 $as_test_x conftest$ac_exeext
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's
/^
/| /' conftest.$ac_ext >&5
1783 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1784 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1785 # interfere with the next link command; also delete a directory that is
1786 # left behind by Apple's compiler. We
do this before executing the actions.
1787 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1789 as_fn_set_status
$ac_retval
1791 } # ac_fn_c_try_link
1793 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1794 # -------------------------------------------------------
1795 # Tests whether HEADER exists and can be compiled using the include files in
1796 # INCLUDES, setting the cache variable VAR accordingly.
1797 ac_fn_c_check_header_compile
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1810 if ac_fn_c_try_compile
"$LINENO"; then :
1815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1822 } # ac_fn_c_check_header_compile
1824 # ac_fn_c_try_cpp LINENO
1825 # ----------------------
1826 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1829 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1830 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1839 if test -s conftest.err; then
1840 grep -v '^ *+' conftest.err >conftest.er1
1841 cat conftest.er1 >&5
1842 mv -f conftest.er1 conftest.err
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } >/dev/null && {
1846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1847 test ! -s conftest.err
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1856 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857 as_fn_set_status $ac_retval
1861 # ac_fn_c_try_run LINENO
1862 # ----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1864 # that executables *can* be run.
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 if { { ac_try="$ac_link"
1870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1871 *) ac_try_echo
=$ac_try;;
1873 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1879 { { case "(($ac_try" in
1880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_try") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; }; }; then :
1891 $as_echo "$as_me: program exited with status $ac_status" >&5
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1895 ac_retval=$ac_status
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 as_fn_set_status $ac_retval
1903 # ac_fn_c_check_func LINENO FUNC VAR
1904 # ----------------------------------
1905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1906 ac_fn_c_check_func ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1912 $as_echo_n "(cached) " >&6
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1916 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1918 #define $2 innocuous_$2
1920 /* System header to define __stub macros and hopefully few prototypes,
1921 which can conflict with char $2 (); below.
1922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1923 <limits.h> exists even on freestanding compilers. */
1926 # include <limits.h>
1928 # include <assert.h>
1933 /* Override any GCC internal prototype to avoid an error.
1934 Use char because int might match the return type of a GCC
1935 builtin and then its argument prototype would still apply. */
1940 /* The GNU C library defines this for functions which it implements
1941 to always fail with ENOSYS. Some functions are actually named
1942 something starting with __ and the normal name is an alias. */
1943 #if defined __stub_$2 || defined __stub___$2
1955 if ac_fn_c_try_link "$LINENO"; then :
1960 rm -f core conftest.err conftest.$ac_objext \
1961 conftest$ac_exeext conftest.$ac_ext
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1968 } # ac_fn_c_check_func
1970 # ac_fn_cxx_try_compile LINENO
1971 # ----------------------------
1972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_cxx_try_compile ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 rm -f conftest.$ac_objext
1977 if { { ac_try="$ac_compile"
1979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1980 *) ac_try_echo
=$ac_try;;
1982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_compile") 2>conftest.err
1986 if test -s conftest.err
; then
1987 grep -v '^ *+' conftest.err
>conftest.er1
1988 cat conftest.er1
>&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && {
1993 test -z "$ac_cxx_werror_flag" ||
1994 test ! -s conftest.err
1995 } && test -s conftest.
$ac_objext; then :
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.
$ac_ext >&5
2003 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2004 as_fn_set_status
$ac_retval
2006 } # ac_fn_cxx_try_compile
2008 # ac_fn_cxx_try_cpp LINENO
2009 # ------------------------
2010 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2011 ac_fn_cxx_try_cpp
()
2013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2014 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2020 $as_echo "$ac_try_echo"; } >&5
2021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2023 if test -s conftest.err; then
2024 grep -v '^ *+' conftest.err >conftest.er1
2025 cat conftest.er1 >&5
2026 mv -f conftest.er1 conftest.err
2028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2029 test $ac_status = 0; } >/dev/null && {
2030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2031 test ! -s conftest.err
2035 $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2040 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041 as_fn_set_status $ac_retval
2043 } # ac_fn_cxx_try_cpp
2045 # ac_fn_cxx_try_link LINENO
2046 # -------------------------
2047 # Try to link conftest.$ac_ext, and return whether this succeeded.
2048 ac_fn_cxx_try_link ()
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 rm -f conftest.$ac_objext conftest$ac_exeext
2052 if { { ac_try="$ac_link"
2054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2055 *) ac_try_echo
=$ac_try;;
2057 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2058 $as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_link") 2>conftest.err
2061 if test -s conftest.err
; then
2062 grep -v '^ *+' conftest.err
>conftest.er1
2063 cat conftest.er1
>&5
2064 mv -f conftest.er1 conftest.err
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && {
2068 test -z "$ac_cxx_werror_flag" ||
2069 test ! -s conftest.err
2070 } && test -s conftest
$ac_exeext && {
2071 test "$cross_compiling" = yes ||
2072 $as_test_x conftest
$ac_exeext
2076 $as_echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2081 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2082 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2083 # interfere with the next link command; also delete a directory that is
2084 # left behind by Apple's compiler. We do this before executing the actions.
2085 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2086 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2087 as_fn_set_status
$ac_retval
2089 } # ac_fn_cxx_try_link
2091 # ac_fn_objcxx_try_compile LINENO
2092 # -------------------------------
2093 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2094 ac_fn_objcxx_try_compile
()
2096 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2097 rm -f conftest.
$ac_objext
2098 if { { ac_try
="$ac_compile"
2100 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2101 *) ac_try_echo=$ac_try;;
2103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2104 $as_echo "$ac_try_echo"; } >&5
2105 (eval "$ac_compile") 2>conftest.err
2107 if test -s conftest.err; then
2108 grep -v '^ *+' conftest.err >conftest.er1
2109 cat conftest.er1 >&5
2110 mv -f conftest.er1 conftest.err
2112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2113 test $ac_status = 0; } && {
2114 test -z "$ac_objcxx_werror_flag" ||
2115 test ! -s conftest.err
2116 } && test -s conftest.$ac_objext; then :
2119 $as_echo "$as_me: failed program was:" >&5
2120 sed 's/^/| /' conftest.$ac_ext >&5
2124 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2125 as_fn_set_status $ac_retval
2127 } # ac_fn_objcxx_try_compile
2129 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2130 # ---------------------------------------------------------
2131 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2132 # the include files in INCLUDES and setting the cache variable VAR
2134 ac_fn_cxx_check_header_mongrel ()
2136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2137 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2139 $as_echo_n "checking for $2... " >&6; }
2140 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2141 $as_echo_n "(cached) " >&6
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2145 $as_echo "$ac_res" >&6; }
2147 # Is the header compilable?
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2149 $as_echo_n "checking $2 usability... " >&6; }
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2155 if ac_fn_cxx_try_compile "$LINENO"; then :
2156 ac_header_compiler=yes
2158 ac_header_compiler=no
2160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2162 $as_echo "$ac_header_compiler" >&6; }
2164 # Is the header present?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2166 $as_echo_n "checking $2 presence... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2171 if ac_fn_cxx_try_cpp "$LINENO"; then :
2172 ac_header_preproc=yes
2174 ac_header_preproc=no
2176 rm -f conftest.err conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2178 $as_echo "$ac_header_preproc" >&6; }
2180 # So? What about this header?
2181 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2184 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2190 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2192 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2194 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2196 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2198 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2200 ## -------------------------------- ##
2201 ## Report this to saurik@saurik.com ##
2202 ## -------------------------------- ##
2204 ) | sed "s/^/$as_me: WARNING: /" >&2
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2208 $as_echo_n "checking for $2... " >&6; }
2209 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2210 $as_echo_n "(cached) " >&6
2212 eval "$3=\$ac_header_compiler"
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2218 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2220 } # ac_fn_cxx_check_header_mongrel
2222 # ac_fn_objcxx_try_link LINENO
2223 # ----------------------------
2224 # Try to link conftest.$ac_ext, and return whether this succeeded.
2225 ac_fn_objcxx_try_link ()
2227 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2228 rm -f conftest.$ac_objext conftest$ac_exeext
2229 if { { ac_try="$ac_link"
2231 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2232 *) ac_try_echo
=$ac_try;;
2234 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2235 $as_echo "$ac_try_echo"; } >&5
2236 (eval "$ac_link") 2>conftest.err
2238 if test -s conftest.err
; then
2239 grep -v '^ *+' conftest.err
>conftest.er1
2240 cat conftest.er1
>&5
2241 mv -f conftest.er1 conftest.err
2243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2244 test $ac_status = 0; } && {
2245 test -z "$ac_objcxx_werror_flag" ||
2246 test ! -s conftest.err
2247 } && test -s conftest
$ac_exeext && {
2248 test "$cross_compiling" = yes ||
2249 $as_test_x conftest
$ac_exeext
2253 $as_echo "$as_me: failed program was:" >&5
2254 sed 's/^/| /' conftest.
$ac_ext >&5
2258 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2259 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2260 # interfere with the next link command; also delete a directory that is
2261 # left behind by Apple's compiler. We do this before executing the actions.
2262 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2263 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2264 as_fn_set_status
$ac_retval
2266 } # ac_fn_objcxx_try_link
2267 cat >config.log
<<_ACEOF
2268 This file contains any messages produced by compilers while
2269 running configure, to aid debugging if configure makes a mistake.
2271 It was created by Cycript $as_me 0.9, which was
2272 generated by GNU Autoconf 2.65. Invocation command line was
2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir
=.
2308 $as_echo "PATH: $as_dir"
2324 # Keep a trace of the command line.
2325 # Strip out --no-create and --no-recursion so they do not pile up.
2326 # Strip out --silent because we don't want to record it for future runs.
2327 # Also quote any args containing shell meta-characters.
2328 # Make two passes to allow for proper duplicate-argument suppression.
2332 ac_must_keep_next
=false
2338 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2340 | -silent | --silent | --silen | --sile | --sil)
2343 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2348 as_fn_append ac_configure_args1
" '$ac_arg'"
2349 if test $ac_must_keep_next = true
; then
2350 ac_must_keep_next
=false
# Got value, back to normal.
2353 *=* | --config-cache | -C | -disable-* | --disable-* \
2354 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2355 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2356 | -with-* | --with-* | -without-* | --without-* | --x)
2357 case "$ac_configure_args0 " in
2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2361 -* ) ac_must_keep_next
=true
;;
2364 as_fn_append ac_configure_args
" '$ac_arg'"
2369 { ac_configure_args0
=; unset ac_configure_args0
;}
2370 { ac_configure_args1
=; unset ac_configure_args1
;}
2372 # When interrupted or exit'd, cleanup temporary files, and complete
2373 # config.log. We remove comments because anyway the quotes in there
2374 # would cause problems or look ugly.
2375 # WARNING: Use '\'' to represent an apostrophe within the trap.
2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377 trap 'exit_status=$?
2378 # Save into config.log some information that might help in debugging.
2383 ## ---------------- ##
2384 ## Cache variables. ##
2385 ## ---------------- ##
2388 # The following way of writing the cache mishandles newlines in values,
2390 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2391 eval ac_val=\$$ac_var
2395 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2399 _ | IFS | as_nl) ;; #(
2400 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2401 *) { eval $ac_var=; unset $ac_var;} ;;
2406 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2407 *${as_nl}ac_space=\ *)
2409 "s/'\''/'\''\\\\'\'''\''/g;
2410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2421 ## ----------------- ##
2422 ## Output variables. ##
2423 ## ----------------- ##
2426 for ac_var in $ac_subst_vars
2428 eval ac_val=\$$ac_var
2430 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2436 if test -n "$ac_subst_files"; then
2438 ## ------------------- ##
2439 ## File substitutions. ##
2440 ## ------------------- ##
2443 for ac_var
in $ac_subst_files
2445 eval ac_val
=\$
$ac_var
2447 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2449 $as_echo "$ac_var='\''$ac_val'\''"
2454 if test -s confdefs.h; then
2464 test "$ac_signal" != 0 &&
2465 $as_echo "$as_me: caught signal $ac_signal"
2466 $as_echo "$as_me: exit $exit_status"
2468 rm -f core *.core core.conftest.* &&
2469 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2472 for ac_signal
in 1 2 13 15; do
2473 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2477 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2478 rm -f -r conftest
* confdefs.h
2480 $as_echo "/* confdefs.h */" > confdefs.h
2482 # Predefined preprocessor variables.
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_NAME "$PACKAGE_NAME"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2496 cat >>confdefs.h
<<_ACEOF
2497 #define PACKAGE_STRING "$PACKAGE_STRING"
2500 cat >>confdefs.h
<<_ACEOF
2501 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2504 cat >>confdefs.h
<<_ACEOF
2505 #define PACKAGE_URL "$PACKAGE_URL"
2509 # Let the site file select an alternate cache file if it wants to.
2510 # Prefer an explicitly selected file to automatically selected ones.
2513 if test -n "$CONFIG_SITE"; then
2514 ac_site_file1
=$CONFIG_SITE
2515 elif test "x$prefix" != xNONE
; then
2516 ac_site_file1
=$prefix/share
/config.site
2517 ac_site_file2
=$prefix/etc
/config.site
2519 ac_site_file1
=$ac_default_prefix/share
/config.site
2520 ac_site_file2
=$ac_default_prefix/etc
/config.site
2522 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2524 test "x$ac_site_file" = xNONE
&& continue
2525 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2527 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2528 sed 's/^/| /' "$ac_site_file" >&5
2533 if test -r "$cache_file"; then
2534 # Some versions of bash will fail to source /dev/null (special files
2535 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2536 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2538 $as_echo "$as_me: loading cache $cache_file" >&6;}
2540 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2541 *) .
"./$cache_file";;
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2546 $as_echo "$as_me: creating cache $cache_file" >&6;}
2550 # Check that the precious variables saved in the cache have kept the same
2552 ac_cache_corrupted
=false
2553 for ac_var
in $ac_precious_vars; do
2554 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2555 eval ac_new_set
=\
$ac_env_${ac_var}_set
2556 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2557 eval ac_new_val
=\
$ac_env_${ac_var}_value
2558 case $ac_old_set,$ac_new_set in
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2561 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2562 ac_cache_corrupted
=: ;;
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2565 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2566 ac_cache_corrupted
=: ;;
2569 if test "x$ac_old_val" != "x$ac_new_val"; then
2570 # differences in whitespace do not lead to failure.
2571 ac_old_val_w
=`echo x $ac_old_val`
2572 ac_new_val_w
=`echo x $ac_new_val`
2573 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2575 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2576 ac_cache_corrupted
=:
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2579 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2580 eval $ac_var=\
$ac_old_val
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2583 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2585 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2588 # Pass precious variables to config.status.
2589 if test "$ac_new_set" = set; then
2591 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2592 *) ac_arg
=$ac_var=$ac_new_val ;;
2594 case " $ac_configure_args " in
2595 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2596 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2600 if $ac_cache_corrupted; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2604 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2605 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2607 ## -------------------- ##
2608 ## Main body of script. ##
2609 ## -------------------- ##
2612 ac_cpp
='$CPP $CPPFLAGS'
2613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2620 for ac_dir
in .
"$srcdir"/.
; do
2621 for ac_t
in install-sh install.sh shtool
; do
2622 if test -f "$ac_dir/$ac_t"; then
2624 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2629 if test -z "$ac_aux_dir"; then
2630 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2633 # These three variables are undocumented and unsupported,
2634 # and are intended to be withdrawn in a future Autoconf release.
2635 # They can cause serious problems if a builder's source tree is in a directory
2636 # whose full name contains unusual characters.
2637 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2638 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2639 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2645 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2650 macro_version
='2.2.6b'
2651 macro_revision
='1.3017'
2665 ltmain
="$ac_aux_dir/ltmain.sh"
2667 # Make sure we can run config.sub.
2668 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2669 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2672 $as_echo_n "checking build system type... " >&6; }
2673 if test "${ac_cv_build+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 ac_build_alias
=$build_alias
2677 test "x$ac_build_alias" = x
&&
2678 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2679 test "x$ac_build_alias" = x
&&
2680 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2681 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2682 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2686 $as_echo "$ac_cv_build" >&6; }
2687 case $ac_cv_build in
2689 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2692 ac_save_IFS
=$IFS; IFS
='-'
2698 # Remember, the first character of IFS is used to create $*,
2699 # except with old shells:
2702 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2706 $as_echo_n "checking host system type... " >&6; }
2707 if test "${ac_cv_host+set}" = set; then :
2708 $as_echo_n "(cached) " >&6
2710 if test "x$host_alias" = x
; then
2711 ac_cv_host
=$ac_cv_build
2713 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2714 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2719 $as_echo "$ac_cv_host" >&6; }
2722 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2725 ac_save_IFS
=$IFS; IFS
='-'
2731 # Remember, the first character of IFS is used to create $*,
2732 # except with old shells:
2735 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2739 ac_cpp
='$CPP $CPPFLAGS'
2740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2743 if test -n "$ac_tool_prefix"; then
2744 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2745 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747 $as_echo_n "checking for $ac_word... " >&6; }
2748 if test "${ac_cv_prog_CC+set}" = set; then :
2749 $as_echo_n "(cached) " >&6
2751 if test -n "$CC"; then
2752 ac_cv_prog_CC
="$CC" # Let the user override the test.
2754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2758 test -z "$as_dir" && as_dir
=.
2759 for ac_exec_ext
in '' $ac_executable_extensions; do
2760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2761 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test -n "$CC"; then
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2774 $as_echo "$CC" >&6; }
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2782 if test -z "$ac_cv_prog_CC"; then
2784 # Extract the first word of "gcc", so it can be a program name with args.
2785 set dummy gcc
; ac_word
=$2
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2787 $as_echo_n "checking for $ac_word... " >&6; }
2788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2789 $as_echo_n "(cached) " >&6
2791 if test -n "$ac_ct_CC"; then
2792 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2798 test -z "$as_dir" && as_dir
=.
2799 for ac_exec_ext
in '' $ac_executable_extensions; do
2800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2801 ac_cv_prog_ac_ct_CC
="gcc"
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2811 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2812 if test -n "$ac_ct_CC"; then
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2814 $as_echo "$ac_ct_CC" >&6; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 $as_echo "no" >&6; }
2820 if test "x$ac_ct_CC" = x
; then
2823 case $cross_compiling:$ac_tool_warned in
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2827 ac_tool_warned
=yes ;;
2835 if test -z "$CC"; then
2836 if test -n "$ac_tool_prefix"; then
2837 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2838 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840 $as_echo_n "checking for $ac_word... " >&6; }
2841 if test "${ac_cv_prog_CC+set}" = set; then :
2842 $as_echo_n "(cached) " >&6
2844 if test -n "$CC"; then
2845 ac_cv_prog_CC
="$CC" # Let the user override the test.
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 for ac_exec_ext
in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 if test -n "$CC"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867 $as_echo "$CC" >&6; }
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 $as_echo "no" >&6; }
2876 if test -z "$CC"; then
2877 # Extract the first word of "cc", so it can be a program name with args.
2878 set dummy cc
; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC
="$CC" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2896 ac_prog_rejected
=yes
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 if test $ac_prog_rejected = yes; then
2908 # We found a bogon in the path, so make sure we never use it.
2909 set dummy
$ac_cv_prog_CC
2911 if test $# != 0; then
2912 # We chose a different compiler from the bogus one.
2913 # However, it has the same basename, so the bogon will be chosen
2914 # first if we set CC to just the basename; use the full file name.
2916 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2932 if test -z "$CC"; then
2933 if test -n "$ac_tool_prefix"; then
2934 for ac_prog
in cl.exe
2936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2937 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC
="$CC" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966 $as_echo "$CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2973 test -n "$CC" && break
2976 if test -z "$CC"; then
2978 for ac_prog
in cl.exe
2980 # Extract the first word of "$ac_prog", so it can be a program name with args.
2981 set dummy
$ac_prog; ac_word
=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2985 $as_echo_n "(cached) " >&6
2987 if test -n "$ac_ct_CC"; then
2988 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir
=.
2995 for ac_exec_ext
in '' $ac_executable_extensions; do
2996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997 ac_cv_prog_ac_ct_CC
="$ac_prog"
2998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3008 if test -n "$ac_ct_CC"; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3010 $as_echo "$ac_ct_CC" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3017 test -n "$ac_ct_CC" && break
3020 if test "x$ac_ct_CC" = x
; then
3023 case $cross_compiling:$ac_tool_warned in
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3027 ac_tool_warned
=yes ;;
3036 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3038 as_fn_error
"no acceptable C compiler found in \$PATH
3039 See \`config.log' for more details." "$LINENO" 5; }
3041 # Provide some information about the compiler.
3042 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3045 for ac_option
in --version -v -V -qversion; do
3046 { { ac_try
="$ac_compiler $ac_option >&5"
3048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3055 if test -s conftest.err; then
3057 ... rest of stderr output deleted ...
3058 10q' conftest.err >conftest.er1
3059 cat conftest.er1 >&5
3061 rm -f conftest.er1 conftest.err
3062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3063 test $ac_status = 0; }
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3077 ac_clean_files_save=$ac_clean_files
3078 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3079 # Try to create an executable without -o first, disregard a.out.
3080 # It will help us diagnose broken compilers, and finding out an intuition
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3083 $as_echo_n "checking whether the C compiler works... " >&6; }
3084 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3086 # The possible output files:
3087 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3090 for ac_file in $ac_files
3093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3094 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3099 if { { ac_try="$ac_link_default"
3101 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3102 *) ac_try_echo
=$ac_try;;
3104 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3105 $as_echo "$ac_try_echo"; } >&5
3106 (eval "$ac_link_default") 2>&5
3108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3109 test $ac_status = 0; }; then :
3110 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3111 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3112 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3113 # so that the user can short-circuit this test for compilers unknown to
3115 for ac_file
in $ac_files ''
3117 test -f "$ac_file" || continue
3119 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3122 # We found the default executable, but exeext='' is most
3126 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3128 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3130 # We set ac_cv_exeext here because the later test for it is not
3131 # safe: cross compilers may not add the suffix if given an `-o'
3132 # argument, so we may need to know it at that point already.
3133 # Even if this section looks crufty: it has the advantage of
3140 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3145 if test -z "$ac_file"; then :
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3148 $as_echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.
$ac_ext >&5
3151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 { as_fn_set_status
77
3154 as_fn_error
"C compiler cannot create executables
3155 See \`config.log' for more details." "$LINENO" 5; }; }
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3158 $as_echo "yes" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3161 $as_echo_n "checking for C compiler default output file name... " >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3163 $as_echo "$ac_file" >&6; }
3164 ac_exeext
=$ac_cv_exeext
3166 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3167 ac_clean_files
=$ac_clean_files_save
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3169 $as_echo_n "checking for suffix of executables... " >&6; }
3170 if { { ac_try
="$ac_link"
3172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 $as_echo "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; }; then :
3181 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3182 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3183 # work properly (i.e., refer to `conftest.exe'), while it won't with
3185 for ac_file
in conftest.exe conftest conftest.
*; do
3186 test -f "$ac_file" || continue
3188 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3189 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3198 See \`config.log' for more details." "$LINENO" 5; }
3200 rm -f conftest conftest
$ac_cv_exeext
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3202 $as_echo "$ac_cv_exeext" >&6; }
3204 rm -f conftest.
$ac_ext
3205 EXEEXT
=$ac_cv_exeext
3207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3213 FILE *f = fopen ("conftest.out", "w");
3214 return ferror (f) || fclose (f) != 0;
3220 ac_clean_files
="$ac_clean_files conftest.out"
3221 # Check that the compiler produces executables we can run. If not, either
3222 # the compiler is broken, or we cross compile.
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3224 $as_echo_n "checking whether we are cross compiling... " >&6; }
3225 if test "$cross_compiling" != yes; then
3226 { { ac_try
="$ac_link"
3228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232 $as_echo "$ac_try_echo"; } >&5
3233 (eval "$ac_link") 2>&5
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; }
3237 if { ac_try='./conftest$ac_cv_exeext'
3238 { { case "(($ac_try" in
3239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3240 *) ac_try_echo
=$ac_try;;
3242 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_try") 2>&5
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }; }; then
3250 if test "$cross_compiling" = maybe
; then
3253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 as_fn_error
"cannot run C compiled programs.
3256 If you meant to cross compile, use \`--host'.
3257 See \`config.log' for more details." "$LINENO" 5; }
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3262 $as_echo "$cross_compiling" >&6; }
3264 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3265 ac_clean_files
=$ac_clean_files_save
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3267 $as_echo_n "checking for suffix of object files... " >&6; }
3268 if test "${ac_cv_objext+set}" = set; then :
3269 $as_echo_n "(cached) " >&6
3271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3282 rm -f conftest.o conftest.obj
3283 if { { ac_try
="$ac_compile"
3285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_compile") 2>&5
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }; then :
3294 for ac_file in conftest.o conftest.obj conftest.*; do
3295 test -f "$ac_file" || continue;
3297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3303 $as_echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308 as_fn_error "cannot compute suffix of object files
: cannot compile
3309 See \
`config.log' for more details." "$LINENO" 5; }
3311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3314 $as_echo "$ac_cv_objext" >&6; }
3315 OBJEXT=$ac_cv_objext
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3318 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3319 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3320 $as_echo_n "(cached) " >&6
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3336 if ac_fn_c_try_compile "$LINENO"; then :
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3346 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3347 if test $ac_compiler_gnu = yes; then
3352 ac_test_CFLAGS=${CFLAGS+set}
3353 ac_save_CFLAGS=$CFLAGS
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3355 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3356 if test "${ac_cv_prog_cc_g+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3359 ac_save_c_werror_flag=$ac_c_werror_flag
3360 ac_c_werror_flag=yes
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3374 if ac_fn_c_try_compile "$LINENO"; then :
3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379 /* end confdefs.h. */
3389 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_c_werror_flag=$ac_save_c_werror_flag
3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3405 if ac_fn_c_try_compile "$LINENO"; then :
3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3413 ac_c_werror_flag=$ac_save_c_werror_flag
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3416 $as_echo "$ac_cv_prog_cc_g" >&6; }
3417 if test "$ac_test_CFLAGS" = set; then
3418 CFLAGS=$ac_save_CFLAGS
3419 elif test $ac_cv_prog_cc_g = yes; then
3420 if test "$GCC" = yes; then
3426 if test "$GCC" = yes; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3434 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3435 $as_echo_n "(cached) " >&6
3437 ac_cv_prog_cc_c89=no
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3443 #include <sys/types.h>
3444 #include <sys/stat.h>
3445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3446 struct buf { int x; };
3447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3448 static char *e (p, i)
3454 static char *f (char * (*g) (char **, int), char **p, ...)
3459 s = g (p, va_arg (v,int));
3464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3465 function prototypes and stuff, but not '\xHH' hex character constants.
3466 These don't provoke an error unfortunately, instead are silently treated
3467 as 'x'. The following induces an error, until -std is added to get
3468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3469 array size at least. It's necessary to write '\x00'==0 to get something
3470 that's true only with -std. */
3471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3474 inside strings and character constants. */
3476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3478 int test (int i, double x);
3479 struct s1 {int (*f) (int a);};
3480 struct s2 {int (*f) (double a);};
3481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3495 CC="$ac_save_CC $ac_arg"
3496 if ac_fn_c_try_compile "$LINENO"; then :
3497 ac_cv_prog_cc_c89=$ac_arg
3499 rm -f core conftest.err conftest.$ac_objext
3500 test "x$ac_cv_prog_cc_c89" != "xno" && break
3502 rm -f conftest.$ac_ext
3507 case "x$ac_cv_prog_cc_c89" in
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3510 $as_echo "none needed" >&6; } ;;
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3513 $as_echo "unsupported" >&6; } ;;
3515 CC="$CC $ac_cv_prog_cc_c89"
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3519 if test "x$ac_cv_prog_cc_c89" != xno; then :
3524 ac_cpp='$CPP $CPPFLAGS'
3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3530 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3531 if test "${ac_cv_path_SED+set}" = set; then :
3532 $as_echo_n "(cached) " >&6
3534 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3535 for ac_i in 1 2 3 4 5 6 7; do
3536 ac_script="$ac_script$as_nl$ac_script"
3538 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3539 { ac_script=; unset ac_script;}
3540 if test -z "$SED"; then
3541 ac_path_SED_found=false
3542 # Loop through the user's path and test for each of PROGNAME-LIST
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_prog in sed gsed; do
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3551 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3552 # Check for GNU ac_path_SED and select it if it is found.
3553 # Check for GNU $ac_path_SED
3554 case `"$ac_path_SED" --version 2>&1` in
3556 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3559 $as_echo_n 0123456789 >"conftest.in"
3562 cat "conftest.in" "conftest.in" >"conftest.tmp"
3563 mv "conftest.tmp" "conftest.in"
3564 cp "conftest.in" "conftest.nl"
3565 $as_echo '' >> "conftest.nl"
3566 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3567 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3568 as_fn_arith $ac_count + 1 && ac_count=$as_val
3569 if test $ac_count -gt ${ac_path_SED_max-0}; then
3570 # Best one so far, save it but keep looking for a better one
3571 ac_cv_path_SED="$ac_path_SED"
3572 ac_path_SED_max=$ac_count
3574 # 10*(2^10) chars as input seems more than enough
3575 test $ac_count -gt 10 && break
3577 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3580 $ac_path_SED_found && break 3
3585 if test -z "$ac_cv_path_SED"; then
3586 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3594 $as_echo "$ac_cv_path_SED" >&6; }
3595 SED="$ac_cv_path_SED"
3598 test -z "$SED" && SED=sed
3599 Xsed="$SED -e 1s/^X//"
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3612 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3613 if test "${ac_cv_path_GREP+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3616 if test -z "$GREP"; then
3617 ac_path_GREP_found=false
3618 # Loop through the user's path and test for each of PROGNAME-LIST
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3623 test -z "$as_dir" && as_dir=.
3624 for ac_prog in grep ggrep; do
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3627 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3628 # Check for GNU ac_path_GREP and select it if it is found.
3629 # Check for GNU $ac_path_GREP
3630 case `"$ac_path_GREP" --version 2>&1` in
3632 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3635 $as_echo_n 0123456789 >"conftest.in"
3638 cat "conftest.in" "conftest.in" >"conftest.tmp"
3639 mv "conftest.tmp" "conftest.in"
3640 cp "conftest.in" "conftest.nl"
3641 $as_echo 'GREP' >> "conftest.nl"
3642 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3644 as_fn_arith $ac_count + 1 && ac_count=$as_val
3645 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3646 # Best one so far, save it but keep looking for a better one
3647 ac_cv_path_GREP="$ac_path_GREP"
3648 ac_path_GREP_max=$ac_count
3650 # 10*(2^10) chars as input seems more than enough
3651 test $ac_count -gt 10 && break
3653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3656 $ac_path_GREP_found && break 3
3661 if test -z "$ac_cv_path_GREP"; then
3662 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3665 ac_cv_path_GREP=$GREP
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3670 $as_echo "$ac_cv_path_GREP" >&6; }
3671 GREP="$ac_cv_path_GREP"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3675 $as_echo_n "checking for egrep... " >&6; }
3676 if test "${ac_cv_path_EGREP+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3680 then ac_cv_path_EGREP="$GREP -E"
3682 if test -z "$EGREP"; then
3683 ac_path_EGREP_found=false
3684 # Loop through the user's path and test for each of PROGNAME-LIST
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3689 test -z "$as_dir" && as_dir=.
3690 for ac_prog in egrep; do
3691 for ac_exec_ext in '' $ac_executable_extensions; do
3692 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3693 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3694 # Check for GNU ac_path_EGREP and select it if it is found.
3695 # Check for GNU $ac_path_EGREP
3696 case `"$ac_path_EGREP" --version 2>&1` in
3698 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3701 $as_echo_n 0123456789 >"conftest.in"
3704 cat "conftest.in" "conftest.in" >"conftest.tmp"
3705 mv "conftest.tmp" "conftest.in"
3706 cp "conftest.in" "conftest.nl"
3707 $as_echo 'EGREP' >> "conftest.nl"
3708 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3709 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3710 as_fn_arith $ac_count + 1 && ac_count=$as_val
3711 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3712 # Best one so far, save it but keep looking for a better one
3713 ac_cv_path_EGREP="$ac_path_EGREP"
3714 ac_path_EGREP_max=$ac_count
3716 # 10*(2^10) chars as input seems more than enough
3717 test $ac_count -gt 10 && break
3719 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3722 $ac_path_EGREP_found && break 3
3727 if test -z "$ac_cv_path_EGREP"; then
3728 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3731 ac_cv_path_EGREP=$EGREP
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3737 $as_echo "$ac_cv_path_EGREP" >&6; }
3738 EGREP="$ac_cv_path_EGREP"
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3742 $as_echo_n "checking for fgrep... " >&6; }
3743 if test "${ac_cv_path_FGREP+set}" = set; then :
3744 $as_echo_n "(cached) " >&6
3746 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3747 then ac_cv_path_FGREP="$GREP -F"
3749 if test -z "$FGREP"; then
3750 ac_path_FGREP_found=false
3751 # Loop through the user's path and test for each of PROGNAME-LIST
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3756 test -z "$as_dir" && as_dir=.
3757 for ac_prog in fgrep; do
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3760 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3761 # Check for GNU ac_path_FGREP and select it if it is found.
3762 # Check for GNU $ac_path_FGREP
3763 case `"$ac_path_FGREP" --version 2>&1` in
3765 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3768 $as_echo_n 0123456789 >"conftest.in"
3771 cat "conftest.in" "conftest.in" >"conftest.tmp"
3772 mv "conftest.tmp" "conftest.in"
3773 cp "conftest.in" "conftest.nl"
3774 $as_echo 'FGREP' >> "conftest.nl"
3775 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3777 as_fn_arith $ac_count + 1 && ac_count=$as_val
3778 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3779 # Best one so far, save it but keep looking for a better one
3780 ac_cv_path_FGREP="$ac_path_FGREP"
3781 ac_path_FGREP_max=$ac_count
3783 # 10*(2^10) chars as input seems more than enough
3784 test $ac_count -gt 10 && break
3786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3789 $ac_path_FGREP_found && break 3
3794 if test -z "$ac_cv_path_FGREP"; then
3795 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3798 ac_cv_path_FGREP=$FGREP
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3804 $as_echo "$ac_cv_path_FGREP" >&6; }
3805 FGREP="$ac_cv_path_FGREP"
3808 test -z "$GREP" && GREP=grep
3828 # Check whether --with-gnu-ld was given.
3829 if test "${with_gnu_ld+set}" = set; then :
3830 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3836 if test "$GCC" = yes; then
3837 # Check if gcc -print-prog-name=ld gives a path.
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3839 $as_echo_n "checking for ld used by $CC... " >&6; }
3842 # gcc leaves a trailing carriage return which upsets mingw
3843 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3845 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3848 # Accept absolute paths.
3850 re_direlt='/[^/][^/]*/\.\./'
3851 # Canonicalize the pathname of ld
3852 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3853 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3854 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3856 test -z "$LD" && LD="$ac_prog"
3859 # If it fails, then pretend we aren't using GCC.
3863 # If it is relative, then search for the first ld in PATH.
3867 elif test "$with_gnu_ld" = yes; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3869 $as_echo_n "checking for GNU ld... " >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3872 $as_echo_n "checking for non-GNU ld... " >&6; }
3874 if test "${lt_cv_path_LD+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -z "$LD"; then
3878 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3879 for ac_dir in $PATH; do
3881 test -z "$ac_dir" && ac_dir=.
3882 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3883 lt_cv_path_LD="$ac_dir/$ac_prog"
3884 # Check to see if the program is GNU ld. I'd rather use --version,
3885 # but apparently some variants of GNU ld only accept -v.
3886 # Break only if it was the GNU/non-GNU ld that we prefer.
3887 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3888 *GNU* | *'with BFD'*)
3889 test "$with_gnu_ld" != no && break
3892 test "$with_gnu_ld" != yes && break
3899 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3904 if test -n "$LD"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3906 $as_echo "$LD" >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3911 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3913 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3914 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3915 $as_echo_n "(cached) " >&6
3917 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3918 case `$LD -v 2>&1 </dev
/null
` in
3919 *GNU* | *'with BFD'*)
3920 lt_cv_prog_gnu_ld=yes
3923 lt_cv_prog_gnu_ld=no
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3928 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3929 with_gnu_ld=$lt_cv_prog_gnu_ld
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3940 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3941 if test "${lt_cv_path_NM+set}" = set; then :
3942 $as_echo_n "(cached) " >&6
3944 if test -n "$NM"; then
3945 # Let the user override the test.
3948 lt_nm_to_check="${ac_tool_prefix}nm"
3949 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3950 lt_nm_to_check="$lt_nm_to_check nm"
3952 for lt_tmp_nm in $lt_nm_to_check; do
3953 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3954 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3956 test -z "$ac_dir" && ac_dir=.
3957 tmp_nm="$ac_dir/$lt_tmp_nm"
3958 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3959 # Check to see if the nm accepts a BSD-compat flag.
3960 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3961 # nm: unknown option "B" ignored
3962 # Tru64's nm complains that
/dev
/null is an invalid object
file
3963 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3964 */dev
/null
* | *'Invalid file or object type'*)
3965 lt_cv_path_NM
="$tmp_nm -B"
3969 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3971 lt_cv_path_NM
="$tmp_nm -p"
3975 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3976 continue # so that we can try to find one that supports BSD flags
3985 : ${lt_cv_path_NM=no}
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3989 $as_echo "$lt_cv_path_NM" >&6; }
3990 if test "$lt_cv_path_NM" != "no"; then
3993 # Didn't find any BSD compatible name lister, look for dumpbin.
3994 if test -n "$ac_tool_prefix"; then
3995 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3998 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$DUMPBIN"; then
4005 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 DUMPBIN
=$ac_cv_prog_DUMPBIN
4025 if test -n "$DUMPBIN"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4027 $as_echo "$DUMPBIN" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4034 test -n "$DUMPBIN" && break
4037 if test -z "$DUMPBIN"; then
4038 ac_ct_DUMPBIN
=$DUMPBIN
4039 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4041 # Extract the first word of "$ac_prog", so it can be a program name with args.
4042 set dummy
$ac_prog; ac_word
=$2
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044 $as_echo_n "checking for $ac_word... " >&6; }
4045 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4046 $as_echo_n "(cached) " >&6
4048 if test -n "$ac_ct_DUMPBIN"; then
4049 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4055 test -z "$as_dir" && as_dir
=.
4056 for ac_exec_ext
in '' $ac_executable_extensions; do
4057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4069 if test -n "$ac_ct_DUMPBIN"; then
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4071 $as_echo "$ac_ct_DUMPBIN" >&6; }
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074 $as_echo "no" >&6; }
4078 test -n "$ac_ct_DUMPBIN" && break
4081 if test "x$ac_ct_DUMPBIN" = x
; then
4084 case $cross_compiling:$ac_tool_warned in
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4088 ac_tool_warned
=yes ;;
4090 DUMPBIN
=$ac_ct_DUMPBIN
4095 if test "$DUMPBIN" != ":"; then
4099 test -z "$NM" && NM
=nm
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4107 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4108 if test "${lt_cv_nm_interface+set}" = set; then :
4109 $as_echo_n "(cached) " >&6
4111 lt_cv_nm_interface
="BSD nm"
4112 echo "int some_variable = 0;" > conftest.
$ac_ext
4113 (eval echo "\"\$as_me:4113: $ac_compile\"" >&5)
4114 (eval "$ac_compile" 2>conftest.err
)
4115 cat conftest.err
>&5
4116 (eval echo "\"\$as_me:4116: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4117 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4118 cat conftest.err
>&5
4119 (eval echo "\"\$as_me:4119: output\"" >&5)
4120 cat conftest.out
>&5
4121 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4122 lt_cv_nm_interface
="MS dumpbin"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4127 $as_echo "$lt_cv_nm_interface" >&6; }
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4130 $as_echo_n "checking whether ln -s works... " >&6; }
4132 if test "$LN_S" = "ln -s"; then
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4134 $as_echo "yes" >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4137 $as_echo "no, using $LN_S" >&6; }
4140 # find the maximum length of command line arguments
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4142 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4143 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4144 $as_echo_n "(cached) " >&6
4151 # On DJGPP, this test can blow up pretty badly due to problems in libc
4152 # (any single argument exceeding 2000 bytes causes a buffer overrun
4153 # during glob expansion). Even if it were fixed, the result of this
4154 # check would be larger than it should be.
4155 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4159 # Under GNU Hurd, this test is not required because there is
4160 # no limit to the length of command line arguments.
4161 # Libtool will interpret -1 as no limit whatsoever
4162 lt_cv_sys_max_cmd_len
=-1;
4165 cygwin
* | mingw
* | cegcc
*)
4166 # On Win9x/ME, this test blows up -- it succeeds, but takes
4167 # about 5 minutes as the teststring grows exponentially.
4168 # Worse, since 9x/ME are not pre-emptively multitasking,
4169 # you end up with a "frozen" computer, even though with patience
4170 # the test eventually succeeds (with a max line length of 256k).
4171 # Instead, let's just punt: use the minimum linelength reported by
4172 # all of the supported platforms: 8192 (on NT/2K/XP).
4173 lt_cv_sys_max_cmd_len
=8192;
4177 # On AmigaOS with pdksh, this test takes hours, literally.
4178 # So we just punt and use a minimum line length of 8192.
4179 lt_cv_sys_max_cmd_len
=8192;
4182 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4183 # This has been around since 386BSD, at least. Likely further.
4184 if test -x /sbin
/sysctl
; then
4185 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4186 elif test -x /usr
/sbin
/sysctl
; then
4187 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4189 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4191 # And add a safety zone
4192 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4193 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4197 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4198 lt_cv_sys_max_cmd_len
=196608
4202 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4203 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4204 # nice to cause kernel panics so lets avoid the loop below.
4205 # First set a reasonable default.
4206 lt_cv_sys_max_cmd_len
=16384
4208 if test -x /sbin
/sysconfig
; then
4209 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4210 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4215 lt_cv_sys_max_cmd_len
=102400
4217 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4218 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4219 if test -n "$kargmax"; then
4220 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4222 lt_cv_sys_max_cmd_len
=32768
4226 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4227 if test -n "$lt_cv_sys_max_cmd_len"; then
4228 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4229 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4231 # Make teststring a little bigger before we do anything with it.
4232 # a 1K string should be a reasonable start.
4233 for i
in 1 2 3 4 5 6 7 8 ; do
4234 teststring
=$teststring$teststring
4236 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4237 # If test is not a shell built-in, we'll probably end up computing a
4238 # maximum length that is only half of the actual maximum length, but
4240 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4241 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4242 test $i != 17 # 1/2 MB should be enough
4245 teststring
=$teststring$teststring
4247 # Only check the string length outside the loop.
4248 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4250 # Add a significant safety factor because C++ compilers can tack on
4251 # massive amounts of additional arguments before passing them to the
4252 # linker. It appears as though 1/2 is a usable value.
4253 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4260 if test -n $lt_cv_sys_max_cmd_len ; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4262 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4265 $as_echo "none" >&6; }
4267 max_cmd_len
=$lt_cv_sys_max_cmd_len
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4279 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4280 # Try some XSI features
4283 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4285 && eval 'test $(( 1 + 1 )) -eq 2 \
4286 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4289 $as_echo "$xsi_shell" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4293 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4295 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4297 && lt_shell_append
=yes
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4299 $as_echo "$lt_shell_append" >&6; }
4302 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4312 # test EBCDIC or ASCII
4313 case `echo X|tr X '\101'` in
4314 A
) # ASCII based system
4315 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4316 lt_SP2NL
='tr \040 \012'
4317 lt_NL2SP
='tr \015\012 \040\040'
4319 *) # EBCDIC based system
4320 lt_SP2NL
='tr \100 \n'
4321 lt_NL2SP
='tr \r\n \100\100'
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4334 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4335 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4338 lt_cv_ld_reload_flag
='-r'
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4341 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4342 reload_flag
=$lt_cv_ld_reload_flag
4343 case $reload_flag in
4345 *) reload_flag
=" $reload_flag" ;;
4347 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4350 if test "$GCC" = yes; then
4351 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4353 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4366 if test -n "$ac_tool_prefix"; then
4367 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4368 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4370 $as_echo_n "checking for $ac_word... " >&6; }
4371 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4372 $as_echo_n "(cached) " >&6
4374 if test -n "$OBJDUMP"; then
4375 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4384 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 OBJDUMP
=$ac_cv_prog_OBJDUMP
4395 if test -n "$OBJDUMP"; then
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4397 $as_echo "$OBJDUMP" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4405 if test -z "$ac_cv_prog_OBJDUMP"; then
4406 ac_ct_OBJDUMP
=$OBJDUMP
4407 # Extract the first word of "objdump", so it can be a program name with args.
4408 set dummy objdump
; ac_word
=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$ac_ct_OBJDUMP"; then
4415 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir
=.
4422 for ac_exec_ext
in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4435 if test -n "$ac_ct_OBJDUMP"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4437 $as_echo "$ac_ct_OBJDUMP" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4443 if test "x$ac_ct_OBJDUMP" = x
; then
4446 case $cross_compiling:$ac_tool_warned in
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4450 ac_tool_warned
=yes ;;
4452 OBJDUMP
=$ac_ct_OBJDUMP
4455 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4458 test -z "$OBJDUMP" && OBJDUMP
=objdump
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4469 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4470 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4474 lt_cv_file_magic_test_file
=
4475 lt_cv_deplibs_check_method
='unknown'
4476 # Need to set the preceding variable on all platforms that support
4477 # interlibrary dependencies.
4478 # 'none' -- dependencies not supported.
4479 # `unknown' -- same as none, but documents that we really don't know.
4480 # 'pass_all' -- all dependencies passed with no checks.
4481 # 'test_compile' -- check by making test program.
4482 # 'file_magic [[regex]]' -- check by looking for files in library path
4483 # which responds to the $file_magic_cmd with a given extended regex.
4484 # If you have `file' or equivalent on your system and you're not sure
4485 # whether `pass_all' will *always* work, you probably want this one.
4489 lt_cv_deplibs_check_method
=pass_all
4493 lt_cv_deplibs_check_method
=pass_all
4497 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4498 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4499 lt_cv_file_magic_test_file
=/shlib
/libc.so
4503 # func_win32_libid is a shell function defined in ltmain.sh
4504 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4505 lt_cv_file_magic_cmd
='func_win32_libid'
4509 # Base MSYS/MinGW do not provide the 'file' command needed by
4510 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4511 # unless we find 'file', for example because we are cross-compiling.
4512 if ( file / ) >/dev
/null
2>&1; then
4513 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4514 lt_cv_file_magic_cmd
='func_win32_libid'
4516 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4517 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4522 # use the weaker test based on 'objdump'. See mingw*.
4523 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4524 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4527 darwin
* | rhapsody
*)
4528 lt_cv_deplibs_check_method
=pass_all
4531 freebsd
* | dragonfly
*)
4532 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4535 # Not sure whether the presence of OpenBSD here was a mistake.
4536 # Let's accept both of them until this is cleared up.
4537 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4538 lt_cv_file_magic_cmd
=/usr
/bin
/file
4539 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4543 lt_cv_deplibs_check_method
=pass_all
4548 lt_cv_deplibs_check_method
=pass_all
4551 hpux10.20
* | hpux11
*)
4552 lt_cv_file_magic_cmd
=/usr
/bin
/file
4555 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4556 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4559 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]'
4560 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4563 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4564 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4570 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4571 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4574 irix5
* | irix6
* | nonstopux
*)
4576 *-32|*"-32 ") libmagic
=32-bit;;
4577 *-n32|*"-n32 ") libmagic
=N32
;;
4578 *-64|*"-64 ") libmagic
=64-bit;;
4579 *) libmagic
=never
-match;;
4581 lt_cv_deplibs_check_method
=pass_all
4584 # This must be Linux ELF.
4585 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4586 lt_cv_deplibs_check_method
=pass_all
4589 netbsd
* | netbsdelf
*-gnu)
4590 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4591 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4593 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4599 lt_cv_file_magic_cmd
=/usr
/bin
/file
4600 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4604 lt_cv_deplibs_check_method
=pass_all
4608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4609 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4611 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4615 osf3
* | osf4
* | osf5
*)
4616 lt_cv_deplibs_check_method
=pass_all
4620 lt_cv_deplibs_check_method
=pass_all
4624 lt_cv_deplibs_check_method
=pass_all
4627 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4628 lt_cv_deplibs_check_method
=pass_all
4632 case $host_vendor in
4634 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]'
4635 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4638 lt_cv_deplibs_check_method
=pass_all
4641 lt_cv_file_magic_cmd
='/bin/file'
4642 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4645 lt_cv_file_magic_cmd
='/bin/file'
4646 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4647 lt_cv_file_magic_test_file
=/lib
/libc.so
4650 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4659 lt_cv_deplibs_check_method
=pass_all
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4665 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4666 file_magic_cmd
=$lt_cv_file_magic_cmd
4667 deplibs_check_method
=$lt_cv_deplibs_check_method
4668 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4681 if test -n "$ac_tool_prefix"; then
4682 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4683 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_AR+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -n "$AR"; then
4690 ac_cv_prog_AR
="$AR" # Let the user override the test.
4692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir
=.
4697 for ac_exec_ext
in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 if test -n "$AR"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4712 $as_echo "$AR" >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4720 if test -z "$ac_cv_prog_AR"; then
4722 # Extract the first word of "ar", so it can be a program name with args.
4723 set dummy
ar; ac_word
=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4729 if test -n "$ac_ct_AR"; then
4730 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir
=.
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739 ac_cv_prog_ac_ct_AR
="ar"
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4750 if test -n "$ac_ct_AR"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4752 $as_echo "$ac_ct_AR" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4758 if test "x$ac_ct_AR" = x
; then
4761 case $cross_compiling:$ac_tool_warned in
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4765 ac_tool_warned
=yes ;;
4773 test -z "$AR" && AR
=ar
4774 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4786 if test -n "$ac_tool_prefix"; then
4787 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4788 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4790 $as_echo_n "checking for $ac_word... " >&6; }
4791 if test "${ac_cv_prog_STRIP+set}" = set; then :
4792 $as_echo_n "(cached) " >&6
4794 if test -n "$STRIP"; then
4795 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 STRIP
=$ac_cv_prog_STRIP
4815 if test -n "$STRIP"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4817 $as_echo "$STRIP" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4825 if test -z "$ac_cv_prog_STRIP"; then
4827 # Extract the first word of "strip", so it can be a program name with args.
4828 set dummy strip
; ac_word
=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$ac_ct_STRIP"; then
4835 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir
=.
4842 for ac_exec_ext
in '' $ac_executable_extensions; do
4843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4844 ac_cv_prog_ac_ct_STRIP
="strip"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4855 if test -n "$ac_ct_STRIP"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4857 $as_echo "$ac_ct_STRIP" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4863 if test "x$ac_ct_STRIP" = x
; then
4866 case $cross_compiling:$ac_tool_warned in
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4870 ac_tool_warned
=yes ;;
4875 STRIP
="$ac_cv_prog_STRIP"
4878 test -z "$STRIP" && STRIP
=:
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4887 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$RANLIB"; then
4894 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir
=.
4901 for ac_exec_ext
in '' $ac_executable_extensions; do
4902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4903 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 RANLIB
=$ac_cv_prog_RANLIB
4914 if test -n "$RANLIB"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4916 $as_echo "$RANLIB" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_RANLIB"; then
4925 ac_ct_RANLIB
=$RANLIB
4926 # Extract the first word of "ranlib", so it can be a program name with args.
4927 set dummy ranlib
; ac_word
=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$ac_ct_RANLIB"; then
4934 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4954 if test -n "$ac_ct_RANLIB"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4956 $as_echo "$ac_ct_RANLIB" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962 if test "x$ac_ct_RANLIB" = x
; then
4965 case $cross_compiling:$ac_tool_warned in
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned
=yes ;;
4971 RANLIB
=$ac_ct_RANLIB
4974 RANLIB
="$ac_cv_prog_RANLIB"
4977 test -z "$RANLIB" && RANLIB
=:
4984 # Determine commands to create old-style static archives.
4985 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4986 old_postinstall_cmds
='chmod 644 $oldlib'
4987 old_postuninstall_cmds
=
4989 if test -n "$RANLIB"; then
4992 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4995 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4998 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5034 # If no C compiler was specified, use CC.
5037 # If no C compiler flags were specified, use CFLAGS.
5038 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5040 # Allow CC to be a program name with arguments.
5044 # Check for command to grab the raw symbol name followed by C symbol from nm.
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5046 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5047 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5048 $as_echo_n "(cached) " >&6
5051 # These are sane defaults that work on at least a few old systems.
5052 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5054 # Character class describing NM global symbol codes.
5055 symcode
='[BCDEGRST]'
5057 # Regexp to match symbols that can be accessed directly from C.
5058 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5060 # Define system-specific variables.
5065 cygwin
* | mingw
* | pw32
* | cegcc
*)
5066 symcode
='[ABCDGISTW]'
5069 if test "$host_cpu" = ia64
; then
5070 symcode
='[ABCDEGRST]'
5074 symcode
='[BCDEGRST]'
5077 symcode
='[BCDEGQRST]'
5088 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5096 # If we're using GNU nm, then use its standard symbol codes.
5097 case `$NM -V 2>&1` in
5098 *GNU
* | *'with BFD'*)
5099 symcode
='[ABCDGIRSTW]' ;;
5102 # Transform an extracted symbol line into a proper C declaration.
5103 # Some systems (esp. on ia64) link data and code symbols differently,
5104 # so use this general approach.
5105 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5107 # Transform an extracted symbol line into symbol name and symbol address
5108 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5109 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'"
5111 # Handle CRLF in mingw tool chain
5115 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5119 # Try without a prefix underscore, then with it.
5120 for ac_symprfx
in "" "_"; do
5122 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5123 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5125 # Write the raw and C identifiers.
5126 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5127 # Fake it for dumpbin and say T for any non-static function
5128 # and D for any global variable.
5129 # Also find C++ and __fastcall symbols from MSVC++,
5130 # which start with @ or ?.
5131 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5132 " {last_section=section; section=\$ 3};"\
5133 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5134 " \$ 0!~/External *\|/{next};"\
5135 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5136 " {if(hide[section]) next};"\
5137 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5138 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5139 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5140 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5141 " ' prfx=^$ac_symprfx"
5143 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5146 # Check to see that the pipe works correctly.
5150 cat > conftest.
$ac_ext <<_LT_EOF
5155 void nm_test_func(void);
5156 void nm_test_func(void){}
5160 int main(){nm_test_var='a';nm_test_func();return(0);}
5163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5164 (eval $ac_compile) 2>&5
5166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5167 test $ac_status = 0; }; then
5168 # Now try to grab the symbols.
5170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5171 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5174 test $ac_status = 0; } && test -s "$nlist"; then
5175 # Try sorting and uniquifying the output.
5176 if sort "$nlist" | uniq > "$nlist"T
; then
5177 mv -f "$nlist"T
"$nlist"
5182 # Make sure that we snagged all the symbols we need.
5183 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5184 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5185 cat <<_LT_EOF > conftest.$ac_ext
5191 # Now generate the symbol file.
5192 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5194 cat <<_LT_EOF >> conftest.$ac_ext
5196 /* The mapping between symbol names and symbols. */
5201 lt__PROGRAM__LTX_preloaded_symbols[] =
5203 { "@PROGRAM@", (void *) 0 },
5205 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5206 cat <<\_LT_EOF
>> conftest.
$ac_ext
5210 /* This works around a problem
in FreeBSD linker
*/
5211 #ifdef FREEBSD_WORKAROUND
5212 static const void
*lt_preloaded_setup
() {
5213 return lt__PROGRAM__LTX_preloaded_symbols
;
5221 # Now try linking the two files.
5222 mv conftest.
$ac_objext conftstm.
$ac_objext
5223 lt_save_LIBS
="$LIBS"
5224 lt_save_CFLAGS
="$CFLAGS"
5225 LIBS
="conftstm.$ac_objext"
5226 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5228 (eval $ac_link) 2>&5
5230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5234 LIBS
="$lt_save_LIBS"
5235 CFLAGS
="$lt_save_CFLAGS"
5237 echo "cannot find nm_test_func in $nlist" >&5
5240 echo "cannot find nm_test_var in $nlist" >&5
5243 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5246 echo "$progname: failed program was:" >&5
5247 cat conftest.
$ac_ext >&5
5249 rm -rf conftest
* conftst
*
5251 # Do not use the global_symbol_pipe unless it works.
5252 if test "$pipe_works" = yes; then
5255 lt_cv_sys_global_symbol_pipe
=
5261 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5262 lt_cv_sys_global_symbol_to_cdecl
=
5264 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5266 $as_echo "failed" >&6; }
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5269 $as_echo "ok" >&6; }
5294 # Check whether --enable-libtool-lock was given.
5295 if test "${enable_libtool_lock+set}" = set; then :
5296 enableval
=$enable_libtool_lock;
5299 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5301 # Some flags need to be propagated to the compiler or linker for good
5305 # Find out which ABI we are using.
5306 echo 'int i;' > conftest.
$ac_ext
5307 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5308 (eval $ac_compile) 2>&5
5310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311 test $ac_status = 0; }; then
5312 case `/usr/bin/file conftest.$ac_objext` in
5324 # Find out which ABI we are using.
5325 echo '#line 5325 "configure"' > conftest.
$ac_ext
5326 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5327 (eval $ac_compile) 2>&5
5329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5330 test $ac_status = 0; }; then
5331 if test "$lt_cv_prog_gnu_ld" = yes; then
5332 case `/usr/bin/file conftest.$ac_objext` in
5334 LD
="${LD-ld} -melf32bsmip"
5337 LD
="${LD-ld} -melf32bmipn32"
5340 LD
="${LD-ld} -melf64bmip"
5344 case `/usr/bin/file conftest.$ac_objext` in
5360 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5361 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5362 # Find out which ABI we are using.
5363 echo 'int i;' > conftest.
$ac_ext
5364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5365 (eval $ac_compile) 2>&5
5367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5368 test $ac_status = 0; }; then
5369 case `/usr/bin/file conftest.o` in
5372 x86_64
-*kfreebsd
*-gnu)
5373 LD
="${LD-ld} -m elf_i386_fbsd"
5376 LD
="${LD-ld} -m elf_i386"
5378 ppc64
-*linux
*|powerpc64
-*linux
*)
5379 LD
="${LD-ld} -m elf32ppclinux"
5382 LD
="${LD-ld} -m elf_s390"
5385 LD
="${LD-ld} -m elf32_sparc"
5391 x86_64
-*kfreebsd
*-gnu)
5392 LD
="${LD-ld} -m elf_x86_64_fbsd"
5395 LD
="${LD-ld} -m elf_x86_64"
5397 ppc
*-*linux
*|powerpc
*-*linux
*)
5398 LD
="${LD-ld} -m elf64ppc"
5400 s390
*-*linux
*|s390
*-*tpf
*)
5401 LD
="${LD-ld} -m elf64_s390"
5404 LD
="${LD-ld} -m elf64_sparc"
5414 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5415 SAVE_CFLAGS
="$CFLAGS"
5416 CFLAGS
="$CFLAGS -belf"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5418 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5419 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5420 $as_echo_n "(cached) " >&6
5423 ac_cpp
='$CPP $CPPFLAGS'
5424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5439 if ac_fn_c_try_link
"$LINENO"; then :
5440 lt_cv_cc_needs_belf
=yes
5442 lt_cv_cc_needs_belf
=no
5444 rm -f core conftest.err conftest.
$ac_objext \
5445 conftest
$ac_exeext conftest.
$ac_ext
5447 ac_cpp
='$CPP $CPPFLAGS'
5448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5454 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5455 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5456 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5457 CFLAGS
="$SAVE_CFLAGS"
5461 # Find out which ABI we are using.
5462 echo 'int i;' > conftest.
$ac_ext
5463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5464 (eval $ac_compile) 2>&5
5466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5467 test $ac_status = 0; }; then
5468 case `/usr/bin/file conftest.o` in
5470 case $lt_cv_prog_gnu_ld in
5471 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5473 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5485 need_locks
="$enable_libtool_lock"
5489 rhapsody
* | darwin
*)
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5492 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5498 if test -n "$DSYMUTIL"; then
5499 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 test -z "$as_dir" && as_dir
=.
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5519 if test -n "$DSYMUTIL"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5521 $as_echo "$DSYMUTIL" >&6; }
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5529 if test -z "$ac_cv_prog_DSYMUTIL"; then
5530 ac_ct_DSYMUTIL
=$DSYMUTIL
5531 # Extract the first word of "dsymutil", so it can be a program name with args.
5532 set dummy dsymutil
; ac_word
=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$ac_ct_DSYMUTIL"; then
5539 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5559 if test -n "$ac_ct_DSYMUTIL"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5561 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5567 if test "x$ac_ct_DSYMUTIL" = x
; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5574 ac_tool_warned
=yes ;;
5576 DSYMUTIL
=$ac_ct_DSYMUTIL
5579 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5584 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$NMEDIT"; then
5591 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 NMEDIT
=$ac_cv_prog_NMEDIT
5611 if test -n "$NMEDIT"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5613 $as_echo "$NMEDIT" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5621 if test -z "$ac_cv_prog_NMEDIT"; then
5622 ac_ct_NMEDIT
=$NMEDIT
5623 # Extract the first word of "nmedit", so it can be a program name with args.
5624 set dummy nmedit
; ac_word
=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$ac_ct_NMEDIT"; then
5631 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5637 test -z "$as_dir" && as_dir
=.
5638 for ac_exec_ext
in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5650 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5651 if test -n "$ac_ct_NMEDIT"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5653 $as_echo "$ac_ct_NMEDIT" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5659 if test "x$ac_ct_NMEDIT" = x
; then
5662 case $cross_compiling:$ac_tool_warned in
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5666 ac_tool_warned
=yes ;;
5668 NMEDIT
=$ac_ct_NMEDIT
5671 NMEDIT
="$ac_cv_prog_NMEDIT"
5674 if test -n "$ac_tool_prefix"; then
5675 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5676 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if test "${ac_cv_prog_LIPO+set}" = set; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$LIPO"; then
5683 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 LIPO
=$ac_cv_prog_LIPO
5703 if test -n "$LIPO"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5705 $as_echo "$LIPO" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5713 if test -z "$ac_cv_prog_LIPO"; then
5715 # Extract the first word of "lipo", so it can be a program name with args.
5716 set dummy lipo
; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$ac_ct_LIPO"; then
5723 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir
=.
5730 for ac_exec_ext
in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_ac_ct_LIPO
="lipo"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5743 if test -n "$ac_ct_LIPO"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5745 $as_echo "$ac_ct_LIPO" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5751 if test "x$ac_ct_LIPO" = x
; then
5754 case $cross_compiling:$ac_tool_warned in
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758 ac_tool_warned
=yes ;;
5763 LIPO
="$ac_cv_prog_LIPO"
5766 if test -n "$ac_tool_prefix"; then
5767 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5768 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5774 if test -n "$OTOOL"; then
5775 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_exec_ext
in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 OTOOL
=$ac_cv_prog_OTOOL
5795 if test -n "$OTOOL"; then
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5797 $as_echo "$OTOOL" >&6; }
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5805 if test -z "$ac_cv_prog_OTOOL"; then
5807 # Extract the first word of "otool", so it can be a program name with args.
5808 set dummy otool
; ac_word
=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5814 if test -n "$ac_ct_OTOOL"; then
5815 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5821 test -z "$as_dir" && as_dir
=.
5822 for ac_exec_ext
in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_ac_ct_OTOOL
="otool"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5835 if test -n "$ac_ct_OTOOL"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5837 $as_echo "$ac_ct_OTOOL" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5843 if test "x$ac_ct_OTOOL" = x
; then
5846 case $cross_compiling:$ac_tool_warned in
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5850 ac_tool_warned
=yes ;;
5855 OTOOL
="$ac_cv_prog_OTOOL"
5858 if test -n "$ac_tool_prefix"; then
5859 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5860 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 $as_echo_n "checking for $ac_word... " >&6; }
5863 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5864 $as_echo_n "(cached) " >&6
5866 if test -n "$OTOOL64"; then
5867 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5873 test -z "$as_dir" && as_dir
=.
5874 for ac_exec_ext
in '' $ac_executable_extensions; do
5875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5876 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886 OTOOL64
=$ac_cv_prog_OTOOL64
5887 if test -n "$OTOOL64"; then
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5889 $as_echo "$OTOOL64" >&6; }
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5892 $as_echo "no" >&6; }
5897 if test -z "$ac_cv_prog_OTOOL64"; then
5898 ac_ct_OTOOL64
=$OTOOL64
5899 # Extract the first word of "otool64", so it can be a program name with args.
5900 set dummy otool64
; ac_word
=$2
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 $as_echo_n "checking for $ac_word... " >&6; }
5903 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5904 $as_echo_n "(cached) " >&6
5906 if test -n "$ac_ct_OTOOL64"; then
5907 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir
=.
5914 for ac_exec_ext
in '' $ac_executable_extensions; do
5915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5916 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5927 if test -n "$ac_ct_OTOOL64"; then
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5929 $as_echo "$ac_ct_OTOOL64" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5932 $as_echo "no" >&6; }
5935 if test "x$ac_ct_OTOOL64" = x
; then
5938 case $cross_compiling:$ac_tool_warned in
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5942 ac_tool_warned
=yes ;;
5944 OTOOL64
=$ac_ct_OTOOL64
5947 OTOOL64
="$ac_cv_prog_OTOOL64"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5977 $as_echo_n "checking for -single_module linker flag... " >&6; }
5978 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5981 lt_cv_apple_cc_single_mod
=no
5982 if test -z "${LT_MULTI_MODULE}"; then
5983 # By default we will add the -single_module flag. You can override
5984 # by either setting the environment variable LT_MULTI_MODULE
5985 # non-empty at configure time, or by adding -multi_module to the
5987 rm -rf libconftest.dylib
*
5988 echo "int foo(void){return 1;}" > conftest.c
5989 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5990 -dynamiclib -Wl,-single_module conftest.c" >&5
5991 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5992 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5994 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5995 lt_cv_apple_cc_single_mod
=yes
5997 cat conftest.err
>&5
5999 rm -rf libconftest.dylib
*
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6004 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6006 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6007 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6008 $as_echo_n "(cached) " >&6
6010 lt_cv_ld_exported_symbols_list
=no
6011 save_LDFLAGS
=$LDFLAGS
6012 echo "_main" > conftest.sym
6013 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6025 if ac_fn_c_try_link
"$LINENO"; then :
6026 lt_cv_ld_exported_symbols_list
=yes
6028 lt_cv_ld_exported_symbols_list
=no
6030 rm -f core conftest.err conftest.
$ac_objext \
6031 conftest
$ac_exeext conftest.
$ac_ext
6032 LDFLAGS
="$save_LDFLAGS"
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6036 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6038 rhapsody
* | darwin1.
[012])
6039 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6041 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6042 darwin
*) # darwin 5.x on
6043 # if running on 10.5 or later, the deployment target defaults
6044 # to the OS version, if on x86, and 10.4, the deployment
6045 # target defaults to 10.4. Don't you love it?
6046 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6047 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6048 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6050 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6052 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6056 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6057 _lt_dar_single_mod
='$single_module'
6059 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6060 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6062 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6064 if test "$DSYMUTIL" != ":"; then
6065 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6073 ac_cpp
='$CPP $CPPFLAGS'
6074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6078 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6079 # On Suns, sometimes $CPP names a directory.
6080 if test -n "$CPP" && test -d "$CPP"; then
6083 if test -z "$CPP"; then
6084 if test "${ac_cv_prog_CPP+set}" = set; then :
6085 $as_echo_n "(cached) " >&6
6087 # Double quotes because CPP needs to be expanded
6088 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6091 for ac_c_preproc_warn_flag
in '' yes
6093 # Use a header file that comes with gcc, so configuring glibc
6094 # with a fresh cross-compiler works.
6095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6096 # <limits.h> exists even on freestanding compilers.
6097 # On the NeXT, cc -E runs the code through the compiler's parser,
6098 # not just through cpp. "Syntax error" is here to catch this case.
6099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6100 /* end confdefs.h. */
6102 # include <limits.h>
6104 # include <assert.h>
6108 if ac_fn_c_try_cpp
"$LINENO"; then :
6111 # Broken: fails on valid input.
6114 rm -f conftest.err conftest.
$ac_ext
6116 # OK, works on sane cases. Now check whether nonexistent headers
6117 # can be detected and how.
6118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #include <ac_nonexistent.h>
6122 if ac_fn_c_try_cpp
"$LINENO"; then :
6123 # Broken: success on invalid input.
6126 # Passes both tests.
6130 rm -f conftest.err conftest.
$ac_ext
6133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6134 rm -f conftest.err conftest.
$ac_ext
6135 if $ac_preproc_ok; then :
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6148 $as_echo "$CPP" >&6; }
6150 for ac_c_preproc_warn_flag
in '' yes
6152 # Use a header file that comes with gcc, so configuring glibc
6153 # with a fresh cross-compiler works.
6154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6155 # <limits.h> exists even on freestanding compilers.
6156 # On the NeXT, cc -E runs the code through the compiler's parser,
6157 # not just through cpp. "Syntax error" is here to catch this case.
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6161 # include <limits.h>
6163 # include <assert.h>
6167 if ac_fn_c_try_cpp
"$LINENO"; then :
6170 # Broken: fails on valid input.
6173 rm -f conftest.err conftest.
$ac_ext
6175 # OK, works on sane cases. Now check whether nonexistent headers
6176 # can be detected and how.
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6179 #include <ac_nonexistent.h>
6181 if ac_fn_c_try_cpp
"$LINENO"; then :
6182 # Broken: success on invalid input.
6185 # Passes both tests.
6189 rm -f conftest.err conftest.
$ac_ext
6192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6193 rm -f conftest.err conftest.
$ac_ext
6194 if $ac_preproc_ok; then :
6197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6199 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6200 See \`config.log' for more details." "$LINENO" 5; }
6204 ac_cpp
='$CPP $CPPFLAGS'
6205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6211 $as_echo_n "checking for ANSI C header files... " >&6; }
6212 if test "${ac_cv_header_stdc+set}" = set; then :
6213 $as_echo_n "(cached) " >&6
6215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6230 if ac_fn_c_try_compile
"$LINENO"; then :
6231 ac_cv_header_stdc
=yes
6233 ac_cv_header_stdc
=no
6235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6237 if test $ac_cv_header_stdc = yes; then
6238 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6240 /* end confdefs.h. */
6244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6245 $EGREP "memchr" >/dev
/null
2>&1; then :
6248 ac_cv_header_stdc
=no
6254 if test $ac_cv_header_stdc = yes; then
6255 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6262 $EGREP "free" >/dev
/null
2>&1; then :
6265 ac_cv_header_stdc
=no
6271 if test $ac_cv_header_stdc = yes; then
6272 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6273 if test "$cross_compiling" = yes; then :
6276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6277 /* end confdefs.h. */
6280 #if ((' ' & 0x0FF) == 0x020)
6281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6284 # define ISLOWER(c) \
6285 (('a' <= (c) && (c) <= 'i') \
6286 || ('j' <= (c) && (c) <= 'r') \
6287 || ('s' <= (c) && (c) <= 'z'))
6288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6296 for (i = 0; i < 256; i++)
6297 if (XOR (islower (i), ISLOWER (i))
6298 || toupper (i) != TOUPPER (i))
6303 if ac_fn_c_try_run
"$LINENO"; then :
6306 ac_cv_header_stdc
=no
6308 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6309 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6315 $as_echo "$ac_cv_header_stdc" >&6; }
6316 if test $ac_cv_header_stdc = yes; then
6318 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6322 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6323 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6324 inttypes.h stdint.h unistd.h
6326 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6327 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6329 eval as_val
=\$
$as_ac_Header
6330 if test "x$as_val" = x
""yes; then :
6331 cat >>confdefs.h
<<_ACEOF
6332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6340 for ac_header
in dlfcn.h
6342 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6344 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6345 cat >>confdefs.h
<<_ACEOF
6346 #define HAVE_DLFCN_H 1
6356 # Check whether --enable-static was given.
6357 if test "${enable_static+set}" = set; then :
6358 enableval
=$enable_static; p
=${PACKAGE-default}
6360 yes) enable_static
=yes ;;
6361 no
) enable_static
=no
;;
6364 # Look at the argument we got. We use all the common list separators.
6365 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6366 for pkg
in $enableval; do
6368 if test "X$pkg" = "X$p"; then
6394 # Check whether --enable-shared was given.
6395 if test "${enable_shared+set}" = set; then :
6396 enableval
=$enable_shared; p
=${PACKAGE-default}
6398 yes) enable_shared
=yes ;;
6399 no
) enable_shared
=no
;;
6402 # Look at the argument we got. We use all the common list separators.
6403 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6404 for pkg
in $enableval; do
6406 if test "X$pkg" = "X$p"; then
6427 # Check whether --with-pic was given.
6428 if test "${with_pic+set}" = set; then :
6429 withval
=$with_pic; pic_mode
="$withval"
6435 test -z "$pic_mode" && pic_mode
=default
6443 # Check whether --enable-fast-install was given.
6444 if test "${enable_fast_install+set}" = set; then :
6445 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6447 yes) enable_fast_install
=yes ;;
6448 no
) enable_fast_install
=no
;;
6450 enable_fast_install
=no
6451 # Look at the argument we got. We use all the common list separators.
6452 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6453 for pkg
in $enableval; do
6455 if test "X$pkg" = "X$p"; then
6456 enable_fast_install
=yes
6463 enable_fast_install
=yes
6476 # This can be used to rebuild libtool when needed
6477 LIBTOOL_DEPS
="$ltmain"
6479 # Always use our own libtool.
6480 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6506 test -z "$LN_S" && LN_S
="ln -s"
6521 if test -n "${ZSH_VERSION+set}" ; then
6522 setopt NO_GLOB_SUBST
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6526 $as_echo_n "checking for objdir... " >&6; }
6527 if test "${lt_cv_objdir+set}" = set; then :
6528 $as_echo_n "(cached) " >&6
6530 rm -f .libs
2>/dev
/null
6531 mkdir .libs
2>/dev
/null
6532 if test -d .libs
; then
6535 # MS-DOS does not allow filenames that begin with a dot.
6538 rmdir .libs
2>/dev
/null
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6541 $as_echo "$lt_cv_objdir" >&6; }
6542 objdir
=$lt_cv_objdir
6548 cat >>confdefs.h
<<_ACEOF
6549 #define LT_OBJDIR "$lt_cv_objdir/"
6570 # AIX sometimes has problems with the GCC collect2 program. For some
6571 # reason, if we set the COLLECT_NAMES environment variable, the problems
6572 # vanish in a puff of smoke.
6573 if test "X${COLLECT_NAMES+set}" != Xset
; then
6575 export COLLECT_NAMES
6580 # Sed substitution that helps us do robust quoting. It backslashifies
6581 # metacharacters that are still active within double-quoted strings.
6582 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6584 # Same as above, but do not quote variable references.
6585 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6587 # Sed substitution to delay expansion of an escaped shell variable in a
6588 # double_quote_subst'ed string.
6589 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6591 # Sed substitution to delay expansion of an escaped single quote.
6592 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6594 # Sed substitution to avoid accidental globbing in evaled expressions
6595 no_glob_subst
='s/\*/\\\*/g'
6599 can_build_shared
=yes
6601 # All known linkers require a `.a' archive for static linking (except MSVC,
6602 # which needs '.lib').
6605 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6608 old_CFLAGS
="$CFLAGS"
6610 # Set sane defaults for various variables
6611 test -z "$CC" && CC
=cc
6612 test -z "$LTCC" && LTCC
=$CC
6613 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6614 test -z "$LD" && LD
=ld
6615 test -z "$ac_objext" && ac_objext
=o
6617 for cc_temp
in $compiler""; do
6619 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6620 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6625 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6628 # Only perform the check for file, if the check method requires it
6629 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6630 case $deplibs_check_method in
6632 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6634 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6635 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6640 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6643 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6644 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6645 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6646 for ac_dir
in $ac_dummy; do
6648 test -z "$ac_dir" && ac_dir
=.
6649 if test -f $ac_dir/${ac_tool_prefix}file; then
6650 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6651 if test -n "$file_magic_test_file"; then
6652 case $deplibs_check_method in
6654 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6655 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6656 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6657 $EGREP "$file_magic_regex" > /dev
/null
; then
6662 *** Warning: the command libtool uses to detect shared libraries,
6663 *** $file_magic_cmd, produces output that libtool cannot recognize.
6664 *** The result is that libtool may fail to recognize shared libraries
6665 *** as such. This will affect the creation of libtool libraries that
6666 *** depend on shared libraries, but programs linked with such libtool
6667 *** libraries will work regardless of this problem. Nevertheless, you
6668 *** may want to report the problem to your system manager and/or to
6669 *** bug-libtool@gnu.org
6679 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6684 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6685 if test -n "$MAGIC_CMD"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6687 $as_echo "$MAGIC_CMD" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6697 if test -z "$lt_cv_path_MAGIC_CMD"; then
6698 if test -n "$ac_tool_prefix"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6700 $as_echo_n "checking for file... " >&6; }
6701 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6702 $as_echo_n "(cached) " >&6
6706 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6709 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6710 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6711 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6712 for ac_dir
in $ac_dummy; do
6714 test -z "$ac_dir" && ac_dir
=.
6715 if test -f $ac_dir/file; then
6716 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6717 if test -n "$file_magic_test_file"; then
6718 case $deplibs_check_method in
6720 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6721 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6722 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6723 $EGREP "$file_magic_regex" > /dev
/null
; then
6728 *** Warning: the command libtool uses to detect shared libraries,
6729 *** $file_magic_cmd, produces output that libtool cannot recognize.
6730 *** The result is that libtool may fail to recognize shared libraries
6731 *** as such. This will affect the creation of libtool libraries that
6732 *** depend on shared libraries, but programs linked with such libtool
6733 *** libraries will work regardless of this problem. Nevertheless, you
6734 *** may want to report the problem to your system manager and/or to
6735 *** bug-libtool@gnu.org
6745 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6750 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6751 if test -n "$MAGIC_CMD"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6753 $as_echo "$MAGIC_CMD" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6769 # Use C for the default configuration in the libtool script
6773 ac_cpp
='$CPP $CPPFLAGS'
6774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6779 # Source file extension for C test sources.
6782 # Object file extension for compiled C test sources.
6786 # Code to be used in simple compile tests
6787 lt_simple_compile_test_code
="int some_variable = 0;"
6789 # Code to be used in simple link tests
6790 lt_simple_link_test_code
='int main(){return(0);}'
6798 # If no C compiler was specified, use CC.
6801 # If no C compiler flags were specified, use CFLAGS.
6802 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6804 # Allow CC to be a program name with arguments.
6807 # Save the default compiler, since it gets overwritten when the other
6808 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6809 compiler_DEFAULT
=$CC
6811 # save warnings/boilerplate of simple test code
6812 ac_outfile
=conftest.
$ac_objext
6813 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6814 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6815 _lt_compiler_boilerplate
=`cat conftest.err`
6818 ac_outfile
=conftest.
$ac_objext
6819 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6820 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6821 _lt_linker_boilerplate
=`cat conftest.err`
6825 if test -n "$compiler"; then
6827 lt_prog_compiler_no_builtin_flag
=
6829 if test "$GCC" = yes; then
6830 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6833 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6834 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6835 $as_echo_n "(cached) " >&6
6837 lt_cv_prog_compiler_rtti_exceptions
=no
6838 ac_outfile
=conftest.
$ac_objext
6839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6840 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6841 # Insert the option either (1) after the last *FLAGS variable, or
6842 # (2) before a word containing "conftest.", or (3) at the end.
6843 # Note that $ac_compile itself does not contain backslashes and begins
6844 # with a dollar sign (not a hyphen), so the echo should work correctly.
6845 # The option is referenced via a variable to avoid confusing sed.
6846 lt_compile
=`echo "$ac_compile" | $SED \
6847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6849 -e 's:$: $lt_compiler_flag:'`
6850 (eval echo "\"\$as_me:6850: $lt_compile\"" >&5)
6851 (eval "$lt_compile" 2>conftest.err
)
6853 cat conftest.err
>&5
6854 echo "$as_me:6854: \$? = $ac_status" >&5
6855 if (exit $ac_status) && test -s "$ac_outfile"; then
6856 # The compiler can only warn and ignore the option if not recognized
6857 # So say no if there are warnings other than the usual output.
6858 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6859 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6860 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6861 lt_cv_prog_compiler_rtti_exceptions
=yes
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6868 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6870 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6871 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6883 lt_prog_compiler_wl
=
6884 lt_prog_compiler_pic
=
6885 lt_prog_compiler_static
=
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6888 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6890 if test "$GCC" = yes; then
6891 lt_prog_compiler_wl
='-Wl,'
6892 lt_prog_compiler_static
='-static'
6896 # All AIX code is PIC.
6897 if test "$host_cpu" = ia64
; then
6898 # AIX 5 now supports IA64 processor
6899 lt_prog_compiler_static
='-Bstatic'
6906 # see comment about AmigaOS4 .so support
6907 lt_prog_compiler_pic
='-fPIC'
6910 # FIXME: we need at least 68020 code to build shared libraries, but
6911 # adding the `-m68020' flag to GCC prevents building anything better,
6913 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6918 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6919 # PIC is the default for these OSes.
6922 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6923 # This hack is so that the source file can tell whether it is being
6924 # built for inclusion in a dll (and should export symbols for example).
6925 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6926 # (--disable-auto-import) libraries
6927 lt_prog_compiler_pic
='-DDLL_EXPORT'
6930 darwin
* | rhapsody
*)
6931 # PIC is the default on this platform
6932 # Common symbols not allowed in MH_DYLIB files
6933 lt_prog_compiler_pic
='-fno-common'
6937 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6938 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6939 # sets the default TLS model and affects inlining.
6945 lt_prog_compiler_pic
='-fPIC'
6951 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6952 # Instead, we relocate shared libraries at runtime.
6956 # Just because we use GCC doesn't mean we suddenly get shared libraries
6957 # on systems that don't support them.
6958 lt_prog_compiler_can_build_shared
=no
6963 # QNX uses GNU C++, but need to define -shared option too, otherwise
6965 lt_prog_compiler_pic
='-fPIC -shared'
6969 if test -d /usr
/nec
; then
6970 lt_prog_compiler_pic
=-Kconform_pic
6975 lt_prog_compiler_pic
='-fPIC'
6979 # PORTME Check for flag to pass linker flags through the system compiler.
6982 lt_prog_compiler_wl
='-Wl,'
6983 if test "$host_cpu" = ia64
; then
6984 # AIX 5 now supports IA64 processor
6985 lt_prog_compiler_static
='-Bstatic'
6987 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6991 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6992 # This hack is so that the source file can tell whether it is being
6993 # built for inclusion in a dll (and should export symbols for example).
6994 lt_prog_compiler_pic
='-DDLL_EXPORT'
6997 hpux9
* | hpux10
* | hpux11
*)
6998 lt_prog_compiler_wl
='-Wl,'
6999 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7006 lt_prog_compiler_pic
='+Z'
7009 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7010 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7013 irix5
* | irix6
* | nonstopux
*)
7014 lt_prog_compiler_wl
='-Wl,'
7015 # PIC (with -KPIC) is the default.
7016 lt_prog_compiler_static
='-non_shared'
7019 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7020 case $cc_basename in
7021 # old Intel for x86_64 which still supported -KPIC.
7023 lt_prog_compiler_wl
='-Wl,'
7024 lt_prog_compiler_pic
='-KPIC'
7025 lt_prog_compiler_static
='-static'
7027 # icc used to be incompatible with GCC.
7028 # ICC 10 doesn't accept -KPIC any more.
7030 lt_prog_compiler_wl
='-Wl,'
7031 lt_prog_compiler_pic
='-fPIC'
7032 lt_prog_compiler_static
='-static'
7034 # Lahey Fortran 8.1.
7036 lt_prog_compiler_wl
='-Wl,'
7037 lt_prog_compiler_pic
='--shared'
7038 lt_prog_compiler_static
='--static'
7040 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7041 # Portland Group compilers (*not* the Pentium gcc compiler,
7042 # which looks to be a dead project)
7043 lt_prog_compiler_wl
='-Wl,'
7044 lt_prog_compiler_pic
='-fpic'
7045 lt_prog_compiler_static
='-Bstatic'
7048 lt_prog_compiler_wl
='-Wl,'
7049 # All Alpha code is PIC.
7050 lt_prog_compiler_static
='-non_shared'
7053 # IBM XL C 8.0/Fortran 10.1 on PPC
7054 lt_prog_compiler_wl
='-Wl,'
7055 lt_prog_compiler_pic
='-qpic'
7056 lt_prog_compiler_static
='-qstaticlink'
7059 case `$CC -V 2>&1 | sed 5q` in
7062 lt_prog_compiler_pic
='-KPIC'
7063 lt_prog_compiler_static
='-Bstatic'
7064 lt_prog_compiler_wl
='-Wl,'
7067 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7068 lt_prog_compiler_pic
='-KPIC'
7069 lt_prog_compiler_static
='-Bstatic'
7070 lt_prog_compiler_wl
=''
7078 lt_prog_compiler_pic
='-KPIC'
7079 lt_prog_compiler_static
='-Bstatic'
7083 # QNX uses GNU C++, but need to define -shared option too, otherwise
7085 lt_prog_compiler_pic
='-fPIC -shared'
7088 osf3
* | osf4
* | osf5
*)
7089 lt_prog_compiler_wl
='-Wl,'
7090 # All OSF/1 code is PIC.
7091 lt_prog_compiler_static
='-non_shared'
7095 lt_prog_compiler_static
='-non_shared'
7099 lt_prog_compiler_pic
='-KPIC'
7100 lt_prog_compiler_static
='-Bstatic'
7101 case $cc_basename in
7103 lt_prog_compiler_wl
='-Qoption ld ';;
7105 lt_prog_compiler_wl
='-Wl,';;
7110 lt_prog_compiler_wl
='-Qoption ld '
7111 lt_prog_compiler_pic
='-PIC'
7112 lt_prog_compiler_static
='-Bstatic'
7115 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7116 lt_prog_compiler_wl
='-Wl,'
7117 lt_prog_compiler_pic
='-KPIC'
7118 lt_prog_compiler_static
='-Bstatic'
7122 if test -d /usr
/nec
;then
7123 lt_prog_compiler_pic
='-Kconform_pic'
7124 lt_prog_compiler_static
='-Bstatic'
7128 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7129 lt_prog_compiler_wl
='-Wl,'
7130 lt_prog_compiler_pic
='-KPIC'
7131 lt_prog_compiler_static
='-Bstatic'
7135 lt_prog_compiler_wl
='-Wl,'
7136 lt_prog_compiler_can_build_shared
=no
7140 lt_prog_compiler_pic
='-pic'
7141 lt_prog_compiler_static
='-Bstatic'
7145 lt_prog_compiler_can_build_shared
=no
7151 # For platforms which do not support PIC, -DPIC is meaningless:
7153 lt_prog_compiler_pic
=
7156 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7160 $as_echo "$lt_prog_compiler_pic" >&6; }
7168 # Check to make sure the PIC flag actually works.
7170 if test -n "$lt_prog_compiler_pic"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7172 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7173 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7174 $as_echo_n "(cached) " >&6
7176 lt_cv_prog_compiler_pic_works
=no
7177 ac_outfile
=conftest.
$ac_objext
7178 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7179 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7180 # Insert the option either (1) after the last *FLAGS variable, or
7181 # (2) before a word containing "conftest.", or (3) at the end.
7182 # Note that $ac_compile itself does not contain backslashes and begins
7183 # with a dollar sign (not a hyphen), so the echo should work correctly.
7184 # The option is referenced via a variable to avoid confusing sed.
7185 lt_compile
=`echo "$ac_compile" | $SED \
7186 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7188 -e 's:$: $lt_compiler_flag:'`
7189 (eval echo "\"\$as_me:7189: $lt_compile\"" >&5)
7190 (eval "$lt_compile" 2>conftest.err
)
7192 cat conftest.err
>&5
7193 echo "$as_me:7193: \$? = $ac_status" >&5
7194 if (exit $ac_status) && test -s "$ac_outfile"; then
7195 # The compiler can only warn and ignore the option if not recognized
7196 # So say no if there are warnings other than the usual output.
7197 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7198 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7199 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7200 lt_cv_prog_compiler_pic_works
=yes
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7207 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7209 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7210 case $lt_prog_compiler_pic in
7212 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7215 lt_prog_compiler_pic
=
7216 lt_prog_compiler_can_build_shared
=no
7227 # Check to make sure the static flag actually works.
7229 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7231 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7232 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7233 $as_echo_n "(cached) " >&6
7235 lt_cv_prog_compiler_static_works
=no
7236 save_LDFLAGS
="$LDFLAGS"
7237 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7238 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7239 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7240 # The linker can only warn and ignore the option if not recognized
7241 # So say no if there are warnings
7242 if test -s conftest.err
; then
7243 # Append any errors to the config.log.
7244 cat conftest.err
1>&5
7245 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7246 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7247 if diff conftest.exp conftest.er2
>/dev
/null
; then
7248 lt_cv_prog_compiler_static_works
=yes
7251 lt_cv_prog_compiler_static_works
=yes
7255 LDFLAGS
="$save_LDFLAGS"
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7259 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7261 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7264 lt_prog_compiler_static
=
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7274 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7275 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7278 lt_cv_prog_compiler_c_o
=no
7279 $RM -r conftest
2>/dev
/null
7283 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7285 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7286 # Insert the option either (1) after the last *FLAGS variable, or
7287 # (2) before a word containing "conftest.", or (3) at the end.
7288 # Note that $ac_compile itself does not contain backslashes and begins
7289 # with a dollar sign (not a hyphen), so the echo should work correctly.
7290 lt_compile
=`echo "$ac_compile" | $SED \
7291 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7292 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7293 -e 's:$: $lt_compiler_flag:'`
7294 (eval echo "\"\$as_me:7294: $lt_compile\"" >&5)
7295 (eval "$lt_compile" 2>out
/conftest.err
)
7297 cat out
/conftest.err
>&5
7298 echo "$as_me:7298: \$? = $ac_status" >&5
7299 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7301 # The compiler can only warn and ignore the option if not recognized
7302 # So say no if there are warnings
7303 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7304 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7305 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7306 lt_cv_prog_compiler_c_o
=yes
7311 # SGI C++ compiler will create directory out/ii_files/ for
7312 # template instantiation
7313 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7314 $RM out
/* && rmdir out
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7321 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7329 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7330 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7331 $as_echo_n "(cached) " >&6
7333 lt_cv_prog_compiler_c_o
=no
7334 $RM -r conftest
2>/dev
/null
7338 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7340 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7341 # Insert the option either (1) after the last *FLAGS variable, or
7342 # (2) before a word containing "conftest.", or (3) at the end.
7343 # Note that $ac_compile itself does not contain backslashes and begins
7344 # with a dollar sign (not a hyphen), so the echo should work correctly.
7345 lt_compile
=`echo "$ac_compile" | $SED \
7346 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7348 -e 's:$: $lt_compiler_flag:'`
7349 (eval echo "\"\$as_me:7349: $lt_compile\"" >&5)
7350 (eval "$lt_compile" 2>out
/conftest.err
)
7352 cat out
/conftest.err
>&5
7353 echo "$as_me:7353: \$? = $ac_status" >&5
7354 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7356 # The compiler can only warn and ignore the option if not recognized
7357 # So say no if there are warnings
7358 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7359 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7360 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7361 lt_cv_prog_compiler_c_o
=yes
7366 # SGI C++ compiler will create directory out/ii_files/ for
7367 # template instantiation
7368 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7369 $RM out
/* && rmdir out
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7376 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7381 hard_links
="nottested"
7382 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7383 # do not overwrite the value of need_locks provided by the user
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7385 $as_echo_n "checking if we can lock with hard links... " >&6; }
7388 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7390 ln conftest.a conftest.b
2>&5 || hard_links
=no
7391 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7393 $as_echo "$hard_links" >&6; }
7394 if test "$hard_links" = no
; then
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7396 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7409 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7412 allow_undefined_flag
=
7413 always_export_symbols
=no
7415 archive_expsym_cmds
=
7416 compiler_needs_object
=no
7417 enable_shared_with_static_runtimes
=no
7418 export_dynamic_flag_spec
=
7419 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7420 hardcode_automatic
=no
7422 hardcode_direct_absolute
=no
7423 hardcode_libdir_flag_spec
=
7424 hardcode_libdir_flag_spec_ld
=
7425 hardcode_libdir_separator
=
7427 hardcode_shlibpath_var
=unsupported
7429 link_all_deplibs
=unknown
7432 old_archive_from_new_cmds
=
7433 old_archive_from_expsyms_cmds
=
7434 thread_safe_flag_spec
=
7435 whole_archive_flag_spec
=
7436 # include_expsyms should be a list of space-separated symbols to be *always*
7437 # included in the symbol list
7439 # exclude_expsyms can be an extended regexp of symbols to exclude
7440 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7441 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7442 # as well as any symbol that contains `d'.
7443 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7444 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7445 # platforms (ab)use it in PIC code, but their linkers get confused if
7446 # the symbol is explicitly referenced. Since portable code cannot
7447 # rely on this symbol name, it's probably fine to never include it in
7448 # preloaded symbol tables.
7449 # Exclude shared library initialization/finalization symbols.
7450 extract_expsyms_cmds
=
7453 cygwin
* | mingw
* | pw32
* | cegcc
*)
7454 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7455 # When not using gcc, we currently assume that we are using
7456 # Microsoft Visual C++.
7457 if test "$GCC" != yes; then
7462 # we just hope/assume this is gcc and not c89 (= MSVC++)
7468 linux
* | k
*bsd
*-gnu)
7474 if test "$with_gnu_ld" = yes; then
7475 # If archive_cmds runs LD, not CC, wlarc should be empty
7478 # Set some defaults for GNU ld with shared library support. These
7479 # are reset later if shared libraries are not supported. Putting them
7480 # here allows them to be overridden if necessary.
7481 runpath_var
=LD_RUN_PATH
7482 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7483 export_dynamic_flag_spec
='${wl}--export-dynamic'
7484 # ancient GNU ld didn't support --whole-archive et. al.
7485 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7486 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7488 whole_archive_flag_spec
=
7490 supports_anon_versioning
=no
7491 case `$LD -v 2>&1` in
7492 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7493 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7494 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7495 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7496 *\
2.11.
*) ;; # other 2.11 versions
7497 *) supports_anon_versioning
=yes ;;
7500 # See if GNU ld supports shared libraries.
7503 # On AIX/PPC, the GNU linker is very broken
7504 if test "$host_cpu" != ia64
; then
7508 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7509 *** to be unable to reliably create shared libraries on AIX.
7510 *** Therefore, libtool is disabling shared libraries support. If you
7511 *** really care for shared libraries, you may want to modify your PATH
7512 *** so that a non-GNU linker is found, and then restart.
7521 # see comment about AmigaOS4 .so support
7522 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7523 archive_expsym_cmds
=''
7526 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)'
7527 hardcode_libdir_flag_spec
='-L$libdir'
7528 hardcode_minus_L
=yes
7534 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7535 allow_undefined_flag
=unsupported
7536 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7537 # support --undefined. This deserves some investigation. FIXME
7538 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7544 cygwin
* | mingw
* | pw32
* | cegcc
*)
7545 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7546 # as there is no search path for DLLs.
7547 hardcode_libdir_flag_spec
='-L$libdir'
7548 allow_undefined_flag
=unsupported
7549 always_export_symbols
=no
7550 enable_shared_with_static_runtimes
=yes
7551 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7553 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7554 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7555 # If the export-symbols file already is a .def file (1st line
7556 # is EXPORTS), use it as is; otherwise, prepend...
7557 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7558 cp $export_symbols $output_objdir/$soname.def;
7560 echo EXPORTS > $output_objdir/$soname.def;
7561 cat $export_symbols >> $output_objdir/$soname.def;
7563 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7571 hardcode_shlibpath_var
=no
7572 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7573 export_dynamic_flag_spec
='${wl}-E'
7574 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7575 # Instead, shared libraries are loaded at an image base (0x10000000 by
7576 # default) and relocated if they conflict, which is a slow very memory
7577 # consuming and fragmenting process. To avoid this, we pick a random,
7578 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7579 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7580 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7581 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'
7584 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7586 if test "$host_os" = linux
-dietlibc; then
7587 case $cc_basename in
7588 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7591 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7592 && test "$tmp_diet" = no
7595 tmp_sharedflag
='-shared'
7596 case $cc_basename,$host_cpu in
7597 pgcc
*) # Portland Group C compiler
7598 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'
7599 tmp_addflag
=' $pic_flag'
7601 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7602 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'
7603 tmp_addflag
=' $pic_flag -Mnomain' ;;
7604 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7605 tmp_addflag
=' -i_dynamic' ;;
7606 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7607 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7608 ifc
* | ifort
*) # Intel Fortran compiler
7609 tmp_addflag
=' -nofor_main' ;;
7610 lf95
*) # Lahey Fortran 8.1
7611 whole_archive_flag_spec
=
7612 tmp_sharedflag
='--shared' ;;
7613 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7614 tmp_sharedflag
='-qmkshrobj'
7617 case `$CC -V 2>&1 | sed 5q` in
7618 *Sun\ C
*) # Sun C 5.9
7619 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'
7620 compiler_needs_object
=yes
7621 tmp_sharedflag
='-G' ;;
7622 *Sun\ F
*) # Sun Fortran 8.3
7623 tmp_sharedflag
='-G' ;;
7625 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7627 if test "x$supports_anon_versioning" = xyes
; then
7628 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7629 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7630 echo "local: *; };" >> $output_objdir/$libname.ver~
7631 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7634 case $cc_basename in
7636 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7637 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7638 hardcode_libdir_flag_spec
=
7639 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7640 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7641 if test "x$supports_anon_versioning" = xyes
; then
7642 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7643 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7644 echo "local: *; };" >> $output_objdir/$libname.ver~
7645 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7654 netbsd
* | netbsdelf
*-gnu)
7655 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7656 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7660 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7665 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7669 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7670 *** create shared libraries on Solaris systems. Therefore, libtool
7671 *** is disabling shared libraries support. We urge you to upgrade GNU
7672 *** binutils to release 2.9.1 or newer. Another option is to modify
7673 *** your PATH or compiler configuration so that the native linker is
7674 *** used, and then restart.
7677 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7678 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7679 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7685 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7686 case `$LD -v 2>&1` in
7687 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7691 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7692 *** reliably create shared libraries on SCO systems. Therefore, libtool
7693 *** is disabling shared libraries support. We urge you to upgrade GNU
7694 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7695 *** your PATH or compiler configuration so that the native linker is
7696 *** used, and then restart.
7701 # For security reasons, it is highly recommended that you always
7702 # use absolute paths for naming shared libraries, and exclude the
7703 # DT_RUNPATH tag from executables and libraries. But doing so
7704 # requires that you compile everything twice, which is a pain.
7705 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7706 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7707 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7708 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7717 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7720 hardcode_shlibpath_var
=no
7724 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7725 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7726 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7733 if test "$ld_shlibs" = no
; then
7735 hardcode_libdir_flag_spec
=
7736 export_dynamic_flag_spec
=
7737 whole_archive_flag_spec
=
7740 # PORTME fill in a description of your system's linker (not GNU ld)
7743 allow_undefined_flag
=unsupported
7744 always_export_symbols
=yes
7745 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'
7746 # Note: this linker hardcodes the directories in LIBPATH if there
7747 # are no directories specified by -L.
7748 hardcode_minus_L
=yes
7749 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7750 # Neither direct hardcoding nor static linking is supported with a
7752 hardcode_direct
=unsupported
7757 if test "$host_cpu" = ia64
; then
7758 # On IA64, the linker does run time linking by default, so we don't
7759 # have to do anything special.
7760 aix_use_runtimelinking
=no
7761 exp_sym_flag
='-Bexport'
7764 # If we're using GNU nm, then we don't want the "-C" option.
7765 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7766 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7767 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'
7769 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'
7771 aix_use_runtimelinking
=no
7773 # Test if we are trying to use run time linking or normal
7774 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7775 # need to do runtime linking.
7776 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7777 for ld_flag
in $LDFLAGS; do
7778 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7779 aix_use_runtimelinking
=yes
7786 exp_sym_flag
='-bexport'
7787 no_entry_flag
='-bnoentry'
7790 # When large executables or shared objects are built, AIX ld can
7791 # have problems creating the table of contents. If linking a library
7792 # or program results in "error TOC overflow" add -mminimal-toc to
7793 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7794 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7798 hardcode_direct_absolute
=yes
7799 hardcode_libdir_separator
=':'
7800 link_all_deplibs
=yes
7801 file_list_spec
='${wl}-f,'
7803 if test "$GCC" = yes; then
7804 case $host_os in aix4.
[012]|aix4.
[012].
*)
7805 # We only want to do this on AIX 4.2 and lower, the check
7806 # below for broken collect2 doesn't work under 4.3+
7807 collect2name
=`${CC} -print-prog-name=collect2`
7808 if test -f "$collect2name" &&
7809 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7811 # We have reworked collect2
7814 # We have old collect2
7815 hardcode_direct
=unsupported
7816 # It fails to find uninstalled libraries when the uninstalled
7817 # path is not listed in the libpath. Setting hardcode_minus_L
7818 # to unsupported forces relinking
7819 hardcode_minus_L
=yes
7820 hardcode_libdir_flag_spec
='-L$libdir'
7821 hardcode_libdir_separator
=
7825 shared_flag
='-shared'
7826 if test "$aix_use_runtimelinking" = yes; then
7827 shared_flag
="$shared_flag "'${wl}-G'
7832 if test "$host_cpu" = ia64
; then
7833 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7834 # chokes on -Wl,-G. The following line is correct:
7837 if test "$aix_use_runtimelinking" = yes; then
7838 shared_flag
='${wl}-G'
7840 shared_flag
='${wl}-bM:SRE'
7845 export_dynamic_flag_spec
='${wl}-bexpall'
7846 # It seems that -bexpall does not export symbols beginning with
7847 # underscore (_), so it is better to generate a list of symbols to export.
7848 always_export_symbols
=yes
7849 if test "$aix_use_runtimelinking" = yes; then
7850 # Warning - without using the other runtime loading flags (-brtl),
7851 # -berok will link without error, but may produce a broken library.
7852 allow_undefined_flag
='-berok'
7853 # Determine the default libpath from the value encoded in an
7855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7856 /* end confdefs.h. */
7866 if ac_fn_c_try_link
"$LINENO"; then :
7868 lt_aix_libpath_sed
='
7869 /Import File Strings/,/^$/ {
7875 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7876 # Check for a 64-bit object if we didn't find anything.
7877 if test -z "$aix_libpath"; then
7878 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7881 rm -f core conftest.err conftest.
$ac_objext \
7882 conftest
$ac_exeext conftest.
$ac_ext
7883 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7885 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7886 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"
7888 if test "$host_cpu" = ia64
; then
7889 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7890 allow_undefined_flag
="-z nodefs"
7891 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"
7893 # Determine the default libpath from the value encoded in an
7895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7906 if ac_fn_c_try_link
"$LINENO"; then :
7908 lt_aix_libpath_sed
='
7909 /Import File Strings/,/^$/ {
7915 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7916 # Check for a 64-bit object if we didn't find anything.
7917 if test -z "$aix_libpath"; then
7918 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7921 rm -f core conftest.err conftest.
$ac_objext \
7922 conftest
$ac_exeext conftest.
$ac_ext
7923 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7925 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7926 # Warning - without using the other run time loading flags,
7927 # -berok will link without error, but may produce a broken library.
7928 no_undefined_flag
=' ${wl}-bernotok'
7929 allow_undefined_flag
=' ${wl}-berok'
7930 # Exported symbols can be pulled into shared objects from archives
7931 whole_archive_flag_spec
='$convenience'
7932 archive_cmds_need_lc
=yes
7933 # This is similar to how AIX traditionally builds its shared libraries.
7934 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'
7942 # see comment about AmigaOS4 .so support
7943 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7944 archive_expsym_cmds
=''
7947 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)'
7948 hardcode_libdir_flag_spec
='-L$libdir'
7949 hardcode_minus_L
=yes
7955 export_dynamic_flag_spec
=-rdynamic
7958 cygwin
* | mingw
* | pw32
* | cegcc
*)
7959 # When not using gcc, we currently assume that we are using
7960 # Microsoft Visual C++.
7961 # hardcode_libdir_flag_spec is actually meaningless, as there is
7962 # no search path for DLLs.
7963 hardcode_libdir_flag_spec
=' '
7964 allow_undefined_flag
=unsupported
7965 # Tell ltmain to make .lib files, not .a files.
7967 # Tell ltmain to make .dll files, not .so files.
7969 # FIXME: Setting linknames here is a bad hack.
7970 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7971 # The linker will automatically build a .lib file if we build a DLL.
7972 old_archive_from_new_cmds
='true'
7973 # FIXME: Should let the user specify the lib program.
7974 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7975 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7976 enable_shared_with_static_runtimes
=yes
7979 darwin
* | rhapsody
*)
7982 archive_cmds_need_lc
=no
7984 hardcode_automatic
=yes
7985 hardcode_shlibpath_var
=unsupported
7986 whole_archive_flag_spec
=''
7987 link_all_deplibs
=yes
7988 allow_undefined_flag
="$_lt_dar_allow_undefined"
7989 case $cc_basename in
7990 ifort
*) _lt_dar_can_shared
=yes ;;
7991 *) _lt_dar_can_shared
=$GCC ;;
7993 if test "$_lt_dar_can_shared" = "yes"; then
7994 output_verbose_link_cmd
=echo
7995 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7996 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7997 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}"
7998 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}"
8007 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8008 hardcode_libdir_flag_spec
='-L$libdir'
8009 hardcode_shlibpath_var
=no
8016 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8017 # support. Future versions do this automatically, but an explicit c++rt0.o
8018 # does not break anything, and helps significantly (at the cost of a little
8021 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8022 hardcode_libdir_flag_spec
='-R$libdir'
8024 hardcode_shlibpath_var
=no
8027 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8029 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8031 hardcode_minus_L
=yes
8032 hardcode_shlibpath_var
=no
8035 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8036 freebsd
* | dragonfly
*)
8037 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8038 hardcode_libdir_flag_spec
='-R$libdir'
8040 hardcode_shlibpath_var
=no
8044 if test "$GCC" = yes; then
8045 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'
8047 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'
8049 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8050 hardcode_libdir_separator
=:
8053 # hardcode_minus_L: Not really in the search PATH,
8054 # but as the default location of the library.
8055 hardcode_minus_L
=yes
8056 export_dynamic_flag_spec
='${wl}-E'
8060 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8061 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8063 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8065 if test "$with_gnu_ld" = no
; then
8066 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8067 hardcode_libdir_flag_spec_ld
='+b $libdir'
8068 hardcode_libdir_separator
=:
8070 hardcode_direct_absolute
=yes
8071 export_dynamic_flag_spec
='${wl}-E'
8072 # hardcode_minus_L: Not really in the search PATH,
8073 # but as the default location of the library.
8074 hardcode_minus_L
=yes
8079 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8082 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8085 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8088 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8094 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8097 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8100 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8104 if test "$with_gnu_ld" = no
; then
8105 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8106 hardcode_libdir_separator
=:
8111 hardcode_shlibpath_var
=no
8115 hardcode_direct_absolute
=yes
8116 export_dynamic_flag_spec
='${wl}-E'
8118 # hardcode_minus_L: Not really in the search PATH,
8119 # but as the default location of the library.
8120 hardcode_minus_L
=yes
8126 irix5
* | irix6
* | nonstopux
*)
8127 if test "$GCC" = yes; then
8128 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'
8129 # Try to use the -exported_symbol ld option, if it does not
8130 # work, assume that -exports_file does not work either and
8131 # implicitly export all symbols.
8132 save_LDFLAGS
="$LDFLAGS"
8133 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8138 if ac_fn_c_try_link
"$LINENO"; then :
8139 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'
8142 rm -f core conftest.err conftest.
$ac_objext \
8143 conftest
$ac_exeext conftest.
$ac_ext
8144 LDFLAGS
="$save_LDFLAGS"
8146 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'
8147 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'
8149 archive_cmds_need_lc
='no'
8150 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8151 hardcode_libdir_separator
=:
8153 link_all_deplibs
=yes
8156 netbsd
* | netbsdelf
*-gnu)
8157 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8158 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8160 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8162 hardcode_libdir_flag_spec
='-R$libdir'
8164 hardcode_shlibpath_var
=no
8168 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8170 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8171 hardcode_libdir_separator
=:
8172 hardcode_shlibpath_var
=no
8179 if test -f /usr
/libexec
/ld.so
; then
8181 hardcode_shlibpath_var
=no
8182 hardcode_direct_absolute
=yes
8183 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8184 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8185 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8186 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8187 export_dynamic_flag_spec
='${wl}-E'
8190 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8191 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8192 hardcode_libdir_flag_spec
='-R$libdir'
8195 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8196 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8206 hardcode_libdir_flag_spec
='-L$libdir'
8207 hardcode_minus_L
=yes
8208 allow_undefined_flag
=unsupported
8209 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'
8210 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8214 if test "$GCC" = yes; then
8215 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8216 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'
8218 allow_undefined_flag
=' -expect_unresolved \*'
8219 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'
8221 archive_cmds_need_lc
='no'
8222 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8223 hardcode_libdir_separator
=:
8226 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8227 if test "$GCC" = yes; then
8228 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8229 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'
8230 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8232 allow_undefined_flag
=' -expect_unresolved \*'
8233 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'
8234 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~
8235 $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'
8237 # Both c and cxx compiler support -rpath directly
8238 hardcode_libdir_flag_spec
='-rpath $libdir'
8240 archive_cmds_need_lc
='no'
8241 hardcode_libdir_separator
=:
8245 no_undefined_flag
=' -z defs'
8246 if test "$GCC" = yes; then
8248 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8249 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8250 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8252 case `$CC -V 2>&1` in
8255 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8256 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8257 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8261 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8262 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8263 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8267 hardcode_libdir_flag_spec
='-R$libdir'
8268 hardcode_shlibpath_var
=no
8270 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8272 # The compiler driver will combine and reorder linker options,
8273 # but understands `-z linker_flag'. GCC discards it without `$wl',
8274 # but is careful enough not to reorder.
8275 # Supported since Solaris 2.6 (maybe 2.5.1?)
8276 if test "$GCC" = yes; then
8277 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8279 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8283 link_all_deplibs
=yes
8287 if test "x$host_vendor" = xsequent
; then
8288 # Use $CC to link under sequent, because it throws in some extra .o
8289 # files that make .init and .fini sections work.
8290 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8292 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8294 hardcode_libdir_flag_spec
='-L$libdir'
8296 hardcode_minus_L
=yes
8297 hardcode_shlibpath_var
=no
8301 case $host_vendor in
8303 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8304 hardcode_direct
=yes # is this really true???
8307 ## LD is ld it makes a PLAMLIB
8308 ## CC just makes a GrossModule.
8309 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8310 reload_cmds
='$CC -r -o $output$reload_objs'
8314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8315 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8318 runpath_var
='LD_RUN_PATH'
8319 hardcode_shlibpath_var
=no
8323 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8324 hardcode_shlibpath_var
=no
8325 export_dynamic_flag_spec
='-Bexport'
8329 if test -d /usr
/nec
; then
8330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8331 hardcode_shlibpath_var
=no
8332 runpath_var
=LD_RUN_PATH
8333 hardcode_runpath_var
=yes
8338 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8339 no_undefined_flag
='${wl}-z,text'
8340 archive_cmds_need_lc
=no
8341 hardcode_shlibpath_var
=no
8342 runpath_var
='LD_RUN_PATH'
8344 if test "$GCC" = yes; then
8345 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8346 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8348 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8349 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8353 sysv5
* | sco3.2v5
* | sco5v6
*)
8354 # Note: We can NOT use -z defs as we might desire, because we do not
8355 # link with -lc, and that would cause any symbols used from libc to
8356 # always be unresolved, which means just about no library would
8357 # ever link correctly. If we're not using GNU ld we use -z text
8358 # though, which does catch some bad symbols but isn't as heavy-handed
8360 no_undefined_flag
='${wl}-z,text'
8361 allow_undefined_flag
='${wl}-z,nodefs'
8362 archive_cmds_need_lc
=no
8363 hardcode_shlibpath_var
=no
8364 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8365 hardcode_libdir_separator
=':'
8366 link_all_deplibs
=yes
8367 export_dynamic_flag_spec
='${wl}-Bexport'
8368 runpath_var
='LD_RUN_PATH'
8370 if test "$GCC" = yes; then
8371 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8372 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8374 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8375 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8380 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8381 hardcode_libdir_flag_spec
='-L$libdir'
8382 hardcode_shlibpath_var
=no
8390 if test x
$host_vendor = xsni
; then
8392 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8393 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8400 $as_echo "$ld_shlibs" >&6; }
8401 test "$ld_shlibs" = no
&& can_build_shared
=no
8403 with_gnu_ld
=$with_gnu_ld
8420 # Do we need to explicitly link libc?
8422 case "x$archive_cmds_need_lc" in
8424 # Assume -lc should be added
8425 archive_cmds_need_lc
=yes
8427 if test "$enable_shared" = yes && test "$GCC" = yes; then
8428 case $archive_cmds in
8430 # FIXME: we may have to deal with multi-command sequences.
8433 # Test whether the compiler implicitly links with -lc since on some
8434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8435 # to ld, don't add -lc before -lgcc.
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8437 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8439 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8442 (eval $ac_compile) 2>&5
8444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8445 test $ac_status = 0; } 2>conftest.err
; then
8448 libobjs
=conftest.
$ac_objext
8450 wl
=$lt_prog_compiler_wl
8451 pic_flag
=$lt_prog_compiler_pic
8457 lt_save_allow_undefined_flag
=$allow_undefined_flag
8458 allow_undefined_flag
=
8459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8460 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8463 test $ac_status = 0; }
8465 archive_cmds_need_lc
=no
8467 archive_cmds_need_lc
=yes
8469 allow_undefined_flag
=$lt_save_allow_undefined_flag
8471 cat conftest.err
1>&5
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8475 $as_echo "$archive_cmds_need_lc" >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8639 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8641 if test "$GCC" = yes; then
8643 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8644 *) lt_awk_arg
="/^libraries:/" ;;
8646 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8647 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8648 # if the path contains ";" then we assume it to be the separator
8649 # otherwise default to the standard path separator (i.e. ":") - it is
8650 # assumed that no part of a normal pathname contains ";" but that should
8651 # okay in the real world where ";" in dirpaths is itself problematic.
8652 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8654 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8656 # Ok, now we have the path, separated by spaces, we can step through it
8657 # and add multilib dir if necessary.
8658 lt_tmp_lt_search_path_spec
=
8659 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8660 for lt_sys_path
in $lt_search_path_spec; do
8661 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8662 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8664 test -d "$lt_sys_path" && \
8665 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8668 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8669 BEGIN {RS=" "; FS="/|\n";} {
8672 for (lt_i = NF; lt_i > 0; lt_i--) {
8673 if ($lt_i != "" && $lt_i != ".") {
8674 if ($lt_i == "..") {
8677 if (lt_count == 0) {
8678 lt_foo="/" $lt_i lt_foo;
8685 if (lt_foo != "") { lt_freq[lt_foo]++; }
8686 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8688 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8690 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8693 libname_spec
='lib$name'
8701 shlibpath_overrides_runpath
=unknown
8703 dynamic_linker
="$host_os ld.so"
8704 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8705 need_lib_prefix
=unknown
8706 hardcode_into_libs
=no
8708 # when you set need_version to no, make sure it does not cause -set_version
8709 # flags to be left without arguments
8710 need_version
=unknown
8715 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8716 shlibpath_var
=LIBPATH
8718 # AIX 3 has no versioning support, so we append a major version to the name.
8719 soname_spec
='${libname}${release}${shared_ext}$major'
8726 hardcode_into_libs
=yes
8727 if test "$host_cpu" = ia64
; then
8728 # AIX 5 supports IA64
8729 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8730 shlibpath_var
=LD_LIBRARY_PATH
8732 # With GCC up to 2.95.x, collect2 would create an import file
8733 # for dependence libraries. The import file would start with
8734 # the line `#! .'. This would cause the generated library to
8735 # depend on `.', always an invalid library. This was fixed in
8736 # development snapshots of GCC prior to 3.0.
8738 aix4
| aix4.
[01] | aix4.
[01].
*)
8739 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8741 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8748 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8749 # soname into executable. Probably we can add versioning support to
8750 # collect2, so additional links can be useful in future.
8751 if test "$aix_use_runtimelinking" = yes; then
8752 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8753 # instead of lib<name>.a to let people know that these are not
8754 # typical AIX shared libraries.
8755 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8757 # We preserve .a as extension for shared libraries through AIX4.2
8758 # and later when we are not doing run time linking.
8759 library_names_spec
='${libname}${release}.a $libname.a'
8760 soname_spec
='${libname}${release}${shared_ext}$major'
8762 shlibpath_var
=LIBPATH
8769 # Since July 2007 AmigaOS4 officially supports .so libraries.
8770 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8774 library_names_spec
='$libname.ixlibrary $libname.a'
8775 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8776 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'
8782 library_names_spec
='${libname}${shared_ext}'
8783 dynamic_linker
="$host_os ld.so"
8784 shlibpath_var
=LIBRARY_PATH
8790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8791 soname_spec
='${libname}${release}${shared_ext}$major'
8792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8793 shlibpath_var
=LD_LIBRARY_PATH
8794 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8795 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8796 # the default ld.so.conf also contains /usr/contrib/lib and
8797 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8798 # libtool to hard-code these into programs
8801 cygwin
* | mingw
* | pw32
* | cegcc
*)
8802 version_type
=windows
8807 case $GCC,$host_os in
8808 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8809 library_names_spec
='$libname.dll.a'
8810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8811 postinstall_cmds
='base_file=`basename \${file}`~
8812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8813 dldir=$destdir/`dirname \$dlpath`~
8814 test -d \$dldir || mkdir -p \$dldir~
8815 $install_prog $dir/$dlname \$dldir/$dlname~
8816 chmod a+x \$dldir/$dlname~
8817 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8818 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8820 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8821 dlpath=$dir/\$dldll~
8823 shlibpath_overrides_runpath
=yes
8827 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8828 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8829 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8832 # MinGW DLLs use traditional 'lib' prefix
8833 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8834 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8835 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8836 # It is most probably a Windows format PATH printed by
8837 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8838 # path with ; separators, and with drive letters. We can handle the
8839 # drive letters (cygwin fileutils understands them), so leave them,
8840 # especially as we might pass files found there to a mingw objdump,
8841 # which wouldn't understand a cygwinified path. Ahh.
8842 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8844 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8848 # pw32 DLLs use 'pw' prefix rather than 'lib'
8849 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8855 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8858 dynamic_linker
='Win32 ld.exe'
8859 # FIXME: first we should search . and the directory the executable is in
8863 darwin
* | rhapsody
*)
8864 dynamic_linker
="$host_os dyld"
8868 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8869 soname_spec
='${libname}${release}${major}$shared_ext'
8870 shlibpath_overrides_runpath
=yes
8871 shlibpath_var
=DYLD_LIBRARY_PATH
8872 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8874 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8875 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8883 soname_spec
='${libname}${release}${shared_ext}$major'
8884 shlibpath_var
=LD_LIBRARY_PATH
8891 freebsd
* | dragonfly
*)
8892 # DragonFly does not have aout. When/if they implement a new
8893 # versioning mechanism, adjust this.
8894 if test -x /usr
/bin
/objformat
; then
8895 objformat
=`/usr/bin/objformat`
8898 freebsd
[123]*) objformat
=aout
;;
8902 version_type
=freebsd
-$objformat
8903 case $version_type in
8905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8910 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8914 shlibpath_var
=LD_LIBRARY_PATH
8917 shlibpath_overrides_runpath
=yes
8919 freebsd3.
[01]* | freebsdelf3.
[01]*)
8920 shlibpath_overrides_runpath
=yes
8921 hardcode_into_libs
=yes
8923 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8924 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8925 shlibpath_overrides_runpath
=no
8926 hardcode_into_libs
=yes
8928 *) # from 4.6 on, and DragonFly
8929 shlibpath_overrides_runpath
=yes
8930 hardcode_into_libs
=yes
8939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8940 soname_spec
='${libname}${release}${shared_ext}$major'
8941 shlibpath_var
=LD_LIBRARY_PATH
8942 hardcode_into_libs
=yes
8945 hpux9
* | hpux10
* | hpux11
*)
8946 # Give a soname corresponding to the major version so that dld.sl refuses to
8947 # link against other versions.
8954 hardcode_into_libs
=yes
8955 dynamic_linker
="$host_os dld.so"
8956 shlibpath_var
=LD_LIBRARY_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 if test "X$HPUX_IA64_MODE" = X32
; then
8961 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8963 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8965 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8969 hardcode_into_libs
=yes
8970 dynamic_linker
="$host_os dld.sl"
8971 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8972 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8974 soname_spec
='${libname}${release}${shared_ext}$major'
8975 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8976 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8980 dynamic_linker
="$host_os dld.sl"
8981 shlibpath_var
=SHLIB_PATH
8982 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8984 soname_spec
='${libname}${release}${shared_ext}$major'
8987 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8988 postinstall_cmds
='chmod 555 $lib'
8995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8996 soname_spec
='${libname}${release}${shared_ext}$major'
8997 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8998 shlibpath_var
=LD_LIBRARY_PATH
8999 shlibpath_overrides_runpath
=no
9000 hardcode_into_libs
=yes
9003 irix5
* | irix6
* | nonstopux
*)
9005 nonstopux
*) version_type
=nonstopux
;;
9007 if test "$lt_cv_prog_gnu_ld" = yes; then
9015 soname_spec
='${libname}${release}${shared_ext}$major'
9016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9018 irix5
* | nonstopux
*)
9022 case $LD in # libtool.m4 will add one of these switches to LD
9023 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9024 libsuff
= shlibsuff
= libmagic
=32-bit;;
9025 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9026 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9027 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9028 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9029 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9033 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9034 shlibpath_overrides_runpath
=no
9035 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9036 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9037 hardcode_into_libs
=yes
9040 # No shared lib support for Linux oldld, aout, or coff.
9041 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9045 # This must be Linux ELF.
9046 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9051 soname_spec
='${libname}${release}${shared_ext}$major'
9052 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9053 shlibpath_var
=LD_LIBRARY_PATH
9054 shlibpath_overrides_runpath
=no
9055 # Some binutils ld are patched to set DT_RUNPATH
9056 save_LDFLAGS
=$LDFLAGS
9058 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9059 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9061 /* end confdefs.h. */
9071 if ac_fn_c_try_link
"$LINENO"; then :
9072 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9073 shlibpath_overrides_runpath
=yes
9076 rm -f core conftest.err conftest.
$ac_objext \
9077 conftest
$ac_exeext conftest.
$ac_ext
9078 LDFLAGS
=$save_LDFLAGS
9081 # This implies no fast_install, which is unacceptable.
9082 # Some rework will be needed to allow for fast_install
9083 # before this can be enabled.
9084 hardcode_into_libs
=yes
9086 # Append ld.so.conf contents to the search path
9087 if test -f /etc
/ld.so.conf
; then
9088 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' ' '`
9089 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9092 # We used to test for /lib/ld.so.1 and disable shared libraries on
9093 # powerpc, because MkLinux only supported shared libraries with the
9094 # GNU dynamic linker. Since this was broken with cross compilers,
9095 # most powerpc-linux boxes support dynamic linking these days and
9096 # people can always --disable-shared, the test was removed, and we
9097 # assume the GNU/Linux dynamic linker is in use.
9098 dynamic_linker
='GNU/Linux ld.so'
9105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9106 soname_spec
='${libname}${release}${shared_ext}$major'
9107 shlibpath_var
=LD_LIBRARY_PATH
9108 shlibpath_overrides_runpath
=no
9109 hardcode_into_libs
=yes
9110 dynamic_linker
='NetBSD ld.elf_so'
9117 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9119 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9120 dynamic_linker
='NetBSD (a.out) ld.so'
9122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9123 soname_spec
='${libname}${release}${shared_ext}$major'
9124 dynamic_linker
='NetBSD ld.elf_so'
9126 shlibpath_var
=LD_LIBRARY_PATH
9127 shlibpath_overrides_runpath
=yes
9128 hardcode_into_libs
=yes
9133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9134 shlibpath_var
=LD_LIBRARY_PATH
9135 shlibpath_overrides_runpath
=yes
9142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9143 soname_spec
='${libname}${release}${shared_ext}$major'
9144 shlibpath_var
=LD_LIBRARY_PATH
9145 shlibpath_overrides_runpath
=no
9146 hardcode_into_libs
=yes
9147 dynamic_linker
='ldqnx.so'
9152 sys_lib_dlsearch_path_spec
="/usr/lib"
9154 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9156 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9157 *) need_version
=no
;;
9159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9160 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9161 shlibpath_var
=LD_LIBRARY_PATH
9162 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9164 openbsd2.
[89] | openbsd2.
[89].
*)
9165 shlibpath_overrides_runpath
=no
9168 shlibpath_overrides_runpath
=yes
9172 shlibpath_overrides_runpath
=yes
9177 libname_spec
='$name'
9180 library_names_spec
='$libname${shared_ext} $libname.a'
9181 dynamic_linker
='OS/2 ld.exe'
9182 shlibpath_var
=LIBPATH
9185 osf3
* | osf4
* | osf5
*)
9189 soname_spec
='${libname}${release}${shared_ext}$major'
9190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9191 shlibpath_var
=LD_LIBRARY_PATH
9192 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9193 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9205 soname_spec
='${libname}${release}${shared_ext}$major'
9206 shlibpath_var
=LD_LIBRARY_PATH
9207 shlibpath_overrides_runpath
=yes
9208 hardcode_into_libs
=yes
9209 # ldd complains unless libraries are executable
9210 postinstall_cmds
='chmod +x $lib'
9215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9216 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9217 shlibpath_var
=LD_LIBRARY_PATH
9218 shlibpath_overrides_runpath
=yes
9219 if test "$with_gnu_ld" = yes; then
9227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9228 soname_spec
='${libname}${release}${shared_ext}$major'
9229 shlibpath_var
=LD_LIBRARY_PATH
9230 case $host_vendor in
9232 shlibpath_overrides_runpath
=no
9234 runpath_var
=LD_RUN_PATH
9242 shlibpath_overrides_runpath
=no
9243 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9249 if test -d /usr
/nec
;then
9251 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9252 soname_spec
='$libname${shared_ext}.$major'
9253 shlibpath_var
=LD_LIBRARY_PATH
9257 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9258 version_type
=freebsd
-elf
9261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9262 soname_spec
='${libname}${release}${shared_ext}$major'
9263 shlibpath_var
=LD_LIBRARY_PATH
9264 shlibpath_overrides_runpath
=yes
9265 hardcode_into_libs
=yes
9266 if test "$with_gnu_ld" = yes; then
9267 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9269 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9272 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9276 sys_lib_dlsearch_path_spec
='/usr/lib'
9280 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9284 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9285 shlibpath_var
=LD_LIBRARY_PATH
9286 shlibpath_overrides_runpath
=no
9287 hardcode_into_libs
=yes
9292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9293 soname_spec
='${libname}${release}${shared_ext}$major'
9294 shlibpath_var
=LD_LIBRARY_PATH
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9302 $as_echo "$dynamic_linker" >&6; }
9303 test "$dynamic_linker" = no
&& can_build_shared
=no
9305 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9306 if test "$GCC" = yes; then
9307 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9310 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9311 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9313 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9314 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9404 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9406 if test -n "$hardcode_libdir_flag_spec" ||
9407 test -n "$runpath_var" ||
9408 test "X$hardcode_automatic" = "Xyes" ; then
9410 # We can hardcode non-existent directories.
9411 if test "$hardcode_direct" != no
&&
9412 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9413 # have to relink, otherwise we might link with an installed library
9414 # when we should be linking with a yet-to-be-installed one
9415 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9416 test "$hardcode_minus_L" != no
; then
9417 # Linking always hardcodes the temporary library directory.
9418 hardcode_action
=relink
9420 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9421 hardcode_action
=immediate
9424 # We cannot hardcode anything, or else we can only hardcode existing
9426 hardcode_action
=unsupported
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9429 $as_echo "$hardcode_action" >&6; }
9431 if test "$hardcode_action" = relink
||
9432 test "$inherit_rpath" = yes; then
9433 # Fast installation is not supported
9434 enable_fast_install
=no
9435 elif test "$shlibpath_overrides_runpath" = yes ||
9436 test "$enable_shared" = no
; then
9437 # Fast installation is not necessary
9438 enable_fast_install
=needless
9446 if test "x$enable_dlopen" != xyes
; then
9447 enable_dlopen
=unknown
9448 enable_dlopen_self
=unknown
9449 enable_dlopen_self_static
=unknown
9456 lt_cv_dlopen
="load_add_on"
9458 lt_cv_dlopen_self
=yes
9461 mingw
* | pw32
* | cegcc
*)
9462 lt_cv_dlopen
="LoadLibrary"
9467 lt_cv_dlopen
="dlopen"
9472 # if libdl is installed we need to link against it
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9474 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9475 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9476 $as_echo_n "(cached) " >&6
9478 ac_check_lib_save_LIBS
=$LIBS
9480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9498 if ac_fn_c_try_link
"$LINENO"; then :
9499 ac_cv_lib_dl_dlopen
=yes
9501 ac_cv_lib_dl_dlopen
=no
9503 rm -f core conftest.err conftest.
$ac_objext \
9504 conftest
$ac_exeext conftest.
$ac_ext
9505 LIBS
=$ac_check_lib_save_LIBS
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9508 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9509 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9510 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9515 lt_cv_dlopen_self
=yes
9522 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9523 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9524 lt_cv_dlopen
="shl_load"
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9527 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9528 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9529 $as_echo_n "(cached) " >&6
9531 ac_check_lib_save_LIBS
=$LIBS
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9551 if ac_fn_c_try_link
"$LINENO"; then :
9552 ac_cv_lib_dld_shl_load
=yes
9554 ac_cv_lib_dld_shl_load
=no
9556 rm -f core conftest.err conftest.
$ac_objext \
9557 conftest
$ac_exeext conftest.
$ac_ext
9558 LIBS
=$ac_check_lib_save_LIBS
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9561 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9562 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9563 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9565 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9566 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9567 lt_cv_dlopen
="dlopen"
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9570 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9571 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9572 $as_echo_n "(cached) " >&6
9574 ac_check_lib_save_LIBS
=$LIBS
9576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9594 if ac_fn_c_try_link
"$LINENO"; then :
9595 ac_cv_lib_dl_dlopen
=yes
9597 ac_cv_lib_dl_dlopen
=no
9599 rm -f core conftest.err conftest.
$ac_objext \
9600 conftest
$ac_exeext conftest.
$ac_ext
9601 LIBS
=$ac_check_lib_save_LIBS
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9604 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9605 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9606 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9609 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9610 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9611 $as_echo_n "(cached) " >&6
9613 ac_check_lib_save_LIBS
=$LIBS
9615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9633 if ac_fn_c_try_link
"$LINENO"; then :
9634 ac_cv_lib_svld_dlopen
=yes
9636 ac_cv_lib_svld_dlopen
=no
9638 rm -f core conftest.err conftest.
$ac_objext \
9639 conftest
$ac_exeext conftest.
$ac_ext
9640 LIBS
=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9643 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9644 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9645 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9648 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9649 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9650 $as_echo_n "(cached) " >&6
9652 ac_check_lib_save_LIBS
=$LIBS
9654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9657 /* Override any GCC internal prototype to avoid an error.
9658 Use char because int might match the return type of a GCC
9659 builtin and then its argument prototype would still apply. */
9672 if ac_fn_c_try_link
"$LINENO"; then :
9673 ac_cv_lib_dld_dld_link
=yes
9675 ac_cv_lib_dld_dld_link
=no
9677 rm -f core conftest.err conftest.
$ac_objext \
9678 conftest
$ac_exeext conftest.
$ac_ext
9679 LIBS
=$ac_check_lib_save_LIBS
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9682 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9683 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9684 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9705 if test "x$lt_cv_dlopen" != xno
; then
9711 case $lt_cv_dlopen in
9713 save_CPPFLAGS
="$CPPFLAGS"
9714 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9716 save_LDFLAGS
="$LDFLAGS"
9717 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9720 LIBS
="$lt_cv_dlopen_libs $LIBS"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9723 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9724 if test "${lt_cv_dlopen_self+set}" = set; then :
9725 $as_echo_n "(cached) " >&6
9727 if test "$cross_compiling" = yes; then :
9728 lt_cv_dlopen_self
=cross
9730 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9731 lt_status
=$lt_dlunknown
9732 cat > conftest.
$ac_ext <<_LT_EOF
9733 #line 9733 "configure"
9734 #include "confdefs.h"
9743 # define LT_DLGLOBAL RTLD_GLOBAL
9746 # define LT_DLGLOBAL DL_GLOBAL
9748 # define LT_DLGLOBAL 0
9752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9753 find out it does not work in some platform. */
9754 #ifndef LT_DLLAZY_OR_NOW
9756 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9759 # define LT_DLLAZY_OR_NOW DL_LAZY
9762 # define LT_DLLAZY_OR_NOW RTLD_NOW
9765 # define LT_DLLAZY_OR_NOW DL_NOW
9767 # define LT_DLLAZY_OR_NOW 0
9774 void fnord() { int i=42;}
9777 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9778 int status = $lt_dlunknown;
9782 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9783 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9784 /* dlclose (self); */
9792 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9793 (eval $ac_link) 2>&5
9795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9796 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9797 (.
/conftest
; exit; ) >&5 2>/dev
/null
9800 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9801 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9802 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9805 # compilation failed
9806 lt_cv_dlopen_self
=no
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9814 $as_echo "$lt_cv_dlopen_self" >&6; }
9816 if test "x$lt_cv_dlopen_self" = xyes
; then
9817 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9819 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9820 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9823 if test "$cross_compiling" = yes; then :
9824 lt_cv_dlopen_self_static
=cross
9826 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9827 lt_status
=$lt_dlunknown
9828 cat > conftest.
$ac_ext <<_LT_EOF
9829 #line 9829 "configure"
9830 #include "confdefs.h"
9839 # define LT_DLGLOBAL RTLD_GLOBAL
9842 # define LT_DLGLOBAL DL_GLOBAL
9844 # define LT_DLGLOBAL 0
9848 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9849 find out it does not work in some platform. */
9850 #ifndef LT_DLLAZY_OR_NOW
9852 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9855 # define LT_DLLAZY_OR_NOW DL_LAZY
9858 # define LT_DLLAZY_OR_NOW RTLD_NOW
9861 # define LT_DLLAZY_OR_NOW DL_NOW
9863 # define LT_DLLAZY_OR_NOW 0
9870 void fnord() { int i=42;}
9873 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9874 int status = $lt_dlunknown;
9878 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9879 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9880 /* dlclose (self); */
9888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9889 (eval $ac_link) 2>&5
9891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9892 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9893 (.
/conftest
; exit; ) >&5 2>/dev
/null
9896 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9897 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9898 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9901 # compilation failed
9902 lt_cv_dlopen_self_static
=no
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9910 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9913 CPPFLAGS
="$save_CPPFLAGS"
9914 LDFLAGS
="$save_LDFLAGS"
9919 case $lt_cv_dlopen_self in
9920 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9921 *) enable_dlopen_self
=unknown
;;
9924 case $lt_cv_dlopen_self_static in
9925 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9926 *) enable_dlopen_self_static
=unknown
;;
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9949 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9950 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9951 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9952 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9954 $as_echo "yes" >&6; }
9956 # FIXME - insert some real tests, host_os isn't really good enough
9959 if test -n "$STRIP" ; then
9960 striplib
="$STRIP -x"
9961 old_striplib
="$STRIP -S"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9963 $as_echo "yes" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9966 $as_echo "no" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9971 $as_echo "no" >&6; }
9987 # Report which library types will actually be built
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9989 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9991 $as_echo "$can_build_shared" >&6; }
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9994 $as_echo_n "checking whether to build shared libraries... " >&6; }
9995 test "$can_build_shared" = "no" && enable_shared
=no
9997 # On AIX, shared libraries and static libraries use the same namespace, and
9998 # are all built from PIC.
10001 test "$enable_shared" = yes && enable_static
=no
10002 if test -n "$RANLIB"; then
10003 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10004 postinstall_cmds
='$RANLIB $lib'
10009 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10010 test "$enable_shared" = yes && enable_static
=no
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10015 $as_echo "$enable_shared" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10018 $as_echo_n "checking whether to build static libraries... " >&6; }
10019 # Make sure either enable_shared or enable_static is yes.
10020 test "$enable_shared" = yes || enable_static
=yes
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10022 $as_echo "$enable_static" >&6; }
10029 ac_cpp
='$CPP $CPPFLAGS'
10030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10048 ac_config_commands
="$ac_config_commands libtool"
10053 # Only expand once:
10058 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10059 if test -n "$ac_tool_prefix"; then
10060 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10061 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10063 $as_echo_n "checking for $ac_word... " >&6; }
10064 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10065 $as_echo_n "(cached) " >&6
10067 case $PKG_CONFIG in
10069 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10073 for as_dir
in $PATH
10076 test -z "$as_dir" && as_dir
=.
10077 for ac_exec_ext
in '' $ac_executable_extensions; do
10078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10079 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10091 if test -n "$PKG_CONFIG"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10093 $as_echo "$PKG_CONFIG" >&6; }
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10096 $as_echo "no" >&6; }
10101 if test -z "$ac_cv_path_PKG_CONFIG"; then
10102 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10103 # Extract the first word of "pkg-config", so it can be a program name with args.
10104 set dummy pkg
-config; ac_word
=$2
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10106 $as_echo_n "checking for $ac_word... " >&6; }
10107 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10108 $as_echo_n "(cached) " >&6
10110 case $ac_pt_PKG_CONFIG in
10112 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10116 for as_dir
in $PATH
10119 test -z "$as_dir" && as_dir
=.
10120 for ac_exec_ext
in '' $ac_executable_extensions; do
10121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10122 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10133 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10134 if test -n "$ac_pt_PKG_CONFIG"; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10136 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10139 $as_echo "no" >&6; }
10142 if test "x$ac_pt_PKG_CONFIG" = x
; then
10145 case $cross_compiling:$ac_tool_warned in
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10149 ac_tool_warned
=yes ;;
10151 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10154 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10158 if test -n "$PKG_CONFIG"; then
10159 _pkg_min_version
=0.22
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10161 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10162 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10164 $as_echo "yes" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10167 $as_echo "no" >&6; }
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10173 $as_echo_n "checking for GNU make... " >&6; }
10174 if test "${_cv_gnu_make_command+set}" = set; then :
10175 $as_echo_n "(cached) " >&6
10177 _cv_gnu_make_command
='' ;
10178 for a
in "$MAKE" make gmake gnumake
; do
10179 if test -z "$a" ; then continue ; fi ;
10180 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10181 _cv_gnu_make_command
=$a ;
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10188 $as_echo "$_cv_gnu_make_command" >&6; } ;
10189 if test "x$_cv_gnu_make_command" != "x" ; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10194 $as_echo "\"Not found\"" >&6; };
10198 GMAKE
=$_cv_gnu_make_command
10200 if test "x$GMAKE" = x
; then :
10201 as_fn_error
"You need GNU make" "$LINENO" 5
10204 ac_cpp
='$CXXCPP $CPPFLAGS'
10205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10208 if test -z "$CXX"; then
10209 if test -n "$CCC"; then
10212 if test -n "$ac_tool_prefix"; then
10213 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10216 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10218 $as_echo_n "checking for $ac_word... " >&6; }
10219 if test "${ac_cv_prog_CXX+set}" = set; then :
10220 $as_echo_n "(cached) " >&6
10222 if test -n "$CXX"; then
10223 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10226 for as_dir
in $PATH
10229 test -z "$as_dir" && as_dir
=.
10230 for ac_exec_ext
in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 CXX
=$ac_cv_prog_CXX
10243 if test -n "$CXX"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10245 $as_echo "$CXX" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10252 test -n "$CXX" && break
10255 if test -z "$CXX"; then
10257 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10259 # Extract the first word of "$ac_prog", so it can be a program name with args.
10260 set dummy
$ac_prog; ac_word
=$2
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10262 $as_echo_n "checking for $ac_word... " >&6; }
10263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10266 if test -n "$ac_ct_CXX"; then
10267 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10270 for as_dir
in $PATH
10273 test -z "$as_dir" && as_dir
=.
10274 for ac_exec_ext
in '' $ac_executable_extensions; do
10275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10276 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10287 if test -n "$ac_ct_CXX"; then
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10289 $as_echo "$ac_ct_CXX" >&6; }
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10292 $as_echo "no" >&6; }
10296 test -n "$ac_ct_CXX" && break
10299 if test "x$ac_ct_CXX" = x
; then
10302 case $cross_compiling:$ac_tool_warned in
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10306 ac_tool_warned
=yes ;;
10314 # Provide some information about the compiler.
10315 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10318 for ac_option
in --version -v -V -qversion; do
10319 { { ac_try
="$ac_compiler $ac_option >&5"
10320 case "(($ac_try" in
10321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10322 *) ac_try_echo=$ac_try;;
10324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10325 $as_echo "$ac_try_echo"; } >&5
10326 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10328 if test -s conftest.err; then
10330 ... rest of stderr output deleted ...
10331 10q' conftest.err >conftest.er1
10332 cat conftest.er1 >&5
10334 rm -f conftest.er1 conftest.err
10335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10336 test $ac_status = 0; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10340 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10341 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10342 $as_echo_n "(cached) " >&6
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10358 if ac_fn_cxx_try_compile "$LINENO"; then :
10359 ac_compiler_gnu=yes
10363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10364 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10368 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10369 if test $ac_compiler_gnu = yes; then
10374 ac_test_CXXFLAGS=${CXXFLAGS+set}
10375 ac_save_CXXFLAGS=$CXXFLAGS
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10377 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10378 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10379 $as_echo_n "(cached) " >&6
10381 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10382 ac_cxx_werror_flag=yes
10383 ac_cv_prog_cxx_g=no
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10396 if ac_fn_cxx_try_compile "$LINENO"; then :
10397 ac_cv_prog_cxx_g=yes
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10411 if ac_fn_cxx_try_compile "$LINENO"; then :
10414 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10427 if ac_fn_cxx_try_compile "$LINENO"; then :
10428 ac_cv_prog_cxx_g=yes
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10435 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10438 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10439 if test "$ac_test_CXXFLAGS" = set; then
10440 CXXFLAGS=$ac_save_CXXFLAGS
10441 elif test $ac_cv_prog_cxx_g = yes; then
10442 if test "$GXX" = yes; then
10448 if test "$GXX" = yes; then
10455 ac_cpp='$CPP $CPPFLAGS'
10456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10462 ac_cpp='$CXXCPP $CPPFLAGS'
10463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10466 if test -z "$CXX"; then
10467 if test -n "$CCC"; then
10470 if test -n "$ac_tool_prefix"; then
10471 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10476 $as_echo_n "checking for $ac_word... " >&6; }
10477 if test "${ac_cv_prog_CXX+set}" = set; then :
10478 $as_echo_n "(cached) " >&6
10480 if test -n "$CXX"; then
10481 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10484 for as_dir in $PATH
10487 test -z "$as_dir" && as_dir=.
10488 for ac_exec_ext in '' $ac_executable_extensions; do
10489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10490 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10500 CXX=$ac_cv_prog_CXX
10501 if test -n "$CXX"; then
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10503 $as_echo "$CXX" >&6; }
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10506 $as_echo "no" >&6; }
10510 test -n "$CXX" && break
10513 if test -z "$CXX"; then
10515 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10517 # Extract the first word of "$ac_prog", so it can be a program name with args.
10518 set dummy $ac_prog; ac_word=$2
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10520 $as_echo_n "checking for $ac_word... " >&6; }
10521 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10522 $as_echo_n "(cached) " >&6
10524 if test -n "$ac_ct_CXX"; then
10525 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10531 test -z "$as_dir" && as_dir=.
10532 for ac_exec_ext in '' $ac_executable_extensions; do
10533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10534 ac_cv_prog_ac_ct_CXX="$ac_prog"
10535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10544 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10545 if test -n "$ac_ct_CXX"; then
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10547 $as_echo "$ac_ct_CXX" >&6; }
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10550 $as_echo "no" >&6; }
10554 test -n "$ac_ct_CXX" && break
10557 if test "x$ac_ct_CXX" = x; then
10560 case $cross_compiling:$ac_tool_warned in
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10564 ac_tool_warned=yes ;;
10572 # Provide some information about the compiler.
10573 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10576 for ac_option in --version -v -V -qversion; do
10577 { { ac_try="$ac_compiler $ac_option >&5"
10578 case "(($ac_try" in
10579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10580 *) ac_try_echo
=$ac_try;;
10582 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10583 $as_echo "$ac_try_echo"; } >&5
10584 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10586 if test -s conftest.err
; then
10588 ... rest of stderr output deleted ...
10589 10q' conftest.err
>conftest.er1
10590 cat conftest.er1
>&5
10592 rm -f conftest.er1 conftest.err
10593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10594 test $ac_status = 0; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10598 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10599 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10600 $as_echo_n "(cached) " >&6
10602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10616 if ac_fn_cxx_try_compile
"$LINENO"; then :
10617 ac_compiler_gnu
=yes
10621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10622 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10626 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10627 if test $ac_compiler_gnu = yes; then
10632 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10633 ac_save_CXXFLAGS
=$CXXFLAGS
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10635 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10636 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10640 ac_cxx_werror_flag
=yes
10641 ac_cv_prog_cxx_g
=no
10643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10644 /* end confdefs.h. */
10654 if ac_fn_cxx_try_compile
"$LINENO"; then :
10655 ac_cv_prog_cxx_g
=yes
10658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10669 if ac_fn_cxx_try_compile
"$LINENO"; then :
10672 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h. */
10685 if ac_fn_cxx_try_compile
"$LINENO"; then :
10686 ac_cv_prog_cxx_g
=yes
10688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10693 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10696 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10697 if test "$ac_test_CXXFLAGS" = set; then
10698 CXXFLAGS
=$ac_save_CXXFLAGS
10699 elif test $ac_cv_prog_cxx_g = yes; then
10700 if test "$GXX" = yes; then
10706 if test "$GXX" = yes; then
10713 ac_cpp
='$CPP $CPPFLAGS'
10714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10718 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10719 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10720 (test "X$CXX" != "Xg++"))) ; then
10722 ac_cpp
='$CXXCPP $CPPFLAGS'
10723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10727 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10728 if test -z "$CXXCPP"; then
10729 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10730 $as_echo_n "(cached) " >&6
10732 # Double quotes because CXXCPP needs to be expanded
10733 for CXXCPP
in "$CXX -E" "/lib/cpp"
10735 ac_preproc_ok
=false
10736 for ac_cxx_preproc_warn_flag
in '' yes
10738 # Use a header file that comes with gcc, so configuring glibc
10739 # with a fresh cross-compiler works.
10740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10741 # <limits.h> exists even on freestanding compilers.
10742 # On the NeXT, cc -E runs the code through the compiler's parser,
10743 # not just through cpp. "Syntax error" is here to catch this case.
10744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10747 # include <limits.h>
10749 # include <assert.h>
10753 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10756 # Broken: fails on valid input.
10759 rm -f conftest.err conftest.
$ac_ext
10761 # OK, works on sane cases. Now check whether nonexistent headers
10762 # can be detected and how.
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 #include <ac_nonexistent.h>
10767 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10768 # Broken: success on invalid input.
10771 # Passes both tests.
10775 rm -f conftest.err conftest.
$ac_ext
10778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10779 rm -f conftest.err conftest.
$ac_ext
10780 if $ac_preproc_ok; then :
10785 ac_cv_prog_CXXCPP
=$CXXCPP
10788 CXXCPP
=$ac_cv_prog_CXXCPP
10790 ac_cv_prog_CXXCPP
=$CXXCPP
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10793 $as_echo "$CXXCPP" >&6; }
10794 ac_preproc_ok
=false
10795 for ac_cxx_preproc_warn_flag
in '' yes
10797 # Use a header file that comes with gcc, so configuring glibc
10798 # with a fresh cross-compiler works.
10799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10800 # <limits.h> exists even on freestanding compilers.
10801 # On the NeXT, cc -E runs the code through the compiler's parser,
10802 # not just through cpp. "Syntax error" is here to catch this case.
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 # include <limits.h>
10808 # include <assert.h>
10812 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10815 # Broken: fails on valid input.
10818 rm -f conftest.err conftest.
$ac_ext
10820 # OK, works on sane cases. Now check whether nonexistent headers
10821 # can be detected and how.
10822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10824 #include <ac_nonexistent.h>
10826 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10827 # Broken: success on invalid input.
10830 # Passes both tests.
10834 rm -f conftest.err conftest.
$ac_ext
10837 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10838 rm -f conftest.err conftest.
$ac_ext
10839 if $ac_preproc_ok; then :
10842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10844 _lt_caught_CXX_error
=yes; }
10848 ac_cpp
='$CPP $CPPFLAGS'
10849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10854 _lt_caught_CXX_error
=yes
10861 ac_cpp
='$CXXCPP $CPPFLAGS'
10862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10866 archive_cmds_need_lc_CXX
=no
10867 allow_undefined_flag_CXX
=
10868 always_export_symbols_CXX
=no
10869 archive_expsym_cmds_CXX
=
10870 compiler_needs_object_CXX
=no
10871 export_dynamic_flag_spec_CXX
=
10872 hardcode_direct_CXX
=no
10873 hardcode_direct_absolute_CXX
=no
10874 hardcode_libdir_flag_spec_CXX
=
10875 hardcode_libdir_flag_spec_ld_CXX
=
10876 hardcode_libdir_separator_CXX
=
10877 hardcode_minus_L_CXX
=no
10878 hardcode_shlibpath_var_CXX
=unsupported
10879 hardcode_automatic_CXX
=no
10880 inherit_rpath_CXX
=no
10882 module_expsym_cmds_CXX
=
10883 link_all_deplibs_CXX
=unknown
10884 old_archive_cmds_CXX
=$old_archive_cmds
10885 no_undefined_flag_CXX
=
10886 whole_archive_flag_spec_CXX
=
10887 enable_shared_with_static_runtimes_CXX
=no
10889 # Source file extension for C++ test sources.
10892 # Object file extension for compiled C++ test sources.
10896 # No sense in running all these tests if we already determined that
10897 # the CXX compiler isn't working. Some variables (like enable_shared)
10898 # are currently assumed to apply to all compilers on this platform,
10899 # and will be corrupted by setting them based on a non-working compiler.
10900 if test "$_lt_caught_CXX_error" != yes; then
10901 # Code to be used in simple compile tests
10902 lt_simple_compile_test_code
="int some_variable = 0;"
10904 # Code to be used in simple link tests
10905 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10907 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10914 # If no C compiler was specified, use CC.
10917 # If no C compiler flags were specified, use CFLAGS.
10918 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10920 # Allow CC to be a program name with arguments.
10924 # save warnings/boilerplate of simple test code
10925 ac_outfile
=conftest.
$ac_objext
10926 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10927 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10928 _lt_compiler_boilerplate
=`cat conftest.err`
10931 ac_outfile
=conftest.
$ac_objext
10932 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10933 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10934 _lt_linker_boilerplate
=`cat conftest.err`
10938 # Allow CC to be a program name with arguments.
10943 lt_save_with_gnu_ld
=$with_gnu_ld
10944 lt_save_path_LD
=$lt_cv_path_LD
10945 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10946 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10948 $as_unset lt_cv_prog_gnu_ld
10950 if test -n "${lt_cv_path_LDCXX+set}"; then
10951 lt_cv_path_LD
=$lt_cv_path_LDCXX
10953 $as_unset lt_cv_path_LD
10955 test -z "${LDCXX+set}" || LD
=$LDCXX
10959 for cc_temp
in $compiler""; do
10961 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10962 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10967 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10970 if test -n "$compiler"; then
10971 # We don't want -fno-exception when compiling C++ code, so set the
10972 # no_builtin_flag separately
10973 if test "$GXX" = yes; then
10974 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10976 lt_prog_compiler_no_builtin_flag_CXX
=
10979 if test "$GXX" = yes; then
10980 # Set up default GNU C++ configuration
10984 # Check whether --with-gnu-ld was given.
10985 if test "${with_gnu_ld+set}" = set; then :
10986 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10992 if test "$GCC" = yes; then
10993 # Check if gcc -print-prog-name=ld gives a path.
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10995 $as_echo_n "checking for ld used by $CC... " >&6; }
10998 # gcc leaves a trailing carriage return which upsets mingw
10999 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11001 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11004 # Accept absolute paths.
11006 re_direlt
='/[^/][^/]*/\.\./'
11007 # Canonicalize the pathname of ld
11008 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11009 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11010 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11012 test -z "$LD" && LD
="$ac_prog"
11015 # If it fails, then pretend we aren't using GCC.
11019 # If it is relative, then search for the first ld in PATH.
11020 with_gnu_ld
=unknown
11023 elif test "$with_gnu_ld" = yes; then
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11025 $as_echo_n "checking for GNU ld... " >&6; }
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11028 $as_echo_n "checking for non-GNU ld... " >&6; }
11030 if test "${lt_cv_path_LD+set}" = set; then :
11031 $as_echo_n "(cached) " >&6
11033 if test -z "$LD"; then
11034 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11035 for ac_dir
in $PATH; do
11037 test -z "$ac_dir" && ac_dir
=.
11038 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11039 lt_cv_path_LD
="$ac_dir/$ac_prog"
11040 # Check to see if the program is GNU ld. I'd rather use --version,
11041 # but apparently some variants of GNU ld only accept -v.
11042 # Break only if it was the GNU/non-GNU ld that we prefer.
11043 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11044 *GNU
* | *'with BFD'*)
11045 test "$with_gnu_ld" != no
&& break
11048 test "$with_gnu_ld" != yes && break
11055 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11059 LD
="$lt_cv_path_LD"
11060 if test -n "$LD"; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11062 $as_echo "$LD" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11067 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11069 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11070 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11071 $as_echo_n "(cached) " >&6
11073 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11074 case `$LD -v 2>&1 </dev/null` in
11075 *GNU
* | *'with BFD'*)
11076 lt_cv_prog_gnu_ld
=yes
11079 lt_cv_prog_gnu_ld
=no
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11084 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11085 with_gnu_ld
=$lt_cv_prog_gnu_ld
11093 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11094 # archiving commands below assume that GNU ld is being used.
11095 if test "$with_gnu_ld" = yes; then
11096 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11097 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'
11099 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11100 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11102 # If archive_cmds runs LD, not CC, wlarc should be empty
11103 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11104 # investigate it a little bit more. (MM)
11107 # ancient GNU ld didn't support --whole-archive et. al.
11108 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11109 $GREP 'no-whole-archive' > /dev
/null
; then
11110 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11112 whole_archive_flag_spec_CXX
=
11118 # A generic and very simple default shared library creation
11119 # command for GNU C++ for the case where it uses the native
11120 # linker, instead of GNU ld. If possible, this setting should
11121 # overridden to take advantage of the native linker features on
11122 # the platform it is being used on.
11123 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11126 # Commands to make compiler produce verbose output that lists
11127 # what "hidden" libraries, object files and flags are used when
11128 # linking a shared library.
11129 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11137 # PORTME: fill in a description of your system's C++ link characteristics
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11139 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11143 # FIXME: insert proper C++ library support
11147 if test "$host_cpu" = ia64
; then
11148 # On IA64, the linker does run time linking by default, so we don't
11149 # have to do anything special.
11150 aix_use_runtimelinking
=no
11151 exp_sym_flag
='-Bexport'
11154 aix_use_runtimelinking
=no
11156 # Test if we are trying to use run time linking or normal
11157 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11158 # need to do runtime linking.
11159 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11160 for ld_flag
in $LDFLAGS; do
11163 aix_use_runtimelinking
=yes
11171 exp_sym_flag
='-bexport'
11172 no_entry_flag
='-bnoentry'
11175 # When large executables or shared objects are built, AIX ld can
11176 # have problems creating the table of contents. If linking a library
11177 # or program results in "error TOC overflow" add -mminimal-toc to
11178 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11179 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11181 archive_cmds_CXX
=''
11182 hardcode_direct_CXX
=yes
11183 hardcode_direct_absolute_CXX
=yes
11184 hardcode_libdir_separator_CXX
=':'
11185 link_all_deplibs_CXX
=yes
11186 file_list_spec_CXX
='${wl}-f,'
11188 if test "$GXX" = yes; then
11189 case $host_os in aix4.
[012]|aix4.
[012].
*)
11190 # We only want to do this on AIX 4.2 and lower, the check
11191 # below for broken collect2 doesn't work under 4.3+
11192 collect2name
=`${CC} -print-prog-name=collect2`
11193 if test -f "$collect2name" &&
11194 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11196 # We have reworked collect2
11199 # We have old collect2
11200 hardcode_direct_CXX
=unsupported
11201 # It fails to find uninstalled libraries when the uninstalled
11202 # path is not listed in the libpath. Setting hardcode_minus_L
11203 # to unsupported forces relinking
11204 hardcode_minus_L_CXX
=yes
11205 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11206 hardcode_libdir_separator_CXX
=
11209 shared_flag
='-shared'
11210 if test "$aix_use_runtimelinking" = yes; then
11211 shared_flag
="$shared_flag "'${wl}-G'
11215 if test "$host_cpu" = ia64
; then
11216 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11217 # chokes on -Wl,-G. The following line is correct:
11220 if test "$aix_use_runtimelinking" = yes; then
11221 shared_flag
='${wl}-G'
11223 shared_flag
='${wl}-bM:SRE'
11228 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11229 # It seems that -bexpall does not export symbols beginning with
11230 # underscore (_), so it is better to generate a list of symbols to
11232 always_export_symbols_CXX
=yes
11233 if test "$aix_use_runtimelinking" = yes; then
11234 # Warning - without using the other runtime loading flags (-brtl),
11235 # -berok will link without error, but may produce a broken library.
11236 allow_undefined_flag_CXX
='-berok'
11237 # Determine the default libpath from the value encoded in an empty
11239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11250 if ac_fn_cxx_try_link
"$LINENO"; then :
11252 lt_aix_libpath_sed
='
11253 /Import File Strings/,/^$/ {
11259 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11260 # Check for a 64-bit object if we didn't find anything.
11261 if test -z "$aix_libpath"; then
11262 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11265 rm -f core conftest.err conftest.
$ac_objext \
11266 conftest
$ac_exeext conftest.
$ac_ext
11267 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11269 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11271 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"
11273 if test "$host_cpu" = ia64
; then
11274 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11275 allow_undefined_flag_CXX
="-z nodefs"
11276 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"
11278 # Determine the default libpath from the value encoded in an
11279 # empty executable.
11280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11291 if ac_fn_cxx_try_link
"$LINENO"; then :
11293 lt_aix_libpath_sed
='
11294 /Import File Strings/,/^$/ {
11300 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11301 # Check for a 64-bit object if we didn't find anything.
11302 if test -z "$aix_libpath"; then
11303 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11306 rm -f core conftest.err conftest.
$ac_objext \
11307 conftest
$ac_exeext conftest.
$ac_ext
11308 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11310 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11311 # Warning - without using the other run time loading flags,
11312 # -berok will link without error, but may produce a broken library.
11313 no_undefined_flag_CXX
=' ${wl}-bernotok'
11314 allow_undefined_flag_CXX
=' ${wl}-berok'
11315 # Exported symbols can be pulled into shared objects from archives
11316 whole_archive_flag_spec_CXX
='$convenience'
11317 archive_cmds_need_lc_CXX
=yes
11318 # This is similar to how AIX traditionally builds its shared
11320 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'
11326 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11327 allow_undefined_flag_CXX
=unsupported
11328 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11329 # support --undefined. This deserves some investigation. FIXME
11330 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11337 case $cc_basename in
11339 # FIXME: insert proper C++ library support
11345 cygwin
* | mingw
* | pw32
* | cegcc
*)
11346 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11347 # as there is no search path for DLLs.
11348 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11349 allow_undefined_flag_CXX
=unsupported
11350 always_export_symbols_CXX
=no
11351 enable_shared_with_static_runtimes_CXX
=yes
11353 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11354 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'
11355 # If the export-symbols file already is a .def file (1st line
11356 # is EXPORTS), use it as is; otherwise, prepend...
11357 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11358 cp $export_symbols $output_objdir/$soname.def;
11360 echo EXPORTS > $output_objdir/$soname.def;
11361 cat $export_symbols >> $output_objdir/$soname.def;
11363 $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'
11368 darwin
* | rhapsody
*)
11371 archive_cmds_need_lc_CXX
=no
11372 hardcode_direct_CXX
=no
11373 hardcode_automatic_CXX
=yes
11374 hardcode_shlibpath_var_CXX
=unsupported
11375 whole_archive_flag_spec_CXX
=''
11376 link_all_deplibs_CXX
=yes
11377 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11378 case $cc_basename in
11379 ifort
*) _lt_dar_can_shared
=yes ;;
11380 *) _lt_dar_can_shared
=$GCC ;;
11382 if test "$_lt_dar_can_shared" = "yes"; then
11383 output_verbose_link_cmd
=echo
11384 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}"
11385 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11386 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}"
11387 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}"
11388 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11389 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}"
11390 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}"
11400 case $cc_basename in
11402 # FIXME: insert proper C++ library support
11406 # Green Hills C++ Compiler
11407 # FIXME: insert proper C++ library support
11411 # FIXME: insert proper C++ library support
11418 # C++ shared libraries reported to be fairly broken before
11424 archive_cmds_need_lc_CXX
=no
11427 freebsd
* | dragonfly
*)
11428 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11437 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11438 hardcode_libdir_separator_CXX
=:
11439 export_dynamic_flag_spec_CXX
='${wl}-E'
11440 hardcode_direct_CXX
=yes
11441 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11442 # but as the default
11443 # location of the library.
11445 case $cc_basename in
11447 # FIXME: insert proper C++ library support
11451 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'
11452 # Commands to make compiler produce verbose output that lists
11453 # what "hidden" libraries, object files and flags are used when
11454 # linking a shared library.
11456 # There doesn't appear to be a way to prevent this compiler from
11457 # explicitly linking system object files so we need to strip them
11458 # from the output so that they don't get included in the library
11460 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'
11463 if test "$GXX" = yes; then
11464 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'
11466 # FIXME: insert proper C++ library support
11474 if test $with_gnu_ld = no
; then
11475 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11476 hardcode_libdir_separator_CXX
=:
11482 export_dynamic_flag_spec_CXX
='${wl}-E'
11488 hardcode_direct_CXX
=no
11489 hardcode_shlibpath_var_CXX
=no
11492 hardcode_direct_CXX
=yes
11493 hardcode_direct_absolute_CXX
=yes
11494 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11495 # but as the default
11496 # location of the library.
11500 case $cc_basename in
11502 # FIXME: insert proper C++ library support
11508 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11511 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11514 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11517 # Commands to make compiler produce verbose output that lists
11518 # what "hidden" libraries, object files and flags are used when
11519 # linking a shared library.
11521 # There doesn't appear to be a way to prevent this compiler from
11522 # explicitly linking system object files so we need to strip them
11523 # from the output so that they don't get included in the library
11525 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'
11528 if test "$GXX" = yes; then
11529 if test $with_gnu_ld = no
; then
11532 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11535 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11538 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'
11543 # FIXME: insert proper C++ library support
11551 hardcode_direct_CXX
=no
11552 hardcode_shlibpath_var_CXX
=no
11553 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11554 export_dynamic_flag_spec_CXX
='${wl}-E'
11555 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11556 # Instead, shared libraries are loaded at an image base (0x10000000 by
11557 # default) and relocated if they conflict, which is a slow very memory
11558 # consuming and fragmenting process. To avoid this, we pick a random,
11559 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11560 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11561 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'
11562 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'
11565 case $cc_basename in
11568 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'
11570 # Archives containing C++ object files must be created using
11571 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11572 # necessary to make sure instantiated templates are included
11574 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11577 if test "$GXX" = yes; then
11578 if test "$with_gnu_ld" = no
; then
11579 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'
11581 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'
11584 link_all_deplibs_CXX
=yes
11587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11588 hardcode_libdir_separator_CXX
=:
11589 inherit_rpath_CXX
=yes
11592 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11593 case $cc_basename in
11595 # Kuck and Associates, Inc. (KAI) C++ Compiler
11597 # KCC will only create a shared library if the output file
11598 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11599 # to its proper name (with version) after linking.
11600 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'
11601 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'
11602 # Commands to make compiler produce verbose output that lists
11603 # what "hidden" libraries, object files and flags are used when
11604 # linking a shared library.
11606 # There doesn't appear to be a way to prevent this compiler from
11607 # explicitly linking system object files so we need to strip them
11608 # from the output so that they don't get included in the library
11610 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'
11612 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11613 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11615 # Archives containing C++ object files must be created using
11616 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11617 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11622 # version 8.0 and above of icpc choke on multiply defined symbols
11623 # if we add $predep_objects and $postdep_objects, however 7.1 and
11624 # earlier do not add the objects themselves.
11625 case `$CC -V 2>&1` in
11627 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11628 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'
11630 *) # Version 8.0 or newer
11633 ia64
*) tmp_idyn
=' -i_dynamic';;
11635 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11636 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'
11639 archive_cmds_need_lc_CXX
=no
11640 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11641 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11642 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11645 # Portland Group C++ compiler
11647 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11648 prelink_cmds_CXX
='tpldir=Template.dir~
11650 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11651 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11652 old_archive_cmds_CXX
='tpldir=Template.dir~
11654 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11655 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11657 archive_cmds_CXX
='tpldir=Template.dir~
11659 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11660 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11661 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11663 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11664 $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'
11666 *) # Version 6 will use weak symbols
11667 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11668 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'
11672 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11673 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11674 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'
11678 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11679 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'
11681 runpath_var
=LD_RUN_PATH
11682 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11683 hardcode_libdir_separator_CXX
=:
11685 # Commands to make compiler produce verbose output that lists
11686 # what "hidden" libraries, object files and flags are used when
11687 # linking a shared library.
11689 # There doesn't appear to be a way to prevent this compiler from
11690 # explicitly linking system object files so we need to strip them
11691 # from the output so that they don't get included in the library
11693 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'
11696 # IBM XL 8.0 on PPC, with GNU ld
11697 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11698 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11699 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11700 if test "x$supports_anon_versioning" = xyes
; then
11701 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11702 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11703 echo "local: *; };" >> $output_objdir/$libname.ver~
11704 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11708 case `$CC -V 2>&1 | sed 5q` in
11711 no_undefined_flag_CXX
=' -zdefs'
11712 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11713 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'
11714 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11715 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'
11716 compiler_needs_object_CXX
=yes
11718 # Not sure whether something based on
11719 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11721 output_verbose_link_cmd
='echo'
11723 # Archives containing C++ object files must be created using
11724 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11725 # necessary to make sure instantiated templates are included
11727 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11735 # FIXME: insert proper C++ library support
11740 # FIXME: insert proper C++ library support
11745 case $cc_basename in
11747 # FIXME: insert proper C++ library support
11751 # FIXME: insert proper C++ library support
11758 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11759 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11761 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11762 hardcode_direct_CXX
=yes
11763 hardcode_shlibpath_var_CXX
=no
11765 # Workaround some broken pre-1.5 toolchains
11766 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11774 # C++ shared libraries are fairly broken
11779 if test -f /usr
/libexec
/ld.so
; then
11780 hardcode_direct_CXX
=yes
11781 hardcode_shlibpath_var_CXX
=no
11782 hardcode_direct_absolute_CXX
=yes
11783 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11784 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11785 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11786 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11787 export_dynamic_flag_spec_CXX
='${wl}-E'
11788 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11790 output_verbose_link_cmd
=echo
11796 osf3
* | osf4
* | osf5
*)
11797 case $cc_basename in
11799 # Kuck and Associates, Inc. (KAI) C++ Compiler
11801 # KCC will only create a shared library if the output file
11802 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11803 # to its proper name (with version) after linking.
11804 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'
11806 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11807 hardcode_libdir_separator_CXX
=:
11809 # Archives containing C++ object files must be created using
11810 # the KAI C++ compiler.
11812 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11813 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11817 # Rational C++ 2.4.1
11818 # FIXME: insert proper C++ library support
11824 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11825 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'
11826 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11829 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11830 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'
11831 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11832 echo "-hidden">> $lib.exp~
11833 $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~
11835 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11839 hardcode_libdir_separator_CXX
=:
11841 # Commands to make compiler produce verbose output that lists
11842 # what "hidden" libraries, object files and flags are used when
11843 # linking a shared library.
11845 # There doesn't appear to be a way to prevent this compiler from
11846 # explicitly linking system object files so we need to strip them
11847 # from the output so that they don't get included in the library
11849 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'
11852 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11853 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11856 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'
11859 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'
11863 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11864 hardcode_libdir_separator_CXX
=:
11866 # Commands to make compiler produce verbose output that lists
11867 # what "hidden" libraries, object files and flags are used when
11868 # linking a shared library.
11869 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11872 # FIXME: insert proper C++ library support
11880 # FIXME: insert proper C++ library support
11885 case $cc_basename in
11888 # FIXME: insert proper C++ library support
11893 # FIXME: insert proper C++ library support
11897 # FIXME: insert proper C++ library support
11904 case $cc_basename in
11906 # Sun C++ 4.2, 5.x and Centerline C++
11907 archive_cmds_need_lc_CXX
=yes
11908 no_undefined_flag_CXX
=' -zdefs'
11909 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11910 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11911 $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'
11913 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11914 hardcode_shlibpath_var_CXX
=no
11916 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11918 # The compiler driver will combine and reorder linker options,
11919 # but understands `-z linker_flag'.
11920 # Supported since Solaris 2.6 (maybe 2.5.1?)
11921 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11924 link_all_deplibs_CXX
=yes
11926 output_verbose_link_cmd
='echo'
11928 # Archives containing C++ object files must be created using
11929 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11930 # necessary to make sure instantiated templates are included
11932 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11935 # Green Hills C++ Compiler
11936 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11938 # The C++ compiler must be used to create the archive.
11939 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11942 # GNU C++ compiler with Solaris linker
11943 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11944 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11945 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11946 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11947 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11948 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11950 # Commands to make compiler produce verbose output that lists
11951 # what "hidden" libraries, object files and flags are used when
11952 # linking a shared library.
11953 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11955 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11957 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11958 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11959 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11961 # Commands to make compiler produce verbose output that lists
11962 # what "hidden" libraries, object files and flags are used when
11963 # linking a shared library.
11964 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11967 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11969 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11971 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11979 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11980 no_undefined_flag_CXX
='${wl}-z,text'
11981 archive_cmds_need_lc_CXX
=no
11982 hardcode_shlibpath_var_CXX
=no
11983 runpath_var
='LD_RUN_PATH'
11985 case $cc_basename in
11987 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11988 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11991 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11992 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11997 sysv5
* | sco3.2v5
* | sco5v6
*)
11998 # Note: We can NOT use -z defs as we might desire, because we do not
11999 # link with -lc, and that would cause any symbols used from libc to
12000 # always be unresolved, which means just about no library would
12001 # ever link correctly. If we're not using GNU ld we use -z text
12002 # though, which does catch some bad symbols but isn't as heavy-handed
12004 no_undefined_flag_CXX
='${wl}-z,text'
12005 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12006 archive_cmds_need_lc_CXX
=no
12007 hardcode_shlibpath_var_CXX
=no
12008 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12009 hardcode_libdir_separator_CXX
=':'
12010 link_all_deplibs_CXX
=yes
12011 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12012 runpath_var
='LD_RUN_PATH'
12014 case $cc_basename in
12016 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12017 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12020 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12021 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12027 case $cc_basename in
12029 # NonStop-UX NCC 3.20
12030 # FIXME: insert proper C++ library support
12034 # FIXME: insert proper C++ library support
12041 # FIXME: insert proper C++ library support
12046 # FIXME: insert proper C++ library support
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12052 $as_echo "$ld_shlibs_CXX" >&6; }
12053 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12059 ## There is no encapsulation within the following macros, do not change
12060 ## the running order or otherwise move them around unless you know exactly
12061 ## what you are doing...
12062 # Dependencies to place before and after the object being linked:
12063 predep_objects_CXX
=
12064 postdep_objects_CXX
=
12067 compiler_lib_search_path_CXX
=
12069 cat > conftest.
$ac_ext <<_LT_EOF
12073 Foo (void) { a = 0; }
12079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12080 (eval $ac_compile) 2>&5
12082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12083 test $ac_status = 0; }; then
12084 # Parse the compiler output and extract the necessary
12085 # objects, libraries and library flags.
12087 # Sentinel used to keep track of whether or not we are before
12088 # the conftest object file.
12089 pre_test_object_deps_done
=no
12091 for p
in `eval "$output_verbose_link_cmd"`; do
12095 # Some compilers place space between "-{L,R}" and the path.
12096 # Remove the space.
12097 if test $p = "-L" ||
12098 test $p = "-R"; then
12105 if test "$pre_test_object_deps_done" = no
; then
12108 # Internal compiler library paths should come after those
12109 # provided the user. The postdeps already come after the
12110 # user supplied libs so there is no need to process them.
12111 if test -z "$compiler_lib_search_path_CXX"; then
12112 compiler_lib_search_path_CXX
="${prev}${p}"
12114 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12117 # The "-l" case would never come before the object being
12118 # linked, so don't bother handling this case.
12121 if test -z "$postdeps_CXX"; then
12122 postdeps_CXX
="${prev}${p}"
12124 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12130 # This assumes that the test object file only shows up
12131 # once in the compiler output.
12132 if test "$p" = "conftest.$objext"; then
12133 pre_test_object_deps_done
=yes
12137 if test "$pre_test_object_deps_done" = no
; then
12138 if test -z "$predep_objects_CXX"; then
12139 predep_objects_CXX
="$p"
12141 predep_objects_CXX
="$predep_objects_CXX $p"
12144 if test -z "$postdep_objects_CXX"; then
12145 postdep_objects_CXX
="$p"
12147 postdep_objects_CXX
="$postdep_objects_CXX $p"
12152 *) ;; # Ignore the rest.
12160 echo "libtool.m4: error: problem compiling CXX test program"
12163 $RM -f confest.
$objext
12165 # PORTME: override above test on systems where it is broken
12168 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12169 # hack all around it, let's just trust "g++" to DTRT.
12170 predep_objects_CXX
=
12171 postdep_objects_CXX
=
12176 case `$CC -V 2>&1 | sed 5q` in
12180 # The more standards-conforming stlport4 library is
12181 # incompatible with the Cstd library. Avoid specifying
12182 # it if it's in CXXFLAGS. Ignore libCrun as
12183 # -library=stlport4 depends on it.
12184 case " $CXX $CXXFLAGS " in
12185 *" -library=stlport4 "*)
12186 solaris_use_stlport4
=yes
12190 if test "$solaris_use_stlport4" != yes; then
12191 postdeps_CXX
='-library=Cstd -library=Crun'
12198 case $cc_basename in
12200 # The more standards-conforming stlport4 library is
12201 # incompatible with the Cstd library. Avoid specifying
12202 # it if it's in CXXFLAGS. Ignore libCrun as
12203 # -library=stlport4 depends on it.
12204 case " $CXX $CXXFLAGS " in
12205 *" -library=stlport4 "*)
12206 solaris_use_stlport4
=yes
12210 # Adding this requires a known-good setup of shared libraries for
12211 # Sun compiler versions before 5.6, else PIC objects from an old
12212 # archive will be linked into the output, leading to subtle bugs.
12213 if test "$solaris_use_stlport4" != yes; then
12214 postdeps_CXX
='-library=Cstd -library=Crun'
12222 case " $postdeps_CXX " in
12223 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12225 compiler_lib_search_dirs_CXX
=
12226 if test -n "${compiler_lib_search_path_CXX}"; then
12227 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12260 lt_prog_compiler_wl_CXX
=
12261 lt_prog_compiler_pic_CXX
=
12262 lt_prog_compiler_static_CXX
=
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12265 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12267 # C++ specific cases for pic, static, wl, etc.
12268 if test "$GXX" = yes; then
12269 lt_prog_compiler_wl_CXX
='-Wl,'
12270 lt_prog_compiler_static_CXX
='-static'
12274 # All AIX code is PIC.
12275 if test "$host_cpu" = ia64
; then
12276 # AIX 5 now supports IA64 processor
12277 lt_prog_compiler_static_CXX
='-Bstatic'
12284 # see comment about AmigaOS4 .so support
12285 lt_prog_compiler_pic_CXX
='-fPIC'
12288 # FIXME: we need at least 68020 code to build shared libraries, but
12289 # adding the `-m68020' flag to GCC prevents building anything better,
12291 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12296 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12297 # PIC is the default for these OSes.
12299 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12300 # This hack is so that the source file can tell whether it is being
12301 # built for inclusion in a dll (and should export symbols for example).
12302 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12303 # (--disable-auto-import) libraries
12304 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12306 darwin
* | rhapsody
*)
12307 # PIC is the default on this platform
12308 # Common symbols not allowed in MH_DYLIB files
12309 lt_prog_compiler_pic_CXX
='-fno-common'
12312 # DJGPP does not support shared libraries at all
12313 lt_prog_compiler_pic_CXX
=
12316 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12317 # Instead, we relocate shared libraries at runtime.
12320 if test -d /usr
/nec
; then
12321 lt_prog_compiler_pic_CXX
=-Kconform_pic
12325 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12326 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12327 # sets the default TLS model and affects inlining.
12332 lt_prog_compiler_pic_CXX
='-fPIC'
12337 # QNX uses GNU C++, but need to define -shared option too, otherwise
12338 # it will coredump.
12339 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12342 lt_prog_compiler_pic_CXX
='-fPIC'
12348 # All AIX code is PIC.
12349 if test "$host_cpu" = ia64
; then
12350 # AIX 5 now supports IA64 processor
12351 lt_prog_compiler_static_CXX
='-Bstatic'
12353 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12357 case $cc_basename in
12359 # Green Hills C++ Compiler
12360 # _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"
12365 case $cc_basename in
12367 lt_prog_compiler_pic_CXX
='-KPIC'
12370 # Green Hills C++ Compiler
12371 lt_prog_compiler_pic_CXX
='-pic'
12377 freebsd
* | dragonfly
*)
12378 # FreeBSD uses GNU C++
12380 hpux9
* | hpux10
* | hpux11
*)
12381 case $cc_basename in
12383 lt_prog_compiler_wl_CXX
='-Wl,'
12384 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12385 if test "$host_cpu" != ia64
; then
12386 lt_prog_compiler_pic_CXX
='+Z'
12390 lt_prog_compiler_wl_CXX
='-Wl,'
12391 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12397 lt_prog_compiler_pic_CXX
='+Z'
12406 # This is c89, which is MS Visual C++ (no shared libs)
12407 # Anyone wants to do a port?
12409 irix5
* | irix6
* | nonstopux
*)
12410 case $cc_basename in
12412 lt_prog_compiler_wl_CXX
='-Wl,'
12413 lt_prog_compiler_static_CXX
='-non_shared'
12414 # CC pic flag -KPIC is the default.
12420 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12421 case $cc_basename in
12424 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12425 lt_prog_compiler_pic_CXX
='-fPIC'
12428 # old Intel C++ for x86_64 which still supported -KPIC.
12429 lt_prog_compiler_wl_CXX
='-Wl,'
12430 lt_prog_compiler_pic_CXX
='-KPIC'
12431 lt_prog_compiler_static_CXX
='-static'
12434 # Intel C++, used to be incompatible with GCC.
12435 # ICC 10 doesn't accept -KPIC any more.
12436 lt_prog_compiler_wl_CXX
='-Wl,'
12437 lt_prog_compiler_pic_CXX
='-fPIC'
12438 lt_prog_compiler_static_CXX
='-static'
12441 # Portland Group C++ compiler
12442 lt_prog_compiler_wl_CXX
='-Wl,'
12443 lt_prog_compiler_pic_CXX
='-fpic'
12444 lt_prog_compiler_static_CXX
='-Bstatic'
12448 # Make sure the PIC flag is empty. It appears that all Alpha
12449 # Linux and Compaq Tru64 Unix objects are PIC.
12450 lt_prog_compiler_pic_CXX
=
12451 lt_prog_compiler_static_CXX
='-non_shared'
12454 # IBM XL 8.0 on PPC
12455 lt_prog_compiler_wl_CXX
='-Wl,'
12456 lt_prog_compiler_pic_CXX
='-qpic'
12457 lt_prog_compiler_static_CXX
='-qstaticlink'
12460 case `$CC -V 2>&1 | sed 5q` in
12463 lt_prog_compiler_pic_CXX
='-KPIC'
12464 lt_prog_compiler_static_CXX
='-Bstatic'
12465 lt_prog_compiler_wl_CXX
='-Qoption ld '
12476 case $cc_basename in
12478 lt_prog_compiler_pic_CXX
='-W c,exportall'
12484 netbsd
* | netbsdelf
*-gnu)
12487 # QNX uses GNU C++, but need to define -shared option too, otherwise
12488 # it will coredump.
12489 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12491 osf3
* | osf4
* | osf5
*)
12492 case $cc_basename in
12494 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12497 # Rational C++ 2.4.1
12498 lt_prog_compiler_pic_CXX
='-pic'
12501 # Digital/Compaq C++
12502 lt_prog_compiler_wl_CXX
='-Wl,'
12503 # Make sure the PIC flag is empty. It appears that all Alpha
12504 # Linux and Compaq Tru64 Unix objects are PIC.
12505 lt_prog_compiler_pic_CXX
=
12506 lt_prog_compiler_static_CXX
='-non_shared'
12515 case $cc_basename in
12517 # Sun C++ 4.2, 5.x and Centerline C++
12518 lt_prog_compiler_pic_CXX
='-KPIC'
12519 lt_prog_compiler_static_CXX
='-Bstatic'
12520 lt_prog_compiler_wl_CXX
='-Qoption ld '
12523 # Green Hills C++ Compiler
12524 lt_prog_compiler_pic_CXX
='-PIC'
12531 case $cc_basename in
12534 lt_prog_compiler_pic_CXX
='-pic'
12535 lt_prog_compiler_static_CXX
='-Bstatic'
12539 lt_prog_compiler_pic_CXX
='-pic'
12545 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12546 case $cc_basename in
12548 lt_prog_compiler_wl_CXX
='-Wl,'
12549 lt_prog_compiler_pic_CXX
='-KPIC'
12550 lt_prog_compiler_static_CXX
='-Bstatic'
12555 case $cc_basename in
12557 # NonStop-UX NCC 3.20
12558 lt_prog_compiler_pic_CXX
='-KPIC'
12567 lt_prog_compiler_can_build_shared_CXX
=no
12573 # For platforms which do not support PIC, -DPIC is meaningless:
12575 lt_prog_compiler_pic_CXX
=
12578 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12582 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12587 # Check to make sure the PIC flag actually works.
12589 if test -n "$lt_prog_compiler_pic_CXX"; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12591 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12592 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12593 $as_echo_n "(cached) " >&6
12595 lt_cv_prog_compiler_pic_works_CXX
=no
12596 ac_outfile
=conftest.
$ac_objext
12597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12598 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12599 # Insert the option either (1) after the last *FLAGS variable, or
12600 # (2) before a word containing "conftest.", or (3) at the end.
12601 # Note that $ac_compile itself does not contain backslashes and begins
12602 # with a dollar sign (not a hyphen), so the echo should work correctly.
12603 # The option is referenced via a variable to avoid confusing sed.
12604 lt_compile
=`echo "$ac_compile" | $SED \
12605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12607 -e 's:$: $lt_compiler_flag:'`
12608 (eval echo "\"\$as_me:12608: $lt_compile\"" >&5)
12609 (eval "$lt_compile" 2>conftest.err
)
12611 cat conftest.err
>&5
12612 echo "$as_me:12612: \$? = $ac_status" >&5
12613 if (exit $ac_status) && test -s "$ac_outfile"; then
12614 # The compiler can only warn and ignore the option if not recognized
12615 # So say no if there are warnings other than the usual output.
12616 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12618 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12619 lt_cv_prog_compiler_pic_works_CXX
=yes
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12626 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12628 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12629 case $lt_prog_compiler_pic_CXX in
12631 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12634 lt_prog_compiler_pic_CXX
=
12635 lt_prog_compiler_can_build_shared_CXX
=no
12643 # Check to make sure the static flag actually works.
12645 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12647 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12648 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12649 $as_echo_n "(cached) " >&6
12651 lt_cv_prog_compiler_static_works_CXX
=no
12652 save_LDFLAGS
="$LDFLAGS"
12653 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12654 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12655 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12656 # The linker can only warn and ignore the option if not recognized
12657 # So say no if there are warnings
12658 if test -s conftest.err
; then
12659 # Append any errors to the config.log.
12660 cat conftest.err
1>&5
12661 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12662 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12663 if diff conftest.exp conftest.er2
>/dev
/null
; then
12664 lt_cv_prog_compiler_static_works_CXX
=yes
12667 lt_cv_prog_compiler_static_works_CXX
=yes
12671 LDFLAGS
="$save_LDFLAGS"
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12675 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12677 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12680 lt_prog_compiler_static_CXX
=
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12687 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12688 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12689 $as_echo_n "(cached) " >&6
12691 lt_cv_prog_compiler_c_o_CXX
=no
12692 $RM -r conftest
2>/dev
/null
12696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12698 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12699 # Insert the option either (1) after the last *FLAGS variable, or
12700 # (2) before a word containing "conftest.", or (3) at the end.
12701 # Note that $ac_compile itself does not contain backslashes and begins
12702 # with a dollar sign (not a hyphen), so the echo should work correctly.
12703 lt_compile
=`echo "$ac_compile" | $SED \
12704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12706 -e 's:$: $lt_compiler_flag:'`
12707 (eval echo "\"\$as_me:12707: $lt_compile\"" >&5)
12708 (eval "$lt_compile" 2>out
/conftest.err
)
12710 cat out
/conftest.err
>&5
12711 echo "$as_me:12711: \$? = $ac_status" >&5
12712 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12714 # The compiler can only warn and ignore the option if not recognized
12715 # So say no if there are warnings
12716 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12717 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12718 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12719 lt_cv_prog_compiler_c_o_CXX
=yes
12724 # SGI C++ compiler will create directory out/ii_files/ for
12725 # template instantiation
12726 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12727 $RM out
/* && rmdir out
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12734 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12739 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12740 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12741 $as_echo_n "(cached) " >&6
12743 lt_cv_prog_compiler_c_o_CXX
=no
12744 $RM -r conftest
2>/dev
/null
12748 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12750 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12751 # Insert the option either (1) after the last *FLAGS variable, or
12752 # (2) before a word containing "conftest.", or (3) at the end.
12753 # Note that $ac_compile itself does not contain backslashes and begins
12754 # with a dollar sign (not a hyphen), so the echo should work correctly.
12755 lt_compile
=`echo "$ac_compile" | $SED \
12756 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12757 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12758 -e 's:$: $lt_compiler_flag:'`
12759 (eval echo "\"\$as_me:12759: $lt_compile\"" >&5)
12760 (eval "$lt_compile" 2>out
/conftest.err
)
12762 cat out
/conftest.err
>&5
12763 echo "$as_me:12763: \$? = $ac_status" >&5
12764 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12766 # The compiler can only warn and ignore the option if not recognized
12767 # So say no if there are warnings
12768 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12769 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12770 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12771 lt_cv_prog_compiler_c_o_CXX
=yes
12776 # SGI C++ compiler will create directory out/ii_files/ for
12777 # template instantiation
12778 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12779 $RM out
/* && rmdir out
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12786 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12791 hard_links
="nottested"
12792 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12793 # do not overwrite the value of need_locks provided by the user
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12795 $as_echo_n "checking if we can lock with hard links... " >&6; }
12798 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12800 ln conftest.a conftest.b
2>&5 || hard_links
=no
12801 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12803 $as_echo "$hard_links" >&6; }
12804 if test "$hard_links" = no
; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12806 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12816 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12818 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12821 # If we're using GNU nm, then we don't want the "-C" option.
12822 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12823 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12824 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'
12826 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'
12830 export_symbols_cmds_CXX
="$ltdll_cmds"
12832 cygwin
* | mingw
* | cegcc
*)
12833 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'
12835 linux
* | k
*bsd
*-gnu)
12836 link_all_deplibs_CXX
=no
12839 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12842 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12845 $as_echo "$ld_shlibs_CXX" >&6; }
12846 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12848 with_gnu_ld_CXX
=$with_gnu_ld
12856 # Do we need to explicitly link libc?
12858 case "x$archive_cmds_need_lc_CXX" in
12860 # Assume -lc should be added
12861 archive_cmds_need_lc_CXX
=yes
12863 if test "$enable_shared" = yes && test "$GCC" = yes; then
12864 case $archive_cmds_CXX in
12866 # FIXME: we may have to deal with multi-command sequences.
12869 # Test whether the compiler implicitly links with -lc since on some
12870 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12871 # to ld, don't add -lc before -lgcc.
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12873 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12875 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12878 (eval $ac_compile) 2>&5
12880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12881 test $ac_status = 0; } 2>conftest.err
; then
12884 libobjs
=conftest.
$ac_objext
12886 wl
=$lt_prog_compiler_wl_CXX
12887 pic_flag
=$lt_prog_compiler_pic_CXX
12893 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12894 allow_undefined_flag_CXX
=
12895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12896 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12899 test $ac_status = 0; }
12901 archive_cmds_need_lc_CXX
=no
12903 archive_cmds_need_lc_CXX
=yes
12905 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12907 cat conftest.err
1>&5
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12911 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12982 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12984 library_names_spec
=
12985 libname_spec
='lib$name'
12989 postuninstall_cmds
=
12993 shlibpath_overrides_runpath
=unknown
12995 dynamic_linker
="$host_os ld.so"
12996 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12997 need_lib_prefix
=unknown
12998 hardcode_into_libs
=no
13000 # when you set need_version to no, make sure it does not cause -set_version
13001 # flags to be left without arguments
13002 need_version
=unknown
13007 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13008 shlibpath_var
=LIBPATH
13010 # AIX 3 has no versioning support, so we append a major version to the name.
13011 soname_spec
='${libname}${release}${shared_ext}$major'
13018 hardcode_into_libs
=yes
13019 if test "$host_cpu" = ia64
; then
13020 # AIX 5 supports IA64
13021 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13022 shlibpath_var
=LD_LIBRARY_PATH
13024 # With GCC up to 2.95.x, collect2 would create an import file
13025 # for dependence libraries. The import file would start with
13026 # the line `#! .'. This would cause the generated library to
13027 # depend on `.', always an invalid library. This was fixed in
13028 # development snapshots of GCC prior to 3.0.
13030 aix4
| aix4.
[01] | aix4.
[01].
*)
13031 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13033 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13036 can_build_shared
=no
13040 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13041 # soname into executable. Probably we can add versioning support to
13042 # collect2, so additional links can be useful in future.
13043 if test "$aix_use_runtimelinking" = yes; then
13044 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13045 # instead of lib<name>.a to let people know that these are not
13046 # typical AIX shared libraries.
13047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13049 # We preserve .a as extension for shared libraries through AIX4.2
13050 # and later when we are not doing run time linking.
13051 library_names_spec
='${libname}${release}.a $libname.a'
13052 soname_spec
='${libname}${release}${shared_ext}$major'
13054 shlibpath_var
=LIBPATH
13061 # Since July 2007 AmigaOS4 officially supports .so libraries.
13062 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 library_names_spec
='$libname.ixlibrary $libname.a'
13067 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13068 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'
13074 library_names_spec
='${libname}${shared_ext}'
13075 dynamic_linker
="$host_os ld.so"
13076 shlibpath_var
=LIBRARY_PATH
13082 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13083 soname_spec
='${libname}${release}${shared_ext}$major'
13084 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13085 shlibpath_var
=LD_LIBRARY_PATH
13086 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13087 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13088 # the default ld.so.conf also contains /usr/contrib/lib and
13089 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13090 # libtool to hard-code these into programs
13093 cygwin
* | mingw
* | pw32
* | cegcc
*)
13094 version_type
=windows
13099 case $GCC,$host_os in
13100 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13101 library_names_spec
='$libname.dll.a'
13102 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13103 postinstall_cmds
='base_file=`basename \${file}`~
13104 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13105 dldir=$destdir/`dirname \$dlpath`~
13106 test -d \$dldir || mkdir -p \$dldir~
13107 $install_prog $dir/$dlname \$dldir/$dlname~
13108 chmod a+x \$dldir/$dlname~
13109 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13110 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13112 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13113 dlpath=$dir/\$dldll~
13115 shlibpath_overrides_runpath
=yes
13119 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13120 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13121 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13124 # MinGW DLLs use traditional 'lib' prefix
13125 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13126 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13127 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13128 # It is most probably a Windows format PATH printed by
13129 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13130 # path with ; separators, and with drive letters. We can handle the
13131 # drive letters (cygwin fileutils understands them), so leave them,
13132 # especially as we might pass files found there to a mingw objdump,
13133 # which wouldn't understand a cygwinified path. Ahh.
13134 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13136 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13140 # pw32 DLLs use 'pw' prefix rather than 'lib'
13141 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13147 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13150 dynamic_linker
='Win32 ld.exe'
13151 # FIXME: first we should search . and the directory the executable is in
13155 darwin
* | rhapsody
*)
13156 dynamic_linker
="$host_os dyld"
13157 version_type
=darwin
13160 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13161 soname_spec
='${libname}${release}${major}$shared_ext'
13162 shlibpath_overrides_runpath
=yes
13163 shlibpath_var
=DYLD_LIBRARY_PATH
13164 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13166 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13174 soname_spec
='${libname}${release}${shared_ext}$major'
13175 shlibpath_var
=LD_LIBRARY_PATH
13182 freebsd
* | dragonfly
*)
13183 # DragonFly does not have aout. When/if they implement a new
13184 # versioning mechanism, adjust this.
13185 if test -x /usr
/bin
/objformat
; then
13186 objformat
=`/usr/bin/objformat`
13189 freebsd
[123]*) objformat
=aout
;;
13190 *) objformat
=elf
;;
13193 version_type
=freebsd
-$objformat
13194 case $version_type in
13196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13201 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13205 shlibpath_var
=LD_LIBRARY_PATH
13208 shlibpath_overrides_runpath
=yes
13210 freebsd3.
[01]* | freebsdelf3.
[01]*)
13211 shlibpath_overrides_runpath
=yes
13212 hardcode_into_libs
=yes
13214 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13215 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13216 shlibpath_overrides_runpath
=no
13217 hardcode_into_libs
=yes
13219 *) # from 4.6 on, and DragonFly
13220 shlibpath_overrides_runpath
=yes
13221 hardcode_into_libs
=yes
13230 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13231 soname_spec
='${libname}${release}${shared_ext}$major'
13232 shlibpath_var
=LD_LIBRARY_PATH
13233 hardcode_into_libs
=yes
13236 hpux9
* | hpux10
* | hpux11
*)
13237 # Give a soname corresponding to the major version so that dld.sl refuses to
13238 # link against other versions.
13245 hardcode_into_libs
=yes
13246 dynamic_linker
="$host_os dld.so"
13247 shlibpath_var
=LD_LIBRARY_PATH
13248 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13250 soname_spec
='${libname}${release}${shared_ext}$major'
13251 if test "X$HPUX_IA64_MODE" = X32
; then
13252 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13254 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13256 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13260 hardcode_into_libs
=yes
13261 dynamic_linker
="$host_os dld.sl"
13262 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13263 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13265 soname_spec
='${libname}${release}${shared_ext}$major'
13266 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13267 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13271 dynamic_linker
="$host_os dld.sl"
13272 shlibpath_var
=SHLIB_PATH
13273 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13275 soname_spec
='${libname}${release}${shared_ext}$major'
13278 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13279 postinstall_cmds
='chmod 555 $lib'
13286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13287 soname_spec
='${libname}${release}${shared_ext}$major'
13288 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13289 shlibpath_var
=LD_LIBRARY_PATH
13290 shlibpath_overrides_runpath
=no
13291 hardcode_into_libs
=yes
13294 irix5
* | irix6
* | nonstopux
*)
13296 nonstopux
*) version_type
=nonstopux
;;
13298 if test "$lt_cv_prog_gnu_ld" = yes; then
13306 soname_spec
='${libname}${release}${shared_ext}$major'
13307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13309 irix5
* | nonstopux
*)
13310 libsuff
= shlibsuff
=
13313 case $LD in # libtool.m4 will add one of these switches to LD
13314 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13315 libsuff
= shlibsuff
= libmagic
=32-bit;;
13316 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13317 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13318 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13319 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13320 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13324 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13325 shlibpath_overrides_runpath
=no
13326 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13327 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13328 hardcode_into_libs
=yes
13331 # No shared lib support for Linux oldld, aout, or coff.
13332 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13336 # This must be Linux ELF.
13337 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13342 soname_spec
='${libname}${release}${shared_ext}$major'
13343 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13344 shlibpath_var
=LD_LIBRARY_PATH
13345 shlibpath_overrides_runpath
=no
13346 # Some binutils ld are patched to set DT_RUNPATH
13347 save_LDFLAGS
=$LDFLAGS
13348 save_libdir
=$libdir
13349 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13350 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13362 if ac_fn_cxx_try_link
"$LINENO"; then :
13363 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13364 shlibpath_overrides_runpath
=yes
13367 rm -f core conftest.err conftest.
$ac_objext \
13368 conftest
$ac_exeext conftest.
$ac_ext
13369 LDFLAGS
=$save_LDFLAGS
13370 libdir
=$save_libdir
13372 # This implies no fast_install, which is unacceptable.
13373 # Some rework will be needed to allow for fast_install
13374 # before this can be enabled.
13375 hardcode_into_libs
=yes
13377 # Append ld.so.conf contents to the search path
13378 if test -f /etc
/ld.so.conf
; then
13379 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' ' '`
13380 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13383 # We used to test for /lib/ld.so.1 and disable shared libraries on
13384 # powerpc, because MkLinux only supported shared libraries with the
13385 # GNU dynamic linker. Since this was broken with cross compilers,
13386 # most powerpc-linux boxes support dynamic linking these days and
13387 # people can always --disable-shared, the test was removed, and we
13388 # assume the GNU/Linux dynamic linker is in use.
13389 dynamic_linker
='GNU/Linux ld.so'
13396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13397 soname_spec
='${libname}${release}${shared_ext}$major'
13398 shlibpath_var
=LD_LIBRARY_PATH
13399 shlibpath_overrides_runpath
=no
13400 hardcode_into_libs
=yes
13401 dynamic_linker
='NetBSD ld.elf_so'
13408 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13410 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13411 dynamic_linker
='NetBSD (a.out) ld.so'
13413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13414 soname_spec
='${libname}${release}${shared_ext}$major'
13415 dynamic_linker
='NetBSD ld.elf_so'
13417 shlibpath_var
=LD_LIBRARY_PATH
13418 shlibpath_overrides_runpath
=yes
13419 hardcode_into_libs
=yes
13424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13425 shlibpath_var
=LD_LIBRARY_PATH
13426 shlibpath_overrides_runpath
=yes
13433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13434 soname_spec
='${libname}${release}${shared_ext}$major'
13435 shlibpath_var
=LD_LIBRARY_PATH
13436 shlibpath_overrides_runpath
=no
13437 hardcode_into_libs
=yes
13438 dynamic_linker
='ldqnx.so'
13443 sys_lib_dlsearch_path_spec
="/usr/lib"
13445 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13447 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13448 *) need_version
=no
;;
13450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13451 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13452 shlibpath_var
=LD_LIBRARY_PATH
13453 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13455 openbsd2.
[89] | openbsd2.
[89].
*)
13456 shlibpath_overrides_runpath
=no
13459 shlibpath_overrides_runpath
=yes
13463 shlibpath_overrides_runpath
=yes
13468 libname_spec
='$name'
13471 library_names_spec
='$libname${shared_ext} $libname.a'
13472 dynamic_linker
='OS/2 ld.exe'
13473 shlibpath_var
=LIBPATH
13476 osf3
* | osf4
* | osf5
*)
13480 soname_spec
='${libname}${release}${shared_ext}$major'
13481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13482 shlibpath_var
=LD_LIBRARY_PATH
13483 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13484 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13496 soname_spec
='${libname}${release}${shared_ext}$major'
13497 shlibpath_var
=LD_LIBRARY_PATH
13498 shlibpath_overrides_runpath
=yes
13499 hardcode_into_libs
=yes
13500 # ldd complains unless libraries are executable
13501 postinstall_cmds
='chmod +x $lib'
13506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13507 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13508 shlibpath_var
=LD_LIBRARY_PATH
13509 shlibpath_overrides_runpath
=yes
13510 if test "$with_gnu_ld" = yes; then
13518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13519 soname_spec
='${libname}${release}${shared_ext}$major'
13520 shlibpath_var
=LD_LIBRARY_PATH
13521 case $host_vendor in
13523 shlibpath_overrides_runpath
=no
13525 runpath_var
=LD_RUN_PATH
13533 shlibpath_overrides_runpath
=no
13534 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13540 if test -d /usr
/nec
;then
13542 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13543 soname_spec
='$libname${shared_ext}.$major'
13544 shlibpath_var
=LD_LIBRARY_PATH
13548 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13549 version_type
=freebsd
-elf
13552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13553 soname_spec
='${libname}${release}${shared_ext}$major'
13554 shlibpath_var
=LD_LIBRARY_PATH
13555 shlibpath_overrides_runpath
=yes
13556 hardcode_into_libs
=yes
13557 if test "$with_gnu_ld" = yes; then
13558 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13560 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13563 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13567 sys_lib_dlsearch_path_spec
='/usr/lib'
13571 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13576 shlibpath_var
=LD_LIBRARY_PATH
13577 shlibpath_overrides_runpath
=no
13578 hardcode_into_libs
=yes
13583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13584 soname_spec
='${libname}${release}${shared_ext}$major'
13585 shlibpath_var
=LD_LIBRARY_PATH
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13593 $as_echo "$dynamic_linker" >&6; }
13594 test "$dynamic_linker" = no
&& can_build_shared
=no
13596 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13597 if test "$GCC" = yes; then
13598 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13601 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13602 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13604 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13605 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13644 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13645 hardcode_action_CXX
=
13646 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13647 test -n "$runpath_var_CXX" ||
13648 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13650 # We can hardcode non-existent directories.
13651 if test "$hardcode_direct_CXX" != no
&&
13652 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13653 # have to relink, otherwise we might link with an installed library
13654 # when we should be linking with a yet-to-be-installed one
13655 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13656 test "$hardcode_minus_L_CXX" != no
; then
13657 # Linking always hardcodes the temporary library directory.
13658 hardcode_action_CXX
=relink
13660 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13661 hardcode_action_CXX
=immediate
13664 # We cannot hardcode anything, or else we can only hardcode existing
13666 hardcode_action_CXX
=unsupported
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13669 $as_echo "$hardcode_action_CXX" >&6; }
13671 if test "$hardcode_action_CXX" = relink
||
13672 test "$inherit_rpath_CXX" = yes; then
13673 # Fast installation is not supported
13674 enable_fast_install
=no
13675 elif test "$shlibpath_overrides_runpath" = yes ||
13676 test "$enable_shared" = no
; then
13677 # Fast installation is not necessary
13678 enable_fast_install
=needless
13687 fi # test -n "$compiler"
13693 with_gnu_ld
=$lt_save_with_gnu_ld
13694 lt_cv_path_LDCXX
=$lt_cv_path_LD
13695 lt_cv_path_LD
=$lt_save_path_LD
13696 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13697 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13698 fi # test "$_lt_caught_CXX_error" != yes
13701 ac_cpp
='$CPP $CPPFLAGS'
13702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13708 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
13709 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
13712 if test -n "$ac_tool_prefix"; then
13713 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13716 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13718 $as_echo_n "checking for $ac_word... " >&6; }
13719 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
13720 $as_echo_n "(cached) " >&6
13722 if test -n "$OBJCXX"; then
13723 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
13725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13726 for as_dir
in $PATH
13729 test -z "$as_dir" && as_dir
=.
13730 for ac_exec_ext
in '' $ac_executable_extensions; do
13731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13732 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
13733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13742 OBJCXX
=$ac_cv_prog_OBJCXX
13743 if test -n "$OBJCXX"; then
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
13745 $as_echo "$OBJCXX" >&6; }
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13752 test -n "$OBJCXX" && break
13755 if test -z "$OBJCXX"; then
13756 ac_ct_OBJCXX
=$OBJCXX
13757 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13759 # Extract the first word of "$ac_prog", so it can be a program name with args.
13760 set dummy
$ac_prog; ac_word
=$2
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13762 $as_echo_n "checking for $ac_word... " >&6; }
13763 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
13764 $as_echo_n "(cached) " >&6
13766 if test -n "$ac_ct_OBJCXX"; then
13767 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
13769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13770 for as_dir
in $PATH
13773 test -z "$as_dir" && as_dir
=.
13774 for ac_exec_ext
in '' $ac_executable_extensions; do
13775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13776 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
13777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13786 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
13787 if test -n "$ac_ct_OBJCXX"; then
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
13789 $as_echo "$ac_ct_OBJCXX" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13792 $as_echo "no" >&6; }
13796 test -n "$ac_ct_OBJCXX" && break
13799 if test "x$ac_ct_OBJCXX" = x
; then
13802 case $cross_compiling:$ac_tool_warned in
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13806 ac_tool_warned
=yes ;;
13808 OBJCXX
=$ac_ct_OBJCXX
13812 # Provide some information about the compiler.
13813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
13816 for ac_option
in --version -v -V -qversion; do
13817 { { ac_try
="$ac_compiler $ac_option >&5"
13818 case "(($ac_try" in
13819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13820 *) ac_try_echo=$ac_try;;
13822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13823 $as_echo "$ac_try_echo"; } >&5
13824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13826 if test -s conftest.err; then
13828 ... rest of stderr output deleted ...
13829 10q' conftest.err >conftest.er1
13830 cat conftest.er1 >&5
13832 rm -f conftest.er1 conftest.err
13833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13834 test $ac_status = 0; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
13838 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
13839 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
13840 $as_echo_n "(cached) " >&6
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13856 if ac_fn_objcxx_try_compile "$LINENO"; then :
13857 ac_compiler_gnu=yes
13861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13862 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
13866 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
13867 if test $ac_compiler_gnu = yes; then
13872 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
13873 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
13875 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
13876 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
13877 $as_echo_n "(cached) " >&6
13879 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
13880 ac_objcxx_werror_flag=yes
13881 ac_cv_prog_objcxx_g=no
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13894 if ac_fn_objcxx_try_compile "$LINENO"; then :
13895 ac_cv_prog_objcxx_g=yes
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13909 if ac_fn_objcxx_try_compile "$LINENO"; then :
13912 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13925 if ac_fn_objcxx_try_compile "$LINENO"; then :
13926 ac_cv_prog_objcxx_g=yes
13928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13933 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
13936 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
13937 if test "$ac_test_OBJCXXFLAGS" = set; then
13938 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
13939 elif test $ac_cv_prog_objcxx_g = yes; then
13940 if test "$GOBJCXX" = yes; then
13941 OBJCXXFLAGS="-g -O2"
13946 if test "$GOBJCXX" = yes; then
13953 ac_cpp='$CPP $CPPFLAGS'
13954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13959 # Check whether --with-frameworks was given.
13960 if test "${with_frameworks+set}" = set; then :
13961 withval=$with_frameworks;
13962 for framework in $withval; do
13964 for element in -F$framework; do
13966 for x in $CFLAGS; do
13968 acl_save_prefix="$prefix"
13969 prefix="$acl_final_prefix"
13970 acl_save_exec_prefix="$exec_prefix"
13971 exec_prefix="$acl_final_exec_prefix"
13973 exec_prefix="$acl_save_exec_prefix"
13974 prefix="$acl_save_prefix"
13976 if test "X$x" = "X$element"; then
13981 if test -z "$haveit"; then
13982 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
13987 for element in -F$framework; do
13989 for x in $CXXFLAGS; do
13991 acl_save_prefix="$prefix"
13992 prefix="$acl_final_prefix"
13993 acl_save_exec_prefix="$exec_prefix"
13994 exec_prefix="$acl_final_exec_prefix"
13996 exec_prefix="$acl_save_exec_prefix"
13997 prefix="$acl_save_prefix"
13999 if test "X$x" = "X$element"; then
14004 if test -z "$haveit"; then
14005 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14010 for element in -F$framework; do
14012 for x in $OBJCCXXFLAGS; do
14014 acl_save_prefix="$prefix"
14015 prefix="$acl_final_prefix"
14016 acl_save_exec_prefix="$exec_prefix"
14017 exec_prefix="$acl_final_exec_prefix"
14019 exec_prefix="$acl_save_exec_prefix"
14020 prefix="$acl_save_prefix"
14022 if test "X$x" = "X$element"; then
14027 if test -z "$haveit"; then
14028 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14037 ac_cpp='$CXXCPP $CPPFLAGS'
14038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14043 for ac_prog in 'bison -y' byacc
14045 # Extract the first word of "$ac_prog", so it can be a program name with args.
14046 set dummy $ac_prog; ac_word=$2
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14048 $as_echo_n "checking for $ac_word... " >&6; }
14049 if test "${ac_cv_prog_YACC+set}" = set; then :
14050 $as_echo_n "(cached) " >&6
14052 if test -n "$YACC"; then
14053 ac_cv_prog_YACC="$YACC" # Let the user override the test.
14055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14056 for as_dir in $PATH
14059 test -z "$as_dir" && as_dir=.
14060 for ac_exec_ext in '' $ac_executable_extensions; do
14061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14062 ac_cv_prog_YACC="$ac_prog"
14063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14072 YACC=$ac_cv_prog_YACC
14073 if test -n "$YACC"; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14075 $as_echo "$YACC" >&6; }
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14078 $as_echo "no" >&6; }
14082 test -n "$YACC" && break
14084 test -n "$YACC" || YACC="yacc"
14086 if test "x$BISON" = x; then :
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
14092 $as_echo_n "checking if bison is the parser generator... " >&6; }
14093 if test "${ax_cv_prog_bison+set}" = set; then :
14094 $as_echo_n "(cached) " >&6
14097 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
14099 ax_cv_prog_bison=yes
14103 ax_cv_prog_bison=no
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
14109 $as_echo "$ax_cv_prog_bison" >&6; }
14110 if test "$ax_cv_prog_bison" = yes; then :
14114 BISON=`echo $YACC | $SED -e 's/ -y//'`
14121 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5
14127 $as_echo_n "checking if bison is >= 2.3... " >&6; }
14128 BISON_VERSION=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
14129 as_arg_v1=$BISON_VERSION
14131 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14136 $as_echo "no" >&6; }
14137 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14141 $as_echo "yes" >&6; } ;; #(
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144 $as_echo "yes" >&6; } ;; #(
14149 # expand $ac_aux_dir to an absolute path
14150 am_aux_dir=`cd $ac_aux_dir && pwd`
14152 if test x"${MISSING+set}" != xset; then
14153 case $am_aux_dir in
14155 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
14157 MISSING="\${SHELL} $am_aux_dir/missing" ;;
14160 # Use eval to expand $SHELL
14161 if eval "$MISSING --run true"; then
14162 am_missing_run="$MISSING --run "
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing
' script is too old or missing" >&5
14166 $as_echo "$as_me: WARNING: \`missing' script is too old or missing
" >&2;}
14169 for ac_prog in flex lex
14171 # Extract the first word of "$ac_prog", so it can be a program name with args.
14172 set dummy $ac_prog; ac_word=$2
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14174 $as_echo_n "checking
for $ac_word...
" >&6; }
14175 if test "${ac_cv_prog_LEX+set}" = set; then :
14176 $as_echo_n "(cached
) " >&6
14178 if test -n "$LEX"; then
14179 ac_cv_prog_LEX="$LEX" # Let the user override the test.
14181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182 for as_dir in $PATH
14185 test -z "$as_dir" && as_dir=.
14186 for ac_exec_ext in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_prog_LEX="$ac_prog"
14189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14198 LEX=$ac_cv_prog_LEX
14199 if test -n "$LEX"; then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
14201 $as_echo "$LEX" >&6; }
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14204 $as_echo "no
" >&6; }
14208 test -n "$LEX" && break
14210 test -n "$LEX" || LEX=":"
14212 if test "x
$LEX" != "x
:"; then
14213 cat >conftest.l <<_ACEOF
14219 e { yyless (input () != 0); }
14220 f { unput (yytext[0]); }
14221 . { BEGIN INITIAL; }
14223 #ifdef YYTEXT_POINTER
14224 extern char *yytext;
14229 return ! yylex () + ! yywrap ();
14232 { { ac_try="$LEX conftest.l
"
14233 case "(($ac_try" in
14234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14235 *) ac_try_echo=$ac_try;;
14237 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14238 $as_echo "$ac_try_echo"; } >&5
14239 (eval "$LEX conftest.l
") 2>&5
14241 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
14242 test $ac_status = 0; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex output
file root
" >&5
14244 $as_echo_n "checking
lex output
file root...
" >&6; }
14245 if test "${ac_cv_prog_lex_root+set}" = set; then :
14246 $as_echo_n "(cached
) " >&6
14249 if test -f lex.yy.c; then
14250 ac_cv_prog_lex_root=lex.yy
14251 elif test -f lexyy.c; then
14252 ac_cv_prog_lex_root=lexyy
14254 as_fn_error "cannot
find output from
$LEX; giving up
" "$LINENO" 5
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_root" >&5
14258 $as_echo "$ac_cv_prog_lex_root" >&6; }
14259 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14261 if test -z "${LEXLIB+set}"; then
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex library
" >&5
14263 $as_echo_n "checking
lex library...
" >&6; }
14264 if test "${ac_cv_lib_lex+set}" = set; then :
14265 $as_echo_n "(cached
) " >&6
14269 ac_cv_lib_lex='none needed'
14270 for ac_lib in '' -lfl -ll; do
14271 LIBS="$ac_lib $ac_save_LIBS"
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 `cat $LEX_OUTPUT_ROOT.c`
14276 if ac_fn_cxx_try_link "$LINENO"; then :
14277 ac_cv_lib_lex=$ac_lib
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 test "$ac_cv_lib_lex" != 'none needed' && break
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_lex" >&5
14287 $as_echo "$ac_cv_lib_lex" >&6; }
14288 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer
" >&5
14293 $as_echo_n "checking whether yytext is a pointer...
" >&6; }
14294 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14295 $as_echo_n "(cached
) " >&6
14297 # POSIX says lex can declare yytext either as a pointer or an array; the
14298 # default is implementation-dependent. Figure out which it is, since
14299 # not all implementations provide the %pointer and %array declarations.
14300 ac_cv_prog_lex_yytext_pointer=no
14302 LIBS="$LEXLIB $ac_save_LIBS"
14303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 #define YYTEXT_POINTER 1
14306 `cat $LEX_OUTPUT_ROOT.c`
14308 if ac_fn_cxx_try_link "$LINENO"; then :
14309 ac_cv_prog_lex_yytext_pointer=yes
14311 rm -f core conftest.err conftest.$ac_objext \
14312 conftest$ac_exeext conftest.$ac_ext
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_yytext_pointer" >&5
14317 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14318 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14320 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14323 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
14326 if test "$LEX" = :; then
14327 LEX
=${am_missing_run}flex
14329 if test "x$FLEX" = x
; then :
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
14335 $as_echo_n "checking if flex is the lexer generator... " >&6; }
14336 if test "${ax_cv_prog_flex+set}" = set; then :
14337 $as_echo_n "(cached) " >&6
14340 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
14342 ax_cv_prog_flex
=yes
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14352 $as_echo "$ax_cv_prog_flex" >&6; }
14353 if test "$ax_cv_prog_flex" = yes; then :
14364 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14369 FLEX_VERSION
=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14371 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14372 as_arg_v1
=$FLEX_VERSION
14374 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14379 $as_echo "no" >&6; }
14380 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14384 $as_echo "yes" >&6; } ;; #(
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14387 $as_echo "yes" >&6; } ;; #(
14391 for ac_prog
in bash
14393 # Extract the first word of "$ac_prog", so it can be a program name with args.
14394 set dummy
$ac_prog; ac_word
=$2
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14396 $as_echo_n "checking for $ac_word... " >&6; }
14397 if test "${ac_cv_prog_BASH+set}" = set; then :
14398 $as_echo_n "(cached) " >&6
14400 if test -n "$BASH"; then
14401 ac_cv_prog_BASH
="$BASH" # Let the user override the test.
14403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14404 for as_dir
in $PATH
14407 test -z "$as_dir" && as_dir
=.
14408 for ac_exec_ext
in '' $ac_executable_extensions; do
14409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14410 ac_cv_prog_BASH
="$ac_prog"
14411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14420 BASH
=$ac_cv_prog_BASH
14421 if test -n "$BASH"; then
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
14423 $as_echo "$BASH" >&6; }
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14426 $as_echo "no" >&6; }
14430 test -n "$BASH" && break
14434 for ac_prog
in gperf
14436 # Extract the first word of "$ac_prog", so it can be a program name with args.
14437 set dummy
$ac_prog; ac_word
=$2
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14439 $as_echo_n "checking for $ac_word... " >&6; }
14440 if test "${ac_cv_prog_GPERF+set}" = set; then :
14441 $as_echo_n "(cached) " >&6
14443 if test -n "$GPERF"; then
14444 ac_cv_prog_GPERF
="$GPERF" # Let the user override the test.
14446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14447 for as_dir
in $PATH
14450 test -z "$as_dir" && as_dir
=.
14451 for ac_exec_ext
in '' $ac_executable_extensions; do
14452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14453 ac_cv_prog_GPERF
="$ac_prog"
14454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14463 GPERF
=$ac_cv_prog_GPERF
14464 if test -n "$GPERF"; then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14466 $as_echo "$GPERF" >&6; }
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14469 $as_echo "no" >&6; }
14473 test -n "$GPERF" && break
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14477 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14478 GPERF_VERSION
=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14479 as_arg_v1
=$GPERF_VERSION
14481 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14486 $as_echo "no" >&6; }
14487 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14491 $as_echo "yes" >&6; } ;; #(
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14494 $as_echo "yes" >&6; } ;; #(
14498 for ac_prog
in time
14500 # Extract the first word of "$ac_prog", so it can be a program name with args.
14501 set dummy
$ac_prog; ac_word
=$2
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14503 $as_echo_n "checking for $ac_word... " >&6; }
14504 if test "${ac_cv_prog_TIME+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14507 if test -n "$TIME"; then
14508 ac_cv_prog_TIME
="$TIME" # Let the user override the test.
14510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14511 for as_dir
in $PATH
14514 test -z "$as_dir" && as_dir
=.
14515 for ac_exec_ext
in '' $ac_executable_extensions; do
14516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14517 ac_cv_prog_TIME
="$ac_prog"
14518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14527 TIME
=$ac_cv_prog_TIME
14528 if test -n "$TIME"; then
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14530 $as_echo "$TIME" >&6; }
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14533 $as_echo "no" >&6; }
14537 test -n "$TIME" && break
14543 if test "$target_os" = "os2-emx"; then
14544 # Scripts don't pass test -x on OS/2
14550 acceptable_majors
="1"
14552 apr_temp_acceptable_apr_config
=""
14553 for apr_temp_major
in $acceptable_majors
14555 case $apr_temp_major in
14557 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
14560 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14566 $as_echo_n "checking for APR... " >&6; }
14568 # Check whether --with-apr was given.
14569 if test "${with_apr+set}" = set; then :
14571 if test "$withval" = "no" || test "$withval" = "yes"; then
14572 as_fn_error
"--with-apr requires a directory or file to be provided" "$LINENO" 5
14575 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14577 for lookdir
in "$withval/bin" "$withval"
14579 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14580 apr_config
="$lookdir/$apr_temp_apr_config_file"
14588 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
14589 apr_config
="$withval"
14593 if test "$apr_found" != "yes"; then
14594 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
14599 if test -n "1" && test "1" = "1"; then
14600 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14602 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
14603 apr_config
="$apr_temp_apr_config_file"
14608 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
14609 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14610 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
14619 if test "$apr_found" = "no" && test -d ""; then
14620 apr_temp_abs_srcdir
="`cd && pwd`"
14621 apr_found
="reconfig"
14622 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
14623 case $apr_bundled_major in
14625 as_fn_error
"failed to find major version of bundled APR" "$LINENO" 5
14628 apr_temp_apr_config_file
="apr-config"
14631 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
14634 if test -n ""; then
14635 apr_config
="/$apr_temp_apr_config_file"
14637 apr_config
="/$apr_temp_apr_config_file"
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14645 $as_echo "$apr_found" >&6; }
14647 case $apr_found in #(
14651 for element
in `$apr_config --includes`; do
14653 for x
in $CPPFLAGS; do
14655 acl_save_prefix
="$prefix"
14656 prefix
="$acl_final_prefix"
14657 acl_save_exec_prefix
="$exec_prefix"
14658 exec_prefix
="$acl_final_exec_prefix"
14660 exec_prefix
="$acl_save_exec_prefix"
14661 prefix
="$acl_save_prefix"
14663 if test "X$x" = "X$element"; then
14668 if test -z "$haveit"; then
14669 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14673 LTLIBAPR
=`$apr_config --link-libtool`
14677 as_fn_error
"You need apr" "$LINENO" 5 ;;
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14682 $as_echo_n "checking for a readline compatible library... " >&6; }
14683 if test "${vl_cv_lib_readline+set}" = set; then :
14684 $as_echo_n "(cached) " >&6
14688 for readline_lib
in readline edit editline
; do
14689 for termcap_lib
in "" termcap curses ncurses
; do
14690 if test -z "$termcap_lib"; then
14691 TRY_LIB
="-l$readline_lib"
14693 TRY_LIB
="-l$readline_lib -l$termcap_lib"
14695 LIBS
="$ORIG_LIBS $TRY_LIB"
14696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14699 /* Override any GCC internal prototype to avoid an error.
14700 Use char because int might match the return type of a GCC
14701 builtin and then its argument prototype would still apply. */
14709 return readline ();
14714 if ac_fn_cxx_try_link
"$LINENO"; then :
14715 vl_cv_lib_readline
="$TRY_LIB"
14717 rm -f core conftest.err conftest.
$ac_objext \
14718 conftest
$ac_exeext conftest.
$ac_ext
14719 if test -n "$vl_cv_lib_readline"; then
14723 if test -n "$vl_cv_lib_readline"; then
14727 if test -z "$vl_cv_lib_readline"; then
14728 vl_cv_lib_readline
="no"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14734 $as_echo "$vl_cv_lib_readline" >&6; }
14736 if test "$vl_cv_lib_readline" != "no"; then
14738 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14740 for ac_header
in readline.h readline
/readline.h
14742 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14743 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14744 eval as_val
=\$
$as_ac_Header
14745 if test "x$as_val" = x
""yes; then :
14746 cat >>confdefs.h
<<_ACEOF
14747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14755 $as_echo_n "checking whether readline supports history... " >&6; }
14756 if test "${vl_cv_lib_readline_history+set}" = set; then :
14757 $as_echo_n "(cached) " >&6
14760 vl_cv_lib_readline_history
="no"
14761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14764 /* Override any GCC internal prototype to avoid an error.
14765 Use char because int might match the return type of a GCC
14766 builtin and then its argument prototype would still apply. */
14770 char add_history ();
14774 return add_history ();
14779 if ac_fn_cxx_try_link
"$LINENO"; then :
14780 vl_cv_lib_readline_history
="yes"
14782 rm -f core conftest.err conftest.
$ac_objext \
14783 conftest
$ac_exeext conftest.
$ac_ext
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14787 $as_echo "$vl_cv_lib_readline_history" >&6; }
14788 if test "$vl_cv_lib_readline_history" = "yes"; then
14790 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14792 for ac_header
in history.h readline
/history.h
14794 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14795 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14796 eval as_val
=\$
$as_ac_Header
14797 if test "x$as_val" = x
""yes; then :
14798 cat >>confdefs.h
<<_ACEOF
14799 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14809 # Find a good install program. We prefer a C program (faster),
14810 # so one script is as good as another. But avoid the broken or
14811 # incompatible versions:
14812 # SysV /etc/install, /usr/sbin/install
14813 # SunOS /usr/etc/install
14814 # IRIX /sbin/install
14816 # AmigaOS /C/install, which installs bootblocks on floppy discs
14817 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14818 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14819 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14820 # OS/2's system install, which has a completely different semantic
14821 # ./install, which can be erroneously created by make from ./install.sh.
14822 # Reject install programs that cannot install multiple files.
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14824 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14825 if test -z "$INSTALL"; then
14826 if test "${ac_cv_path_install+set}" = set; then :
14827 $as_echo_n "(cached) " >&6
14829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14830 for as_dir
in $PATH
14833 test -z "$as_dir" && as_dir
=.
14834 # Account for people who put trailing slashes in PATH elements.
14835 case $as_dir/ in #((
14836 .
/ | .
// | /[cC
]/* | \
14837 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14838 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14841 # OSF1 and SCO ODT 3.0 have their own names for install.
14842 # Don't use installbsd from OSF since it installs stuff as root
14844 for ac_prog
in ginstall scoinst
install; do
14845 for ac_exec_ext
in '' $ac_executable_extensions; do
14846 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14847 if test $ac_prog = install &&
14848 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14849 # AIX install. It has an incompatible calling convention.
14851 elif test $ac_prog = install &&
14852 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14853 # program-specific install script used by HP pwplus--don't use.
14856 rm -rf conftest.one conftest.two conftest.dir
14857 echo one
> conftest.one
14858 echo two
> conftest.two
14860 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14861 test -s conftest.one
&& test -s conftest.two
&&
14862 test -s conftest.dir
/conftest.one
&&
14863 test -s conftest.dir
/conftest.two
14865 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14878 rm -rf conftest.one conftest.two conftest.dir
14881 if test "${ac_cv_path_install+set}" = set; then
14882 INSTALL
=$ac_cv_path_install
14884 # As a last resort, use the slow shell script. Don't cache a
14885 # value for INSTALL within a source directory, because that will
14886 # break other packages using the cache if that directory is
14887 # removed, or if the value is a relative name.
14888 INSTALL
=$ac_install_sh
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14892 $as_echo "$INSTALL" >&6; }
14894 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14895 # It thinks the first close brace ends the variable substitution.
14896 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14898 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14900 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14903 ac_cpp
='$CPP $CPPFLAGS'
14904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14909 if test "X$prefix" = "XNONE"; then
14910 acl_final_prefix
="$ac_default_prefix"
14912 acl_final_prefix
="$prefix"
14914 if test "X$exec_prefix" = "XNONE"; then
14915 acl_final_exec_prefix
='${prefix}'
14917 acl_final_exec_prefix
="$exec_prefix"
14919 acl_save_prefix
="$prefix"
14920 prefix
="$acl_final_prefix"
14921 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14922 prefix
="$acl_save_prefix"
14925 # Check whether --with-gnu-ld was given.
14926 if test "${with_gnu_ld+set}" = set; then :
14927 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
14932 # Prepare PATH_SEPARATOR.
14933 # The user is always right.
14934 if test "${PATH_SEPARATOR+set}" != set; then
14935 echo "#! /bin/sh" >conf$$.sh
14936 echo "exit 0" >>conf$$.sh
14938 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14946 if test "$GCC" = yes; then
14947 # Check if gcc -print-prog-name=ld gives a path.
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14949 $as_echo_n "checking for ld used by GCC... " >&6; }
14952 # gcc leaves a trailing carriage return which upsets mingw
14953 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14955 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14958 # Accept absolute paths.
14959 [\\/]* | [A
-Za-z]:[\\/]*)
14960 re_direlt
='/[^/][^/]*/\.\./'
14961 # Canonicalize the path of ld
14962 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14963 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
14964 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14966 test -z "$LD" && LD
="$ac_prog"
14969 # If it fails, then pretend we aren't using GCC.
14973 # If it is relative, then search for the first ld in PATH.
14974 with_gnu_ld
=unknown
14977 elif test "$with_gnu_ld" = yes; then
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14979 $as_echo_n "checking for GNU ld... " >&6; }
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14982 $as_echo_n "checking for non-GNU ld... " >&6; }
14984 if test "${acl_cv_path_LD+set}" = set; then :
14985 $as_echo_n "(cached) " >&6
14987 if test -z "$LD"; then
14988 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
14989 for ac_dir
in $PATH; do
14990 test -z "$ac_dir" && ac_dir
=.
14991 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14992 acl_cv_path_LD
="$ac_dir/$ac_prog"
14993 # Check to see if the program is GNU ld. I'd rather use --version,
14994 # but apparently some GNU ld's only accept -v.
14995 # Break only if it was the GNU/non-GNU ld that we prefer.
14996 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14997 *GNU
* | *'with BFD'*)
14998 test "$with_gnu_ld" != no
&& break ;;
15000 test "$with_gnu_ld" != yes && break ;;
15006 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
15010 LD
="$acl_cv_path_LD"
15011 if test -n "$LD"; then
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15013 $as_echo "$LD" >&6; }
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15016 $as_echo "no" >&6; }
15018 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15020 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15021 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
15022 $as_echo_n "(cached) " >&6
15024 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15025 case `$LD -v 2>&1 </dev/null` in
15026 *GNU
* | *'with BFD'*)
15027 acl_cv_prog_gnu_ld
=yes ;;
15029 acl_cv_prog_gnu_ld
=no
;;
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15033 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15034 with_gnu_ld
=$acl_cv_prog_gnu_ld
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15040 $as_echo_n "checking for shared library run path origin... " >&6; }
15041 if test "${acl_cv_rpath+set}" = set; then :
15042 $as_echo_n "(cached) " >&6
15045 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
15046 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15048 rm -f .
/conftest.sh
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15053 $as_echo "$acl_cv_rpath" >&6; }
15055 acl_libext
="$acl_cv_libext"
15056 acl_shlibext
="$acl_cv_shlibext"
15057 acl_libname_spec
="$acl_cv_libname_spec"
15058 acl_library_names_spec
="$acl_cv_library_names_spec"
15059 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
15060 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
15061 acl_hardcode_direct
="$acl_cv_hardcode_direct"
15062 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
15063 # Check whether --enable-rpath was given.
15064 if test "${enable_rpath+set}" = set; then :
15065 enableval
=$enable_rpath; :
15073 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15074 if test -n "$searchpath"; then
15075 acl_save_IFS
="${IFS= }"; IFS
=":"
15076 for searchdir
in $searchpath; do
15077 if test -d "$searchdir"; then
15078 case "$searchdir" in
15079 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
15080 *) searchdir
=`cd "$searchdir" && pwd`
15081 case "$searchdir" in
15082 */lib64
) acl_libdirstem
=lib64
;;
15087 IFS
="$acl_save_IFS"
15100 acl_save_prefix
="$prefix"
15101 prefix
="$acl_final_prefix"
15102 acl_save_exec_prefix
="$exec_prefix"
15103 exec_prefix
="$acl_final_exec_prefix"
15105 eval additional_includedir
=\"$includedir\"
15106 eval additional_libdir
=\"$libdir\"
15108 exec_prefix
="$acl_save_exec_prefix"
15109 prefix
="$acl_save_prefix"
15112 # Check whether --with-libiconv-prefix was given.
15113 if test "${with_libiconv_prefix+set}" = set; then :
15114 withval
=$with_libiconv_prefix;
15115 if test "X$withval" = "Xno"; then
15118 if test "X$withval" = "X"; then
15120 acl_save_prefix
="$prefix"
15121 prefix
="$acl_final_prefix"
15122 acl_save_exec_prefix
="$exec_prefix"
15123 exec_prefix
="$acl_final_exec_prefix"
15125 eval additional_includedir
=\"$includedir\"
15126 eval additional_libdir
=\"$libdir\"
15128 exec_prefix
="$acl_save_exec_prefix"
15129 prefix
="$acl_save_prefix"
15132 additional_includedir
="$withval/include"
15133 additional_libdir
="$withval/$acl_libdirstem"
15145 names_already_handled
=
15146 names_next_round
='iconv '
15147 while test -n "$names_next_round"; do
15148 names_this_round
="$names_next_round"
15150 for name
in $names_this_round; do
15152 for n
in $names_already_handled; do
15153 if test "$n" = "$name"; then
15154 already_handled
=yes
15158 if test -z "$already_handled"; then
15159 names_already_handled
="$names_already_handled $name"
15160 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15161 eval value
=\"\
$HAVE_LIB$uppername\"
15162 if test -n "$value"; then
15163 if test "$value" = yes; then
15164 eval value
=\"\
$LIB$uppername\"
15165 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
15166 eval value
=\"\
$LTLIB$uppername\"
15167 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
15176 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
15177 if test -n "$acl_shlibext"; then
15178 shrext
=".$acl_shlibext" # typically: shrext=.so
15182 if test $use_additional = yes; then
15183 dir
="$additional_libdir"
15184 if test -n "$acl_shlibext"; then
15185 if test -f "$dir/$libname$shrext"; then
15187 found_so
="$dir/$libname$shrext"
15189 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15190 ver
=`(cd "$dir" && \
15191 for f in "$libname$shrext".*; do echo "$f"; done \
15192 | sed -e "s,^$libname$shrext\\\\.,," \
15193 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15194 | sed 1q ) 2>/dev/null`
15195 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15197 found_so
="$dir/$libname$shrext.$ver"
15200 eval library_names
=\"$acl_library_names_spec\"
15201 for f
in $library_names; do
15202 if test -f "$dir/$f"; then
15211 if test "X$found_dir" = "X"; then
15212 if test -f "$dir/$libname.$acl_libext"; then
15214 found_a
="$dir/$libname.$acl_libext"
15217 if test "X$found_dir" != "X"; then
15218 if test -f "$dir/$libname.la"; then
15219 found_la
="$dir/$libname.la"
15223 if test "X$found_dir" = "X"; then
15224 for x
in $LDFLAGS $LTLIBICONV; do
15226 acl_save_prefix
="$prefix"
15227 prefix
="$acl_final_prefix"
15228 acl_save_exec_prefix
="$exec_prefix"
15229 exec_prefix
="$acl_final_exec_prefix"
15231 exec_prefix
="$acl_save_exec_prefix"
15232 prefix
="$acl_save_prefix"
15236 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15237 if test -n "$acl_shlibext"; then
15238 if test -f "$dir/$libname$shrext"; then
15240 found_so
="$dir/$libname$shrext"
15242 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15243 ver
=`(cd "$dir" && \
15244 for f in "$libname$shrext".*; do echo "$f"; done \
15245 | sed -e "s,^$libname$shrext\\\\.,," \
15246 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15247 | sed 1q ) 2>/dev/null`
15248 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15250 found_so
="$dir/$libname$shrext.$ver"
15253 eval library_names
=\"$acl_library_names_spec\"
15254 for f
in $library_names; do
15255 if test -f "$dir/$f"; then
15264 if test "X$found_dir" = "X"; then
15265 if test -f "$dir/$libname.$acl_libext"; then
15267 found_a
="$dir/$libname.$acl_libext"
15270 if test "X$found_dir" != "X"; then
15271 if test -f "$dir/$libname.la"; then
15272 found_la
="$dir/$libname.la"
15277 if test "X$found_dir" != "X"; then
15282 if test "X$found_dir" != "X"; then
15283 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15284 if test "X$found_so" != "X"; then
15285 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15286 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15289 for x
in $ltrpathdirs; do
15290 if test "X$x" = "X$found_dir"; then
15295 if test -z "$haveit"; then
15296 ltrpathdirs
="$ltrpathdirs $found_dir"
15298 if test "$acl_hardcode_direct" = yes; then
15299 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15301 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
15302 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15304 for x
in $rpathdirs; do
15305 if test "X$x" = "X$found_dir"; then
15310 if test -z "$haveit"; then
15311 rpathdirs
="$rpathdirs $found_dir"
15315 for x
in $LDFLAGS $LIBICONV; do
15317 acl_save_prefix
="$prefix"
15318 prefix
="$acl_final_prefix"
15319 acl_save_exec_prefix
="$exec_prefix"
15320 exec_prefix
="$acl_final_exec_prefix"
15322 exec_prefix
="$acl_save_exec_prefix"
15323 prefix
="$acl_save_prefix"
15325 if test "X$x" = "X-L$found_dir"; then
15330 if test -z "$haveit"; then
15331 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15333 if test "$acl_hardcode_minus_L" != no
; then
15334 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15336 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15342 if test "X$found_a" != "X"; then
15343 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
15345 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15348 additional_includedir
=
15349 case "$found_dir" in
15350 */$acl_libdirstem | */$acl_libdirstem/)
15351 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15352 LIBICONV_PREFIX
="$basedir"
15353 additional_includedir
="$basedir/include"
15356 if test "X$additional_includedir" != "X"; then
15357 if test "X$additional_includedir" != "X/usr/include"; then
15359 if test "X$additional_includedir" = "X/usr/local/include"; then
15360 if test -n "$GCC"; then
15362 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15366 if test -z "$haveit"; then
15367 for x
in $CPPFLAGS $INCICONV; do
15369 acl_save_prefix
="$prefix"
15370 prefix
="$acl_final_prefix"
15371 acl_save_exec_prefix
="$exec_prefix"
15372 exec_prefix
="$acl_final_exec_prefix"
15374 exec_prefix
="$acl_save_exec_prefix"
15375 prefix
="$acl_save_prefix"
15377 if test "X$x" = "X-I$additional_includedir"; then
15382 if test -z "$haveit"; then
15383 if test -d "$additional_includedir"; then
15384 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15390 if test -n "$found_la"; then
15391 save_libdir
="$libdir"
15392 case "$found_la" in
15393 */* | *\\*) .
"$found_la" ;;
15394 *) .
"./$found_la" ;;
15396 libdir
="$save_libdir"
15397 for dep
in $dependency_libs; do
15400 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15401 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15403 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15404 if test -n "$GCC"; then
15406 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15410 if test -z "$haveit"; then
15412 for x
in $LDFLAGS $LIBICONV; do
15414 acl_save_prefix
="$prefix"
15415 prefix
="$acl_final_prefix"
15416 acl_save_exec_prefix
="$exec_prefix"
15417 exec_prefix
="$acl_final_exec_prefix"
15419 exec_prefix
="$acl_save_exec_prefix"
15420 prefix
="$acl_save_prefix"
15422 if test "X$x" = "X-L$additional_libdir"; then
15427 if test -z "$haveit"; then
15428 if test -d "$additional_libdir"; then
15429 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15433 for x
in $LDFLAGS $LTLIBICONV; do
15435 acl_save_prefix
="$prefix"
15436 prefix
="$acl_final_prefix"
15437 acl_save_exec_prefix
="$exec_prefix"
15438 exec_prefix
="$acl_final_exec_prefix"
15440 exec_prefix
="$acl_save_exec_prefix"
15441 prefix
="$acl_save_prefix"
15443 if test "X$x" = "X-L$additional_libdir"; then
15448 if test -z "$haveit"; then
15449 if test -d "$additional_libdir"; then
15450 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15457 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15458 if test "$enable_rpath" != no
; then
15460 for x
in $rpathdirs; do
15461 if test "X$x" = "X$dir"; then
15466 if test -z "$haveit"; then
15467 rpathdirs
="$rpathdirs $dir"
15470 for x
in $ltrpathdirs; do
15471 if test "X$x" = "X$dir"; then
15476 if test -z "$haveit"; then
15477 ltrpathdirs
="$ltrpathdirs $dir"
15482 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15485 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15488 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15489 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15495 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15496 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15502 if test "X$rpathdirs" != "X"; then
15503 if test -n "$acl_hardcode_libdir_separator"; then
15505 for found_dir
in $rpathdirs; do
15506 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15508 acl_save_libdir
="$libdir"
15510 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15511 libdir
="$acl_save_libdir"
15512 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15514 for found_dir
in $rpathdirs; do
15515 acl_save_libdir
="$libdir"
15516 libdir
="$found_dir"
15517 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15518 libdir
="$acl_save_libdir"
15519 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15523 if test "X$ltrpathdirs" != "X"; then
15524 for found_dir
in $ltrpathdirs; do
15525 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15535 am_save_CPPFLAGS
="$CPPFLAGS"
15537 for element
in $INCICONV; do
15539 for x
in $CPPFLAGS; do
15541 acl_save_prefix
="$prefix"
15542 prefix
="$acl_final_prefix"
15543 acl_save_exec_prefix
="$exec_prefix"
15544 exec_prefix
="$acl_final_exec_prefix"
15546 exec_prefix
="$acl_save_exec_prefix"
15547 prefix
="$acl_save_prefix"
15549 if test "X$x" = "X$element"; then
15554 if test -z "$haveit"; then
15555 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15561 $as_echo_n "checking for iconv... " >&6; }
15562 if test "${am_cv_func_iconv+set}" = set; then :
15563 $as_echo_n "(cached) " >&6
15566 am_cv_func_iconv
="no, consider installing GNU libiconv"
15568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570 #include <stdlib.h>
15575 iconv_t cd = iconv_open("","");
15576 iconv(cd,NULL,NULL,NULL,NULL);
15582 if ac_fn_c_try_link
"$LINENO"; then :
15583 am_cv_func_iconv
=yes
15585 rm -f core conftest.err conftest.
$ac_objext \
15586 conftest
$ac_exeext conftest.
$ac_ext
15587 if test "$am_cv_func_iconv" != yes; then
15588 am_save_LIBS
="$LIBS"
15589 LIBS
="$LIBS $LIBICONV"
15590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 #include <stdlib.h>
15597 iconv_t cd = iconv_open("","");
15598 iconv(cd,NULL,NULL,NULL,NULL);
15604 if ac_fn_c_try_link
"$LINENO"; then :
15605 am_cv_lib_iconv
=yes
15606 am_cv_func_iconv
=yes
15608 rm -f core conftest.err conftest.
$ac_objext \
15609 conftest
$ac_exeext conftest.
$ac_ext
15610 LIBS
="$am_save_LIBS"
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15615 $as_echo "$am_cv_func_iconv" >&6; }
15616 if test "$am_cv_func_iconv" = yes; then
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15618 $as_echo_n "checking for working iconv... " >&6; }
15619 if test "${am_cv_func_iconv_works+set}" = set; then :
15620 $as_echo_n "(cached) " >&6
15623 am_save_LIBS
="$LIBS"
15624 if test $am_cv_lib_iconv = yes; then
15625 LIBS
="$LIBS $LIBICONV"
15627 if test "$cross_compiling" = yes; then :
15629 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15630 *) am_cv_func_iconv_works
="guessing yes" ;;
15633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15634 /* end confdefs.h. */
15637 #include <string.h>
15640 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15643 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15644 if (cd_utf8_to_88591 != (iconv_t)(-1))
15646 static const char input[] = "\342\202\254"; /* EURO SIGN */
15648 const char *inptr = input;
15649 size_t inbytesleft = strlen (input);
15650 char *outptr = buf;
15651 size_t outbytesleft = sizeof (buf);
15652 size_t res = iconv (cd_utf8_to_88591,
15653 (char **) &inptr, &inbytesleft,
15654 &outptr, &outbytesleft);
15659 #if 0 /* This bug could be worked around by the caller. */
15660 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15662 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15663 if (cd_88591_to_utf8 != (iconv_t)(-1))
15665 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15667 const char *inptr = input;
15668 size_t inbytesleft = strlen (input);
15669 char *outptr = buf;
15670 size_t outbytesleft = sizeof (buf);
15671 size_t res = iconv (cd_88591_to_utf8,
15672 (char **) &inptr, &inbytesleft,
15673 &outptr, &outbytesleft);
15679 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15681 if (/* Try standardized names. */
15682 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15683 /* Try IRIX, OSF/1 names. */
15684 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15685 /* Try AIX names. */
15686 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15687 /* Try HP-UX names. */
15688 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15693 if ac_fn_c_try_run
"$LINENO"; then :
15694 am_cv_func_iconv_works
=yes
15696 am_cv_func_iconv_works
=no
15698 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15699 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15702 LIBS
="$am_save_LIBS"
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15706 $as_echo "$am_cv_func_iconv_works" >&6; }
15707 case "$am_cv_func_iconv_works" in
15708 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15709 *) am_func_iconv
=yes ;;
15712 am_func_iconv
=no am_cv_lib_iconv
=no
15714 if test "$am_func_iconv" = yes; then
15716 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15719 if test "$am_cv_lib_iconv" = yes; then
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15721 $as_echo_n "checking how to link with libiconv... " >&6; }
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15723 $as_echo "$LIBICONV" >&6; }
15725 CPPFLAGS
="$am_save_CPPFLAGS"
15732 if test "$am_cv_func_iconv" = yes; then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15734 $as_echo_n "checking for iconv declaration... " >&6; }
15735 if test "${am_cv_proto_iconv+set}" = set; then :
15736 $as_echo_n "(cached) " >&6
15739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15740 /* end confdefs.h. */
15742 #include <stdlib.h>
15748 #if defined(__STDC__) || defined(__cplusplus)
15749 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15762 if ac_fn_c_try_compile
"$LINENO"; then :
15763 am_cv_proto_iconv_arg1
=""
15765 am_cv_proto_iconv_arg1
="const"
15767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15768 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);"
15771 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15773 }$am_cv_proto_iconv" >&5
15775 }$am_cv_proto_iconv" >&6; }
15777 cat >>confdefs.h
<<_ACEOF
15778 #define ICONV_CONST $am_cv_proto_iconv_arg1
15784 ac_cpp
='$CXXCPP $CPPFLAGS'
15785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15789 case $am_cv_func_iconv in #(
15793 as_fn_error
"You need iconv" "$LINENO" 5 ;;
15797 # Check whether --enable-javascript was given.
15798 if test "${enable_javascript+set}" = set; then :
15799 enableval
=$enable_javascript;
15800 case $enableval in #(
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15807 $as_echo_n "checking for WEBKIT... " >&6; }
15809 if test -n "$PKG_CONFIG"; then
15810 if test -n "$WEBKIT_CFLAGS"; then
15811 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15813 if test -n "$PKG_CONFIG" && \
15814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15815 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15818 test $ac_status = 0; }; then
15819 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
15827 if test -n "$PKG_CONFIG"; then
15828 if test -n "$WEBKIT_LIBS"; then
15829 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15831 if test -n "$PKG_CONFIG" && \
15832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15833 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15836 test $ac_status = 0; }; then
15837 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
15848 if test $pkg_failed = yes; then
15850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15851 _pkg_short_errors_supported
=yes
15853 _pkg_short_errors_supported
=no
15855 if test $_pkg_short_errors_supported = yes; then
15856 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15858 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15860 # Put the nasty error message in config.log where it belongs
15861 echo "$WEBKIT_PKG_ERRORS" >&5
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15864 $as_echo "no" >&6; }
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15869 $as_echo_n "checking for WEBKIT... " >&6; }
15871 if test -n "$PKG_CONFIG"; then
15872 if test -n "$WEBKIT_CFLAGS"; then
15873 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15875 if test -n "$PKG_CONFIG" && \
15876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15877 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15880 test $ac_status = 0; }; then
15881 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15889 if test -n "$PKG_CONFIG"; then
15890 if test -n "$WEBKIT_LIBS"; then
15891 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15893 if test -n "$PKG_CONFIG" && \
15894 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15895 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15898 test $ac_status = 0; }; then
15899 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15910 if test $pkg_failed = yes; then
15912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15913 _pkg_short_errors_supported
=yes
15915 _pkg_short_errors_supported
=no
15917 if test $_pkg_short_errors_supported = yes; then
15918 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15920 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15922 # Put the nasty error message in config.log where it belongs
15923 echo "$WEBKIT_PKG_ERRORS" >&5
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15926 $as_echo "no" >&6; }
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15930 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15931 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15932 $as_echo_n "(cached) " >&6
15935 ac_check_framework_save_LIBS
=$LIBS
15936 LIBS
="-framework JavaScriptCore $LIBS"
15937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15940 #include <JavaScriptCore/JSBase.h>
15945 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15950 if ac_fn_cxx_try_link
"$LINENO"; then :
15952 ac_cv_framework_JavaScriptCore
=yes
15955 ac_cv_framework_JavaScriptCore
=no
15957 rm -f core conftest.err conftest.
$ac_objext \
15958 conftest
$ac_exeext conftest.
$ac_ext
15959 LIBS
=$ac_check_framework_save_LIBS
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15963 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15964 if test $ac_cv_framework_JavaScriptCore = yes; then :
15967 for element
in "-framework JavaScriptCore $LIBS"; do
15971 acl_save_prefix
="$prefix"
15972 prefix
="$acl_final_prefix"
15973 acl_save_exec_prefix
="$exec_prefix"
15974 exec_prefix
="$acl_final_exec_prefix"
15976 exec_prefix
="$acl_save_exec_prefix"
15977 prefix
="$acl_save_prefix"
15979 if test "X$x" = "X$element"; then
15984 if test -z "$haveit"; then
15985 LIBS
="${LIBS}${LIBS:+ }$element"
15993 elif test $pkg_failed = untried
; then
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15997 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15998 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15999 $as_echo_n "(cached) " >&6
16002 ac_check_framework_save_LIBS
=$LIBS
16003 LIBS
="-framework JavaScriptCore $LIBS"
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 #include <JavaScriptCore/JSBase.h>
16012 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16017 if ac_fn_cxx_try_link
"$LINENO"; then :
16019 ac_cv_framework_JavaScriptCore
=yes
16022 ac_cv_framework_JavaScriptCore
=no
16024 rm -f core conftest.err conftest.
$ac_objext \
16025 conftest
$ac_exeext conftest.
$ac_ext
16026 LIBS
=$ac_check_framework_save_LIBS
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16030 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16031 if test $ac_cv_framework_JavaScriptCore = yes; then :
16034 for element
in "-framework JavaScriptCore $LIBS"; do
16038 acl_save_prefix
="$prefix"
16039 prefix
="$acl_final_prefix"
16040 acl_save_exec_prefix
="$exec_prefix"
16041 exec_prefix
="$acl_final_exec_prefix"
16043 exec_prefix
="$acl_save_exec_prefix"
16044 prefix
="$acl_save_prefix"
16046 if test "X$x" = "X$element"; then
16051 if test -z "$haveit"; then
16052 LIBS
="${LIBS}${LIBS:+ }$element"
16061 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16062 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16064 $as_echo "yes" >&6; }
16068 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16070 for x
in $CXXFLAGS; do
16072 acl_save_prefix
="$prefix"
16073 prefix
="$acl_final_prefix"
16074 acl_save_exec_prefix
="$exec_prefix"
16075 exec_prefix
="$acl_final_exec_prefix"
16077 exec_prefix
="$acl_save_exec_prefix"
16078 prefix
="$acl_save_prefix"
16080 if test "X$x" = "X$element"; then
16085 if test -z "$haveit"; then
16086 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16091 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16095 acl_save_prefix
="$prefix"
16096 prefix
="$acl_final_prefix"
16097 acl_save_exec_prefix
="$exec_prefix"
16098 exec_prefix
="$acl_final_exec_prefix"
16100 exec_prefix
="$acl_save_exec_prefix"
16101 prefix
="$acl_save_prefix"
16103 if test "X$x" = "X$element"; then
16108 if test -z "$haveit"; then
16109 LIBS
="${LIBS}${LIBS:+ }$element"
16116 elif test $pkg_failed = untried
; then
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16121 $as_echo_n "checking for WEBKIT... " >&6; }
16123 if test -n "$PKG_CONFIG"; then
16124 if test -n "$WEBKIT_CFLAGS"; then
16125 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16127 if test -n "$PKG_CONFIG" && \
16128 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16129 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16132 test $ac_status = 0; }; then
16133 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16141 if test -n "$PKG_CONFIG"; then
16142 if test -n "$WEBKIT_LIBS"; then
16143 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16145 if test -n "$PKG_CONFIG" && \
16146 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16147 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16150 test $ac_status = 0; }; then
16151 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16162 if test $pkg_failed = yes; then
16164 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16165 _pkg_short_errors_supported
=yes
16167 _pkg_short_errors_supported
=no
16169 if test $_pkg_short_errors_supported = yes; then
16170 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16172 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16174 # Put the nasty error message in config.log where it belongs
16175 echo "$WEBKIT_PKG_ERRORS" >&5
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178 $as_echo "no" >&6; }
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16182 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16183 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16184 $as_echo_n "(cached) " >&6
16187 ac_check_framework_save_LIBS
=$LIBS
16188 LIBS
="-framework JavaScriptCore $LIBS"
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16192 #include <JavaScriptCore/JSBase.h>
16197 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16202 if ac_fn_cxx_try_link
"$LINENO"; then :
16204 ac_cv_framework_JavaScriptCore
=yes
16207 ac_cv_framework_JavaScriptCore
=no
16209 rm -f core conftest.err conftest.
$ac_objext \
16210 conftest
$ac_exeext conftest.
$ac_ext
16211 LIBS
=$ac_check_framework_save_LIBS
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16215 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16216 if test $ac_cv_framework_JavaScriptCore = yes; then :
16219 for element
in "-framework JavaScriptCore $LIBS"; do
16223 acl_save_prefix
="$prefix"
16224 prefix
="$acl_final_prefix"
16225 acl_save_exec_prefix
="$exec_prefix"
16226 exec_prefix
="$acl_final_exec_prefix"
16228 exec_prefix
="$acl_save_exec_prefix"
16229 prefix
="$acl_save_prefix"
16231 if test "X$x" = "X$element"; then
16236 if test -z "$haveit"; then
16237 LIBS
="${LIBS}${LIBS:+ }$element"
16245 elif test $pkg_failed = untried
; then
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16249 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16250 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16251 $as_echo_n "(cached) " >&6
16254 ac_check_framework_save_LIBS
=$LIBS
16255 LIBS
="-framework JavaScriptCore $LIBS"
16256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16259 #include <JavaScriptCore/JSBase.h>
16264 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16269 if ac_fn_cxx_try_link
"$LINENO"; then :
16271 ac_cv_framework_JavaScriptCore
=yes
16274 ac_cv_framework_JavaScriptCore
=no
16276 rm -f core conftest.err conftest.
$ac_objext \
16277 conftest
$ac_exeext conftest.
$ac_ext
16278 LIBS
=$ac_check_framework_save_LIBS
16281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16282 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16283 if test $ac_cv_framework_JavaScriptCore = yes; then :
16286 for element
in "-framework JavaScriptCore $LIBS"; do
16290 acl_save_prefix
="$prefix"
16291 prefix
="$acl_final_prefix"
16292 acl_save_exec_prefix
="$exec_prefix"
16293 exec_prefix
="$acl_final_exec_prefix"
16295 exec_prefix
="$acl_save_exec_prefix"
16296 prefix
="$acl_save_prefix"
16298 if test "X$x" = "X$element"; then
16303 if test -z "$haveit"; then
16304 LIBS
="${LIBS}${LIBS:+ }$element"
16313 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16314 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16316 $as_echo "yes" >&6; }
16320 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16322 for x
in $CXXFLAGS; do
16324 acl_save_prefix
="$prefix"
16325 prefix
="$acl_final_prefix"
16326 acl_save_exec_prefix
="$exec_prefix"
16327 exec_prefix
="$acl_final_exec_prefix"
16329 exec_prefix
="$acl_save_exec_prefix"
16330 prefix
="$acl_save_prefix"
16332 if test "X$x" = "X$element"; then
16337 if test -z "$haveit"; then
16338 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16343 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16347 acl_save_prefix
="$prefix"
16348 prefix
="$acl_final_prefix"
16349 acl_save_exec_prefix
="$exec_prefix"
16350 exec_prefix
="$acl_final_exec_prefix"
16352 exec_prefix
="$acl_save_exec_prefix"
16353 prefix
="$acl_save_prefix"
16355 if test "X$x" = "X$element"; then
16360 if test -z "$haveit"; then
16361 LIBS
="${LIBS}${LIBS:+ }$element"
16369 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16370 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16372 $as_echo "yes" >&6; }
16376 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
16378 for x
in $CXXFLAGS; do
16380 acl_save_prefix
="$prefix"
16381 prefix
="$acl_final_prefix"
16382 acl_save_exec_prefix
="$exec_prefix"
16383 exec_prefix
="$acl_final_exec_prefix"
16385 exec_prefix
="$acl_save_exec_prefix"
16386 prefix
="$acl_save_prefix"
16388 if test "X$x" = "X$element"; then
16393 if test -z "$haveit"; then
16394 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16399 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
16403 acl_save_prefix
="$prefix"
16404 prefix
="$acl_final_prefix"
16405 acl_save_exec_prefix
="$exec_prefix"
16406 exec_prefix
="$acl_final_exec_prefix"
16408 exec_prefix
="$acl_save_exec_prefix"
16409 prefix
="$acl_save_prefix"
16411 if test "X$x" = "X$element"; then
16416 if test -z "$haveit"; then
16417 LIBS
="${LIBS}${LIBS:+ }$element"
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16436 $as_echo_n "checking for WEBKIT... " >&6; }
16438 if test -n "$PKG_CONFIG"; then
16439 if test -n "$WEBKIT_CFLAGS"; then
16440 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16442 if test -n "$PKG_CONFIG" && \
16443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16444 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16447 test $ac_status = 0; }; then
16448 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
16456 if test -n "$PKG_CONFIG"; then
16457 if test -n "$WEBKIT_LIBS"; then
16458 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16460 if test -n "$PKG_CONFIG" && \
16461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16462 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16465 test $ac_status = 0; }; then
16466 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
16477 if test $pkg_failed = yes; then
16479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16480 _pkg_short_errors_supported
=yes
16482 _pkg_short_errors_supported
=no
16484 if test $_pkg_short_errors_supported = yes; then
16485 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16487 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16489 # Put the nasty error message in config.log where it belongs
16490 echo "$WEBKIT_PKG_ERRORS" >&5
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16493 $as_echo "no" >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16498 $as_echo_n "checking for WEBKIT... " >&6; }
16500 if test -n "$PKG_CONFIG"; then
16501 if test -n "$WEBKIT_CFLAGS"; then
16502 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16504 if test -n "$PKG_CONFIG" && \
16505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16506 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16509 test $ac_status = 0; }; then
16510 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16518 if test -n "$PKG_CONFIG"; then
16519 if test -n "$WEBKIT_LIBS"; then
16520 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16522 if test -n "$PKG_CONFIG" && \
16523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16524 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16527 test $ac_status = 0; }; then
16528 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16539 if test $pkg_failed = yes; then
16541 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16542 _pkg_short_errors_supported
=yes
16544 _pkg_short_errors_supported
=no
16546 if test $_pkg_short_errors_supported = yes; then
16547 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16549 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16551 # Put the nasty error message in config.log where it belongs
16552 echo "$WEBKIT_PKG_ERRORS" >&5
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16555 $as_echo "no" >&6; }
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16559 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16560 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16561 $as_echo_n "(cached) " >&6
16564 ac_check_framework_save_LIBS
=$LIBS
16565 LIBS
="-framework JavaScriptCore $LIBS"
16566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16569 #include <JavaScriptCore/JSBase.h>
16574 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16579 if ac_fn_cxx_try_link
"$LINENO"; then :
16581 ac_cv_framework_JavaScriptCore
=yes
16584 ac_cv_framework_JavaScriptCore
=no
16586 rm -f core conftest.err conftest.
$ac_objext \
16587 conftest
$ac_exeext conftest.
$ac_ext
16588 LIBS
=$ac_check_framework_save_LIBS
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16592 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16593 if test $ac_cv_framework_JavaScriptCore = yes; then :
16596 for element
in "-framework JavaScriptCore $LIBS"; do
16600 acl_save_prefix
="$prefix"
16601 prefix
="$acl_final_prefix"
16602 acl_save_exec_prefix
="$exec_prefix"
16603 exec_prefix
="$acl_final_exec_prefix"
16605 exec_prefix
="$acl_save_exec_prefix"
16606 prefix
="$acl_save_prefix"
16608 if test "X$x" = "X$element"; then
16613 if test -z "$haveit"; then
16614 LIBS
="${LIBS}${LIBS:+ }$element"
16622 elif test $pkg_failed = untried
; then
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16626 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16627 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16628 $as_echo_n "(cached) " >&6
16631 ac_check_framework_save_LIBS
=$LIBS
16632 LIBS
="-framework JavaScriptCore $LIBS"
16633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16634 /* end confdefs.h. */
16636 #include <JavaScriptCore/JSBase.h>
16641 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16646 if ac_fn_cxx_try_link
"$LINENO"; then :
16648 ac_cv_framework_JavaScriptCore
=yes
16651 ac_cv_framework_JavaScriptCore
=no
16653 rm -f core conftest.err conftest.
$ac_objext \
16654 conftest
$ac_exeext conftest.
$ac_ext
16655 LIBS
=$ac_check_framework_save_LIBS
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16659 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16660 if test $ac_cv_framework_JavaScriptCore = yes; then :
16663 for element
in "-framework JavaScriptCore $LIBS"; do
16667 acl_save_prefix
="$prefix"
16668 prefix
="$acl_final_prefix"
16669 acl_save_exec_prefix
="$exec_prefix"
16670 exec_prefix
="$acl_final_exec_prefix"
16672 exec_prefix
="$acl_save_exec_prefix"
16673 prefix
="$acl_save_prefix"
16675 if test "X$x" = "X$element"; then
16680 if test -z "$haveit"; then
16681 LIBS
="${LIBS}${LIBS:+ }$element"
16690 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16691 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16693 $as_echo "yes" >&6; }
16697 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16699 for x
in $CXXFLAGS; do
16701 acl_save_prefix
="$prefix"
16702 prefix
="$acl_final_prefix"
16703 acl_save_exec_prefix
="$exec_prefix"
16704 exec_prefix
="$acl_final_exec_prefix"
16706 exec_prefix
="$acl_save_exec_prefix"
16707 prefix
="$acl_save_prefix"
16709 if test "X$x" = "X$element"; then
16714 if test -z "$haveit"; then
16715 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16720 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16724 acl_save_prefix
="$prefix"
16725 prefix
="$acl_final_prefix"
16726 acl_save_exec_prefix
="$exec_prefix"
16727 exec_prefix
="$acl_final_exec_prefix"
16729 exec_prefix
="$acl_save_exec_prefix"
16730 prefix
="$acl_save_prefix"
16732 if test "X$x" = "X$element"; then
16737 if test -z "$haveit"; then
16738 LIBS
="${LIBS}${LIBS:+ }$element"
16745 elif test $pkg_failed = untried
; then
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16750 $as_echo_n "checking for WEBKIT... " >&6; }
16752 if test -n "$PKG_CONFIG"; then
16753 if test -n "$WEBKIT_CFLAGS"; then
16754 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16756 if test -n "$PKG_CONFIG" && \
16757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16758 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16761 test $ac_status = 0; }; then
16762 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16770 if test -n "$PKG_CONFIG"; then
16771 if test -n "$WEBKIT_LIBS"; then
16772 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16774 if test -n "$PKG_CONFIG" && \
16775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16776 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16779 test $ac_status = 0; }; then
16780 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16791 if test $pkg_failed = yes; then
16793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16794 _pkg_short_errors_supported
=yes
16796 _pkg_short_errors_supported
=no
16798 if test $_pkg_short_errors_supported = yes; then
16799 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16801 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16803 # Put the nasty error message in config.log where it belongs
16804 echo "$WEBKIT_PKG_ERRORS" >&5
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16807 $as_echo "no" >&6; }
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16811 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16812 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16813 $as_echo_n "(cached) " >&6
16816 ac_check_framework_save_LIBS
=$LIBS
16817 LIBS
="-framework JavaScriptCore $LIBS"
16818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16821 #include <JavaScriptCore/JSBase.h>
16826 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16831 if ac_fn_cxx_try_link
"$LINENO"; then :
16833 ac_cv_framework_JavaScriptCore
=yes
16836 ac_cv_framework_JavaScriptCore
=no
16838 rm -f core conftest.err conftest.
$ac_objext \
16839 conftest
$ac_exeext conftest.
$ac_ext
16840 LIBS
=$ac_check_framework_save_LIBS
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16844 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16845 if test $ac_cv_framework_JavaScriptCore = yes; then :
16848 for element
in "-framework JavaScriptCore $LIBS"; do
16852 acl_save_prefix
="$prefix"
16853 prefix
="$acl_final_prefix"
16854 acl_save_exec_prefix
="$exec_prefix"
16855 exec_prefix
="$acl_final_exec_prefix"
16857 exec_prefix
="$acl_save_exec_prefix"
16858 prefix
="$acl_save_prefix"
16860 if test "X$x" = "X$element"; then
16865 if test -z "$haveit"; then
16866 LIBS
="${LIBS}${LIBS:+ }$element"
16874 elif test $pkg_failed = untried
; then
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16878 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16879 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16880 $as_echo_n "(cached) " >&6
16883 ac_check_framework_save_LIBS
=$LIBS
16884 LIBS
="-framework JavaScriptCore $LIBS"
16885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16888 #include <JavaScriptCore/JSBase.h>
16893 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16898 if ac_fn_cxx_try_link
"$LINENO"; then :
16900 ac_cv_framework_JavaScriptCore
=yes
16903 ac_cv_framework_JavaScriptCore
=no
16905 rm -f core conftest.err conftest.
$ac_objext \
16906 conftest
$ac_exeext conftest.
$ac_ext
16907 LIBS
=$ac_check_framework_save_LIBS
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16911 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16912 if test $ac_cv_framework_JavaScriptCore = yes; then :
16915 for element
in "-framework JavaScriptCore $LIBS"; do
16919 acl_save_prefix
="$prefix"
16920 prefix
="$acl_final_prefix"
16921 acl_save_exec_prefix
="$exec_prefix"
16922 exec_prefix
="$acl_final_exec_prefix"
16924 exec_prefix
="$acl_save_exec_prefix"
16925 prefix
="$acl_save_prefix"
16927 if test "X$x" = "X$element"; then
16932 if test -z "$haveit"; then
16933 LIBS
="${LIBS}${LIBS:+ }$element"
16942 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16943 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16945 $as_echo "yes" >&6; }
16949 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16951 for x
in $CXXFLAGS; do
16953 acl_save_prefix
="$prefix"
16954 prefix
="$acl_final_prefix"
16955 acl_save_exec_prefix
="$exec_prefix"
16956 exec_prefix
="$acl_final_exec_prefix"
16958 exec_prefix
="$acl_save_exec_prefix"
16959 prefix
="$acl_save_prefix"
16961 if test "X$x" = "X$element"; then
16966 if test -z "$haveit"; then
16967 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16972 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16976 acl_save_prefix
="$prefix"
16977 prefix
="$acl_final_prefix"
16978 acl_save_exec_prefix
="$exec_prefix"
16979 exec_prefix
="$acl_final_exec_prefix"
16981 exec_prefix
="$acl_save_exec_prefix"
16982 prefix
="$acl_save_prefix"
16984 if test "X$x" = "X$element"; then
16989 if test -z "$haveit"; then
16990 LIBS
="${LIBS}${LIBS:+ }$element"
16998 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16999 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17001 $as_echo "yes" >&6; }
17005 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17007 for x
in $CXXFLAGS; do
17009 acl_save_prefix
="$prefix"
17010 prefix
="$acl_final_prefix"
17011 acl_save_exec_prefix
="$exec_prefix"
17012 exec_prefix
="$acl_final_exec_prefix"
17014 exec_prefix
="$acl_save_exec_prefix"
17015 prefix
="$acl_save_prefix"
17017 if test "X$x" = "X$element"; then
17022 if test -z "$haveit"; then
17023 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17028 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17032 acl_save_prefix
="$prefix"
17033 prefix
="$acl_final_prefix"
17034 acl_save_exec_prefix
="$exec_prefix"
17035 exec_prefix
="$acl_final_exec_prefix"
17037 exec_prefix
="$acl_save_exec_prefix"
17038 prefix
="$acl_save_prefix"
17040 if test "X$x" = "X$element"; then
17045 if test -z "$haveit"; then
17046 LIBS
="${LIBS}${LIBS:+ }$element"
17055 as_fn_error
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17064 $as_echo_n "checking for WEBKIT... " >&6; }
17066 if test -n "$PKG_CONFIG"; then
17067 if test -n "$WEBKIT_CFLAGS"; then
17068 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17070 if test -n "$PKG_CONFIG" && \
17071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17072 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17075 test $ac_status = 0; }; then
17076 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17084 if test -n "$PKG_CONFIG"; then
17085 if test -n "$WEBKIT_LIBS"; then
17086 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17088 if test -n "$PKG_CONFIG" && \
17089 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17090 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17093 test $ac_status = 0; }; then
17094 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17105 if test $pkg_failed = yes; then
17107 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17108 _pkg_short_errors_supported
=yes
17110 _pkg_short_errors_supported
=no
17112 if test $_pkg_short_errors_supported = yes; then
17113 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
17115 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
17117 # Put the nasty error message in config.log where it belongs
17118 echo "$WEBKIT_PKG_ERRORS" >&5
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17121 $as_echo "no" >&6; }
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17126 $as_echo_n "checking for WEBKIT... " >&6; }
17128 if test -n "$PKG_CONFIG"; then
17129 if test -n "$WEBKIT_CFLAGS"; then
17130 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17132 if test -n "$PKG_CONFIG" && \
17133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17134 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17137 test $ac_status = 0; }; then
17138 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17146 if test -n "$PKG_CONFIG"; then
17147 if test -n "$WEBKIT_LIBS"; then
17148 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17150 if test -n "$PKG_CONFIG" && \
17151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17152 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17155 test $ac_status = 0; }; then
17156 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17167 if test $pkg_failed = yes; then
17169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17170 _pkg_short_errors_supported
=yes
17172 _pkg_short_errors_supported
=no
17174 if test $_pkg_short_errors_supported = yes; then
17175 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17177 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17179 # Put the nasty error message in config.log where it belongs
17180 echo "$WEBKIT_PKG_ERRORS" >&5
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17183 $as_echo "no" >&6; }
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17187 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17188 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17189 $as_echo_n "(cached) " >&6
17192 ac_check_framework_save_LIBS
=$LIBS
17193 LIBS
="-framework JavaScriptCore $LIBS"
17194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17195 /* end confdefs.h. */
17197 #include <JavaScriptCore/JSBase.h>
17202 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17207 if ac_fn_cxx_try_link
"$LINENO"; then :
17209 ac_cv_framework_JavaScriptCore
=yes
17212 ac_cv_framework_JavaScriptCore
=no
17214 rm -f core conftest.err conftest.
$ac_objext \
17215 conftest
$ac_exeext conftest.
$ac_ext
17216 LIBS
=$ac_check_framework_save_LIBS
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17220 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17221 if test $ac_cv_framework_JavaScriptCore = yes; then :
17224 for element
in "-framework JavaScriptCore $LIBS"; do
17228 acl_save_prefix
="$prefix"
17229 prefix
="$acl_final_prefix"
17230 acl_save_exec_prefix
="$exec_prefix"
17231 exec_prefix
="$acl_final_exec_prefix"
17233 exec_prefix
="$acl_save_exec_prefix"
17234 prefix
="$acl_save_prefix"
17236 if test "X$x" = "X$element"; then
17241 if test -z "$haveit"; then
17242 LIBS
="${LIBS}${LIBS:+ }$element"
17250 elif test $pkg_failed = untried
; then
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17254 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17255 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17256 $as_echo_n "(cached) " >&6
17259 ac_check_framework_save_LIBS
=$LIBS
17260 LIBS
="-framework JavaScriptCore $LIBS"
17261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 #include <JavaScriptCore/JSBase.h>
17269 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17274 if ac_fn_cxx_try_link
"$LINENO"; then :
17276 ac_cv_framework_JavaScriptCore
=yes
17279 ac_cv_framework_JavaScriptCore
=no
17281 rm -f core conftest.err conftest.
$ac_objext \
17282 conftest
$ac_exeext conftest.
$ac_ext
17283 LIBS
=$ac_check_framework_save_LIBS
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17287 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17288 if test $ac_cv_framework_JavaScriptCore = yes; then :
17291 for element
in "-framework JavaScriptCore $LIBS"; do
17295 acl_save_prefix
="$prefix"
17296 prefix
="$acl_final_prefix"
17297 acl_save_exec_prefix
="$exec_prefix"
17298 exec_prefix
="$acl_final_exec_prefix"
17300 exec_prefix
="$acl_save_exec_prefix"
17301 prefix
="$acl_save_prefix"
17303 if test "X$x" = "X$element"; then
17308 if test -z "$haveit"; then
17309 LIBS
="${LIBS}${LIBS:+ }$element"
17318 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17319 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17321 $as_echo "yes" >&6; }
17325 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17327 for x
in $CXXFLAGS; do
17329 acl_save_prefix
="$prefix"
17330 prefix
="$acl_final_prefix"
17331 acl_save_exec_prefix
="$exec_prefix"
17332 exec_prefix
="$acl_final_exec_prefix"
17334 exec_prefix
="$acl_save_exec_prefix"
17335 prefix
="$acl_save_prefix"
17337 if test "X$x" = "X$element"; then
17342 if test -z "$haveit"; then
17343 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17348 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17352 acl_save_prefix
="$prefix"
17353 prefix
="$acl_final_prefix"
17354 acl_save_exec_prefix
="$exec_prefix"
17355 exec_prefix
="$acl_final_exec_prefix"
17357 exec_prefix
="$acl_save_exec_prefix"
17358 prefix
="$acl_save_prefix"
17360 if test "X$x" = "X$element"; then
17365 if test -z "$haveit"; then
17366 LIBS
="${LIBS}${LIBS:+ }$element"
17373 elif test $pkg_failed = untried
; then
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17378 $as_echo_n "checking for WEBKIT... " >&6; }
17380 if test -n "$PKG_CONFIG"; then
17381 if test -n "$WEBKIT_CFLAGS"; then
17382 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17384 if test -n "$PKG_CONFIG" && \
17385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17386 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17389 test $ac_status = 0; }; then
17390 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17398 if test -n "$PKG_CONFIG"; then
17399 if test -n "$WEBKIT_LIBS"; then
17400 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17402 if test -n "$PKG_CONFIG" && \
17403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17404 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17407 test $ac_status = 0; }; then
17408 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17419 if test $pkg_failed = yes; then
17421 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17422 _pkg_short_errors_supported
=yes
17424 _pkg_short_errors_supported
=no
17426 if test $_pkg_short_errors_supported = yes; then
17427 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17429 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17431 # Put the nasty error message in config.log where it belongs
17432 echo "$WEBKIT_PKG_ERRORS" >&5
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17435 $as_echo "no" >&6; }
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17439 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17440 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17441 $as_echo_n "(cached) " >&6
17444 ac_check_framework_save_LIBS
=$LIBS
17445 LIBS
="-framework JavaScriptCore $LIBS"
17446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17449 #include <JavaScriptCore/JSBase.h>
17454 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17459 if ac_fn_cxx_try_link
"$LINENO"; then :
17461 ac_cv_framework_JavaScriptCore
=yes
17464 ac_cv_framework_JavaScriptCore
=no
17466 rm -f core conftest.err conftest.
$ac_objext \
17467 conftest
$ac_exeext conftest.
$ac_ext
17468 LIBS
=$ac_check_framework_save_LIBS
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17472 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17473 if test $ac_cv_framework_JavaScriptCore = yes; then :
17476 for element
in "-framework JavaScriptCore $LIBS"; do
17480 acl_save_prefix
="$prefix"
17481 prefix
="$acl_final_prefix"
17482 acl_save_exec_prefix
="$exec_prefix"
17483 exec_prefix
="$acl_final_exec_prefix"
17485 exec_prefix
="$acl_save_exec_prefix"
17486 prefix
="$acl_save_prefix"
17488 if test "X$x" = "X$element"; then
17493 if test -z "$haveit"; then
17494 LIBS
="${LIBS}${LIBS:+ }$element"
17502 elif test $pkg_failed = untried
; then
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17506 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17507 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17508 $as_echo_n "(cached) " >&6
17511 ac_check_framework_save_LIBS
=$LIBS
17512 LIBS
="-framework JavaScriptCore $LIBS"
17513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17514 /* end confdefs.h. */
17516 #include <JavaScriptCore/JSBase.h>
17521 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17526 if ac_fn_cxx_try_link
"$LINENO"; then :
17528 ac_cv_framework_JavaScriptCore
=yes
17531 ac_cv_framework_JavaScriptCore
=no
17533 rm -f core conftest.err conftest.
$ac_objext \
17534 conftest
$ac_exeext conftest.
$ac_ext
17535 LIBS
=$ac_check_framework_save_LIBS
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17539 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17540 if test $ac_cv_framework_JavaScriptCore = yes; then :
17543 for element
in "-framework JavaScriptCore $LIBS"; do
17547 acl_save_prefix
="$prefix"
17548 prefix
="$acl_final_prefix"
17549 acl_save_exec_prefix
="$exec_prefix"
17550 exec_prefix
="$acl_final_exec_prefix"
17552 exec_prefix
="$acl_save_exec_prefix"
17553 prefix
="$acl_save_prefix"
17555 if test "X$x" = "X$element"; then
17560 if test -z "$haveit"; then
17561 LIBS
="${LIBS}${LIBS:+ }$element"
17570 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17571 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17573 $as_echo "yes" >&6; }
17577 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17579 for x
in $CXXFLAGS; do
17581 acl_save_prefix
="$prefix"
17582 prefix
="$acl_final_prefix"
17583 acl_save_exec_prefix
="$exec_prefix"
17584 exec_prefix
="$acl_final_exec_prefix"
17586 exec_prefix
="$acl_save_exec_prefix"
17587 prefix
="$acl_save_prefix"
17589 if test "X$x" = "X$element"; then
17594 if test -z "$haveit"; then
17595 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17600 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17604 acl_save_prefix
="$prefix"
17605 prefix
="$acl_final_prefix"
17606 acl_save_exec_prefix
="$exec_prefix"
17607 exec_prefix
="$acl_final_exec_prefix"
17609 exec_prefix
="$acl_save_exec_prefix"
17610 prefix
="$acl_save_prefix"
17612 if test "X$x" = "X$element"; then
17617 if test -z "$haveit"; then
17618 LIBS
="${LIBS}${LIBS:+ }$element"
17626 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17627 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17629 $as_echo "yes" >&6; }
17633 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17635 for x
in $CXXFLAGS; do
17637 acl_save_prefix
="$prefix"
17638 prefix
="$acl_final_prefix"
17639 acl_save_exec_prefix
="$exec_prefix"
17640 exec_prefix
="$acl_final_exec_prefix"
17642 exec_prefix
="$acl_save_exec_prefix"
17643 prefix
="$acl_save_prefix"
17645 if test "X$x" = "X$element"; then
17650 if test -z "$haveit"; then
17651 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17656 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17660 acl_save_prefix
="$prefix"
17661 prefix
="$acl_final_prefix"
17662 acl_save_exec_prefix
="$exec_prefix"
17663 exec_prefix
="$acl_final_exec_prefix"
17665 exec_prefix
="$acl_save_exec_prefix"
17666 prefix
="$acl_save_prefix"
17668 if test "X$x" = "X$element"; then
17673 if test -z "$haveit"; then
17674 LIBS
="${LIBS}${LIBS:+ }$element"
17685 case $CY_EXECUTE in #(
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17692 $as_echo_n "checking for LIBFFI... " >&6; }
17694 if test -n "$PKG_CONFIG"; then
17695 if test -n "$LIBFFI_CFLAGS"; then
17696 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
17698 if test -n "$PKG_CONFIG" && \
17699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17700 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17703 test $ac_status = 0; }; then
17704 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
17712 if test -n "$PKG_CONFIG"; then
17713 if test -n "$LIBFFI_LIBS"; then
17714 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
17716 if test -n "$PKG_CONFIG" && \
17717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17718 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17721 test $ac_status = 0; }; then
17722 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
17733 if test $pkg_failed = yes; then
17735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17736 _pkg_short_errors_supported
=yes
17738 _pkg_short_errors_supported
=no
17740 if test $_pkg_short_errors_supported = yes; then
17741 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17743 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17745 # Put the nasty error message in config.log where it belongs
17746 echo "$LIBFFI_PKG_ERRORS" >&5
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17749 $as_echo "no" >&6; }
17751 for ac_header
in ffi.h ffi
/ffi.h
17753 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17754 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17755 eval as_val
=\$
$as_ac_Header
17756 if test "x$as_val" = x
""yes; then :
17757 cat >>confdefs.h
<<_ACEOF
17758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17765 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
17767 as_fn_error
"You need libffi" "$LINENO" 5
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17771 $as_echo_n "checking for library containing ffi_call... " >&6; }
17772 if test "${ac_cv_search_ffi_call+set}" = set; then :
17773 $as_echo_n "(cached) " >&6
17775 ac_func_search_save_LIBS
=$LIBS
17776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17777 /* end confdefs.h. */
17779 /* Override any GCC internal prototype to avoid an error.
17780 Use char because int might match the return type of a GCC
17781 builtin and then its argument prototype would still apply. */
17789 return ffi_call ();
17794 for ac_lib
in '' ffi
; do
17795 if test -z "$ac_lib"; then
17796 ac_res
="none required"
17799 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17801 if ac_fn_cxx_try_link
"$LINENO"; then :
17802 ac_cv_search_ffi_call
=$ac_res
17804 rm -f core conftest.err conftest.
$ac_objext \
17806 if test "${ac_cv_search_ffi_call+set}" = set; then :
17810 if test "${ac_cv_search_ffi_call+set}" = set; then :
17813 ac_cv_search_ffi_call
=no
17815 rm conftest.
$ac_ext
17816 LIBS
=$ac_func_search_save_LIBS
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17819 $as_echo "$ac_cv_search_ffi_call" >&6; }
17820 ac_res
=$ac_cv_search_ffi_call
17821 if test "$ac_res" != no
; then :
17822 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17826 case $ac_cv_search_ffi_call in #(
17829 as_fn_error
"You need libffi" "$LINENO" 5
17835 elif test $pkg_failed = untried
; then
17837 for ac_header
in ffi.h ffi
/ffi.h
17839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17840 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17841 eval as_val
=\$
$as_ac_Header
17842 if test "x$as_val" = x
""yes; then :
17843 cat >>confdefs.h
<<_ACEOF
17844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17851 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
17853 as_fn_error
"You need libffi" "$LINENO" 5
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17857 $as_echo_n "checking for library containing ffi_call... " >&6; }
17858 if test "${ac_cv_search_ffi_call+set}" = set; then :
17859 $as_echo_n "(cached) " >&6
17861 ac_func_search_save_LIBS
=$LIBS
17862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 /* Override any GCC internal prototype to avoid an error.
17866 Use char because int might match the return type of a GCC
17867 builtin and then its argument prototype would still apply. */
17875 return ffi_call ();
17880 for ac_lib
in '' ffi
; do
17881 if test -z "$ac_lib"; then
17882 ac_res
="none required"
17885 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17887 if ac_fn_cxx_try_link
"$LINENO"; then :
17888 ac_cv_search_ffi_call
=$ac_res
17890 rm -f core conftest.err conftest.
$ac_objext \
17892 if test "${ac_cv_search_ffi_call+set}" = set; then :
17896 if test "${ac_cv_search_ffi_call+set}" = set; then :
17899 ac_cv_search_ffi_call
=no
17901 rm conftest.
$ac_ext
17902 LIBS
=$ac_func_search_save_LIBS
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17905 $as_echo "$ac_cv_search_ffi_call" >&6; }
17906 ac_res
=$ac_cv_search_ffi_call
17907 if test "$ac_res" != no
; then :
17908 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17912 case $ac_cv_search_ffi_call in #(
17915 as_fn_error
"You need libffi" "$LINENO" 5
17922 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
17923 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17925 $as_echo "yes" >&6; }
17928 for element
in `$PKG_CONFIG --cflags libffi`; do
17930 for x
in $CXXFLAGS; do
17932 acl_save_prefix
="$prefix"
17933 prefix
="$acl_final_prefix"
17934 acl_save_exec_prefix
="$exec_prefix"
17935 exec_prefix
="$acl_final_exec_prefix"
17937 exec_prefix
="$acl_save_exec_prefix"
17938 prefix
="$acl_save_prefix"
17940 if test "X$x" = "X$element"; then
17945 if test -z "$haveit"; then
17946 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17951 for element
in `$PKG_CONFIG --libs libffi`; do
17955 acl_save_prefix
="$prefix"
17956 prefix
="$acl_final_prefix"
17957 acl_save_exec_prefix
="$exec_prefix"
17958 exec_prefix
="$acl_final_exec_prefix"
17960 exec_prefix
="$acl_save_exec_prefix"
17961 prefix
="$acl_save_prefix"
17963 if test "X$x" = "X$element"; then
17968 if test -z "$haveit"; then
17969 LIBS
="${LIBS}${LIBS:+ }$element"
17976 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
17977 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17978 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17979 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17982 $as_echo_n "checking if we really have Objective C++... " >&6; }
17983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 // This space intentionally left blank
17989 if ac_fn_objcxx_try_compile
"$LINENO"; then :
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17993 $as_echo "yes" >&6; }
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17997 $as_echo "no" >&6; }
17999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18000 if test "x$CY_OBJECTIVEC" = x1
; then :
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
18004 $as_echo_n "checking for framework CoreFoundation... " >&6; }
18005 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18009 ac_check_framework_save_LIBS
=$LIBS
18010 LIBS
="-framework CoreFoundation $LIBS"
18011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18014 #include <CoreFoundation/CFBase.h>
18019 CFAllocatorGetDefault();
18024 if ac_fn_objcxx_try_link
"$LINENO"; then :
18026 ac_cv_framework_CoreFoundation
=yes
18029 ac_cv_framework_CoreFoundation
=no
18031 rm -f core conftest.err conftest.
$ac_objext \
18032 conftest
$ac_exeext conftest.
$ac_ext
18033 LIBS
=$ac_check_framework_save_LIBS
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
18037 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
18038 if test $ac_cv_framework_CoreFoundation = yes; then :
18041 for element
in "-framework CoreFoundation $LIBS"; do
18045 acl_save_prefix
="$prefix"
18046 prefix
="$acl_final_prefix"
18047 acl_save_exec_prefix
="$exec_prefix"
18048 exec_prefix
="$acl_final_exec_prefix"
18050 exec_prefix
="$acl_save_exec_prefix"
18051 prefix
="$acl_save_prefix"
18053 if test "X$x" = "X$element"; then
18058 if test -z "$haveit"; then
18059 LIBS
="${LIBS}${LIBS:+ }$element"
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
18068 $as_echo_n "checking for framework Foundation... " >&6; }
18069 if test "${ac_cv_framework_Foundation+set}" = set; then :
18070 $as_echo_n "(cached) " >&6
18073 ac_check_framework_save_LIBS
=$LIBS
18074 LIBS
="-framework Foundation $LIBS"
18075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18076 /* end confdefs.h. */
18078 #include <Foundation/NSObject.h>
18083 [[NSObject alloc] init];
18088 if ac_fn_objcxx_try_link
"$LINENO"; then :
18090 ac_cv_framework_Foundation
=yes
18093 ac_cv_framework_Foundation
=no
18095 rm -f core conftest.err conftest.
$ac_objext \
18096 conftest
$ac_exeext conftest.
$ac_ext
18097 LIBS
=$ac_check_framework_save_LIBS
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
18101 $as_echo "$ac_cv_framework_Foundation" >&6; }
18102 if test $ac_cv_framework_Foundation = yes; then :
18105 for element
in "-framework Foundation $LIBS"; do
18109 acl_save_prefix
="$prefix"
18110 prefix
="$acl_final_prefix"
18111 acl_save_exec_prefix
="$exec_prefix"
18112 exec_prefix
="$acl_final_exec_prefix"
18114 exec_prefix
="$acl_save_exec_prefix"
18115 prefix
="$acl_save_prefix"
18117 if test "X$x" = "X$element"; then
18122 if test -z "$haveit"; then
18123 LIBS
="${LIBS}${LIBS:+ }$element"
18127 cat >>confdefs.h
<<_ACEOF
18128 #define HAVE_FRAMEWORK_FOUNDATION 1
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18136 $as_echo_n "checking for framework WebKit... " >&6; }
18137 if test "${ac_cv_framework_WebKit+set}" = set; then :
18138 $as_echo_n "(cached) " >&6
18141 ac_check_framework_save_LIBS
=$LIBS
18142 LIBS
="-framework WebKit $LIBS"
18143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18146 #include <WebKit/WebScriptObject.h>
18151 [[WebScriptObject alloc] init];
18156 if ac_fn_objcxx_try_link
"$LINENO"; then :
18158 ac_cv_framework_WebKit
=yes
18161 ac_cv_framework_WebKit
=no
18163 rm -f core conftest.err conftest.
$ac_objext \
18164 conftest
$ac_exeext conftest.
$ac_ext
18165 LIBS
=$ac_check_framework_save_LIBS
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18169 $as_echo "$ac_cv_framework_WebKit" >&6; }
18170 if test $ac_cv_framework_WebKit = yes; then :
18173 for element
in "-framework WebKit $LIBS"; do
18177 acl_save_prefix
="$prefix"
18178 prefix
="$acl_final_prefix"
18179 acl_save_exec_prefix
="$exec_prefix"
18180 exec_prefix
="$acl_final_exec_prefix"
18182 exec_prefix
="$acl_save_exec_prefix"
18183 prefix
="$acl_save_prefix"
18185 if test "X$x" = "X$element"; then
18190 if test -z "$haveit"; then
18191 LIBS
="${LIBS}${LIBS:+ }$element"
18195 cat >>confdefs.h
<<_ACEOF
18196 #define HAVE_FRAMEWORK_WEBKIT 1
18206 for ac_prog
in gnustep
-config
18208 # Extract the first word of "$ac_prog", so it can be a program name with args.
18209 set dummy
$ac_prog; ac_word
=$2
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18211 $as_echo_n "checking for $ac_word... " >&6; }
18212 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
18213 $as_echo_n "(cached) " >&6
18215 if test -n "$GNUSTEP_CONFIG"; then
18216 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
18218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18219 for as_dir
in $PATH
18222 test -z "$as_dir" && as_dir
=.
18223 for ac_exec_ext
in '' $ac_executable_extensions; do
18224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18225 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
18226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18235 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
18236 if test -n "$GNUSTEP_CONFIG"; then
18237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18238 $as_echo "$GNUSTEP_CONFIG" >&6; }
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18241 $as_echo "no" >&6; }
18245 test -n "$GNUSTEP_CONFIG" && break
18248 if test "x$GNUSTEP_CONFIG" != x
; then :
18252 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
18254 for x
in $OBJCXXFLAGS; do
18256 acl_save_prefix
="$prefix"
18257 prefix
="$acl_final_prefix"
18258 acl_save_exec_prefix
="$exec_prefix"
18259 exec_prefix
="$acl_final_exec_prefix"
18261 exec_prefix
="$acl_save_exec_prefix"
18262 prefix
="$acl_save_prefix"
18264 if test "X$x" = "X$element"; then
18269 if test -z "$haveit"; then
18270 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18275 for element
in `$GNUSTEP_CONFIG --base-libs`; do
18279 acl_save_prefix
="$prefix"
18280 prefix
="$acl_final_prefix"
18281 acl_save_exec_prefix
="$exec_prefix"
18282 exec_prefix
="$acl_final_exec_prefix"
18284 exec_prefix
="$acl_save_exec_prefix"
18285 prefix
="$acl_save_prefix"
18287 if test "X$x" = "X$element"; then
18292 if test -z "$haveit"; then
18293 LIBS
="${LIBS}${LIBS:+ }$element"
18307 ac_cpp
='$CXXCPP $CPPFLAGS'
18308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18316 if test "x$CY_OBJECTIVEC" = x1
; then :
18318 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
18319 if test "x$ac_cv_header_mach_mach_h" = x
""yes; then :
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
18324 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
18326 CY_OBJECTIVEC_MACH
=1
18335 if test "x$GMAKE" != xmake
; then :
18337 ac_config_files
="$ac_config_files Makefile"
18341 ac_config_files
="$ac_config_files GNUmakefile"
18343 cat >confcache
<<\_ACEOF
18344 # This file is a shell script that caches the results of configure
18345 # tests run on this system so they can be shared between configure
18346 # scripts and configure runs, see configure's option --config-cache.
18347 # It is not useful on other systems. If it contains results you don't
18348 # want to keep, you may remove or edit it.
18350 # config.status only pays attention to the cache file if you give it
18351 # the --recheck option to rerun configure.
18353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18355 # following values.
18359 # The following way of writing the cache mishandles newlines in values,
18360 # but we know of no workaround that is simple, portable, and efficient.
18361 # So, we kill variables containing newlines.
18362 # Ultrix sh set writes to stderr and can't be redirected directly,
18363 # and sets the high bit in the cache file unless we assign to the vars.
18365 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18366 eval ac_val
=\$
$ac_var
18370 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18371 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18374 _
| IFS
| as_nl
) ;; #(
18375 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
18376 *) { eval $ac_var=; unset $ac_var;} ;;
18382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18383 *${as_nl}ac_space
=\
*)
18384 # `set' does not quote correctly, so add quotes: double-quote
18385 # substitution turns \\\\ into \\, and sed turns \\ into \.
18388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18391 # `set' quotes correctly as required by POSIX, so do not add quotes.
18392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18405 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18406 if test -w "$cache_file"; then
18407 test "x$cache_file" != "x/dev/null" &&
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18409 $as_echo "$as_me: updating cache $cache_file" >&6;}
18410 cat confcache
>$cache_file
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18413 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18418 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18419 # Let make expand exec_prefix.
18420 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18422 # Transform confdefs.h into DEFS.
18423 # Protect against shell expansion while executing Makefile rules.
18424 # Protect against Makefile macro expansion.
18426 # If the first sed substitution is executed (which looks for macros that
18427 # take arguments), then branch to the quote section. Otherwise,
18428 # look for a macro that doesn't take arguments.
18438 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18440 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18444 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
18457 DEFS
=`sed -n "$ac_script" confdefs.h`
18462 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18463 # 1. Remove the extension, and $U if already installed.
18464 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18465 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18466 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18467 # will be set to the directory where LIBOBJS objects are built.
18468 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18469 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18471 LIBOBJS
=$ac_libobjs
18473 LTLIBOBJS
=$ac_ltlibobjs
18477 : ${CONFIG_STATUS=./config.status}
18479 ac_clean_files_save
=$ac_clean_files
18480 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18482 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18484 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18486 # Generated by $as_me.
18487 # Run this file to recreate the current configuration.
18488 # Compiler output produced by configure, useful for debugging
18489 # configure, is in config.log if it exists.
18492 ac_cs_recheck=false
18495 SHELL=\${CONFIG_SHELL-$SHELL}
18498 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
18499 ## -------------------- ##
18500 ## M4sh Initialization. ##
18501 ## -------------------- ##
18503 # Be more Bourne compatible
18504 DUALCASE
=1; export DUALCASE
# for MKS sh
18505 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18508 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18509 # is contrary to our usage. Disable this feature.
18510 alias -g '${1+"$@"}'='"$@"'
18511 setopt NO_GLOB_SUBST
18513 case `(set -o) 2>/dev/null` in #(
18525 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18526 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18528 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18529 # Prefer a ksh shell builtin over an external printf program on Solaris,
18530 # but without wasting forks for bash or zsh.
18531 if test -z "$BASH_VERSION$ZSH_VERSION" \
18532 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18533 as_echo='print
-r --'
18534 as_echo_n='print
-rn --'
18535 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18536 as_echo='printf %s
\n'
18537 as_echo_n='printf %s
'
18539 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18540 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18541 as_echo_n='/usr
/ucb
/echo -n'
18543 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18544 as_echo_n_body='eval
18548 expr "X$arg" : "X\\(.*\\)$as_nl";
18549 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18551 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18553 export as_echo_n_body
18554 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18556 export as_echo_body
18557 as_echo='sh
-c $as_echo_body as_echo
'
18560 # The user is always right.
18561 if test "${PATH_SEPARATOR+set}" != set; then
18563 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18564 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18571 # We need space, tab and new line, in precisely that order. Quoting is
18572 # there to prevent editors from complaining about space-tab.
18573 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18574 # splitting by setting IFS to empty value.)
18577 # Find who we are. Look in the path if we contain no directory separator.
18579 *[\\/]* ) as_myself=$0 ;;
18580 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18581 for as_dir in $PATH
18584 test -z "$as_dir" && as_dir=.
18585 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18591 # We did not find ourselves, most probably we were run as `sh COMMAND'
18592 # in which case we are not to be found in the path.
18593 if test "x$as_myself" = x
; then
18596 if test ! -f "$as_myself"; then
18597 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18601 # Unset variables that we do not need and which cause bugs (e.g. in
18602 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18603 # suppresses any "Segmentation fault" message there. '((' could
18604 # trigger a bug in pdksh 5.2.14.
18605 for as_var
in BASH_ENV ENV MAIL MAILPATH
18606 do eval test x\
${$as_var+set} = xset \
18607 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
18620 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18623 # as_fn_error ERROR [LINENO LOG_FD]
18624 # ---------------------------------
18625 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18626 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18627 # script with status $?, using 1 if that was 0.
18630 as_status
=$?
; test $as_status -eq 0 && as_status
=1
18632 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18633 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
18635 $as_echo "$as_me: error: $1" >&2
18636 as_fn_exit
$as_status
18640 # as_fn_set_status STATUS
18641 # -----------------------
18642 # Set $? to STATUS, without forking.
18643 as_fn_set_status
()
18646 } # as_fn_set_status
18648 # as_fn_exit STATUS
18649 # -----------------
18650 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18654 as_fn_set_status
$1
18660 # Portably unset VAR.
18663 { eval $1=; unset $1;}
18665 as_unset
=as_fn_unset
18666 # as_fn_append VAR VALUE
18667 # ----------------------
18668 # Append the text in VALUE to the end of the definition contained in VAR. Take
18669 # advantage of any shell optimizations that allow amortized linear growth over
18670 # repeated appends, instead of the typical quadratic growth present in naive
18672 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18673 eval 'as_fn_append ()
18684 # as_fn_arith ARG...
18685 # ------------------
18686 # Perform arithmetic evaluation on the ARGs, and store the result in the
18687 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18688 # must be portable across $(()) and expr.
18689 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18690 eval 'as_fn_arith ()
18697 as_val
=`expr "$@" || test $? -eq 1`
18702 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18703 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18709 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18710 as_basename
=basename
18715 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18721 as_me
=`$as_basename -- "$0" ||
18722 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18723 X"$0" : 'X\(//\)$' \| \
18724 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18726 sed '/^.*\/\([^/][^/]*\)\/*$/{
18740 # Avoid depending upon Character Ranges.
18741 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18742 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18743 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18744 as_cr_digits
='0123456789'
18745 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18747 ECHO_C
= ECHO_N
= ECHO_T
=
18748 case `echo -n x` in #(((((
18750 case `echo 'xy\c'` in
18751 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18753 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18760 rm -f conf$$ conf$$.exe conf$$.
file
18761 if test -d conf$$.dir
; then
18762 rm -f conf$$.dir
/conf$$.
file
18765 mkdir conf$$.dir
2>/dev
/null
18767 if (echo >conf$$.
file) 2>/dev
/null
; then
18768 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18770 # ... but there are two gotchas:
18771 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18772 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18773 # In both cases, we have to default to `cp -p'.
18774 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
18776 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18784 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18785 rmdir conf$$.dir
2>/dev
/null
18790 # Create "$as_dir" as a directory, including parents if necessary.
18795 -*) as_dir
=.
/$as_dir;;
18797 test -d "$as_dir" || eval $as_mkdir_p || {
18801 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18802 *) as_qdir
=$as_dir;;
18804 as_dirs
="'$as_qdir' $as_dirs"
18805 as_dir
=`$as_dirname -- "$as_dir" ||
18806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18807 X"$as_dir" : 'X\(//\)[^/]' \| \
18808 X"$as_dir" : 'X\(//\)$' \| \
18809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18810 $as_echo X"$as_dir" |
18811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18815 /^X\(\/\/\)[^/].*/{
18828 test -d "$as_dir" && break
18830 test -z "$as_dirs" || eval "mkdir $as_dirs"
18831 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
18835 if mkdir -p .
2>/dev
/null
; then
18836 as_mkdir_p
='mkdir -p "$as_dir"'
18838 test -d .
/-p && rmdir .
/-p
18842 if test -x / >/dev
/null
2>&1; then
18843 as_test_x
='test -x'
18845 if ls -dL / >/dev
/null
2>&1; then
18852 if test -d "$1"; then
18858 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18859 ???[sx]*):;;*)false;;esac;fi
18863 as_executable_p
=$as_test_x
18865 # Sed expression to map a string onto a valid CPP name.
18866 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18868 # Sed expression to map a string onto a valid variable name.
18869 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18873 ## ----------------------------------- ##
18874 ## Main body of $CONFIG_STATUS script. ##
18875 ## ----------------------------------- ##
18877 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18879 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18880 # Save the log message, to keep $0 and so on meaningful, and to
18881 # report actual input values of CONFIG_FILES etc. instead of their
18882 # values after options handling.
18884 This file was extended by Cycript $as_me 0.9, which was
18885 generated by GNU Autoconf 2.65. Invocation command line was
18887 CONFIG_FILES = $CONFIG_FILES
18888 CONFIG_HEADERS = $CONFIG_HEADERS
18889 CONFIG_LINKS = $CONFIG_LINKS
18890 CONFIG_COMMANDS = $CONFIG_COMMANDS
18893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18898 case $ac_config_files in *"
18899 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18905 # Files that config.status was made for.
18906 config_files="$ac_config_files"
18907 config_commands="$ac_config_commands"
18911 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18913 \`$as_me' instantiates files and other configuration actions
18914 from templates according to the current configuration. Unless the files
18915 and actions are specified as TAGs, all are instantiated by default.
18917 Usage: $0 [OPTION]... [TAG]...
18919 -h, --help print this help, then exit
18920 -V, --version print version number and configuration settings, then exit
18921 --config print configuration, then exit
18922 -q, --quiet, --silent
18923 do not print progress messages
18924 -d, --debug don't remove temporary files
18925 --recheck update $as_me by reconfiguring in the same conditions
18926 --file=FILE[:TEMPLATE]
18927 instantiate the configuration file FILE
18929 Configuration files:
18932 Configuration commands:
18935 Report bugs to <saurik@saurik.com>.
18936 Cycript home page: <http://www.cycript.org/>."
18939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18940 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18942 Cycript config.status 0.9
18943 configured by $0, generated by GNU Autoconf 2.65,
18944 with options \\"\$ac_cs_config\\"
18946 Copyright (C) 2009 Free Software Foundation, Inc.
18947 This config.status script is free software; the Free Software Foundation
18948 gives unlimited permission to copy, distribute and modify it."
18953 test -n "\$AWK" || AWK=awk
18956 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18957 # The default lists apply if the user does not specify any file.
18963 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18964 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18975 # Handling of the options.
18976 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18978 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18979 $as_echo "$ac_cs_version"; exit ;;
18980 --config | --confi | --conf | --con | --co | --c )
18981 $as_echo "$ac_cs_config"; exit ;;
18982 --debug | --debu | --deb | --de | --d | -d )
18984 --file | --fil | --fi | --f )
18987 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18989 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18990 ac_need_defaults
=false
;;
18991 --he | --h | --help | --hel | -h )
18992 $as_echo "$ac_cs_usage"; exit ;;
18993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18994 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18997 # This is an error.
18998 -*) as_fn_error
"unrecognized option: \`$1'
18999 Try \`$0 --help' for more information." ;;
19001 *) as_fn_append ac_config_targets
" $1"
19002 ac_need_defaults
=false
;;
19008 ac_configure_extra_args
=
19010 if $ac_cs_silent; then
19012 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017 if \$ac_cs_recheck; then
19018 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19020 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19021 CONFIG_SHELL='$SHELL'
19022 export CONFIG_SHELL
19027 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19031 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19032 ## Running $as_me. ##
19038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19044 # The HP-UX ksh and POSIX shell print the target directory to stdout
19045 # if CDPATH is set.
19046 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19048 sed_quote_subst='$sed_quote_subst'
19049 double_quote_subst='$double_quote_subst'
19050 delay_variable_subst='$delay_variable_subst'
19051 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19052 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19053 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19054 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19055 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19056 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19057 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19058 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19059 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19060 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19061 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19062 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19063 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19064 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19065 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19066 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19067 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19068 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19069 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19070 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19071 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19072 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19073 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19074 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19075 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19076 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19077 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19078 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19079 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19080 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19081 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19082 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19083 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19084 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19085 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19086 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19087 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19088 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19089 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19090 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19091 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19092 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19093 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19094 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19095 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"`'
19096 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"`'
19097 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19098 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19099 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19100 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19101 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19102 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19103 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19104 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19105 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19106 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19107 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19108 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19109 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19110 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19111 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19112 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19113 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19114 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19115 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19116 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19117 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19118 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19119 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19120 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19121 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19122 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19123 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19124 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19125 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19126 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19127 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19128 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19129 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19130 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19131 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19132 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19133 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19134 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19135 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19136 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19137 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19138 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19139 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19140 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19141 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19142 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19143 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19144 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19145 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19146 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19147 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19148 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19149 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19150 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19151 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19152 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19153 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19154 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19155 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19156 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19157 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19158 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19159 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19160 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19161 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19162 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19163 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19164 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19165 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19166 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19167 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19168 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19169 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19170 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19171 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19172 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19173 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19174 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19175 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19176 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19177 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19178 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19179 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19180 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19181 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19182 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19183 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19184 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19185 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19186 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19187 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19188 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19189 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19190 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19191 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19192 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19193 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19194 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19195 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19196 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19197 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19198 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19199 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19200 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19201 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19202 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19203 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19204 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19205 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19206 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19207 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19208 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19209 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19210 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19211 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19212 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19213 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19214 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19215 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19216 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19217 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19218 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19219 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19220 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19221 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19224 LTCFLAGS='$LTCFLAGS'
19225 compiler='$compiler_DEFAULT'
19227 # Quote evaled strings.
19239 deplibs_check_method \
19248 lt_cv_sys_global_symbol_pipe \
19249 lt_cv_sys_global_symbol_to_cdecl \
19250 lt_cv_sys_global_symbol_to_c_name_address \
19251 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19254 lt_prog_compiler_no_builtin_flag \
19255 lt_prog_compiler_wl \
19256 lt_prog_compiler_pic \
19257 lt_prog_compiler_static \
19258 lt_cv_prog_compiler_c_o \
19266 export_dynamic_flag_spec \
19267 whole_archive_flag_spec \
19268 compiler_needs_object \
19270 allow_undefined_flag \
19271 no_undefined_flag \
19272 hardcode_libdir_flag_spec \
19273 hardcode_libdir_flag_spec_ld \
19274 hardcode_libdir_separator \
19279 variables_saved_for_relink \
19281 library_names_spec \
19286 compiler_lib_search_dirs \
19291 compiler_lib_search_path \
19294 lt_prog_compiler_no_builtin_flag_CXX \
19295 lt_prog_compiler_wl_CXX \
19296 lt_prog_compiler_pic_CXX \
19297 lt_prog_compiler_static_CXX \
19298 lt_cv_prog_compiler_c_o_CXX \
19299 export_dynamic_flag_spec_CXX \
19300 whole_archive_flag_spec_CXX \
19301 compiler_needs_object_CXX \
19303 allow_undefined_flag_CXX \
19304 no_undefined_flag_CXX \
19305 hardcode_libdir_flag_spec_CXX \
19306 hardcode_libdir_flag_spec_ld_CXX \
19307 hardcode_libdir_separator_CXX \
19308 fix_srcfile_path_CXX \
19309 exclude_expsyms_CXX \
19310 include_expsyms_CXX \
19311 file_list_spec_CXX \
19312 compiler_lib_search_dirs_CXX \
19313 predep_objects_CXX \
19314 postdep_objects_CXX \
19317 compiler_lib_search_path_CXX; do
19318 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19319 *[\\\\\\\`\\"\\\$]*)
19320 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19323 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19328 # Double-quote double-evaled strings.
19329 for var in reload_cmds \
19330 old_postinstall_cmds \
19331 old_postuninstall_cmds \
19333 extract_expsyms_cmds \
19334 old_archive_from_new_cmds \
19335 old_archive_from_expsyms_cmds \
19337 archive_expsym_cmds \
19339 module_expsym_cmds \
19340 export_symbols_cmds \
19343 postuninstall_cmds \
19345 sys_lib_search_path_spec \
19346 sys_lib_dlsearch_path_spec \
19347 old_archive_cmds_CXX \
19348 old_archive_from_new_cmds_CXX \
19349 old_archive_from_expsyms_cmds_CXX \
19351 archive_expsym_cmds_CXX \
19353 module_expsym_cmds_CXX \
19354 export_symbols_cmds_CXX \
19355 prelink_cmds_CXX; do
19356 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19357 *[\\\\\\\`\\"\\\$]*)
19358 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19361 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19366 # Fix-up fallback echo if it was mangled by the above quoting rules.
19368 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19372 ac_aux_dir='$ac_aux_dir'
19373 xsi_shell='$xsi_shell'
19374 lt_shell_append='$lt_shell_append'
19376 # See if we are running on zsh, and set the options which allow our
19377 # commands through without removal of \ escapes INIT.
19378 if test -n "\${ZSH_VERSION+set}" ; then
19379 setopt NO_GLOB_SUBST
19385 TIMESTAMP='$TIMESTAMP'
19396 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19398 # Handling of arguments.
19399 for ac_config_target
in $ac_config_targets
19401 case $ac_config_target in
19402 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19403 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19404 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
19406 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19411 # If the user did not use the arguments to specify the items to instantiate,
19412 # then the envvar interface is used. Set only those that are not.
19413 # We use the long form for the default assignment because of an extremely
19414 # bizarre bug on SunOS 4.1.3.
19415 if $ac_need_defaults; then
19416 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19420 # Have a temporary directory for convenience. Make it in the build tree
19421 # simply because there is no reason against having it here, and in addition,
19422 # creating and moving files from /tmp can sometimes cause problems.
19423 # Hook for its removal unless debugging.
19424 # Note that there is a small window in which the directory will not be cleaned:
19425 # after its creation but before its name has been assigned to `$tmp'.
19429 trap 'exit_status=$?
19430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19432 trap 'as_fn_exit 1' 1 2 13 15
19434 # Create a (secure) tmp directory for tmp files.
19437 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19438 test -n "$tmp" && test -d "$tmp"
19441 tmp
=.
/conf$$
-$RANDOM
19442 (umask 077 && mkdir "$tmp")
19443 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
19445 # Set up the scripts for CONFIG_FILES section.
19446 # No need to generate them if there are no CONFIG_FILES.
19447 # This happens for instance with `./config.status config.h'.
19448 if test -n "$CONFIG_FILES"; then
19451 ac_cr
=`echo X | tr X '\015'`
19452 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19453 # But we know of no other shell where ac_cr would be empty at this
19454 # point, so we can use a bashism as a fallback.
19455 if test "x$ac_cr" = x
; then
19456 eval ac_cr
=\$
\'\\r
\'
19458 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19459 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19462 ac_cs_awk_cr
=$ac_cr
19465 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19470 echo "cat >conf$$subs.awk <<_ACEOF" &&
19471 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19473 } >conf$$subs.sh ||
19474 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19475 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19477 for ac_last_try in false false false false false :; do
19478 . ./conf$$subs.sh ||
19479 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19481 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19482 if test $ac_delim_n = $ac_delim_num; then
19484 elif $ac_last_try; then
19485 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19487 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19490 rm -f conf$$subs.sh
19492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19493 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19497 s/^/S["/; s
/!.
*/"]=/
19507 s/\(.\{148\}\)..*/\1/
19509 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19514 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19521 s/\(.\{148\}\)..*/\1/
19523 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19527 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19532 ' <conf$$subs.awk | sed '
19537 ' >>$CONFIG_STATUS || ac_write_fail=1
19538 rm -f conf$$subs.awk
19539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19541 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19542 for (key in S) S_is_set[key] = 1
19548 nfields = split(line, field, "@
")
19550 len = length(field[1])
19551 for (i = 2; i < nfields; i++) {
19553 keylen = length(key)
19554 if (S_is_set[key]) {
19556 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19557 len += length(value) + length(field[++i])
19568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19569 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19570 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19573 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19574 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
19577 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19578 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19579 # trailing colons and then remove the whole line if VPATH becomes empty
19580 # (actually we leave an empty line to preserve line numbers).
19581 if test "x
$srcdir" = x.; then
19582 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19583 s/:*\$(srcdir):*/:/
19584 s/:*\${srcdir}:*/:/
19586 s/^\([^=]*=[ ]*\):*/\1/
19592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19593 fi # test -n "$CONFIG_FILES"
19596 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
19601 :[FHLC]) ac_mode=$ac_tag; continue;;
19603 case $ac_mode$ac_tag in
19605 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19606 :[FH]-) ac_tag=-:-;;
19607 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19624 -) ac_f="$tmp/stdin";;
19625 *) # Look for the file first in the build tree, then in the source tree
19626 # (if the path is not absolute). The absolute path cannot be DOS-style,
19627 # because $ac_f cannot contain `:'.
19631 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19633 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19635 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19636 as_fn_append ac_file_inputs " '$ac_f'"
19639 # Let's still pretend it is `configure' which instantiates (i.e., don't
19640 # use $as_me), people would be surprised to read:
19641 # /* config.h. Generated by config.status. */
19642 configure_input='Generated from '`
19643 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19645 if test x"$ac_file" != x-; then
19646 configure_input="$ac_file.
$configure_input"
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19648 $as_echo "$as_me: creating
$ac_file" >&6;}
19650 # Neutralize special characters interpreted by sed in replacement strings.
19651 case $configure_input in #(
19652 *\&* | *\|* | *\\* )
19653 ac_sed_conf_input=`$as_echo "$configure_input" |
19654 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19655 *) ac_sed_conf_input=$configure_input;;
19659 *:-:* | *:-) cat >"$tmp/stdin
" \
19660 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
19665 ac_dir=`$as_dirname -- "$ac_file" ||
19666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19667 X"$ac_file" : 'X\(//\)[^/]' \| \
19668 X"$ac_file" : 'X\(//\)$' \| \
19669 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19670 $as_echo X"$ac_file" |
19671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19675 /^X\(\/\/\)[^/].*/{
19688 as_dir="$ac_dir"; as_fn_mkdir_p
19692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19694 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19695 # A "..
" for each directory in $ac_dir_suffix.
19696 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19697 case $ac_top_builddir_sub in
19698 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19699 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19702 ac_abs_top_builddir=$ac_pwd
19703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19704 # for backward compatibility:
19705 ac_top_builddir=$ac_top_build_prefix
19708 .) # We are building in place.
19710 ac_top_srcdir=$ac_top_builddir_sub
19711 ac_abs_top_srcdir=$ac_pwd ;;
19712 [\\/]* | ?:[\\/]* ) # Absolute name.
19713 ac_srcdir=$srcdir$ac_dir_suffix;
19714 ac_top_srcdir=$srcdir
19715 ac_abs_top_srcdir=$srcdir ;;
19716 *) # Relative name.
19717 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19718 ac_top_srcdir=$ac_top_build_prefix$srcdir
19719 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19731 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19732 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19737 # If the template does not know about datarootdir, expand it.
19738 # FIXME: This hack should be removed a few years after 2.60.
19739 ac_datarootdir_hack=; ac_datarootdir_seen=
19750 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19751 *datarootdir*) ac_datarootdir_seen=yes;;
19752 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19754 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19757 ac_datarootdir_hack='
19758 s&@datadir@&$datadir&g
19759 s&@docdir@&$docdir&g
19760 s&@infodir@&$infodir&g
19761 s&@localedir@&$localedir&g
19762 s&@mandir@&$mandir&g
19763 s&\\\${datarootdir}&$datarootdir&g' ;;
19767 # Neutralize VPATH when `$srcdir' = `.'.
19768 # Shell code in configure.ac might set extrasub.
19769 # FIXME: do we really want to maintain this feature?
19770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19771 ac_sed_extra="$ac_vpsub
19774 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19776 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
19777 s
|@configure_input@
|$ac_sed_conf_input|;t t
19778 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19779 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19780 s
&@srcdir@
&$ac_srcdir&;t t
19781 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19782 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19783 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19784 s
&@builddir@
&$ac_builddir&;t t
19785 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19786 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19787 s
&@INSTALL@
&$ac_INSTALL&;t t
19788 $ac_datarootdir_hack
19790 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19791 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19793 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19794 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19795 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19797 which seems to be undefined. Please make sure it is defined." >&5
19798 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19799 which seems to be undefined. Please make sure it is defined." >&2;}
19803 -) cat "$tmp/out" && rm -f "$tmp/out";;
19804 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19806 || as_fn_error "could not create $ac_file" "$LINENO" 5
19810 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19811 $as_echo "$as_me: executing $ac_file commands" >&6;}
19816 case $ac_file$ac_mode in
19819 # See if we are running on zsh, and set the options which allow our
19820 # commands through without removal of \ escapes.
19821 if test -n "${ZSH_VERSION+set}" ; then
19822 setopt NO_GLOB_SUBST
19825 cfgfile="${ofile}T"
19826 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19829 cat <<_LT_EOF >> "$cfgfile"
19832 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
19833 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19834 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19835 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19837 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19838 # 2006, 2007, 2008 Free Software Foundation, Inc.
19839 # Written by Gordon Matzigkeit, 1996
19841 # This file is part of GNU Libtool.
19843 # GNU Libtool is free software; you can redistribute it and/or
19844 # modify it under the terms of the GNU General Public License as
19845 # published by the Free Software Foundation; either version 2 of
19846 # the License, or (at your option) any later version.
19848 # As a special exception to the GNU General Public License,
19849 # if you distribute this file as part of a program or library that
19850 # is built using GNU Libtool, you may include this file under the
19851 # same distribution terms that you use for the rest of that program.
19853 # GNU Libtool is distributed in the hope that it will be useful,
19854 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19855 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19856 # GNU General Public License for more details.
19858 # You should have received a copy of the GNU General Public License
19859 # along with GNU Libtool; see the file COPYING. If not, a copy
19860 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19861 # obtained by writing to the Free Software Foundation, Inc.,
19862 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19865 # The names of the tagged configurations supported by this script.
19866 available_tags="CXX "
19868 # ### BEGIN LIBTOOL CONFIG
19870 # Which release of libtool.m4 was used?
19871 macro_version=$macro_version
19872 macro_revision=$macro_revision
19874 # Whether or not to build static libraries.
19875 build_old_libs=$enable_static
19877 # Whether or not to build shared libraries.
19878 build_libtool_libs=$enable_shared
19880 # What type of objects to build.
19883 # Whether or not to optimize for fast installation.
19884 fast_install=$enable_fast_install
19887 host_alias=$host_alias
19891 # The build system.
19892 build_alias=$build_alias
19896 # A sed program that does not truncate output.
19899 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19900 Xsed="\$SED -e 1s/^X//"
19902 # A grep program that handles long lines.
19908 # A literal string matcher.
19911 # A BSD- or MS-compatible name lister.
19914 # Whether we need soft or hard links.
19917 # What is the maximum length of a command?
19918 max_cmd_len=$max_cmd_len
19920 # Object file suffix (normally "o").
19923 # Executable file suffix (normally "").
19926 # whether the shell understands "unset".
19929 # turn spaces into newlines.
19932 # turn newlines into spaces.
19935 # How to create reloadable object files.
19936 reload_flag=$lt_reload_flag
19937 reload_cmds=$lt_reload_cmds
19939 # An object symbol dumper.
19940 OBJDUMP=$lt_OBJDUMP
19942 # Method to check whether dependent libraries are shared objects.
19943 deplibs_check_method=$lt_deplibs_check_method
19945 # Command to use when deplibs_check_method == "file_magic".
19946 file_magic_cmd=$lt_file_magic_cmd
19950 AR_FLAGS=$lt_AR_FLAGS
19952 # A symbol stripping program.
19955 # Commands used to install an old-style archive.
19957 old_postinstall_cmds=$lt_old_postinstall_cmds
19958 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19963 # LTCC compiler flags.
19964 LTCFLAGS=$lt_CFLAGS
19966 # Take the output of nm and produce a listing of raw symbols and C names.
19967 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19969 # Transform the output of nm in a proper C declaration.
19970 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19972 # Transform the output of nm in a C name address pair.
19973 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19975 # Transform the output of nm in a C name address pair when lib prefix is needed.
19976 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19978 # The name of the directory that contains temporary libtool files.
19981 # Shell to use when invoking shell scripts.
19984 # An echo program that does not interpret backslashes.
19987 # Used to examine libraries when file_magic_cmd begins with "file".
19988 MAGIC_CMD=$MAGIC_CMD
19990 # Must we lock files when doing compilation?
19991 need_locks=$lt_need_locks
19993 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19994 DSYMUTIL=$lt_DSYMUTIL
19996 # Tool to change global to local symbols on Mac OS X.
19999 # Tool to manipulate fat objects and archives on Mac OS X.
20002 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20005 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20006 OTOOL64=$lt_OTOOL64
20008 # Old archive suffix (normally "a").
20011 # Shared library suffix (normally ".so").
20012 shrext_cmds=$lt_shrext_cmds
20014 # The commands to extract the exported symbol list from a shared archive.
20015 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20017 # Variables whose values should be saved in libtool wrapper scripts and
20018 # restored at link time.
20019 variables_saved_for_relink=$lt_variables_saved_for_relink
20021 # Do we need the "lib" prefix for modules?
20022 need_lib_prefix=$need_lib_prefix
20024 # Do we need a version for libraries?
20025 need_version=$need_version
20027 # Library versioning type.
20028 version_type=$version_type
20030 # Shared library runtime path variable.
20031 runpath_var=$runpath_var
20033 # Shared library path variable.
20034 shlibpath_var=$shlibpath_var
20036 # Is shlibpath searched before the hard-coded library search path?
20037 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20039 # Format of library name prefix.
20040 libname_spec=$lt_libname_spec
20042 # List of archive names. First name is the real one, the rest are links.
20043 # The last name is the one that the linker finds with -lNAME
20044 library_names_spec=$lt_library_names_spec
20046 # The coded name of the library, if different from the real name.
20047 soname_spec=$lt_soname_spec
20049 # Command to use after installation of a shared archive.
20050 postinstall_cmds=$lt_postinstall_cmds
20052 # Command to use after uninstallation of a shared archive.
20053 postuninstall_cmds=$lt_postuninstall_cmds
20055 # Commands used to finish a libtool library installation in a directory.
20056 finish_cmds=$lt_finish_cmds
20058 # As "finish_cmds", except a single script fragment to be evaled but
20060 finish_eval=$lt_finish_eval
20062 # Whether we should hardcode library paths into libraries.
20063 hardcode_into_libs=$hardcode_into_libs
20065 # Compile-time system search path for libraries.
20066 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20068 # Run-time system search path for libraries.
20069 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20071 # Whether dlopen is supported.
20072 dlopen_support=$enable_dlopen
20074 # Whether dlopen of programs is supported.
20075 dlopen_self=$enable_dlopen_self
20077 # Whether dlopen of statically linked programs is supported.
20078 dlopen_self_static=$enable_dlopen_self_static
20080 # Commands to strip libraries.
20081 old_striplib=$lt_old_striplib
20082 striplib=$lt_striplib
20085 # The linker used to build libraries.
20088 # Commands used to build an old-style archive.
20089 old_archive_cmds=$lt_old_archive_cmds
20091 # A language specific compiler.
20094 # Is the compiler the GNU compiler?
20097 # Compiler flag to turn off builtin functions.
20098 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20100 # How to pass a linker flag through the compiler.
20101 wl=$lt_lt_prog_compiler_wl
20103 # Additional compiler flags for building library objects.
20104 pic_flag=$lt_lt_prog_compiler_pic
20106 # Compiler flag to prevent dynamic linking.
20107 link_static_flag=$lt_lt_prog_compiler_static
20109 # Does compiler simultaneously support -c and -o options?
20110 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20112 # Whether or not to add -lc for building shared libraries.
20113 build_libtool_need_lc=$archive_cmds_need_lc
20115 # Whether or not to disallow shared libs when runtime libs are static.
20116 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20118 # Compiler flag to allow reflexive dlopens.
20119 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20121 # Compiler flag to generate shared objects directly from archives.
20122 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20124 # Whether the compiler copes with passing no objects directly.
20125 compiler_needs_object=$lt_compiler_needs_object
20127 # Create an old-style archive from a shared archive.
20128 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20130 # Create a temporary old-style archive to link instead of a shared archive.
20131 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20133 # Commands used to build a shared archive.
20134 archive_cmds=$lt_archive_cmds
20135 archive_expsym_cmds=$lt_archive_expsym_cmds
20137 # Commands used to build a loadable module if different from building
20138 # a shared archive.
20139 module_cmds=$lt_module_cmds
20140 module_expsym_cmds=$lt_module_expsym_cmds
20142 # Whether we are building with GNU ld or not.
20143 with_gnu_ld=$lt_with_gnu_ld
20145 # Flag that allows shared libraries with undefined symbols to be built.
20146 allow_undefined_flag=$lt_allow_undefined_flag
20148 # Flag that enforces no undefined symbols.
20149 no_undefined_flag=$lt_no_undefined_flag
20151 # Flag to hardcode \$libdir into a binary during linking.
20152 # This must work even if \$libdir does not exist
20153 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20155 # If ld is used when linking, flag to hardcode \$libdir into a binary
20156 # during linking. This must work even if \$libdir does not exist.
20157 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20159 # Whether we need a single "-rpath" flag with a separated argument.
20160 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20162 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20163 # DIR into the resulting binary.
20164 hardcode_direct=$hardcode_direct
20166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20167 # DIR into the resulting binary and the resulting library dependency is
20168 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20169 # library is relocated.
20170 hardcode_direct_absolute=$hardcode_direct_absolute
20172 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20173 # into the resulting binary.
20174 hardcode_minus_L=$hardcode_minus_L
20176 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20177 # into the resulting binary.
20178 hardcode_shlibpath_var=$hardcode_shlibpath_var
20180 # Set to "yes" if building a shared library automatically hardcodes DIR
20181 # into the library and all subsequent libraries and executables linked
20183 hardcode_automatic=$hardcode_automatic
20185 # Set to yes if linker adds runtime paths of dependent libraries
20186 # to runtime path list.
20187 inherit_rpath=$inherit_rpath
20189 # Whether libtool must link a program against all its dependency libraries.
20190 link_all_deplibs=$link_all_deplibs
20192 # Fix the shell variable \$srcfile for the compiler.
20193 fix_srcfile_path=$lt_fix_srcfile_path
20195 # Set to "yes" if exported symbols are required.
20196 always_export_symbols=$always_export_symbols
20198 # The commands to list exported symbols.
20199 export_symbols_cmds=$lt_export_symbols_cmds
20201 # Symbols that should not be listed in the preloaded symbols.
20202 exclude_expsyms=$lt_exclude_expsyms
20204 # Symbols that must always be exported.
20205 include_expsyms=$lt_include_expsyms
20207 # Commands necessary for linking programs (against libraries) with templates.
20208 prelink_cmds=$lt_prelink_cmds
20210 # Specify filename containing input files.
20211 file_list_spec=$lt_file_list_spec
20213 # How to hardcode a shared library path into an executable.
20214 hardcode_action=$hardcode_action
20216 # The directories searched by this compiler when creating a shared library.
20217 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20219 # Dependencies to place before and after the objects being linked to
20220 # create a shared library.
20221 predep_objects=$lt_predep_objects
20222 postdep_objects=$lt_postdep_objects
20223 predeps=$lt_predeps
20224 postdeps=$lt_postdeps
20226 # The library search path used internally by the compiler when linking
20227 # a shared library.
20228 compiler_lib_search_path=$lt_compiler_lib_search_path
20230 # ### END LIBTOOL CONFIG
20236 cat <<\_LT_EOF >> "$cfgfile"
20237 # AIX sometimes has problems with the GCC collect2 program. For some
20238 # reason, if we set the COLLECT_NAMES environment variable, the problems
20239 # vanish in a puff of smoke.
20240 if test "X${COLLECT_NAMES+set}" != Xset; then
20242 export COLLECT_NAMES
20249 ltmain="$ac_aux_dir/ltmain.sh"
20252 # We use sed instead of cat because bash on DJGPP gets confused if
20253 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20254 # text mode, it properly converts lines to CR/LF. This bash problem
20255 # is reportedly fixed, but why not run on old versions too?
20256 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20257 || (rm -f "$cfgfile"; exit 1)
20261 cat << \_LT_EOF
>> "$cfgfile"
20263 # func_dirname file append nondir_replacement
20264 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20265 # otherwise set result to NONDIR_REPLACEMENT.
20269 */*) func_dirname_result
="${1%/*}${2}" ;;
20270 * ) func_dirname_result
="${3}" ;;
20274 # func_basename file
20277 func_basename_result
="${1##*/}"
20280 # func_dirname_and_basename file append nondir_replacement
20281 # perform func_basename and func_dirname in a single function
20283 # dirname: Compute the dirname of FILE. If nonempty,
20284 # add APPEND to the result, otherwise set result
20285 # to NONDIR_REPLACEMENT.
20286 # value returned in "$func_dirname_result"
20287 # basename: Compute filename of FILE.
20288 # value retuned in "$func_basename_result"
20289 # Implementation must be kept synchronized with func_dirname
20290 # and func_basename. For efficiency, we do not delegate to
20291 # those functions but instead duplicate the functionality here.
20292 func_dirname_and_basename
()
20295 */*) func_dirname_result
="${1%/*}${2}" ;;
20296 * ) func_dirname_result
="${3}" ;;
20298 func_basename_result
="${1##*/}"
20301 # func_stripname prefix suffix name
20302 # strip PREFIX and SUFFIX off of NAME.
20303 # PREFIX and SUFFIX must not contain globbing or regex special
20304 # characters, hashes, percent signs, but SUFFIX may contain a leading
20305 # dot (in which case that matches only a dot).
20308 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20309 # positional parameters, so assign one to ordinary parameter first.
20310 func_stripname_result
=${3}
20311 func_stripname_result
=${func_stripname_result#"${1}"}
20312 func_stripname_result
=${func_stripname_result%"${2}"}
20318 func_opt_split_opt
=${1%%=*}
20319 func_opt_split_arg
=${1#*=}
20326 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20327 *) func_lo2o_result
=${1} ;;
20331 # func_xform libobj-or-source
20334 func_xform_result
=${1%.*}.lo
20337 # func_arith arithmetic-term...
20340 func_arith_result
=$(( $* ))
20344 # STRING may not start with a hyphen.
20347 func_len_result
=${#1}
20352 *) # Bourne compatible functions.
20353 cat << \_LT_EOF
>> "$cfgfile"
20355 # func_dirname file append nondir_replacement
20356 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20357 # otherwise set result to NONDIR_REPLACEMENT.
20360 # Extract subdirectory from the argument.
20361 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20362 if test "X$func_dirname_result" = "X${1}"; then
20363 func_dirname_result
="${3}"
20365 func_dirname_result
="$func_dirname_result${2}"
20369 # func_basename file
20372 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20376 # func_stripname prefix suffix name
20377 # strip PREFIX and SUFFIX off of NAME.
20378 # PREFIX and SUFFIX must not contain globbing or regex special
20379 # characters, hashes, percent signs, but SUFFIX may contain a leading
20380 # dot (in which case that matches only a dot).
20381 # func_strip_suffix prefix name
20385 .
*) func_stripname_result
=`$ECHO "X${3}" \
20386 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20387 *) func_stripname_result
=`$ECHO "X${3}" \
20388 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20393 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20394 my_sed_long_arg
='1s/^-[^=]*=//'
20399 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20400 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20406 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20409 # func_xform libobj-or-source
20412 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20415 # func_arith arithmetic-term...
20418 func_arith_result
=`expr "$@"`
20422 # STRING may not start with a hyphen.
20425 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20431 case $lt_shell_append in
20433 cat << \_LT_EOF
>> "$cfgfile"
20435 # func_append var value
20436 # Append VALUE to the end of shell variable VAR.
20444 cat << \_LT_EOF
>> "$cfgfile"
20446 # func_append var value
20447 # Append VALUE to the end of shell variable VAR.
20458 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20459 || (rm -f "$cfgfile"; exit 1)
20461 mv -f "$cfgfile" "$ofile" ||
20462 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20466 cat <<_LT_EOF >> "$ofile"
20468 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20470 # The linker used to build libraries.
20473 # Commands used to build an old-style archive.
20474 old_archive_cmds=$lt_old_archive_cmds_CXX
20476 # A language specific compiler.
20477 CC=$lt_compiler_CXX
20479 # Is the compiler the GNU compiler?
20482 # Compiler flag to turn off builtin functions.
20483 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20485 # How to pass a linker flag through the compiler.
20486 wl=$lt_lt_prog_compiler_wl_CXX
20488 # Additional compiler flags for building library objects.
20489 pic_flag=$lt_lt_prog_compiler_pic_CXX
20491 # Compiler flag to prevent dynamic linking.
20492 link_static_flag=$lt_lt_prog_compiler_static_CXX
20494 # Does compiler simultaneously support -c and -o options?
20495 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20497 # Whether or not to add -lc for building shared libraries.
20498 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20500 # Whether or not to disallow shared libs when runtime libs are static.
20501 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20503 # Compiler flag to allow reflexive dlopens.
20504 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20506 # Compiler flag to generate shared objects directly from archives.
20507 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20509 # Whether the compiler copes with passing no objects directly.
20510 compiler_needs_object=$lt_compiler_needs_object_CXX
20512 # Create an old-style archive from a shared archive.
20513 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20515 # Create a temporary old-style archive to link instead of a shared archive.
20516 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20518 # Commands used to build a shared archive.
20519 archive_cmds=$lt_archive_cmds_CXX
20520 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20522 # Commands used to build a loadable module if different from building
20523 # a shared archive.
20524 module_cmds=$lt_module_cmds_CXX
20525 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20527 # Whether we are building with GNU ld or not.
20528 with_gnu_ld=$lt_with_gnu_ld_CXX
20530 # Flag that allows shared libraries with undefined symbols to be built.
20531 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20533 # Flag that enforces no undefined symbols.
20534 no_undefined_flag=$lt_no_undefined_flag_CXX
20536 # Flag to hardcode \$libdir into a binary during linking.
20537 # This must work even if \$libdir does not exist
20538 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20540 # If ld is used when linking, flag to hardcode \$libdir into a binary
20541 # during linking. This must work even if \$libdir does not exist.
20542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20544 # Whether we need a single "-rpath" flag with a separated argument.
20545 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20547 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20548 # DIR into the resulting binary.
20549 hardcode_direct=$hardcode_direct_CXX
20551 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20552 # DIR into the resulting binary and the resulting library dependency is
20553 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20554 # library is relocated.
20555 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20557 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20558 # into the resulting binary.
20559 hardcode_minus_L=$hardcode_minus_L_CXX
20561 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20562 # into the resulting binary.
20563 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20565 # Set to "yes" if building a shared library automatically hardcodes DIR
20566 # into the library and all subsequent libraries and executables linked
20568 hardcode_automatic=$hardcode_automatic_CXX
20570 # Set to yes if linker adds runtime paths of dependent libraries
20571 # to runtime path list.
20572 inherit_rpath=$inherit_rpath_CXX
20574 # Whether libtool must link a program against all its dependency libraries.
20575 link_all_deplibs=$link_all_deplibs_CXX
20577 # Fix the shell variable \$srcfile for the compiler.
20578 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20580 # Set to "yes" if exported symbols are required.
20581 always_export_symbols=$always_export_symbols_CXX
20583 # The commands to list exported symbols.
20584 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20586 # Symbols that should not be listed in the preloaded symbols.
20587 exclude_expsyms=$lt_exclude_expsyms_CXX
20589 # Symbols that must always be exported.
20590 include_expsyms=$lt_include_expsyms_CXX
20592 # Commands necessary for linking programs (against libraries) with templates.
20593 prelink_cmds=$lt_prelink_cmds_CXX
20595 # Specify filename containing input files.
20596 file_list_spec=$lt_file_list_spec_CXX
20598 # How to hardcode a shared library path into an executable.
20599 hardcode_action=$hardcode_action_CXX
20601 # The directories searched by this compiler when creating a shared library.
20602 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20604 # Dependencies to place before and after the objects being linked to
20605 # create a shared library.
20606 predep_objects=$lt_predep_objects_CXX
20607 postdep_objects=$lt_postdep_objects_CXX
20608 predeps=$lt_predeps_CXX
20609 postdeps=$lt_postdeps_CXX
20611 # The library search path used internally by the compiler when linking
20612 # a shared library.
20613 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20615 # ### END LIBTOOL TAG CONFIG: CXX
20626 ac_clean_files
=$ac_clean_files_save
20628 test $ac_write_fail = 0 ||
20629 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20632 # configure is writing to config.log, and then calls config.status.
20633 # config.status does its own redirection, appending to config.log.
20634 # Unfortunately, on DOS this fails, as config.log is still kept open
20635 # by configure, so config.status won't be able to write to it; its
20636 # output is simply discarded. So we exec the FD to /dev/null,
20637 # effectively closing config.log, so it can be properly (re)opened and
20638 # appended to by config.status. When coming back to configure, we
20639 # need to make the FD available again.
20640 if test "$no_create" != yes; then
20642 ac_config_status_args
=
20643 test "$silent" = yes &&
20644 ac_config_status_args
="$ac_config_status_args --quiet"
20646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20649 # would make configure fail if this is the last instruction.
20650 $ac_cs_success || as_fn_exit $?
20652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}