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
956 # Initialize some variables set by options.
958 ac_init_version
=false
959 ac_unrecognized_opts
=
961 # The variables have the same names as the options, with
962 # dashes changed to underlines.
970 program_transform_name
=s
,x
,x
,
978 # Installation directory options.
979 # These are left unexpanded so users can "make install exec_prefix=/foo"
980 # and all the variables that are supposed to be based on exec_prefix
981 # by default will actually change.
982 # Use braces instead of parens because sh, perl, etc. also accept them.
983 # (The list follows the same order as the GNU Coding Standards.)
984 bindir
='${exec_prefix}/bin'
985 sbindir
='${exec_prefix}/sbin'
986 libexecdir
='${exec_prefix}/libexec'
987 datarootdir
='${prefix}/share'
988 datadir
='${datarootdir}'
989 sysconfdir
='${prefix}/etc'
990 sharedstatedir
='${prefix}/com'
991 localstatedir
='${prefix}/var'
992 includedir
='${prefix}/include'
993 oldincludedir
='/usr/include'
994 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
995 infodir
='${datarootdir}/info'
1000 libdir
='${exec_prefix}/lib'
1001 localedir
='${datarootdir}/locale'
1002 mandir
='${datarootdir}/man'
1008 # If the previous option needs an argument, assign it.
1009 if test -n "$ac_prev"; then
1010 eval $ac_prev=\
$ac_option
1016 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1020 # Accept the important Cygnus configure options, so we can diagnose typos.
1022 case $ac_dashdash$ac_option in
1026 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1028 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1029 bindir
=$ac_optarg ;;
1031 -build | --build | --buil | --bui | --bu)
1032 ac_prev
=build_alias
;;
1033 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1034 build_alias
=$ac_optarg ;;
1036 -cache-file | --cache-file | --cache-fil | --cache-fi \
1037 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1038 ac_prev
=cache_file
;;
1039 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1040 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1041 cache_file
=$ac_optarg ;;
1043 --config-cache | -C)
1044 cache_file
=config.cache
;;
1046 -datadir | --datadir | --datadi | --datad)
1048 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1049 datadir
=$ac_optarg ;;
1051 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1052 | --dataroo | --dataro | --datar)
1053 ac_prev
=datarootdir
;;
1054 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1055 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1056 datarootdir
=$ac_optarg ;;
1058 -disable-* | --disable-*)
1059 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1062 as_fn_error
"invalid feature name: $ac_useropt"
1063 ac_useropt_orig
=$ac_useropt
1064 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_
$ac_useropt"
1069 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1070 ac_unrecognized_sep
=', ';;
1072 eval enable_
$ac_useropt=no
;;
1074 -docdir | --docdir | --docdi | --doc | --do)
1076 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1077 docdir
=$ac_optarg ;;
1079 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1081 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1082 dvidir
=$ac_optarg ;;
1084 -enable-* | --enable-*)
1085 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1088 as_fn_error
"invalid feature name: $ac_useropt"
1089 ac_useropt_orig
=$ac_useropt
1090 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091 case $ac_user_opts in
1093 "enable_
$ac_useropt"
1095 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1096 ac_unrecognized_sep
=', ';;
1098 eval enable_
$ac_useropt=\
$ac_optarg ;;
1100 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1101 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1102 | --exec | --exe | --ex)
1103 ac_prev
=exec_prefix
;;
1104 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1105 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1106 | --exec=* | --exe=* | --ex=*)
1107 exec_prefix
=$ac_optarg ;;
1109 -gas | --gas | --ga | --g)
1110 # Obsolete; use --with-gas.
1113 -help | --help | --hel | --he | -h)
1114 ac_init_help
=long
;;
1115 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1116 ac_init_help
=recursive
;;
1117 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1118 ac_init_help
=short
;;
1120 -host | --host | --hos | --ho)
1121 ac_prev
=host_alias
;;
1122 -host=* | --host=* | --hos=* | --ho=*)
1123 host_alias
=$ac_optarg ;;
1125 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1127 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1129 htmldir
=$ac_optarg ;;
1131 -includedir | --includedir | --includedi | --included | --include \
1132 | --includ | --inclu | --incl | --inc)
1133 ac_prev
=includedir
;;
1134 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1135 | --includ=* | --inclu=* | --incl=* | --inc=*)
1136 includedir
=$ac_optarg ;;
1138 -infodir | --infodir | --infodi | --infod | --info | --inf)
1140 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1141 infodir
=$ac_optarg ;;
1143 -libdir | --libdir | --libdi | --libd)
1145 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1146 libdir
=$ac_optarg ;;
1148 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1149 | --libexe | --libex | --libe)
1150 ac_prev
=libexecdir
;;
1151 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1152 | --libexe=* | --libex=* | --libe=*)
1153 libexecdir
=$ac_optarg ;;
1155 -localedir | --localedir | --localedi | --localed | --locale)
1156 ac_prev
=localedir
;;
1157 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1158 localedir
=$ac_optarg ;;
1160 -localstatedir | --localstatedir | --localstatedi | --localstated \
1161 | --localstate | --localstat | --localsta | --localst | --locals)
1162 ac_prev
=localstatedir
;;
1163 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1164 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1165 localstatedir
=$ac_optarg ;;
1167 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1169 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1170 mandir
=$ac_optarg ;;
1172 -nfp | --nfp | --nf)
1173 # Obsolete; use --without-fp.
1176 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1177 | --no-cr | --no-c | -n)
1180 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1181 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1184 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1185 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1186 | --oldin | --oldi | --old | --ol | --o)
1187 ac_prev
=oldincludedir
;;
1188 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1189 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1190 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1191 oldincludedir
=$ac_optarg ;;
1193 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1195 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1196 prefix
=$ac_optarg ;;
1198 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1199 | --program-pre | --program-pr | --program-p)
1200 ac_prev
=program_prefix
;;
1201 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1202 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1203 program_prefix
=$ac_optarg ;;
1205 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1206 | --program-suf | --program-su | --program-s)
1207 ac_prev
=program_suffix
;;
1208 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1209 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1210 program_suffix
=$ac_optarg ;;
1212 -program-transform-name | --program-transform-name \
1213 | --program-transform-nam | --program-transform-na \
1214 | --program-transform-n | --program-transform- \
1215 | --program-transform | --program-transfor \
1216 | --program-transfo | --program-transf \
1217 | --program-trans | --program-tran \
1218 | --progr-tra | --program-tr | --program-t)
1219 ac_prev
=program_transform_name
;;
1220 -program-transform-name=* | --program-transform-name=* \
1221 | --program-transform-nam=* | --program-transform-na=* \
1222 | --program-transform-n=* | --program-transform-=* \
1223 | --program-transform=* | --program-transfor=* \
1224 | --program-transfo=* | --program-transf=* \
1225 | --program-trans=* | --program-tran=* \
1226 | --progr-tra=* | --program-tr=* | --program-t=*)
1227 program_transform_name
=$ac_optarg ;;
1229 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1231 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1232 pdfdir
=$ac_optarg ;;
1234 -psdir | --psdir | --psdi | --psd | --ps)
1236 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1240 | -silent | --silent | --silen | --sile | --sil)
1243 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1245 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1247 sbindir
=$ac_optarg ;;
1249 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1250 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1251 | --sharedst | --shareds | --shared | --share | --shar \
1253 ac_prev
=sharedstatedir
;;
1254 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1255 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1256 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1258 sharedstatedir
=$ac_optarg ;;
1260 -site | --site | --sit)
1262 -site=* | --site=* | --sit=*)
1265 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1267 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1268 srcdir
=$ac_optarg ;;
1270 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1271 | --syscon | --sysco | --sysc | --sys | --sy)
1272 ac_prev
=sysconfdir
;;
1273 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1274 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1275 sysconfdir
=$ac_optarg ;;
1277 -target | --target | --targe | --targ | --tar | --ta | --t)
1278 ac_prev
=target_alias
;;
1279 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1280 target_alias
=$ac_optarg ;;
1282 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1285 -version | --version | --versio | --versi | --vers | -V)
1286 ac_init_version
=: ;;
1289 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1292 as_fn_error
"invalid package name: $ac_useropt"
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=\
$ac_optarg ;;
1304 -without-* | --without-*)
1305 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1308 as_fn_error
"invalid package name: $ac_useropt"
1309 ac_useropt_orig
=$ac_useropt
1310 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1315 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1316 ac_unrecognized_sep
=', ';;
1318 eval with_
$ac_useropt=no
;;
1321 # Obsolete; use --with-x.
1324 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1325 | --x-incl | --x-inc | --x-in | --x-i)
1326 ac_prev
=x_includes
;;
1327 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1328 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1329 x_includes
=$ac_optarg ;;
1331 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1332 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1333 ac_prev
=x_libraries
;;
1334 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1335 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1336 x_libraries
=$ac_optarg ;;
1338 -*) as_fn_error
"unrecognized option: \`$ac_option'
1339 Try \`$0 --help' for more information."
1343 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1344 # Reject names that are not valid shell variable names.
1345 case $ac_envvar in #(
1346 '' | [0-9]* | *[!_$as_cr_alnum]* )
1347 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1349 eval $ac_envvar=\
$ac_optarg
1350 export $ac_envvar ;;
1353 # FIXME: should be removed in autoconf 3.0.
1354 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1355 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1356 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1357 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1363 if test -n "$ac_prev"; then
1364 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1365 as_fn_error
"missing argument to $ac_option"
1368 if test -n "$ac_unrecognized_opts"; then
1369 case $enable_option_checking in
1371 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1372 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376 # Check all directory arguments for consistency.
1377 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1378 datadir sysconfdir sharedstatedir localstatedir includedir \
1379 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1380 libdir localedir mandir
1382 eval ac_val
=\$
$ac_var
1383 # Remove trailing slashes.
1386 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1387 eval $ac_var=\
$ac_val;;
1389 # Be sure to have absolute directory names.
1391 [\\/$
]* | ?
:[\\/]* ) continue;;
1392 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1394 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1397 # There might be people who depend on the old broken behavior: `$host'
1398 # used to hold the argument of --host etc.
1399 # FIXME: To remove some day.
1402 target
=$target_alias
1404 # FIXME: To remove some day.
1405 if test "x$host_alias" != x
; then
1406 if test "x$build_alias" = x
; then
1407 cross_compiling
=maybe
1408 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1409 If a cross compiler is detected then cross compile mode will be used." >&2
1410 elif test "x$build_alias" != "x$host_alias"; then
1416 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1418 test "$silent" = yes && exec 6>/dev
/null
1421 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1422 ac_ls_di
=`ls -di .` &&
1423 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1424 as_fn_error
"working directory cannot be determined"
1425 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1426 as_fn_error
"pwd does not report name of working directory"
1429 # Find the source files, if location was not specified.
1430 if test -z "$srcdir"; then
1431 ac_srcdir_defaulted
=yes
1432 # Try the directory containing this script, then the parent directory.
1433 ac_confdir
=`$as_dirname -- "$as_myself" ||
1434 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1435 X"$as_myself" : 'X\(//\)[^/]' \| \
1436 X"$as_myself" : 'X\(//\)$' \| \
1437 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1438 $as_echo X"$as_myself" |
1439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1461 ac_srcdir_defaulted
=no
1463 if test ! -r "$srcdir/$ac_unique_file"; then
1464 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1465 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1467 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1469 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1471 # When building in place, set srcdir=.
1472 if test "$ac_abs_confdir" = "$ac_pwd"; then
1475 # Remove unnecessary trailing slashes from srcdir.
1476 # Double slashes in file names in object file debugging info
1477 # mess up M-x gdb in Emacs.
1479 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1481 for ac_var
in $ac_precious_vars; do
1482 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1483 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1484 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1485 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1489 # Report the --help message.
1491 if test "$ac_init_help" = "long"; then
1492 # Omit some internal or obsolete options to make the list less imposing.
1493 # This message is too long to be a string in the A/UX 3.1 sh.
1495 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1497 Usage: $0 [OPTION]... [VAR=VALUE]...
1499 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1500 VAR=VALUE. See below for descriptions of some of the useful variables.
1502 Defaults for the options are specified in brackets.
1505 -h, --help display this help and exit
1506 --help=short display options specific to this package
1507 --help=recursive display the short help of all the included packages
1508 -V, --version display version information and exit
1509 -q, --quiet, --silent do not print \`checking...' messages
1510 --cache-file=FILE cache test results in FILE [disabled]
1511 -C, --config-cache alias for \`--cache-file=config.cache'
1512 -n, --no-create do not create output files
1513 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1515 Installation directories:
1516 --prefix=PREFIX install architecture-independent files in PREFIX
1517 [$ac_default_prefix]
1518 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1521 By default, \`make install' will install all the files in
1522 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1523 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1524 for instance \`--prefix=\$HOME'.
1526 For better control, use the options below.
1528 Fine tuning of the installation directories:
1529 --bindir=DIR user executables [EPREFIX/bin]
1530 --sbindir=DIR system admin executables [EPREFIX/sbin]
1531 --libexecdir=DIR program executables [EPREFIX/libexec]
1532 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1533 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1534 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1535 --libdir=DIR object code libraries [EPREFIX/lib]
1536 --includedir=DIR C header files [PREFIX/include]
1537 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1538 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1539 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1540 --infodir=DIR info documentation [DATAROOTDIR/info]
1541 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1542 --mandir=DIR man documentation [DATAROOTDIR/man]
1543 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1544 --htmldir=DIR html documentation [DOCDIR]
1545 --dvidir=DIR dvi documentation [DOCDIR]
1546 --pdfdir=DIR pdf documentation [DOCDIR]
1547 --psdir=DIR ps documentation [DOCDIR]
1553 --build=BUILD configure
for building on BUILD
[guessed
]
1554 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1558 if test -n "$ac_init_help"; then
1559 case $ac_init_help in
1560 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1565 --disable-option-checking ignore unrecognized
--enable/--with options
1566 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1567 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1568 --enable-static[=PKGS
] build static libraries
[default
=no
]
1569 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1570 --enable-fast-install[=PKGS
]
1571 optimize
for fast installation
[default
=yes]
1572 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1573 --disable-rpath do not hardcode runtime library paths
1574 --enable-javascript[=ENGINE
]
1575 Enable the JavaScript runtime
(currently the only
1576 available option
for ENGINE is JavaScriptCore
)
1578 --disable-javascript Disable the JavaScript runtime
1581 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1582 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1583 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1585 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1586 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1587 path
for frameworks with
-F
1588 --with-apr=PATH prefix
for installed APR or the full path to
1590 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1591 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1592 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1594 Some influential environment variables:
1595 CC C compiler command
1596 CFLAGS C compiler flags
1597 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1598 nonstandard directory <lib dir>
1599 LIBS libraries to pass to the linker, e.g. -l<library>
1600 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1601 you have headers in a nonstandard directory <include dir>
1603 PKG_CONFIG path to pkg-config utility
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CXXCPP C++ preprocessor
1607 OBJCXX Objective C++ compiler command
1608 OBJCXXFLAGS Objective C++ compiler flags
1609 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1610 the first program found out of
: `bison -y', `byacc
', `yacc'.
1611 YFLAGS The list of arguments that will be passed by default to
$YACC.
1612 This
script will default YFLAGS to the empty string to avoid a
1613 default value of
`-d' given by some make applications.
1614 GPERF perfect hash function generator
1616 C compiler flags for WEBKIT, overriding pkg-config
1617 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1619 C compiler flags for LIBFFI, overriding pkg-config
1620 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1622 Use these variables to override the choices made by `configure
' or to help
1623 it to find libraries and programs with nonstandard names/locations.
1625 Report bugs to <saurik@saurik.com>.
1626 Cycript home page: <http://www.cycript.org/>.
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1656 .) # We are building in place.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1689 Cycript configure 0.9
1690 generated by GNU Autoconf 2.65
1692 Copyright (C) 2009 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1719 if test -s conftest.err; then
1720 grep -v '^
*+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's
/^
/| /' conftest.$ac_ext >&5
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 as_fn_set_status $ac_retval
1739 } # ac_fn_c_try_compile
1741 # ac_fn_c_try_link LINENO
1742 # -----------------------
1743 # Try to link conftest.$ac_ext, and return whether this succeeded.
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext conftest$ac_exeext
1748 if { { ac_try="$ac_link"
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_link") 2>conftest.err
1757 if test -s conftest.err; then
1758 grep -v '^
*+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_c_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest$ac_exeext && {
1767 test "$cross_compiling" = yes ||
1768 $as_test_x conftest$ac_exeext
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's
/^
/| /' conftest.$ac_ext >&5
1777 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1778 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1779 # interfere with the next link command; also delete a directory that is
1780 # left behind by Apple's compiler. We
do this before executing the actions.
1781 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1783 as_fn_set_status
$ac_retval
1785 } # ac_fn_c_try_link
1787 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1788 # -------------------------------------------------------
1789 # Tests whether HEADER exists and can be compiled using the include files in
1790 # INCLUDES, setting the cache variable VAR accordingly.
1791 ac_fn_c_check_header_compile
()
1793 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1797 $as_echo_n "(cached) " >&6
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile
"$LINENO"; then :
1809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1816 } # ac_fn_c_check_header_compile
1818 # ac_fn_c_try_cpp LINENO
1819 # ----------------------
1820 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1823 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1824 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1827 *) ac_try_echo=$ac_try;;
1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1830 $as_echo "$ac_try_echo"; } >&5
1831 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1833 if test -s conftest.err; then
1834 grep -v '^ *+' conftest.err >conftest.er1
1835 cat conftest.er1 >&5
1836 mv -f conftest.er1 conftest.err
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } >/dev/null && {
1840 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1841 test ! -s conftest.err
1845 $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 as_fn_set_status $ac_retval
1855 # ac_fn_c_try_run LINENO
1856 # ----------------------
1857 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1858 # that executables *can* be run.
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if { { ac_try="$ac_link"
1864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1865 *) ac_try_echo
=$ac_try;;
1867 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1873 { { case "(($ac_try" in
1874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_try") 2>&5
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; }; }; then :
1885 $as_echo "$as_me: program exited with status $ac_status" >&5
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1889 ac_retval=$ac_status
1891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1893 as_fn_set_status $ac_retval
1897 # ac_fn_c_check_func LINENO FUNC VAR
1898 # ----------------------------------
1899 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1900 ac_fn_c_check_func ()
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1906 $as_echo_n "(cached) " >&6
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1910 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1912 #define $2 innocuous_$2
1914 /* System header to define __stub macros and hopefully few prototypes,
1915 which can conflict with char $2 (); below.
1916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1917 <limits.h> exists even on freestanding compilers. */
1920 # include <limits.h>
1922 # include <assert.h>
1927 /* Override any GCC internal prototype to avoid an error.
1928 Use char because int might match the return type of a GCC
1929 builtin and then its argument prototype would still apply. */
1934 /* The GNU C library defines this for functions which it implements
1935 to always fail with ENOSYS. Some functions are actually named
1936 something starting with __ and the normal name is an alias. */
1937 #if defined __stub_$2 || defined __stub___$2
1949 if ac_fn_c_try_link "$LINENO"; then :
1954 rm -f core conftest.err conftest.$ac_objext \
1955 conftest$ac_exeext conftest.$ac_ext
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1962 } # ac_fn_c_check_func
1964 # ac_fn_cxx_try_compile LINENO
1965 # ----------------------------
1966 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1967 ac_fn_cxx_try_compile ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 rm -f conftest.$ac_objext
1971 if { { ac_try="$ac_compile"
1973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1974 *) ac_try_echo
=$ac_try;;
1976 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978 (eval "$ac_compile") 2>conftest.err
1980 if test -s conftest.err
; then
1981 grep -v '^ *+' conftest.err
>conftest.er1
1982 cat conftest.er1
>&5
1983 mv -f conftest.er1 conftest.err
1985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1986 test $ac_status = 0; } && {
1987 test -z "$ac_cxx_werror_flag" ||
1988 test ! -s conftest.err
1989 } && test -s conftest.
$ac_objext; then :
1992 $as_echo "$as_me: failed program was:" >&5
1993 sed 's/^/| /' conftest.
$ac_ext >&5
1997 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1998 as_fn_set_status
$ac_retval
2000 } # ac_fn_cxx_try_compile
2002 # ac_fn_cxx_try_cpp LINENO
2003 # ------------------------
2004 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2005 ac_fn_cxx_try_cpp
()
2007 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2008 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2011 *) ac_try_echo=$ac_try;;
2013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014 $as_echo "$ac_try_echo"; } >&5
2015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2017 if test -s conftest.err; then
2018 grep -v '^ *+' conftest.err >conftest.er1
2019 cat conftest.er1 >&5
2020 mv -f conftest.er1 conftest.err
2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023 test $ac_status = 0; } >/dev/null && {
2024 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2025 test ! -s conftest.err
2029 $as_echo "$as_me: failed program was:" >&5
2030 sed 's/^/| /' conftest.$ac_ext >&5
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2035 as_fn_set_status $ac_retval
2037 } # ac_fn_cxx_try_cpp
2039 # ac_fn_cxx_try_link LINENO
2040 # -------------------------
2041 # Try to link conftest.$ac_ext, and return whether this succeeded.
2042 ac_fn_cxx_try_link ()
2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045 rm -f conftest.$ac_objext conftest$ac_exeext
2046 if { { ac_try="$ac_link"
2048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2049 *) ac_try_echo
=$ac_try;;
2051 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053 (eval "$ac_link") 2>conftest.err
2055 if test -s conftest.err
; then
2056 grep -v '^ *+' conftest.err
>conftest.er1
2057 cat conftest.er1
>&5
2058 mv -f conftest.er1 conftest.err
2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061 test $ac_status = 0; } && {
2062 test -z "$ac_cxx_werror_flag" ||
2063 test ! -s conftest.err
2064 } && test -s conftest
$ac_exeext && {
2065 test "$cross_compiling" = yes ||
2066 $as_test_x conftest
$ac_exeext
2070 $as_echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2075 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2076 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2077 # interfere with the next link command; also delete a directory that is
2078 # left behind by Apple's compiler. We do this before executing the actions.
2079 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2081 as_fn_set_status
$ac_retval
2083 } # ac_fn_cxx_try_link
2085 # ac_fn_objcxx_try_compile LINENO
2086 # -------------------------------
2087 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2088 ac_fn_objcxx_try_compile
()
2090 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2091 rm -f conftest.
$ac_objext
2092 if { { ac_try
="$ac_compile"
2094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2095 *) ac_try_echo=$ac_try;;
2097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2098 $as_echo "$ac_try_echo"; } >&5
2099 (eval "$ac_compile") 2>conftest.err
2101 if test -s conftest.err; then
2102 grep -v '^ *+' conftest.err >conftest.er1
2103 cat conftest.er1 >&5
2104 mv -f conftest.er1 conftest.err
2106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2107 test $ac_status = 0; } && {
2108 test -z "$ac_objcxx_werror_flag" ||
2109 test ! -s conftest.err
2110 } && test -s conftest.$ac_objext; then :
2113 $as_echo "$as_me: failed program was:" >&5
2114 sed 's/^/| /' conftest.$ac_ext >&5
2118 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2119 as_fn_set_status $ac_retval
2121 } # ac_fn_objcxx_try_compile
2123 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2124 # ---------------------------------------------------------
2125 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2126 # the include files in INCLUDES and setting the cache variable VAR
2128 ac_fn_cxx_check_header_mongrel ()
2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 $as_echo_n "checking for $2... " >&6; }
2134 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135 $as_echo_n "(cached) " >&6
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2141 # Is the header compilable?
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2143 $as_echo_n "checking $2 usability... " >&6; }
2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2145 /* end confdefs.h. */
2149 if ac_fn_cxx_try_compile "$LINENO"; then :
2150 ac_header_compiler=yes
2152 ac_header_compiler=no
2154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2156 $as_echo "$ac_header_compiler" >&6; }
2158 # Is the header present?
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2160 $as_echo_n "checking $2 presence... " >&6; }
2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2162 /* end confdefs.h. */
2165 if ac_fn_cxx_try_cpp "$LINENO"; then :
2166 ac_header_preproc=yes
2168 ac_header_preproc=no
2170 rm -f conftest.err conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2172 $as_echo "$ac_header_preproc" >&6; }
2174 # So? What about this header?
2175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2178 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2184 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2186 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2188 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2190 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2192 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2194 ## -------------------------------- ##
2195 ## Report this to saurik@saurik.com ##
2196 ## -------------------------------- ##
2198 ) | sed "s/^/$as_me: WARNING: /" >&2
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2202 $as_echo_n "checking for $2... " >&6; }
2203 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2206 eval "$3=\$ac_header_compiler"
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210 $as_echo "$ac_res" >&6; }
2212 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2214 } # ac_fn_cxx_check_header_mongrel
2216 # ac_fn_objcxx_try_link LINENO
2217 # ----------------------------
2218 # Try to link conftest.$ac_ext, and return whether this succeeded.
2219 ac_fn_objcxx_try_link ()
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 rm -f conftest.$ac_objext conftest$ac_exeext
2223 if { { ac_try="$ac_link"
2225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2226 *) ac_try_echo
=$ac_try;;
2228 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2229 $as_echo "$ac_try_echo"; } >&5
2230 (eval "$ac_link") 2>conftest.err
2232 if test -s conftest.err
; then
2233 grep -v '^ *+' conftest.err
>conftest.er1
2234 cat conftest.er1
>&5
2235 mv -f conftest.er1 conftest.err
2237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2238 test $ac_status = 0; } && {
2239 test -z "$ac_objcxx_werror_flag" ||
2240 test ! -s conftest.err
2241 } && test -s conftest
$ac_exeext && {
2242 test "$cross_compiling" = yes ||
2243 $as_test_x conftest
$ac_exeext
2247 $as_echo "$as_me: failed program was:" >&5
2248 sed 's/^/| /' conftest.
$ac_ext >&5
2252 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2253 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2254 # interfere with the next link command; also delete a directory that is
2255 # left behind by Apple's compiler. We do this before executing the actions.
2256 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2257 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2258 as_fn_set_status
$ac_retval
2260 } # ac_fn_objcxx_try_link
2261 cat >config.log
<<_ACEOF
2262 This file contains any messages produced by compilers while
2263 running configure, to aid debugging if configure makes a mistake.
2265 It was created by Cycript $as_me 0.9, which was
2266 generated by GNU Autoconf 2.65. Invocation command line was
2278 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2279 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2280 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2281 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2282 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2284 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2285 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2287 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2288 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2289 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2290 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2291 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2292 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2293 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir
=.
2302 $as_echo "PATH: $as_dir"
2318 # Keep a trace of the command line.
2319 # Strip out --no-create and --no-recursion so they do not pile up.
2320 # Strip out --silent because we don't want to record it for future runs.
2321 # Also quote any args containing shell meta-characters.
2322 # Make two passes to allow for proper duplicate-argument suppression.
2326 ac_must_keep_next
=false
2332 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2333 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2334 | -silent | --silent | --silen | --sile | --sil)
2337 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2340 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2342 as_fn_append ac_configure_args1
" '$ac_arg'"
2343 if test $ac_must_keep_next = true
; then
2344 ac_must_keep_next
=false
# Got value, back to normal.
2347 *=* | --config-cache | -C | -disable-* | --disable-* \
2348 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2349 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2350 | -with-* | --with-* | -without-* | --without-* | --x)
2351 case "$ac_configure_args0 " in
2352 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2355 -* ) ac_must_keep_next
=true
;;
2358 as_fn_append ac_configure_args
" '$ac_arg'"
2363 { ac_configure_args0
=; unset ac_configure_args0
;}
2364 { ac_configure_args1
=; unset ac_configure_args1
;}
2366 # When interrupted or exit'd, cleanup temporary files, and complete
2367 # config.log. We remove comments because anyway the quotes in there
2368 # would cause problems or look ugly.
2369 # WARNING: Use '\'' to represent an apostrophe within the trap.
2370 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2371 trap 'exit_status=$?
2372 # Save into config.log some information that might help in debugging.
2377 ## ---------------- ##
2378 ## Cache variables. ##
2379 ## ---------------- ##
2382 # The following way of writing the cache mishandles newlines in values,
2384 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2385 eval ac_val=\$$ac_var
2389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2393 _ | IFS | as_nl) ;; #(
2394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2395 *) { eval $ac_var=; unset $ac_var;} ;;
2400 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2401 *${as_nl}ac_space=\ *)
2403 "s/'\''/'\''\\\\'\'''\''/g;
2404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2415 ## ----------------- ##
2416 ## Output variables. ##
2417 ## ----------------- ##
2420 for ac_var in $ac_subst_vars
2422 eval ac_val=\$$ac_var
2424 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426 $as_echo "$ac_var='\''$ac_val'\''"
2430 if test -n "$ac_subst_files"; then
2432 ## ------------------- ##
2433 ## File substitutions. ##
2434 ## ------------------- ##
2437 for ac_var
in $ac_subst_files
2439 eval ac_val
=\$
$ac_var
2441 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2443 $as_echo "$ac_var='\''$ac_val'\''"
2448 if test -s confdefs.h; then
2458 test "$ac_signal" != 0 &&
2459 $as_echo "$as_me: caught signal $ac_signal"
2460 $as_echo "$as_me: exit $exit_status"
2462 rm -f core *.core core.conftest.* &&
2463 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2466 for ac_signal
in 1 2 13 15; do
2467 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2472 rm -f -r conftest
* confdefs.h
2474 $as_echo "/* confdefs.h */" > confdefs.h
2476 # Predefined preprocessor variables.
2478 cat >>confdefs.h
<<_ACEOF
2479 #define PACKAGE_NAME "$PACKAGE_NAME"
2482 cat >>confdefs.h
<<_ACEOF
2483 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2486 cat >>confdefs.h
<<_ACEOF
2487 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2490 cat >>confdefs.h
<<_ACEOF
2491 #define PACKAGE_STRING "$PACKAGE_STRING"
2494 cat >>confdefs.h
<<_ACEOF
2495 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2498 cat >>confdefs.h
<<_ACEOF
2499 #define PACKAGE_URL "$PACKAGE_URL"
2503 # Let the site file select an alternate cache file if it wants to.
2504 # Prefer an explicitly selected file to automatically selected ones.
2507 if test -n "$CONFIG_SITE"; then
2508 ac_site_file1
=$CONFIG_SITE
2509 elif test "x$prefix" != xNONE
; then
2510 ac_site_file1
=$prefix/share
/config.site
2511 ac_site_file2
=$prefix/etc
/config.site
2513 ac_site_file1
=$ac_default_prefix/share
/config.site
2514 ac_site_file2
=$ac_default_prefix/etc
/config.site
2516 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2518 test "x$ac_site_file" = xNONE
&& continue
2519 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522 sed 's/^/| /' "$ac_site_file" >&5
2527 if test -r "$cache_file"; then
2528 # Some versions of bash will fail to source /dev/null (special files
2529 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2530 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2532 $as_echo "$as_me: loading cache $cache_file" >&6;}
2534 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2535 *) .
"./$cache_file";;
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2540 $as_echo "$as_me: creating cache $cache_file" >&6;}
2544 # Check that the precious variables saved in the cache have kept the same
2546 ac_cache_corrupted
=false
2547 for ac_var
in $ac_precious_vars; do
2548 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2549 eval ac_new_set
=\
$ac_env_${ac_var}_set
2550 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2551 eval ac_new_val
=\
$ac_env_${ac_var}_value
2552 case $ac_old_set,$ac_new_set in
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2555 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2556 ac_cache_corrupted
=: ;;
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2559 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2560 ac_cache_corrupted
=: ;;
2563 if test "x$ac_old_val" != "x$ac_new_val"; then
2564 # differences in whitespace do not lead to failure.
2565 ac_old_val_w
=`echo x $ac_old_val`
2566 ac_new_val_w
=`echo x $ac_new_val`
2567 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2569 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2570 ac_cache_corrupted
=:
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2573 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2574 eval $ac_var=\
$ac_old_val
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2577 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2579 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2582 # Pass precious variables to config.status.
2583 if test "$ac_new_set" = set; then
2585 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2586 *) ac_arg
=$ac_var=$ac_new_val ;;
2588 case " $ac_configure_args " in
2589 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2590 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2594 if $ac_cache_corrupted; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2598 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2599 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2601 ## -------------------- ##
2602 ## Main body of script. ##
2603 ## -------------------- ##
2606 ac_cpp
='$CPP $CPPFLAGS'
2607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2614 for ac_dir
in .
"$srcdir"/.
; do
2615 for ac_t
in install-sh install.sh shtool
; do
2616 if test -f "$ac_dir/$ac_t"; then
2618 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2623 if test -z "$ac_aux_dir"; then
2624 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2627 # These three variables are undocumented and unsupported,
2628 # and are intended to be withdrawn in a future Autoconf release.
2629 # They can cause serious problems if a builder's source tree is in a directory
2630 # whose full name contains unusual characters.
2631 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2632 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2633 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2639 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2644 macro_version
='2.2.6b'
2645 macro_revision
='1.3017'
2659 ltmain
="$ac_aux_dir/ltmain.sh"
2661 # Make sure we can run config.sub.
2662 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2663 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2666 $as_echo_n "checking build system type... " >&6; }
2667 if test "${ac_cv_build+set}" = set; then :
2668 $as_echo_n "(cached) " >&6
2670 ac_build_alias
=$build_alias
2671 test "x$ac_build_alias" = x
&&
2672 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2673 test "x$ac_build_alias" = x
&&
2674 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2675 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2676 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2680 $as_echo "$ac_cv_build" >&6; }
2681 case $ac_cv_build in
2683 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2686 ac_save_IFS
=$IFS; IFS
='-'
2692 # Remember, the first character of IFS is used to create $*,
2693 # except with old shells:
2696 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2700 $as_echo_n "checking host system type... " >&6; }
2701 if test "${ac_cv_host+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2704 if test "x$host_alias" = x
; then
2705 ac_cv_host
=$ac_cv_build
2707 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2708 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2713 $as_echo "$ac_cv_host" >&6; }
2716 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2719 ac_save_IFS
=$IFS; IFS
='-'
2725 # Remember, the first character of IFS is used to create $*,
2726 # except with old shells:
2729 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2733 ac_cpp
='$CPP $CPPFLAGS'
2734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2737 if test -n "$ac_tool_prefix"; then
2738 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2739 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741 $as_echo_n "checking for $ac_word... " >&6; }
2742 if test "${ac_cv_prog_CC+set}" = set; then :
2743 $as_echo_n "(cached) " >&6
2745 if test -n "$CC"; then
2746 ac_cv_prog_CC
="$CC" # Let the user override the test.
2748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2752 test -z "$as_dir" && as_dir
=.
2753 for ac_exec_ext
in '' $ac_executable_extensions; do
2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 if test -n "$CC"; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2776 if test -z "$ac_cv_prog_CC"; then
2778 # Extract the first word of "gcc", so it can be a program name with args.
2779 set dummy gcc
; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$ac_ct_CC"; then
2786 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_ac_ct_CC
="gcc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2806 if test -n "$ac_ct_CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2808 $as_echo "$ac_ct_CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2814 if test "x$ac_ct_CC" = x
; then
2817 case $cross_compiling:$ac_tool_warned in
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821 ac_tool_warned
=yes ;;
2829 if test -z "$CC"; then
2830 if test -n "$ac_tool_prefix"; then
2831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2832 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_CC+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC
="$CC" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2870 if test -z "$CC"; then
2871 # Extract the first word of "cc", so it can be a program name with args.
2872 set dummy cc
; ac_word
=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if test "${ac_cv_prog_CC+set}" = set; then :
2876 $as_echo_n "(cached) " >&6
2878 if test -n "$CC"; then
2879 ac_cv_prog_CC
="$CC" # Let the user override the test.
2882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir
=.
2887 for ac_exec_ext
in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2890 ac_prog_rejected
=yes
2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901 if test $ac_prog_rejected = yes; then
2902 # We found a bogon in the path, so make sure we never use it.
2903 set dummy
$ac_cv_prog_CC
2905 if test $# != 0; then
2906 # We chose a different compiler from the bogus one.
2907 # However, it has the same basename, so the bogon will be chosen
2908 # first if we set CC to just the basename; use the full file name.
2910 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2916 if test -n "$CC"; then
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2918 $as_echo "$CC" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2926 if test -z "$CC"; then
2927 if test -n "$ac_tool_prefix"; then
2928 for ac_prog
in cl.exe
2930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2931 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if test "${ac_cv_prog_CC+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC
="$CC" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 test -n "$CC" && break
2970 if test -z "$CC"; then
2972 for ac_prog
in cl.exe
2974 # Extract the first word of "$ac_prog", so it can be a program name with args.
2975 set dummy
$ac_prog; ac_word
=$2
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2977 $as_echo_n "checking for $ac_word... " >&6; }
2978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2981 if test -n "$ac_ct_CC"; then
2982 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2988 test -z "$as_dir" && as_dir
=.
2989 for ac_exec_ext
in '' $ac_executable_extensions; do
2990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2991 ac_cv_prog_ac_ct_CC
="$ac_prog"
2992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3001 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3002 if test -n "$ac_ct_CC"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3004 $as_echo "$ac_ct_CC" >&6; }
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3007 $as_echo "no" >&6; }
3011 test -n "$ac_ct_CC" && break
3014 if test "x$ac_ct_CC" = x
; then
3017 case $cross_compiling:$ac_tool_warned in
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021 ac_tool_warned
=yes ;;
3030 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3032 as_fn_error
"no acceptable C compiler found in \$PATH
3033 See \`config.log' for more details." "$LINENO" 5; }
3035 # Provide some information about the compiler.
3036 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3039 for ac_option
in --version -v -V -qversion; do
3040 { { ac_try
="$ac_compiler $ac_option >&5"
3042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3049 if test -s conftest.err; then
3051 ... rest of stderr output deleted ...
3052 10q' conftest.err >conftest.er1
3053 cat conftest.er1 >&5
3055 rm -f conftest.er1 conftest.err
3056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3057 test $ac_status = 0; }
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3071 ac_clean_files_save=$ac_clean_files
3072 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3073 # Try to create an executable without -o first, disregard a.out.
3074 # It will help us diagnose broken compilers, and finding out an intuition
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3077 $as_echo_n "checking whether the C compiler works... " >&6; }
3078 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3080 # The possible output files:
3081 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3084 for ac_file in $ac_files
3087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3093 if { { ac_try="$ac_link_default"
3095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3096 *) ac_try_echo
=$ac_try;;
3098 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3099 $as_echo "$ac_try_echo"; } >&5
3100 (eval "$ac_link_default") 2>&5
3102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3103 test $ac_status = 0; }; then :
3104 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3105 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3106 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3107 # so that the user can short-circuit this test for compilers unknown to
3109 for ac_file
in $ac_files ''
3111 test -f "$ac_file" || continue
3113 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3116 # We found the default executable, but exeext='' is most
3120 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3122 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3124 # We set ac_cv_exeext here because the later test for it is not
3125 # safe: cross compilers may not add the suffix if given an `-o'
3126 # argument, so we may need to know it at that point already.
3127 # Even if this section looks crufty: it has the advantage of
3134 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3139 if test -z "$ac_file"; then :
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3141 $as_echo "no" >&6; }
3142 $as_echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.
$ac_ext >&5
3145 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147 { as_fn_set_status
77
3148 as_fn_error
"C compiler cannot create executables
3149 See \`config.log' for more details." "$LINENO" 5; }; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3152 $as_echo "yes" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3155 $as_echo_n "checking for C compiler default output file name... " >&6; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3157 $as_echo "$ac_file" >&6; }
3158 ac_exeext
=$ac_cv_exeext
3160 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3161 ac_clean_files
=$ac_clean_files_save
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3163 $as_echo_n "checking for suffix of executables... " >&6; }
3164 if { { ac_try
="$ac_link"
3166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3170 $as_echo "$ac_try_echo"; } >&5
3171 (eval "$ac_link") 2>&5
3173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3174 test $ac_status = 0; }; then :
3175 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3176 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3177 # work properly (i.e., refer to `conftest.exe'), while it won't with
3179 for ac_file
in conftest.exe conftest conftest.
*; do
3180 test -f "$ac_file" || continue
3182 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3183 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3192 See \`config.log' for more details." "$LINENO" 5; }
3194 rm -f conftest conftest
$ac_cv_exeext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3196 $as_echo "$ac_cv_exeext" >&6; }
3198 rm -f conftest.
$ac_ext
3199 EXEEXT
=$ac_cv_exeext
3201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3207 FILE *f = fopen ("conftest.out", "w");
3208 return ferror (f) || fclose (f) != 0;
3214 ac_clean_files
="$ac_clean_files conftest.out"
3215 # Check that the compiler produces executables we can run. If not, either
3216 # the compiler is broken, or we cross compile.
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3218 $as_echo_n "checking whether we are cross compiling... " >&6; }
3219 if test "$cross_compiling" != yes; then
3220 { { ac_try
="$ac_link"
3222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_link") 2>&5
3229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3230 test $ac_status = 0; }
3231 if { ac_try='./conftest$ac_cv_exeext'
3232 { { case "(($ac_try" in
3233 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3234 *) ac_try_echo
=$ac_try;;
3236 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3237 $as_echo "$ac_try_echo"; } >&5
3238 (eval "$ac_try") 2>&5
3240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3241 test $ac_status = 0; }; }; then
3244 if test "$cross_compiling" = maybe
; then
3247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3249 as_fn_error
"cannot run C compiled programs.
3250 If you meant to cross compile, use \`--host'.
3251 See \`config.log' for more details." "$LINENO" 5; }
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3256 $as_echo "$cross_compiling" >&6; }
3258 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3259 ac_clean_files
=$ac_clean_files_save
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3261 $as_echo_n "checking for suffix of object files... " >&6; }
3262 if test "${ac_cv_objext+set}" = set; then :
3263 $as_echo_n "(cached) " >&6
3265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3276 rm -f conftest.o conftest.obj
3277 if { { ac_try
="$ac_compile"
3279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3280 *) ac_try_echo=$ac_try;;
3282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3283 $as_echo "$ac_try_echo"; } >&5
3284 (eval "$ac_compile") 2>&5
3286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3287 test $ac_status = 0; }; then :
3288 for ac_file in conftest.o conftest.obj conftest.*; do
3289 test -f "$ac_file" || continue;
3291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3292 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error "cannot compute suffix of object files
: cannot compile
3303 See \
`config.log' for more details." "$LINENO" 5; }
3305 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3308 $as_echo "$ac_cv_objext" >&6; }
3309 OBJEXT=$ac_cv_objext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3312 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3313 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3314 $as_echo_n "(cached) " >&6
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3340 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3341 if test $ac_compiler_gnu = yes; then
3346 ac_test_CFLAGS=${CFLAGS+set}
3347 ac_save_CFLAGS=$CFLAGS
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3349 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3350 if test "${ac_cv_prog_cc_g+set}" = set; then :
3351 $as_echo_n "(cached) " >&6
3353 ac_save_c_werror_flag=$ac_c_werror_flag
3354 ac_c_werror_flag=yes
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3368 if ac_fn_c_try_compile "$LINENO"; then :
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 if ac_fn_c_try_compile "$LINENO"; then :
3386 ac_c_werror_flag=$ac_save_c_werror_flag
3388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389 /* end confdefs.h. */
3399 if ac_fn_c_try_compile "$LINENO"; then :
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407 ac_c_werror_flag=$ac_save_c_werror_flag
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3410 $as_echo "$ac_cv_prog_cc_g" >&6; }
3411 if test "$ac_test_CFLAGS" = set; then
3412 CFLAGS=$ac_save_CFLAGS
3413 elif test $ac_cv_prog_cc_g = yes; then
3414 if test "$GCC" = yes; then
3420 if test "$GCC" = yes; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3427 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3428 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3429 $as_echo_n "(cached) " >&6
3431 ac_cv_prog_cc_c89=no
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h. */
3437 #include <sys/types.h>
3438 #include <sys/stat.h>
3439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3440 struct buf { int x; };
3441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3442 static char *e (p, i)
3448 static char *f (char * (*g) (char **, int), char **p, ...)
3453 s = g (p, va_arg (v,int));
3458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3459 function prototypes and stuff, but not '\xHH' hex character constants.
3460 These don't provoke an error unfortunately, instead are silently treated
3461 as 'x'. The following induces an error, until -std is added to get
3462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3463 array size at least. It's necessary to write '\x00'==0 to get something
3464 that's true only with -std. */
3465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3468 inside strings and character constants. */
3470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3472 int test (int i, double x);
3473 struct s1 {int (*f) (int a);};
3474 struct s2 {int (*f) (double a);};
3475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3481 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3487 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3489 CC="$ac_save_CC $ac_arg"
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491 ac_cv_prog_cc_c89=$ac_arg
3493 rm -f core conftest.err conftest.$ac_objext
3494 test "x$ac_cv_prog_cc_c89" != "xno" && break
3496 rm -f conftest.$ac_ext
3501 case "x$ac_cv_prog_cc_c89" in
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3504 $as_echo "none needed" >&6; } ;;
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3507 $as_echo "unsupported" >&6; } ;;
3509 CC="$CC $ac_cv_prog_cc_c89"
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3511 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3513 if test "x$ac_cv_prog_cc_c89" != xno; then :
3518 ac_cpp='$CPP $CPPFLAGS'
3519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3524 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3525 if test "${ac_cv_path_SED+set}" = set; then :
3526 $as_echo_n "(cached) " >&6
3528 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3529 for ac_i in 1 2 3 4 5 6 7; do
3530 ac_script="$ac_script$as_nl$ac_script"
3532 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3533 { ac_script=; unset ac_script;}
3534 if test -z "$SED"; then
3535 ac_path_SED_found=false
3536 # Loop through the user's path and test for each of PROGNAME-LIST
3537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir=.
3542 for ac_prog in sed gsed; do
3543 for ac_exec_ext in '' $ac_executable_extensions; do
3544 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3545 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3546 # Check for GNU ac_path_SED and select it if it is found.
3547 # Check for GNU $ac_path_SED
3548 case `"$ac_path_SED" --version 2>&1` in
3550 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3553 $as_echo_n 0123456789 >"conftest.in"
3556 cat "conftest.in" "conftest.in" >"conftest.tmp"
3557 mv "conftest.tmp" "conftest.in"
3558 cp "conftest.in" "conftest.nl"
3559 $as_echo '' >> "conftest.nl"
3560 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3561 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3562 as_fn_arith $ac_count + 1 && ac_count=$as_val
3563 if test $ac_count -gt ${ac_path_SED_max-0}; then
3564 # Best one so far, save it but keep looking for a better one
3565 ac_cv_path_SED="$ac_path_SED"
3566 ac_path_SED_max=$ac_count
3568 # 10*(2^10) chars as input seems more than enough
3569 test $ac_count -gt 10 && break
3571 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3574 $ac_path_SED_found && break 3
3579 if test -z "$ac_cv_path_SED"; then
3580 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3588 $as_echo "$ac_cv_path_SED" >&6; }
3589 SED="$ac_cv_path_SED"
3592 test -z "$SED" && SED=sed
3593 Xsed="$SED -e 1s/^X//"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3607 if test "${ac_cv_path_GREP+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -z "$GREP"; then
3611 ac_path_GREP_found=false
3612 # Loop through the user's path and test for each of PROGNAME-LIST
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3617 test -z "$as_dir" && as_dir=.
3618 for ac_prog in grep ggrep; do
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3621 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3622 # Check for GNU ac_path_GREP and select it if it is found.
3623 # Check for GNU $ac_path_GREP
3624 case `"$ac_path_GREP" --version 2>&1` in
3626 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3629 $as_echo_n 0123456789 >"conftest.in"
3632 cat "conftest.in" "conftest.in" >"conftest.tmp"
3633 mv "conftest.tmp" "conftest.in"
3634 cp "conftest.in" "conftest.nl"
3635 $as_echo 'GREP' >> "conftest.nl"
3636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3638 as_fn_arith $ac_count + 1 && ac_count=$as_val
3639 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3640 # Best one so far, save it but keep looking for a better one
3641 ac_cv_path_GREP="$ac_path_GREP"
3642 ac_path_GREP_max=$ac_count
3644 # 10*(2^10) chars as input seems more than enough
3645 test $ac_count -gt 10 && break
3647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3650 $ac_path_GREP_found && break 3
3655 if test -z "$ac_cv_path_GREP"; then
3656 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3659 ac_cv_path_GREP=$GREP
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3664 $as_echo "$ac_cv_path_GREP" >&6; }
3665 GREP="$ac_cv_path_GREP"
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3669 $as_echo_n "checking for egrep... " >&6; }
3670 if test "${ac_cv_path_EGREP+set}" = set; then :
3671 $as_echo_n "(cached) " >&6
3673 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3674 then ac_cv_path_EGREP="$GREP -E"
3676 if test -z "$EGREP"; then
3677 ac_path_EGREP_found=false
3678 # Loop through the user's path and test for each of PROGNAME-LIST
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3683 test -z "$as_dir" && as_dir=.
3684 for ac_prog in egrep; do
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3687 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3688 # Check for GNU ac_path_EGREP and select it if it is found.
3689 # Check for GNU $ac_path_EGREP
3690 case `"$ac_path_EGREP" --version 2>&1` in
3692 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3695 $as_echo_n 0123456789 >"conftest.in"
3698 cat "conftest.in" "conftest.in" >"conftest.tmp"
3699 mv "conftest.tmp" "conftest.in"
3700 cp "conftest.in" "conftest.nl"
3701 $as_echo 'EGREP' >> "conftest.nl"
3702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3703 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3704 as_fn_arith $ac_count + 1 && ac_count=$as_val
3705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3706 # Best one so far, save it but keep looking for a better one
3707 ac_cv_path_EGREP="$ac_path_EGREP"
3708 ac_path_EGREP_max=$ac_count
3710 # 10*(2^10) chars as input seems more than enough
3711 test $ac_count -gt 10 && break
3713 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3716 $ac_path_EGREP_found && break 3
3721 if test -z "$ac_cv_path_EGREP"; then
3722 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3725 ac_cv_path_EGREP=$EGREP
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3731 $as_echo "$ac_cv_path_EGREP" >&6; }
3732 EGREP="$ac_cv_path_EGREP"
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3736 $as_echo_n "checking for fgrep... " >&6; }
3737 if test "${ac_cv_path_FGREP+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3740 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3741 then ac_cv_path_FGREP="$GREP -F"
3743 if test -z "$FGREP"; then
3744 ac_path_FGREP_found=false
3745 # Loop through the user's path and test for each of PROGNAME-LIST
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3750 test -z "$as_dir" && as_dir=.
3751 for ac_prog in fgrep; do
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3754 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3755 # Check for GNU ac_path_FGREP and select it if it is found.
3756 # Check for GNU $ac_path_FGREP
3757 case `"$ac_path_FGREP" --version 2>&1` in
3759 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3762 $as_echo_n 0123456789 >"conftest.in"
3765 cat "conftest.in" "conftest.in" >"conftest.tmp"
3766 mv "conftest.tmp" "conftest.in"
3767 cp "conftest.in" "conftest.nl"
3768 $as_echo 'FGREP' >> "conftest.nl"
3769 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3771 as_fn_arith $ac_count + 1 && ac_count=$as_val
3772 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3773 # Best one so far, save it but keep looking for a better one
3774 ac_cv_path_FGREP="$ac_path_FGREP"
3775 ac_path_FGREP_max=$ac_count
3777 # 10*(2^10) chars as input seems more than enough
3778 test $ac_count -gt 10 && break
3780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3783 $ac_path_FGREP_found && break 3
3788 if test -z "$ac_cv_path_FGREP"; then
3789 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3792 ac_cv_path_FGREP=$FGREP
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3798 $as_echo "$ac_cv_path_FGREP" >&6; }
3799 FGREP="$ac_cv_path_FGREP"
3802 test -z "$GREP" && GREP=grep
3822 # Check whether --with-gnu-ld was given.
3823 if test "${with_gnu_ld+set}" = set; then :
3824 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3830 if test "$GCC" = yes; then
3831 # Check if gcc -print-prog-name=ld gives a path.
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3833 $as_echo_n "checking for ld used by $CC... " >&6; }
3836 # gcc leaves a trailing carriage return which upsets mingw
3837 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3839 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3842 # Accept absolute paths.
3844 re_direlt='/[^/][^/]*/\.\./'
3845 # Canonicalize the pathname of ld
3846 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3847 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3848 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3850 test -z "$LD" && LD="$ac_prog"
3853 # If it fails, then pretend we aren't using GCC.
3857 # If it is relative, then search for the first ld in PATH.
3861 elif test "$with_gnu_ld" = yes; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3863 $as_echo_n "checking for GNU ld... " >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3866 $as_echo_n "checking for non-GNU ld... " >&6; }
3868 if test "${lt_cv_path_LD+set}" = set; then :
3869 $as_echo_n "(cached) " >&6
3871 if test -z "$LD"; then
3872 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3873 for ac_dir in $PATH; do
3875 test -z "$ac_dir" && ac_dir=.
3876 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3877 lt_cv_path_LD="$ac_dir/$ac_prog"
3878 # Check to see if the program is GNU ld. I'd rather use --version,
3879 # but apparently some variants of GNU ld only accept -v.
3880 # Break only if it was the GNU/non-GNU ld that we prefer.
3881 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3882 *GNU* | *'with BFD'*)
3883 test "$with_gnu_ld" != no && break
3886 test "$with_gnu_ld" != yes && break
3893 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3898 if test -n "$LD"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3900 $as_echo "$LD" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3905 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3907 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3908 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3912 case `$LD -v 2>&1 </dev
/null
` in
3913 *GNU* | *'with BFD'*)
3914 lt_cv_prog_gnu_ld=yes
3917 lt_cv_prog_gnu_ld=no
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3922 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3923 with_gnu_ld=$lt_cv_prog_gnu_ld
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3934 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3935 if test "${lt_cv_path_NM+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$NM"; then
3939 # Let the user override the test.
3942 lt_nm_to_check="${ac_tool_prefix}nm"
3943 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3944 lt_nm_to_check="$lt_nm_to_check nm"
3946 for lt_tmp_nm in $lt_nm_to_check; do
3947 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3948 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3950 test -z "$ac_dir" && ac_dir=.
3951 tmp_nm="$ac_dir/$lt_tmp_nm"
3952 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3953 # Check to see if the nm accepts a BSD-compat flag.
3954 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3955 # nm: unknown option "B" ignored
3956 # Tru64's nm complains that
/dev
/null is an invalid object
file
3957 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3958 */dev
/null
* | *'Invalid file or object type'*)
3959 lt_cv_path_NM
="$tmp_nm -B"
3963 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3965 lt_cv_path_NM
="$tmp_nm -p"
3969 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3970 continue # so that we can try to find one that supports BSD flags
3979 : ${lt_cv_path_NM=no}
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3983 $as_echo "$lt_cv_path_NM" >&6; }
3984 if test "$lt_cv_path_NM" != "no"; then
3987 # Didn't find any BSD compatible name lister, look for dumpbin.
3988 if test -n "$ac_tool_prefix"; then
3989 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3994 $as_echo_n "checking for $ac_word... " >&6; }
3995 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 if test -n "$DUMPBIN"; then
3999 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_exec_ext
in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 DUMPBIN
=$ac_cv_prog_DUMPBIN
4019 if test -n "$DUMPBIN"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4021 $as_echo "$DUMPBIN" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4028 test -n "$DUMPBIN" && break
4031 if test -z "$DUMPBIN"; then
4032 ac_ct_DUMPBIN
=$DUMPBIN
4033 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4035 # Extract the first word of "$ac_prog", so it can be a program name with args.
4036 set dummy
$ac_prog; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$ac_ct_DUMPBIN"; then
4043 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4063 if test -n "$ac_ct_DUMPBIN"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4065 $as_echo "$ac_ct_DUMPBIN" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4072 test -n "$ac_ct_DUMPBIN" && break
4075 if test "x$ac_ct_DUMPBIN" = x
; then
4078 case $cross_compiling:$ac_tool_warned in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4082 ac_tool_warned
=yes ;;
4084 DUMPBIN
=$ac_ct_DUMPBIN
4089 if test "$DUMPBIN" != ":"; then
4093 test -z "$NM" && NM
=nm
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4101 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4102 if test "${lt_cv_nm_interface+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 lt_cv_nm_interface
="BSD nm"
4106 echo "int some_variable = 0;" > conftest.
$ac_ext
4107 (eval echo "\"\$as_me:4107: $ac_compile\"" >&5)
4108 (eval "$ac_compile" 2>conftest.err
)
4109 cat conftest.err
>&5
4110 (eval echo "\"\$as_me:4110: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4111 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4112 cat conftest.err
>&5
4113 (eval echo "\"\$as_me:4113: output\"" >&5)
4114 cat conftest.out
>&5
4115 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4116 lt_cv_nm_interface
="MS dumpbin"
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4121 $as_echo "$lt_cv_nm_interface" >&6; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4124 $as_echo_n "checking whether ln -s works... " >&6; }
4126 if test "$LN_S" = "ln -s"; then
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128 $as_echo "yes" >&6; }
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4131 $as_echo "no, using $LN_S" >&6; }
4134 # find the maximum length of command line arguments
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4136 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4137 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4138 $as_echo_n "(cached) " >&6
4145 # On DJGPP, this test can blow up pretty badly due to problems in libc
4146 # (any single argument exceeding 2000 bytes causes a buffer overrun
4147 # during glob expansion). Even if it were fixed, the result of this
4148 # check would be larger than it should be.
4149 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4153 # Under GNU Hurd, this test is not required because there is
4154 # no limit to the length of command line arguments.
4155 # Libtool will interpret -1 as no limit whatsoever
4156 lt_cv_sys_max_cmd_len
=-1;
4159 cygwin
* | mingw
* | cegcc
*)
4160 # On Win9x/ME, this test blows up -- it succeeds, but takes
4161 # about 5 minutes as the teststring grows exponentially.
4162 # Worse, since 9x/ME are not pre-emptively multitasking,
4163 # you end up with a "frozen" computer, even though with patience
4164 # the test eventually succeeds (with a max line length of 256k).
4165 # Instead, let's just punt: use the minimum linelength reported by
4166 # all of the supported platforms: 8192 (on NT/2K/XP).
4167 lt_cv_sys_max_cmd_len
=8192;
4171 # On AmigaOS with pdksh, this test takes hours, literally.
4172 # So we just punt and use a minimum line length of 8192.
4173 lt_cv_sys_max_cmd_len
=8192;
4176 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4177 # This has been around since 386BSD, at least. Likely further.
4178 if test -x /sbin
/sysctl
; then
4179 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4180 elif test -x /usr
/sbin
/sysctl
; then
4181 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4183 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4185 # And add a safety zone
4186 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4187 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4191 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4192 lt_cv_sys_max_cmd_len
=196608
4196 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4197 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4198 # nice to cause kernel panics so lets avoid the loop below.
4199 # First set a reasonable default.
4200 lt_cv_sys_max_cmd_len
=16384
4202 if test -x /sbin
/sysconfig
; then
4203 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4204 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4209 lt_cv_sys_max_cmd_len
=102400
4211 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4212 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4213 if test -n "$kargmax"; then
4214 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4216 lt_cv_sys_max_cmd_len
=32768
4220 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4221 if test -n "$lt_cv_sys_max_cmd_len"; then
4222 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4223 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4225 # Make teststring a little bigger before we do anything with it.
4226 # a 1K string should be a reasonable start.
4227 for i
in 1 2 3 4 5 6 7 8 ; do
4228 teststring
=$teststring$teststring
4230 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4231 # If test is not a shell built-in, we'll probably end up computing a
4232 # maximum length that is only half of the actual maximum length, but
4234 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4235 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4236 test $i != 17 # 1/2 MB should be enough
4239 teststring
=$teststring$teststring
4241 # Only check the string length outside the loop.
4242 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4244 # Add a significant safety factor because C++ compilers can tack on
4245 # massive amounts of additional arguments before passing them to the
4246 # linker. It appears as though 1/2 is a usable value.
4247 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4254 if test -n $lt_cv_sys_max_cmd_len ; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4256 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4259 $as_echo "none" >&6; }
4261 max_cmd_len
=$lt_cv_sys_max_cmd_len
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4273 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4274 # Try some XSI features
4277 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4279 && eval 'test $(( 1 + 1 )) -eq 2 \
4280 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4283 $as_echo "$xsi_shell" >&6; }
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4287 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4289 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4291 && lt_shell_append
=yes
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4293 $as_echo "$lt_shell_append" >&6; }
4296 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4306 # test EBCDIC or ASCII
4307 case `echo X|tr X '\101'` in
4308 A
) # ASCII based system
4309 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4310 lt_SP2NL
='tr \040 \012'
4311 lt_NL2SP
='tr \015\012 \040\040'
4313 *) # EBCDIC based system
4314 lt_SP2NL
='tr \100 \n'
4315 lt_NL2SP
='tr \r\n \100\100'
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4328 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4329 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4330 $as_echo_n "(cached) " >&6
4332 lt_cv_ld_reload_flag
='-r'
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4335 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4336 reload_flag
=$lt_cv_ld_reload_flag
4337 case $reload_flag in
4339 *) reload_flag
=" $reload_flag" ;;
4341 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4344 if test "$GCC" = yes; then
4345 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4347 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4360 if test -n "$ac_tool_prefix"; then
4361 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4362 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364 $as_echo_n "checking for $ac_word... " >&6; }
4365 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4368 if test -n "$OBJDUMP"; then
4369 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4375 test -z "$as_dir" && as_dir
=.
4376 for ac_exec_ext
in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 OBJDUMP
=$ac_cv_prog_OBJDUMP
4389 if test -n "$OBJDUMP"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4391 $as_echo "$OBJDUMP" >&6; }
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394 $as_echo "no" >&6; }
4399 if test -z "$ac_cv_prog_OBJDUMP"; then
4400 ac_ct_OBJDUMP
=$OBJDUMP
4401 # Extract the first word of "objdump", so it can be a program name with args.
4402 set dummy objdump
; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$ac_ct_OBJDUMP"; then
4409 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4429 if test -n "$ac_ct_OBJDUMP"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4431 $as_echo "$ac_ct_OBJDUMP" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4437 if test "x$ac_ct_OBJDUMP" = x
; then
4440 case $cross_compiling:$ac_tool_warned in
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4444 ac_tool_warned
=yes ;;
4446 OBJDUMP
=$ac_ct_OBJDUMP
4449 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4452 test -z "$OBJDUMP" && OBJDUMP
=objdump
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4463 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4464 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4465 $as_echo_n "(cached) " >&6
4467 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4468 lt_cv_file_magic_test_file
=
4469 lt_cv_deplibs_check_method
='unknown'
4470 # Need to set the preceding variable on all platforms that support
4471 # interlibrary dependencies.
4472 # 'none' -- dependencies not supported.
4473 # `unknown' -- same as none, but documents that we really don't know.
4474 # 'pass_all' -- all dependencies passed with no checks.
4475 # 'test_compile' -- check by making test program.
4476 # 'file_magic [[regex]]' -- check by looking for files in library path
4477 # which responds to the $file_magic_cmd with a given extended regex.
4478 # If you have `file' or equivalent on your system and you're not sure
4479 # whether `pass_all' will *always* work, you probably want this one.
4483 lt_cv_deplibs_check_method
=pass_all
4487 lt_cv_deplibs_check_method
=pass_all
4491 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4492 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4493 lt_cv_file_magic_test_file
=/shlib
/libc.so
4497 # func_win32_libid is a shell function defined in ltmain.sh
4498 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4499 lt_cv_file_magic_cmd
='func_win32_libid'
4503 # Base MSYS/MinGW do not provide the 'file' command needed by
4504 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4505 # unless we find 'file', for example because we are cross-compiling.
4506 if ( file / ) >/dev
/null
2>&1; then
4507 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4508 lt_cv_file_magic_cmd
='func_win32_libid'
4510 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4511 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4516 # use the weaker test based on 'objdump'. See mingw*.
4517 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4518 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4521 darwin
* | rhapsody
*)
4522 lt_cv_deplibs_check_method
=pass_all
4525 freebsd
* | dragonfly
*)
4526 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4529 # Not sure whether the presence of OpenBSD here was a mistake.
4530 # Let's accept both of them until this is cleared up.
4531 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4532 lt_cv_file_magic_cmd
=/usr
/bin
/file
4533 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4537 lt_cv_deplibs_check_method
=pass_all
4542 lt_cv_deplibs_check_method
=pass_all
4545 hpux10.20
* | hpux11
*)
4546 lt_cv_file_magic_cmd
=/usr
/bin
/file
4549 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4550 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4553 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]'
4554 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4557 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4558 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4564 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4565 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4568 irix5
* | irix6
* | nonstopux
*)
4570 *-32|*"-32 ") libmagic
=32-bit;;
4571 *-n32|*"-n32 ") libmagic
=N32
;;
4572 *-64|*"-64 ") libmagic
=64-bit;;
4573 *) libmagic
=never
-match;;
4575 lt_cv_deplibs_check_method
=pass_all
4578 # This must be Linux ELF.
4579 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4580 lt_cv_deplibs_check_method
=pass_all
4583 netbsd
* | netbsdelf
*-gnu)
4584 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4585 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4587 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4592 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4593 lt_cv_file_magic_cmd
=/usr
/bin
/file
4594 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4598 lt_cv_deplibs_check_method
=pass_all
4602 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4603 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4605 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4609 osf3
* | osf4
* | osf5
*)
4610 lt_cv_deplibs_check_method
=pass_all
4614 lt_cv_deplibs_check_method
=pass_all
4618 lt_cv_deplibs_check_method
=pass_all
4621 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4622 lt_cv_deplibs_check_method
=pass_all
4626 case $host_vendor in
4628 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]'
4629 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4632 lt_cv_deplibs_check_method
=pass_all
4635 lt_cv_file_magic_cmd
='/bin/file'
4636 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4639 lt_cv_file_magic_cmd
='/bin/file'
4640 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4641 lt_cv_file_magic_test_file
=/lib
/libc.so
4644 lt_cv_deplibs_check_method
=pass_all
4647 lt_cv_deplibs_check_method
=pass_all
4653 lt_cv_deplibs_check_method
=pass_all
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4659 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4660 file_magic_cmd
=$lt_cv_file_magic_cmd
4661 deplibs_check_method
=$lt_cv_deplibs_check_method
4662 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4675 if test -n "$ac_tool_prefix"; then
4676 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4677 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 $as_echo_n "checking for $ac_word... " >&6; }
4680 if test "${ac_cv_prog_AR+set}" = set; then :
4681 $as_echo_n "(cached) " >&6
4683 if test -n "$AR"; then
4684 ac_cv_prog_AR
="$AR" # Let the user override the test.
4686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4690 test -z "$as_dir" && as_dir
=.
4691 for ac_exec_ext
in '' $ac_executable_extensions; do
4692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704 if test -n "$AR"; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4706 $as_echo "$AR" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 $as_echo "no" >&6; }
4714 if test -z "$ac_cv_prog_AR"; then
4716 # Extract the first word of "ar", so it can be a program name with args.
4717 set dummy
ar; ac_word
=$2
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4720 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4721 $as_echo_n "(cached) " >&6
4723 if test -n "$ac_ct_AR"; then
4724 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 test -z "$as_dir" && as_dir
=.
4731 for ac_exec_ext
in '' $ac_executable_extensions; do
4732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733 ac_cv_prog_ac_ct_AR
="ar"
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4744 if test -n "$ac_ct_AR"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4746 $as_echo "$ac_ct_AR" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4752 if test "x$ac_ct_AR" = x
; then
4755 case $cross_compiling:$ac_tool_warned in
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759 ac_tool_warned
=yes ;;
4767 test -z "$AR" && AR
=ar
4768 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4780 if test -n "$ac_tool_prefix"; then
4781 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4782 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4784 $as_echo_n "checking for $ac_word... " >&6; }
4785 if test "${ac_cv_prog_STRIP+set}" = set; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -n "$STRIP"; then
4789 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4798 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 STRIP
=$ac_cv_prog_STRIP
4809 if test -n "$STRIP"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4811 $as_echo "$STRIP" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4819 if test -z "$ac_cv_prog_STRIP"; then
4821 # Extract the first word of "strip", so it can be a program name with args.
4822 set dummy strip
; ac_word
=$2
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4825 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4828 if test -n "$ac_ct_STRIP"; then
4829 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4835 test -z "$as_dir" && as_dir
=.
4836 for ac_exec_ext
in '' $ac_executable_extensions; do
4837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4838 ac_cv_prog_ac_ct_STRIP
="strip"
4839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4849 if test -n "$ac_ct_STRIP"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4851 $as_echo "$ac_ct_STRIP" >&6; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4857 if test "x$ac_ct_STRIP" = x
; then
4860 case $cross_compiling:$ac_tool_warned in
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4864 ac_tool_warned
=yes ;;
4869 STRIP
="$ac_cv_prog_STRIP"
4872 test -z "$STRIP" && STRIP
=:
4879 if test -n "$ac_tool_prefix"; then
4880 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4881 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4883 $as_echo_n "checking for $ac_word... " >&6; }
4884 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4885 $as_echo_n "(cached) " >&6
4887 if test -n "$RANLIB"; then
4888 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4894 test -z "$as_dir" && as_dir
=.
4895 for ac_exec_ext
in '' $ac_executable_extensions; do
4896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4897 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 RANLIB
=$ac_cv_prog_RANLIB
4908 if test -n "$RANLIB"; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4910 $as_echo "$RANLIB" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4918 if test -z "$ac_cv_prog_RANLIB"; then
4919 ac_ct_RANLIB
=$RANLIB
4920 # Extract the first word of "ranlib", so it can be a program name with args.
4921 set dummy ranlib
; ac_word
=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$ac_ct_RANLIB"; then
4928 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir
=.
4935 for ac_exec_ext
in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4948 if test -n "$ac_ct_RANLIB"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4950 $as_echo "$ac_ct_RANLIB" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4956 if test "x$ac_ct_RANLIB" = x
; then
4959 case $cross_compiling:$ac_tool_warned in
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4963 ac_tool_warned
=yes ;;
4965 RANLIB
=$ac_ct_RANLIB
4968 RANLIB
="$ac_cv_prog_RANLIB"
4971 test -z "$RANLIB" && RANLIB
=:
4978 # Determine commands to create old-style static archives.
4979 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4980 old_postinstall_cmds
='chmod 644 $oldlib'
4981 old_postuninstall_cmds
=
4983 if test -n "$RANLIB"; then
4986 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4989 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4992 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5028 # If no C compiler was specified, use CC.
5031 # If no C compiler flags were specified, use CFLAGS.
5032 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5034 # Allow CC to be a program name with arguments.
5038 # Check for command to grab the raw symbol name followed by C symbol from nm.
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5040 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5041 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5042 $as_echo_n "(cached) " >&6
5045 # These are sane defaults that work on at least a few old systems.
5046 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5048 # Character class describing NM global symbol codes.
5049 symcode
='[BCDEGRST]'
5051 # Regexp to match symbols that can be accessed directly from C.
5052 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5054 # Define system-specific variables.
5059 cygwin
* | mingw
* | pw32
* | cegcc
*)
5060 symcode
='[ABCDGISTW]'
5063 if test "$host_cpu" = ia64
; then
5064 symcode
='[ABCDEGRST]'
5068 symcode
='[BCDEGRST]'
5071 symcode
='[BCDEGQRST]'
5082 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5090 # If we're using GNU nm, then use its standard symbol codes.
5091 case `$NM -V 2>&1` in
5092 *GNU
* | *'with BFD'*)
5093 symcode
='[ABCDGIRSTW]' ;;
5096 # Transform an extracted symbol line into a proper C declaration.
5097 # Some systems (esp. on ia64) link data and code symbols differently,
5098 # so use this general approach.
5099 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5101 # Transform an extracted symbol line into symbol name and symbol address
5102 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5103 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'"
5105 # Handle CRLF in mingw tool chain
5109 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5113 # Try without a prefix underscore, then with it.
5114 for ac_symprfx
in "" "_"; do
5116 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5117 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5119 # Write the raw and C identifiers.
5120 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5121 # Fake it for dumpbin and say T for any non-static function
5122 # and D for any global variable.
5123 # Also find C++ and __fastcall symbols from MSVC++,
5124 # which start with @ or ?.
5125 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5126 " {last_section=section; section=\$ 3};"\
5127 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5128 " \$ 0!~/External *\|/{next};"\
5129 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5130 " {if(hide[section]) next};"\
5131 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5132 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5133 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5134 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5135 " ' prfx=^$ac_symprfx"
5137 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5140 # Check to see that the pipe works correctly.
5144 cat > conftest.
$ac_ext <<_LT_EOF
5149 void nm_test_func(void);
5150 void nm_test_func(void){}
5154 int main(){nm_test_var='a';nm_test_func();return(0);}
5157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5158 (eval $ac_compile) 2>&5
5160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 test $ac_status = 0; }; then
5162 # Now try to grab the symbols.
5164 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5165 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5168 test $ac_status = 0; } && test -s "$nlist"; then
5169 # Try sorting and uniquifying the output.
5170 if sort "$nlist" | uniq > "$nlist"T
; then
5171 mv -f "$nlist"T
"$nlist"
5176 # Make sure that we snagged all the symbols we need.
5177 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5178 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5179 cat <<_LT_EOF > conftest.$ac_ext
5185 # Now generate the symbol file.
5186 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5188 cat <<_LT_EOF >> conftest.$ac_ext
5190 /* The mapping between symbol names and symbols. */
5195 lt__PROGRAM__LTX_preloaded_symbols[] =
5197 { "@PROGRAM@", (void *) 0 },
5199 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5200 cat <<\_LT_EOF
>> conftest.
$ac_ext
5204 /* This works around a problem
in FreeBSD linker
*/
5205 #ifdef FREEBSD_WORKAROUND
5206 static const void
*lt_preloaded_setup
() {
5207 return lt__PROGRAM__LTX_preloaded_symbols
;
5215 # Now try linking the two files.
5216 mv conftest.
$ac_objext conftstm.
$ac_objext
5217 lt_save_LIBS
="$LIBS"
5218 lt_save_CFLAGS
="$CFLAGS"
5219 LIBS
="conftstm.$ac_objext"
5220 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5222 (eval $ac_link) 2>&5
5224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5225 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5228 LIBS
="$lt_save_LIBS"
5229 CFLAGS
="$lt_save_CFLAGS"
5231 echo "cannot find nm_test_func in $nlist" >&5
5234 echo "cannot find nm_test_var in $nlist" >&5
5237 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5240 echo "$progname: failed program was:" >&5
5241 cat conftest.
$ac_ext >&5
5243 rm -rf conftest
* conftst
*
5245 # Do not use the global_symbol_pipe unless it works.
5246 if test "$pipe_works" = yes; then
5249 lt_cv_sys_global_symbol_pipe
=
5255 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5256 lt_cv_sys_global_symbol_to_cdecl
=
5258 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5260 $as_echo "failed" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5263 $as_echo "ok" >&6; }
5288 # Check whether --enable-libtool-lock was given.
5289 if test "${enable_libtool_lock+set}" = set; then :
5290 enableval
=$enable_libtool_lock;
5293 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5295 # Some flags need to be propagated to the compiler or linker for good
5299 # Find out which ABI we are using.
5300 echo 'int i;' > conftest.
$ac_ext
5301 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5302 (eval $ac_compile) 2>&5
5304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5305 test $ac_status = 0; }; then
5306 case `/usr/bin/file conftest.$ac_objext` in
5318 # Find out which ABI we are using.
5319 echo '#line 5319 "configure"' > conftest.
$ac_ext
5320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5321 (eval $ac_compile) 2>&5
5323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }; then
5325 if test "$lt_cv_prog_gnu_ld" = yes; then
5326 case `/usr/bin/file conftest.$ac_objext` in
5328 LD
="${LD-ld} -melf32bsmip"
5331 LD
="${LD-ld} -melf32bmipn32"
5334 LD
="${LD-ld} -melf64bmip"
5338 case `/usr/bin/file conftest.$ac_objext` in
5354 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5355 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5356 # Find out which ABI we are using.
5357 echo 'int i;' > conftest.
$ac_ext
5358 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5359 (eval $ac_compile) 2>&5
5361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5362 test $ac_status = 0; }; then
5363 case `/usr/bin/file conftest.o` in
5366 x86_64
-*kfreebsd
*-gnu)
5367 LD
="${LD-ld} -m elf_i386_fbsd"
5370 LD
="${LD-ld} -m elf_i386"
5372 ppc64
-*linux
*|powerpc64
-*linux
*)
5373 LD
="${LD-ld} -m elf32ppclinux"
5376 LD
="${LD-ld} -m elf_s390"
5379 LD
="${LD-ld} -m elf32_sparc"
5385 x86_64
-*kfreebsd
*-gnu)
5386 LD
="${LD-ld} -m elf_x86_64_fbsd"
5389 LD
="${LD-ld} -m elf_x86_64"
5391 ppc
*-*linux
*|powerpc
*-*linux
*)
5392 LD
="${LD-ld} -m elf64ppc"
5394 s390
*-*linux
*|s390
*-*tpf
*)
5395 LD
="${LD-ld} -m elf64_s390"
5398 LD
="${LD-ld} -m elf64_sparc"
5408 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5409 SAVE_CFLAGS
="$CFLAGS"
5410 CFLAGS
="$CFLAGS -belf"
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5412 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5413 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5417 ac_cpp
='$CPP $CPPFLAGS'
5418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5433 if ac_fn_c_try_link
"$LINENO"; then :
5434 lt_cv_cc_needs_belf
=yes
5436 lt_cv_cc_needs_belf
=no
5438 rm -f core conftest.err conftest.
$ac_objext \
5439 conftest
$ac_exeext conftest.
$ac_ext
5441 ac_cpp
='$CPP $CPPFLAGS'
5442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5448 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5449 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5450 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5451 CFLAGS
="$SAVE_CFLAGS"
5455 # Find out which ABI we are using.
5456 echo 'int i;' > conftest.
$ac_ext
5457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5458 (eval $ac_compile) 2>&5
5460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5461 test $ac_status = 0; }; then
5462 case `/usr/bin/file conftest.o` in
5464 case $lt_cv_prog_gnu_ld in
5465 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5467 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5479 need_locks
="$enable_libtool_lock"
5483 rhapsody
* | darwin
*)
5484 if test -n "$ac_tool_prefix"; then
5485 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5486 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 if test -n "$DSYMUTIL"; then
5493 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5499 test -z "$as_dir" && as_dir
=.
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5513 if test -n "$DSYMUTIL"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5515 $as_echo "$DSYMUTIL" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5523 if test -z "$ac_cv_prog_DSYMUTIL"; then
5524 ac_ct_DSYMUTIL
=$DSYMUTIL
5525 # Extract the first word of "dsymutil", so it can be a program name with args.
5526 set dummy dsymutil
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$ac_ct_DSYMUTIL"; then
5533 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5553 if test -n "$ac_ct_DSYMUTIL"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5555 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5561 if test "x$ac_ct_DSYMUTIL" = x
; then
5564 case $cross_compiling:$ac_tool_warned in
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5568 ac_tool_warned
=yes ;;
5570 DSYMUTIL
=$ac_ct_DSYMUTIL
5573 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5576 if test -n "$ac_tool_prefix"; then
5577 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5578 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5580 $as_echo_n "checking for $ac_word... " >&6; }
5581 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5582 $as_echo_n "(cached) " >&6
5584 if test -n "$NMEDIT"; then
5585 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_exec_ext
in '' $ac_executable_extensions; do
5593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5594 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5604 NMEDIT
=$ac_cv_prog_NMEDIT
5605 if test -n "$NMEDIT"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5607 $as_echo "$NMEDIT" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5615 if test -z "$ac_cv_prog_NMEDIT"; then
5616 ac_ct_NMEDIT
=$NMEDIT
5617 # Extract the first word of "nmedit", so it can be a program name with args.
5618 set dummy nmedit
; ac_word
=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$ac_ct_NMEDIT"; then
5625 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5645 if test -n "$ac_ct_NMEDIT"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5647 $as_echo "$ac_ct_NMEDIT" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5653 if test "x$ac_ct_NMEDIT" = x
; then
5656 case $cross_compiling:$ac_tool_warned in
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5660 ac_tool_warned
=yes ;;
5662 NMEDIT
=$ac_ct_NMEDIT
5665 NMEDIT
="$ac_cv_prog_NMEDIT"
5668 if test -n "$ac_tool_prefix"; then
5669 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5670 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 $as_echo_n "checking for $ac_word... " >&6; }
5673 if test "${ac_cv_prog_LIPO+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5676 if test -n "$LIPO"; then
5677 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5683 test -z "$as_dir" && as_dir
=.
5684 for ac_exec_ext
in '' $ac_executable_extensions; do
5685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5686 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5696 LIPO
=$ac_cv_prog_LIPO
5697 if test -n "$LIPO"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5699 $as_echo "$LIPO" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 $as_echo "no" >&6; }
5707 if test -z "$ac_cv_prog_LIPO"; then
5709 # Extract the first word of "lipo", so it can be a program name with args.
5710 set dummy lipo
; ac_word
=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$ac_ct_LIPO"; then
5717 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726 ac_cv_prog_ac_ct_LIPO
="lipo"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5737 if test -n "$ac_ct_LIPO"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5739 $as_echo "$ac_ct_LIPO" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5745 if test "x$ac_ct_LIPO" = x
; then
5748 case $cross_compiling:$ac_tool_warned in
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned
=yes ;;
5757 LIPO
="$ac_cv_prog_LIPO"
5760 if test -n "$ac_tool_prefix"; then
5761 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5762 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5768 if test -n "$OTOOL"; then
5769 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5775 test -z "$as_dir" && as_dir
=.
5776 for ac_exec_ext
in '' $ac_executable_extensions; do
5777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 OTOOL
=$ac_cv_prog_OTOOL
5789 if test -n "$OTOOL"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5791 $as_echo "$OTOOL" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5799 if test -z "$ac_cv_prog_OTOOL"; then
5801 # Extract the first word of "otool", so it can be a program name with args.
5802 set dummy otool
; ac_word
=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -n "$ac_ct_OTOOL"; then
5809 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_ac_ct_OTOOL
="otool"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5829 if test -n "$ac_ct_OTOOL"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5831 $as_echo "$ac_ct_OTOOL" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5837 if test "x$ac_ct_OTOOL" = x
; then
5840 case $cross_compiling:$ac_tool_warned in
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844 ac_tool_warned
=yes ;;
5849 OTOOL
="$ac_cv_prog_OTOOL"
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5854 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5860 if test -n "$OTOOL64"; then
5861 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir
=.
5868 for ac_exec_ext
in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 OTOOL64
=$ac_cv_prog_OTOOL64
5881 if test -n "$OTOOL64"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5883 $as_echo "$OTOOL64" >&6; }
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5891 if test -z "$ac_cv_prog_OTOOL64"; then
5892 ac_ct_OTOOL64
=$OTOOL64
5893 # Extract the first word of "otool64", so it can be a program name with args.
5894 set dummy otool64
; ac_word
=$2
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5896 $as_echo_n "checking for $ac_word... " >&6; }
5897 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5898 $as_echo_n "(cached) " >&6
5900 if test -n "$ac_ct_OTOOL64"; then
5901 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5907 test -z "$as_dir" && as_dir
=.
5908 for ac_exec_ext
in '' $ac_executable_extensions; do
5909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5910 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5921 if test -n "$ac_ct_OTOOL64"; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5923 $as_echo "$ac_ct_OTOOL64" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5929 if test "x$ac_ct_OTOOL64" = x
; then
5932 case $cross_compiling:$ac_tool_warned in
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5936 ac_tool_warned
=yes ;;
5938 OTOOL64
=$ac_ct_OTOOL64
5941 OTOOL64
="$ac_cv_prog_OTOOL64"
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5971 $as_echo_n "checking for -single_module linker flag... " >&6; }
5972 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5975 lt_cv_apple_cc_single_mod
=no
5976 if test -z "${LT_MULTI_MODULE}"; then
5977 # By default we will add the -single_module flag. You can override
5978 # by either setting the environment variable LT_MULTI_MODULE
5979 # non-empty at configure time, or by adding -multi_module to the
5981 rm -rf libconftest.dylib
*
5982 echo "int foo(void){return 1;}" > conftest.c
5983 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5984 -dynamiclib -Wl,-single_module conftest.c" >&5
5985 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5986 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5988 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5989 lt_cv_apple_cc_single_mod
=yes
5991 cat conftest.err
>&5
5993 rm -rf libconftest.dylib
*
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5998 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6000 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6001 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6002 $as_echo_n "(cached) " >&6
6004 lt_cv_ld_exported_symbols_list
=no
6005 save_LDFLAGS
=$LDFLAGS
6006 echo "_main" > conftest.sym
6007 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6019 if ac_fn_c_try_link
"$LINENO"; then :
6020 lt_cv_ld_exported_symbols_list
=yes
6022 lt_cv_ld_exported_symbols_list
=no
6024 rm -f core conftest.err conftest.
$ac_objext \
6025 conftest
$ac_exeext conftest.
$ac_ext
6026 LDFLAGS
="$save_LDFLAGS"
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6030 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6032 rhapsody
* | darwin1.
[012])
6033 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6035 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6036 darwin
*) # darwin 5.x on
6037 # if running on 10.5 or later, the deployment target defaults
6038 # to the OS version, if on x86, and 10.4, the deployment
6039 # target defaults to 10.4. Don't you love it?
6040 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6041 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6042 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6044 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6046 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6050 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6051 _lt_dar_single_mod
='$single_module'
6053 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6054 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6056 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6058 if test "$DSYMUTIL" != ":"; then
6059 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6067 ac_cpp
='$CPP $CPPFLAGS'
6068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6072 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6073 # On Suns, sometimes $CPP names a directory.
6074 if test -n "$CPP" && test -d "$CPP"; then
6077 if test -z "$CPP"; then
6078 if test "${ac_cv_prog_CPP+set}" = set; then :
6079 $as_echo_n "(cached) " >&6
6081 # Double quotes because CPP needs to be expanded
6082 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6085 for ac_c_preproc_warn_flag
in '' yes
6087 # Use a header file that comes with gcc, so configuring glibc
6088 # with a fresh cross-compiler works.
6089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6090 # <limits.h> exists even on freestanding compilers.
6091 # On the NeXT, cc -E runs the code through the compiler's parser,
6092 # not just through cpp. "Syntax error" is here to catch this case.
6093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6094 /* end confdefs.h. */
6096 # include <limits.h>
6098 # include <assert.h>
6102 if ac_fn_c_try_cpp
"$LINENO"; then :
6105 # Broken: fails on valid input.
6108 rm -f conftest.err conftest.
$ac_ext
6110 # OK, works on sane cases. Now check whether nonexistent headers
6111 # can be detected and how.
6112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6113 /* end confdefs.h. */
6114 #include <ac_nonexistent.h>
6116 if ac_fn_c_try_cpp
"$LINENO"; then :
6117 # Broken: success on invalid input.
6120 # Passes both tests.
6124 rm -f conftest.err conftest.
$ac_ext
6127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6128 rm -f conftest.err conftest.
$ac_ext
6129 if $ac_preproc_ok; then :
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6142 $as_echo "$CPP" >&6; }
6144 for ac_c_preproc_warn_flag
in '' yes
6146 # Use a header file that comes with gcc, so configuring glibc
6147 # with a fresh cross-compiler works.
6148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6149 # <limits.h> exists even on freestanding compilers.
6150 # On the NeXT, cc -E runs the code through the compiler's parser,
6151 # not just through cpp. "Syntax error" is here to catch this case.
6152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6153 /* end confdefs.h. */
6155 # include <limits.h>
6157 # include <assert.h>
6161 if ac_fn_c_try_cpp
"$LINENO"; then :
6164 # Broken: fails on valid input.
6167 rm -f conftest.err conftest.
$ac_ext
6169 # OK, works on sane cases. Now check whether nonexistent headers
6170 # can be detected and how.
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6173 #include <ac_nonexistent.h>
6175 if ac_fn_c_try_cpp
"$LINENO"; then :
6176 # Broken: success on invalid input.
6179 # Passes both tests.
6183 rm -f conftest.err conftest.
$ac_ext
6186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6187 rm -f conftest.err conftest.
$ac_ext
6188 if $ac_preproc_ok; then :
6191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6193 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6194 See \`config.log' for more details." "$LINENO" 5; }
6198 ac_cpp
='$CPP $CPPFLAGS'
6199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6205 $as_echo_n "checking for ANSI C header files... " >&6; }
6206 if test "${ac_cv_header_stdc+set}" = set; then :
6207 $as_echo_n "(cached) " >&6
6209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6224 if ac_fn_c_try_compile
"$LINENO"; then :
6225 ac_cv_header_stdc
=yes
6227 ac_cv_header_stdc
=no
6229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6231 if test $ac_cv_header_stdc = yes; then
6232 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6234 /* end confdefs.h. */
6238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6239 $EGREP "memchr" >/dev
/null
2>&1; then :
6242 ac_cv_header_stdc
=no
6248 if test $ac_cv_header_stdc = yes; then
6249 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256 $EGREP "free" >/dev
/null
2>&1; then :
6259 ac_cv_header_stdc
=no
6265 if test $ac_cv_header_stdc = yes; then
6266 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6267 if test "$cross_compiling" = yes; then :
6270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6271 /* end confdefs.h. */
6274 #if ((' ' & 0x0FF) == 0x020)
6275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6278 # define ISLOWER(c) \
6279 (('a' <= (c) && (c) <= 'i') \
6280 || ('j' <= (c) && (c) <= 'r') \
6281 || ('s' <= (c) && (c) <= 'z'))
6282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6290 for (i = 0; i < 256; i++)
6291 if (XOR (islower (i), ISLOWER (i))
6292 || toupper (i) != TOUPPER (i))
6297 if ac_fn_c_try_run
"$LINENO"; then :
6300 ac_cv_header_stdc
=no
6302 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6303 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6309 $as_echo "$ac_cv_header_stdc" >&6; }
6310 if test $ac_cv_header_stdc = yes; then
6312 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6316 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6317 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6318 inttypes.h stdint.h unistd.h
6320 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6321 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6323 eval as_val
=\$
$as_ac_Header
6324 if test "x$as_val" = x
""yes; then :
6325 cat >>confdefs.h
<<_ACEOF
6326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6334 for ac_header
in dlfcn.h
6336 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6338 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6339 cat >>confdefs.h
<<_ACEOF
6340 #define HAVE_DLFCN_H 1
6350 # Check whether --enable-static was given.
6351 if test "${enable_static+set}" = set; then :
6352 enableval
=$enable_static; p
=${PACKAGE-default}
6354 yes) enable_static
=yes ;;
6355 no
) enable_static
=no
;;
6358 # Look at the argument we got. We use all the common list separators.
6359 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6360 for pkg
in $enableval; do
6362 if test "X$pkg" = "X$p"; then
6388 # Check whether --enable-shared was given.
6389 if test "${enable_shared+set}" = set; then :
6390 enableval
=$enable_shared; p
=${PACKAGE-default}
6392 yes) enable_shared
=yes ;;
6393 no
) enable_shared
=no
;;
6396 # Look at the argument we got. We use all the common list separators.
6397 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6398 for pkg
in $enableval; do
6400 if test "X$pkg" = "X$p"; then
6421 # Check whether --with-pic was given.
6422 if test "${with_pic+set}" = set; then :
6423 withval
=$with_pic; pic_mode
="$withval"
6429 test -z "$pic_mode" && pic_mode
=default
6437 # Check whether --enable-fast-install was given.
6438 if test "${enable_fast_install+set}" = set; then :
6439 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6441 yes) enable_fast_install
=yes ;;
6442 no
) enable_fast_install
=no
;;
6444 enable_fast_install
=no
6445 # Look at the argument we got. We use all the common list separators.
6446 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6447 for pkg
in $enableval; do
6449 if test "X$pkg" = "X$p"; then
6450 enable_fast_install
=yes
6457 enable_fast_install
=yes
6470 # This can be used to rebuild libtool when needed
6471 LIBTOOL_DEPS
="$ltmain"
6473 # Always use our own libtool.
6474 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6500 test -z "$LN_S" && LN_S
="ln -s"
6515 if test -n "${ZSH_VERSION+set}" ; then
6516 setopt NO_GLOB_SUBST
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6520 $as_echo_n "checking for objdir... " >&6; }
6521 if test "${lt_cv_objdir+set}" = set; then :
6522 $as_echo_n "(cached) " >&6
6524 rm -f .libs
2>/dev
/null
6525 mkdir .libs
2>/dev
/null
6526 if test -d .libs
; then
6529 # MS-DOS does not allow filenames that begin with a dot.
6532 rmdir .libs
2>/dev
/null
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6535 $as_echo "$lt_cv_objdir" >&6; }
6536 objdir
=$lt_cv_objdir
6542 cat >>confdefs.h
<<_ACEOF
6543 #define LT_OBJDIR "$lt_cv_objdir/"
6564 # AIX sometimes has problems with the GCC collect2 program. For some
6565 # reason, if we set the COLLECT_NAMES environment variable, the problems
6566 # vanish in a puff of smoke.
6567 if test "X${COLLECT_NAMES+set}" != Xset
; then
6569 export COLLECT_NAMES
6574 # Sed substitution that helps us do robust quoting. It backslashifies
6575 # metacharacters that are still active within double-quoted strings.
6576 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6578 # Same as above, but do not quote variable references.
6579 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6581 # Sed substitution to delay expansion of an escaped shell variable in a
6582 # double_quote_subst'ed string.
6583 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6585 # Sed substitution to delay expansion of an escaped single quote.
6586 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6588 # Sed substitution to avoid accidental globbing in evaled expressions
6589 no_glob_subst
='s/\*/\\\*/g'
6593 can_build_shared
=yes
6595 # All known linkers require a `.a' archive for static linking (except MSVC,
6596 # which needs '.lib').
6599 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6602 old_CFLAGS
="$CFLAGS"
6604 # Set sane defaults for various variables
6605 test -z "$CC" && CC
=cc
6606 test -z "$LTCC" && LTCC
=$CC
6607 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6608 test -z "$LD" && LD
=ld
6609 test -z "$ac_objext" && ac_objext
=o
6611 for cc_temp
in $compiler""; do
6613 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6614 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6619 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6622 # Only perform the check for file, if the check method requires it
6623 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6624 case $deplibs_check_method in
6626 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6628 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6629 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6630 $as_echo_n "(cached) " >&6
6634 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6637 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6638 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6639 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6640 for ac_dir
in $ac_dummy; do
6642 test -z "$ac_dir" && ac_dir
=.
6643 if test -f $ac_dir/${ac_tool_prefix}file; then
6644 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6645 if test -n "$file_magic_test_file"; then
6646 case $deplibs_check_method in
6648 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6649 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6650 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6651 $EGREP "$file_magic_regex" > /dev
/null
; then
6656 *** Warning: the command libtool uses to detect shared libraries,
6657 *** $file_magic_cmd, produces output that libtool cannot recognize.
6658 *** The result is that libtool may fail to recognize shared libraries
6659 *** as such. This will affect the creation of libtool libraries that
6660 *** depend on shared libraries, but programs linked with such libtool
6661 *** libraries will work regardless of this problem. Nevertheless, you
6662 *** may want to report the problem to your system manager and/or to
6663 *** bug-libtool@gnu.org
6673 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6678 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6679 if test -n "$MAGIC_CMD"; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6681 $as_echo "$MAGIC_CMD" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6691 if test -z "$lt_cv_path_MAGIC_CMD"; then
6692 if test -n "$ac_tool_prefix"; then
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6694 $as_echo_n "checking for file... " >&6; }
6695 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6696 $as_echo_n "(cached) " >&6
6700 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6703 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6704 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6705 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6706 for ac_dir
in $ac_dummy; do
6708 test -z "$ac_dir" && ac_dir
=.
6709 if test -f $ac_dir/file; then
6710 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6711 if test -n "$file_magic_test_file"; then
6712 case $deplibs_check_method in
6714 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6715 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6716 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6717 $EGREP "$file_magic_regex" > /dev
/null
; then
6722 *** Warning: the command libtool uses to detect shared libraries,
6723 *** $file_magic_cmd, produces output that libtool cannot recognize.
6724 *** The result is that libtool may fail to recognize shared libraries
6725 *** as such. This will affect the creation of libtool libraries that
6726 *** depend on shared libraries, but programs linked with such libtool
6727 *** libraries will work regardless of this problem. Nevertheless, you
6728 *** may want to report the problem to your system manager and/or to
6729 *** bug-libtool@gnu.org
6739 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6744 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6745 if test -n "$MAGIC_CMD"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6747 $as_echo "$MAGIC_CMD" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6763 # Use C for the default configuration in the libtool script
6767 ac_cpp
='$CPP $CPPFLAGS'
6768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6773 # Source file extension for C test sources.
6776 # Object file extension for compiled C test sources.
6780 # Code to be used in simple compile tests
6781 lt_simple_compile_test_code
="int some_variable = 0;"
6783 # Code to be used in simple link tests
6784 lt_simple_link_test_code
='int main(){return(0);}'
6792 # If no C compiler was specified, use CC.
6795 # If no C compiler flags were specified, use CFLAGS.
6796 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6798 # Allow CC to be a program name with arguments.
6801 # Save the default compiler, since it gets overwritten when the other
6802 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6803 compiler_DEFAULT
=$CC
6805 # save warnings/boilerplate of simple test code
6806 ac_outfile
=conftest.
$ac_objext
6807 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6808 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6809 _lt_compiler_boilerplate
=`cat conftest.err`
6812 ac_outfile
=conftest.
$ac_objext
6813 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6814 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6815 _lt_linker_boilerplate
=`cat conftest.err`
6819 if test -n "$compiler"; then
6821 lt_prog_compiler_no_builtin_flag
=
6823 if test "$GCC" = yes; then
6824 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6827 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6828 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6829 $as_echo_n "(cached) " >&6
6831 lt_cv_prog_compiler_rtti_exceptions
=no
6832 ac_outfile
=conftest.
$ac_objext
6833 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6834 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6835 # Insert the option either (1) after the last *FLAGS variable, or
6836 # (2) before a word containing "conftest.", or (3) at the end.
6837 # Note that $ac_compile itself does not contain backslashes and begins
6838 # with a dollar sign (not a hyphen), so the echo should work correctly.
6839 # The option is referenced via a variable to avoid confusing sed.
6840 lt_compile
=`echo "$ac_compile" | $SED \
6841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6843 -e 's:$: $lt_compiler_flag:'`
6844 (eval echo "\"\$as_me:6844: $lt_compile\"" >&5)
6845 (eval "$lt_compile" 2>conftest.err
)
6847 cat conftest.err
>&5
6848 echo "$as_me:6848: \$? = $ac_status" >&5
6849 if (exit $ac_status) && test -s "$ac_outfile"; then
6850 # The compiler can only warn and ignore the option if not recognized
6851 # So say no if there are warnings other than the usual output.
6852 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6853 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6854 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6855 lt_cv_prog_compiler_rtti_exceptions
=yes
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6862 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6864 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6865 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6877 lt_prog_compiler_wl
=
6878 lt_prog_compiler_pic
=
6879 lt_prog_compiler_static
=
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6882 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6884 if test "$GCC" = yes; then
6885 lt_prog_compiler_wl
='-Wl,'
6886 lt_prog_compiler_static
='-static'
6890 # All AIX code is PIC.
6891 if test "$host_cpu" = ia64
; then
6892 # AIX 5 now supports IA64 processor
6893 lt_prog_compiler_static
='-Bstatic'
6900 # see comment about AmigaOS4 .so support
6901 lt_prog_compiler_pic
='-fPIC'
6904 # FIXME: we need at least 68020 code to build shared libraries, but
6905 # adding the `-m68020' flag to GCC prevents building anything better,
6907 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6912 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6913 # PIC is the default for these OSes.
6916 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6917 # This hack is so that the source file can tell whether it is being
6918 # built for inclusion in a dll (and should export symbols for example).
6919 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6920 # (--disable-auto-import) libraries
6921 lt_prog_compiler_pic
='-DDLL_EXPORT'
6924 darwin
* | rhapsody
*)
6925 # PIC is the default on this platform
6926 # Common symbols not allowed in MH_DYLIB files
6927 lt_prog_compiler_pic
='-fno-common'
6931 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6932 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6933 # sets the default TLS model and affects inlining.
6939 lt_prog_compiler_pic
='-fPIC'
6945 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6946 # Instead, we relocate shared libraries at runtime.
6950 # Just because we use GCC doesn't mean we suddenly get shared libraries
6951 # on systems that don't support them.
6952 lt_prog_compiler_can_build_shared
=no
6957 # QNX uses GNU C++, but need to define -shared option too, otherwise
6959 lt_prog_compiler_pic
='-fPIC -shared'
6963 if test -d /usr
/nec
; then
6964 lt_prog_compiler_pic
=-Kconform_pic
6969 lt_prog_compiler_pic
='-fPIC'
6973 # PORTME Check for flag to pass linker flags through the system compiler.
6976 lt_prog_compiler_wl
='-Wl,'
6977 if test "$host_cpu" = ia64
; then
6978 # AIX 5 now supports IA64 processor
6979 lt_prog_compiler_static
='-Bstatic'
6981 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6985 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6986 # This hack is so that the source file can tell whether it is being
6987 # built for inclusion in a dll (and should export symbols for example).
6988 lt_prog_compiler_pic
='-DDLL_EXPORT'
6991 hpux9
* | hpux10
* | hpux11
*)
6992 lt_prog_compiler_wl
='-Wl,'
6993 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7000 lt_prog_compiler_pic
='+Z'
7003 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7004 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7007 irix5
* | irix6
* | nonstopux
*)
7008 lt_prog_compiler_wl
='-Wl,'
7009 # PIC (with -KPIC) is the default.
7010 lt_prog_compiler_static
='-non_shared'
7013 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7014 case $cc_basename in
7015 # old Intel for x86_64 which still supported -KPIC.
7017 lt_prog_compiler_wl
='-Wl,'
7018 lt_prog_compiler_pic
='-KPIC'
7019 lt_prog_compiler_static
='-static'
7021 # icc used to be incompatible with GCC.
7022 # ICC 10 doesn't accept -KPIC any more.
7024 lt_prog_compiler_wl
='-Wl,'
7025 lt_prog_compiler_pic
='-fPIC'
7026 lt_prog_compiler_static
='-static'
7028 # Lahey Fortran 8.1.
7030 lt_prog_compiler_wl
='-Wl,'
7031 lt_prog_compiler_pic
='--shared'
7032 lt_prog_compiler_static
='--static'
7034 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7035 # Portland Group compilers (*not* the Pentium gcc compiler,
7036 # which looks to be a dead project)
7037 lt_prog_compiler_wl
='-Wl,'
7038 lt_prog_compiler_pic
='-fpic'
7039 lt_prog_compiler_static
='-Bstatic'
7042 lt_prog_compiler_wl
='-Wl,'
7043 # All Alpha code is PIC.
7044 lt_prog_compiler_static
='-non_shared'
7047 # IBM XL C 8.0/Fortran 10.1 on PPC
7048 lt_prog_compiler_wl
='-Wl,'
7049 lt_prog_compiler_pic
='-qpic'
7050 lt_prog_compiler_static
='-qstaticlink'
7053 case `$CC -V 2>&1 | sed 5q` in
7056 lt_prog_compiler_pic
='-KPIC'
7057 lt_prog_compiler_static
='-Bstatic'
7058 lt_prog_compiler_wl
='-Wl,'
7061 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7062 lt_prog_compiler_pic
='-KPIC'
7063 lt_prog_compiler_static
='-Bstatic'
7064 lt_prog_compiler_wl
=''
7072 lt_prog_compiler_pic
='-KPIC'
7073 lt_prog_compiler_static
='-Bstatic'
7077 # QNX uses GNU C++, but need to define -shared option too, otherwise
7079 lt_prog_compiler_pic
='-fPIC -shared'
7082 osf3
* | osf4
* | osf5
*)
7083 lt_prog_compiler_wl
='-Wl,'
7084 # All OSF/1 code is PIC.
7085 lt_prog_compiler_static
='-non_shared'
7089 lt_prog_compiler_static
='-non_shared'
7093 lt_prog_compiler_pic
='-KPIC'
7094 lt_prog_compiler_static
='-Bstatic'
7095 case $cc_basename in
7097 lt_prog_compiler_wl
='-Qoption ld ';;
7099 lt_prog_compiler_wl
='-Wl,';;
7104 lt_prog_compiler_wl
='-Qoption ld '
7105 lt_prog_compiler_pic
='-PIC'
7106 lt_prog_compiler_static
='-Bstatic'
7109 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7110 lt_prog_compiler_wl
='-Wl,'
7111 lt_prog_compiler_pic
='-KPIC'
7112 lt_prog_compiler_static
='-Bstatic'
7116 if test -d /usr
/nec
;then
7117 lt_prog_compiler_pic
='-Kconform_pic'
7118 lt_prog_compiler_static
='-Bstatic'
7122 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7123 lt_prog_compiler_wl
='-Wl,'
7124 lt_prog_compiler_pic
='-KPIC'
7125 lt_prog_compiler_static
='-Bstatic'
7129 lt_prog_compiler_wl
='-Wl,'
7130 lt_prog_compiler_can_build_shared
=no
7134 lt_prog_compiler_pic
='-pic'
7135 lt_prog_compiler_static
='-Bstatic'
7139 lt_prog_compiler_can_build_shared
=no
7145 # For platforms which do not support PIC, -DPIC is meaningless:
7147 lt_prog_compiler_pic
=
7150 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7154 $as_echo "$lt_prog_compiler_pic" >&6; }
7162 # Check to make sure the PIC flag actually works.
7164 if test -n "$lt_prog_compiler_pic"; then
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7166 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7167 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7168 $as_echo_n "(cached) " >&6
7170 lt_cv_prog_compiler_pic_works
=no
7171 ac_outfile
=conftest.
$ac_objext
7172 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7173 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7174 # Insert the option either (1) after the last *FLAGS variable, or
7175 # (2) before a word containing "conftest.", or (3) at the end.
7176 # Note that $ac_compile itself does not contain backslashes and begins
7177 # with a dollar sign (not a hyphen), so the echo should work correctly.
7178 # The option is referenced via a variable to avoid confusing sed.
7179 lt_compile
=`echo "$ac_compile" | $SED \
7180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7182 -e 's:$: $lt_compiler_flag:'`
7183 (eval echo "\"\$as_me:7183: $lt_compile\"" >&5)
7184 (eval "$lt_compile" 2>conftest.err
)
7186 cat conftest.err
>&5
7187 echo "$as_me:7187: \$? = $ac_status" >&5
7188 if (exit $ac_status) && test -s "$ac_outfile"; then
7189 # The compiler can only warn and ignore the option if not recognized
7190 # So say no if there are warnings other than the usual output.
7191 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7193 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7194 lt_cv_prog_compiler_pic_works
=yes
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7201 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7203 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7204 case $lt_prog_compiler_pic in
7206 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7209 lt_prog_compiler_pic
=
7210 lt_prog_compiler_can_build_shared
=no
7221 # Check to make sure the static flag actually works.
7223 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7225 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7226 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7227 $as_echo_n "(cached) " >&6
7229 lt_cv_prog_compiler_static_works
=no
7230 save_LDFLAGS
="$LDFLAGS"
7231 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7232 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7233 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7234 # The linker can only warn and ignore the option if not recognized
7235 # So say no if there are warnings
7236 if test -s conftest.err
; then
7237 # Append any errors to the config.log.
7238 cat conftest.err
1>&5
7239 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7240 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7241 if diff conftest.exp conftest.er2
>/dev
/null
; then
7242 lt_cv_prog_compiler_static_works
=yes
7245 lt_cv_prog_compiler_static_works
=yes
7249 LDFLAGS
="$save_LDFLAGS"
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7253 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7255 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7258 lt_prog_compiler_static
=
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7268 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7269 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7270 $as_echo_n "(cached) " >&6
7272 lt_cv_prog_compiler_c_o
=no
7273 $RM -r conftest
2>/dev
/null
7277 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7279 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7280 # Insert the option either (1) after the last *FLAGS variable, or
7281 # (2) before a word containing "conftest.", or (3) at the end.
7282 # Note that $ac_compile itself does not contain backslashes and begins
7283 # with a dollar sign (not a hyphen), so the echo should work correctly.
7284 lt_compile
=`echo "$ac_compile" | $SED \
7285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7287 -e 's:$: $lt_compiler_flag:'`
7288 (eval echo "\"\$as_me:7288: $lt_compile\"" >&5)
7289 (eval "$lt_compile" 2>out
/conftest.err
)
7291 cat out
/conftest.err
>&5
7292 echo "$as_me:7292: \$? = $ac_status" >&5
7293 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7295 # The compiler can only warn and ignore the option if not recognized
7296 # So say no if there are warnings
7297 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7298 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7299 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7300 lt_cv_prog_compiler_c_o
=yes
7305 # SGI C++ compiler will create directory out/ii_files/ for
7306 # template instantiation
7307 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7308 $RM out
/* && rmdir out
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7315 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7323 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7324 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7327 lt_cv_prog_compiler_c_o
=no
7328 $RM -r conftest
2>/dev
/null
7332 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7334 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7335 # Insert the option either (1) after the last *FLAGS variable, or
7336 # (2) before a word containing "conftest.", or (3) at the end.
7337 # Note that $ac_compile itself does not contain backslashes and begins
7338 # with a dollar sign (not a hyphen), so the echo should work correctly.
7339 lt_compile
=`echo "$ac_compile" | $SED \
7340 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7341 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7342 -e 's:$: $lt_compiler_flag:'`
7343 (eval echo "\"\$as_me:7343: $lt_compile\"" >&5)
7344 (eval "$lt_compile" 2>out
/conftest.err
)
7346 cat out
/conftest.err
>&5
7347 echo "$as_me:7347: \$? = $ac_status" >&5
7348 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7350 # The compiler can only warn and ignore the option if not recognized
7351 # So say no if there are warnings
7352 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7353 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7354 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7355 lt_cv_prog_compiler_c_o
=yes
7360 # SGI C++ compiler will create directory out/ii_files/ for
7361 # template instantiation
7362 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7363 $RM out
/* && rmdir out
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7370 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7375 hard_links
="nottested"
7376 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7377 # do not overwrite the value of need_locks provided by the user
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7379 $as_echo_n "checking if we can lock with hard links... " >&6; }
7382 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7384 ln conftest.a conftest.b
2>&5 || hard_links
=no
7385 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7387 $as_echo "$hard_links" >&6; }
7388 if test "$hard_links" = no
; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7390 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7403 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7406 allow_undefined_flag
=
7407 always_export_symbols
=no
7409 archive_expsym_cmds
=
7410 compiler_needs_object
=no
7411 enable_shared_with_static_runtimes
=no
7412 export_dynamic_flag_spec
=
7413 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7414 hardcode_automatic
=no
7416 hardcode_direct_absolute
=no
7417 hardcode_libdir_flag_spec
=
7418 hardcode_libdir_flag_spec_ld
=
7419 hardcode_libdir_separator
=
7421 hardcode_shlibpath_var
=unsupported
7423 link_all_deplibs
=unknown
7426 old_archive_from_new_cmds
=
7427 old_archive_from_expsyms_cmds
=
7428 thread_safe_flag_spec
=
7429 whole_archive_flag_spec
=
7430 # include_expsyms should be a list of space-separated symbols to be *always*
7431 # included in the symbol list
7433 # exclude_expsyms can be an extended regexp of symbols to exclude
7434 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7435 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7436 # as well as any symbol that contains `d'.
7437 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7438 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7439 # platforms (ab)use it in PIC code, but their linkers get confused if
7440 # the symbol is explicitly referenced. Since portable code cannot
7441 # rely on this symbol name, it's probably fine to never include it in
7442 # preloaded symbol tables.
7443 # Exclude shared library initialization/finalization symbols.
7444 extract_expsyms_cmds
=
7447 cygwin
* | mingw
* | pw32
* | cegcc
*)
7448 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7449 # When not using gcc, we currently assume that we are using
7450 # Microsoft Visual C++.
7451 if test "$GCC" != yes; then
7456 # we just hope/assume this is gcc and not c89 (= MSVC++)
7462 linux
* | k
*bsd
*-gnu)
7468 if test "$with_gnu_ld" = yes; then
7469 # If archive_cmds runs LD, not CC, wlarc should be empty
7472 # Set some defaults for GNU ld with shared library support. These
7473 # are reset later if shared libraries are not supported. Putting them
7474 # here allows them to be overridden if necessary.
7475 runpath_var
=LD_RUN_PATH
7476 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7477 export_dynamic_flag_spec
='${wl}--export-dynamic'
7478 # ancient GNU ld didn't support --whole-archive et. al.
7479 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7480 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7482 whole_archive_flag_spec
=
7484 supports_anon_versioning
=no
7485 case `$LD -v 2>&1` in
7486 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7487 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7488 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7489 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7490 *\
2.11.
*) ;; # other 2.11 versions
7491 *) supports_anon_versioning
=yes ;;
7494 # See if GNU ld supports shared libraries.
7497 # On AIX/PPC, the GNU linker is very broken
7498 if test "$host_cpu" != ia64
; then
7502 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7503 *** to be unable to reliably create shared libraries on AIX.
7504 *** Therefore, libtool is disabling shared libraries support. If you
7505 *** really care for shared libraries, you may want to modify your PATH
7506 *** so that a non-GNU linker is found, and then restart.
7515 # see comment about AmigaOS4 .so support
7516 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7517 archive_expsym_cmds
=''
7520 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)'
7521 hardcode_libdir_flag_spec
='-L$libdir'
7522 hardcode_minus_L
=yes
7528 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7529 allow_undefined_flag
=unsupported
7530 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7531 # support --undefined. This deserves some investigation. FIXME
7532 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7538 cygwin
* | mingw
* | pw32
* | cegcc
*)
7539 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7540 # as there is no search path for DLLs.
7541 hardcode_libdir_flag_spec
='-L$libdir'
7542 allow_undefined_flag
=unsupported
7543 always_export_symbols
=no
7544 enable_shared_with_static_runtimes
=yes
7545 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7547 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7548 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7549 # If the export-symbols file already is a .def file (1st line
7550 # is EXPORTS), use it as is; otherwise, prepend...
7551 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7552 cp $export_symbols $output_objdir/$soname.def;
7554 echo EXPORTS > $output_objdir/$soname.def;
7555 cat $export_symbols >> $output_objdir/$soname.def;
7557 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7565 hardcode_shlibpath_var
=no
7566 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7567 export_dynamic_flag_spec
='${wl}-E'
7568 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7569 # Instead, shared libraries are loaded at an image base (0x10000000 by
7570 # default) and relocated if they conflict, which is a slow very memory
7571 # consuming and fragmenting process. To avoid this, we pick a random,
7572 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7573 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7574 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7575 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'
7578 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7580 if test "$host_os" = linux
-dietlibc; then
7581 case $cc_basename in
7582 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7585 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7586 && test "$tmp_diet" = no
7589 tmp_sharedflag
='-shared'
7590 case $cc_basename,$host_cpu in
7591 pgcc
*) # Portland Group C compiler
7592 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'
7593 tmp_addflag
=' $pic_flag'
7595 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7596 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'
7597 tmp_addflag
=' $pic_flag -Mnomain' ;;
7598 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7599 tmp_addflag
=' -i_dynamic' ;;
7600 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7601 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7602 ifc
* | ifort
*) # Intel Fortran compiler
7603 tmp_addflag
=' -nofor_main' ;;
7604 lf95
*) # Lahey Fortran 8.1
7605 whole_archive_flag_spec
=
7606 tmp_sharedflag
='--shared' ;;
7607 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7608 tmp_sharedflag
='-qmkshrobj'
7611 case `$CC -V 2>&1 | sed 5q` in
7612 *Sun\ C
*) # Sun C 5.9
7613 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'
7614 compiler_needs_object
=yes
7615 tmp_sharedflag
='-G' ;;
7616 *Sun\ F
*) # Sun Fortran 8.3
7617 tmp_sharedflag
='-G' ;;
7619 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7621 if test "x$supports_anon_versioning" = xyes
; then
7622 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7623 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7624 echo "local: *; };" >> $output_objdir/$libname.ver~
7625 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7628 case $cc_basename in
7630 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7631 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7632 hardcode_libdir_flag_spec
=
7633 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7634 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7635 if test "x$supports_anon_versioning" = xyes
; then
7636 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7637 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7638 echo "local: *; };" >> $output_objdir/$libname.ver~
7639 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7648 netbsd
* | netbsdelf
*-gnu)
7649 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7650 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7653 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7654 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7659 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7663 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7664 *** create shared libraries on Solaris systems. Therefore, libtool
7665 *** is disabling shared libraries support. We urge you to upgrade GNU
7666 *** binutils to release 2.9.1 or newer. Another option is to modify
7667 *** your PATH or compiler configuration so that the native linker is
7668 *** used, and then restart.
7671 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7672 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7673 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7679 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7680 case `$LD -v 2>&1` in
7681 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7685 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7686 *** reliably create shared libraries on SCO systems. Therefore, libtool
7687 *** is disabling shared libraries support. We urge you to upgrade GNU
7688 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7689 *** your PATH or compiler configuration so that the native linker is
7690 *** used, and then restart.
7695 # For security reasons, it is highly recommended that you always
7696 # use absolute paths for naming shared libraries, and exclude the
7697 # DT_RUNPATH tag from executables and libraries. But doing so
7698 # requires that you compile everything twice, which is a pain.
7699 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7700 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7701 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7702 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7711 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7714 hardcode_shlibpath_var
=no
7718 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7719 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7720 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7727 if test "$ld_shlibs" = no
; then
7729 hardcode_libdir_flag_spec
=
7730 export_dynamic_flag_spec
=
7731 whole_archive_flag_spec
=
7734 # PORTME fill in a description of your system's linker (not GNU ld)
7737 allow_undefined_flag
=unsupported
7738 always_export_symbols
=yes
7739 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'
7740 # Note: this linker hardcodes the directories in LIBPATH if there
7741 # are no directories specified by -L.
7742 hardcode_minus_L
=yes
7743 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7744 # Neither direct hardcoding nor static linking is supported with a
7746 hardcode_direct
=unsupported
7751 if test "$host_cpu" = ia64
; then
7752 # On IA64, the linker does run time linking by default, so we don't
7753 # have to do anything special.
7754 aix_use_runtimelinking
=no
7755 exp_sym_flag
='-Bexport'
7758 # If we're using GNU nm, then we don't want the "-C" option.
7759 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7760 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7761 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'
7763 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'
7765 aix_use_runtimelinking
=no
7767 # Test if we are trying to use run time linking or normal
7768 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7769 # need to do runtime linking.
7770 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7771 for ld_flag
in $LDFLAGS; do
7772 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7773 aix_use_runtimelinking
=yes
7780 exp_sym_flag
='-bexport'
7781 no_entry_flag
='-bnoentry'
7784 # When large executables or shared objects are built, AIX ld can
7785 # have problems creating the table of contents. If linking a library
7786 # or program results in "error TOC overflow" add -mminimal-toc to
7787 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7788 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7792 hardcode_direct_absolute
=yes
7793 hardcode_libdir_separator
=':'
7794 link_all_deplibs
=yes
7795 file_list_spec
='${wl}-f,'
7797 if test "$GCC" = yes; then
7798 case $host_os in aix4.
[012]|aix4.
[012].
*)
7799 # We only want to do this on AIX 4.2 and lower, the check
7800 # below for broken collect2 doesn't work under 4.3+
7801 collect2name
=`${CC} -print-prog-name=collect2`
7802 if test -f "$collect2name" &&
7803 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7805 # We have reworked collect2
7808 # We have old collect2
7809 hardcode_direct
=unsupported
7810 # It fails to find uninstalled libraries when the uninstalled
7811 # path is not listed in the libpath. Setting hardcode_minus_L
7812 # to unsupported forces relinking
7813 hardcode_minus_L
=yes
7814 hardcode_libdir_flag_spec
='-L$libdir'
7815 hardcode_libdir_separator
=
7819 shared_flag
='-shared'
7820 if test "$aix_use_runtimelinking" = yes; then
7821 shared_flag
="$shared_flag "'${wl}-G'
7826 if test "$host_cpu" = ia64
; then
7827 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7828 # chokes on -Wl,-G. The following line is correct:
7831 if test "$aix_use_runtimelinking" = yes; then
7832 shared_flag
='${wl}-G'
7834 shared_flag
='${wl}-bM:SRE'
7839 export_dynamic_flag_spec
='${wl}-bexpall'
7840 # It seems that -bexpall does not export symbols beginning with
7841 # underscore (_), so it is better to generate a list of symbols to export.
7842 always_export_symbols
=yes
7843 if test "$aix_use_runtimelinking" = yes; then
7844 # Warning - without using the other runtime loading flags (-brtl),
7845 # -berok will link without error, but may produce a broken library.
7846 allow_undefined_flag
='-berok'
7847 # Determine the default libpath from the value encoded in an
7849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7860 if ac_fn_c_try_link
"$LINENO"; then :
7862 lt_aix_libpath_sed
='
7863 /Import File Strings/,/^$/ {
7869 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7870 # Check for a 64-bit object if we didn't find anything.
7871 if test -z "$aix_libpath"; then
7872 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7875 rm -f core conftest.err conftest.
$ac_objext \
7876 conftest
$ac_exeext conftest.
$ac_ext
7877 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7879 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7880 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"
7882 if test "$host_cpu" = ia64
; then
7883 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7884 allow_undefined_flag
="-z nodefs"
7885 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"
7887 # Determine the default libpath from the value encoded in an
7889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7890 /* end confdefs.h. */
7900 if ac_fn_c_try_link
"$LINENO"; then :
7902 lt_aix_libpath_sed
='
7903 /Import File Strings/,/^$/ {
7909 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7910 # Check for a 64-bit object if we didn't find anything.
7911 if test -z "$aix_libpath"; then
7912 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7915 rm -f core conftest.err conftest.
$ac_objext \
7916 conftest
$ac_exeext conftest.
$ac_ext
7917 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7919 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7920 # Warning - without using the other run time loading flags,
7921 # -berok will link without error, but may produce a broken library.
7922 no_undefined_flag
=' ${wl}-bernotok'
7923 allow_undefined_flag
=' ${wl}-berok'
7924 # Exported symbols can be pulled into shared objects from archives
7925 whole_archive_flag_spec
='$convenience'
7926 archive_cmds_need_lc
=yes
7927 # This is similar to how AIX traditionally builds its shared libraries.
7928 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'
7936 # see comment about AmigaOS4 .so support
7937 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7938 archive_expsym_cmds
=''
7941 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)'
7942 hardcode_libdir_flag_spec
='-L$libdir'
7943 hardcode_minus_L
=yes
7949 export_dynamic_flag_spec
=-rdynamic
7952 cygwin
* | mingw
* | pw32
* | cegcc
*)
7953 # When not using gcc, we currently assume that we are using
7954 # Microsoft Visual C++.
7955 # hardcode_libdir_flag_spec is actually meaningless, as there is
7956 # no search path for DLLs.
7957 hardcode_libdir_flag_spec
=' '
7958 allow_undefined_flag
=unsupported
7959 # Tell ltmain to make .lib files, not .a files.
7961 # Tell ltmain to make .dll files, not .so files.
7963 # FIXME: Setting linknames here is a bad hack.
7964 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7965 # The linker will automatically build a .lib file if we build a DLL.
7966 old_archive_from_new_cmds
='true'
7967 # FIXME: Should let the user specify the lib program.
7968 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7969 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7970 enable_shared_with_static_runtimes
=yes
7973 darwin
* | rhapsody
*)
7976 archive_cmds_need_lc
=no
7978 hardcode_automatic
=yes
7979 hardcode_shlibpath_var
=unsupported
7980 whole_archive_flag_spec
=''
7981 link_all_deplibs
=yes
7982 allow_undefined_flag
="$_lt_dar_allow_undefined"
7983 case $cc_basename in
7984 ifort
*) _lt_dar_can_shared
=yes ;;
7985 *) _lt_dar_can_shared
=$GCC ;;
7987 if test "$_lt_dar_can_shared" = "yes"; then
7988 output_verbose_link_cmd
=echo
7989 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7990 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7991 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}"
7992 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}"
8001 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8002 hardcode_libdir_flag_spec
='-L$libdir'
8003 hardcode_shlibpath_var
=no
8010 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8011 # support. Future versions do this automatically, but an explicit c++rt0.o
8012 # does not break anything, and helps significantly (at the cost of a little
8015 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8016 hardcode_libdir_flag_spec
='-R$libdir'
8018 hardcode_shlibpath_var
=no
8021 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8023 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8025 hardcode_minus_L
=yes
8026 hardcode_shlibpath_var
=no
8029 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8030 freebsd
* | dragonfly
*)
8031 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8032 hardcode_libdir_flag_spec
='-R$libdir'
8034 hardcode_shlibpath_var
=no
8038 if test "$GCC" = yes; then
8039 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'
8041 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'
8043 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8044 hardcode_libdir_separator
=:
8047 # hardcode_minus_L: Not really in the search PATH,
8048 # but as the default location of the library.
8049 hardcode_minus_L
=yes
8050 export_dynamic_flag_spec
='${wl}-E'
8054 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8055 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8057 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8059 if test "$with_gnu_ld" = no
; then
8060 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8061 hardcode_libdir_flag_spec_ld
='+b $libdir'
8062 hardcode_libdir_separator
=:
8064 hardcode_direct_absolute
=yes
8065 export_dynamic_flag_spec
='${wl}-E'
8066 # hardcode_minus_L: Not really in the search PATH,
8067 # but as the default location of the library.
8068 hardcode_minus_L
=yes
8073 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8076 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8079 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8082 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8088 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8091 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8094 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8098 if test "$with_gnu_ld" = no
; then
8099 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8100 hardcode_libdir_separator
=:
8105 hardcode_shlibpath_var
=no
8109 hardcode_direct_absolute
=yes
8110 export_dynamic_flag_spec
='${wl}-E'
8112 # hardcode_minus_L: Not really in the search PATH,
8113 # but as the default location of the library.
8114 hardcode_minus_L
=yes
8120 irix5
* | irix6
* | nonstopux
*)
8121 if test "$GCC" = yes; then
8122 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'
8123 # Try to use the -exported_symbol ld option, if it does not
8124 # work, assume that -exports_file does not work either and
8125 # implicitly export all symbols.
8126 save_LDFLAGS
="$LDFLAGS"
8127 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8132 if ac_fn_c_try_link
"$LINENO"; then :
8133 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'
8136 rm -f core conftest.err conftest.
$ac_objext \
8137 conftest
$ac_exeext conftest.
$ac_ext
8138 LDFLAGS
="$save_LDFLAGS"
8140 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'
8141 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'
8143 archive_cmds_need_lc
='no'
8144 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8145 hardcode_libdir_separator
=:
8147 link_all_deplibs
=yes
8150 netbsd
* | netbsdelf
*-gnu)
8151 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8152 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8154 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8156 hardcode_libdir_flag_spec
='-R$libdir'
8158 hardcode_shlibpath_var
=no
8162 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8165 hardcode_libdir_separator
=:
8166 hardcode_shlibpath_var
=no
8173 if test -f /usr
/libexec
/ld.so
; then
8175 hardcode_shlibpath_var
=no
8176 hardcode_direct_absolute
=yes
8177 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8178 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8179 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8180 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8181 export_dynamic_flag_spec
='${wl}-E'
8184 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8185 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8186 hardcode_libdir_flag_spec
='-R$libdir'
8189 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8190 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8200 hardcode_libdir_flag_spec
='-L$libdir'
8201 hardcode_minus_L
=yes
8202 allow_undefined_flag
=unsupported
8203 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'
8204 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8208 if test "$GCC" = yes; then
8209 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8210 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'
8212 allow_undefined_flag
=' -expect_unresolved \*'
8213 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'
8215 archive_cmds_need_lc
='no'
8216 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8217 hardcode_libdir_separator
=:
8220 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8221 if test "$GCC" = yes; then
8222 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8223 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'
8224 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8226 allow_undefined_flag
=' -expect_unresolved \*'
8227 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'
8228 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~
8229 $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'
8231 # Both c and cxx compiler support -rpath directly
8232 hardcode_libdir_flag_spec
='-rpath $libdir'
8234 archive_cmds_need_lc
='no'
8235 hardcode_libdir_separator
=:
8239 no_undefined_flag
=' -z defs'
8240 if test "$GCC" = yes; then
8242 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8243 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8244 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8246 case `$CC -V 2>&1` in
8249 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8250 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8251 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8255 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8256 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8257 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8261 hardcode_libdir_flag_spec
='-R$libdir'
8262 hardcode_shlibpath_var
=no
8264 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8266 # The compiler driver will combine and reorder linker options,
8267 # but understands `-z linker_flag'. GCC discards it without `$wl',
8268 # but is careful enough not to reorder.
8269 # Supported since Solaris 2.6 (maybe 2.5.1?)
8270 if test "$GCC" = yes; then
8271 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8273 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8277 link_all_deplibs
=yes
8281 if test "x$host_vendor" = xsequent
; then
8282 # Use $CC to link under sequent, because it throws in some extra .o
8283 # files that make .init and .fini sections work.
8284 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8286 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8288 hardcode_libdir_flag_spec
='-L$libdir'
8290 hardcode_minus_L
=yes
8291 hardcode_shlibpath_var
=no
8295 case $host_vendor in
8297 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8298 hardcode_direct
=yes # is this really true???
8301 ## LD is ld it makes a PLAMLIB
8302 ## CC just makes a GrossModule.
8303 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8304 reload_cmds
='$CC -r -o $output$reload_objs'
8308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8309 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8312 runpath_var
='LD_RUN_PATH'
8313 hardcode_shlibpath_var
=no
8317 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8318 hardcode_shlibpath_var
=no
8319 export_dynamic_flag_spec
='-Bexport'
8323 if test -d /usr
/nec
; then
8324 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8325 hardcode_shlibpath_var
=no
8326 runpath_var
=LD_RUN_PATH
8327 hardcode_runpath_var
=yes
8332 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8333 no_undefined_flag
='${wl}-z,text'
8334 archive_cmds_need_lc
=no
8335 hardcode_shlibpath_var
=no
8336 runpath_var
='LD_RUN_PATH'
8338 if test "$GCC" = yes; then
8339 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8340 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8342 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8343 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8347 sysv5
* | sco3.2v5
* | sco5v6
*)
8348 # Note: We can NOT use -z defs as we might desire, because we do not
8349 # link with -lc, and that would cause any symbols used from libc to
8350 # always be unresolved, which means just about no library would
8351 # ever link correctly. If we're not using GNU ld we use -z text
8352 # though, which does catch some bad symbols but isn't as heavy-handed
8354 no_undefined_flag
='${wl}-z,text'
8355 allow_undefined_flag
='${wl}-z,nodefs'
8356 archive_cmds_need_lc
=no
8357 hardcode_shlibpath_var
=no
8358 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8359 hardcode_libdir_separator
=':'
8360 link_all_deplibs
=yes
8361 export_dynamic_flag_spec
='${wl}-Bexport'
8362 runpath_var
='LD_RUN_PATH'
8364 if test "$GCC" = yes; then
8365 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8366 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8368 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8369 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8374 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8375 hardcode_libdir_flag_spec
='-L$libdir'
8376 hardcode_shlibpath_var
=no
8384 if test x
$host_vendor = xsni
; then
8386 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8387 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8394 $as_echo "$ld_shlibs" >&6; }
8395 test "$ld_shlibs" = no
&& can_build_shared
=no
8397 with_gnu_ld
=$with_gnu_ld
8414 # Do we need to explicitly link libc?
8416 case "x$archive_cmds_need_lc" in
8418 # Assume -lc should be added
8419 archive_cmds_need_lc
=yes
8421 if test "$enable_shared" = yes && test "$GCC" = yes; then
8422 case $archive_cmds in
8424 # FIXME: we may have to deal with multi-command sequences.
8427 # Test whether the compiler implicitly links with -lc since on some
8428 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8429 # to ld, don't add -lc before -lgcc.
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8431 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8433 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8436 (eval $ac_compile) 2>&5
8438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8439 test $ac_status = 0; } 2>conftest.err
; then
8442 libobjs
=conftest.
$ac_objext
8444 wl
=$lt_prog_compiler_wl
8445 pic_flag
=$lt_prog_compiler_pic
8451 lt_save_allow_undefined_flag
=$allow_undefined_flag
8452 allow_undefined_flag
=
8453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8454 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8457 test $ac_status = 0; }
8459 archive_cmds_need_lc
=no
8461 archive_cmds_need_lc
=yes
8463 allow_undefined_flag
=$lt_save_allow_undefined_flag
8465 cat conftest.err
1>&5
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8469 $as_echo "$archive_cmds_need_lc" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8633 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8635 if test "$GCC" = yes; then
8637 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8638 *) lt_awk_arg
="/^libraries:/" ;;
8640 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8641 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8642 # if the path contains ";" then we assume it to be the separator
8643 # otherwise default to the standard path separator (i.e. ":") - it is
8644 # assumed that no part of a normal pathname contains ";" but that should
8645 # okay in the real world where ";" in dirpaths is itself problematic.
8646 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8648 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8650 # Ok, now we have the path, separated by spaces, we can step through it
8651 # and add multilib dir if necessary.
8652 lt_tmp_lt_search_path_spec
=
8653 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8654 for lt_sys_path
in $lt_search_path_spec; do
8655 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8656 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8658 test -d "$lt_sys_path" && \
8659 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8662 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8663 BEGIN {RS=" "; FS="/|\n";} {
8666 for (lt_i = NF; lt_i > 0; lt_i--) {
8667 if ($lt_i != "" && $lt_i != ".") {
8668 if ($lt_i == "..") {
8671 if (lt_count == 0) {
8672 lt_foo="/" $lt_i lt_foo;
8679 if (lt_foo != "") { lt_freq[lt_foo]++; }
8680 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8682 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8684 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8687 libname_spec
='lib$name'
8695 shlibpath_overrides_runpath
=unknown
8697 dynamic_linker
="$host_os ld.so"
8698 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8699 need_lib_prefix
=unknown
8700 hardcode_into_libs
=no
8702 # when you set need_version to no, make sure it does not cause -set_version
8703 # flags to be left without arguments
8704 need_version
=unknown
8709 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8710 shlibpath_var
=LIBPATH
8712 # AIX 3 has no versioning support, so we append a major version to the name.
8713 soname_spec
='${libname}${release}${shared_ext}$major'
8720 hardcode_into_libs
=yes
8721 if test "$host_cpu" = ia64
; then
8722 # AIX 5 supports IA64
8723 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8724 shlibpath_var
=LD_LIBRARY_PATH
8726 # With GCC up to 2.95.x, collect2 would create an import file
8727 # for dependence libraries. The import file would start with
8728 # the line `#! .'. This would cause the generated library to
8729 # depend on `.', always an invalid library. This was fixed in
8730 # development snapshots of GCC prior to 3.0.
8732 aix4
| aix4.
[01] | aix4.
[01].
*)
8733 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8735 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8742 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8743 # soname into executable. Probably we can add versioning support to
8744 # collect2, so additional links can be useful in future.
8745 if test "$aix_use_runtimelinking" = yes; then
8746 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8747 # instead of lib<name>.a to let people know that these are not
8748 # typical AIX shared libraries.
8749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8751 # We preserve .a as extension for shared libraries through AIX4.2
8752 # and later when we are not doing run time linking.
8753 library_names_spec
='${libname}${release}.a $libname.a'
8754 soname_spec
='${libname}${release}${shared_ext}$major'
8756 shlibpath_var
=LIBPATH
8763 # Since July 2007 AmigaOS4 officially supports .so libraries.
8764 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8768 library_names_spec
='$libname.ixlibrary $libname.a'
8769 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8770 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'
8776 library_names_spec
='${libname}${shared_ext}'
8777 dynamic_linker
="$host_os ld.so"
8778 shlibpath_var
=LIBRARY_PATH
8784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8785 soname_spec
='${libname}${release}${shared_ext}$major'
8786 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8787 shlibpath_var
=LD_LIBRARY_PATH
8788 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8789 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8790 # the default ld.so.conf also contains /usr/contrib/lib and
8791 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8792 # libtool to hard-code these into programs
8795 cygwin
* | mingw
* | pw32
* | cegcc
*)
8796 version_type
=windows
8801 case $GCC,$host_os in
8802 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8803 library_names_spec
='$libname.dll.a'
8804 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8805 postinstall_cmds
='base_file=`basename \${file}`~
8806 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8807 dldir=$destdir/`dirname \$dlpath`~
8808 test -d \$dldir || mkdir -p \$dldir~
8809 $install_prog $dir/$dlname \$dldir/$dlname~
8810 chmod a+x \$dldir/$dlname~
8811 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8812 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8814 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8815 dlpath=$dir/\$dldll~
8817 shlibpath_overrides_runpath
=yes
8821 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8822 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8823 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8826 # MinGW DLLs use traditional 'lib' prefix
8827 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8828 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8829 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8830 # It is most probably a Windows format PATH printed by
8831 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8832 # path with ; separators, and with drive letters. We can handle the
8833 # drive letters (cygwin fileutils understands them), so leave them,
8834 # especially as we might pass files found there to a mingw objdump,
8835 # which wouldn't understand a cygwinified path. Ahh.
8836 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8838 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8842 # pw32 DLLs use 'pw' prefix rather than 'lib'
8843 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8849 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8852 dynamic_linker
='Win32 ld.exe'
8853 # FIXME: first we should search . and the directory the executable is in
8857 darwin
* | rhapsody
*)
8858 dynamic_linker
="$host_os dyld"
8862 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8863 soname_spec
='${libname}${release}${major}$shared_ext'
8864 shlibpath_overrides_runpath
=yes
8865 shlibpath_var
=DYLD_LIBRARY_PATH
8866 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8868 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8869 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8877 soname_spec
='${libname}${release}${shared_ext}$major'
8878 shlibpath_var
=LD_LIBRARY_PATH
8885 freebsd
* | dragonfly
*)
8886 # DragonFly does not have aout. When/if they implement a new
8887 # versioning mechanism, adjust this.
8888 if test -x /usr
/bin
/objformat
; then
8889 objformat
=`/usr/bin/objformat`
8892 freebsd
[123]*) objformat
=aout
;;
8896 version_type
=freebsd
-$objformat
8897 case $version_type in
8899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8908 shlibpath_var
=LD_LIBRARY_PATH
8911 shlibpath_overrides_runpath
=yes
8913 freebsd3.
[01]* | freebsdelf3.
[01]*)
8914 shlibpath_overrides_runpath
=yes
8915 hardcode_into_libs
=yes
8917 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8918 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8919 shlibpath_overrides_runpath
=no
8920 hardcode_into_libs
=yes
8922 *) # from 4.6 on, and DragonFly
8923 shlibpath_overrides_runpath
=yes
8924 hardcode_into_libs
=yes
8933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8934 soname_spec
='${libname}${release}${shared_ext}$major'
8935 shlibpath_var
=LD_LIBRARY_PATH
8936 hardcode_into_libs
=yes
8939 hpux9
* | hpux10
* | hpux11
*)
8940 # Give a soname corresponding to the major version so that dld.sl refuses to
8941 # link against other versions.
8948 hardcode_into_libs
=yes
8949 dynamic_linker
="$host_os dld.so"
8950 shlibpath_var
=LD_LIBRARY_PATH
8951 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8953 soname_spec
='${libname}${release}${shared_ext}$major'
8954 if test "X$HPUX_IA64_MODE" = X32
; then
8955 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8957 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8959 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8963 hardcode_into_libs
=yes
8964 dynamic_linker
="$host_os dld.sl"
8965 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8966 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8967 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8968 soname_spec
='${libname}${release}${shared_ext}$major'
8969 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8970 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8974 dynamic_linker
="$host_os dld.sl"
8975 shlibpath_var
=SHLIB_PATH
8976 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8978 soname_spec
='${libname}${release}${shared_ext}$major'
8981 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8982 postinstall_cmds
='chmod 555 $lib'
8989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8990 soname_spec
='${libname}${release}${shared_ext}$major'
8991 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8992 shlibpath_var
=LD_LIBRARY_PATH
8993 shlibpath_overrides_runpath
=no
8994 hardcode_into_libs
=yes
8997 irix5
* | irix6
* | nonstopux
*)
8999 nonstopux
*) version_type
=nonstopux
;;
9001 if test "$lt_cv_prog_gnu_ld" = yes; then
9009 soname_spec
='${libname}${release}${shared_ext}$major'
9010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9012 irix5
* | nonstopux
*)
9016 case $LD in # libtool.m4 will add one of these switches to LD
9017 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9018 libsuff
= shlibsuff
= libmagic
=32-bit;;
9019 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9020 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9021 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9022 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9023 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9027 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9028 shlibpath_overrides_runpath
=no
9029 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9030 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9031 hardcode_into_libs
=yes
9034 # No shared lib support for Linux oldld, aout, or coff.
9035 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9039 # This must be Linux ELF.
9040 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9044 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9045 soname_spec
='${libname}${release}${shared_ext}$major'
9046 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9047 shlibpath_var
=LD_LIBRARY_PATH
9048 shlibpath_overrides_runpath
=no
9049 # Some binutils ld are patched to set DT_RUNPATH
9050 save_LDFLAGS
=$LDFLAGS
9052 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9053 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9065 if ac_fn_c_try_link
"$LINENO"; then :
9066 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9067 shlibpath_overrides_runpath
=yes
9070 rm -f core conftest.err conftest.
$ac_objext \
9071 conftest
$ac_exeext conftest.
$ac_ext
9072 LDFLAGS
=$save_LDFLAGS
9075 # This implies no fast_install, which is unacceptable.
9076 # Some rework will be needed to allow for fast_install
9077 # before this can be enabled.
9078 hardcode_into_libs
=yes
9080 # Append ld.so.conf contents to the search path
9081 if test -f /etc
/ld.so.conf
; then
9082 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' ' '`
9083 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9086 # We used to test for /lib/ld.so.1 and disable shared libraries on
9087 # powerpc, because MkLinux only supported shared libraries with the
9088 # GNU dynamic linker. Since this was broken with cross compilers,
9089 # most powerpc-linux boxes support dynamic linking these days and
9090 # people can always --disable-shared, the test was removed, and we
9091 # assume the GNU/Linux dynamic linker is in use.
9092 dynamic_linker
='GNU/Linux ld.so'
9099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9100 soname_spec
='${libname}${release}${shared_ext}$major'
9101 shlibpath_var
=LD_LIBRARY_PATH
9102 shlibpath_overrides_runpath
=no
9103 hardcode_into_libs
=yes
9104 dynamic_linker
='NetBSD ld.elf_so'
9111 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9113 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9114 dynamic_linker
='NetBSD (a.out) ld.so'
9116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9117 soname_spec
='${libname}${release}${shared_ext}$major'
9118 dynamic_linker
='NetBSD ld.elf_so'
9120 shlibpath_var
=LD_LIBRARY_PATH
9121 shlibpath_overrides_runpath
=yes
9122 hardcode_into_libs
=yes
9127 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9128 shlibpath_var
=LD_LIBRARY_PATH
9129 shlibpath_overrides_runpath
=yes
9136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9137 soname_spec
='${libname}${release}${shared_ext}$major'
9138 shlibpath_var
=LD_LIBRARY_PATH
9139 shlibpath_overrides_runpath
=no
9140 hardcode_into_libs
=yes
9141 dynamic_linker
='ldqnx.so'
9146 sys_lib_dlsearch_path_spec
="/usr/lib"
9148 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9150 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9151 *) need_version
=no
;;
9153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9154 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9155 shlibpath_var
=LD_LIBRARY_PATH
9156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9158 openbsd2.
[89] | openbsd2.
[89].
*)
9159 shlibpath_overrides_runpath
=no
9162 shlibpath_overrides_runpath
=yes
9166 shlibpath_overrides_runpath
=yes
9171 libname_spec
='$name'
9174 library_names_spec
='$libname${shared_ext} $libname.a'
9175 dynamic_linker
='OS/2 ld.exe'
9176 shlibpath_var
=LIBPATH
9179 osf3
* | osf4
* | osf5
*)
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9185 shlibpath_var
=LD_LIBRARY_PATH
9186 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9187 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9199 soname_spec
='${libname}${release}${shared_ext}$major'
9200 shlibpath_var
=LD_LIBRARY_PATH
9201 shlibpath_overrides_runpath
=yes
9202 hardcode_into_libs
=yes
9203 # ldd complains unless libraries are executable
9204 postinstall_cmds
='chmod +x $lib'
9209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9210 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9211 shlibpath_var
=LD_LIBRARY_PATH
9212 shlibpath_overrides_runpath
=yes
9213 if test "$with_gnu_ld" = yes; then
9221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9222 soname_spec
='${libname}${release}${shared_ext}$major'
9223 shlibpath_var
=LD_LIBRARY_PATH
9224 case $host_vendor in
9226 shlibpath_overrides_runpath
=no
9228 runpath_var
=LD_RUN_PATH
9236 shlibpath_overrides_runpath
=no
9237 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9243 if test -d /usr
/nec
;then
9245 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9246 soname_spec
='$libname${shared_ext}.$major'
9247 shlibpath_var
=LD_LIBRARY_PATH
9251 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9252 version_type
=freebsd
-elf
9255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9256 soname_spec
='${libname}${release}${shared_ext}$major'
9257 shlibpath_var
=LD_LIBRARY_PATH
9258 shlibpath_overrides_runpath
=yes
9259 hardcode_into_libs
=yes
9260 if test "$with_gnu_ld" = yes; then
9261 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9263 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9266 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9270 sys_lib_dlsearch_path_spec
='/usr/lib'
9274 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9279 shlibpath_var
=LD_LIBRARY_PATH
9280 shlibpath_overrides_runpath
=no
9281 hardcode_into_libs
=yes
9286 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9287 soname_spec
='${libname}${release}${shared_ext}$major'
9288 shlibpath_var
=LD_LIBRARY_PATH
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9296 $as_echo "$dynamic_linker" >&6; }
9297 test "$dynamic_linker" = no
&& can_build_shared
=no
9299 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9300 if test "$GCC" = yes; then
9301 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9304 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9305 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9307 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9308 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9398 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9400 if test -n "$hardcode_libdir_flag_spec" ||
9401 test -n "$runpath_var" ||
9402 test "X$hardcode_automatic" = "Xyes" ; then
9404 # We can hardcode non-existent directories.
9405 if test "$hardcode_direct" != no
&&
9406 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9407 # have to relink, otherwise we might link with an installed library
9408 # when we should be linking with a yet-to-be-installed one
9409 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9410 test "$hardcode_minus_L" != no
; then
9411 # Linking always hardcodes the temporary library directory.
9412 hardcode_action
=relink
9414 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9415 hardcode_action
=immediate
9418 # We cannot hardcode anything, or else we can only hardcode existing
9420 hardcode_action
=unsupported
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9423 $as_echo "$hardcode_action" >&6; }
9425 if test "$hardcode_action" = relink
||
9426 test "$inherit_rpath" = yes; then
9427 # Fast installation is not supported
9428 enable_fast_install
=no
9429 elif test "$shlibpath_overrides_runpath" = yes ||
9430 test "$enable_shared" = no
; then
9431 # Fast installation is not necessary
9432 enable_fast_install
=needless
9440 if test "x$enable_dlopen" != xyes
; then
9441 enable_dlopen
=unknown
9442 enable_dlopen_self
=unknown
9443 enable_dlopen_self_static
=unknown
9450 lt_cv_dlopen
="load_add_on"
9452 lt_cv_dlopen_self
=yes
9455 mingw
* | pw32
* | cegcc
*)
9456 lt_cv_dlopen
="LoadLibrary"
9461 lt_cv_dlopen
="dlopen"
9466 # if libdl is installed we need to link against it
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9468 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9469 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9470 $as_echo_n "(cached) " >&6
9472 ac_check_lib_save_LIBS
=$LIBS
9474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9477 /* Override any GCC internal prototype to avoid an error.
9478 Use char because int might match the return type of a GCC
9479 builtin and then its argument prototype would still apply. */
9492 if ac_fn_c_try_link
"$LINENO"; then :
9493 ac_cv_lib_dl_dlopen
=yes
9495 ac_cv_lib_dl_dlopen
=no
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_lib_save_LIBS
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9502 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9503 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9504 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9509 lt_cv_dlopen_self
=yes
9516 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9517 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9518 lt_cv_dlopen
="shl_load"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9521 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9522 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_lib_save_LIBS
=$LIBS
9527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9545 if ac_fn_c_try_link
"$LINENO"; then :
9546 ac_cv_lib_dld_shl_load
=yes
9548 ac_cv_lib_dld_shl_load
=no
9550 rm -f core conftest.err conftest.
$ac_objext \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9555 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9556 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9557 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9559 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9560 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9561 lt_cv_dlopen
="dlopen"
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9564 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9565 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9566 $as_echo_n "(cached) " >&6
9568 ac_check_lib_save_LIBS
=$LIBS
9570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9588 if ac_fn_c_try_link
"$LINENO"; then :
9589 ac_cv_lib_dl_dlopen
=yes
9591 ac_cv_lib_dl_dlopen
=no
9593 rm -f core conftest.err conftest.
$ac_objext \
9594 conftest
$ac_exeext conftest.
$ac_ext
9595 LIBS
=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9598 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9599 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9600 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9603 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9604 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9605 $as_echo_n "(cached) " >&6
9607 ac_check_lib_save_LIBS
=$LIBS
9609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9627 if ac_fn_c_try_link
"$LINENO"; then :
9628 ac_cv_lib_svld_dlopen
=yes
9630 ac_cv_lib_svld_dlopen
=no
9632 rm -f core conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9637 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9638 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9639 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9642 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9643 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9644 $as_echo_n "(cached) " >&6
9646 ac_check_lib_save_LIBS
=$LIBS
9648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9666 if ac_fn_c_try_link
"$LINENO"; then :
9667 ac_cv_lib_dld_dld_link
=yes
9669 ac_cv_lib_dld_dld_link
=no
9671 rm -f core conftest.err conftest.
$ac_objext \
9672 conftest
$ac_exeext conftest.
$ac_ext
9673 LIBS
=$ac_check_lib_save_LIBS
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9676 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9677 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9678 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9699 if test "x$lt_cv_dlopen" != xno
; then
9705 case $lt_cv_dlopen in
9707 save_CPPFLAGS
="$CPPFLAGS"
9708 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9710 save_LDFLAGS
="$LDFLAGS"
9711 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9714 LIBS
="$lt_cv_dlopen_libs $LIBS"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9717 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9718 if test "${lt_cv_dlopen_self+set}" = set; then :
9719 $as_echo_n "(cached) " >&6
9721 if test "$cross_compiling" = yes; then :
9722 lt_cv_dlopen_self
=cross
9724 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9725 lt_status
=$lt_dlunknown
9726 cat > conftest.
$ac_ext <<_LT_EOF
9727 #line 9727 "configure"
9728 #include "confdefs.h"
9737 # define LT_DLGLOBAL RTLD_GLOBAL
9740 # define LT_DLGLOBAL DL_GLOBAL
9742 # define LT_DLGLOBAL 0
9746 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9747 find out it does not work in some platform. */
9748 #ifndef LT_DLLAZY_OR_NOW
9750 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9753 # define LT_DLLAZY_OR_NOW DL_LAZY
9756 # define LT_DLLAZY_OR_NOW RTLD_NOW
9759 # define LT_DLLAZY_OR_NOW DL_NOW
9761 # define LT_DLLAZY_OR_NOW 0
9768 void fnord() { int i=42;}
9771 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9772 int status = $lt_dlunknown;
9776 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9777 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9778 /* dlclose (self); */
9786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9787 (eval $ac_link) 2>&5
9789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9790 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9791 (.
/conftest
; exit; ) >&5 2>/dev
/null
9794 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9795 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9796 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9799 # compilation failed
9800 lt_cv_dlopen_self
=no
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9808 $as_echo "$lt_cv_dlopen_self" >&6; }
9810 if test "x$lt_cv_dlopen_self" = xyes
; then
9811 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9813 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9814 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9817 if test "$cross_compiling" = yes; then :
9818 lt_cv_dlopen_self_static
=cross
9820 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9821 lt_status
=$lt_dlunknown
9822 cat > conftest.
$ac_ext <<_LT_EOF
9823 #line 9823 "configure"
9824 #include "confdefs.h"
9833 # define LT_DLGLOBAL RTLD_GLOBAL
9836 # define LT_DLGLOBAL DL_GLOBAL
9838 # define LT_DLGLOBAL 0
9842 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9843 find out it does not work in some platform. */
9844 #ifndef LT_DLLAZY_OR_NOW
9846 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9849 # define LT_DLLAZY_OR_NOW DL_LAZY
9852 # define LT_DLLAZY_OR_NOW RTLD_NOW
9855 # define LT_DLLAZY_OR_NOW DL_NOW
9857 # define LT_DLLAZY_OR_NOW 0
9864 void fnord() { int i=42;}
9867 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9868 int status = $lt_dlunknown;
9872 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9873 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9874 /* dlclose (self); */
9882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9883 (eval $ac_link) 2>&5
9885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9886 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9887 (.
/conftest
; exit; ) >&5 2>/dev
/null
9890 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9891 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9892 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9895 # compilation failed
9896 lt_cv_dlopen_self_static
=no
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9904 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9907 CPPFLAGS
="$save_CPPFLAGS"
9908 LDFLAGS
="$save_LDFLAGS"
9913 case $lt_cv_dlopen_self in
9914 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9915 *) enable_dlopen_self
=unknown
;;
9918 case $lt_cv_dlopen_self_static in
9919 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9920 *) enable_dlopen_self_static
=unknown
;;
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9943 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9944 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9945 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9946 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9948 $as_echo "yes" >&6; }
9950 # FIXME - insert some real tests, host_os isn't really good enough
9953 if test -n "$STRIP" ; then
9954 striplib
="$STRIP -x"
9955 old_striplib
="$STRIP -S"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9957 $as_echo "yes" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9960 $as_echo "no" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9965 $as_echo "no" >&6; }
9981 # Report which library types will actually be built
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9983 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9985 $as_echo "$can_build_shared" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9988 $as_echo_n "checking whether to build shared libraries... " >&6; }
9989 test "$can_build_shared" = "no" && enable_shared
=no
9991 # On AIX, shared libraries and static libraries use the same namespace, and
9992 # are all built from PIC.
9995 test "$enable_shared" = yes && enable_static
=no
9996 if test -n "$RANLIB"; then
9997 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9998 postinstall_cmds
='$RANLIB $lib'
10003 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10004 test "$enable_shared" = yes && enable_static
=no
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10009 $as_echo "$enable_shared" >&6; }
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10012 $as_echo_n "checking whether to build static libraries... " >&6; }
10013 # Make sure either enable_shared or enable_static is yes.
10014 test "$enable_shared" = yes || enable_static
=yes
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10016 $as_echo "$enable_static" >&6; }
10023 ac_cpp
='$CPP $CPPFLAGS'
10024 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10025 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10026 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10042 ac_config_commands
="$ac_config_commands libtool"
10047 # Only expand once:
10052 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10053 if test -n "$ac_tool_prefix"; then
10054 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10055 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10057 $as_echo_n "checking for $ac_word... " >&6; }
10058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10059 $as_echo_n "(cached) " >&6
10061 case $PKG_CONFIG in
10063 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10067 for as_dir
in $PATH
10070 test -z "$as_dir" && as_dir
=.
10071 for ac_exec_ext
in '' $ac_executable_extensions; do
10072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10073 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10085 if test -n "$PKG_CONFIG"; then
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10087 $as_echo "$PKG_CONFIG" >&6; }
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10090 $as_echo "no" >&6; }
10095 if test -z "$ac_cv_path_PKG_CONFIG"; then
10096 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10097 # Extract the first word of "pkg-config", so it can be a program name with args.
10098 set dummy pkg
-config; ac_word
=$2
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10100 $as_echo_n "checking for $ac_word... " >&6; }
10101 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10102 $as_echo_n "(cached) " >&6
10104 case $ac_pt_PKG_CONFIG in
10106 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10110 for as_dir
in $PATH
10113 test -z "$as_dir" && as_dir
=.
10114 for ac_exec_ext
in '' $ac_executable_extensions; do
10115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10116 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10127 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10128 if test -n "$ac_pt_PKG_CONFIG"; then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10130 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10133 $as_echo "no" >&6; }
10136 if test "x$ac_pt_PKG_CONFIG" = x
; then
10139 case $cross_compiling:$ac_tool_warned in
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10143 ac_tool_warned
=yes ;;
10145 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10148 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10152 if test -n "$PKG_CONFIG"; then
10153 _pkg_min_version
=0.22
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10155 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10156 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10158 $as_echo "yes" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161 $as_echo "no" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10167 $as_echo_n "checking for GNU make... " >&6; }
10168 if test "${_cv_gnu_make_command+set}" = set; then :
10169 $as_echo_n "(cached) " >&6
10171 _cv_gnu_make_command
='' ;
10172 for a
in "$MAKE" make gmake gnumake
; do
10173 if test -z "$a" ; then continue ; fi ;
10174 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10175 _cv_gnu_make_command
=$a ;
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10182 $as_echo "$_cv_gnu_make_command" >&6; } ;
10183 if test "x$_cv_gnu_make_command" != "x" ; then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10188 $as_echo "\"Not found\"" >&6; };
10192 if test "x$_cv_gnu_make_command" = x
; then :
10193 as_fn_error
"You need GNU make" "$LINENO" 5
10196 ac_cpp
='$CXXCPP $CPPFLAGS'
10197 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10198 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10199 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10200 if test -z "$CXX"; then
10201 if test -n "$CCC"; then
10204 if test -n "$ac_tool_prefix"; then
10205 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10208 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10210 $as_echo_n "checking for $ac_word... " >&6; }
10211 if test "${ac_cv_prog_CXX+set}" = set; then :
10212 $as_echo_n "(cached) " >&6
10214 if test -n "$CXX"; then
10215 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10218 for as_dir
in $PATH
10221 test -z "$as_dir" && as_dir
=.
10222 for ac_exec_ext
in '' $ac_executable_extensions; do
10223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10224 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10234 CXX
=$ac_cv_prog_CXX
10235 if test -n "$CXX"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10237 $as_echo "$CXX" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10240 $as_echo "no" >&6; }
10244 test -n "$CXX" && break
10247 if test -z "$CXX"; then
10249 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10251 # Extract the first word of "$ac_prog", so it can be a program name with args.
10252 set dummy
$ac_prog; ac_word
=$2
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10254 $as_echo_n "checking for $ac_word... " >&6; }
10255 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10256 $as_echo_n "(cached) " >&6
10258 if test -n "$ac_ct_CXX"; then
10259 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10262 for as_dir
in $PATH
10265 test -z "$as_dir" && as_dir
=.
10266 for ac_exec_ext
in '' $ac_executable_extensions; do
10267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10268 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10278 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10279 if test -n "$ac_ct_CXX"; then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10281 $as_echo "$ac_ct_CXX" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10284 $as_echo "no" >&6; }
10288 test -n "$ac_ct_CXX" && break
10291 if test "x$ac_ct_CXX" = x
; then
10294 case $cross_compiling:$ac_tool_warned in
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10298 ac_tool_warned
=yes ;;
10306 # Provide some information about the compiler.
10307 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10310 for ac_option
in --version -v -V -qversion; do
10311 { { ac_try
="$ac_compiler $ac_option >&5"
10312 case "(($ac_try" in
10313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10314 *) ac_try_echo=$ac_try;;
10316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10317 $as_echo "$ac_try_echo"; } >&5
10318 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10320 if test -s conftest.err; then
10322 ... rest of stderr output deleted ...
10323 10q' conftest.err >conftest.er1
10324 cat conftest.er1 >&5
10326 rm -f conftest.er1 conftest.err
10327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10328 test $ac_status = 0; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10332 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10334 $as_echo_n "(cached) " >&6
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10350 if ac_fn_cxx_try_compile "$LINENO"; then :
10351 ac_compiler_gnu=yes
10355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10356 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10360 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10361 if test $ac_compiler_gnu = yes; then
10366 ac_test_CXXFLAGS=${CXXFLAGS+set}
10367 ac_save_CXXFLAGS=$CXXFLAGS
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10369 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10370 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10371 $as_echo_n "(cached) " >&6
10373 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10374 ac_cxx_werror_flag=yes
10375 ac_cv_prog_cxx_g=no
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10388 if ac_fn_cxx_try_compile "$LINENO"; then :
10389 ac_cv_prog_cxx_g=yes
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10403 if ac_fn_cxx_try_compile "$LINENO"; then :
10406 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10419 if ac_fn_cxx_try_compile "$LINENO"; then :
10420 ac_cv_prog_cxx_g=yes
10422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10427 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10430 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10431 if test "$ac_test_CXXFLAGS" = set; then
10432 CXXFLAGS=$ac_save_CXXFLAGS
10433 elif test $ac_cv_prog_cxx_g = yes; then
10434 if test "$GXX" = yes; then
10440 if test "$GXX" = yes; then
10447 ac_cpp='$CPP $CPPFLAGS'
10448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10454 ac_cpp='$CXXCPP $CPPFLAGS'
10455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10458 if test -z "$CXX"; then
10459 if test -n "$CCC"; then
10462 if test -n "$ac_tool_prefix"; then
10463 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10468 $as_echo_n "checking for $ac_word... " >&6; }
10469 if test "${ac_cv_prog_CXX+set}" = set; then :
10470 $as_echo_n "(cached) " >&6
10472 if test -n "$CXX"; then
10473 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10476 for as_dir in $PATH
10479 test -z "$as_dir" && as_dir=.
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10482 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10492 CXX=$ac_cv_prog_CXX
10493 if test -n "$CXX"; then
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10495 $as_echo "$CXX" >&6; }
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10498 $as_echo "no" >&6; }
10502 test -n "$CXX" && break
10505 if test -z "$CXX"; then
10507 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10509 # Extract the first word of "$ac_prog", so it can be a program name with args.
10510 set dummy $ac_prog; ac_word=$2
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10512 $as_echo_n "checking for $ac_word... " >&6; }
10513 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10514 $as_echo_n "(cached) " >&6
10516 if test -n "$ac_ct_CXX"; then
10517 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 for as_dir in $PATH
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10526 ac_cv_prog_ac_ct_CXX="$ac_prog"
10527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10537 if test -n "$ac_ct_CXX"; then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10539 $as_echo "$ac_ct_CXX" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10542 $as_echo "no" >&6; }
10546 test -n "$ac_ct_CXX" && break
10549 if test "x$ac_ct_CXX" = x; then
10552 case $cross_compiling:$ac_tool_warned in
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10556 ac_tool_warned=yes ;;
10564 # Provide some information about the compiler.
10565 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10568 for ac_option in --version -v -V -qversion; do
10569 { { ac_try="$ac_compiler $ac_option >&5"
10570 case "(($ac_try" in
10571 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10572 *) ac_try_echo
=$ac_try;;
10574 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10575 $as_echo "$ac_try_echo"; } >&5
10576 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10578 if test -s conftest.err
; then
10580 ... rest of stderr output deleted ...
10581 10q' conftest.err
>conftest.er1
10582 cat conftest.er1
>&5
10584 rm -f conftest.er1 conftest.err
10585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10586 test $ac_status = 0; }
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10590 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10591 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10608 if ac_fn_cxx_try_compile
"$LINENO"; then :
10609 ac_compiler_gnu
=yes
10613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10614 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10618 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10619 if test $ac_compiler_gnu = yes; then
10624 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10625 ac_save_CXXFLAGS
=$CXXFLAGS
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10627 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10628 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10629 $as_echo_n "(cached) " >&6
10631 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10632 ac_cxx_werror_flag
=yes
10633 ac_cv_prog_cxx_g
=no
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10646 if ac_fn_cxx_try_compile
"$LINENO"; then :
10647 ac_cv_prog_cxx_g
=yes
10650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10661 if ac_fn_cxx_try_compile
"$LINENO"; then :
10664 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10677 if ac_fn_cxx_try_compile
"$LINENO"; then :
10678 ac_cv_prog_cxx_g
=yes
10680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10685 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10688 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10689 if test "$ac_test_CXXFLAGS" = set; then
10690 CXXFLAGS
=$ac_save_CXXFLAGS
10691 elif test $ac_cv_prog_cxx_g = yes; then
10692 if test "$GXX" = yes; then
10698 if test "$GXX" = yes; then
10705 ac_cpp
='$CPP $CPPFLAGS'
10706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10710 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10711 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10712 (test "X$CXX" != "Xg++"))) ; then
10714 ac_cpp
='$CXXCPP $CPPFLAGS'
10715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10719 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10720 if test -z "$CXXCPP"; then
10721 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10722 $as_echo_n "(cached) " >&6
10724 # Double quotes because CXXCPP needs to be expanded
10725 for CXXCPP
in "$CXX -E" "/lib/cpp"
10727 ac_preproc_ok
=false
10728 for ac_cxx_preproc_warn_flag
in '' yes
10730 # Use a header file that comes with gcc, so configuring glibc
10731 # with a fresh cross-compiler works.
10732 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10733 # <limits.h> exists even on freestanding compilers.
10734 # On the NeXT, cc -E runs the code through the compiler's parser,
10735 # not just through cpp. "Syntax error" is here to catch this case.
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 # include <limits.h>
10741 # include <assert.h>
10745 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10748 # Broken: fails on valid input.
10751 rm -f conftest.err conftest.
$ac_ext
10753 # OK, works on sane cases. Now check whether nonexistent headers
10754 # can be detected and how.
10755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 #include <ac_nonexistent.h>
10759 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10760 # Broken: success on invalid input.
10763 # Passes both tests.
10767 rm -f conftest.err conftest.
$ac_ext
10770 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10771 rm -f conftest.err conftest.
$ac_ext
10772 if $ac_preproc_ok; then :
10777 ac_cv_prog_CXXCPP
=$CXXCPP
10780 CXXCPP
=$ac_cv_prog_CXXCPP
10782 ac_cv_prog_CXXCPP
=$CXXCPP
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10785 $as_echo "$CXXCPP" >&6; }
10786 ac_preproc_ok
=false
10787 for ac_cxx_preproc_warn_flag
in '' yes
10789 # Use a header file that comes with gcc, so configuring glibc
10790 # with a fresh cross-compiler works.
10791 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10792 # <limits.h> exists even on freestanding compilers.
10793 # On the NeXT, cc -E runs the code through the compiler's parser,
10794 # not just through cpp. "Syntax error" is here to catch this case.
10795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 # include <limits.h>
10800 # include <assert.h>
10804 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10807 # Broken: fails on valid input.
10810 rm -f conftest.err conftest.
$ac_ext
10812 # OK, works on sane cases. Now check whether nonexistent headers
10813 # can be detected and how.
10814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10816 #include <ac_nonexistent.h>
10818 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10819 # Broken: success on invalid input.
10822 # Passes both tests.
10826 rm -f conftest.err conftest.
$ac_ext
10829 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10830 rm -f conftest.err conftest.
$ac_ext
10831 if $ac_preproc_ok; then :
10834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10836 _lt_caught_CXX_error
=yes; }
10840 ac_cpp
='$CPP $CPPFLAGS'
10841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10846 _lt_caught_CXX_error
=yes
10853 ac_cpp
='$CXXCPP $CPPFLAGS'
10854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10858 archive_cmds_need_lc_CXX
=no
10859 allow_undefined_flag_CXX
=
10860 always_export_symbols_CXX
=no
10861 archive_expsym_cmds_CXX
=
10862 compiler_needs_object_CXX
=no
10863 export_dynamic_flag_spec_CXX
=
10864 hardcode_direct_CXX
=no
10865 hardcode_direct_absolute_CXX
=no
10866 hardcode_libdir_flag_spec_CXX
=
10867 hardcode_libdir_flag_spec_ld_CXX
=
10868 hardcode_libdir_separator_CXX
=
10869 hardcode_minus_L_CXX
=no
10870 hardcode_shlibpath_var_CXX
=unsupported
10871 hardcode_automatic_CXX
=no
10872 inherit_rpath_CXX
=no
10874 module_expsym_cmds_CXX
=
10875 link_all_deplibs_CXX
=unknown
10876 old_archive_cmds_CXX
=$old_archive_cmds
10877 no_undefined_flag_CXX
=
10878 whole_archive_flag_spec_CXX
=
10879 enable_shared_with_static_runtimes_CXX
=no
10881 # Source file extension for C++ test sources.
10884 # Object file extension for compiled C++ test sources.
10888 # No sense in running all these tests if we already determined that
10889 # the CXX compiler isn't working. Some variables (like enable_shared)
10890 # are currently assumed to apply to all compilers on this platform,
10891 # and will be corrupted by setting them based on a non-working compiler.
10892 if test "$_lt_caught_CXX_error" != yes; then
10893 # Code to be used in simple compile tests
10894 lt_simple_compile_test_code
="int some_variable = 0;"
10896 # Code to be used in simple link tests
10897 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10899 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10906 # If no C compiler was specified, use CC.
10909 # If no C compiler flags were specified, use CFLAGS.
10910 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10912 # Allow CC to be a program name with arguments.
10916 # save warnings/boilerplate of simple test code
10917 ac_outfile
=conftest.
$ac_objext
10918 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10919 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10920 _lt_compiler_boilerplate
=`cat conftest.err`
10923 ac_outfile
=conftest.
$ac_objext
10924 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10925 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10926 _lt_linker_boilerplate
=`cat conftest.err`
10930 # Allow CC to be a program name with arguments.
10935 lt_save_with_gnu_ld
=$with_gnu_ld
10936 lt_save_path_LD
=$lt_cv_path_LD
10937 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10938 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10940 $as_unset lt_cv_prog_gnu_ld
10942 if test -n "${lt_cv_path_LDCXX+set}"; then
10943 lt_cv_path_LD
=$lt_cv_path_LDCXX
10945 $as_unset lt_cv_path_LD
10947 test -z "${LDCXX+set}" || LD
=$LDCXX
10951 for cc_temp
in $compiler""; do
10953 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10954 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10959 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10962 if test -n "$compiler"; then
10963 # We don't want -fno-exception when compiling C++ code, so set the
10964 # no_builtin_flag separately
10965 if test "$GXX" = yes; then
10966 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10968 lt_prog_compiler_no_builtin_flag_CXX
=
10971 if test "$GXX" = yes; then
10972 # Set up default GNU C++ configuration
10976 # Check whether --with-gnu-ld was given.
10977 if test "${with_gnu_ld+set}" = set; then :
10978 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10984 if test "$GCC" = yes; then
10985 # Check if gcc -print-prog-name=ld gives a path.
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10987 $as_echo_n "checking for ld used by $CC... " >&6; }
10990 # gcc leaves a trailing carriage return which upsets mingw
10991 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10993 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10996 # Accept absolute paths.
10998 re_direlt
='/[^/][^/]*/\.\./'
10999 # Canonicalize the pathname of ld
11000 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11001 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11002 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11004 test -z "$LD" && LD
="$ac_prog"
11007 # If it fails, then pretend we aren't using GCC.
11011 # If it is relative, then search for the first ld in PATH.
11012 with_gnu_ld
=unknown
11015 elif test "$with_gnu_ld" = yes; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11017 $as_echo_n "checking for GNU ld... " >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11020 $as_echo_n "checking for non-GNU ld... " >&6; }
11022 if test "${lt_cv_path_LD+set}" = set; then :
11023 $as_echo_n "(cached) " >&6
11025 if test -z "$LD"; then
11026 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11027 for ac_dir
in $PATH; do
11029 test -z "$ac_dir" && ac_dir
=.
11030 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11031 lt_cv_path_LD
="$ac_dir/$ac_prog"
11032 # Check to see if the program is GNU ld. I'd rather use --version,
11033 # but apparently some variants of GNU ld only accept -v.
11034 # Break only if it was the GNU/non-GNU ld that we prefer.
11035 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11036 *GNU
* | *'with BFD'*)
11037 test "$with_gnu_ld" != no
&& break
11040 test "$with_gnu_ld" != yes && break
11047 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11051 LD
="$lt_cv_path_LD"
11052 if test -n "$LD"; then
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11054 $as_echo "$LD" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11057 $as_echo "no" >&6; }
11059 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11061 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11062 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11063 $as_echo_n "(cached) " >&6
11065 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11066 case `$LD -v 2>&1 </dev/null` in
11067 *GNU
* | *'with BFD'*)
11068 lt_cv_prog_gnu_ld
=yes
11071 lt_cv_prog_gnu_ld
=no
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11076 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11077 with_gnu_ld
=$lt_cv_prog_gnu_ld
11085 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11086 # archiving commands below assume that GNU ld is being used.
11087 if test "$with_gnu_ld" = yes; then
11088 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11089 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'
11091 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11092 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11094 # If archive_cmds runs LD, not CC, wlarc should be empty
11095 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11096 # investigate it a little bit more. (MM)
11099 # ancient GNU ld didn't support --whole-archive et. al.
11100 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11101 $GREP 'no-whole-archive' > /dev
/null
; then
11102 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11104 whole_archive_flag_spec_CXX
=
11110 # A generic and very simple default shared library creation
11111 # command for GNU C++ for the case where it uses the native
11112 # linker, instead of GNU ld. If possible, this setting should
11113 # overridden to take advantage of the native linker features on
11114 # the platform it is being used on.
11115 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11118 # Commands to make compiler produce verbose output that lists
11119 # what "hidden" libraries, object files and flags are used when
11120 # linking a shared library.
11121 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11129 # PORTME: fill in a description of your system's C++ link characteristics
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11131 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11135 # FIXME: insert proper C++ library support
11139 if test "$host_cpu" = ia64
; then
11140 # On IA64, the linker does run time linking by default, so we don't
11141 # have to do anything special.
11142 aix_use_runtimelinking
=no
11143 exp_sym_flag
='-Bexport'
11146 aix_use_runtimelinking
=no
11148 # Test if we are trying to use run time linking or normal
11149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11150 # need to do runtime linking.
11151 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11152 for ld_flag
in $LDFLAGS; do
11155 aix_use_runtimelinking
=yes
11163 exp_sym_flag
='-bexport'
11164 no_entry_flag
='-bnoentry'
11167 # When large executables or shared objects are built, AIX ld can
11168 # have problems creating the table of contents. If linking a library
11169 # or program results in "error TOC overflow" add -mminimal-toc to
11170 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11171 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11173 archive_cmds_CXX
=''
11174 hardcode_direct_CXX
=yes
11175 hardcode_direct_absolute_CXX
=yes
11176 hardcode_libdir_separator_CXX
=':'
11177 link_all_deplibs_CXX
=yes
11178 file_list_spec_CXX
='${wl}-f,'
11180 if test "$GXX" = yes; then
11181 case $host_os in aix4.
[012]|aix4.
[012].
*)
11182 # We only want to do this on AIX 4.2 and lower, the check
11183 # below for broken collect2 doesn't work under 4.3+
11184 collect2name
=`${CC} -print-prog-name=collect2`
11185 if test -f "$collect2name" &&
11186 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11188 # We have reworked collect2
11191 # We have old collect2
11192 hardcode_direct_CXX
=unsupported
11193 # It fails to find uninstalled libraries when the uninstalled
11194 # path is not listed in the libpath. Setting hardcode_minus_L
11195 # to unsupported forces relinking
11196 hardcode_minus_L_CXX
=yes
11197 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11198 hardcode_libdir_separator_CXX
=
11201 shared_flag
='-shared'
11202 if test "$aix_use_runtimelinking" = yes; then
11203 shared_flag
="$shared_flag "'${wl}-G'
11207 if test "$host_cpu" = ia64
; then
11208 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11209 # chokes on -Wl,-G. The following line is correct:
11212 if test "$aix_use_runtimelinking" = yes; then
11213 shared_flag
='${wl}-G'
11215 shared_flag
='${wl}-bM:SRE'
11220 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11221 # It seems that -bexpall does not export symbols beginning with
11222 # underscore (_), so it is better to generate a list of symbols to
11224 always_export_symbols_CXX
=yes
11225 if test "$aix_use_runtimelinking" = yes; then
11226 # Warning - without using the other runtime loading flags (-brtl),
11227 # -berok will link without error, but may produce a broken library.
11228 allow_undefined_flag_CXX
='-berok'
11229 # Determine the default libpath from the value encoded in an empty
11231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11242 if ac_fn_cxx_try_link
"$LINENO"; then :
11244 lt_aix_libpath_sed
='
11245 /Import File Strings/,/^$/ {
11251 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11252 # Check for a 64-bit object if we didn't find anything.
11253 if test -z "$aix_libpath"; then
11254 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11257 rm -f core conftest.err conftest.
$ac_objext \
11258 conftest
$ac_exeext conftest.
$ac_ext
11259 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11261 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11263 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"
11265 if test "$host_cpu" = ia64
; then
11266 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11267 allow_undefined_flag_CXX
="-z nodefs"
11268 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"
11270 # Determine the default libpath from the value encoded in an
11271 # empty executable.
11272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11273 /* end confdefs.h. */
11283 if ac_fn_cxx_try_link
"$LINENO"; then :
11285 lt_aix_libpath_sed
='
11286 /Import File Strings/,/^$/ {
11292 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11293 # Check for a 64-bit object if we didn't find anything.
11294 if test -z "$aix_libpath"; then
11295 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11298 rm -f core conftest.err conftest.
$ac_objext \
11299 conftest
$ac_exeext conftest.
$ac_ext
11300 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11302 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11303 # Warning - without using the other run time loading flags,
11304 # -berok will link without error, but may produce a broken library.
11305 no_undefined_flag_CXX
=' ${wl}-bernotok'
11306 allow_undefined_flag_CXX
=' ${wl}-berok'
11307 # Exported symbols can be pulled into shared objects from archives
11308 whole_archive_flag_spec_CXX
='$convenience'
11309 archive_cmds_need_lc_CXX
=yes
11310 # This is similar to how AIX traditionally builds its shared
11312 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'
11318 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11319 allow_undefined_flag_CXX
=unsupported
11320 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11321 # support --undefined. This deserves some investigation. FIXME
11322 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11329 case $cc_basename in
11331 # FIXME: insert proper C++ library support
11337 cygwin
* | mingw
* | pw32
* | cegcc
*)
11338 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11339 # as there is no search path for DLLs.
11340 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11341 allow_undefined_flag_CXX
=unsupported
11342 always_export_symbols_CXX
=no
11343 enable_shared_with_static_runtimes_CXX
=yes
11345 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11346 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'
11347 # If the export-symbols file already is a .def file (1st line
11348 # is EXPORTS), use it as is; otherwise, prepend...
11349 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11350 cp $export_symbols $output_objdir/$soname.def;
11352 echo EXPORTS > $output_objdir/$soname.def;
11353 cat $export_symbols >> $output_objdir/$soname.def;
11355 $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'
11360 darwin
* | rhapsody
*)
11363 archive_cmds_need_lc_CXX
=no
11364 hardcode_direct_CXX
=no
11365 hardcode_automatic_CXX
=yes
11366 hardcode_shlibpath_var_CXX
=unsupported
11367 whole_archive_flag_spec_CXX
=''
11368 link_all_deplibs_CXX
=yes
11369 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11370 case $cc_basename in
11371 ifort
*) _lt_dar_can_shared
=yes ;;
11372 *) _lt_dar_can_shared
=$GCC ;;
11374 if test "$_lt_dar_can_shared" = "yes"; then
11375 output_verbose_link_cmd
=echo
11376 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}"
11377 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11378 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}"
11379 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}"
11380 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11381 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}"
11382 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}"
11392 case $cc_basename in
11394 # FIXME: insert proper C++ library support
11398 # Green Hills C++ Compiler
11399 # FIXME: insert proper C++ library support
11403 # FIXME: insert proper C++ library support
11410 # C++ shared libraries reported to be fairly broken before
11416 archive_cmds_need_lc_CXX
=no
11419 freebsd
* | dragonfly
*)
11420 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11429 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11430 hardcode_libdir_separator_CXX
=:
11431 export_dynamic_flag_spec_CXX
='${wl}-E'
11432 hardcode_direct_CXX
=yes
11433 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11434 # but as the default
11435 # location of the library.
11437 case $cc_basename in
11439 # FIXME: insert proper C++ library support
11443 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'
11444 # Commands to make compiler produce verbose output that lists
11445 # what "hidden" libraries, object files and flags are used when
11446 # linking a shared library.
11448 # There doesn't appear to be a way to prevent this compiler from
11449 # explicitly linking system object files so we need to strip them
11450 # from the output so that they don't get included in the library
11452 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'
11455 if test "$GXX" = yes; then
11456 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'
11458 # FIXME: insert proper C++ library support
11466 if test $with_gnu_ld = no
; then
11467 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11468 hardcode_libdir_separator_CXX
=:
11474 export_dynamic_flag_spec_CXX
='${wl}-E'
11480 hardcode_direct_CXX
=no
11481 hardcode_shlibpath_var_CXX
=no
11484 hardcode_direct_CXX
=yes
11485 hardcode_direct_absolute_CXX
=yes
11486 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11487 # but as the default
11488 # location of the library.
11492 case $cc_basename in
11494 # FIXME: insert proper C++ library support
11500 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11503 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11506 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11509 # Commands to make compiler produce verbose output that lists
11510 # what "hidden" libraries, object files and flags are used when
11511 # linking a shared library.
11513 # There doesn't appear to be a way to prevent this compiler from
11514 # explicitly linking system object files so we need to strip them
11515 # from the output so that they don't get included in the library
11517 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'
11520 if test "$GXX" = yes; then
11521 if test $with_gnu_ld = no
; then
11524 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11527 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11530 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'
11535 # FIXME: insert proper C++ library support
11543 hardcode_direct_CXX
=no
11544 hardcode_shlibpath_var_CXX
=no
11545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11546 export_dynamic_flag_spec_CXX
='${wl}-E'
11547 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11548 # Instead, shared libraries are loaded at an image base (0x10000000 by
11549 # default) and relocated if they conflict, which is a slow very memory
11550 # consuming and fragmenting process. To avoid this, we pick a random,
11551 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11552 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11553 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'
11554 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'
11557 case $cc_basename in
11560 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'
11562 # Archives containing C++ object files must be created using
11563 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11564 # necessary to make sure instantiated templates are included
11566 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11569 if test "$GXX" = yes; then
11570 if test "$with_gnu_ld" = no
; then
11571 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'
11573 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'
11576 link_all_deplibs_CXX
=yes
11579 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11580 hardcode_libdir_separator_CXX
=:
11581 inherit_rpath_CXX
=yes
11584 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11585 case $cc_basename in
11587 # Kuck and Associates, Inc. (KAI) C++ Compiler
11589 # KCC will only create a shared library if the output file
11590 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11591 # to its proper name (with version) after linking.
11592 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'
11593 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'
11594 # Commands to make compiler produce verbose output that lists
11595 # what "hidden" libraries, object files and flags are used when
11596 # linking a shared library.
11598 # There doesn't appear to be a way to prevent this compiler from
11599 # explicitly linking system object files so we need to strip them
11600 # from the output so that they don't get included in the library
11602 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'
11604 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11605 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11607 # Archives containing C++ object files must be created using
11608 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11609 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11614 # version 8.0 and above of icpc choke on multiply defined symbols
11615 # if we add $predep_objects and $postdep_objects, however 7.1 and
11616 # earlier do not add the objects themselves.
11617 case `$CC -V 2>&1` in
11619 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11620 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'
11622 *) # Version 8.0 or newer
11625 ia64
*) tmp_idyn
=' -i_dynamic';;
11627 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11628 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'
11631 archive_cmds_need_lc_CXX
=no
11632 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11633 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11634 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11637 # Portland Group C++ compiler
11639 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11640 prelink_cmds_CXX
='tpldir=Template.dir~
11642 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11643 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11644 old_archive_cmds_CXX
='tpldir=Template.dir~
11646 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11647 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11649 archive_cmds_CXX
='tpldir=Template.dir~
11651 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11652 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11653 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11655 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11656 $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'
11658 *) # Version 6 will use weak symbols
11659 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11660 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'
11664 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11665 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11666 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'
11670 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11671 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'
11673 runpath_var
=LD_RUN_PATH
11674 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11675 hardcode_libdir_separator_CXX
=:
11677 # Commands to make compiler produce verbose output that lists
11678 # what "hidden" libraries, object files and flags are used when
11679 # linking a shared library.
11681 # There doesn't appear to be a way to prevent this compiler from
11682 # explicitly linking system object files so we need to strip them
11683 # from the output so that they don't get included in the library
11685 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'
11688 # IBM XL 8.0 on PPC, with GNU ld
11689 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11690 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11691 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11692 if test "x$supports_anon_versioning" = xyes
; then
11693 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11694 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11695 echo "local: *; };" >> $output_objdir/$libname.ver~
11696 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11700 case `$CC -V 2>&1 | sed 5q` in
11703 no_undefined_flag_CXX
=' -zdefs'
11704 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11705 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'
11706 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11707 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'
11708 compiler_needs_object_CXX
=yes
11710 # Not sure whether something based on
11711 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11713 output_verbose_link_cmd
='echo'
11715 # Archives containing C++ object files must be created using
11716 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11717 # necessary to make sure instantiated templates are included
11719 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11727 # FIXME: insert proper C++ library support
11732 # FIXME: insert proper C++ library support
11737 case $cc_basename in
11739 # FIXME: insert proper C++ library support
11743 # FIXME: insert proper C++ library support
11750 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11751 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11753 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11754 hardcode_direct_CXX
=yes
11755 hardcode_shlibpath_var_CXX
=no
11757 # Workaround some broken pre-1.5 toolchains
11758 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11766 # C++ shared libraries are fairly broken
11771 if test -f /usr
/libexec
/ld.so
; then
11772 hardcode_direct_CXX
=yes
11773 hardcode_shlibpath_var_CXX
=no
11774 hardcode_direct_absolute_CXX
=yes
11775 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11776 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11777 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11778 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11779 export_dynamic_flag_spec_CXX
='${wl}-E'
11780 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11782 output_verbose_link_cmd
=echo
11788 osf3
* | osf4
* | osf5
*)
11789 case $cc_basename in
11791 # Kuck and Associates, Inc. (KAI) C++ Compiler
11793 # KCC will only create a shared library if the output file
11794 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11795 # to its proper name (with version) after linking.
11796 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'
11798 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11799 hardcode_libdir_separator_CXX
=:
11801 # Archives containing C++ object files must be created using
11802 # the KAI C++ compiler.
11804 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11805 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11809 # Rational C++ 2.4.1
11810 # FIXME: insert proper C++ library support
11816 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11817 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'
11818 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11821 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11822 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'
11823 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11824 echo "-hidden">> $lib.exp~
11825 $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~
11827 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11831 hardcode_libdir_separator_CXX
=:
11833 # Commands to make compiler produce verbose output that lists
11834 # what "hidden" libraries, object files and flags are used when
11835 # linking a shared library.
11837 # There doesn't appear to be a way to prevent this compiler from
11838 # explicitly linking system object files so we need to strip them
11839 # from the output so that they don't get included in the library
11841 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'
11844 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11845 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11848 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'
11851 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'
11855 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11856 hardcode_libdir_separator_CXX
=:
11858 # Commands to make compiler produce verbose output that lists
11859 # what "hidden" libraries, object files and flags are used when
11860 # linking a shared library.
11861 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11864 # FIXME: insert proper C++ library support
11872 # FIXME: insert proper C++ library support
11877 case $cc_basename in
11880 # FIXME: insert proper C++ library support
11885 # FIXME: insert proper C++ library support
11889 # FIXME: insert proper C++ library support
11896 case $cc_basename in
11898 # Sun C++ 4.2, 5.x and Centerline C++
11899 archive_cmds_need_lc_CXX
=yes
11900 no_undefined_flag_CXX
=' -zdefs'
11901 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11902 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11903 $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'
11905 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11906 hardcode_shlibpath_var_CXX
=no
11908 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11910 # The compiler driver will combine and reorder linker options,
11911 # but understands `-z linker_flag'.
11912 # Supported since Solaris 2.6 (maybe 2.5.1?)
11913 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11916 link_all_deplibs_CXX
=yes
11918 output_verbose_link_cmd
='echo'
11920 # Archives containing C++ object files must be created using
11921 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11922 # necessary to make sure instantiated templates are included
11924 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11927 # Green Hills C++ Compiler
11928 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11930 # The C++ compiler must be used to create the archive.
11931 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11934 # GNU C++ compiler with Solaris linker
11935 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11936 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11937 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11938 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11939 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11940 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11942 # Commands to make compiler produce verbose output that lists
11943 # what "hidden" libraries, object files and flags are used when
11944 # linking a shared library.
11945 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11947 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11949 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11950 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11951 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11953 # Commands to make compiler produce verbose output that lists
11954 # what "hidden" libraries, object files and flags are used when
11955 # linking a shared library.
11956 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11959 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11961 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11963 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11971 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11972 no_undefined_flag_CXX
='${wl}-z,text'
11973 archive_cmds_need_lc_CXX
=no
11974 hardcode_shlibpath_var_CXX
=no
11975 runpath_var
='LD_RUN_PATH'
11977 case $cc_basename in
11979 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11980 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11983 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11984 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11989 sysv5
* | sco3.2v5
* | sco5v6
*)
11990 # Note: We can NOT use -z defs as we might desire, because we do not
11991 # link with -lc, and that would cause any symbols used from libc to
11992 # always be unresolved, which means just about no library would
11993 # ever link correctly. If we're not using GNU ld we use -z text
11994 # though, which does catch some bad symbols but isn't as heavy-handed
11996 no_undefined_flag_CXX
='${wl}-z,text'
11997 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11998 archive_cmds_need_lc_CXX
=no
11999 hardcode_shlibpath_var_CXX
=no
12000 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12001 hardcode_libdir_separator_CXX
=':'
12002 link_all_deplibs_CXX
=yes
12003 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12004 runpath_var
='LD_RUN_PATH'
12006 case $cc_basename in
12008 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12009 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12012 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12013 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12019 case $cc_basename in
12021 # NonStop-UX NCC 3.20
12022 # FIXME: insert proper C++ library support
12026 # FIXME: insert proper C++ library support
12033 # FIXME: insert proper C++ library support
12038 # FIXME: insert proper C++ library support
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12044 $as_echo "$ld_shlibs_CXX" >&6; }
12045 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12051 ## There is no encapsulation within the following macros, do not change
12052 ## the running order or otherwise move them around unless you know exactly
12053 ## what you are doing...
12054 # Dependencies to place before and after the object being linked:
12055 predep_objects_CXX
=
12056 postdep_objects_CXX
=
12059 compiler_lib_search_path_CXX
=
12061 cat > conftest.
$ac_ext <<_LT_EOF
12065 Foo (void) { a = 0; }
12071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12072 (eval $ac_compile) 2>&5
12074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075 test $ac_status = 0; }; then
12076 # Parse the compiler output and extract the necessary
12077 # objects, libraries and library flags.
12079 # Sentinel used to keep track of whether or not we are before
12080 # the conftest object file.
12081 pre_test_object_deps_done
=no
12083 for p
in `eval "$output_verbose_link_cmd"`; do
12087 # Some compilers place space between "-{L,R}" and the path.
12088 # Remove the space.
12089 if test $p = "-L" ||
12090 test $p = "-R"; then
12097 if test "$pre_test_object_deps_done" = no
; then
12100 # Internal compiler library paths should come after those
12101 # provided the user. The postdeps already come after the
12102 # user supplied libs so there is no need to process them.
12103 if test -z "$compiler_lib_search_path_CXX"; then
12104 compiler_lib_search_path_CXX
="${prev}${p}"
12106 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12109 # The "-l" case would never come before the object being
12110 # linked, so don't bother handling this case.
12113 if test -z "$postdeps_CXX"; then
12114 postdeps_CXX
="${prev}${p}"
12116 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12122 # This assumes that the test object file only shows up
12123 # once in the compiler output.
12124 if test "$p" = "conftest.$objext"; then
12125 pre_test_object_deps_done
=yes
12129 if test "$pre_test_object_deps_done" = no
; then
12130 if test -z "$predep_objects_CXX"; then
12131 predep_objects_CXX
="$p"
12133 predep_objects_CXX
="$predep_objects_CXX $p"
12136 if test -z "$postdep_objects_CXX"; then
12137 postdep_objects_CXX
="$p"
12139 postdep_objects_CXX
="$postdep_objects_CXX $p"
12144 *) ;; # Ignore the rest.
12152 echo "libtool.m4: error: problem compiling CXX test program"
12155 $RM -f confest.
$objext
12157 # PORTME: override above test on systems where it is broken
12160 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12161 # hack all around it, let's just trust "g++" to DTRT.
12162 predep_objects_CXX
=
12163 postdep_objects_CXX
=
12168 case `$CC -V 2>&1 | sed 5q` in
12172 # The more standards-conforming stlport4 library is
12173 # incompatible with the Cstd library. Avoid specifying
12174 # it if it's in CXXFLAGS. Ignore libCrun as
12175 # -library=stlport4 depends on it.
12176 case " $CXX $CXXFLAGS " in
12177 *" -library=stlport4 "*)
12178 solaris_use_stlport4
=yes
12182 if test "$solaris_use_stlport4" != yes; then
12183 postdeps_CXX
='-library=Cstd -library=Crun'
12190 case $cc_basename in
12192 # The more standards-conforming stlport4 library is
12193 # incompatible with the Cstd library. Avoid specifying
12194 # it if it's in CXXFLAGS. Ignore libCrun as
12195 # -library=stlport4 depends on it.
12196 case " $CXX $CXXFLAGS " in
12197 *" -library=stlport4 "*)
12198 solaris_use_stlport4
=yes
12202 # Adding this requires a known-good setup of shared libraries for
12203 # Sun compiler versions before 5.6, else PIC objects from an old
12204 # archive will be linked into the output, leading to subtle bugs.
12205 if test "$solaris_use_stlport4" != yes; then
12206 postdeps_CXX
='-library=Cstd -library=Crun'
12214 case " $postdeps_CXX " in
12215 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12217 compiler_lib_search_dirs_CXX
=
12218 if test -n "${compiler_lib_search_path_CXX}"; then
12219 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12252 lt_prog_compiler_wl_CXX
=
12253 lt_prog_compiler_pic_CXX
=
12254 lt_prog_compiler_static_CXX
=
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12257 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12259 # C++ specific cases for pic, static, wl, etc.
12260 if test "$GXX" = yes; then
12261 lt_prog_compiler_wl_CXX
='-Wl,'
12262 lt_prog_compiler_static_CXX
='-static'
12266 # All AIX code is PIC.
12267 if test "$host_cpu" = ia64
; then
12268 # AIX 5 now supports IA64 processor
12269 lt_prog_compiler_static_CXX
='-Bstatic'
12276 # see comment about AmigaOS4 .so support
12277 lt_prog_compiler_pic_CXX
='-fPIC'
12280 # FIXME: we need at least 68020 code to build shared libraries, but
12281 # adding the `-m68020' flag to GCC prevents building anything better,
12283 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12288 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12289 # PIC is the default for these OSes.
12291 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12292 # This hack is so that the source file can tell whether it is being
12293 # built for inclusion in a dll (and should export symbols for example).
12294 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12295 # (--disable-auto-import) libraries
12296 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12298 darwin
* | rhapsody
*)
12299 # PIC is the default on this platform
12300 # Common symbols not allowed in MH_DYLIB files
12301 lt_prog_compiler_pic_CXX
='-fno-common'
12304 # DJGPP does not support shared libraries at all
12305 lt_prog_compiler_pic_CXX
=
12308 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12309 # Instead, we relocate shared libraries at runtime.
12312 if test -d /usr
/nec
; then
12313 lt_prog_compiler_pic_CXX
=-Kconform_pic
12317 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12318 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12319 # sets the default TLS model and affects inlining.
12324 lt_prog_compiler_pic_CXX
='-fPIC'
12329 # QNX uses GNU C++, but need to define -shared option too, otherwise
12330 # it will coredump.
12331 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12334 lt_prog_compiler_pic_CXX
='-fPIC'
12340 # All AIX code is PIC.
12341 if test "$host_cpu" = ia64
; then
12342 # AIX 5 now supports IA64 processor
12343 lt_prog_compiler_static_CXX
='-Bstatic'
12345 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12349 case $cc_basename in
12351 # Green Hills C++ Compiler
12352 # _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"
12357 case $cc_basename in
12359 lt_prog_compiler_pic_CXX
='-KPIC'
12362 # Green Hills C++ Compiler
12363 lt_prog_compiler_pic_CXX
='-pic'
12369 freebsd
* | dragonfly
*)
12370 # FreeBSD uses GNU C++
12372 hpux9
* | hpux10
* | hpux11
*)
12373 case $cc_basename in
12375 lt_prog_compiler_wl_CXX
='-Wl,'
12376 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12377 if test "$host_cpu" != ia64
; then
12378 lt_prog_compiler_pic_CXX
='+Z'
12382 lt_prog_compiler_wl_CXX
='-Wl,'
12383 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12389 lt_prog_compiler_pic_CXX
='+Z'
12398 # This is c89, which is MS Visual C++ (no shared libs)
12399 # Anyone wants to do a port?
12401 irix5
* | irix6
* | nonstopux
*)
12402 case $cc_basename in
12404 lt_prog_compiler_wl_CXX
='-Wl,'
12405 lt_prog_compiler_static_CXX
='-non_shared'
12406 # CC pic flag -KPIC is the default.
12412 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12413 case $cc_basename in
12416 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12417 lt_prog_compiler_pic_CXX
='-fPIC'
12420 # old Intel C++ for x86_64 which still supported -KPIC.
12421 lt_prog_compiler_wl_CXX
='-Wl,'
12422 lt_prog_compiler_pic_CXX
='-KPIC'
12423 lt_prog_compiler_static_CXX
='-static'
12426 # Intel C++, used to be incompatible with GCC.
12427 # ICC 10 doesn't accept -KPIC any more.
12428 lt_prog_compiler_wl_CXX
='-Wl,'
12429 lt_prog_compiler_pic_CXX
='-fPIC'
12430 lt_prog_compiler_static_CXX
='-static'
12433 # Portland Group C++ compiler
12434 lt_prog_compiler_wl_CXX
='-Wl,'
12435 lt_prog_compiler_pic_CXX
='-fpic'
12436 lt_prog_compiler_static_CXX
='-Bstatic'
12440 # Make sure the PIC flag is empty. It appears that all Alpha
12441 # Linux and Compaq Tru64 Unix objects are PIC.
12442 lt_prog_compiler_pic_CXX
=
12443 lt_prog_compiler_static_CXX
='-non_shared'
12446 # IBM XL 8.0 on PPC
12447 lt_prog_compiler_wl_CXX
='-Wl,'
12448 lt_prog_compiler_pic_CXX
='-qpic'
12449 lt_prog_compiler_static_CXX
='-qstaticlink'
12452 case `$CC -V 2>&1 | sed 5q` in
12455 lt_prog_compiler_pic_CXX
='-KPIC'
12456 lt_prog_compiler_static_CXX
='-Bstatic'
12457 lt_prog_compiler_wl_CXX
='-Qoption ld '
12468 case $cc_basename in
12470 lt_prog_compiler_pic_CXX
='-W c,exportall'
12476 netbsd
* | netbsdelf
*-gnu)
12479 # QNX uses GNU C++, but need to define -shared option too, otherwise
12480 # it will coredump.
12481 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12483 osf3
* | osf4
* | osf5
*)
12484 case $cc_basename in
12486 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12489 # Rational C++ 2.4.1
12490 lt_prog_compiler_pic_CXX
='-pic'
12493 # Digital/Compaq C++
12494 lt_prog_compiler_wl_CXX
='-Wl,'
12495 # Make sure the PIC flag is empty. It appears that all Alpha
12496 # Linux and Compaq Tru64 Unix objects are PIC.
12497 lt_prog_compiler_pic_CXX
=
12498 lt_prog_compiler_static_CXX
='-non_shared'
12507 case $cc_basename in
12509 # Sun C++ 4.2, 5.x and Centerline C++
12510 lt_prog_compiler_pic_CXX
='-KPIC'
12511 lt_prog_compiler_static_CXX
='-Bstatic'
12512 lt_prog_compiler_wl_CXX
='-Qoption ld '
12515 # Green Hills C++ Compiler
12516 lt_prog_compiler_pic_CXX
='-PIC'
12523 case $cc_basename in
12526 lt_prog_compiler_pic_CXX
='-pic'
12527 lt_prog_compiler_static_CXX
='-Bstatic'
12531 lt_prog_compiler_pic_CXX
='-pic'
12537 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12538 case $cc_basename in
12540 lt_prog_compiler_wl_CXX
='-Wl,'
12541 lt_prog_compiler_pic_CXX
='-KPIC'
12542 lt_prog_compiler_static_CXX
='-Bstatic'
12547 case $cc_basename in
12549 # NonStop-UX NCC 3.20
12550 lt_prog_compiler_pic_CXX
='-KPIC'
12559 lt_prog_compiler_can_build_shared_CXX
=no
12565 # For platforms which do not support PIC, -DPIC is meaningless:
12567 lt_prog_compiler_pic_CXX
=
12570 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12574 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12579 # Check to make sure the PIC flag actually works.
12581 if test -n "$lt_prog_compiler_pic_CXX"; then
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12583 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12584 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12585 $as_echo_n "(cached) " >&6
12587 lt_cv_prog_compiler_pic_works_CXX
=no
12588 ac_outfile
=conftest.
$ac_objext
12589 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12590 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12591 # Insert the option either (1) after the last *FLAGS variable, or
12592 # (2) before a word containing "conftest.", or (3) at the end.
12593 # Note that $ac_compile itself does not contain backslashes and begins
12594 # with a dollar sign (not a hyphen), so the echo should work correctly.
12595 # The option is referenced via a variable to avoid confusing sed.
12596 lt_compile
=`echo "$ac_compile" | $SED \
12597 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12598 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12599 -e 's:$: $lt_compiler_flag:'`
12600 (eval echo "\"\$as_me:12600: $lt_compile\"" >&5)
12601 (eval "$lt_compile" 2>conftest.err
)
12603 cat conftest.err
>&5
12604 echo "$as_me:12604: \$? = $ac_status" >&5
12605 if (exit $ac_status) && test -s "$ac_outfile"; then
12606 # The compiler can only warn and ignore the option if not recognized
12607 # So say no if there are warnings other than the usual output.
12608 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12609 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12610 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12611 lt_cv_prog_compiler_pic_works_CXX
=yes
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12618 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12620 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12621 case $lt_prog_compiler_pic_CXX in
12623 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12626 lt_prog_compiler_pic_CXX
=
12627 lt_prog_compiler_can_build_shared_CXX
=no
12635 # Check to make sure the static flag actually works.
12637 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12639 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12640 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12641 $as_echo_n "(cached) " >&6
12643 lt_cv_prog_compiler_static_works_CXX
=no
12644 save_LDFLAGS
="$LDFLAGS"
12645 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12646 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12647 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12648 # The linker can only warn and ignore the option if not recognized
12649 # So say no if there are warnings
12650 if test -s conftest.err
; then
12651 # Append any errors to the config.log.
12652 cat conftest.err
1>&5
12653 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12654 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12655 if diff conftest.exp conftest.er2
>/dev
/null
; then
12656 lt_cv_prog_compiler_static_works_CXX
=yes
12659 lt_cv_prog_compiler_static_works_CXX
=yes
12663 LDFLAGS
="$save_LDFLAGS"
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12667 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12669 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12672 lt_prog_compiler_static_CXX
=
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12679 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12680 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12681 $as_echo_n "(cached) " >&6
12683 lt_cv_prog_compiler_c_o_CXX
=no
12684 $RM -r conftest
2>/dev
/null
12688 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12690 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12691 # Insert the option either (1) after the last *FLAGS variable, or
12692 # (2) before a word containing "conftest.", or (3) at the end.
12693 # Note that $ac_compile itself does not contain backslashes and begins
12694 # with a dollar sign (not a hyphen), so the echo should work correctly.
12695 lt_compile
=`echo "$ac_compile" | $SED \
12696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12698 -e 's:$: $lt_compiler_flag:'`
12699 (eval echo "\"\$as_me:12699: $lt_compile\"" >&5)
12700 (eval "$lt_compile" 2>out
/conftest.err
)
12702 cat out
/conftest.err
>&5
12703 echo "$as_me:12703: \$? = $ac_status" >&5
12704 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12706 # The compiler can only warn and ignore the option if not recognized
12707 # So say no if there are warnings
12708 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12709 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12710 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12711 lt_cv_prog_compiler_c_o_CXX
=yes
12716 # SGI C++ compiler will create directory out/ii_files/ for
12717 # template instantiation
12718 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12719 $RM out
/* && rmdir out
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12726 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12731 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12732 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12733 $as_echo_n "(cached) " >&6
12735 lt_cv_prog_compiler_c_o_CXX
=no
12736 $RM -r conftest
2>/dev
/null
12740 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12742 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12743 # Insert the option either (1) after the last *FLAGS variable, or
12744 # (2) before a word containing "conftest.", or (3) at the end.
12745 # Note that $ac_compile itself does not contain backslashes and begins
12746 # with a dollar sign (not a hyphen), so the echo should work correctly.
12747 lt_compile
=`echo "$ac_compile" | $SED \
12748 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12749 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12750 -e 's:$: $lt_compiler_flag:'`
12751 (eval echo "\"\$as_me:12751: $lt_compile\"" >&5)
12752 (eval "$lt_compile" 2>out
/conftest.err
)
12754 cat out
/conftest.err
>&5
12755 echo "$as_me:12755: \$? = $ac_status" >&5
12756 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12758 # The compiler can only warn and ignore the option if not recognized
12759 # So say no if there are warnings
12760 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12761 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12762 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12763 lt_cv_prog_compiler_c_o_CXX
=yes
12768 # SGI C++ compiler will create directory out/ii_files/ for
12769 # template instantiation
12770 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12771 $RM out
/* && rmdir out
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12778 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12783 hard_links
="nottested"
12784 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12785 # do not overwrite the value of need_locks provided by the user
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12787 $as_echo_n "checking if we can lock with hard links... " >&6; }
12790 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12792 ln conftest.a conftest.b
2>&5 || hard_links
=no
12793 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12795 $as_echo "$hard_links" >&6; }
12796 if test "$hard_links" = no
; then
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12798 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12808 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12810 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12813 # If we're using GNU nm, then we don't want the "-C" option.
12814 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12815 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12816 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'
12818 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'
12822 export_symbols_cmds_CXX
="$ltdll_cmds"
12824 cygwin
* | mingw
* | cegcc
*)
12825 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'
12827 linux
* | k
*bsd
*-gnu)
12828 link_all_deplibs_CXX
=no
12831 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12834 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12837 $as_echo "$ld_shlibs_CXX" >&6; }
12838 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12840 with_gnu_ld_CXX
=$with_gnu_ld
12848 # Do we need to explicitly link libc?
12850 case "x$archive_cmds_need_lc_CXX" in
12852 # Assume -lc should be added
12853 archive_cmds_need_lc_CXX
=yes
12855 if test "$enable_shared" = yes && test "$GCC" = yes; then
12856 case $archive_cmds_CXX in
12858 # FIXME: we may have to deal with multi-command sequences.
12861 # Test whether the compiler implicitly links with -lc since on some
12862 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12863 # to ld, don't add -lc before -lgcc.
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12865 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12867 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12870 (eval $ac_compile) 2>&5
12872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873 test $ac_status = 0; } 2>conftest.err
; then
12876 libobjs
=conftest.
$ac_objext
12878 wl
=$lt_prog_compiler_wl_CXX
12879 pic_flag
=$lt_prog_compiler_pic_CXX
12885 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12886 allow_undefined_flag_CXX
=
12887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12888 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12891 test $ac_status = 0; }
12893 archive_cmds_need_lc_CXX
=no
12895 archive_cmds_need_lc_CXX
=yes
12897 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12899 cat conftest.err
1>&5
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12903 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12976 library_names_spec
=
12977 libname_spec
='lib$name'
12981 postuninstall_cmds
=
12985 shlibpath_overrides_runpath
=unknown
12987 dynamic_linker
="$host_os ld.so"
12988 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12989 need_lib_prefix
=unknown
12990 hardcode_into_libs
=no
12992 # when you set need_version to no, make sure it does not cause -set_version
12993 # flags to be left without arguments
12994 need_version
=unknown
12999 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13000 shlibpath_var
=LIBPATH
13002 # AIX 3 has no versioning support, so we append a major version to the name.
13003 soname_spec
='${libname}${release}${shared_ext}$major'
13010 hardcode_into_libs
=yes
13011 if test "$host_cpu" = ia64
; then
13012 # AIX 5 supports IA64
13013 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13014 shlibpath_var
=LD_LIBRARY_PATH
13016 # With GCC up to 2.95.x, collect2 would create an import file
13017 # for dependence libraries. The import file would start with
13018 # the line `#! .'. This would cause the generated library to
13019 # depend on `.', always an invalid library. This was fixed in
13020 # development snapshots of GCC prior to 3.0.
13022 aix4
| aix4.
[01] | aix4.
[01].
*)
13023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13025 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13028 can_build_shared
=no
13032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13033 # soname into executable. Probably we can add versioning support to
13034 # collect2, so additional links can be useful in future.
13035 if test "$aix_use_runtimelinking" = yes; then
13036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13037 # instead of lib<name>.a to let people know that these are not
13038 # typical AIX shared libraries.
13039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13041 # We preserve .a as extension for shared libraries through AIX4.2
13042 # and later when we are not doing run time linking.
13043 library_names_spec
='${libname}${release}.a $libname.a'
13044 soname_spec
='${libname}${release}${shared_ext}$major'
13046 shlibpath_var
=LIBPATH
13053 # Since July 2007 AmigaOS4 officially supports .so libraries.
13054 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13058 library_names_spec
='$libname.ixlibrary $libname.a'
13059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13060 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'
13066 library_names_spec
='${libname}${shared_ext}'
13067 dynamic_linker
="$host_os ld.so"
13068 shlibpath_var
=LIBRARY_PATH
13074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13075 soname_spec
='${libname}${release}${shared_ext}$major'
13076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13077 shlibpath_var
=LD_LIBRARY_PATH
13078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13080 # the default ld.so.conf also contains /usr/contrib/lib and
13081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13082 # libtool to hard-code these into programs
13085 cygwin
* | mingw
* | pw32
* | cegcc
*)
13086 version_type
=windows
13091 case $GCC,$host_os in
13092 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13093 library_names_spec
='$libname.dll.a'
13094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13095 postinstall_cmds
='base_file=`basename \${file}`~
13096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13097 dldir=$destdir/`dirname \$dlpath`~
13098 test -d \$dldir || mkdir -p \$dldir~
13099 $install_prog $dir/$dlname \$dldir/$dlname~
13100 chmod a+x \$dldir/$dlname~
13101 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13102 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13104 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13105 dlpath=$dir/\$dldll~
13107 shlibpath_overrides_runpath
=yes
13111 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13112 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13113 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13116 # MinGW DLLs use traditional 'lib' prefix
13117 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13118 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13119 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13120 # It is most probably a Windows format PATH printed by
13121 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13122 # path with ; separators, and with drive letters. We can handle the
13123 # drive letters (cygwin fileutils understands them), so leave them,
13124 # especially as we might pass files found there to a mingw objdump,
13125 # which wouldn't understand a cygwinified path. Ahh.
13126 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13128 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13132 # pw32 DLLs use 'pw' prefix rather than 'lib'
13133 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13139 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13142 dynamic_linker
='Win32 ld.exe'
13143 # FIXME: first we should search . and the directory the executable is in
13147 darwin
* | rhapsody
*)
13148 dynamic_linker
="$host_os dyld"
13149 version_type
=darwin
13152 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13153 soname_spec
='${libname}${release}${major}$shared_ext'
13154 shlibpath_overrides_runpath
=yes
13155 shlibpath_var
=DYLD_LIBRARY_PATH
13156 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13158 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13166 soname_spec
='${libname}${release}${shared_ext}$major'
13167 shlibpath_var
=LD_LIBRARY_PATH
13174 freebsd
* | dragonfly
*)
13175 # DragonFly does not have aout. When/if they implement a new
13176 # versioning mechanism, adjust this.
13177 if test -x /usr
/bin
/objformat
; then
13178 objformat
=`/usr/bin/objformat`
13181 freebsd
[123]*) objformat
=aout
;;
13182 *) objformat
=elf
;;
13185 version_type
=freebsd
-$objformat
13186 case $version_type in
13188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13193 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13197 shlibpath_var
=LD_LIBRARY_PATH
13200 shlibpath_overrides_runpath
=yes
13202 freebsd3.
[01]* | freebsdelf3.
[01]*)
13203 shlibpath_overrides_runpath
=yes
13204 hardcode_into_libs
=yes
13206 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13207 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13208 shlibpath_overrides_runpath
=no
13209 hardcode_into_libs
=yes
13211 *) # from 4.6 on, and DragonFly
13212 shlibpath_overrides_runpath
=yes
13213 hardcode_into_libs
=yes
13222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13223 soname_spec
='${libname}${release}${shared_ext}$major'
13224 shlibpath_var
=LD_LIBRARY_PATH
13225 hardcode_into_libs
=yes
13228 hpux9
* | hpux10
* | hpux11
*)
13229 # Give a soname corresponding to the major version so that dld.sl refuses to
13230 # link against other versions.
13237 hardcode_into_libs
=yes
13238 dynamic_linker
="$host_os dld.so"
13239 shlibpath_var
=LD_LIBRARY_PATH
13240 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13242 soname_spec
='${libname}${release}${shared_ext}$major'
13243 if test "X$HPUX_IA64_MODE" = X32
; then
13244 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13246 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13248 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13252 hardcode_into_libs
=yes
13253 dynamic_linker
="$host_os dld.sl"
13254 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13257 soname_spec
='${libname}${release}${shared_ext}$major'
13258 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13259 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13263 dynamic_linker
="$host_os dld.sl"
13264 shlibpath_var
=SHLIB_PATH
13265 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13266 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13267 soname_spec
='${libname}${release}${shared_ext}$major'
13270 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13271 postinstall_cmds
='chmod 555 $lib'
13278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13279 soname_spec
='${libname}${release}${shared_ext}$major'
13280 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13281 shlibpath_var
=LD_LIBRARY_PATH
13282 shlibpath_overrides_runpath
=no
13283 hardcode_into_libs
=yes
13286 irix5
* | irix6
* | nonstopux
*)
13288 nonstopux
*) version_type
=nonstopux
;;
13290 if test "$lt_cv_prog_gnu_ld" = yes; then
13298 soname_spec
='${libname}${release}${shared_ext}$major'
13299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13301 irix5
* | nonstopux
*)
13302 libsuff
= shlibsuff
=
13305 case $LD in # libtool.m4 will add one of these switches to LD
13306 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13307 libsuff
= shlibsuff
= libmagic
=32-bit;;
13308 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13309 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13310 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13311 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13312 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13316 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13317 shlibpath_overrides_runpath
=no
13318 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13319 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13320 hardcode_into_libs
=yes
13323 # No shared lib support for Linux oldld, aout, or coff.
13324 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13328 # This must be Linux ELF.
13329 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13334 soname_spec
='${libname}${release}${shared_ext}$major'
13335 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13336 shlibpath_var
=LD_LIBRARY_PATH
13337 shlibpath_overrides_runpath
=no
13338 # Some binutils ld are patched to set DT_RUNPATH
13339 save_LDFLAGS
=$LDFLAGS
13340 save_libdir
=$libdir
13341 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13342 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h. */
13354 if ac_fn_cxx_try_link
"$LINENO"; then :
13355 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13356 shlibpath_overrides_runpath
=yes
13359 rm -f core conftest.err conftest.
$ac_objext \
13360 conftest
$ac_exeext conftest.
$ac_ext
13361 LDFLAGS
=$save_LDFLAGS
13362 libdir
=$save_libdir
13364 # This implies no fast_install, which is unacceptable.
13365 # Some rework will be needed to allow for fast_install
13366 # before this can be enabled.
13367 hardcode_into_libs
=yes
13369 # Append ld.so.conf contents to the search path
13370 if test -f /etc
/ld.so.conf
; then
13371 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' ' '`
13372 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13375 # We used to test for /lib/ld.so.1 and disable shared libraries on
13376 # powerpc, because MkLinux only supported shared libraries with the
13377 # GNU dynamic linker. Since this was broken with cross compilers,
13378 # most powerpc-linux boxes support dynamic linking these days and
13379 # people can always --disable-shared, the test was removed, and we
13380 # assume the GNU/Linux dynamic linker is in use.
13381 dynamic_linker
='GNU/Linux ld.so'
13388 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13389 soname_spec
='${libname}${release}${shared_ext}$major'
13390 shlibpath_var
=LD_LIBRARY_PATH
13391 shlibpath_overrides_runpath
=no
13392 hardcode_into_libs
=yes
13393 dynamic_linker
='NetBSD ld.elf_so'
13400 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13403 dynamic_linker
='NetBSD (a.out) ld.so'
13405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13406 soname_spec
='${libname}${release}${shared_ext}$major'
13407 dynamic_linker
='NetBSD ld.elf_so'
13409 shlibpath_var
=LD_LIBRARY_PATH
13410 shlibpath_overrides_runpath
=yes
13411 hardcode_into_libs
=yes
13416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13417 shlibpath_var
=LD_LIBRARY_PATH
13418 shlibpath_overrides_runpath
=yes
13425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13426 soname_spec
='${libname}${release}${shared_ext}$major'
13427 shlibpath_var
=LD_LIBRARY_PATH
13428 shlibpath_overrides_runpath
=no
13429 hardcode_into_libs
=yes
13430 dynamic_linker
='ldqnx.so'
13435 sys_lib_dlsearch_path_spec
="/usr/lib"
13437 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13439 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13440 *) need_version
=no
;;
13442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13443 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13444 shlibpath_var
=LD_LIBRARY_PATH
13445 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13447 openbsd2.
[89] | openbsd2.
[89].
*)
13448 shlibpath_overrides_runpath
=no
13451 shlibpath_overrides_runpath
=yes
13455 shlibpath_overrides_runpath
=yes
13460 libname_spec
='$name'
13463 library_names_spec
='$libname${shared_ext} $libname.a'
13464 dynamic_linker
='OS/2 ld.exe'
13465 shlibpath_var
=LIBPATH
13468 osf3
* | osf4
* | osf5
*)
13472 soname_spec
='${libname}${release}${shared_ext}$major'
13473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13474 shlibpath_var
=LD_LIBRARY_PATH
13475 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13476 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13488 soname_spec
='${libname}${release}${shared_ext}$major'
13489 shlibpath_var
=LD_LIBRARY_PATH
13490 shlibpath_overrides_runpath
=yes
13491 hardcode_into_libs
=yes
13492 # ldd complains unless libraries are executable
13493 postinstall_cmds
='chmod +x $lib'
13498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13499 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13500 shlibpath_var
=LD_LIBRARY_PATH
13501 shlibpath_overrides_runpath
=yes
13502 if test "$with_gnu_ld" = yes; then
13510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13511 soname_spec
='${libname}${release}${shared_ext}$major'
13512 shlibpath_var
=LD_LIBRARY_PATH
13513 case $host_vendor in
13515 shlibpath_overrides_runpath
=no
13517 runpath_var
=LD_RUN_PATH
13525 shlibpath_overrides_runpath
=no
13526 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13532 if test -d /usr
/nec
;then
13534 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13535 soname_spec
='$libname${shared_ext}.$major'
13536 shlibpath_var
=LD_LIBRARY_PATH
13540 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13541 version_type
=freebsd
-elf
13544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13545 soname_spec
='${libname}${release}${shared_ext}$major'
13546 shlibpath_var
=LD_LIBRARY_PATH
13547 shlibpath_overrides_runpath
=yes
13548 hardcode_into_libs
=yes
13549 if test "$with_gnu_ld" = yes; then
13550 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13552 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13555 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13559 sys_lib_dlsearch_path_spec
='/usr/lib'
13563 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13568 shlibpath_var
=LD_LIBRARY_PATH
13569 shlibpath_overrides_runpath
=no
13570 hardcode_into_libs
=yes
13575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13576 soname_spec
='${libname}${release}${shared_ext}$major'
13577 shlibpath_var
=LD_LIBRARY_PATH
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13585 $as_echo "$dynamic_linker" >&6; }
13586 test "$dynamic_linker" = no
&& can_build_shared
=no
13588 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13589 if test "$GCC" = yes; then
13590 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13593 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13594 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13596 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13597 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13636 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13637 hardcode_action_CXX
=
13638 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13639 test -n "$runpath_var_CXX" ||
13640 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13642 # We can hardcode non-existent directories.
13643 if test "$hardcode_direct_CXX" != no
&&
13644 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13645 # have to relink, otherwise we might link with an installed library
13646 # when we should be linking with a yet-to-be-installed one
13647 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13648 test "$hardcode_minus_L_CXX" != no
; then
13649 # Linking always hardcodes the temporary library directory.
13650 hardcode_action_CXX
=relink
13652 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13653 hardcode_action_CXX
=immediate
13656 # We cannot hardcode anything, or else we can only hardcode existing
13658 hardcode_action_CXX
=unsupported
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13661 $as_echo "$hardcode_action_CXX" >&6; }
13663 if test "$hardcode_action_CXX" = relink
||
13664 test "$inherit_rpath_CXX" = yes; then
13665 # Fast installation is not supported
13666 enable_fast_install
=no
13667 elif test "$shlibpath_overrides_runpath" = yes ||
13668 test "$enable_shared" = no
; then
13669 # Fast installation is not necessary
13670 enable_fast_install
=needless
13679 fi # test -n "$compiler"
13685 with_gnu_ld
=$lt_save_with_gnu_ld
13686 lt_cv_path_LDCXX
=$lt_cv_path_LD
13687 lt_cv_path_LD
=$lt_save_path_LD
13688 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13689 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13690 fi # test "$_lt_caught_CXX_error" != yes
13693 ac_cpp
='$CPP $CPPFLAGS'
13694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13700 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
13701 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
13704 if test -n "$ac_tool_prefix"; then
13705 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13710 $as_echo_n "checking for $ac_word... " >&6; }
13711 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
13712 $as_echo_n "(cached) " >&6
13714 if test -n "$OBJCXX"; then
13715 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
13717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13718 for as_dir
in $PATH
13721 test -z "$as_dir" && as_dir
=.
13722 for ac_exec_ext
in '' $ac_executable_extensions; do
13723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13724 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
13725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13734 OBJCXX
=$ac_cv_prog_OBJCXX
13735 if test -n "$OBJCXX"; then
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
13737 $as_echo "$OBJCXX" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740 $as_echo "no" >&6; }
13744 test -n "$OBJCXX" && break
13747 if test -z "$OBJCXX"; then
13748 ac_ct_OBJCXX
=$OBJCXX
13749 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13751 # Extract the first word of "$ac_prog", so it can be a program name with args.
13752 set dummy
$ac_prog; ac_word
=$2
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13754 $as_echo_n "checking for $ac_word... " >&6; }
13755 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
13756 $as_echo_n "(cached) " >&6
13758 if test -n "$ac_ct_OBJCXX"; then
13759 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
13761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13762 for as_dir
in $PATH
13765 test -z "$as_dir" && as_dir
=.
13766 for ac_exec_ext
in '' $ac_executable_extensions; do
13767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13768 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
13769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13778 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
13779 if test -n "$ac_ct_OBJCXX"; then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
13781 $as_echo "$ac_ct_OBJCXX" >&6; }
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13784 $as_echo "no" >&6; }
13788 test -n "$ac_ct_OBJCXX" && break
13791 if test "x$ac_ct_OBJCXX" = x
; then
13794 case $cross_compiling:$ac_tool_warned in
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13798 ac_tool_warned
=yes ;;
13800 OBJCXX
=$ac_ct_OBJCXX
13804 # Provide some information about the compiler.
13805 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
13808 for ac_option
in --version -v -V -qversion; do
13809 { { ac_try
="$ac_compiler $ac_option >&5"
13810 case "(($ac_try" in
13811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13812 *) ac_try_echo=$ac_try;;
13814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13815 $as_echo "$ac_try_echo"; } >&5
13816 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13818 if test -s conftest.err; then
13820 ... rest of stderr output deleted ...
13821 10q' conftest.err >conftest.er1
13822 cat conftest.er1 >&5
13824 rm -f conftest.er1 conftest.err
13825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826 test $ac_status = 0; }
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
13830 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
13831 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
13832 $as_echo_n "(cached) " >&6
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13848 if ac_fn_objcxx_try_compile "$LINENO"; then :
13849 ac_compiler_gnu=yes
13853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13854 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
13858 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
13859 if test $ac_compiler_gnu = yes; then
13864 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
13865 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
13867 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
13868 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
13869 $as_echo_n "(cached) " >&6
13871 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
13872 ac_objcxx_werror_flag=yes
13873 ac_cv_prog_objcxx_g=no
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13886 if ac_fn_objcxx_try_compile "$LINENO"; then :
13887 ac_cv_prog_objcxx_g=yes
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13901 if ac_fn_objcxx_try_compile "$LINENO"; then :
13904 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13917 if ac_fn_objcxx_try_compile "$LINENO"; then :
13918 ac_cv_prog_objcxx_g=yes
13920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13925 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
13928 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
13929 if test "$ac_test_OBJCXXFLAGS" = set; then
13930 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
13931 elif test $ac_cv_prog_objcxx_g = yes; then
13932 if test "$GOBJCXX" = yes; then
13933 OBJCXXFLAGS="-g -O2"
13938 if test "$GOBJCXX" = yes; then
13945 ac_cpp='$CPP $CPPFLAGS'
13946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13951 # Check whether --with-frameworks was given.
13952 if test "${with_frameworks+set}" = set; then :
13953 withval=$with_frameworks;
13954 for framework in $withval; do
13956 for element in -F$framework; do
13958 for x in $CFLAGS; do
13960 acl_save_prefix="$prefix"
13961 prefix="$acl_final_prefix"
13962 acl_save_exec_prefix="$exec_prefix"
13963 exec_prefix="$acl_final_exec_prefix"
13965 exec_prefix="$acl_save_exec_prefix"
13966 prefix="$acl_save_prefix"
13968 if test "X$x" = "X$element"; then
13973 if test -z "$haveit"; then
13974 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
13979 for element in -F$framework; do
13981 for x in $CXXFLAGS; do
13983 acl_save_prefix="$prefix"
13984 prefix="$acl_final_prefix"
13985 acl_save_exec_prefix="$exec_prefix"
13986 exec_prefix="$acl_final_exec_prefix"
13988 exec_prefix="$acl_save_exec_prefix"
13989 prefix="$acl_save_prefix"
13991 if test "X$x" = "X$element"; then
13996 if test -z "$haveit"; then
13997 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14002 for element in -F$framework; do
14004 for x in $OBJCCXXFLAGS; do
14006 acl_save_prefix="$prefix"
14007 prefix="$acl_final_prefix"
14008 acl_save_exec_prefix="$exec_prefix"
14009 exec_prefix="$acl_final_exec_prefix"
14011 exec_prefix="$acl_save_exec_prefix"
14012 prefix="$acl_save_prefix"
14014 if test "X$x" = "X$element"; then
14019 if test -z "$haveit"; then
14020 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14029 ac_cpp='$CXXCPP $CPPFLAGS'
14030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14035 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14036 if test "${ac_cv_path_SED+set}" = set; then :
14037 $as_echo_n "(cached) " >&6
14039 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14040 for ac_i in 1 2 3 4 5 6 7; do
14041 ac_script="$ac_script$as_nl$ac_script"
14043 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14044 { ac_script=; unset ac_script;}
14045 if test -z "$SED"; then
14046 ac_path_SED_found=false
14047 # Loop through the user's path and test for each of PROGNAME-LIST
14048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14049 for as_dir in $PATH
14052 test -z "$as_dir" && as_dir=.
14053 for ac_prog in sed gsed; do
14054 for ac_exec_ext in '' $ac_executable_extensions; do
14055 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14056 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
14057 # Check for GNU ac_path_SED and select it if it is found.
14058 # Check for GNU $ac_path_SED
14059 case `"$ac_path_SED" --version 2>&1` in
14061 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14064 $as_echo_n 0123456789 >"conftest.in"
14067 cat "conftest.in" "conftest.in" >"conftest.tmp"
14068 mv "conftest.tmp" "conftest.in"
14069 cp "conftest.in" "conftest.nl"
14070 $as_echo '' >> "conftest.nl"
14071 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
14072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14073 as_fn_arith $ac_count + 1 && ac_count=$as_val
14074 if test $ac_count -gt ${ac_path_SED_max-0}; then
14075 # Best one so far, save it but keep looking for a better one
14076 ac_cv_path_SED="$ac_path_SED"
14077 ac_path_SED_max=$ac_count
14079 # 10*(2^10) chars as input seems more than enough
14080 test $ac_count -gt 10 && break
14082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14085 $ac_path_SED_found && break 3
14090 if test -z "$ac_cv_path_SED"; then
14091 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
14094 ac_cv_path_SED=$SED
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
14099 $as_echo "$ac_cv_path_SED" >&6; }
14100 SED="$ac_cv_path_SED"
14103 for ac_prog in 'bison -y' byacc
14105 # Extract the first word of "$ac_prog", so it can be a program name with args.
14106 set dummy $ac_prog; ac_word=$2
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14108 $as_echo_n "checking for $ac_word... " >&6; }
14109 if test "${ac_cv_prog_YACC+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14112 if test -n "$YACC"; then
14113 ac_cv_prog_YACC="$YACC" # Let the user override the test.
14115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14116 for as_dir in $PATH
14119 test -z "$as_dir" && as_dir=.
14120 for ac_exec_ext in '' $ac_executable_extensions; do
14121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14122 ac_cv_prog_YACC="$ac_prog"
14123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14132 YACC=$ac_cv_prog_YACC
14133 if test -n "$YACC"; then
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14135 $as_echo "$YACC" >&6; }
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14138 $as_echo "no" >&6; }
14142 test -n "$YACC" && break
14144 test -n "$YACC" || YACC="yacc"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
14151 $as_echo_n "checking if bison is the parser generator... " >&6; }
14152 if test "${ax_cv_prog_bison+set}" = set; then :
14153 $as_echo_n "(cached) " >&6
14156 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
14158 ax_cv_prog_bison=yes
14162 ax_cv_prog_bison=no
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
14168 $as_echo "$ax_cv_prog_bison" >&6; }
14169 if test "$ax_cv_prog_bison" = yes; then :
14173 BISON=`echo $YACC | $SED -e 's/ -y//'`
14174 BISON_VERSION=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
14180 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14184 for ac_prog in gawk mawk nawk awk
14186 # Extract the first word of "$ac_prog", so it can be a program name with args.
14187 set dummy $ac_prog; ac_word=$2
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14189 $as_echo_n "checking for $ac_word... " >&6; }
14190 if test "${ac_cv_prog_AWK+set}" = set; then :
14191 $as_echo_n "(cached) " >&6
14193 if test -n "$AWK"; then
14194 ac_cv_prog_AWK="$AWK" # Let the user override the test.
14196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14197 for as_dir in $PATH
14200 test -z "$as_dir" && as_dir=.
14201 for ac_exec_ext in '' $ac_executable_extensions; do
14202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14203 ac_cv_prog_AWK="$ac_prog"
14204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14213 AWK=$ac_cv_prog_AWK
14214 if test -n "$AWK"; then
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
14216 $as_echo "$AWK" >&6; }
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14219 $as_echo "no" >&6; }
14223 test -n "$AWK" && break
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5
14227 $as_echo_n "checking if bison is >= 2.3... " >&6; }
14228 as_arg_v1=$BISON_VERSION
14230 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14235 $as_echo "no" >&6; }
14236 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14240 $as_echo "yes" >&6; } ;; #(
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14243 $as_echo "yes" >&6; } ;; #(
14248 # expand $ac_aux_dir to an absolute path
14249 am_aux_dir=`cd $ac_aux_dir && pwd`
14251 if test x"${MISSING+set}" != xset; then
14252 case $am_aux_dir in
14254 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
14256 MISSING="\${SHELL} $am_aux_dir/missing" ;;
14259 # Use eval to expand $SHELL
14260 if eval "$MISSING --run true"; then
14261 am_missing_run="$MISSING --run "
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing
' script is too old or missing" >&5
14265 $as_echo "$as_me: WARNING: \`missing' script is too old or missing
" >&2;}
14268 for ac_prog in flex lex
14270 # Extract the first word of "$ac_prog", so it can be a program name with args.
14271 set dummy $ac_prog; ac_word=$2
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14273 $as_echo_n "checking
for $ac_word...
" >&6; }
14274 if test "${ac_cv_prog_LEX+set}" = set; then :
14275 $as_echo_n "(cached
) " >&6
14277 if test -n "$LEX"; then
14278 ac_cv_prog_LEX="$LEX" # Let the user override the test.
14280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281 for as_dir in $PATH
14284 test -z "$as_dir" && as_dir=.
14285 for ac_exec_ext in '' $ac_executable_extensions; do
14286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287 ac_cv_prog_LEX="$ac_prog"
14288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14297 LEX=$ac_cv_prog_LEX
14298 if test -n "$LEX"; then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
14300 $as_echo "$LEX" >&6; }
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14303 $as_echo "no
" >&6; }
14307 test -n "$LEX" && break
14309 test -n "$LEX" || LEX=":"
14311 if test "x
$LEX" != "x
:"; then
14312 cat >conftest.l <<_ACEOF
14318 e { yyless (input () != 0); }
14319 f { unput (yytext[0]); }
14320 . { BEGIN INITIAL; }
14322 #ifdef YYTEXT_POINTER
14323 extern char *yytext;
14328 return ! yylex () + ! yywrap ();
14331 { { ac_try="$LEX conftest.l
"
14332 case "(($ac_try" in
14333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14334 *) ac_try_echo=$ac_try;;
14336 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14337 $as_echo "$ac_try_echo"; } >&5
14338 (eval "$LEX conftest.l
") 2>&5
14340 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
14341 test $ac_status = 0; }
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex output
file root
" >&5
14343 $as_echo_n "checking
lex output
file root...
" >&6; }
14344 if test "${ac_cv_prog_lex_root+set}" = set; then :
14345 $as_echo_n "(cached
) " >&6
14348 if test -f lex.yy.c; then
14349 ac_cv_prog_lex_root=lex.yy
14350 elif test -f lexyy.c; then
14351 ac_cv_prog_lex_root=lexyy
14353 as_fn_error "cannot
find output from
$LEX; giving up
" "$LINENO" 5
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_root" >&5
14357 $as_echo "$ac_cv_prog_lex_root" >&6; }
14358 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14360 if test -z "${LEXLIB+set}"; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex library
" >&5
14362 $as_echo_n "checking
lex library...
" >&6; }
14363 if test "${ac_cv_lib_lex+set}" = set; then :
14364 $as_echo_n "(cached
) " >&6
14368 ac_cv_lib_lex='none needed'
14369 for ac_lib in '' -lfl -ll; do
14370 LIBS="$ac_lib $ac_save_LIBS"
14371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 `cat $LEX_OUTPUT_ROOT.c`
14375 if ac_fn_cxx_try_link "$LINENO"; then :
14376 ac_cv_lib_lex=$ac_lib
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 test "$ac_cv_lib_lex" != 'none needed' && break
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_lex" >&5
14386 $as_echo "$ac_cv_lib_lex" >&6; }
14387 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer
" >&5
14392 $as_echo_n "checking whether yytext is a pointer...
" >&6; }
14393 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14394 $as_echo_n "(cached
) " >&6
14396 # POSIX says lex can declare yytext either as a pointer or an array; the
14397 # default is implementation-dependent. Figure out which it is, since
14398 # not all implementations provide the %pointer and %array declarations.
14399 ac_cv_prog_lex_yytext_pointer=no
14401 LIBS="$LEXLIB $ac_save_LIBS"
14402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14403 /* end confdefs.h. */
14404 #define YYTEXT_POINTER 1
14405 `cat $LEX_OUTPUT_ROOT.c`
14407 if ac_fn_cxx_try_link "$LINENO"; then :
14408 ac_cv_prog_lex_yytext_pointer=yes
14410 rm -f core conftest.err conftest.$ac_objext \
14411 conftest$ac_exeext conftest.$ac_ext
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_yytext_pointer" >&5
14416 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14417 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14419 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14422 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
14425 if test "$LEX" = :; then
14426 LEX
=${am_missing_run}flex
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
14433 $as_echo_n "checking if flex is the lexer generator... " >&6; }
14434 if test "${ax_cv_prog_flex+set}" = set; then :
14435 $as_echo_n "(cached) " >&6
14438 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
14440 ax_cv_prog_flex
=yes
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14450 $as_echo "$ax_cv_prog_flex" >&6; }
14451 if test "$ax_cv_prog_flex" = yes; then :
14456 FLEX_VERSION
=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14462 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14467 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14468 as_arg_v1
=$FLEX_VERSION
14470 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14475 $as_echo "no" >&6; }
14476 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14480 $as_echo "yes" >&6; } ;; #(
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14483 $as_echo "yes" >&6; } ;; #(
14488 for ac_prog
in bash
14490 # Extract the first word of "$ac_prog", so it can be a program name with args.
14491 set dummy
$ac_prog; ac_word
=$2
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14493 $as_echo_n "checking for $ac_word... " >&6; }
14494 if test "${ac_cv_prog__BASH+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14497 if test -n "$_BASH"; then
14498 ac_cv_prog__BASH
="$_BASH" # Let the user override the test.
14500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14501 for as_dir
in $PATH
14504 test -z "$as_dir" && as_dir
=.
14505 for ac_exec_ext
in '' $ac_executable_extensions; do
14506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14507 ac_cv_prog__BASH
="$ac_prog"
14508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14517 _BASH
=$ac_cv_prog__BASH
14518 if test -n "$_BASH"; then
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14520 $as_echo "$_BASH" >&6; }
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14523 $as_echo "no" >&6; }
14527 test -n "$_BASH" && break
14531 for ac_prog
in gperf
14533 # Extract the first word of "$ac_prog", so it can be a program name with args.
14534 set dummy
$ac_prog; ac_word
=$2
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14536 $as_echo_n "checking for $ac_word... " >&6; }
14537 if test "${ac_cv_prog_GPERF+set}" = set; then :
14538 $as_echo_n "(cached) " >&6
14540 if test -n "$GPERF"; then
14541 ac_cv_prog_GPERF
="$GPERF" # Let the user override the test.
14543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14544 for as_dir
in $PATH
14547 test -z "$as_dir" && as_dir
=.
14548 for ac_exec_ext
in '' $ac_executable_extensions; do
14549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14550 ac_cv_prog_GPERF
="$ac_prog"
14551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14560 GPERF
=$ac_cv_prog_GPERF
14561 if test -n "$GPERF"; then
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14563 $as_echo "$GPERF" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14566 $as_echo "no" >&6; }
14570 test -n "$GPERF" && break
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14574 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14575 GPERF_VERSION
=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14576 as_arg_v1
=$GPERF_VERSION
14578 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14583 $as_echo "no" >&6; }
14584 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14588 $as_echo "yes" >&6; } ;; #(
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14591 $as_echo "yes" >&6; } ;; #(
14595 for ac_prog
in time
14597 # Extract the first word of "$ac_prog", so it can be a program name with args.
14598 set dummy
$ac_prog; ac_word
=$2
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14600 $as_echo_n "checking for $ac_word... " >&6; }
14601 if test "${ac_cv_prog_TIME+set}" = set; then :
14602 $as_echo_n "(cached) " >&6
14604 if test -n "$TIME"; then
14605 ac_cv_prog_TIME
="$TIME" # Let the user override the test.
14607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14608 for as_dir
in $PATH
14611 test -z "$as_dir" && as_dir
=.
14612 for ac_exec_ext
in '' $ac_executable_extensions; do
14613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14614 ac_cv_prog_TIME
="$ac_prog"
14615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14624 TIME
=$ac_cv_prog_TIME
14625 if test -n "$TIME"; then
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14627 $as_echo "$TIME" >&6; }
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14630 $as_echo "no" >&6; }
14634 test -n "$TIME" && break
14640 if test "$target_os" = "os2-emx"; then
14641 # Scripts don't pass test -x on OS/2
14647 acceptable_majors
="1"
14649 apr_temp_acceptable_apr_config
=""
14650 for apr_temp_major
in $acceptable_majors
14652 case $apr_temp_major in
14654 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
14657 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14663 $as_echo_n "checking for APR... " >&6; }
14665 # Check whether --with-apr was given.
14666 if test "${with_apr+set}" = set; then :
14668 if test "$withval" = "no" || test "$withval" = "yes"; then
14669 as_fn_error
"--with-apr requires a directory or file to be provided" "$LINENO" 5
14672 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14674 for lookdir
in "$withval/bin" "$withval"
14676 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14677 apr_config
="$lookdir/$apr_temp_apr_config_file"
14685 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
14686 apr_config
="$withval"
14690 if test "$apr_found" != "yes"; then
14691 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
14696 if test -n "1" && test "1" = "1"; then
14697 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14699 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
14700 apr_config
="$apr_temp_apr_config_file"
14705 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
14706 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14707 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
14716 if test "$apr_found" = "no" && test -d ""; then
14717 apr_temp_abs_srcdir
="`cd && pwd`"
14718 apr_found
="reconfig"
14719 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
14720 case $apr_bundled_major in
14722 as_fn_error
"failed to find major version of bundled APR" "$LINENO" 5
14725 apr_temp_apr_config_file
="apr-config"
14728 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
14731 if test -n ""; then
14732 apr_config
="/$apr_temp_apr_config_file"
14734 apr_config
="/$apr_temp_apr_config_file"
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14742 $as_echo "$apr_found" >&6; }
14744 case $apr_found in #(
14748 for element
in `$apr_config --includes`; do
14750 for x
in $CPPFLAGS; do
14752 acl_save_prefix
="$prefix"
14753 prefix
="$acl_final_prefix"
14754 acl_save_exec_prefix
="$exec_prefix"
14755 exec_prefix
="$acl_final_exec_prefix"
14757 exec_prefix
="$acl_save_exec_prefix"
14758 prefix
="$acl_save_prefix"
14760 if test "X$x" = "X$element"; then
14765 if test -z "$haveit"; then
14766 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14770 LTLIBAPR
=`$apr_config --link-libtool`
14774 as_fn_error
"You need apr" "$LINENO" 5 ;;
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14779 $as_echo_n "checking for a readline compatible library... " >&6; }
14780 if test "${vl_cv_lib_readline+set}" = set; then :
14781 $as_echo_n "(cached) " >&6
14785 for readline_lib
in readline edit editline
; do
14786 for termcap_lib
in "" termcap curses ncurses
; do
14787 if test -z "$termcap_lib"; then
14788 TRY_LIB
="-l$readline_lib"
14790 TRY_LIB
="-l$readline_lib -l$termcap_lib"
14792 LIBS
="$ORIG_LIBS $TRY_LIB"
14793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14806 return readline ();
14811 if ac_fn_cxx_try_link
"$LINENO"; then :
14812 vl_cv_lib_readline
="$TRY_LIB"
14814 rm -f core conftest.err conftest.
$ac_objext \
14815 conftest
$ac_exeext conftest.
$ac_ext
14816 if test -n "$vl_cv_lib_readline"; then
14820 if test -n "$vl_cv_lib_readline"; then
14824 if test -z "$vl_cv_lib_readline"; then
14825 vl_cv_lib_readline
="no"
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14831 $as_echo "$vl_cv_lib_readline" >&6; }
14833 if test "$vl_cv_lib_readline" != "no"; then
14835 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14837 for ac_header
in readline.h readline
/readline.h
14839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14840 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14841 eval as_val
=\$
$as_ac_Header
14842 if test "x$as_val" = x
""yes; then :
14843 cat >>confdefs.h
<<_ACEOF
14844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14852 $as_echo_n "checking whether readline supports history... " >&6; }
14853 if test "${vl_cv_lib_readline_history+set}" = set; then :
14854 $as_echo_n "(cached) " >&6
14857 vl_cv_lib_readline_history
="no"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14867 char add_history ();
14871 return add_history ();
14876 if ac_fn_cxx_try_link
"$LINENO"; then :
14877 vl_cv_lib_readline_history
="yes"
14879 rm -f core conftest.err conftest.
$ac_objext \
14880 conftest
$ac_exeext conftest.
$ac_ext
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14884 $as_echo "$vl_cv_lib_readline_history" >&6; }
14885 if test "$vl_cv_lib_readline_history" = "yes"; then
14887 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14889 for ac_header
in history.h readline
/history.h
14891 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14892 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14893 eval as_val
=\$
$as_ac_Header
14894 if test "x$as_val" = x
""yes; then :
14895 cat >>confdefs.h
<<_ACEOF
14896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14906 # Find a good install program. We prefer a C program (faster),
14907 # so one script is as good as another. But avoid the broken or
14908 # incompatible versions:
14909 # SysV /etc/install, /usr/sbin/install
14910 # SunOS /usr/etc/install
14911 # IRIX /sbin/install
14913 # AmigaOS /C/install, which installs bootblocks on floppy discs
14914 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14915 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14916 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14917 # OS/2's system install, which has a completely different semantic
14918 # ./install, which can be erroneously created by make from ./install.sh.
14919 # Reject install programs that cannot install multiple files.
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14921 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14922 if test -z "$INSTALL"; then
14923 if test "${ac_cv_path_install+set}" = set; then :
14924 $as_echo_n "(cached) " >&6
14926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14927 for as_dir
in $PATH
14930 test -z "$as_dir" && as_dir
=.
14931 # Account for people who put trailing slashes in PATH elements.
14932 case $as_dir/ in #((
14933 .
/ | .
// | /[cC
]/* | \
14934 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14935 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14938 # OSF1 and SCO ODT 3.0 have their own names for install.
14939 # Don't use installbsd from OSF since it installs stuff as root
14941 for ac_prog
in ginstall scoinst
install; do
14942 for ac_exec_ext
in '' $ac_executable_extensions; do
14943 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14944 if test $ac_prog = install &&
14945 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14946 # AIX install. It has an incompatible calling convention.
14948 elif test $ac_prog = install &&
14949 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14950 # program-specific install script used by HP pwplus--don't use.
14953 rm -rf conftest.one conftest.two conftest.dir
14954 echo one
> conftest.one
14955 echo two
> conftest.two
14957 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14958 test -s conftest.one
&& test -s conftest.two
&&
14959 test -s conftest.dir
/conftest.one
&&
14960 test -s conftest.dir
/conftest.two
14962 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14975 rm -rf conftest.one conftest.two conftest.dir
14978 if test "${ac_cv_path_install+set}" = set; then
14979 INSTALL
=$ac_cv_path_install
14981 # As a last resort, use the slow shell script. Don't cache a
14982 # value for INSTALL within a source directory, because that will
14983 # break other packages using the cache if that directory is
14984 # removed, or if the value is a relative name.
14985 INSTALL
=$ac_install_sh
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14989 $as_echo "$INSTALL" >&6; }
14991 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14992 # It thinks the first close brace ends the variable substitution.
14993 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14995 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14997 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
15000 ac_cpp
='$CPP $CPPFLAGS'
15001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15006 if test "X$prefix" = "XNONE"; then
15007 acl_final_prefix
="$ac_default_prefix"
15009 acl_final_prefix
="$prefix"
15011 if test "X$exec_prefix" = "XNONE"; then
15012 acl_final_exec_prefix
='${prefix}'
15014 acl_final_exec_prefix
="$exec_prefix"
15016 acl_save_prefix
="$prefix"
15017 prefix
="$acl_final_prefix"
15018 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15019 prefix
="$acl_save_prefix"
15022 # Check whether --with-gnu-ld was given.
15023 if test "${with_gnu_ld+set}" = set; then :
15024 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
15029 # Prepare PATH_SEPARATOR.
15030 # The user is always right.
15031 if test "${PATH_SEPARATOR+set}" != set; then
15032 echo "#! /bin/sh" >conf$$.sh
15033 echo "exit 0" >>conf$$.sh
15035 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15043 if test "$GCC" = yes; then
15044 # Check if gcc -print-prog-name=ld gives a path.
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15046 $as_echo_n "checking for ld used by GCC... " >&6; }
15049 # gcc leaves a trailing carriage return which upsets mingw
15050 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15052 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15055 # Accept absolute paths.
15056 [\\/]* | [A
-Za-z]:[\\/]*)
15057 re_direlt
='/[^/][^/]*/\.\./'
15058 # Canonicalize the path of ld
15059 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
15060 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
15061 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
15063 test -z "$LD" && LD
="$ac_prog"
15066 # If it fails, then pretend we aren't using GCC.
15070 # If it is relative, then search for the first ld in PATH.
15071 with_gnu_ld
=unknown
15074 elif test "$with_gnu_ld" = yes; then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15076 $as_echo_n "checking for GNU ld... " >&6; }
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15079 $as_echo_n "checking for non-GNU ld... " >&6; }
15081 if test "${acl_cv_path_LD+set}" = set; then :
15082 $as_echo_n "(cached) " >&6
15084 if test -z "$LD"; then
15085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
15086 for ac_dir
in $PATH; do
15087 test -z "$ac_dir" && ac_dir
=.
15088 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15089 acl_cv_path_LD
="$ac_dir/$ac_prog"
15090 # Check to see if the program is GNU ld. I'd rather use --version,
15091 # but apparently some GNU ld's only accept -v.
15092 # Break only if it was the GNU/non-GNU ld that we prefer.
15093 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15094 *GNU
* | *'with BFD'*)
15095 test "$with_gnu_ld" != no
&& break ;;
15097 test "$with_gnu_ld" != yes && break ;;
15103 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
15107 LD
="$acl_cv_path_LD"
15108 if test -n "$LD"; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15110 $as_echo "$LD" >&6; }
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15113 $as_echo "no" >&6; }
15115 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15117 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15118 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
15119 $as_echo_n "(cached) " >&6
15121 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15122 case `$LD -v 2>&1 </dev/null` in
15123 *GNU
* | *'with BFD'*)
15124 acl_cv_prog_gnu_ld
=yes ;;
15126 acl_cv_prog_gnu_ld
=no
;;
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15130 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15131 with_gnu_ld
=$acl_cv_prog_gnu_ld
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15137 $as_echo_n "checking for shared library run path origin... " >&6; }
15138 if test "${acl_cv_rpath+set}" = set; then :
15139 $as_echo_n "(cached) " >&6
15142 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
15143 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15145 rm -f .
/conftest.sh
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15150 $as_echo "$acl_cv_rpath" >&6; }
15152 acl_libext
="$acl_cv_libext"
15153 acl_shlibext
="$acl_cv_shlibext"
15154 acl_libname_spec
="$acl_cv_libname_spec"
15155 acl_library_names_spec
="$acl_cv_library_names_spec"
15156 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
15157 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
15158 acl_hardcode_direct
="$acl_cv_hardcode_direct"
15159 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
15160 # Check whether --enable-rpath was given.
15161 if test "${enable_rpath+set}" = set; then :
15162 enableval
=$enable_rpath; :
15170 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15171 if test -n "$searchpath"; then
15172 acl_save_IFS
="${IFS= }"; IFS
=":"
15173 for searchdir
in $searchpath; do
15174 if test -d "$searchdir"; then
15175 case "$searchdir" in
15176 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
15177 *) searchdir
=`cd "$searchdir" && pwd`
15178 case "$searchdir" in
15179 */lib64
) acl_libdirstem
=lib64
;;
15184 IFS
="$acl_save_IFS"
15197 acl_save_prefix
="$prefix"
15198 prefix
="$acl_final_prefix"
15199 acl_save_exec_prefix
="$exec_prefix"
15200 exec_prefix
="$acl_final_exec_prefix"
15202 eval additional_includedir
=\"$includedir\"
15203 eval additional_libdir
=\"$libdir\"
15205 exec_prefix
="$acl_save_exec_prefix"
15206 prefix
="$acl_save_prefix"
15209 # Check whether --with-libiconv-prefix was given.
15210 if test "${with_libiconv_prefix+set}" = set; then :
15211 withval
=$with_libiconv_prefix;
15212 if test "X$withval" = "Xno"; then
15215 if test "X$withval" = "X"; then
15217 acl_save_prefix
="$prefix"
15218 prefix
="$acl_final_prefix"
15219 acl_save_exec_prefix
="$exec_prefix"
15220 exec_prefix
="$acl_final_exec_prefix"
15222 eval additional_includedir
=\"$includedir\"
15223 eval additional_libdir
=\"$libdir\"
15225 exec_prefix
="$acl_save_exec_prefix"
15226 prefix
="$acl_save_prefix"
15229 additional_includedir
="$withval/include"
15230 additional_libdir
="$withval/$acl_libdirstem"
15242 names_already_handled
=
15243 names_next_round
='iconv '
15244 while test -n "$names_next_round"; do
15245 names_this_round
="$names_next_round"
15247 for name
in $names_this_round; do
15249 for n
in $names_already_handled; do
15250 if test "$n" = "$name"; then
15251 already_handled
=yes
15255 if test -z "$already_handled"; then
15256 names_already_handled
="$names_already_handled $name"
15257 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15258 eval value
=\"\
$HAVE_LIB$uppername\"
15259 if test -n "$value"; then
15260 if test "$value" = yes; then
15261 eval value
=\"\
$LIB$uppername\"
15262 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
15263 eval value
=\"\
$LTLIB$uppername\"
15264 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
15273 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
15274 if test -n "$acl_shlibext"; then
15275 shrext
=".$acl_shlibext" # typically: shrext=.so
15279 if test $use_additional = yes; then
15280 dir
="$additional_libdir"
15281 if test -n "$acl_shlibext"; then
15282 if test -f "$dir/$libname$shrext"; then
15284 found_so
="$dir/$libname$shrext"
15286 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15287 ver
=`(cd "$dir" && \
15288 for f in "$libname$shrext".*; do echo "$f"; done \
15289 | sed -e "s,^$libname$shrext\\\\.,," \
15290 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15291 | sed 1q ) 2>/dev/null`
15292 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15294 found_so
="$dir/$libname$shrext.$ver"
15297 eval library_names
=\"$acl_library_names_spec\"
15298 for f
in $library_names; do
15299 if test -f "$dir/$f"; then
15308 if test "X$found_dir" = "X"; then
15309 if test -f "$dir/$libname.$acl_libext"; then
15311 found_a
="$dir/$libname.$acl_libext"
15314 if test "X$found_dir" != "X"; then
15315 if test -f "$dir/$libname.la"; then
15316 found_la
="$dir/$libname.la"
15320 if test "X$found_dir" = "X"; then
15321 for x
in $LDFLAGS $LTLIBICONV; do
15323 acl_save_prefix
="$prefix"
15324 prefix
="$acl_final_prefix"
15325 acl_save_exec_prefix
="$exec_prefix"
15326 exec_prefix
="$acl_final_exec_prefix"
15328 exec_prefix
="$acl_save_exec_prefix"
15329 prefix
="$acl_save_prefix"
15333 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15334 if test -n "$acl_shlibext"; then
15335 if test -f "$dir/$libname$shrext"; then
15337 found_so
="$dir/$libname$shrext"
15339 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15340 ver
=`(cd "$dir" && \
15341 for f in "$libname$shrext".*; do echo "$f"; done \
15342 | sed -e "s,^$libname$shrext\\\\.,," \
15343 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15344 | sed 1q ) 2>/dev/null`
15345 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15347 found_so
="$dir/$libname$shrext.$ver"
15350 eval library_names
=\"$acl_library_names_spec\"
15351 for f
in $library_names; do
15352 if test -f "$dir/$f"; then
15361 if test "X$found_dir" = "X"; then
15362 if test -f "$dir/$libname.$acl_libext"; then
15364 found_a
="$dir/$libname.$acl_libext"
15367 if test "X$found_dir" != "X"; then
15368 if test -f "$dir/$libname.la"; then
15369 found_la
="$dir/$libname.la"
15374 if test "X$found_dir" != "X"; then
15379 if test "X$found_dir" != "X"; then
15380 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15381 if test "X$found_so" != "X"; then
15382 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15383 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15386 for x
in $ltrpathdirs; do
15387 if test "X$x" = "X$found_dir"; then
15392 if test -z "$haveit"; then
15393 ltrpathdirs
="$ltrpathdirs $found_dir"
15395 if test "$acl_hardcode_direct" = yes; then
15396 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15398 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
15399 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15401 for x
in $rpathdirs; do
15402 if test "X$x" = "X$found_dir"; then
15407 if test -z "$haveit"; then
15408 rpathdirs
="$rpathdirs $found_dir"
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$found_dir"; then
15427 if test -z "$haveit"; then
15428 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15430 if test "$acl_hardcode_minus_L" != no
; then
15431 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15433 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15439 if test "X$found_a" != "X"; then
15440 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
15442 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15445 additional_includedir
=
15446 case "$found_dir" in
15447 */$acl_libdirstem | */$acl_libdirstem/)
15448 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15449 LIBICONV_PREFIX
="$basedir"
15450 additional_includedir
="$basedir/include"
15453 if test "X$additional_includedir" != "X"; then
15454 if test "X$additional_includedir" != "X/usr/include"; then
15456 if test "X$additional_includedir" = "X/usr/local/include"; then
15457 if test -n "$GCC"; then
15459 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15463 if test -z "$haveit"; then
15464 for x
in $CPPFLAGS $INCICONV; do
15466 acl_save_prefix
="$prefix"
15467 prefix
="$acl_final_prefix"
15468 acl_save_exec_prefix
="$exec_prefix"
15469 exec_prefix
="$acl_final_exec_prefix"
15471 exec_prefix
="$acl_save_exec_prefix"
15472 prefix
="$acl_save_prefix"
15474 if test "X$x" = "X-I$additional_includedir"; then
15479 if test -z "$haveit"; then
15480 if test -d "$additional_includedir"; then
15481 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15487 if test -n "$found_la"; then
15488 save_libdir
="$libdir"
15489 case "$found_la" in
15490 */* | *\\*) .
"$found_la" ;;
15491 *) .
"./$found_la" ;;
15493 libdir
="$save_libdir"
15494 for dep
in $dependency_libs; do
15497 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15498 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15500 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15501 if test -n "$GCC"; then
15503 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15507 if test -z "$haveit"; then
15509 for x
in $LDFLAGS $LIBICONV; do
15511 acl_save_prefix
="$prefix"
15512 prefix
="$acl_final_prefix"
15513 acl_save_exec_prefix
="$exec_prefix"
15514 exec_prefix
="$acl_final_exec_prefix"
15516 exec_prefix
="$acl_save_exec_prefix"
15517 prefix
="$acl_save_prefix"
15519 if test "X$x" = "X-L$additional_libdir"; then
15524 if test -z "$haveit"; then
15525 if test -d "$additional_libdir"; then
15526 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15530 for x
in $LDFLAGS $LTLIBICONV; do
15532 acl_save_prefix
="$prefix"
15533 prefix
="$acl_final_prefix"
15534 acl_save_exec_prefix
="$exec_prefix"
15535 exec_prefix
="$acl_final_exec_prefix"
15537 exec_prefix
="$acl_save_exec_prefix"
15538 prefix
="$acl_save_prefix"
15540 if test "X$x" = "X-L$additional_libdir"; then
15545 if test -z "$haveit"; then
15546 if test -d "$additional_libdir"; then
15547 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15554 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15555 if test "$enable_rpath" != no
; then
15557 for x
in $rpathdirs; do
15558 if test "X$x" = "X$dir"; then
15563 if test -z "$haveit"; then
15564 rpathdirs
="$rpathdirs $dir"
15567 for x
in $ltrpathdirs; do
15568 if test "X$x" = "X$dir"; then
15573 if test -z "$haveit"; then
15574 ltrpathdirs
="$ltrpathdirs $dir"
15579 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15582 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15585 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15586 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15592 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15593 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15599 if test "X$rpathdirs" != "X"; then
15600 if test -n "$acl_hardcode_libdir_separator"; then
15602 for found_dir
in $rpathdirs; do
15603 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15605 acl_save_libdir
="$libdir"
15607 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15608 libdir
="$acl_save_libdir"
15609 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15611 for found_dir
in $rpathdirs; do
15612 acl_save_libdir
="$libdir"
15613 libdir
="$found_dir"
15614 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15615 libdir
="$acl_save_libdir"
15616 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15620 if test "X$ltrpathdirs" != "X"; then
15621 for found_dir
in $ltrpathdirs; do
15622 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15632 am_save_CPPFLAGS
="$CPPFLAGS"
15634 for element
in $INCICONV; do
15636 for x
in $CPPFLAGS; do
15638 acl_save_prefix
="$prefix"
15639 prefix
="$acl_final_prefix"
15640 acl_save_exec_prefix
="$exec_prefix"
15641 exec_prefix
="$acl_final_exec_prefix"
15643 exec_prefix
="$acl_save_exec_prefix"
15644 prefix
="$acl_save_prefix"
15646 if test "X$x" = "X$element"; then
15651 if test -z "$haveit"; then
15652 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15658 $as_echo_n "checking for iconv... " >&6; }
15659 if test "${am_cv_func_iconv+set}" = set; then :
15660 $as_echo_n "(cached) " >&6
15663 am_cv_func_iconv
="no, consider installing GNU libiconv"
15665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15667 #include <stdlib.h>
15672 iconv_t cd = iconv_open("","");
15673 iconv(cd,NULL,NULL,NULL,NULL);
15679 if ac_fn_c_try_link
"$LINENO"; then :
15680 am_cv_func_iconv
=yes
15682 rm -f core conftest.err conftest.
$ac_objext \
15683 conftest
$ac_exeext conftest.
$ac_ext
15684 if test "$am_cv_func_iconv" != yes; then
15685 am_save_LIBS
="$LIBS"
15686 LIBS
="$LIBS $LIBICONV"
15687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15689 #include <stdlib.h>
15694 iconv_t cd = iconv_open("","");
15695 iconv(cd,NULL,NULL,NULL,NULL);
15701 if ac_fn_c_try_link
"$LINENO"; then :
15702 am_cv_lib_iconv
=yes
15703 am_cv_func_iconv
=yes
15705 rm -f core conftest.err conftest.
$ac_objext \
15706 conftest
$ac_exeext conftest.
$ac_ext
15707 LIBS
="$am_save_LIBS"
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15712 $as_echo "$am_cv_func_iconv" >&6; }
15713 if test "$am_cv_func_iconv" = yes; then
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15715 $as_echo_n "checking for working iconv... " >&6; }
15716 if test "${am_cv_func_iconv_works+set}" = set; then :
15717 $as_echo_n "(cached) " >&6
15720 am_save_LIBS
="$LIBS"
15721 if test $am_cv_lib_iconv = yes; then
15722 LIBS
="$LIBS $LIBICONV"
15724 if test "$cross_compiling" = yes; then :
15726 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15727 *) am_cv_func_iconv_works
="guessing yes" ;;
15730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15731 /* end confdefs.h. */
15734 #include <string.h>
15737 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15740 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15741 if (cd_utf8_to_88591 != (iconv_t)(-1))
15743 static const char input[] = "\342\202\254"; /* EURO SIGN */
15745 const char *inptr = input;
15746 size_t inbytesleft = strlen (input);
15747 char *outptr = buf;
15748 size_t outbytesleft = sizeof (buf);
15749 size_t res = iconv (cd_utf8_to_88591,
15750 (char **) &inptr, &inbytesleft,
15751 &outptr, &outbytesleft);
15756 #if 0 /* This bug could be worked around by the caller. */
15757 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15759 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15760 if (cd_88591_to_utf8 != (iconv_t)(-1))
15762 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15764 const char *inptr = input;
15765 size_t inbytesleft = strlen (input);
15766 char *outptr = buf;
15767 size_t outbytesleft = sizeof (buf);
15768 size_t res = iconv (cd_88591_to_utf8,
15769 (char **) &inptr, &inbytesleft,
15770 &outptr, &outbytesleft);
15776 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15778 if (/* Try standardized names. */
15779 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15780 /* Try IRIX, OSF/1 names. */
15781 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15782 /* Try AIX names. */
15783 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15784 /* Try HP-UX names. */
15785 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15790 if ac_fn_c_try_run
"$LINENO"; then :
15791 am_cv_func_iconv_works
=yes
15793 am_cv_func_iconv_works
=no
15795 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15796 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15799 LIBS
="$am_save_LIBS"
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15803 $as_echo "$am_cv_func_iconv_works" >&6; }
15804 case "$am_cv_func_iconv_works" in
15805 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15806 *) am_func_iconv
=yes ;;
15809 am_func_iconv
=no am_cv_lib_iconv
=no
15811 if test "$am_func_iconv" = yes; then
15813 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15816 if test "$am_cv_lib_iconv" = yes; then
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15818 $as_echo_n "checking how to link with libiconv... " >&6; }
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15820 $as_echo "$LIBICONV" >&6; }
15822 CPPFLAGS
="$am_save_CPPFLAGS"
15829 if test "$am_cv_func_iconv" = yes; then
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15831 $as_echo_n "checking for iconv declaration... " >&6; }
15832 if test "${am_cv_proto_iconv+set}" = set; then :
15833 $as_echo_n "(cached) " >&6
15836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 #include <stdlib.h>
15845 #if defined(__STDC__) || defined(__cplusplus)
15846 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15859 if ac_fn_c_try_compile
"$LINENO"; then :
15860 am_cv_proto_iconv_arg1
=""
15862 am_cv_proto_iconv_arg1
="const"
15864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15865 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);"
15868 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15870 }$am_cv_proto_iconv" >&5
15872 }$am_cv_proto_iconv" >&6; }
15874 cat >>confdefs.h
<<_ACEOF
15875 #define ICONV_CONST $am_cv_proto_iconv_arg1
15881 ac_cpp
='$CXXCPP $CPPFLAGS'
15882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15886 case $am_cv_func_iconv in #(
15890 as_fn_error
"You need iconv" "$LINENO" 5 ;;
15894 # Check whether --enable-javascript was given.
15895 if test "${enable_javascript+set}" = set; then :
15896 enableval
=$enable_javascript;
15897 case $enableval in #(
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15904 $as_echo_n "checking for WEBKIT... " >&6; }
15906 if test -n "$PKG_CONFIG"; then
15907 if test -n "$WEBKIT_CFLAGS"; then
15908 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15910 if test -n "$PKG_CONFIG" && \
15911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15912 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15915 test $ac_status = 0; }; then
15916 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
15924 if test -n "$PKG_CONFIG"; then
15925 if test -n "$WEBKIT_LIBS"; then
15926 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15928 if test -n "$PKG_CONFIG" && \
15929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15930 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15933 test $ac_status = 0; }; then
15934 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
15945 if test $pkg_failed = yes; then
15947 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15948 _pkg_short_errors_supported
=yes
15950 _pkg_short_errors_supported
=no
15952 if test $_pkg_short_errors_supported = yes; then
15953 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15955 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15957 # Put the nasty error message in config.log where it belongs
15958 echo "$WEBKIT_PKG_ERRORS" >&5
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15961 $as_echo "no" >&6; }
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15966 $as_echo_n "checking for WEBKIT... " >&6; }
15968 if test -n "$PKG_CONFIG"; then
15969 if test -n "$WEBKIT_CFLAGS"; then
15970 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15972 if test -n "$PKG_CONFIG" && \
15973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15974 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15977 test $ac_status = 0; }; then
15978 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15986 if test -n "$PKG_CONFIG"; then
15987 if test -n "$WEBKIT_LIBS"; then
15988 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15990 if test -n "$PKG_CONFIG" && \
15991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15992 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995 test $ac_status = 0; }; then
15996 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16007 if test $pkg_failed = yes; then
16009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16010 _pkg_short_errors_supported
=yes
16012 _pkg_short_errors_supported
=no
16014 if test $_pkg_short_errors_supported = yes; then
16015 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16017 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16019 # Put the nasty error message in config.log where it belongs
16020 echo "$WEBKIT_PKG_ERRORS" >&5
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16023 $as_echo "no" >&6; }
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16027 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16028 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16029 $as_echo_n "(cached) " >&6
16032 ac_check_framework_save_LIBS
=$LIBS
16033 LIBS
="-framework JavaScriptCore $LIBS"
16034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16035 /* end confdefs.h. */
16037 #include <JavaScriptCore/JSBase.h>
16042 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16047 if ac_fn_cxx_try_link
"$LINENO"; then :
16049 ac_cv_framework_JavaScriptCore
=yes
16052 ac_cv_framework_JavaScriptCore
=no
16054 rm -f core conftest.err conftest.
$ac_objext \
16055 conftest
$ac_exeext conftest.
$ac_ext
16056 LIBS
=$ac_check_framework_save_LIBS
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16060 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16061 if test $ac_cv_framework_JavaScriptCore = yes; then :
16064 for element
in "-framework JavaScriptCore $LIBS"; do
16068 acl_save_prefix
="$prefix"
16069 prefix
="$acl_final_prefix"
16070 acl_save_exec_prefix
="$exec_prefix"
16071 exec_prefix
="$acl_final_exec_prefix"
16073 exec_prefix
="$acl_save_exec_prefix"
16074 prefix
="$acl_save_prefix"
16076 if test "X$x" = "X$element"; then
16081 if test -z "$haveit"; then
16082 LIBS
="${LIBS}${LIBS:+ }$element"
16090 elif test $pkg_failed = untried
; then
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16094 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16095 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16096 $as_echo_n "(cached) " >&6
16099 ac_check_framework_save_LIBS
=$LIBS
16100 LIBS
="-framework JavaScriptCore $LIBS"
16101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16104 #include <JavaScriptCore/JSBase.h>
16109 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16114 if ac_fn_cxx_try_link
"$LINENO"; then :
16116 ac_cv_framework_JavaScriptCore
=yes
16119 ac_cv_framework_JavaScriptCore
=no
16121 rm -f core conftest.err conftest.
$ac_objext \
16122 conftest
$ac_exeext conftest.
$ac_ext
16123 LIBS
=$ac_check_framework_save_LIBS
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16127 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16128 if test $ac_cv_framework_JavaScriptCore = yes; then :
16131 for element
in "-framework JavaScriptCore $LIBS"; do
16135 acl_save_prefix
="$prefix"
16136 prefix
="$acl_final_prefix"
16137 acl_save_exec_prefix
="$exec_prefix"
16138 exec_prefix
="$acl_final_exec_prefix"
16140 exec_prefix
="$acl_save_exec_prefix"
16141 prefix
="$acl_save_prefix"
16143 if test "X$x" = "X$element"; then
16148 if test -z "$haveit"; then
16149 LIBS
="${LIBS}${LIBS:+ }$element"
16158 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16159 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16161 $as_echo "yes" >&6; }
16165 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16167 for x
in $CXXFLAGS; do
16169 acl_save_prefix
="$prefix"
16170 prefix
="$acl_final_prefix"
16171 acl_save_exec_prefix
="$exec_prefix"
16172 exec_prefix
="$acl_final_exec_prefix"
16174 exec_prefix
="$acl_save_exec_prefix"
16175 prefix
="$acl_save_prefix"
16177 if test "X$x" = "X$element"; then
16182 if test -z "$haveit"; then
16183 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16188 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16192 acl_save_prefix
="$prefix"
16193 prefix
="$acl_final_prefix"
16194 acl_save_exec_prefix
="$exec_prefix"
16195 exec_prefix
="$acl_final_exec_prefix"
16197 exec_prefix
="$acl_save_exec_prefix"
16198 prefix
="$acl_save_prefix"
16200 if test "X$x" = "X$element"; then
16205 if test -z "$haveit"; then
16206 LIBS
="${LIBS}${LIBS:+ }$element"
16213 elif test $pkg_failed = untried
; then
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16218 $as_echo_n "checking for WEBKIT... " >&6; }
16220 if test -n "$PKG_CONFIG"; then
16221 if test -n "$WEBKIT_CFLAGS"; then
16222 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16224 if test -n "$PKG_CONFIG" && \
16225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16226 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16229 test $ac_status = 0; }; then
16230 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16238 if test -n "$PKG_CONFIG"; then
16239 if test -n "$WEBKIT_LIBS"; then
16240 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16242 if test -n "$PKG_CONFIG" && \
16243 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16244 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16247 test $ac_status = 0; }; then
16248 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16259 if test $pkg_failed = yes; then
16261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16262 _pkg_short_errors_supported
=yes
16264 _pkg_short_errors_supported
=no
16266 if test $_pkg_short_errors_supported = yes; then
16267 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16269 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16271 # Put the nasty error message in config.log where it belongs
16272 echo "$WEBKIT_PKG_ERRORS" >&5
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16275 $as_echo "no" >&6; }
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16279 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16280 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16281 $as_echo_n "(cached) " >&6
16284 ac_check_framework_save_LIBS
=$LIBS
16285 LIBS
="-framework JavaScriptCore $LIBS"
16286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 #include <JavaScriptCore/JSBase.h>
16294 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16299 if ac_fn_cxx_try_link
"$LINENO"; then :
16301 ac_cv_framework_JavaScriptCore
=yes
16304 ac_cv_framework_JavaScriptCore
=no
16306 rm -f core conftest.err conftest.
$ac_objext \
16307 conftest
$ac_exeext conftest.
$ac_ext
16308 LIBS
=$ac_check_framework_save_LIBS
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16312 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16313 if test $ac_cv_framework_JavaScriptCore = yes; then :
16316 for element
in "-framework JavaScriptCore $LIBS"; do
16320 acl_save_prefix
="$prefix"
16321 prefix
="$acl_final_prefix"
16322 acl_save_exec_prefix
="$exec_prefix"
16323 exec_prefix
="$acl_final_exec_prefix"
16325 exec_prefix
="$acl_save_exec_prefix"
16326 prefix
="$acl_save_prefix"
16328 if test "X$x" = "X$element"; then
16333 if test -z "$haveit"; then
16334 LIBS
="${LIBS}${LIBS:+ }$element"
16342 elif test $pkg_failed = untried
; then
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16346 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16347 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16348 $as_echo_n "(cached) " >&6
16351 ac_check_framework_save_LIBS
=$LIBS
16352 LIBS
="-framework JavaScriptCore $LIBS"
16353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16356 #include <JavaScriptCore/JSBase.h>
16361 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16366 if ac_fn_cxx_try_link
"$LINENO"; then :
16368 ac_cv_framework_JavaScriptCore
=yes
16371 ac_cv_framework_JavaScriptCore
=no
16373 rm -f core conftest.err conftest.
$ac_objext \
16374 conftest
$ac_exeext conftest.
$ac_ext
16375 LIBS
=$ac_check_framework_save_LIBS
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16379 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16380 if test $ac_cv_framework_JavaScriptCore = yes; then :
16383 for element
in "-framework JavaScriptCore $LIBS"; do
16387 acl_save_prefix
="$prefix"
16388 prefix
="$acl_final_prefix"
16389 acl_save_exec_prefix
="$exec_prefix"
16390 exec_prefix
="$acl_final_exec_prefix"
16392 exec_prefix
="$acl_save_exec_prefix"
16393 prefix
="$acl_save_prefix"
16395 if test "X$x" = "X$element"; then
16400 if test -z "$haveit"; then
16401 LIBS
="${LIBS}${LIBS:+ }$element"
16410 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16411 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16413 $as_echo "yes" >&6; }
16417 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16419 for x
in $CXXFLAGS; do
16421 acl_save_prefix
="$prefix"
16422 prefix
="$acl_final_prefix"
16423 acl_save_exec_prefix
="$exec_prefix"
16424 exec_prefix
="$acl_final_exec_prefix"
16426 exec_prefix
="$acl_save_exec_prefix"
16427 prefix
="$acl_save_prefix"
16429 if test "X$x" = "X$element"; then
16434 if test -z "$haveit"; then
16435 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16440 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16444 acl_save_prefix
="$prefix"
16445 prefix
="$acl_final_prefix"
16446 acl_save_exec_prefix
="$exec_prefix"
16447 exec_prefix
="$acl_final_exec_prefix"
16449 exec_prefix
="$acl_save_exec_prefix"
16450 prefix
="$acl_save_prefix"
16452 if test "X$x" = "X$element"; then
16457 if test -z "$haveit"; then
16458 LIBS
="${LIBS}${LIBS:+ }$element"
16466 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16467 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16469 $as_echo "yes" >&6; }
16473 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
16475 for x
in $CXXFLAGS; do
16477 acl_save_prefix
="$prefix"
16478 prefix
="$acl_final_prefix"
16479 acl_save_exec_prefix
="$exec_prefix"
16480 exec_prefix
="$acl_final_exec_prefix"
16482 exec_prefix
="$acl_save_exec_prefix"
16483 prefix
="$acl_save_prefix"
16485 if test "X$x" = "X$element"; then
16490 if test -z "$haveit"; then
16491 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16496 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
16500 acl_save_prefix
="$prefix"
16501 prefix
="$acl_final_prefix"
16502 acl_save_exec_prefix
="$exec_prefix"
16503 exec_prefix
="$acl_final_exec_prefix"
16505 exec_prefix
="$acl_save_exec_prefix"
16506 prefix
="$acl_save_prefix"
16508 if test "X$x" = "X$element"; then
16513 if test -z "$haveit"; then
16514 LIBS
="${LIBS}${LIBS:+ }$element"
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16533 $as_echo_n "checking for WEBKIT... " >&6; }
16535 if test -n "$PKG_CONFIG"; then
16536 if test -n "$WEBKIT_CFLAGS"; then
16537 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16539 if test -n "$PKG_CONFIG" && \
16540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16541 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16544 test $ac_status = 0; }; then
16545 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
16553 if test -n "$PKG_CONFIG"; then
16554 if test -n "$WEBKIT_LIBS"; then
16555 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16557 if test -n "$PKG_CONFIG" && \
16558 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16559 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562 test $ac_status = 0; }; then
16563 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
16574 if test $pkg_failed = yes; then
16576 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16577 _pkg_short_errors_supported
=yes
16579 _pkg_short_errors_supported
=no
16581 if test $_pkg_short_errors_supported = yes; then
16582 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16584 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16586 # Put the nasty error message in config.log where it belongs
16587 echo "$WEBKIT_PKG_ERRORS" >&5
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16590 $as_echo "no" >&6; }
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16595 $as_echo_n "checking for WEBKIT... " >&6; }
16597 if test -n "$PKG_CONFIG"; then
16598 if test -n "$WEBKIT_CFLAGS"; then
16599 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16601 if test -n "$PKG_CONFIG" && \
16602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16603 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16606 test $ac_status = 0; }; then
16607 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16615 if test -n "$PKG_CONFIG"; then
16616 if test -n "$WEBKIT_LIBS"; then
16617 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16619 if test -n "$PKG_CONFIG" && \
16620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16621 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16624 test $ac_status = 0; }; then
16625 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16636 if test $pkg_failed = yes; then
16638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16639 _pkg_short_errors_supported
=yes
16641 _pkg_short_errors_supported
=no
16643 if test $_pkg_short_errors_supported = yes; then
16644 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16646 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16648 # Put the nasty error message in config.log where it belongs
16649 echo "$WEBKIT_PKG_ERRORS" >&5
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16652 $as_echo "no" >&6; }
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16656 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16657 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16658 $as_echo_n "(cached) " >&6
16661 ac_check_framework_save_LIBS
=$LIBS
16662 LIBS
="-framework JavaScriptCore $LIBS"
16663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 #include <JavaScriptCore/JSBase.h>
16671 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16676 if ac_fn_cxx_try_link
"$LINENO"; then :
16678 ac_cv_framework_JavaScriptCore
=yes
16681 ac_cv_framework_JavaScriptCore
=no
16683 rm -f core conftest.err conftest.
$ac_objext \
16684 conftest
$ac_exeext conftest.
$ac_ext
16685 LIBS
=$ac_check_framework_save_LIBS
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16689 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16690 if test $ac_cv_framework_JavaScriptCore = yes; then :
16693 for element
in "-framework JavaScriptCore $LIBS"; do
16697 acl_save_prefix
="$prefix"
16698 prefix
="$acl_final_prefix"
16699 acl_save_exec_prefix
="$exec_prefix"
16700 exec_prefix
="$acl_final_exec_prefix"
16702 exec_prefix
="$acl_save_exec_prefix"
16703 prefix
="$acl_save_prefix"
16705 if test "X$x" = "X$element"; then
16710 if test -z "$haveit"; then
16711 LIBS
="${LIBS}${LIBS:+ }$element"
16719 elif test $pkg_failed = untried
; then
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16723 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16724 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16725 $as_echo_n "(cached) " >&6
16728 ac_check_framework_save_LIBS
=$LIBS
16729 LIBS
="-framework JavaScriptCore $LIBS"
16730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 #include <JavaScriptCore/JSBase.h>
16738 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16743 if ac_fn_cxx_try_link
"$LINENO"; then :
16745 ac_cv_framework_JavaScriptCore
=yes
16748 ac_cv_framework_JavaScriptCore
=no
16750 rm -f core conftest.err conftest.
$ac_objext \
16751 conftest
$ac_exeext conftest.
$ac_ext
16752 LIBS
=$ac_check_framework_save_LIBS
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16756 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16757 if test $ac_cv_framework_JavaScriptCore = yes; then :
16760 for element
in "-framework JavaScriptCore $LIBS"; do
16764 acl_save_prefix
="$prefix"
16765 prefix
="$acl_final_prefix"
16766 acl_save_exec_prefix
="$exec_prefix"
16767 exec_prefix
="$acl_final_exec_prefix"
16769 exec_prefix
="$acl_save_exec_prefix"
16770 prefix
="$acl_save_prefix"
16772 if test "X$x" = "X$element"; then
16777 if test -z "$haveit"; then
16778 LIBS
="${LIBS}${LIBS:+ }$element"
16787 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16788 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16790 $as_echo "yes" >&6; }
16794 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16796 for x
in $CXXFLAGS; do
16798 acl_save_prefix
="$prefix"
16799 prefix
="$acl_final_prefix"
16800 acl_save_exec_prefix
="$exec_prefix"
16801 exec_prefix
="$acl_final_exec_prefix"
16803 exec_prefix
="$acl_save_exec_prefix"
16804 prefix
="$acl_save_prefix"
16806 if test "X$x" = "X$element"; then
16811 if test -z "$haveit"; then
16812 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16817 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16821 acl_save_prefix
="$prefix"
16822 prefix
="$acl_final_prefix"
16823 acl_save_exec_prefix
="$exec_prefix"
16824 exec_prefix
="$acl_final_exec_prefix"
16826 exec_prefix
="$acl_save_exec_prefix"
16827 prefix
="$acl_save_prefix"
16829 if test "X$x" = "X$element"; then
16834 if test -z "$haveit"; then
16835 LIBS
="${LIBS}${LIBS:+ }$element"
16842 elif test $pkg_failed = untried
; then
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16847 $as_echo_n "checking for WEBKIT... " >&6; }
16849 if test -n "$PKG_CONFIG"; then
16850 if test -n "$WEBKIT_CFLAGS"; then
16851 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16853 if test -n "$PKG_CONFIG" && \
16854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16855 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16858 test $ac_status = 0; }; then
16859 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16867 if test -n "$PKG_CONFIG"; then
16868 if test -n "$WEBKIT_LIBS"; then
16869 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16871 if test -n "$PKG_CONFIG" && \
16872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16873 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16876 test $ac_status = 0; }; then
16877 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16888 if test $pkg_failed = yes; then
16890 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16891 _pkg_short_errors_supported
=yes
16893 _pkg_short_errors_supported
=no
16895 if test $_pkg_short_errors_supported = yes; then
16896 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16898 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16900 # Put the nasty error message in config.log where it belongs
16901 echo "$WEBKIT_PKG_ERRORS" >&5
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16904 $as_echo "no" >&6; }
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16908 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16909 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16910 $as_echo_n "(cached) " >&6
16913 ac_check_framework_save_LIBS
=$LIBS
16914 LIBS
="-framework JavaScriptCore $LIBS"
16915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16918 #include <JavaScriptCore/JSBase.h>
16923 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16928 if ac_fn_cxx_try_link
"$LINENO"; then :
16930 ac_cv_framework_JavaScriptCore
=yes
16933 ac_cv_framework_JavaScriptCore
=no
16935 rm -f core conftest.err conftest.
$ac_objext \
16936 conftest
$ac_exeext conftest.
$ac_ext
16937 LIBS
=$ac_check_framework_save_LIBS
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16941 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16942 if test $ac_cv_framework_JavaScriptCore = yes; then :
16945 for element
in "-framework JavaScriptCore $LIBS"; do
16949 acl_save_prefix
="$prefix"
16950 prefix
="$acl_final_prefix"
16951 acl_save_exec_prefix
="$exec_prefix"
16952 exec_prefix
="$acl_final_exec_prefix"
16954 exec_prefix
="$acl_save_exec_prefix"
16955 prefix
="$acl_save_prefix"
16957 if test "X$x" = "X$element"; then
16962 if test -z "$haveit"; then
16963 LIBS
="${LIBS}${LIBS:+ }$element"
16971 elif test $pkg_failed = untried
; then
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16975 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16976 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16980 ac_check_framework_save_LIBS
=$LIBS
16981 LIBS
="-framework JavaScriptCore $LIBS"
16982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16985 #include <JavaScriptCore/JSBase.h>
16990 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16995 if ac_fn_cxx_try_link
"$LINENO"; then :
16997 ac_cv_framework_JavaScriptCore
=yes
17000 ac_cv_framework_JavaScriptCore
=no
17002 rm -f core conftest.err conftest.
$ac_objext \
17003 conftest
$ac_exeext conftest.
$ac_ext
17004 LIBS
=$ac_check_framework_save_LIBS
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17008 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17009 if test $ac_cv_framework_JavaScriptCore = yes; then :
17012 for element
in "-framework JavaScriptCore $LIBS"; do
17016 acl_save_prefix
="$prefix"
17017 prefix
="$acl_final_prefix"
17018 acl_save_exec_prefix
="$exec_prefix"
17019 exec_prefix
="$acl_final_exec_prefix"
17021 exec_prefix
="$acl_save_exec_prefix"
17022 prefix
="$acl_save_prefix"
17024 if test "X$x" = "X$element"; then
17029 if test -z "$haveit"; then
17030 LIBS
="${LIBS}${LIBS:+ }$element"
17039 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17040 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17042 $as_echo "yes" >&6; }
17046 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17048 for x
in $CXXFLAGS; do
17050 acl_save_prefix
="$prefix"
17051 prefix
="$acl_final_prefix"
17052 acl_save_exec_prefix
="$exec_prefix"
17053 exec_prefix
="$acl_final_exec_prefix"
17055 exec_prefix
="$acl_save_exec_prefix"
17056 prefix
="$acl_save_prefix"
17058 if test "X$x" = "X$element"; then
17063 if test -z "$haveit"; then
17064 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17069 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17073 acl_save_prefix
="$prefix"
17074 prefix
="$acl_final_prefix"
17075 acl_save_exec_prefix
="$exec_prefix"
17076 exec_prefix
="$acl_final_exec_prefix"
17078 exec_prefix
="$acl_save_exec_prefix"
17079 prefix
="$acl_save_prefix"
17081 if test "X$x" = "X$element"; then
17086 if test -z "$haveit"; then
17087 LIBS
="${LIBS}${LIBS:+ }$element"
17095 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17096 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17098 $as_echo "yes" >&6; }
17102 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17104 for x
in $CXXFLAGS; do
17106 acl_save_prefix
="$prefix"
17107 prefix
="$acl_final_prefix"
17108 acl_save_exec_prefix
="$exec_prefix"
17109 exec_prefix
="$acl_final_exec_prefix"
17111 exec_prefix
="$acl_save_exec_prefix"
17112 prefix
="$acl_save_prefix"
17114 if test "X$x" = "X$element"; then
17119 if test -z "$haveit"; then
17120 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17125 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17129 acl_save_prefix
="$prefix"
17130 prefix
="$acl_final_prefix"
17131 acl_save_exec_prefix
="$exec_prefix"
17132 exec_prefix
="$acl_final_exec_prefix"
17134 exec_prefix
="$acl_save_exec_prefix"
17135 prefix
="$acl_save_prefix"
17137 if test "X$x" = "X$element"; then
17142 if test -z "$haveit"; then
17143 LIBS
="${LIBS}${LIBS:+ }$element"
17152 as_fn_error
"Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17161 $as_echo_n "checking for WEBKIT... " >&6; }
17163 if test -n "$PKG_CONFIG"; then
17164 if test -n "$WEBKIT_CFLAGS"; then
17165 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17167 if test -n "$PKG_CONFIG" && \
17168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17169 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17172 test $ac_status = 0; }; then
17173 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
17181 if test -n "$PKG_CONFIG"; then
17182 if test -n "$WEBKIT_LIBS"; then
17183 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17185 if test -n "$PKG_CONFIG" && \
17186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
17187 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
17189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17190 test $ac_status = 0; }; then
17191 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
17202 if test $pkg_failed = yes; then
17204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17205 _pkg_short_errors_supported
=yes
17207 _pkg_short_errors_supported
=no
17209 if test $_pkg_short_errors_supported = yes; then
17210 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
17212 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
17214 # Put the nasty error message in config.log where it belongs
17215 echo "$WEBKIT_PKG_ERRORS" >&5
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17218 $as_echo "no" >&6; }
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17223 $as_echo_n "checking for WEBKIT... " >&6; }
17225 if test -n "$PKG_CONFIG"; then
17226 if test -n "$WEBKIT_CFLAGS"; then
17227 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17229 if test -n "$PKG_CONFIG" && \
17230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17231 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17234 test $ac_status = 0; }; then
17235 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17243 if test -n "$PKG_CONFIG"; then
17244 if test -n "$WEBKIT_LIBS"; then
17245 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17247 if test -n "$PKG_CONFIG" && \
17248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17249 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17252 test $ac_status = 0; }; then
17253 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17264 if test $pkg_failed = yes; then
17266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17267 _pkg_short_errors_supported
=yes
17269 _pkg_short_errors_supported
=no
17271 if test $_pkg_short_errors_supported = yes; then
17272 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17274 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17276 # Put the nasty error message in config.log where it belongs
17277 echo "$WEBKIT_PKG_ERRORS" >&5
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17280 $as_echo "no" >&6; }
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17284 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17285 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17286 $as_echo_n "(cached) " >&6
17289 ac_check_framework_save_LIBS
=$LIBS
17290 LIBS
="-framework JavaScriptCore $LIBS"
17291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17294 #include <JavaScriptCore/JSBase.h>
17299 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17304 if ac_fn_cxx_try_link
"$LINENO"; then :
17306 ac_cv_framework_JavaScriptCore
=yes
17309 ac_cv_framework_JavaScriptCore
=no
17311 rm -f core conftest.err conftest.
$ac_objext \
17312 conftest
$ac_exeext conftest.
$ac_ext
17313 LIBS
=$ac_check_framework_save_LIBS
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17317 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17318 if test $ac_cv_framework_JavaScriptCore = yes; then :
17321 for element
in "-framework JavaScriptCore $LIBS"; do
17325 acl_save_prefix
="$prefix"
17326 prefix
="$acl_final_prefix"
17327 acl_save_exec_prefix
="$exec_prefix"
17328 exec_prefix
="$acl_final_exec_prefix"
17330 exec_prefix
="$acl_save_exec_prefix"
17331 prefix
="$acl_save_prefix"
17333 if test "X$x" = "X$element"; then
17338 if test -z "$haveit"; then
17339 LIBS
="${LIBS}${LIBS:+ }$element"
17347 elif test $pkg_failed = untried
; then
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17351 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17352 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17353 $as_echo_n "(cached) " >&6
17356 ac_check_framework_save_LIBS
=$LIBS
17357 LIBS
="-framework JavaScriptCore $LIBS"
17358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17361 #include <JavaScriptCore/JSBase.h>
17366 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17371 if ac_fn_cxx_try_link
"$LINENO"; then :
17373 ac_cv_framework_JavaScriptCore
=yes
17376 ac_cv_framework_JavaScriptCore
=no
17378 rm -f core conftest.err conftest.
$ac_objext \
17379 conftest
$ac_exeext conftest.
$ac_ext
17380 LIBS
=$ac_check_framework_save_LIBS
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17384 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17385 if test $ac_cv_framework_JavaScriptCore = yes; then :
17388 for element
in "-framework JavaScriptCore $LIBS"; do
17392 acl_save_prefix
="$prefix"
17393 prefix
="$acl_final_prefix"
17394 acl_save_exec_prefix
="$exec_prefix"
17395 exec_prefix
="$acl_final_exec_prefix"
17397 exec_prefix
="$acl_save_exec_prefix"
17398 prefix
="$acl_save_prefix"
17400 if test "X$x" = "X$element"; then
17405 if test -z "$haveit"; then
17406 LIBS
="${LIBS}${LIBS:+ }$element"
17415 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17416 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17418 $as_echo "yes" >&6; }
17422 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17424 for x
in $CXXFLAGS; do
17426 acl_save_prefix
="$prefix"
17427 prefix
="$acl_final_prefix"
17428 acl_save_exec_prefix
="$exec_prefix"
17429 exec_prefix
="$acl_final_exec_prefix"
17431 exec_prefix
="$acl_save_exec_prefix"
17432 prefix
="$acl_save_prefix"
17434 if test "X$x" = "X$element"; then
17439 if test -z "$haveit"; then
17440 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17445 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17449 acl_save_prefix
="$prefix"
17450 prefix
="$acl_final_prefix"
17451 acl_save_exec_prefix
="$exec_prefix"
17452 exec_prefix
="$acl_final_exec_prefix"
17454 exec_prefix
="$acl_save_exec_prefix"
17455 prefix
="$acl_save_prefix"
17457 if test "X$x" = "X$element"; then
17462 if test -z "$haveit"; then
17463 LIBS
="${LIBS}${LIBS:+ }$element"
17470 elif test $pkg_failed = untried
; then
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17475 $as_echo_n "checking for WEBKIT... " >&6; }
17477 if test -n "$PKG_CONFIG"; then
17478 if test -n "$WEBKIT_CFLAGS"; then
17479 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
17481 if test -n "$PKG_CONFIG" && \
17482 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17483 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17486 test $ac_status = 0; }; then
17487 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
17495 if test -n "$PKG_CONFIG"; then
17496 if test -n "$WEBKIT_LIBS"; then
17497 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
17499 if test -n "$PKG_CONFIG" && \
17500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17501 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17504 test $ac_status = 0; }; then
17505 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
17516 if test $pkg_failed = yes; then
17518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17519 _pkg_short_errors_supported
=yes
17521 _pkg_short_errors_supported
=no
17523 if test $_pkg_short_errors_supported = yes; then
17524 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17526 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17528 # Put the nasty error message in config.log where it belongs
17529 echo "$WEBKIT_PKG_ERRORS" >&5
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17532 $as_echo "no" >&6; }
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17536 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17537 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17538 $as_echo_n "(cached) " >&6
17541 ac_check_framework_save_LIBS
=$LIBS
17542 LIBS
="-framework JavaScriptCore $LIBS"
17543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17546 #include <JavaScriptCore/JSBase.h>
17551 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17556 if ac_fn_cxx_try_link
"$LINENO"; then :
17558 ac_cv_framework_JavaScriptCore
=yes
17561 ac_cv_framework_JavaScriptCore
=no
17563 rm -f core conftest.err conftest.
$ac_objext \
17564 conftest
$ac_exeext conftest.
$ac_ext
17565 LIBS
=$ac_check_framework_save_LIBS
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17569 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17570 if test $ac_cv_framework_JavaScriptCore = yes; then :
17573 for element
in "-framework JavaScriptCore $LIBS"; do
17577 acl_save_prefix
="$prefix"
17578 prefix
="$acl_final_prefix"
17579 acl_save_exec_prefix
="$exec_prefix"
17580 exec_prefix
="$acl_final_exec_prefix"
17582 exec_prefix
="$acl_save_exec_prefix"
17583 prefix
="$acl_save_prefix"
17585 if test "X$x" = "X$element"; then
17590 if test -z "$haveit"; then
17591 LIBS
="${LIBS}${LIBS:+ }$element"
17599 elif test $pkg_failed = untried
; then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17603 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17604 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17605 $as_echo_n "(cached) " >&6
17608 ac_check_framework_save_LIBS
=$LIBS
17609 LIBS
="-framework JavaScriptCore $LIBS"
17610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h. */
17613 #include <JavaScriptCore/JSBase.h>
17618 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17623 if ac_fn_cxx_try_link
"$LINENO"; then :
17625 ac_cv_framework_JavaScriptCore
=yes
17628 ac_cv_framework_JavaScriptCore
=no
17630 rm -f core conftest.err conftest.
$ac_objext \
17631 conftest
$ac_exeext conftest.
$ac_ext
17632 LIBS
=$ac_check_framework_save_LIBS
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17636 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17637 if test $ac_cv_framework_JavaScriptCore = yes; then :
17640 for element
in "-framework JavaScriptCore $LIBS"; do
17644 acl_save_prefix
="$prefix"
17645 prefix
="$acl_final_prefix"
17646 acl_save_exec_prefix
="$exec_prefix"
17647 exec_prefix
="$acl_final_exec_prefix"
17649 exec_prefix
="$acl_save_exec_prefix"
17650 prefix
="$acl_save_prefix"
17652 if test "X$x" = "X$element"; then
17657 if test -z "$haveit"; then
17658 LIBS
="${LIBS}${LIBS:+ }$element"
17667 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17668 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17670 $as_echo "yes" >&6; }
17674 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
17676 for x
in $CXXFLAGS; do
17678 acl_save_prefix
="$prefix"
17679 prefix
="$acl_final_prefix"
17680 acl_save_exec_prefix
="$exec_prefix"
17681 exec_prefix
="$acl_final_exec_prefix"
17683 exec_prefix
="$acl_save_exec_prefix"
17684 prefix
="$acl_save_prefix"
17686 if test "X$x" = "X$element"; then
17691 if test -z "$haveit"; then
17692 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17697 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
17701 acl_save_prefix
="$prefix"
17702 prefix
="$acl_final_prefix"
17703 acl_save_exec_prefix
="$exec_prefix"
17704 exec_prefix
="$acl_final_exec_prefix"
17706 exec_prefix
="$acl_save_exec_prefix"
17707 prefix
="$acl_save_prefix"
17709 if test "X$x" = "X$element"; then
17714 if test -z "$haveit"; then
17715 LIBS
="${LIBS}${LIBS:+ }$element"
17723 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
17724 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17726 $as_echo "yes" >&6; }
17730 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
17732 for x
in $CXXFLAGS; do
17734 acl_save_prefix
="$prefix"
17735 prefix
="$acl_final_prefix"
17736 acl_save_exec_prefix
="$exec_prefix"
17737 exec_prefix
="$acl_final_exec_prefix"
17739 exec_prefix
="$acl_save_exec_prefix"
17740 prefix
="$acl_save_prefix"
17742 if test "X$x" = "X$element"; then
17747 if test -z "$haveit"; then
17748 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
17753 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
17757 acl_save_prefix
="$prefix"
17758 prefix
="$acl_final_prefix"
17759 acl_save_exec_prefix
="$exec_prefix"
17760 exec_prefix
="$acl_final_exec_prefix"
17762 exec_prefix
="$acl_save_exec_prefix"
17763 prefix
="$acl_save_prefix"
17765 if test "X$x" = "X$element"; then
17770 if test -z "$haveit"; then
17771 LIBS
="${LIBS}${LIBS:+ }$element"
17782 case $CY_EXECUTE in #(
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17789 $as_echo_n "checking for LIBFFI... " >&6; }
17791 if test -n "$PKG_CONFIG"; then
17792 if test -n "$LIBFFI_CFLAGS"; then
17793 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
17795 if test -n "$PKG_CONFIG" && \
17796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17797 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17800 test $ac_status = 0; }; then
17801 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
17809 if test -n "$PKG_CONFIG"; then
17810 if test -n "$LIBFFI_LIBS"; then
17811 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
17813 if test -n "$PKG_CONFIG" && \
17814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17815 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17818 test $ac_status = 0; }; then
17819 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
17830 if test $pkg_failed = yes; then
17832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17833 _pkg_short_errors_supported
=yes
17835 _pkg_short_errors_supported
=no
17837 if test $_pkg_short_errors_supported = yes; then
17838 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17840 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17842 # Put the nasty error message in config.log where it belongs
17843 echo "$LIBFFI_PKG_ERRORS" >&5
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17846 $as_echo "no" >&6; }
17848 for ac_header
in ffi.h ffi
/ffi.h
17850 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17851 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17852 eval as_val
=\$
$as_ac_Header
17853 if test "x$as_val" = x
""yes; then :
17854 cat >>confdefs.h
<<_ACEOF
17855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17862 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
17864 as_fn_error
"You need libffi" "$LINENO" 5
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17868 $as_echo_n "checking for library containing ffi_call... " >&6; }
17869 if test "${ac_cv_search_ffi_call+set}" = set; then :
17870 $as_echo_n "(cached) " >&6
17872 ac_func_search_save_LIBS
=$LIBS
17873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17876 /* Override any GCC internal prototype to avoid an error.
17877 Use char because int might match the return type of a GCC
17878 builtin and then its argument prototype would still apply. */
17886 return ffi_call ();
17891 for ac_lib
in '' ffi
; do
17892 if test -z "$ac_lib"; then
17893 ac_res
="none required"
17896 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17898 if ac_fn_cxx_try_link
"$LINENO"; then :
17899 ac_cv_search_ffi_call
=$ac_res
17901 rm -f core conftest.err conftest.
$ac_objext \
17903 if test "${ac_cv_search_ffi_call+set}" = set; then :
17907 if test "${ac_cv_search_ffi_call+set}" = set; then :
17910 ac_cv_search_ffi_call
=no
17912 rm conftest.
$ac_ext
17913 LIBS
=$ac_func_search_save_LIBS
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17916 $as_echo "$ac_cv_search_ffi_call" >&6; }
17917 ac_res
=$ac_cv_search_ffi_call
17918 if test "$ac_res" != no
; then :
17919 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17923 case $ac_cv_search_ffi_call in #(
17926 as_fn_error
"You need libffi" "$LINENO" 5
17932 elif test $pkg_failed = untried
; then
17934 for ac_header
in ffi.h ffi
/ffi.h
17936 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17937 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17938 eval as_val
=\$
$as_ac_Header
17939 if test "x$as_val" = x
""yes; then :
17940 cat >>confdefs.h
<<_ACEOF
17941 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17948 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
17950 as_fn_error
"You need libffi" "$LINENO" 5
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17954 $as_echo_n "checking for library containing ffi_call... " >&6; }
17955 if test "${ac_cv_search_ffi_call+set}" = set; then :
17956 $as_echo_n "(cached) " >&6
17958 ac_func_search_save_LIBS
=$LIBS
17959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17962 /* Override any GCC internal prototype to avoid an error.
17963 Use char because int might match the return type of a GCC
17964 builtin and then its argument prototype would still apply. */
17972 return ffi_call ();
17977 for ac_lib
in '' ffi
; do
17978 if test -z "$ac_lib"; then
17979 ac_res
="none required"
17982 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17984 if ac_fn_cxx_try_link
"$LINENO"; then :
17985 ac_cv_search_ffi_call
=$ac_res
17987 rm -f core conftest.err conftest.
$ac_objext \
17989 if test "${ac_cv_search_ffi_call+set}" = set; then :
17993 if test "${ac_cv_search_ffi_call+set}" = set; then :
17996 ac_cv_search_ffi_call
=no
17998 rm conftest.
$ac_ext
17999 LIBS
=$ac_func_search_save_LIBS
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
18002 $as_echo "$ac_cv_search_ffi_call" >&6; }
18003 ac_res
=$ac_cv_search_ffi_call
18004 if test "$ac_res" != no
; then :
18005 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18009 case $ac_cv_search_ffi_call in #(
18012 as_fn_error
"You need libffi" "$LINENO" 5
18019 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
18020 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18022 $as_echo "yes" >&6; }
18025 for element
in `$PKG_CONFIG --cflags libffi`; do
18027 for x
in $CXXFLAGS; do
18029 acl_save_prefix
="$prefix"
18030 prefix
="$acl_final_prefix"
18031 acl_save_exec_prefix
="$exec_prefix"
18032 exec_prefix
="$acl_final_exec_prefix"
18034 exec_prefix
="$acl_save_exec_prefix"
18035 prefix
="$acl_save_prefix"
18037 if test "X$x" = "X$element"; then
18042 if test -z "$haveit"; then
18043 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
18048 for element
in `$PKG_CONFIG --libs libffi`; do
18052 acl_save_prefix
="$prefix"
18053 prefix
="$acl_final_prefix"
18054 acl_save_exec_prefix
="$exec_prefix"
18055 exec_prefix
="$acl_final_exec_prefix"
18057 exec_prefix
="$acl_save_exec_prefix"
18058 prefix
="$acl_save_prefix"
18060 if test "X$x" = "X$element"; then
18065 if test -z "$haveit"; then
18066 LIBS
="${LIBS}${LIBS:+ }$element"
18073 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
18074 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18075 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18076 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
18079 $as_echo_n "checking if we really have Objective C++... " >&6; }
18080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18083 // This space intentionally left blank
18086 if ac_fn_objcxx_try_compile
"$LINENO"; then :
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18090 $as_echo "yes" >&6; }
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18094 $as_echo "no" >&6; }
18096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18097 if test "x$CY_OBJECTIVEC" = x1
; then :
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
18101 $as_echo_n "checking for framework CoreFoundation... " >&6; }
18102 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
18103 $as_echo_n "(cached) " >&6
18106 ac_check_framework_save_LIBS
=$LIBS
18107 LIBS
="-framework CoreFoundation $LIBS"
18108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18109 /* end confdefs.h. */
18111 #include <CoreFoundation/CFBase.h>
18116 CFAllocatorGetDefault();
18121 if ac_fn_objcxx_try_link
"$LINENO"; then :
18123 ac_cv_framework_CoreFoundation
=yes
18126 ac_cv_framework_CoreFoundation
=no
18128 rm -f core conftest.err conftest.
$ac_objext \
18129 conftest
$ac_exeext conftest.
$ac_ext
18130 LIBS
=$ac_check_framework_save_LIBS
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
18134 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
18135 if test $ac_cv_framework_CoreFoundation = yes; then :
18138 for element
in "-framework CoreFoundation $LIBS"; do
18142 acl_save_prefix
="$prefix"
18143 prefix
="$acl_final_prefix"
18144 acl_save_exec_prefix
="$exec_prefix"
18145 exec_prefix
="$acl_final_exec_prefix"
18147 exec_prefix
="$acl_save_exec_prefix"
18148 prefix
="$acl_save_prefix"
18150 if test "X$x" = "X$element"; then
18155 if test -z "$haveit"; then
18156 LIBS
="${LIBS}${LIBS:+ }$element"
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
18165 $as_echo_n "checking for framework Foundation... " >&6; }
18166 if test "${ac_cv_framework_Foundation+set}" = set; then :
18167 $as_echo_n "(cached) " >&6
18170 ac_check_framework_save_LIBS
=$LIBS
18171 LIBS
="-framework Foundation $LIBS"
18172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h. */
18175 #include <Foundation/NSObject.h>
18180 [[NSObject alloc] init];
18185 if ac_fn_objcxx_try_link
"$LINENO"; then :
18187 ac_cv_framework_Foundation
=yes
18190 ac_cv_framework_Foundation
=no
18192 rm -f core conftest.err conftest.
$ac_objext \
18193 conftest
$ac_exeext conftest.
$ac_ext
18194 LIBS
=$ac_check_framework_save_LIBS
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
18198 $as_echo "$ac_cv_framework_Foundation" >&6; }
18199 if test $ac_cv_framework_Foundation = yes; then :
18202 for element
in "-framework Foundation $LIBS"; do
18206 acl_save_prefix
="$prefix"
18207 prefix
="$acl_final_prefix"
18208 acl_save_exec_prefix
="$exec_prefix"
18209 exec_prefix
="$acl_final_exec_prefix"
18211 exec_prefix
="$acl_save_exec_prefix"
18212 prefix
="$acl_save_prefix"
18214 if test "X$x" = "X$element"; then
18219 if test -z "$haveit"; then
18220 LIBS
="${LIBS}${LIBS:+ }$element"
18224 cat >>confdefs.h
<<_ACEOF
18225 #define HAVE_FRAMEWORK_FOUNDATION 1
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18233 $as_echo_n "checking for framework WebKit... " >&6; }
18234 if test "${ac_cv_framework_WebKit+set}" = set; then :
18235 $as_echo_n "(cached) " >&6
18238 ac_check_framework_save_LIBS
=$LIBS
18239 LIBS
="-framework WebKit $LIBS"
18240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18243 #include <WebKit/WebScriptObject.h>
18248 [[WebScriptObject alloc] init];
18253 if ac_fn_objcxx_try_link
"$LINENO"; then :
18255 ac_cv_framework_WebKit
=yes
18258 ac_cv_framework_WebKit
=no
18260 rm -f core conftest.err conftest.
$ac_objext \
18261 conftest
$ac_exeext conftest.
$ac_ext
18262 LIBS
=$ac_check_framework_save_LIBS
18265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18266 $as_echo "$ac_cv_framework_WebKit" >&6; }
18267 if test $ac_cv_framework_WebKit = yes; then :
18270 for element
in "-framework WebKit $LIBS"; do
18274 acl_save_prefix
="$prefix"
18275 prefix
="$acl_final_prefix"
18276 acl_save_exec_prefix
="$exec_prefix"
18277 exec_prefix
="$acl_final_exec_prefix"
18279 exec_prefix
="$acl_save_exec_prefix"
18280 prefix
="$acl_save_prefix"
18282 if test "X$x" = "X$element"; then
18287 if test -z "$haveit"; then
18288 LIBS
="${LIBS}${LIBS:+ }$element"
18292 cat >>confdefs.h
<<_ACEOF
18293 #define HAVE_FRAMEWORK_WEBKIT 1
18302 for ac_prog
in gnustep
-config
18304 # Extract the first word of "$ac_prog", so it can be a program name with args.
18305 set dummy
$ac_prog; ac_word
=$2
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18307 $as_echo_n "checking for $ac_word... " >&6; }
18308 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
18309 $as_echo_n "(cached) " >&6
18311 if test -n "$GNUSTEP_CONFIG"; then
18312 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
18314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18315 for as_dir
in $PATH
18318 test -z "$as_dir" && as_dir
=.
18319 for ac_exec_ext
in '' $ac_executable_extensions; do
18320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18321 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
18322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18331 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
18332 if test -n "$GNUSTEP_CONFIG"; then
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18334 $as_echo "$GNUSTEP_CONFIG" >&6; }
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18337 $as_echo "no" >&6; }
18341 test -n "$GNUSTEP_CONFIG" && break
18344 if test "x$GNUSTEP_CONFIG" != x
; then :
18348 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
18350 for x
in $OBJCXXFLAGS; do
18352 acl_save_prefix
="$prefix"
18353 prefix
="$acl_final_prefix"
18354 acl_save_exec_prefix
="$exec_prefix"
18355 exec_prefix
="$acl_final_exec_prefix"
18357 exec_prefix
="$acl_save_exec_prefix"
18358 prefix
="$acl_save_prefix"
18360 if test "X$x" = "X$element"; then
18365 if test -z "$haveit"; then
18366 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18371 for element
in `$GNUSTEP_CONFIG --base-libs`; do
18375 acl_save_prefix
="$prefix"
18376 prefix
="$acl_final_prefix"
18377 acl_save_exec_prefix
="$exec_prefix"
18378 exec_prefix
="$acl_final_exec_prefix"
18380 exec_prefix
="$acl_save_exec_prefix"
18381 prefix
="$acl_save_prefix"
18383 if test "X$x" = "X$element"; then
18388 if test -z "$haveit"; then
18389 LIBS
="${LIBS}${LIBS:+ }$element"
18403 ac_cpp
='$CXXCPP $CPPFLAGS'
18404 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18412 if test "x$CY_OBJECTIVEC" = x1
; then :
18414 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
18415 if test "x$ac_cv_header_mach_mach_h" = x
""yes; then :
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
18420 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
18422 CY_OBJECTIVEC_MACH
=1
18431 ac_config_files
="$ac_config_files GNUmakefile"
18433 cat >confcache
<<\_ACEOF
18434 # This file is a shell script that caches the results of configure
18435 # tests run on this system so they can be shared between configure
18436 # scripts and configure runs, see configure's option --config-cache.
18437 # It is not useful on other systems. If it contains results you don't
18438 # want to keep, you may remove or edit it.
18440 # config.status only pays attention to the cache file if you give it
18441 # the --recheck option to rerun configure.
18443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18445 # following values.
18449 # The following way of writing the cache mishandles newlines in values,
18450 # but we know of no workaround that is simple, portable, and efficient.
18451 # So, we kill variables containing newlines.
18452 # Ultrix sh set writes to stderr and can't be redirected directly,
18453 # and sets the high bit in the cache file unless we assign to the vars.
18455 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18456 eval ac_val
=\$
$ac_var
18460 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18464 _
| IFS
| as_nl
) ;; #(
18465 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
18466 *) { eval $ac_var=; unset $ac_var;} ;;
18472 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18473 *${as_nl}ac_space
=\
*)
18474 # `set' does not quote correctly, so add quotes: double-quote
18475 # substitution turns \\\\ into \\, and sed turns \\ into \.
18478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18481 # `set' quotes correctly as required by POSIX, so do not add quotes.
18482 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18493 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18495 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18496 if test -w "$cache_file"; then
18497 test "x$cache_file" != "x/dev/null" &&
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18499 $as_echo "$as_me: updating cache $cache_file" >&6;}
18500 cat confcache
>$cache_file
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18503 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18508 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18509 # Let make expand exec_prefix.
18510 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18512 # Transform confdefs.h into DEFS.
18513 # Protect against shell expansion while executing Makefile rules.
18514 # Protect against Makefile macro expansion.
18516 # If the first sed substitution is executed (which looks for macros that
18517 # take arguments), then branch to the quote section. Otherwise,
18518 # look for a macro that doesn't take arguments.
18528 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18530 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18534 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
18547 DEFS
=`sed -n "$ac_script" confdefs.h`
18552 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18553 # 1. Remove the extension, and $U if already installed.
18554 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18555 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18557 # will be set to the directory where LIBOBJS objects are built.
18558 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18559 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18561 LIBOBJS
=$ac_libobjs
18563 LTLIBOBJS
=$ac_ltlibobjs
18567 : ${CONFIG_STATUS=./config.status}
18569 ac_clean_files_save
=$ac_clean_files
18570 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18574 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18576 # Generated by $as_me.
18577 # Run this file to recreate the current configuration.
18578 # Compiler output produced by configure, useful for debugging
18579 # configure, is in config.log if it exists.
18582 ac_cs_recheck=false
18585 SHELL=\${CONFIG_SHELL-$SHELL}
18588 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
18589 ## -------------------- ##
18590 ## M4sh Initialization. ##
18591 ## -------------------- ##
18593 # Be more Bourne compatible
18594 DUALCASE
=1; export DUALCASE
# for MKS sh
18595 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18598 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18599 # is contrary to our usage. Disable this feature.
18600 alias -g '${1+"$@"}'='"$@"'
18601 setopt NO_GLOB_SUBST
18603 case `(set -o) 2>/dev/null` in #(
18615 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18616 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18619 # Prefer a ksh shell builtin over an external printf program on Solaris,
18620 # but without wasting forks for bash or zsh.
18621 if test -z "$BASH_VERSION$ZSH_VERSION" \
18622 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18623 as_echo='print
-r --'
18624 as_echo_n='print
-rn --'
18625 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18626 as_echo='printf %s
\n'
18627 as_echo_n='printf %s
'
18629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18630 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18631 as_echo_n='/usr
/ucb
/echo -n'
18633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18634 as_echo_n_body='eval
18638 expr "X$arg" : "X\\(.*\\)$as_nl";
18639 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18641 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18643 export as_echo_n_body
18644 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18646 export as_echo_body
18647 as_echo='sh
-c $as_echo_body as_echo
'
18650 # The user is always right.
18651 if test "${PATH_SEPARATOR+set}" != set; then
18653 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18654 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18661 # We need space, tab and new line, in precisely that order. Quoting is
18662 # there to prevent editors from complaining about space-tab.
18663 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18664 # splitting by setting IFS to empty value.)
18667 # Find who we are. Look in the path if we contain no directory separator.
18669 *[\\/]* ) as_myself=$0 ;;
18670 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18671 for as_dir in $PATH
18674 test -z "$as_dir" && as_dir=.
18675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18681 # We did not find ourselves, most probably we were run as `sh COMMAND'
18682 # in which case we are not to be found in the path.
18683 if test "x$as_myself" = x
; then
18686 if test ! -f "$as_myself"; then
18687 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18691 # Unset variables that we do not need and which cause bugs (e.g. in
18692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18693 # suppresses any "Segmentation fault" message there. '((' could
18694 # trigger a bug in pdksh 5.2.14.
18695 for as_var
in BASH_ENV ENV MAIL MAILPATH
18696 do eval test x\
${$as_var+set} = xset \
18697 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
18710 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18713 # as_fn_error ERROR [LINENO LOG_FD]
18714 # ---------------------------------
18715 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18716 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18717 # script with status $?, using 1 if that was 0.
18720 as_status
=$?
; test $as_status -eq 0 && as_status
=1
18722 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
18725 $as_echo "$as_me: error: $1" >&2
18726 as_fn_exit
$as_status
18730 # as_fn_set_status STATUS
18731 # -----------------------
18732 # Set $? to STATUS, without forking.
18733 as_fn_set_status
()
18736 } # as_fn_set_status
18738 # as_fn_exit STATUS
18739 # -----------------
18740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18744 as_fn_set_status
$1
18750 # Portably unset VAR.
18753 { eval $1=; unset $1;}
18755 as_unset
=as_fn_unset
18756 # as_fn_append VAR VALUE
18757 # ----------------------
18758 # Append the text in VALUE to the end of the definition contained in VAR. Take
18759 # advantage of any shell optimizations that allow amortized linear growth over
18760 # repeated appends, instead of the typical quadratic growth present in naive
18762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18763 eval 'as_fn_append ()
18774 # as_fn_arith ARG...
18775 # ------------------
18776 # Perform arithmetic evaluation on the ARGs, and store the result in the
18777 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18778 # must be portable across $(()) and expr.
18779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18780 eval 'as_fn_arith ()
18787 as_val
=`expr "$@" || test $? -eq 1`
18792 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18793 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18799 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18800 as_basename
=basename
18805 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18811 as_me
=`$as_basename -- "$0" ||
18812 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18813 X"$0" : 'X\(//\)$' \| \
18814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18816 sed '/^.*\/\([^/][^/]*\)\/*$/{
18830 # Avoid depending upon Character Ranges.
18831 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18832 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18833 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18834 as_cr_digits
='0123456789'
18835 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18837 ECHO_C
= ECHO_N
= ECHO_T
=
18838 case `echo -n x` in #(((((
18840 case `echo 'xy\c'` in
18841 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18843 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18850 rm -f conf$$ conf$$.exe conf$$.
file
18851 if test -d conf$$.dir
; then
18852 rm -f conf$$.dir
/conf$$.
file
18855 mkdir conf$$.dir
2>/dev
/null
18857 if (echo >conf$$.
file) 2>/dev
/null
; then
18858 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18860 # ... but there are two gotchas:
18861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18863 # In both cases, we have to default to `cp -p'.
18864 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
18866 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18874 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18875 rmdir conf$$.dir
2>/dev
/null
18880 # Create "$as_dir" as a directory, including parents if necessary.
18885 -*) as_dir
=.
/$as_dir;;
18887 test -d "$as_dir" || eval $as_mkdir_p || {
18891 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18892 *) as_qdir
=$as_dir;;
18894 as_dirs
="'$as_qdir' $as_dirs"
18895 as_dir
=`$as_dirname -- "$as_dir" ||
18896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18897 X"$as_dir" : 'X\(//\)[^/]' \| \
18898 X"$as_dir" : 'X\(//\)$' \| \
18899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18900 $as_echo X"$as_dir" |
18901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18905 /^X\(\/\/\)[^/].*/{
18918 test -d "$as_dir" && break
18920 test -z "$as_dirs" || eval "mkdir $as_dirs"
18921 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
18925 if mkdir -p .
2>/dev
/null
; then
18926 as_mkdir_p
='mkdir -p "$as_dir"'
18928 test -d .
/-p && rmdir .
/-p
18932 if test -x / >/dev
/null
2>&1; then
18933 as_test_x
='test -x'
18935 if ls -dL / >/dev
/null
2>&1; then
18942 if test -d "$1"; then
18948 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18949 ???[sx]*):;;*)false;;esac;fi
18953 as_executable_p
=$as_test_x
18955 # Sed expression to map a string onto a valid CPP name.
18956 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18958 # Sed expression to map a string onto a valid variable name.
18959 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18963 ## ----------------------------------- ##
18964 ## Main body of $CONFIG_STATUS script. ##
18965 ## ----------------------------------- ##
18967 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18969 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18970 # Save the log message, to keep $0 and so on meaningful, and to
18971 # report actual input values of CONFIG_FILES etc. instead of their
18972 # values after options handling.
18974 This file was extended by Cycript $as_me 0.9, which was
18975 generated by GNU Autoconf 2.65. Invocation command line was
18977 CONFIG_FILES = $CONFIG_FILES
18978 CONFIG_HEADERS = $CONFIG_HEADERS
18979 CONFIG_LINKS = $CONFIG_LINKS
18980 CONFIG_COMMANDS = $CONFIG_COMMANDS
18983 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18988 case $ac_config_files in *"
18989 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18995 # Files that config.status was made for.
18996 config_files="$ac_config_files"
18997 config_commands="$ac_config_commands"
19001 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19003 \`$as_me' instantiates files and other configuration actions
19004 from templates according to the current configuration. Unless the files
19005 and actions are specified as TAGs, all are instantiated by default.
19007 Usage: $0 [OPTION]... [TAG]...
19009 -h, --help print this help, then exit
19010 -V, --version print version number and configuration settings, then exit
19011 --config print configuration, then exit
19012 -q, --quiet, --silent
19013 do not print progress messages
19014 -d, --debug don't remove temporary files
19015 --recheck update $as_me by reconfiguring in the same conditions
19016 --file=FILE[:TEMPLATE]
19017 instantiate the configuration file FILE
19019 Configuration files:
19022 Configuration commands:
19025 Report bugs to <saurik@saurik.com>.
19026 Cycript home page: <http://www.cycript.org/>."
19029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19030 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19032 Cycript config.status 0.9
19033 configured by $0, generated by GNU Autoconf 2.65,
19034 with options \\"\$ac_cs_config\\"
19036 Copyright (C) 2009 Free Software Foundation, Inc.
19037 This config.status script is free software; the Free Software Foundation
19038 gives unlimited permission to copy, distribute and modify it."
19044 test -n "\$AWK" || AWK=awk
19047 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19048 # The default lists apply if the user does not specify any file.
19054 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
19055 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
19066 # Handling of the options.
19067 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19069 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19070 $as_echo "$ac_cs_version"; exit ;;
19071 --config | --confi | --conf | --con | --co | --c )
19072 $as_echo "$ac_cs_config"; exit ;;
19073 --debug | --debu | --deb | --de | --d | -d )
19075 --file | --fil | --fi | --f )
19078 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19080 as_fn_append CONFIG_FILES
" '$ac_optarg'"
19081 ac_need_defaults
=false
;;
19082 --he | --h | --help | --hel | -h )
19083 $as_echo "$ac_cs_usage"; exit ;;
19084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19085 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19088 # This is an error.
19089 -*) as_fn_error
"unrecognized option: \`$1'
19090 Try \`$0 --help' for more information." ;;
19092 *) as_fn_append ac_config_targets
" $1"
19093 ac_need_defaults
=false
;;
19099 ac_configure_extra_args
=
19101 if $ac_cs_silent; then
19103 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19108 if \$ac_cs_recheck; then
19109 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19111 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19112 CONFIG_SHELL='$SHELL'
19113 export CONFIG_SHELL
19118 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19122 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19123 ## Running $as_me. ##
19129 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19135 # The HP-UX ksh and POSIX shell print the target directory to stdout
19136 # if CDPATH is set.
19137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19139 sed_quote_subst='$sed_quote_subst'
19140 double_quote_subst='$double_quote_subst'
19141 delay_variable_subst='$delay_variable_subst'
19142 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19143 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19144 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19145 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19146 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19147 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19148 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19149 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19150 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19151 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19152 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19153 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19154 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19155 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19156 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19157 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19158 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19159 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19160 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19161 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19162 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19163 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19164 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19165 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19166 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19167 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19168 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19169 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19170 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19171 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19172 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19173 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19174 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19175 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19176 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19177 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19178 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19179 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19180 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19181 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19182 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19183 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19184 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19185 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19186 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"`'
19187 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"`'
19188 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19189 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19190 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19191 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19192 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19193 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19194 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19195 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19196 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19197 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19198 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19199 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19200 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19201 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19202 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19203 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19204 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19205 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19206 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19207 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19208 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19209 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19210 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19211 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19212 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19213 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19214 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19215 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19216 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19217 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19218 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19219 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19220 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19221 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19222 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19223 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19224 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19225 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19226 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19227 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19228 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19229 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19230 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19231 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19232 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19233 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19234 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19235 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19236 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19237 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19238 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19239 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19240 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19241 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19242 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19243 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19244 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19245 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19246 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19247 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19248 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19249 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19250 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19251 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19252 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19253 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19254 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19255 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19256 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19257 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19258 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19259 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19260 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19261 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19262 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19263 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19264 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19265 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19266 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19267 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19268 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19269 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19270 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19271 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19272 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19273 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19274 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19275 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19276 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19277 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19278 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19279 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19280 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19281 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19282 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19283 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19284 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19285 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19286 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19287 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19288 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19289 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19290 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19291 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19292 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19293 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19294 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19295 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19296 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19297 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19298 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19299 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19300 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19301 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19302 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19303 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19304 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19305 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19306 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19307 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19308 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19309 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19310 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19311 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19312 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19315 LTCFLAGS='$LTCFLAGS'
19316 compiler='$compiler_DEFAULT'
19318 # Quote evaled strings.
19330 deplibs_check_method \
19339 lt_cv_sys_global_symbol_pipe \
19340 lt_cv_sys_global_symbol_to_cdecl \
19341 lt_cv_sys_global_symbol_to_c_name_address \
19342 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19345 lt_prog_compiler_no_builtin_flag \
19346 lt_prog_compiler_wl \
19347 lt_prog_compiler_pic \
19348 lt_prog_compiler_static \
19349 lt_cv_prog_compiler_c_o \
19357 export_dynamic_flag_spec \
19358 whole_archive_flag_spec \
19359 compiler_needs_object \
19361 allow_undefined_flag \
19362 no_undefined_flag \
19363 hardcode_libdir_flag_spec \
19364 hardcode_libdir_flag_spec_ld \
19365 hardcode_libdir_separator \
19370 variables_saved_for_relink \
19372 library_names_spec \
19377 compiler_lib_search_dirs \
19382 compiler_lib_search_path \
19385 lt_prog_compiler_no_builtin_flag_CXX \
19386 lt_prog_compiler_wl_CXX \
19387 lt_prog_compiler_pic_CXX \
19388 lt_prog_compiler_static_CXX \
19389 lt_cv_prog_compiler_c_o_CXX \
19390 export_dynamic_flag_spec_CXX \
19391 whole_archive_flag_spec_CXX \
19392 compiler_needs_object_CXX \
19394 allow_undefined_flag_CXX \
19395 no_undefined_flag_CXX \
19396 hardcode_libdir_flag_spec_CXX \
19397 hardcode_libdir_flag_spec_ld_CXX \
19398 hardcode_libdir_separator_CXX \
19399 fix_srcfile_path_CXX \
19400 exclude_expsyms_CXX \
19401 include_expsyms_CXX \
19402 file_list_spec_CXX \
19403 compiler_lib_search_dirs_CXX \
19404 predep_objects_CXX \
19405 postdep_objects_CXX \
19408 compiler_lib_search_path_CXX; do
19409 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19410 *[\\\\\\\`\\"\\\$]*)
19411 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19414 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19419 # Double-quote double-evaled strings.
19420 for var in reload_cmds \
19421 old_postinstall_cmds \
19422 old_postuninstall_cmds \
19424 extract_expsyms_cmds \
19425 old_archive_from_new_cmds \
19426 old_archive_from_expsyms_cmds \
19428 archive_expsym_cmds \
19430 module_expsym_cmds \
19431 export_symbols_cmds \
19434 postuninstall_cmds \
19436 sys_lib_search_path_spec \
19437 sys_lib_dlsearch_path_spec \
19438 old_archive_cmds_CXX \
19439 old_archive_from_new_cmds_CXX \
19440 old_archive_from_expsyms_cmds_CXX \
19442 archive_expsym_cmds_CXX \
19444 module_expsym_cmds_CXX \
19445 export_symbols_cmds_CXX \
19446 prelink_cmds_CXX; do
19447 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19448 *[\\\\\\\`\\"\\\$]*)
19449 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19452 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19457 # Fix-up fallback echo if it was mangled by the above quoting rules.
19459 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19463 ac_aux_dir='$ac_aux_dir'
19464 xsi_shell='$xsi_shell'
19465 lt_shell_append='$lt_shell_append'
19467 # See if we are running on zsh, and set the options which allow our
19468 # commands through without removal of \ escapes INIT.
19469 if test -n "\${ZSH_VERSION+set}" ; then
19470 setopt NO_GLOB_SUBST
19476 TIMESTAMP='$TIMESTAMP'
19487 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19489 # Handling of arguments.
19490 for ac_config_target
in $ac_config_targets
19492 case $ac_config_target in
19493 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19494 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
19496 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19501 # If the user did not use the arguments to specify the items to instantiate,
19502 # then the envvar interface is used. Set only those that are not.
19503 # We use the long form for the default assignment because of an extremely
19504 # bizarre bug on SunOS 4.1.3.
19505 if $ac_need_defaults; then
19506 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19507 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19510 # Have a temporary directory for convenience. Make it in the build tree
19511 # simply because there is no reason against having it here, and in addition,
19512 # creating and moving files from /tmp can sometimes cause problems.
19513 # Hook for its removal unless debugging.
19514 # Note that there is a small window in which the directory will not be cleaned:
19515 # after its creation but before its name has been assigned to `$tmp'.
19519 trap 'exit_status=$?
19520 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19522 trap 'as_fn_exit 1' 1 2 13 15
19524 # Create a (secure) tmp directory for tmp files.
19527 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19528 test -n "$tmp" && test -d "$tmp"
19531 tmp
=.
/conf$$
-$RANDOM
19532 (umask 077 && mkdir "$tmp")
19533 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
19535 # Set up the scripts for CONFIG_FILES section.
19536 # No need to generate them if there are no CONFIG_FILES.
19537 # This happens for instance with `./config.status config.h'.
19538 if test -n "$CONFIG_FILES"; then
19541 ac_cr
=`echo X | tr X '\015'`
19542 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19543 # But we know of no other shell where ac_cr would be empty at this
19544 # point, so we can use a bashism as a fallback.
19545 if test "x$ac_cr" = x
; then
19546 eval ac_cr
=\$
\'\\r
\'
19548 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19549 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19552 ac_cs_awk_cr
=$ac_cr
19555 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19560 echo "cat >conf$$subs.awk <<_ACEOF" &&
19561 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19563 } >conf$$subs.sh ||
19564 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19565 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19567 for ac_last_try in false false false false false :; do
19568 . ./conf$$subs.sh ||
19569 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19571 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19572 if test $ac_delim_n = $ac_delim_num; then
19574 elif $ac_last_try; then
19575 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19577 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19580 rm -f conf$$subs.sh
19582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19583 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19587 s/^/S["/; s
/!.
*/"]=/
19597 s/\(.\{148\}\)..*/\1/
19599 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19604 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19611 s/\(.\{148\}\)..*/\1/
19613 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19617 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19622 ' <conf$$subs.awk | sed '
19627 ' >>$CONFIG_STATUS || ac_write_fail=1
19628 rm -f conf$$subs.awk
19629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19631 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19632 for (key in S) S_is_set[key] = 1
19638 nfields = split(line, field, "@
")
19640 len = length(field[1])
19641 for (i = 2; i < nfields; i++) {
19643 keylen = length(key)
19644 if (S_is_set[key]) {
19646 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19647 len += length(value) + length(field[++i])
19658 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19659 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19660 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19663 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19664 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
19667 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19668 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19669 # trailing colons and then remove the whole line if VPATH becomes empty
19670 # (actually we leave an empty line to preserve line numbers).
19671 if test "x
$srcdir" = x.; then
19672 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19673 s/:*\$(srcdir):*/:/
19674 s/:*\${srcdir}:*/:/
19676 s/^\([^=]*=[ ]*\):*/\1/
19682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19683 fi # test -n "$CONFIG_FILES"
19686 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
19691 :[FHLC]) ac_mode=$ac_tag; continue;;
19693 case $ac_mode$ac_tag in
19695 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19696 :[FH]-) ac_tag=-:-;;
19697 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19714 -) ac_f="$tmp/stdin";;
19715 *) # Look for the file first in the build tree, then in the source tree
19716 # (if the path is not absolute). The absolute path cannot be DOS-style,
19717 # because $ac_f cannot contain `:'.
19721 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19723 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19725 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19726 as_fn_append ac_file_inputs " '$ac_f'"
19729 # Let's still pretend it is `configure' which instantiates (i.e., don't
19730 # use $as_me), people would be surprised to read:
19731 # /* config.h. Generated by config.status. */
19732 configure_input='Generated from '`
19733 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19735 if test x"$ac_file" != x-; then
19736 configure_input="$ac_file.
$configure_input"
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19738 $as_echo "$as_me: creating
$ac_file" >&6;}
19740 # Neutralize special characters interpreted by sed in replacement strings.
19741 case $configure_input in #(
19742 *\&* | *\|* | *\\* )
19743 ac_sed_conf_input=`$as_echo "$configure_input" |
19744 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19745 *) ac_sed_conf_input=$configure_input;;
19749 *:-:* | *:-) cat >"$tmp/stdin
" \
19750 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
19755 ac_dir=`$as_dirname -- "$ac_file" ||
19756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19757 X"$ac_file" : 'X\(//\)[^/]' \| \
19758 X"$ac_file" : 'X\(//\)$' \| \
19759 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19760 $as_echo X"$ac_file" |
19761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19765 /^X\(\/\/\)[^/].*/{
19778 as_dir="$ac_dir"; as_fn_mkdir_p
19782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19784 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19785 # A "..
" for each directory in $ac_dir_suffix.
19786 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19787 case $ac_top_builddir_sub in
19788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19792 ac_abs_top_builddir=$ac_pwd
19793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19794 # for backward compatibility:
19795 ac_top_builddir=$ac_top_build_prefix
19798 .) # We are building in place.
19800 ac_top_srcdir=$ac_top_builddir_sub
19801 ac_abs_top_srcdir=$ac_pwd ;;
19802 [\\/]* | ?:[\\/]* ) # Absolute name.
19803 ac_srcdir=$srcdir$ac_dir_suffix;
19804 ac_top_srcdir=$srcdir
19805 ac_abs_top_srcdir=$srcdir ;;
19806 *) # Relative name.
19807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19808 ac_top_srcdir=$ac_top_build_prefix$srcdir
19809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19821 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19822 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19827 # If the template does not know about datarootdir, expand it.
19828 # FIXME: This hack should be removed a few years after 2.60.
19829 ac_datarootdir_hack=; ac_datarootdir_seen=
19840 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19841 *datarootdir*) ac_datarootdir_seen=yes;;
19842 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19844 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19847 ac_datarootdir_hack='
19848 s&@datadir@&$datadir&g
19849 s&@docdir@&$docdir&g
19850 s&@infodir@&$infodir&g
19851 s&@localedir@&$localedir&g
19852 s&@mandir@&$mandir&g
19853 s&\\\${datarootdir}&$datarootdir&g' ;;
19857 # Neutralize VPATH when `$srcdir' = `.'.
19858 # Shell code in configure.ac might set extrasub.
19859 # FIXME: do we really want to maintain this feature?
19860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19861 ac_sed_extra="$ac_vpsub
19864 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19866 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
19867 s
|@configure_input@
|$ac_sed_conf_input|;t t
19868 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19869 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19870 s
&@srcdir@
&$ac_srcdir&;t t
19871 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19872 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19873 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19874 s
&@builddir@
&$ac_builddir&;t t
19875 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19876 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19877 s
&@INSTALL@
&$ac_INSTALL&;t t
19878 $ac_datarootdir_hack
19880 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19881 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19883 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19884 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19885 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19887 which seems to be undefined. Please make sure it is defined." >&5
19888 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19889 which seems to be undefined. Please make sure it is defined." >&2;}
19893 -) cat "$tmp/out" && rm -f "$tmp/out";;
19894 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19896 || as_fn_error "could not create $ac_file" "$LINENO" 5
19900 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19901 $as_echo "$as_me: executing $ac_file commands" >&6;}
19906 case $ac_file$ac_mode in
19909 # See if we are running on zsh, and set the options which allow our
19910 # commands through without removal of \ escapes.
19911 if test -n "${ZSH_VERSION+set}" ; then
19912 setopt NO_GLOB_SUBST
19915 cfgfile="${ofile}T"
19916 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19919 cat <<_LT_EOF >> "$cfgfile"
19922 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
19923 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19924 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19925 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19927 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19928 # 2006, 2007, 2008 Free Software Foundation, Inc.
19929 # Written by Gordon Matzigkeit, 1996
19931 # This file is part of GNU Libtool.
19933 # GNU Libtool is free software; you can redistribute it and/or
19934 # modify it under the terms of the GNU General Public License as
19935 # published by the Free Software Foundation; either version 2 of
19936 # the License, or (at your option) any later version.
19938 # As a special exception to the GNU General Public License,
19939 # if you distribute this file as part of a program or library that
19940 # is built using GNU Libtool, you may include this file under the
19941 # same distribution terms that you use for the rest of that program.
19943 # GNU Libtool is distributed in the hope that it will be useful,
19944 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19945 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19946 # GNU General Public License for more details.
19948 # You should have received a copy of the GNU General Public License
19949 # along with GNU Libtool; see the file COPYING. If not, a copy
19950 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19951 # obtained by writing to the Free Software Foundation, Inc.,
19952 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19955 # The names of the tagged configurations supported by this script.
19956 available_tags="CXX "
19958 # ### BEGIN LIBTOOL CONFIG
19960 # Which release of libtool.m4 was used?
19961 macro_version=$macro_version
19962 macro_revision=$macro_revision
19964 # Whether or not to build static libraries.
19965 build_old_libs=$enable_static
19967 # Whether or not to build shared libraries.
19968 build_libtool_libs=$enable_shared
19970 # What type of objects to build.
19973 # Whether or not to optimize for fast installation.
19974 fast_install=$enable_fast_install
19977 host_alias=$host_alias
19981 # The build system.
19982 build_alias=$build_alias
19986 # A sed program that does not truncate output.
19989 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19990 Xsed="\$SED -e 1s/^X//"
19992 # A grep program that handles long lines.
19998 # A literal string matcher.
20001 # A BSD- or MS-compatible name lister.
20004 # Whether we need soft or hard links.
20007 # What is the maximum length of a command?
20008 max_cmd_len=$max_cmd_len
20010 # Object file suffix (normally "o").
20013 # Executable file suffix (normally "").
20016 # whether the shell understands "unset".
20019 # turn spaces into newlines.
20022 # turn newlines into spaces.
20025 # How to create reloadable object files.
20026 reload_flag=$lt_reload_flag
20027 reload_cmds=$lt_reload_cmds
20029 # An object symbol dumper.
20030 OBJDUMP=$lt_OBJDUMP
20032 # Method to check whether dependent libraries are shared objects.
20033 deplibs_check_method=$lt_deplibs_check_method
20035 # Command to use when deplibs_check_method == "file_magic".
20036 file_magic_cmd=$lt_file_magic_cmd
20040 AR_FLAGS=$lt_AR_FLAGS
20042 # A symbol stripping program.
20045 # Commands used to install an old-style archive.
20047 old_postinstall_cmds=$lt_old_postinstall_cmds
20048 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20053 # LTCC compiler flags.
20054 LTCFLAGS=$lt_CFLAGS
20056 # Take the output of nm and produce a listing of raw symbols and C names.
20057 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20059 # Transform the output of nm in a proper C declaration.
20060 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20062 # Transform the output of nm in a C name address pair.
20063 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20065 # Transform the output of nm in a C name address pair when lib prefix is needed.
20066 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20068 # The name of the directory that contains temporary libtool files.
20071 # Shell to use when invoking shell scripts.
20074 # An echo program that does not interpret backslashes.
20077 # Used to examine libraries when file_magic_cmd begins with "file".
20078 MAGIC_CMD=$MAGIC_CMD
20080 # Must we lock files when doing compilation?
20081 need_locks=$lt_need_locks
20083 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20084 DSYMUTIL=$lt_DSYMUTIL
20086 # Tool to change global to local symbols on Mac OS X.
20089 # Tool to manipulate fat objects and archives on Mac OS X.
20092 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20095 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20096 OTOOL64=$lt_OTOOL64
20098 # Old archive suffix (normally "a").
20101 # Shared library suffix (normally ".so").
20102 shrext_cmds=$lt_shrext_cmds
20104 # The commands to extract the exported symbol list from a shared archive.
20105 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20107 # Variables whose values should be saved in libtool wrapper scripts and
20108 # restored at link time.
20109 variables_saved_for_relink=$lt_variables_saved_for_relink
20111 # Do we need the "lib" prefix for modules?
20112 need_lib_prefix=$need_lib_prefix
20114 # Do we need a version for libraries?
20115 need_version=$need_version
20117 # Library versioning type.
20118 version_type=$version_type
20120 # Shared library runtime path variable.
20121 runpath_var=$runpath_var
20123 # Shared library path variable.
20124 shlibpath_var=$shlibpath_var
20126 # Is shlibpath searched before the hard-coded library search path?
20127 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20129 # Format of library name prefix.
20130 libname_spec=$lt_libname_spec
20132 # List of archive names. First name is the real one, the rest are links.
20133 # The last name is the one that the linker finds with -lNAME
20134 library_names_spec=$lt_library_names_spec
20136 # The coded name of the library, if different from the real name.
20137 soname_spec=$lt_soname_spec
20139 # Command to use after installation of a shared archive.
20140 postinstall_cmds=$lt_postinstall_cmds
20142 # Command to use after uninstallation of a shared archive.
20143 postuninstall_cmds=$lt_postuninstall_cmds
20145 # Commands used to finish a libtool library installation in a directory.
20146 finish_cmds=$lt_finish_cmds
20148 # As "finish_cmds", except a single script fragment to be evaled but
20150 finish_eval=$lt_finish_eval
20152 # Whether we should hardcode library paths into libraries.
20153 hardcode_into_libs=$hardcode_into_libs
20155 # Compile-time system search path for libraries.
20156 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20158 # Run-time system search path for libraries.
20159 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20161 # Whether dlopen is supported.
20162 dlopen_support=$enable_dlopen
20164 # Whether dlopen of programs is supported.
20165 dlopen_self=$enable_dlopen_self
20167 # Whether dlopen of statically linked programs is supported.
20168 dlopen_self_static=$enable_dlopen_self_static
20170 # Commands to strip libraries.
20171 old_striplib=$lt_old_striplib
20172 striplib=$lt_striplib
20175 # The linker used to build libraries.
20178 # Commands used to build an old-style archive.
20179 old_archive_cmds=$lt_old_archive_cmds
20181 # A language specific compiler.
20184 # Is the compiler the GNU compiler?
20187 # Compiler flag to turn off builtin functions.
20188 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20190 # How to pass a linker flag through the compiler.
20191 wl=$lt_lt_prog_compiler_wl
20193 # Additional compiler flags for building library objects.
20194 pic_flag=$lt_lt_prog_compiler_pic
20196 # Compiler flag to prevent dynamic linking.
20197 link_static_flag=$lt_lt_prog_compiler_static
20199 # Does compiler simultaneously support -c and -o options?
20200 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20202 # Whether or not to add -lc for building shared libraries.
20203 build_libtool_need_lc=$archive_cmds_need_lc
20205 # Whether or not to disallow shared libs when runtime libs are static.
20206 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20208 # Compiler flag to allow reflexive dlopens.
20209 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20211 # Compiler flag to generate shared objects directly from archives.
20212 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20214 # Whether the compiler copes with passing no objects directly.
20215 compiler_needs_object=$lt_compiler_needs_object
20217 # Create an old-style archive from a shared archive.
20218 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20220 # Create a temporary old-style archive to link instead of a shared archive.
20221 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20223 # Commands used to build a shared archive.
20224 archive_cmds=$lt_archive_cmds
20225 archive_expsym_cmds=$lt_archive_expsym_cmds
20227 # Commands used to build a loadable module if different from building
20228 # a shared archive.
20229 module_cmds=$lt_module_cmds
20230 module_expsym_cmds=$lt_module_expsym_cmds
20232 # Whether we are building with GNU ld or not.
20233 with_gnu_ld=$lt_with_gnu_ld
20235 # Flag that allows shared libraries with undefined symbols to be built.
20236 allow_undefined_flag=$lt_allow_undefined_flag
20238 # Flag that enforces no undefined symbols.
20239 no_undefined_flag=$lt_no_undefined_flag
20241 # Flag to hardcode \$libdir into a binary during linking.
20242 # This must work even if \$libdir does not exist
20243 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20245 # If ld is used when linking, flag to hardcode \$libdir into a binary
20246 # during linking. This must work even if \$libdir does not exist.
20247 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20249 # Whether we need a single "-rpath" flag with a separated argument.
20250 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20252 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20253 # DIR into the resulting binary.
20254 hardcode_direct=$hardcode_direct
20256 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20257 # DIR into the resulting binary and the resulting library dependency is
20258 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20259 # library is relocated.
20260 hardcode_direct_absolute=$hardcode_direct_absolute
20262 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20263 # into the resulting binary.
20264 hardcode_minus_L=$hardcode_minus_L
20266 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20267 # into the resulting binary.
20268 hardcode_shlibpath_var=$hardcode_shlibpath_var
20270 # Set to "yes" if building a shared library automatically hardcodes DIR
20271 # into the library and all subsequent libraries and executables linked
20273 hardcode_automatic=$hardcode_automatic
20275 # Set to yes if linker adds runtime paths of dependent libraries
20276 # to runtime path list.
20277 inherit_rpath=$inherit_rpath
20279 # Whether libtool must link a program against all its dependency libraries.
20280 link_all_deplibs=$link_all_deplibs
20282 # Fix the shell variable \$srcfile for the compiler.
20283 fix_srcfile_path=$lt_fix_srcfile_path
20285 # Set to "yes" if exported symbols are required.
20286 always_export_symbols=$always_export_symbols
20288 # The commands to list exported symbols.
20289 export_symbols_cmds=$lt_export_symbols_cmds
20291 # Symbols that should not be listed in the preloaded symbols.
20292 exclude_expsyms=$lt_exclude_expsyms
20294 # Symbols that must always be exported.
20295 include_expsyms=$lt_include_expsyms
20297 # Commands necessary for linking programs (against libraries) with templates.
20298 prelink_cmds=$lt_prelink_cmds
20300 # Specify filename containing input files.
20301 file_list_spec=$lt_file_list_spec
20303 # How to hardcode a shared library path into an executable.
20304 hardcode_action=$hardcode_action
20306 # The directories searched by this compiler when creating a shared library.
20307 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20309 # Dependencies to place before and after the objects being linked to
20310 # create a shared library.
20311 predep_objects=$lt_predep_objects
20312 postdep_objects=$lt_postdep_objects
20313 predeps=$lt_predeps
20314 postdeps=$lt_postdeps
20316 # The library search path used internally by the compiler when linking
20317 # a shared library.
20318 compiler_lib_search_path=$lt_compiler_lib_search_path
20320 # ### END LIBTOOL CONFIG
20326 cat <<\_LT_EOF >> "$cfgfile"
20327 # AIX sometimes has problems with the GCC collect2 program. For some
20328 # reason, if we set the COLLECT_NAMES environment variable, the problems
20329 # vanish in a puff of smoke.
20330 if test "X${COLLECT_NAMES+set}" != Xset; then
20332 export COLLECT_NAMES
20339 ltmain="$ac_aux_dir/ltmain.sh"
20342 # We use sed instead of cat because bash on DJGPP gets confused if
20343 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20344 # text mode, it properly converts lines to CR/LF. This bash problem
20345 # is reportedly fixed, but why not run on old versions too?
20346 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20347 || (rm -f "$cfgfile"; exit 1)
20351 cat << \_LT_EOF
>> "$cfgfile"
20353 # func_dirname file append nondir_replacement
20354 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20355 # otherwise set result to NONDIR_REPLACEMENT.
20359 */*) func_dirname_result
="${1%/*}${2}" ;;
20360 * ) func_dirname_result
="${3}" ;;
20364 # func_basename file
20367 func_basename_result
="${1##*/}"
20370 # func_dirname_and_basename file append nondir_replacement
20371 # perform func_basename and func_dirname in a single function
20373 # dirname: Compute the dirname of FILE. If nonempty,
20374 # add APPEND to the result, otherwise set result
20375 # to NONDIR_REPLACEMENT.
20376 # value returned in "$func_dirname_result"
20377 # basename: Compute filename of FILE.
20378 # value retuned in "$func_basename_result"
20379 # Implementation must be kept synchronized with func_dirname
20380 # and func_basename. For efficiency, we do not delegate to
20381 # those functions but instead duplicate the functionality here.
20382 func_dirname_and_basename
()
20385 */*) func_dirname_result
="${1%/*}${2}" ;;
20386 * ) func_dirname_result
="${3}" ;;
20388 func_basename_result
="${1##*/}"
20391 # func_stripname prefix suffix name
20392 # strip PREFIX and SUFFIX off of NAME.
20393 # PREFIX and SUFFIX must not contain globbing or regex special
20394 # characters, hashes, percent signs, but SUFFIX may contain a leading
20395 # dot (in which case that matches only a dot).
20398 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20399 # positional parameters, so assign one to ordinary parameter first.
20400 func_stripname_result
=${3}
20401 func_stripname_result
=${func_stripname_result#"${1}"}
20402 func_stripname_result
=${func_stripname_result%"${2}"}
20408 func_opt_split_opt
=${1%%=*}
20409 func_opt_split_arg
=${1#*=}
20416 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20417 *) func_lo2o_result
=${1} ;;
20421 # func_xform libobj-or-source
20424 func_xform_result
=${1%.*}.lo
20427 # func_arith arithmetic-term...
20430 func_arith_result
=$(( $* ))
20434 # STRING may not start with a hyphen.
20437 func_len_result
=${#1}
20442 *) # Bourne compatible functions.
20443 cat << \_LT_EOF
>> "$cfgfile"
20445 # func_dirname file append nondir_replacement
20446 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20447 # otherwise set result to NONDIR_REPLACEMENT.
20450 # Extract subdirectory from the argument.
20451 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20452 if test "X$func_dirname_result" = "X${1}"; then
20453 func_dirname_result
="${3}"
20455 func_dirname_result
="$func_dirname_result${2}"
20459 # func_basename file
20462 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20466 # func_stripname prefix suffix name
20467 # strip PREFIX and SUFFIX off of NAME.
20468 # PREFIX and SUFFIX must not contain globbing or regex special
20469 # characters, hashes, percent signs, but SUFFIX may contain a leading
20470 # dot (in which case that matches only a dot).
20471 # func_strip_suffix prefix name
20475 .
*) func_stripname_result
=`$ECHO "X${3}" \
20476 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20477 *) func_stripname_result
=`$ECHO "X${3}" \
20478 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20483 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20484 my_sed_long_arg
='1s/^-[^=]*=//'
20489 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20490 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20496 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20499 # func_xform libobj-or-source
20502 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20505 # func_arith arithmetic-term...
20508 func_arith_result
=`expr "$@"`
20512 # STRING may not start with a hyphen.
20515 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20521 case $lt_shell_append in
20523 cat << \_LT_EOF
>> "$cfgfile"
20525 # func_append var value
20526 # Append VALUE to the end of shell variable VAR.
20534 cat << \_LT_EOF
>> "$cfgfile"
20536 # func_append var value
20537 # Append VALUE to the end of shell variable VAR.
20548 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20549 || (rm -f "$cfgfile"; exit 1)
20551 mv -f "$cfgfile" "$ofile" ||
20552 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20556 cat <<_LT_EOF >> "$ofile"
20558 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20560 # The linker used to build libraries.
20563 # Commands used to build an old-style archive.
20564 old_archive_cmds=$lt_old_archive_cmds_CXX
20566 # A language specific compiler.
20567 CC=$lt_compiler_CXX
20569 # Is the compiler the GNU compiler?
20572 # Compiler flag to turn off builtin functions.
20573 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20575 # How to pass a linker flag through the compiler.
20576 wl=$lt_lt_prog_compiler_wl_CXX
20578 # Additional compiler flags for building library objects.
20579 pic_flag=$lt_lt_prog_compiler_pic_CXX
20581 # Compiler flag to prevent dynamic linking.
20582 link_static_flag=$lt_lt_prog_compiler_static_CXX
20584 # Does compiler simultaneously support -c and -o options?
20585 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20587 # Whether or not to add -lc for building shared libraries.
20588 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20590 # Whether or not to disallow shared libs when runtime libs are static.
20591 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20593 # Compiler flag to allow reflexive dlopens.
20594 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20596 # Compiler flag to generate shared objects directly from archives.
20597 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20599 # Whether the compiler copes with passing no objects directly.
20600 compiler_needs_object=$lt_compiler_needs_object_CXX
20602 # Create an old-style archive from a shared archive.
20603 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20605 # Create a temporary old-style archive to link instead of a shared archive.
20606 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20608 # Commands used to build a shared archive.
20609 archive_cmds=$lt_archive_cmds_CXX
20610 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20612 # Commands used to build a loadable module if different from building
20613 # a shared archive.
20614 module_cmds=$lt_module_cmds_CXX
20615 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20617 # Whether we are building with GNU ld or not.
20618 with_gnu_ld=$lt_with_gnu_ld_CXX
20620 # Flag that allows shared libraries with undefined symbols to be built.
20621 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20623 # Flag that enforces no undefined symbols.
20624 no_undefined_flag=$lt_no_undefined_flag_CXX
20626 # Flag to hardcode \$libdir into a binary during linking.
20627 # This must work even if \$libdir does not exist
20628 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20630 # If ld is used when linking, flag to hardcode \$libdir into a binary
20631 # during linking. This must work even if \$libdir does not exist.
20632 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20634 # Whether we need a single "-rpath" flag with a separated argument.
20635 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20638 # DIR into the resulting binary.
20639 hardcode_direct=$hardcode_direct_CXX
20641 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20642 # DIR into the resulting binary and the resulting library dependency is
20643 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20644 # library is relocated.
20645 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20647 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20648 # into the resulting binary.
20649 hardcode_minus_L=$hardcode_minus_L_CXX
20651 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20652 # into the resulting binary.
20653 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20655 # Set to "yes" if building a shared library automatically hardcodes DIR
20656 # into the library and all subsequent libraries and executables linked
20658 hardcode_automatic=$hardcode_automatic_CXX
20660 # Set to yes if linker adds runtime paths of dependent libraries
20661 # to runtime path list.
20662 inherit_rpath=$inherit_rpath_CXX
20664 # Whether libtool must link a program against all its dependency libraries.
20665 link_all_deplibs=$link_all_deplibs_CXX
20667 # Fix the shell variable \$srcfile for the compiler.
20668 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20670 # Set to "yes" if exported symbols are required.
20671 always_export_symbols=$always_export_symbols_CXX
20673 # The commands to list exported symbols.
20674 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20676 # Symbols that should not be listed in the preloaded symbols.
20677 exclude_expsyms=$lt_exclude_expsyms_CXX
20679 # Symbols that must always be exported.
20680 include_expsyms=$lt_include_expsyms_CXX
20682 # Commands necessary for linking programs (against libraries) with templates.
20683 prelink_cmds=$lt_prelink_cmds_CXX
20685 # Specify filename containing input files.
20686 file_list_spec=$lt_file_list_spec_CXX
20688 # How to hardcode a shared library path into an executable.
20689 hardcode_action=$hardcode_action_CXX
20691 # The directories searched by this compiler when creating a shared library.
20692 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20694 # Dependencies to place before and after the objects being linked to
20695 # create a shared library.
20696 predep_objects=$lt_predep_objects_CXX
20697 postdep_objects=$lt_postdep_objects_CXX
20698 predeps=$lt_predeps_CXX
20699 postdeps=$lt_postdeps_CXX
20701 # The library search path used internally by the compiler when linking
20702 # a shared library.
20703 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20705 # ### END LIBTOOL TAG CONFIG: CXX
20716 ac_clean_files
=$ac_clean_files_save
20718 test $ac_write_fail = 0 ||
20719 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20722 # configure is writing to config.log, and then calls config.status.
20723 # config.status does its own redirection, appending to config.log.
20724 # Unfortunately, on DOS this fails, as config.log is still kept open
20725 # by configure, so config.status won't be able to write to it; its
20726 # output is simply discarded. So we exec the FD to /dev/null,
20727 # effectively closing config.log, so it can be properly (re)opened and
20728 # appended to by config.status. When coming back to configure, we
20729 # need to make the FD available again.
20730 if test "$no_create" != yes; then
20732 ac_config_status_args
=
20733 test "$silent" = yes &&
20734 ac_config_status_args
="$ac_config_status_args --quiet"
20736 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20738 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20739 # would make configure fail if this is the last instruction.
20740 $ac_cs_success || as_fn_exit $?
20742 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20744 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}