2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir -p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X
--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X
--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X
--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 # Use only awk features that work with 7th edition Unix awk (1978).
682 # My, what an old awk you have, Mr. Solaris!
684 while (length(v1) && length(v2)) {
685 # Set d1 to be the next thing to compare from v1, and likewise for d2.
686 # Normally this is a single character, but if v1 and v2 contain digits,
687 # compare them as integers and fractions as strverscmp does.
688 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
689 # Split v1 and v2 into their leading digit string components d1 and d2,
690 # and advance v1 and v2 past the leading digit strings.
691 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
692 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
693 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
694 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
697 # Compare two fractions.
698 while (d1 ~ /^0/ && d2 ~ /^0/) {
699 d1 = substr(d1, 2); len1--
700 d2 = substr(d2, 2); len2--
702 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
703 # The two components differ in length, and the common prefix
704 # contains only leading zeros. Consider the longer to be less.
708 # Otherwise, compare as strings.
713 # A fraction is less than an integer.
718 # An integer is greater than a fraction.
721 # Compare two integers.
727 # The normal case, without worrying about digits.
728 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
729 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
734 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
735 # which mishandles some comparisons of empty strings to integers.
736 if (length(v2)) exit 1
737 if (length(v1)) exit 2
741 test -n "$DJDIR" || exec 7<&0 </dev
/null
745 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
746 # so uname gets run too.
747 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
752 ac_default_prefix
=/usr
/local
754 ac_config_libobj_dir
=.
761 # Identity of this package.
762 PACKAGE_NAME
='Cycript'
763 PACKAGE_TARNAME
='cycript'
764 PACKAGE_VERSION
='0.9'
765 PACKAGE_STRING
='Cycript 0.9'
766 PACKAGE_BUGREPORT
='saurik@saurik.com'
767 PACKAGE_URL
='http://www.cycript.org/'
769 ac_unique_file
="Console.cpp"
770 # Factoring default headers for most tests.
771 ac_includes_default
="\
773 #ifdef HAVE_SYS_TYPES_H
774 # include <sys/types.h>
776 #ifdef HAVE_SYS_STAT_H
777 # include <sys/stat.h>
783 # ifdef HAVE_STDLIB_H
788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
793 #ifdef HAVE_STRINGS_H
794 # include <strings.h>
796 #ifdef HAVE_INTTYPES_H
797 # include <inttypes.h>
806 ac_subst_vars
='LTLIBOBJS
904 program_transform_name
917 enable_option_checking
928 ac_precious_vars
='build_alias
952 # Initialize some variables set by options.
954 ac_init_version
=false
955 ac_unrecognized_opts
=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
966 program_transform_name
=s
,x
,x
,
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir
='${exec_prefix}/bin'
981 sbindir
='${exec_prefix}/sbin'
982 libexecdir
='${exec_prefix}/libexec'
983 datarootdir
='${prefix}/share'
984 datadir
='${datarootdir}'
985 sysconfdir
='${prefix}/etc'
986 sharedstatedir
='${prefix}/com'
987 localstatedir
='${prefix}/var'
988 includedir
='${prefix}/include'
989 oldincludedir
='/usr/include'
990 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
991 infodir
='${datarootdir}/info'
996 libdir
='${exec_prefix}/lib'
997 localedir
='${datarootdir}/locale'
998 mandir
='${datarootdir}/man'
1004 # If the previous option needs an argument, assign it.
1005 if test -n "$ac_prev"; then
1006 eval $ac_prev=\
$ac_option
1012 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016 # Accept the important Cygnus configure options, so we can diagnose typos.
1018 case $ac_dashdash$ac_option in
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir
=$ac_optarg ;;
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev
=build_alias
;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias
=$ac_optarg ;;
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev
=cache_file
;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file
=$ac_optarg ;;
1039 --config-cache | -C)
1040 cache_file
=config.cache
;;
1042 -datadir | --datadir | --datadi | --datad)
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir
=$ac_optarg ;;
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev
=datarootdir
;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir
=$ac_optarg ;;
1054 -disable-* | --disable-*)
1055 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error
"invalid feature name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_
$ac_useropt"
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval enable_
$ac_useropt=no
;;
1070 -docdir | --docdir | --docdi | --doc | --do)
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir
=$ac_optarg ;;
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir
=$ac_optarg ;;
1080 -enable-* | --enable-*)
1081 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1084 as_fn_error
"invalid feature name: $ac_useropt"
1085 ac_useropt_orig
=$ac_useropt
1086 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1089 "enable_
$ac_useropt"
1091 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep
=', ';;
1094 eval enable_
$ac_useropt=\
$ac_optarg ;;
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev
=exec_prefix
;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix
=$ac_optarg ;;
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help
=long
;;
1111 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1112 ac_init_help
=recursive
;;
1113 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1114 ac_init_help
=short
;;
1116 -host | --host | --hos | --ho)
1117 ac_prev
=host_alias
;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias
=$ac_optarg ;;
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1125 htmldir
=$ac_optarg ;;
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev
=includedir
;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir
=$ac_optarg ;;
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir
=$ac_optarg ;;
1139 -libdir | --libdir | --libdi | --libd)
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir
=$ac_optarg ;;
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev
=libexecdir
;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir
=$ac_optarg ;;
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev
=localedir
;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir
=$ac_optarg ;;
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev
=localstatedir
;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir
=$ac_optarg ;;
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir
=$ac_optarg ;;
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev
=oldincludedir
;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir
=$ac_optarg ;;
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix
=$ac_optarg ;;
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev
=program_prefix
;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix
=$ac_optarg ;;
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev
=program_suffix
;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix
=$ac_optarg ;;
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev
=program_transform_name
;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name
=$ac_optarg ;;
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir
=$ac_optarg ;;
1230 -psdir | --psdir | --psdi | --psd | --ps)
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1239 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1241 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1243 sbindir
=$ac_optarg ;;
1245 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247 | --sharedst | --shareds | --shared | --share | --shar \
1249 ac_prev
=sharedstatedir
;;
1250 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1254 sharedstatedir
=$ac_optarg ;;
1256 -site | --site | --sit)
1258 -site=* | --site=* | --sit=*)
1261 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1263 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264 srcdir
=$ac_optarg ;;
1266 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267 | --syscon | --sysco | --sysc | --sys | --sy)
1268 ac_prev
=sysconfdir
;;
1269 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271 sysconfdir
=$ac_optarg ;;
1273 -target | --target | --targe | --targ | --tar | --ta | --t)
1274 ac_prev
=target_alias
;;
1275 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276 target_alias
=$ac_optarg ;;
1278 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1281 -version | --version | --versio | --versi | --vers | -V)
1282 ac_init_version
=: ;;
1285 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 as_fn_error
"invalid package name: $ac_useropt"
1289 ac_useropt_orig
=$ac_useropt
1290 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep
=', ';;
1298 eval with_
$ac_useropt=\
$ac_optarg ;;
1300 -without-* | --without-*)
1301 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1304 as_fn_error
"invalid package name: $ac_useropt"
1305 ac_useropt_orig
=$ac_useropt
1306 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1311 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312 ac_unrecognized_sep
=', ';;
1314 eval with_
$ac_useropt=no
;;
1317 # Obsolete; use --with-x.
1320 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321 | --x-incl | --x-inc | --x-in | --x-i)
1322 ac_prev
=x_includes
;;
1323 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325 x_includes
=$ac_optarg ;;
1327 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329 ac_prev
=x_libraries
;;
1330 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332 x_libraries
=$ac_optarg ;;
1334 -*) as_fn_error
"unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information."
1339 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1340 # Reject names that are not valid shell variable names.
1341 case $ac_envvar in #(
1342 '' | [0-9]* | *[!_$as_cr_alnum]* )
1343 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1345 eval $ac_envvar=\
$ac_optarg
1346 export $ac_envvar ;;
1349 # FIXME: should be removed in autoconf 3.0.
1350 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1352 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359 if test -n "$ac_prev"; then
1360 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1361 as_fn_error
"missing argument to $ac_option"
1364 if test -n "$ac_unrecognized_opts"; then
1365 case $enable_option_checking in
1367 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1368 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1372 # Check all directory arguments for consistency.
1373 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374 datadir sysconfdir sharedstatedir localstatedir includedir \
1375 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376 libdir localedir mandir
1378 eval ac_val
=\$
$ac_var
1379 # Remove trailing slashes.
1382 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383 eval $ac_var=\
$ac_val;;
1385 # Be sure to have absolute directory names.
1387 [\\/$
]* | ?
:[\\/]* ) continue;;
1388 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1390 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1398 target
=$target_alias
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x
; then
1402 if test "x$build_alias" = x
; then
1403 cross_compiling
=maybe
1404 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1405 If a cross compiler is detected then cross compile mode will be used." >&2
1406 elif test "x$build_alias" != "x$host_alias"; then
1412 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1414 test "$silent" = yes && exec 6>/dev
/null
1417 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1418 ac_ls_di
=`ls -di .` &&
1419 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1420 as_fn_error
"working directory cannot be determined"
1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1422 as_fn_error
"pwd does not report name of working directory"
1425 # Find the source files, if location was not specified.
1426 if test -z "$srcdir"; then
1427 ac_srcdir_defaulted
=yes
1428 # Try the directory containing this script, then the parent directory.
1429 ac_confdir
=`$as_dirname -- "$as_myself" ||
1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1431 X"$as_myself" : 'X\(//\)[^/]' \| \
1432 X"$as_myself" : 'X\(//\)$' \| \
1433 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1434 $as_echo X"$as_myself" |
1435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1457 ac_srcdir_defaulted
=no
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1460 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1461 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1463 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1465 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1467 # When building in place, set srcdir=.
1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471 # Remove unnecessary trailing slashes from srcdir.
1472 # Double slashes in file names in object file debugging info
1473 # mess up M-x gdb in Emacs.
1475 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1477 for ac_var
in $ac_precious_vars; do
1478 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1479 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1480 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1481 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1485 # Report the --help message.
1487 if test "$ac_init_help" = "long"; then
1488 # Omit some internal or obsolete options to make the list less imposing.
1489 # This message is too long to be a string in the A/UX 3.1 sh.
1491 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1493 Usage: $0 [OPTION]... [VAR=VALUE]...
1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496 VAR=VALUE. See below for descriptions of some of the useful variables.
1498 Defaults for the options are specified in brackets.
1501 -h, --help display this help and exit
1502 --help=short display options specific to this package
1503 --help=recursive display the short help of all the included packages
1504 -V, --version display version information and exit
1505 -q, --quiet, --silent do not print \`checking...' messages
1506 --cache-file=FILE cache test results in FILE [disabled]
1507 -C, --config-cache alias for \`--cache-file=config.cache'
1508 -n, --no-create do not create output files
1509 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1511 Installation directories:
1512 --prefix=PREFIX install architecture-independent files in PREFIX
1513 [$ac_default_prefix]
1514 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1517 By default, \`make install' will install all the files in
1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520 for instance \`--prefix=\$HOME'.
1522 For better control, use the options below.
1524 Fine tuning of the installation directories:
1525 --bindir=DIR user executables [EPREFIX/bin]
1526 --sbindir=DIR system admin executables [EPREFIX/sbin]
1527 --libexecdir=DIR program executables [EPREFIX/libexec]
1528 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1529 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1530 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1531 --libdir=DIR object code libraries [EPREFIX/lib]
1532 --includedir=DIR C header files [PREFIX/include]
1533 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1534 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1535 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1536 --infodir=DIR info documentation [DATAROOTDIR/info]
1537 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1538 --mandir=DIR man documentation [DATAROOTDIR/man]
1539 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1540 --htmldir=DIR html documentation [DOCDIR]
1541 --dvidir=DIR dvi documentation [DOCDIR]
1542 --pdfdir=DIR pdf documentation [DOCDIR]
1543 --psdir=DIR ps documentation [DOCDIR]
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-static[=PKGS
] build static libraries
[default
=no
]
1565 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1566 --enable-fast-install[=PKGS
]
1567 optimize
for fast installation
[default
=yes]
1568 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1569 --disable-rpath do not hardcode runtime library paths
1572 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1573 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1574 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1576 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1577 --with-apr=PATH prefix
for installed APR or the full path to
1579 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1580 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1581 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1592 PKG_CONFIG path to pkg-config utility
1593 CXX C++ compiler command
1594 CXXFLAGS C++ compiler flags
1595 CXXCPP C++ preprocessor
1596 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1597 the first program found out of
: `bison -y', `byacc
', `yacc'.
1598 YFLAGS The list of arguments that will be passed by default to
$YACC.
1599 This
script will default YFLAGS to the empty string to avoid a
1600 default value of
`-d' given by some make applications.
1602 C compiler flags for WEBKIT, overriding pkg-config
1603 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1605 C compiler flags for LIBFFI, overriding pkg-config
1606 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1607 OBJCXX Objective C++ compiler command
1608 OBJCXXFLAGS Objective C++ compiler flags
1610 Use these variables to override the choices made by `configure
' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to <saurik@saurik.com>.
1614 Cycript home page: <http://www.cycript.org/>.
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1644 .) # We are building in place.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1677 Cycript configure 0.9
1678 generated by GNU Autoconf 2.65
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^
*+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's
/^
/| /' conftest.$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 as_fn_set_status $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^
*+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 $as_test_x conftest$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's
/^
/| /' conftest.$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We
do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1771 as_fn_set_status
$ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile
()
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_cpp LINENO
1807 # ----------------------
1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } >/dev/null && {
1828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 as_fn_set_status $ac_retval
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_link"
1852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1853 *) ac_try_echo
=$ac_try;;
1855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1877 ac_retval=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 as_fn_set_status $ac_retval
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_compile LINENO
1953 # ----------------------------
1954 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_compile ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 rm -f conftest.$ac_objext
1959 if { { ac_try="$ac_compile"
1961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_compile") 2>conftest.err
1968 if test -s conftest.err
; then
1969 grep -v '^ *+' conftest.err
>conftest.er1
1970 cat conftest.er1
>&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && {
1975 test -z "$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1977 } && test -s conftest.
$ac_objext; then :
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.
$ac_ext >&5
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1986 as_fn_set_status
$ac_retval
1988 } # ac_fn_cxx_try_compile
1990 # ac_fn_cxx_try_cpp LINENO
1991 # ------------------------
1992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_cpp
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } >/dev/null && {
2012 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2023 as_fn_set_status $ac_retval
2025 } # ac_fn_cxx_try_cpp
2027 # ac_fn_cxx_try_link LINENO
2028 # -------------------------
2029 # Try to link conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_link ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 rm -f conftest.$ac_objext conftest$ac_exeext
2034 if { { ac_try="$ac_link"
2036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2037 *) ac_try_echo
=$ac_try;;
2039 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_link") 2>conftest.err
2043 if test -s conftest.err
; then
2044 grep -v '^ *+' conftest.err
>conftest.er1
2045 cat conftest.er1
>&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } && {
2050 test -z "$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 } && test -s conftest
$ac_exeext && {
2053 test "$cross_compiling" = yes ||
2054 $as_test_x conftest
$ac_exeext
2058 $as_echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.
$ac_ext >&5
2063 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2064 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2065 # interfere with the next link command; also delete a directory that is
2066 # left behind by Apple's compiler. We do this before executing the actions.
2067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2068 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2069 as_fn_set_status
$ac_retval
2071 } # ac_fn_cxx_try_link
2073 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # ---------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2078 ac_fn_cxx_check_header_mongrel
()
2080 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2081 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 $as_echo_n "(cached) " >&6
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2091 # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_cxx_try_compile
"$LINENO"; then :
2100 ac_header_compiler
=yes
2102 ac_header_compiler
=no
2104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2116 ac_header_preproc
=yes
2118 ac_header_preproc
=no
2120 rm -f conftest.err conftest.
$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2124 # So? What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2144 ## -------------------------------- ##
2145 ## Report this to saurik@saurik.com ##
2146 ## -------------------------------- ##
2148 ) | sed "s/^/$as_me: WARNING: /" >&2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2152 $as_echo_n "checking for $2... " >&6; }
2153 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 $as_echo_n "(cached) " >&6
2156 eval "$3=\$ac_header_compiler"
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2164 } # ac_fn_cxx_check_header_mongrel
2166 # ac_fn_cxx_try_run LINENO
2167 # ------------------------
2168 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2169 # that executables *can* be run.
2170 ac_fn_cxx_try_run
()
2172 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2173 if { { ac_try
="$ac_link"
2175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179 $as_echo "$ac_try_echo"; } >&5
2180 (eval "$ac_link") 2>&5
2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2183 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2184 { { case "(($ac_try" in
2185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2186 *) ac_try_echo
=$ac_try;;
2188 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2189 $as_echo "$ac_try_echo"; } >&5
2190 (eval "$ac_try") 2>&5
2192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2193 test $ac_status = 0; }; }; then :
2196 $as_echo "$as_me: program exited with status $ac_status" >&5
2197 $as_echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.
$ac_ext >&5
2200 ac_retval
=$ac_status
2202 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2203 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2204 as_fn_set_status
$ac_retval
2206 } # ac_fn_cxx_try_run
2208 # ac_fn_objcxx_try_compile LINENO
2209 # -------------------------------
2210 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2211 ac_fn_objcxx_try_compile
()
2213 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2214 rm -f conftest.
$ac_objext
2215 if { { ac_try
="$ac_compile"
2217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2218 *) ac_try_echo=$ac_try;;
2220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2221 $as_echo "$ac_try_echo"; } >&5
2222 (eval "$ac_compile") 2>conftest.err
2224 if test -s conftest.err; then
2225 grep -v '^ *+' conftest.err >conftest.er1
2226 cat conftest.er1 >&5
2227 mv -f conftest.er1 conftest.err
2229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2230 test $ac_status = 0; } && {
2231 test -z "$ac_objcxx_werror_flag" ||
2232 test ! -s conftest.err
2233 } && test -s conftest.$ac_objext; then :
2236 $as_echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.$ac_ext >&5
2241 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2242 as_fn_set_status $ac_retval
2244 } # ac_fn_objcxx_try_compile
2245 cat >config.log <<_ACEOF
2246 This file contains any messages produced by compilers while
2247 running configure, to aid debugging if configure makes a mistake.
2249 It was created by Cycript $as_me 0.9, which was
2250 generated by GNU Autoconf 2.65. Invocation command line was
2262 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2263 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2264 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2265 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2266 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2268 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2269 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2271 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2272 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2273 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2274 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2275 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2276 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2277 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir=.
2286 $as_echo "PATH: $as_dir"
2302 # Keep a trace of the command line.
2303 # Strip out --no-create and --no-recursion so they do not pile up.
2304 # Strip out --silent because we don't want to record it for future runs.
2305 # Also quote any args containing shell meta-characters.
2306 # Make two passes to allow for proper duplicate-argument suppression.
2310 ac_must_keep_next=false
2316 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2318 | -silent | --silent | --silen | --sile | --sil)
2321 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2324 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2326 as_fn_append ac_configure_args1 " '$ac_arg'"
2327 if test $ac_must_keep_next = true; then
2328 ac_must_keep_next=false # Got value, back to normal.
2331 *=* | --config-cache | -C | -disable-* | --disable-* \
2332 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2333 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2334 | -with-* | --with-* | -without-* | --without-* | --x)
2335 case "$ac_configure_args0 " in
2336 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2339 -* ) ac_must_keep_next=true ;;
2342 as_fn_append ac_configure_args " '$ac_arg'"
2347 { ac_configure_args0=; unset ac_configure_args0;}
2348 { ac_configure_args1=; unset ac_configure_args1;}
2350 # When interrupted or exit'd, cleanup temporary files, and complete
2351 # config.log. We remove comments because anyway the quotes in there
2352 # would cause problems or look ugly.
2353 # WARNING: Use '\'' to represent an apostrophe within the trap.
2354 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2355 trap 'exit_status=$?
2356 # Save into config.log some information that might help in debugging.
2361 ## ---------------- ##
2362 ## Cache variables. ##
2363 ## ---------------- ##
2366 # The following way of writing the cache mishandles newlines in values,
2368 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2369 eval ac_val=\$$ac_var
2373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2377 _ | IFS | as_nl) ;; #(
2378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2379 *) { eval $ac_var=; unset $ac_var;} ;;
2384 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2385 *${as_nl}ac_space=\ *)
2387 "s/'\''/'\''\\\\'\'''\''/g;
2388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2399 ## ----------------- ##
2400 ## Output variables. ##
2401 ## ----------------- ##
2404 for ac_var in $ac_subst_vars
2406 eval ac_val=\$$ac_var
2408 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2410 $as_echo "$ac_var='\''$ac_val'\''"
2414 if test -n "$ac_subst_files"; then
2416 ## ------------------- ##
2417 ## File substitutions. ##
2418 ## ------------------- ##
2421 for ac_var in $ac_subst_files
2423 eval ac_val=\$$ac_var
2425 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2427 $as_echo "$ac_var='\''$ac_val'\''"
2432 if test -s confdefs.h; then
2442 test "$ac_signal" != 0 &&
2443 $as_echo "$as_me: caught signal $ac_signal"
2444 $as_echo "$as_me: exit $exit_status"
2446 rm -f core *.core core.conftest.* &&
2447 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2450 for ac_signal in 1 2 13 15; do
2451 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2455 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2456 rm -f -r conftest* confdefs.h
2458 $as_echo "/* confdefs.h */" > confdefs.h
2460 # Predefined preprocessor variables.
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_NAME "$PACKAGE_NAME"
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_STRING "$PACKAGE_STRING"
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_URL "$PACKAGE_URL"
2487 # Let the site file select an alternate cache file if it wants to.
2488 # Prefer an explicitly selected file to automatically selected ones.
2491 if test -n "$CONFIG_SITE"; then
2492 ac_site_file1=$CONFIG_SITE
2493 elif test "x$prefix" != xNONE; then
2494 ac_site_file1=$prefix/share/config.site
2495 ac_site_file2=$prefix/etc/config.site
2497 ac_site_file1=$ac_default_prefix/share/config.site
2498 ac_site_file2=$ac_default_prefix/etc/config.site
2500 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2502 test "x$ac_site_file" = xNONE && continue
2503 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2505 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2506 sed 's/^/| /' "$ac_site_file" >&5
2511 if test -r "$cache_file"; then
2512 # Some versions of bash will fail to source /dev/null (special files
2513 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2514 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2516 $as_echo "$as_me: loading cache $cache_file" >&6;}
2518 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2519 *) . "./$cache_file";;
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2524 $as_echo "$as_me: creating cache $cache_file" >&6;}
2528 # Check that the precious variables saved in the cache have kept the same
2530 ac_cache_corrupted=false
2531 for ac_var in $ac_precious_vars; do
2532 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2533 eval ac_new_set=\$ac_env_${ac_var}_set
2534 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2535 eval ac_new_val=\$ac_env_${ac_var}_value
2536 case $ac_old_set,$ac_new_set in
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2539 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2540 ac_cache_corrupted=: ;;
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2543 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2544 ac_cache_corrupted=: ;;
2547 if test "x$ac_old_val" != "x$ac_new_val"; then
2548 # differences in whitespace do not lead to failure.
2549 ac_old_val_w=`echo x
$ac_old_val`
2550 ac_new_val_w=`echo x
$ac_new_val`
2551 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2553 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2554 ac_cache_corrupted=:
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2557 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2558 eval $ac_var=\$ac_old_val
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2561 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2563 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2566 # Pass precious variables to config.status.
2567 if test "$ac_new_set" = set; then
2569 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2570 *) ac_arg=$ac_var=$ac_new_val ;;
2572 case " $ac_configure_args " in
2573 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2574 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2578 if $ac_cache_corrupted; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2582 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2583 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2585 ## -------------------- ##
2586 ## Main body of script. ##
2587 ## -------------------- ##
2590 ac_cpp='$CPP $CPPFLAGS'
2591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 for ac_dir in . "$srcdir"/.; do
2599 for ac_t in install-sh install.sh shtool; do
2600 if test -f "$ac_dir/$ac_t"; then
2602 ac_install_sh="$ac_aux_dir/$ac_t -c"
2607 if test -z "$ac_aux_dir"; then
2608 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2611 # These three variables are undocumented and unsupported,
2612 # and are intended to be withdrawn in a future Autoconf release.
2613 # They can cause serious problems if a builder's source tree is in a directory
2614 # whose full name contains unusual characters.
2615 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2616 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2617 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2623 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2628 macro_version='2.2.6b'
2629 macro_revision='1.3017'
2643 ltmain="$ac_aux_dir/ltmain.sh"
2645 # Make sure we can run config.sub.
2646 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2647 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2650 $as_echo_n "checking build system type... " >&6; }
2651 if test "${ac_cv_build+set}" = set; then :
2652 $as_echo_n "(cached) " >&6
2654 ac_build_alias=$build_alias
2655 test "x$ac_build_alias" = x &&
2656 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2657 test "x$ac_build_alias" = x &&
2658 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2660 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2664 $as_echo "$ac_cv_build" >&6; }
2665 case $ac_cv_build in
2667 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2670 ac_save_IFS=$IFS; IFS='-'
2676 # Remember, the first character of IFS is used to create $*,
2677 # except with old shells:
2680 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2684 $as_echo_n "checking host system type... " >&6; }
2685 if test "${ac_cv_host+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test "x$host_alias" = x; then
2689 ac_cv_host=$ac_cv_build
2691 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2692 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2697 $as_echo "$ac_cv_host" >&6; }
2700 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2703 ac_save_IFS=$IFS; IFS='-'
2709 # Remember, the first character of IFS is used to create $*,
2710 # except with old shells:
2713 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2717 ac_cpp='$CPP $CPPFLAGS'
2718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2721 if test -n "$ac_tool_prefix"; then
2722 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2723 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2725 $as_echo_n "checking for $ac_word... " >&6; }
2726 if test "${ac_cv_prog_CC+set}" = set; then :
2727 $as_echo_n "(cached) " >&6
2729 if test -n "$CC"; then
2730 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2736 test -z "$as_dir" && as_dir=.
2737 for ac_exec_ext in '' $ac_executable_extensions; do
2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 if test -n "$CC"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2752 $as_echo "$CC" >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755 $as_echo "no" >&6; }
2760 if test -z "$ac_cv_prog_CC"; then
2762 # Extract the first word of "gcc", so it can be a program name with args.
2763 set dummy gcc; ac_word=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$ac_ct_CC"; then
2770 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 for ac_exec_ext in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_ac_ct_CC="gcc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2790 if test -n "$ac_ct_CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2792 $as_echo "$ac_ct_CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2798 if test "x$ac_ct_CC" = x; then
2801 case $cross_compiling:$ac_tool_warned in
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2804 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2805 ac_tool_warned=yes ;;
2813 if test -z "$CC"; then
2814 if test -n "$ac_tool_prefix"; then
2815 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2816 set dummy ${ac_tool_prefix}cc; ac_word=$2
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 $as_echo_n "checking for $ac_word... " >&6; }
2819 if test "${ac_cv_prog_CC+set}" = set; then :
2820 $as_echo_n "(cached) " >&6
2822 if test -n "$CC"; then
2823 ac_cv_prog_CC="$CC" # Let the user override the test.
2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829 test -z "$as_dir" && as_dir=.
2830 for ac_exec_ext in '' $ac_executable_extensions; do
2831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832 ac_cv_prog_CC="${ac_tool_prefix}cc"
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test -n "$CC"; then
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2845 $as_echo "$CC" >&6; }
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2848 $as_echo "no" >&6; }
2854 if test -z "$CC"; then
2855 # Extract the first word of "cc", so it can be a program name with args.
2856 set dummy cc; ac_word=$2
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2858 $as_echo_n "checking for $ac_word... " >&6; }
2859 if test "${ac_cv_prog_CC+set}" = set; then :
2860 $as_echo_n "(cached) " >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir=.
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2874 ac_prog_rejected=yes
2878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test $ac_prog_rejected = yes; then
2886 # We found a bogon in the path, so make sure we never use it.
2887 set dummy $ac_cv_prog_CC
2889 if test $# != 0; then
2890 # We chose a different compiler from the bogus one.
2891 # However, it has the same basename, so the bogon will be chosen
2892 # first if we set CC to just the basename; use the full file name.
2894 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2910 if test -z "$CC"; then
2911 if test -n "$ac_tool_prefix"; then
2912 for ac_prog in cl.exe
2914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2915 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if test "${ac_cv_prog_CC+set}" = set; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$CC"; then
2922 ac_cv_prog_CC="$CC" # Let the user override the test.
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir=.
2929 for ac_exec_ext in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$CC" && break
2954 if test -z "$CC"; then
2956 for ac_prog in cl.exe
2958 # Extract the first word of "$ac_prog", so it can be a program name with args.
2959 set dummy $ac_prog; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$ac_ct_CC"; then
2966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_CC="$ac_prog"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2988 $as_echo "$ac_ct_CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2995 test -n "$ac_ct_CC" && break
2998 if test "x$ac_ct_CC" = x; then
3001 case $cross_compiling:$ac_tool_warned in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005 ac_tool_warned=yes ;;
3014 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3016 as_fn_error "no acceptable C compiler found
in \
$PATH
3017 See \
`config.log' for more details." "$LINENO" 5; }
3019 # Provide some information about the compiler.
3020 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3023 for ac_option in --version -v -V -qversion; do
3024 { { ac_try="$ac_compiler $ac_option >&5"
3026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3027 *) ac_try_echo
=$ac_try;;
3029 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3033 if test -s conftest.err
; then
3035 ... rest of stderr output deleted ...
3036 10q' conftest.err
>conftest.er1
3037 cat conftest.er1
>&5
3039 rm -f conftest.er1 conftest.err
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }
3044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3055 ac_clean_files_save
=$ac_clean_files
3056 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3057 # Try to create an executable without -o first, disregard a.out.
3058 # It will help us diagnose broken compilers, and finding out an intuition
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3061 $as_echo_n "checking whether the C compiler works... " >&6; }
3062 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3064 # The possible output files:
3065 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3068 for ac_file
in $ac_files
3071 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3072 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3077 if { { ac_try
="$ac_link_default"
3079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3083 $as_echo "$ac_try_echo"; } >&5
3084 (eval "$ac_link_default") 2>&5
3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3087 test $ac_status = 0; }; then :
3088 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3089 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3090 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3091 # so that the user can short-circuit this test for compilers unknown to
3093 for ac_file in $ac_files ''
3095 test -f "$ac_file" || continue
3097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3100 # We found the default executable, but exeext='' is most
3104 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3106 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3108 # We set ac_cv_exeext here because the later test for it is not
3109 # safe: cross compilers may not add the suffix if given an `-o'
3110 # argument, so we may need to know it at that point already.
3111 # Even if this section looks crufty: it has the advantage of
3118 test "$ac_cv_exeext" = no && ac_cv_exeext=
3123 if test -z "$ac_file"; then :
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125 $as_echo "no" >&6; }
3126 $as_echo "$as_me: failed program was:" >&5
3127 sed 's
/^
/| /' conftest.$ac_ext >&5
3129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3131 { as_fn_set_status 77
3132 as_fn_error "C compiler cannot create executables
3133 See \`config.log
' for more details." "$LINENO" 5; }; }
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3136 $as_echo "yes" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3139 $as_echo_n "checking for C compiler default output file name... " >&6; }
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3141 $as_echo "$ac_file" >&6; }
3142 ac_exeext=$ac_cv_exeext
3144 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3145 ac_clean_files=$ac_clean_files_save
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3147 $as_echo_n "checking for suffix of executables... " >&6; }
3148 if { { ac_try="$ac_link"
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_link") 2>&5
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }; then :
3159 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3160 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3161 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3163 for ac_file
in conftest.exe conftest conftest.
*; do
3164 test -f "$ac_file" || continue
3166 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3167 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3175 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3176 See \`config.log' for more details." "$LINENO" 5; }
3178 rm -f conftest conftest
$ac_cv_exeext
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3180 $as_echo "$ac_cv_exeext" >&6; }
3182 rm -f conftest.
$ac_ext
3183 EXEEXT
=$ac_cv_exeext
3185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3191 FILE *f = fopen ("conftest.out", "w");
3192 return ferror (f) || fclose (f) != 0;
3198 ac_clean_files
="$ac_clean_files conftest.out"
3199 # Check that the compiler produces executables we can run. If not, either
3200 # the compiler is broken, or we cross compile.
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3202 $as_echo_n "checking whether we are cross compiling... " >&6; }
3203 if test "$cross_compiling" != yes; then
3204 { { ac_try
="$ac_link"
3206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_link") 2>&5
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }
3215 if { ac_try='./conftest$ac_cv_exeext'
3216 { { case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3218 *) ac_try_echo
=$ac_try;;
3220 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_try") 2>&5
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; }; }; then
3228 if test "$cross_compiling" = maybe
; then
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error
"cannot run C compiled programs.
3234 If you meant to cross compile, use \`--host'.
3235 See \`config.log' for more details." "$LINENO" 5; }
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3240 $as_echo "$cross_compiling" >&6; }
3242 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3243 ac_clean_files
=$ac_clean_files_save
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3245 $as_echo_n "checking for suffix of object files... " >&6; }
3246 if test "${ac_cv_objext+set}" = set; then :
3247 $as_echo_n "(cached) " >&6
3249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3260 rm -f conftest.o conftest.obj
3261 if { { ac_try
="$ac_compile"
3263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3264 *) ac_try_echo=$ac_try;;
3266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3267 $as_echo "$ac_try_echo"; } >&5
3268 (eval "$ac_compile") 2>&5
3270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3271 test $ac_status = 0; }; then :
3272 for ac_file in conftest.o conftest.obj conftest.*; do
3273 test -f "$ac_file" || continue;
3275 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3276 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3281 $as_echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.$ac_ext >&5
3284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3286 as_fn_error "cannot compute suffix of object files
: cannot compile
3287 See \
`config.log' for more details." "$LINENO" 5; }
3289 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3292 $as_echo "$ac_cv_objext" >&6; }
3293 OBJEXT=$ac_cv_objext
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3296 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3297 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3298 $as_echo_n "(cached) " >&6
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3314 if ac_fn_c_try_compile "$LINENO"; then :
3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3320 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3324 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3325 if test $ac_compiler_gnu = yes; then
3330 ac_test_CFLAGS=${CFLAGS+set}
3331 ac_save_CFLAGS=$CFLAGS
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3333 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3334 if test "${ac_cv_prog_cc_g+set}" = set; then :
3335 $as_echo_n "(cached) " >&6
3337 ac_save_c_werror_flag=$ac_c_werror_flag
3338 ac_c_werror_flag=yes
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3352 if ac_fn_c_try_compile "$LINENO"; then :
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3367 if ac_fn_c_try_compile "$LINENO"; then :
3370 ac_c_werror_flag=$ac_save_c_werror_flag
3372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h. */
3383 if ac_fn_c_try_compile "$LINENO"; then :
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 ac_c_werror_flag=$ac_save_c_werror_flag
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3394 $as_echo "$ac_cv_prog_cc_g" >&6; }
3395 if test "$ac_test_CFLAGS" = set; then
3396 CFLAGS=$ac_save_CFLAGS
3397 elif test $ac_cv_prog_cc_g = yes; then
3398 if test "$GCC" = yes; then
3404 if test "$GCC" = yes; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3411 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3412 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3413 $as_echo_n "(cached) " >&6
3415 ac_cv_prog_cc_c89=no
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 #include <sys/types.h>
3422 #include <sys/stat.h>
3423 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3424 struct buf { int x; };
3425 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3426 static char *e (p, i)
3432 static char *f (char * (*g) (char **, int), char **p, ...)
3437 s = g (p, va_arg (v,int));
3442 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3443 function prototypes and stuff, but not '\xHH' hex character constants.
3444 These don't provoke an error unfortunately, instead are silently treated
3445 as 'x'. The following induces an error, until -std is added to get
3446 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3447 array size at least. It's necessary to write '\x00'==0 to get something
3448 that's true only with -std. */
3449 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3451 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3452 inside strings and character constants. */
3454 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3456 int test (int i, double x);
3457 struct s1 {int (*f) (int a);};
3458 struct s2 {int (*f) (double a);};
3459 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3465 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3470 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3471 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3473 CC="$ac_save_CC $ac_arg"
3474 if ac_fn_c_try_compile "$LINENO"; then :
3475 ac_cv_prog_cc_c89=$ac_arg
3477 rm -f core conftest.err conftest.$ac_objext
3478 test "x$ac_cv_prog_cc_c89" != "xno" && break
3480 rm -f conftest.$ac_ext
3485 case "x$ac_cv_prog_cc_c89" in
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3488 $as_echo "none needed" >&6; } ;;
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3491 $as_echo "unsupported" >&6; } ;;
3493 CC="$CC $ac_cv_prog_cc_c89"
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3497 if test "x$ac_cv_prog_cc_c89" != xno; then :
3502 ac_cpp='$CPP $CPPFLAGS'
3503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3508 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3509 if test "${ac_cv_path_SED+set}" = set; then :
3510 $as_echo_n "(cached) " >&6
3512 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3513 for ac_i in 1 2 3 4 5 6 7; do
3514 ac_script="$ac_script$as_nl$ac_script"
3516 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3517 { ac_script=; unset ac_script;}
3518 if test -z "$SED"; then
3519 ac_path_SED_found=false
3520 # Loop through the user's path and test for each of PROGNAME-LIST
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_prog in sed gsed; do
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3529 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3530 # Check for GNU ac_path_SED and select it if it is found.
3531 # Check for GNU $ac_path_SED
3532 case `"$ac_path_SED" --version 2>&1` in
3534 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3537 $as_echo_n 0123456789 >"conftest.in"
3540 cat "conftest.in" "conftest.in" >"conftest.tmp"
3541 mv "conftest.tmp" "conftest.in"
3542 cp "conftest.in" "conftest.nl"
3543 $as_echo '' >> "conftest.nl"
3544 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3545 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3546 as_fn_arith $ac_count + 1 && ac_count=$as_val
3547 if test $ac_count -gt ${ac_path_SED_max-0}; then
3548 # Best one so far, save it but keep looking for a better one
3549 ac_cv_path_SED="$ac_path_SED"
3550 ac_path_SED_max=$ac_count
3552 # 10*(2^10) chars as input seems more than enough
3553 test $ac_count -gt 10 && break
3555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3558 $ac_path_SED_found && break 3
3563 if test -z "$ac_cv_path_SED"; then
3564 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3572 $as_echo "$ac_cv_path_SED" >&6; }
3573 SED="$ac_cv_path_SED"
3576 test -z "$SED" && SED=sed
3577 Xsed="$SED -e 1s/^X//"
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3590 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3591 if test "${ac_cv_path_GREP+set}" = set; then :
3592 $as_echo_n "(cached) " >&6
3594 if test -z "$GREP"; then
3595 ac_path_GREP_found=false
3596 # Loop through the user's path and test for each of PROGNAME-LIST
3597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3601 test -z "$as_dir" && as_dir=.
3602 for ac_prog in grep ggrep; do
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3604 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3605 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3606 # Check for GNU ac_path_GREP and select it if it is found.
3607 # Check for GNU $ac_path_GREP
3608 case `"$ac_path_GREP" --version 2>&1` in
3610 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3613 $as_echo_n 0123456789 >"conftest.in"
3616 cat "conftest.in" "conftest.in" >"conftest.tmp"
3617 mv "conftest.tmp" "conftest.in"
3618 cp "conftest.in" "conftest.nl"
3619 $as_echo 'GREP' >> "conftest.nl"
3620 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3621 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3622 as_fn_arith $ac_count + 1 && ac_count=$as_val
3623 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3624 # Best one so far, save it but keep looking for a better one
3625 ac_cv_path_GREP="$ac_path_GREP"
3626 ac_path_GREP_max=$ac_count
3628 # 10*(2^10) chars as input seems more than enough
3629 test $ac_count -gt 10 && break
3631 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3634 $ac_path_GREP_found && break 3
3639 if test -z "$ac_cv_path_GREP"; then
3640 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3643 ac_cv_path_GREP=$GREP
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3648 $as_echo "$ac_cv_path_GREP" >&6; }
3649 GREP="$ac_cv_path_GREP"
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3653 $as_echo_n "checking for egrep... " >&6; }
3654 if test "${ac_cv_path_EGREP+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3657 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3658 then ac_cv_path_EGREP="$GREP -E"
3660 if test -z "$EGREP"; then
3661 ac_path_EGREP_found=false
3662 # Loop through the user's path and test for each of PROGNAME-LIST
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3667 test -z "$as_dir" && as_dir=.
3668 for ac_prog in egrep; do
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3671 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3672 # Check for GNU ac_path_EGREP and select it if it is found.
3673 # Check for GNU $ac_path_EGREP
3674 case `"$ac_path_EGREP" --version 2>&1` in
3676 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3679 $as_echo_n 0123456789 >"conftest.in"
3682 cat "conftest.in" "conftest.in" >"conftest.tmp"
3683 mv "conftest.tmp" "conftest.in"
3684 cp "conftest.in" "conftest.nl"
3685 $as_echo 'EGREP' >> "conftest.nl"
3686 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3687 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3688 as_fn_arith $ac_count + 1 && ac_count=$as_val
3689 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3690 # Best one so far, save it but keep looking for a better one
3691 ac_cv_path_EGREP="$ac_path_EGREP"
3692 ac_path_EGREP_max=$ac_count
3694 # 10*(2^10) chars as input seems more than enough
3695 test $ac_count -gt 10 && break
3697 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3700 $ac_path_EGREP_found && break 3
3705 if test -z "$ac_cv_path_EGREP"; then
3706 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3709 ac_cv_path_EGREP=$EGREP
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3715 $as_echo "$ac_cv_path_EGREP" >&6; }
3716 EGREP="$ac_cv_path_EGREP"
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3720 $as_echo_n "checking for fgrep... " >&6; }
3721 if test "${ac_cv_path_FGREP+set}" = set; then :
3722 $as_echo_n "(cached) " >&6
3724 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3725 then ac_cv_path_FGREP="$GREP -F"
3727 if test -z "$FGREP"; then
3728 ac_path_FGREP_found=false
3729 # Loop through the user's path and test for each of PROGNAME-LIST
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3734 test -z "$as_dir" && as_dir=.
3735 for ac_prog in fgrep; do
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3738 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3739 # Check for GNU ac_path_FGREP and select it if it is found.
3740 # Check for GNU $ac_path_FGREP
3741 case `"$ac_path_FGREP" --version 2>&1` in
3743 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3746 $as_echo_n 0123456789 >"conftest.in"
3749 cat "conftest.in" "conftest.in" >"conftest.tmp"
3750 mv "conftest.tmp" "conftest.in"
3751 cp "conftest.in" "conftest.nl"
3752 $as_echo 'FGREP' >> "conftest.nl"
3753 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3755 as_fn_arith $ac_count + 1 && ac_count=$as_val
3756 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3757 # Best one so far, save it but keep looking for a better one
3758 ac_cv_path_FGREP="$ac_path_FGREP"
3759 ac_path_FGREP_max=$ac_count
3761 # 10*(2^10) chars as input seems more than enough
3762 test $ac_count -gt 10 && break
3764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3767 $ac_path_FGREP_found && break 3
3772 if test -z "$ac_cv_path_FGREP"; then
3773 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3776 ac_cv_path_FGREP=$FGREP
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3782 $as_echo "$ac_cv_path_FGREP" >&6; }
3783 FGREP="$ac_cv_path_FGREP"
3786 test -z "$GREP" && GREP=grep
3806 # Check whether --with-gnu-ld was given.
3807 if test "${with_gnu_ld+set}" = set; then :
3808 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3814 if test "$GCC" = yes; then
3815 # Check if gcc -print-prog-name=ld gives a path.
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3817 $as_echo_n "checking for ld used by $CC... " >&6; }
3820 # gcc leaves a trailing carriage return which upsets mingw
3821 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3823 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3826 # Accept absolute paths.
3828 re_direlt='/[^/][^/]*/\.\./'
3829 # Canonicalize the pathname of ld
3830 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3831 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3832 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3834 test -z "$LD" && LD="$ac_prog"
3837 # If it fails, then pretend we aren't using GCC.
3841 # If it is relative, then search for the first ld in PATH.
3845 elif test "$with_gnu_ld" = yes; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3847 $as_echo_n "checking for GNU ld... " >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3850 $as_echo_n "checking for non-GNU ld... " >&6; }
3852 if test "${lt_cv_path_LD+set}" = set; then :
3853 $as_echo_n "(cached) " >&6
3855 if test -z "$LD"; then
3856 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3857 for ac_dir in $PATH; do
3859 test -z "$ac_dir" && ac_dir=.
3860 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3861 lt_cv_path_LD="$ac_dir/$ac_prog"
3862 # Check to see if the program is GNU ld. I'd rather use --version,
3863 # but apparently some variants of GNU ld only accept -v.
3864 # Break only if it was the GNU/non-GNU ld that we prefer.
3865 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3866 *GNU* | *'with BFD'*)
3867 test "$with_gnu_ld" != no && break
3870 test "$with_gnu_ld" != yes && break
3877 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3882 if test -n "$LD"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3884 $as_echo "$LD" >&6; }
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3889 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3891 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3892 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3896 case `$LD -v 2>&1 </dev
/null
` in
3897 *GNU* | *'with BFD'*)
3898 lt_cv_prog_gnu_ld=yes
3901 lt_cv_prog_gnu_ld=no
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3906 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3907 with_gnu_ld=$lt_cv_prog_gnu_ld
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3918 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3919 if test "${lt_cv_path_NM+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$NM"; then
3923 # Let the user override the test.
3926 lt_nm_to_check="${ac_tool_prefix}nm"
3927 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3928 lt_nm_to_check="$lt_nm_to_check nm"
3930 for lt_tmp_nm in $lt_nm_to_check; do
3931 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3932 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3934 test -z "$ac_dir" && ac_dir=.
3935 tmp_nm="$ac_dir/$lt_tmp_nm"
3936 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3937 # Check to see if the nm accepts a BSD-compat flag.
3938 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3939 # nm: unknown option "B" ignored
3940 # Tru64's nm complains that
/dev
/null is an invalid object
file
3941 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3942 */dev
/null
* | *'Invalid file or object type'*)
3943 lt_cv_path_NM
="$tmp_nm -B"
3947 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3949 lt_cv_path_NM
="$tmp_nm -p"
3953 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3954 continue # so that we can try to find one that supports BSD flags
3963 : ${lt_cv_path_NM=no}
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3967 $as_echo "$lt_cv_path_NM" >&6; }
3968 if test "$lt_cv_path_NM" != "no"; then
3971 # Didn't find any BSD compatible name lister, look for dumpbin.
3972 if test -n "$ac_tool_prefix"; then
3973 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3976 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$DUMPBIN"; then
3983 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 DUMPBIN
=$ac_cv_prog_DUMPBIN
4003 if test -n "$DUMPBIN"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4005 $as_echo "$DUMPBIN" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4012 test -n "$DUMPBIN" && break
4015 if test -z "$DUMPBIN"; then
4016 ac_ct_DUMPBIN
=$DUMPBIN
4017 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4019 # Extract the first word of "$ac_prog", so it can be a program name with args.
4020 set dummy
$ac_prog; ac_word
=$2
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022 $as_echo_n "checking for $ac_word... " >&6; }
4023 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4024 $as_echo_n "(cached) " >&6
4026 if test -n "$ac_ct_DUMPBIN"; then
4027 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4047 if test -n "$ac_ct_DUMPBIN"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4049 $as_echo "$ac_ct_DUMPBIN" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4056 test -n "$ac_ct_DUMPBIN" && break
4059 if test "x$ac_ct_DUMPBIN" = x
; then
4062 case $cross_compiling:$ac_tool_warned in
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4066 ac_tool_warned
=yes ;;
4068 DUMPBIN
=$ac_ct_DUMPBIN
4073 if test "$DUMPBIN" != ":"; then
4077 test -z "$NM" && NM
=nm
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4085 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4086 if test "${lt_cv_nm_interface+set}" = set; then :
4087 $as_echo_n "(cached) " >&6
4089 lt_cv_nm_interface
="BSD nm"
4090 echo "int some_variable = 0;" > conftest.
$ac_ext
4091 (eval echo "\"\$as_me:4091: $ac_compile\"" >&5)
4092 (eval "$ac_compile" 2>conftest.err
)
4093 cat conftest.err
>&5
4094 (eval echo "\"\$as_me:4094: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4095 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4096 cat conftest.err
>&5
4097 (eval echo "\"\$as_me:4097: output\"" >&5)
4098 cat conftest.out
>&5
4099 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4100 lt_cv_nm_interface
="MS dumpbin"
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4105 $as_echo "$lt_cv_nm_interface" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4108 $as_echo_n "checking whether ln -s works... " >&6; }
4110 if test "$LN_S" = "ln -s"; then
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4115 $as_echo "no, using $LN_S" >&6; }
4118 # find the maximum length of command line arguments
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4120 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4121 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4129 # On DJGPP, this test can blow up pretty badly due to problems in libc
4130 # (any single argument exceeding 2000 bytes causes a buffer overrun
4131 # during glob expansion). Even if it were fixed, the result of this
4132 # check would be larger than it should be.
4133 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4137 # Under GNU Hurd, this test is not required because there is
4138 # no limit to the length of command line arguments.
4139 # Libtool will interpret -1 as no limit whatsoever
4140 lt_cv_sys_max_cmd_len
=-1;
4143 cygwin
* | mingw
* | cegcc
*)
4144 # On Win9x/ME, this test blows up -- it succeeds, but takes
4145 # about 5 minutes as the teststring grows exponentially.
4146 # Worse, since 9x/ME are not pre-emptively multitasking,
4147 # you end up with a "frozen" computer, even though with patience
4148 # the test eventually succeeds (with a max line length of 256k).
4149 # Instead, let's just punt: use the minimum linelength reported by
4150 # all of the supported platforms: 8192 (on NT/2K/XP).
4151 lt_cv_sys_max_cmd_len
=8192;
4155 # On AmigaOS with pdksh, this test takes hours, literally.
4156 # So we just punt and use a minimum line length of 8192.
4157 lt_cv_sys_max_cmd_len
=8192;
4160 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4161 # This has been around since 386BSD, at least. Likely further.
4162 if test -x /sbin
/sysctl
; then
4163 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4164 elif test -x /usr
/sbin
/sysctl
; then
4165 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4167 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4169 # And add a safety zone
4170 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4175 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4176 lt_cv_sys_max_cmd_len
=196608
4180 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4181 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4182 # nice to cause kernel panics so lets avoid the loop below.
4183 # First set a reasonable default.
4184 lt_cv_sys_max_cmd_len
=16384
4186 if test -x /sbin
/sysconfig
; then
4187 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4188 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4193 lt_cv_sys_max_cmd_len
=102400
4195 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4196 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4197 if test -n "$kargmax"; then
4198 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4200 lt_cv_sys_max_cmd_len
=32768
4204 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4205 if test -n "$lt_cv_sys_max_cmd_len"; then
4206 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4207 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4209 # Make teststring a little bigger before we do anything with it.
4210 # a 1K string should be a reasonable start.
4211 for i
in 1 2 3 4 5 6 7 8 ; do
4212 teststring
=$teststring$teststring
4214 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4215 # If test is not a shell built-in, we'll probably end up computing a
4216 # maximum length that is only half of the actual maximum length, but
4218 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4219 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4220 test $i != 17 # 1/2 MB should be enough
4223 teststring
=$teststring$teststring
4225 # Only check the string length outside the loop.
4226 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4228 # Add a significant safety factor because C++ compilers can tack on
4229 # massive amounts of additional arguments before passing them to the
4230 # linker. It appears as though 1/2 is a usable value.
4231 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4238 if test -n $lt_cv_sys_max_cmd_len ; then
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4240 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4243 $as_echo "none" >&6; }
4245 max_cmd_len
=$lt_cv_sys_max_cmd_len
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4257 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4258 # Try some XSI features
4261 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4263 && eval 'test $(( 1 + 1 )) -eq 2 \
4264 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4267 $as_echo "$xsi_shell" >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4271 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4273 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4275 && lt_shell_append
=yes
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4277 $as_echo "$lt_shell_append" >&6; }
4280 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4290 # test EBCDIC or ASCII
4291 case `echo X|tr X '\101'` in
4292 A
) # ASCII based system
4293 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4294 lt_SP2NL
='tr \040 \012'
4295 lt_NL2SP
='tr \015\012 \040\040'
4297 *) # EBCDIC based system
4298 lt_SP2NL
='tr \100 \n'
4299 lt_NL2SP
='tr \r\n \100\100'
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4312 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4313 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4314 $as_echo_n "(cached) " >&6
4316 lt_cv_ld_reload_flag
='-r'
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4319 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4320 reload_flag
=$lt_cv_ld_reload_flag
4321 case $reload_flag in
4323 *) reload_flag
=" $reload_flag" ;;
4325 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4328 if test "$GCC" = yes; then
4329 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4331 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4346 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$OBJDUMP"; then
4353 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir
=.
4360 for ac_exec_ext
in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 OBJDUMP
=$ac_cv_prog_OBJDUMP
4373 if test -n "$OBJDUMP"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4375 $as_echo "$OBJDUMP" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_OBJDUMP"; then
4384 ac_ct_OBJDUMP
=$OBJDUMP
4385 # Extract the first word of "objdump", so it can be a program name with args.
4386 set dummy objdump
; ac_word
=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$ac_ct_OBJDUMP"; then
4393 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4413 if test -n "$ac_ct_OBJDUMP"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4415 $as_echo "$ac_ct_OBJDUMP" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_OBJDUMP" = x
; then
4424 case $cross_compiling:$ac_tool_warned in
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned
=yes ;;
4430 OBJDUMP
=$ac_ct_OBJDUMP
4433 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4436 test -z "$OBJDUMP" && OBJDUMP
=objdump
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4447 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4448 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4452 lt_cv_file_magic_test_file
=
4453 lt_cv_deplibs_check_method
='unknown'
4454 # Need to set the preceding variable on all platforms that support
4455 # interlibrary dependencies.
4456 # 'none' -- dependencies not supported.
4457 # `unknown' -- same as none, but documents that we really don't know.
4458 # 'pass_all' -- all dependencies passed with no checks.
4459 # 'test_compile' -- check by making test program.
4460 # 'file_magic [[regex]]' -- check by looking for files in library path
4461 # which responds to the $file_magic_cmd with a given extended regex.
4462 # If you have `file' or equivalent on your system and you're not sure
4463 # whether `pass_all' will *always* work, you probably want this one.
4467 lt_cv_deplibs_check_method
=pass_all
4471 lt_cv_deplibs_check_method
=pass_all
4475 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4476 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4477 lt_cv_file_magic_test_file
=/shlib
/libc.so
4481 # func_win32_libid is a shell function defined in ltmain.sh
4482 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4483 lt_cv_file_magic_cmd
='func_win32_libid'
4487 # Base MSYS/MinGW do not provide the 'file' command needed by
4488 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4489 # unless we find 'file', for example because we are cross-compiling.
4490 if ( file / ) >/dev
/null
2>&1; then
4491 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4492 lt_cv_file_magic_cmd
='func_win32_libid'
4494 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4495 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4500 # use the weaker test based on 'objdump'. See mingw*.
4501 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4502 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4505 darwin
* | rhapsody
*)
4506 lt_cv_deplibs_check_method
=pass_all
4509 freebsd
* | dragonfly
*)
4510 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4513 # Not sure whether the presence of OpenBSD here was a mistake.
4514 # Let's accept both of them until this is cleared up.
4515 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4516 lt_cv_file_magic_cmd
=/usr
/bin
/file
4517 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4521 lt_cv_deplibs_check_method
=pass_all
4526 lt_cv_deplibs_check_method
=pass_all
4529 hpux10.20
* | hpux11
*)
4530 lt_cv_file_magic_cmd
=/usr
/bin
/file
4533 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4534 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4537 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]'
4538 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4541 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4542 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4548 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4549 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4552 irix5
* | irix6
* | nonstopux
*)
4554 *-32|*"-32 ") libmagic
=32-bit;;
4555 *-n32|*"-n32 ") libmagic
=N32
;;
4556 *-64|*"-64 ") libmagic
=64-bit;;
4557 *) libmagic
=never
-match;;
4559 lt_cv_deplibs_check_method
=pass_all
4562 # This must be Linux ELF.
4563 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4564 lt_cv_deplibs_check_method
=pass_all
4567 netbsd
* | netbsdelf
*-gnu)
4568 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4569 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4571 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4577 lt_cv_file_magic_cmd
=/usr
/bin
/file
4578 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4582 lt_cv_deplibs_check_method
=pass_all
4586 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4587 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4589 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4593 osf3
* | osf4
* | osf5
*)
4594 lt_cv_deplibs_check_method
=pass_all
4598 lt_cv_deplibs_check_method
=pass_all
4602 lt_cv_deplibs_check_method
=pass_all
4605 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4606 lt_cv_deplibs_check_method
=pass_all
4610 case $host_vendor in
4612 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]'
4613 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4616 lt_cv_deplibs_check_method
=pass_all
4619 lt_cv_file_magic_cmd
='/bin/file'
4620 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4623 lt_cv_file_magic_cmd
='/bin/file'
4624 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4625 lt_cv_file_magic_test_file
=/lib
/libc.so
4628 lt_cv_deplibs_check_method
=pass_all
4631 lt_cv_deplibs_check_method
=pass_all
4637 lt_cv_deplibs_check_method
=pass_all
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4643 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4644 file_magic_cmd
=$lt_cv_file_magic_cmd
4645 deplibs_check_method
=$lt_cv_deplibs_check_method
4646 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4659 if test -n "$ac_tool_prefix"; then
4660 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4661 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if test "${ac_cv_prog_AR+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$AR"; then
4668 ac_cv_prog_AR
="$AR" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 if test -n "$AR"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4690 $as_echo "$AR" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4698 if test -z "$ac_cv_prog_AR"; then
4700 # Extract the first word of "ar", so it can be a program name with args.
4701 set dummy
ar; ac_word
=$2
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703 $as_echo_n "checking for $ac_word... " >&6; }
4704 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4705 $as_echo_n "(cached) " >&6
4707 if test -n "$ac_ct_AR"; then
4708 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717 ac_cv_prog_ac_ct_AR
="ar"
4718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4728 if test -n "$ac_ct_AR"; then
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4730 $as_echo "$ac_ct_AR" >&6; }
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4736 if test "x$ac_ct_AR" = x
; then
4739 case $cross_compiling:$ac_tool_warned in
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned
=yes ;;
4751 test -z "$AR" && AR
=ar
4752 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4764 if test -n "$ac_tool_prefix"; then
4765 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4766 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 $as_echo_n "checking for $ac_word... " >&6; }
4769 if test "${ac_cv_prog_STRIP+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4772 if test -n "$STRIP"; then
4773 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 STRIP
=$ac_cv_prog_STRIP
4793 if test -n "$STRIP"; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4795 $as_echo "$STRIP" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4803 if test -z "$ac_cv_prog_STRIP"; then
4805 # Extract the first word of "strip", so it can be a program name with args.
4806 set dummy strip
; ac_word
=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$ac_ct_STRIP"; then
4813 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_ac_ct_STRIP
="strip"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4833 if test -n "$ac_ct_STRIP"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4835 $as_echo "$ac_ct_STRIP" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4841 if test "x$ac_ct_STRIP" = x
; then
4844 case $cross_compiling:$ac_tool_warned in
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4848 ac_tool_warned
=yes ;;
4853 STRIP
="$ac_cv_prog_STRIP"
4856 test -z "$STRIP" && STRIP
=:
4863 if test -n "$ac_tool_prefix"; then
4864 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4865 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 $as_echo_n "checking for $ac_word... " >&6; }
4868 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4869 $as_echo_n "(cached) " >&6
4871 if test -n "$RANLIB"; then
4872 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir
=.
4879 for ac_exec_ext
in '' $ac_executable_extensions; do
4880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4881 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 RANLIB
=$ac_cv_prog_RANLIB
4892 if test -n "$RANLIB"; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4894 $as_echo "$RANLIB" >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4897 $as_echo "no" >&6; }
4902 if test -z "$ac_cv_prog_RANLIB"; then
4903 ac_ct_RANLIB
=$RANLIB
4904 # Extract the first word of "ranlib", so it can be a program name with args.
4905 set dummy ranlib
; ac_word
=$2
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4907 $as_echo_n "checking for $ac_word... " >&6; }
4908 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4909 $as_echo_n "(cached) " >&6
4911 if test -n "$ac_ct_RANLIB"; then
4912 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4932 if test -n "$ac_ct_RANLIB"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4934 $as_echo "$ac_ct_RANLIB" >&6; }
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4937 $as_echo "no" >&6; }
4940 if test "x$ac_ct_RANLIB" = x
; then
4943 case $cross_compiling:$ac_tool_warned in
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947 ac_tool_warned
=yes ;;
4949 RANLIB
=$ac_ct_RANLIB
4952 RANLIB
="$ac_cv_prog_RANLIB"
4955 test -z "$RANLIB" && RANLIB
=:
4962 # Determine commands to create old-style static archives.
4963 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4964 old_postinstall_cmds
='chmod 644 $oldlib'
4965 old_postuninstall_cmds
=
4967 if test -n "$RANLIB"; then
4970 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4973 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4976 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5012 # If no C compiler was specified, use CC.
5015 # If no C compiler flags were specified, use CFLAGS.
5016 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5018 # Allow CC to be a program name with arguments.
5022 # Check for command to grab the raw symbol name followed by C symbol from nm.
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5024 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5025 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5029 # These are sane defaults that work on at least a few old systems.
5030 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5032 # Character class describing NM global symbol codes.
5033 symcode
='[BCDEGRST]'
5035 # Regexp to match symbols that can be accessed directly from C.
5036 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5038 # Define system-specific variables.
5043 cygwin
* | mingw
* | pw32
* | cegcc
*)
5044 symcode
='[ABCDGISTW]'
5047 if test "$host_cpu" = ia64
; then
5048 symcode
='[ABCDEGRST]'
5052 symcode
='[BCDEGRST]'
5055 symcode
='[BCDEGQRST]'
5066 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5074 # If we're using GNU nm, then use its standard symbol codes.
5075 case `$NM -V 2>&1` in
5076 *GNU
* | *'with BFD'*)
5077 symcode
='[ABCDGIRSTW]' ;;
5080 # Transform an extracted symbol line into a proper C declaration.
5081 # Some systems (esp. on ia64) link data and code symbols differently,
5082 # so use this general approach.
5083 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5085 # Transform an extracted symbol line into symbol name and symbol address
5086 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5087 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'"
5089 # Handle CRLF in mingw tool chain
5093 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5097 # Try without a prefix underscore, then with it.
5098 for ac_symprfx
in "" "_"; do
5100 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5101 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5103 # Write the raw and C identifiers.
5104 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5105 # Fake it for dumpbin and say T for any non-static function
5106 # and D for any global variable.
5107 # Also find C++ and __fastcall symbols from MSVC++,
5108 # which start with @ or ?.
5109 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5110 " {last_section=section; section=\$ 3};"\
5111 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5112 " \$ 0!~/External *\|/{next};"\
5113 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5114 " {if(hide[section]) next};"\
5115 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5116 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5117 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5118 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5119 " ' prfx=^$ac_symprfx"
5121 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5124 # Check to see that the pipe works correctly.
5128 cat > conftest.
$ac_ext <<_LT_EOF
5133 void nm_test_func(void);
5134 void nm_test_func(void){}
5138 int main(){nm_test_var='a';nm_test_func();return(0);}
5141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5142 (eval $ac_compile) 2>&5
5144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5145 test $ac_status = 0; }; then
5146 # Now try to grab the symbols.
5148 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5149 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5152 test $ac_status = 0; } && test -s "$nlist"; then
5153 # Try sorting and uniquifying the output.
5154 if sort "$nlist" | uniq > "$nlist"T
; then
5155 mv -f "$nlist"T
"$nlist"
5160 # Make sure that we snagged all the symbols we need.
5161 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5162 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5163 cat <<_LT_EOF > conftest.$ac_ext
5169 # Now generate the symbol file.
5170 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5172 cat <<_LT_EOF >> conftest.$ac_ext
5174 /* The mapping between symbol names and symbols. */
5179 lt__PROGRAM__LTX_preloaded_symbols[] =
5181 { "@PROGRAM@", (void *) 0 },
5183 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5184 cat <<\_LT_EOF
>> conftest.
$ac_ext
5188 /* This works around a problem
in FreeBSD linker
*/
5189 #ifdef FREEBSD_WORKAROUND
5190 static const void
*lt_preloaded_setup
() {
5191 return lt__PROGRAM__LTX_preloaded_symbols
;
5199 # Now try linking the two files.
5200 mv conftest.
$ac_objext conftstm.
$ac_objext
5201 lt_save_LIBS
="$LIBS"
5202 lt_save_CFLAGS
="$CFLAGS"
5203 LIBS
="conftstm.$ac_objext"
5204 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5206 (eval $ac_link) 2>&5
5208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5212 LIBS
="$lt_save_LIBS"
5213 CFLAGS
="$lt_save_CFLAGS"
5215 echo "cannot find nm_test_func in $nlist" >&5
5218 echo "cannot find nm_test_var in $nlist" >&5
5221 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5224 echo "$progname: failed program was:" >&5
5225 cat conftest.
$ac_ext >&5
5227 rm -rf conftest
* conftst
*
5229 # Do not use the global_symbol_pipe unless it works.
5230 if test "$pipe_works" = yes; then
5233 lt_cv_sys_global_symbol_pipe
=
5239 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5240 lt_cv_sys_global_symbol_to_cdecl
=
5242 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5244 $as_echo "failed" >&6; }
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5247 $as_echo "ok" >&6; }
5272 # Check whether --enable-libtool-lock was given.
5273 if test "${enable_libtool_lock+set}" = set; then :
5274 enableval
=$enable_libtool_lock;
5277 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5279 # Some flags need to be propagated to the compiler or linker for good
5283 # Find out which ABI we are using.
5284 echo 'int i;' > conftest.
$ac_ext
5285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5286 (eval $ac_compile) 2>&5
5288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }; then
5290 case `/usr/bin/file conftest.$ac_objext` in
5302 # Find out which ABI we are using.
5303 echo '#line 5303 "configure"' > conftest.
$ac_ext
5304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5305 (eval $ac_compile) 2>&5
5307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5308 test $ac_status = 0; }; then
5309 if test "$lt_cv_prog_gnu_ld" = yes; then
5310 case `/usr/bin/file conftest.$ac_objext` in
5312 LD
="${LD-ld} -melf32bsmip"
5315 LD
="${LD-ld} -melf32bmipn32"
5318 LD
="${LD-ld} -melf64bmip"
5322 case `/usr/bin/file conftest.$ac_objext` in
5338 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5339 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5340 # Find out which ABI we are using.
5341 echo 'int i;' > conftest.
$ac_ext
5342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5343 (eval $ac_compile) 2>&5
5345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5346 test $ac_status = 0; }; then
5347 case `/usr/bin/file conftest.o` in
5350 x86_64
-*kfreebsd
*-gnu)
5351 LD
="${LD-ld} -m elf_i386_fbsd"
5354 LD
="${LD-ld} -m elf_i386"
5356 ppc64
-*linux
*|powerpc64
-*linux
*)
5357 LD
="${LD-ld} -m elf32ppclinux"
5360 LD
="${LD-ld} -m elf_s390"
5363 LD
="${LD-ld} -m elf32_sparc"
5369 x86_64
-*kfreebsd
*-gnu)
5370 LD
="${LD-ld} -m elf_x86_64_fbsd"
5373 LD
="${LD-ld} -m elf_x86_64"
5375 ppc
*-*linux
*|powerpc
*-*linux
*)
5376 LD
="${LD-ld} -m elf64ppc"
5378 s390
*-*linux
*|s390
*-*tpf
*)
5379 LD
="${LD-ld} -m elf64_s390"
5382 LD
="${LD-ld} -m elf64_sparc"
5392 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5393 SAVE_CFLAGS
="$CFLAGS"
5394 CFLAGS
="$CFLAGS -belf"
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5396 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5397 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5398 $as_echo_n "(cached) " >&6
5401 ac_cpp
='$CPP $CPPFLAGS'
5402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5417 if ac_fn_c_try_link
"$LINENO"; then :
5418 lt_cv_cc_needs_belf
=yes
5420 lt_cv_cc_needs_belf
=no
5422 rm -f core conftest.err conftest.
$ac_objext \
5423 conftest
$ac_exeext conftest.
$ac_ext
5425 ac_cpp
='$CPP $CPPFLAGS'
5426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5432 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5433 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5434 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5435 CFLAGS
="$SAVE_CFLAGS"
5439 # Find out which ABI we are using.
5440 echo 'int i;' > conftest.
$ac_ext
5441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5442 (eval $ac_compile) 2>&5
5444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5445 test $ac_status = 0; }; then
5446 case `/usr/bin/file conftest.o` in
5448 case $lt_cv_prog_gnu_ld in
5449 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5451 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5463 need_locks
="$enable_libtool_lock"
5467 rhapsody
* | darwin
*)
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5470 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$DSYMUTIL"; then
5477 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5486 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5497 if test -n "$DSYMUTIL"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5499 $as_echo "$DSYMUTIL" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_DSYMUTIL"; then
5508 ac_ct_DSYMUTIL
=$DSYMUTIL
5509 # Extract the first word of "dsymutil", so it can be a program name with args.
5510 set dummy dsymutil
; ac_word
=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5514 $as_echo_n "(cached) " >&6
5516 if test -n "$ac_ct_DSYMUTIL"; then
5517 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5536 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5537 if test -n "$ac_ct_DSYMUTIL"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5539 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_DSYMUTIL" = x
; then
5548 case $cross_compiling:$ac_tool_warned in
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned
=yes ;;
5554 DSYMUTIL
=$ac_ct_DSYMUTIL
5557 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5560 if test -n "$ac_tool_prefix"; then
5561 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5562 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$NMEDIT"; then
5569 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 NMEDIT
=$ac_cv_prog_NMEDIT
5589 if test -n "$NMEDIT"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5591 $as_echo "$NMEDIT" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5599 if test -z "$ac_cv_prog_NMEDIT"; then
5600 ac_ct_NMEDIT
=$NMEDIT
5601 # Extract the first word of "nmedit", so it can be a program name with args.
5602 set dummy nmedit
; ac_word
=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5608 if test -n "$ac_ct_NMEDIT"; then
5609 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5618 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5628 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5629 if test -n "$ac_ct_NMEDIT"; then
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5631 $as_echo "$ac_ct_NMEDIT" >&6; }
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5634 $as_echo "no" >&6; }
5637 if test "x$ac_ct_NMEDIT" = x
; then
5640 case $cross_compiling:$ac_tool_warned in
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5644 ac_tool_warned
=yes ;;
5646 NMEDIT
=$ac_ct_NMEDIT
5649 NMEDIT
="$ac_cv_prog_NMEDIT"
5652 if test -n "$ac_tool_prefix"; then
5653 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5654 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 $as_echo_n "checking for $ac_word... " >&6; }
5657 if test "${ac_cv_prog_LIPO+set}" = set; then :
5658 $as_echo_n "(cached) " >&6
5660 if test -n "$LIPO"; then
5661 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir
=.
5668 for ac_exec_ext
in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 LIPO
=$ac_cv_prog_LIPO
5681 if test -n "$LIPO"; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5683 $as_echo "$LIPO" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 $as_echo "no" >&6; }
5691 if test -z "$ac_cv_prog_LIPO"; then
5693 # Extract the first word of "lipo", so it can be a program name with args.
5694 set dummy lipo
; ac_word
=$2
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5696 $as_echo_n "checking for $ac_word... " >&6; }
5697 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5698 $as_echo_n "(cached) " >&6
5700 if test -n "$ac_ct_LIPO"; then
5701 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir
=.
5708 for ac_exec_ext
in '' $ac_executable_extensions; do
5709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5710 ac_cv_prog_ac_ct_LIPO
="lipo"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5721 if test -n "$ac_ct_LIPO"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5723 $as_echo "$ac_ct_LIPO" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5729 if test "x$ac_ct_LIPO" = x
; then
5732 case $cross_compiling:$ac_tool_warned in
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5736 ac_tool_warned
=yes ;;
5741 LIPO
="$ac_cv_prog_LIPO"
5744 if test -n "$ac_tool_prefix"; then
5745 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5746 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5748 $as_echo_n "checking for $ac_word... " >&6; }
5749 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 if test -n "$OTOOL"; then
5753 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5759 test -z "$as_dir" && as_dir
=.
5760 for ac_exec_ext
in '' $ac_executable_extensions; do
5761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5762 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 OTOOL
=$ac_cv_prog_OTOOL
5773 if test -n "$OTOOL"; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5775 $as_echo "$OTOOL" >&6; }
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5778 $as_echo "no" >&6; }
5783 if test -z "$ac_cv_prog_OTOOL"; then
5785 # Extract the first word of "otool", so it can be a program name with args.
5786 set dummy otool
; ac_word
=$2
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788 $as_echo_n "checking for $ac_word... " >&6; }
5789 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5790 $as_echo_n "(cached) " >&6
5792 if test -n "$ac_ct_OTOOL"; then
5793 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5799 test -z "$as_dir" && as_dir
=.
5800 for ac_exec_ext
in '' $ac_executable_extensions; do
5801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802 ac_cv_prog_ac_ct_OTOOL
="otool"
5803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5812 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5813 if test -n "$ac_ct_OTOOL"; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5815 $as_echo "$ac_ct_OTOOL" >&6; }
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818 $as_echo "no" >&6; }
5821 if test "x$ac_ct_OTOOL" = x
; then
5824 case $cross_compiling:$ac_tool_warned in
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5828 ac_tool_warned
=yes ;;
5833 OTOOL
="$ac_cv_prog_OTOOL"
5836 if test -n "$ac_tool_prefix"; then
5837 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5838 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5840 $as_echo_n "checking for $ac_word... " >&6; }
5841 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5842 $as_echo_n "(cached) " >&6
5844 if test -n "$OTOOL64"; then
5845 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir
=.
5852 for ac_exec_ext
in '' $ac_executable_extensions; do
5853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5854 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864 OTOOL64
=$ac_cv_prog_OTOOL64
5865 if test -n "$OTOOL64"; then
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5867 $as_echo "$OTOOL64" >&6; }
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5870 $as_echo "no" >&6; }
5875 if test -z "$ac_cv_prog_OTOOL64"; then
5876 ac_ct_OTOOL64
=$OTOOL64
5877 # Extract the first word of "otool64", so it can be a program name with args.
5878 set dummy otool64
; ac_word
=$2
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5880 $as_echo_n "checking for $ac_word... " >&6; }
5881 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5884 if test -n "$ac_ct_OTOOL64"; then
5885 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir
=.
5892 for ac_exec_ext
in '' $ac_executable_extensions; do
5893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5894 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5905 if test -n "$ac_ct_OTOOL64"; then
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5907 $as_echo "$ac_ct_OTOOL64" >&6; }
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 $as_echo "no" >&6; }
5913 if test "x$ac_ct_OTOOL64" = x
; then
5916 case $cross_compiling:$ac_tool_warned in
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5920 ac_tool_warned
=yes ;;
5922 OTOOL64
=$ac_ct_OTOOL64
5925 OTOOL64
="$ac_cv_prog_OTOOL64"
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5955 $as_echo_n "checking for -single_module linker flag... " >&6; }
5956 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5957 $as_echo_n "(cached) " >&6
5959 lt_cv_apple_cc_single_mod
=no
5960 if test -z "${LT_MULTI_MODULE}"; then
5961 # By default we will add the -single_module flag. You can override
5962 # by either setting the environment variable LT_MULTI_MODULE
5963 # non-empty at configure time, or by adding -multi_module to the
5965 rm -rf libconftest.dylib
*
5966 echo "int foo(void){return 1;}" > conftest.c
5967 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5968 -dynamiclib -Wl,-single_module conftest.c" >&5
5969 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5970 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5972 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5973 lt_cv_apple_cc_single_mod
=yes
5975 cat conftest.err
>&5
5977 rm -rf libconftest.dylib
*
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5982 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5984 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5985 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5986 $as_echo_n "(cached) " >&6
5988 lt_cv_ld_exported_symbols_list
=no
5989 save_LDFLAGS
=$LDFLAGS
5990 echo "_main" > conftest.sym
5991 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
6003 if ac_fn_c_try_link
"$LINENO"; then :
6004 lt_cv_ld_exported_symbols_list
=yes
6006 lt_cv_ld_exported_symbols_list
=no
6008 rm -f core conftest.err conftest.
$ac_objext \
6009 conftest
$ac_exeext conftest.
$ac_ext
6010 LDFLAGS
="$save_LDFLAGS"
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6014 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6016 rhapsody
* | darwin1.
[012])
6017 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6019 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6020 darwin
*) # darwin 5.x on
6021 # if running on 10.5 or later, the deployment target defaults
6022 # to the OS version, if on x86, and 10.4, the deployment
6023 # target defaults to 10.4. Don't you love it?
6024 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6025 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6026 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6028 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6030 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6034 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6035 _lt_dar_single_mod
='$single_module'
6037 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6038 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6040 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6042 if test "$DSYMUTIL" != ":"; then
6043 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6051 ac_cpp
='$CPP $CPPFLAGS'
6052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6056 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6057 # On Suns, sometimes $CPP names a directory.
6058 if test -n "$CPP" && test -d "$CPP"; then
6061 if test -z "$CPP"; then
6062 if test "${ac_cv_prog_CPP+set}" = set; then :
6063 $as_echo_n "(cached) " >&6
6065 # Double quotes because CPP needs to be expanded
6066 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6069 for ac_c_preproc_warn_flag
in '' yes
6071 # Use a header file that comes with gcc, so configuring glibc
6072 # with a fresh cross-compiler works.
6073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6074 # <limits.h> exists even on freestanding compilers.
6075 # On the NeXT, cc -E runs the code through the compiler's parser,
6076 # not just through cpp. "Syntax error" is here to catch this case.
6077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6080 # include <limits.h>
6082 # include <assert.h>
6086 if ac_fn_c_try_cpp
"$LINENO"; then :
6089 # Broken: fails on valid input.
6092 rm -f conftest.err conftest.
$ac_ext
6094 # OK, works on sane cases. Now check whether nonexistent headers
6095 # can be detected and how.
6096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6097 /* end confdefs.h. */
6098 #include <ac_nonexistent.h>
6100 if ac_fn_c_try_cpp
"$LINENO"; then :
6101 # Broken: success on invalid input.
6104 # Passes both tests.
6108 rm -f conftest.err conftest.
$ac_ext
6111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6112 rm -f conftest.err conftest.
$ac_ext
6113 if $ac_preproc_ok; then :
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6126 $as_echo "$CPP" >&6; }
6128 for ac_c_preproc_warn_flag
in '' yes
6130 # Use a header file that comes with gcc, so configuring glibc
6131 # with a fresh cross-compiler works.
6132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6133 # <limits.h> exists even on freestanding compilers.
6134 # On the NeXT, cc -E runs the code through the compiler's parser,
6135 # not just through cpp. "Syntax error" is here to catch this case.
6136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6139 # include <limits.h>
6141 # include <assert.h>
6145 if ac_fn_c_try_cpp
"$LINENO"; then :
6148 # Broken: fails on valid input.
6151 rm -f conftest.err conftest.
$ac_ext
6153 # OK, works on sane cases. Now check whether nonexistent headers
6154 # can be detected and how.
6155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6156 /* end confdefs.h. */
6157 #include <ac_nonexistent.h>
6159 if ac_fn_c_try_cpp
"$LINENO"; then :
6160 # Broken: success on invalid input.
6163 # Passes both tests.
6167 rm -f conftest.err conftest.
$ac_ext
6170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6171 rm -f conftest.err conftest.
$ac_ext
6172 if $ac_preproc_ok; then :
6175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6177 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6178 See \`config.log' for more details." "$LINENO" 5; }
6182 ac_cpp
='$CPP $CPPFLAGS'
6183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6189 $as_echo_n "checking for ANSI C header files... " >&6; }
6190 if test "${ac_cv_header_stdc+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6208 if ac_fn_c_try_compile
"$LINENO"; then :
6209 ac_cv_header_stdc
=yes
6211 ac_cv_header_stdc
=no
6213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6215 if test $ac_cv_header_stdc = yes; then
6216 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6223 $EGREP "memchr" >/dev
/null
2>&1; then :
6226 ac_cv_header_stdc
=no
6232 if test $ac_cv_header_stdc = yes; then
6233 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6240 $EGREP "free" >/dev
/null
2>&1; then :
6243 ac_cv_header_stdc
=no
6249 if test $ac_cv_header_stdc = yes; then
6250 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6251 if test "$cross_compiling" = yes; then :
6254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6258 #if ((' ' & 0x0FF) == 0x020)
6259 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6260 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6262 # define ISLOWER(c) \
6263 (('a' <= (c) && (c) <= 'i') \
6264 || ('j' <= (c) && (c) <= 'r') \
6265 || ('s' <= (c) && (c) <= 'z'))
6266 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6269 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6274 for (i = 0; i < 256; i++)
6275 if (XOR (islower (i), ISLOWER (i))
6276 || toupper (i) != TOUPPER (i))
6281 if ac_fn_c_try_run
"$LINENO"; then :
6284 ac_cv_header_stdc
=no
6286 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6287 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6293 $as_echo "$ac_cv_header_stdc" >&6; }
6294 if test $ac_cv_header_stdc = yes; then
6296 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6300 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6301 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6302 inttypes.h stdint.h unistd.h
6304 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6305 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6307 eval as_val
=\$
$as_ac_Header
6308 if test "x$as_val" = x
""yes; then :
6309 cat >>confdefs.h
<<_ACEOF
6310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6318 for ac_header
in dlfcn.h
6320 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6322 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6323 cat >>confdefs.h
<<_ACEOF
6324 #define HAVE_DLFCN_H 1
6334 # Check whether --enable-static was given.
6335 if test "${enable_static+set}" = set; then :
6336 enableval
=$enable_static; p
=${PACKAGE-default}
6338 yes) enable_static
=yes ;;
6339 no
) enable_static
=no
;;
6342 # Look at the argument we got. We use all the common list separators.
6343 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6344 for pkg
in $enableval; do
6346 if test "X$pkg" = "X$p"; then
6372 # Check whether --enable-shared was given.
6373 if test "${enable_shared+set}" = set; then :
6374 enableval
=$enable_shared; p
=${PACKAGE-default}
6376 yes) enable_shared
=yes ;;
6377 no
) enable_shared
=no
;;
6380 # Look at the argument we got. We use all the common list separators.
6381 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6382 for pkg
in $enableval; do
6384 if test "X$pkg" = "X$p"; then
6405 # Check whether --with-pic was given.
6406 if test "${with_pic+set}" = set; then :
6407 withval
=$with_pic; pic_mode
="$withval"
6413 test -z "$pic_mode" && pic_mode
=default
6421 # Check whether --enable-fast-install was given.
6422 if test "${enable_fast_install+set}" = set; then :
6423 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6425 yes) enable_fast_install
=yes ;;
6426 no
) enable_fast_install
=no
;;
6428 enable_fast_install
=no
6429 # Look at the argument we got. We use all the common list separators.
6430 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6431 for pkg
in $enableval; do
6433 if test "X$pkg" = "X$p"; then
6434 enable_fast_install
=yes
6441 enable_fast_install
=yes
6454 # This can be used to rebuild libtool when needed
6455 LIBTOOL_DEPS
="$ltmain"
6457 # Always use our own libtool.
6458 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6484 test -z "$LN_S" && LN_S
="ln -s"
6499 if test -n "${ZSH_VERSION+set}" ; then
6500 setopt NO_GLOB_SUBST
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6504 $as_echo_n "checking for objdir... " >&6; }
6505 if test "${lt_cv_objdir+set}" = set; then :
6506 $as_echo_n "(cached) " >&6
6508 rm -f .libs
2>/dev
/null
6509 mkdir .libs
2>/dev
/null
6510 if test -d .libs
; then
6513 # MS-DOS does not allow filenames that begin with a dot.
6516 rmdir .libs
2>/dev
/null
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6519 $as_echo "$lt_cv_objdir" >&6; }
6520 objdir
=$lt_cv_objdir
6526 cat >>confdefs.h
<<_ACEOF
6527 #define LT_OBJDIR "$lt_cv_objdir/"
6548 # AIX sometimes has problems with the GCC collect2 program. For some
6549 # reason, if we set the COLLECT_NAMES environment variable, the problems
6550 # vanish in a puff of smoke.
6551 if test "X${COLLECT_NAMES+set}" != Xset
; then
6553 export COLLECT_NAMES
6558 # Sed substitution that helps us do robust quoting. It backslashifies
6559 # metacharacters that are still active within double-quoted strings.
6560 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6562 # Same as above, but do not quote variable references.
6563 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6565 # Sed substitution to delay expansion of an escaped shell variable in a
6566 # double_quote_subst'ed string.
6567 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6569 # Sed substitution to delay expansion of an escaped single quote.
6570 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6572 # Sed substitution to avoid accidental globbing in evaled expressions
6573 no_glob_subst
='s/\*/\\\*/g'
6577 can_build_shared
=yes
6579 # All known linkers require a `.a' archive for static linking (except MSVC,
6580 # which needs '.lib').
6583 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6586 old_CFLAGS
="$CFLAGS"
6588 # Set sane defaults for various variables
6589 test -z "$CC" && CC
=cc
6590 test -z "$LTCC" && LTCC
=$CC
6591 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6592 test -z "$LD" && LD
=ld
6593 test -z "$ac_objext" && ac_objext
=o
6595 for cc_temp
in $compiler""; do
6597 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6598 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6603 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6606 # Only perform the check for file, if the check method requires it
6607 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6608 case $deplibs_check_method in
6610 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6612 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6613 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6614 $as_echo_n "(cached) " >&6
6618 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6621 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6622 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6623 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6624 for ac_dir
in $ac_dummy; do
6626 test -z "$ac_dir" && ac_dir
=.
6627 if test -f $ac_dir/${ac_tool_prefix}file; then
6628 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6629 if test -n "$file_magic_test_file"; then
6630 case $deplibs_check_method in
6632 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6633 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6634 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6635 $EGREP "$file_magic_regex" > /dev
/null
; then
6640 *** Warning: the command libtool uses to detect shared libraries,
6641 *** $file_magic_cmd, produces output that libtool cannot recognize.
6642 *** The result is that libtool may fail to recognize shared libraries
6643 *** as such. This will affect the creation of libtool libraries that
6644 *** depend on shared libraries, but programs linked with such libtool
6645 *** libraries will work regardless of this problem. Nevertheless, you
6646 *** may want to report the problem to your system manager and/or to
6647 *** bug-libtool@gnu.org
6657 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6662 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6663 if test -n "$MAGIC_CMD"; then
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6665 $as_echo "$MAGIC_CMD" >&6; }
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 $as_echo "no" >&6; }
6675 if test -z "$lt_cv_path_MAGIC_CMD"; then
6676 if test -n "$ac_tool_prefix"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6678 $as_echo_n "checking for file... " >&6; }
6679 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6680 $as_echo_n "(cached) " >&6
6684 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6687 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6688 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6689 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6690 for ac_dir
in $ac_dummy; do
6692 test -z "$ac_dir" && ac_dir
=.
6693 if test -f $ac_dir/file; then
6694 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6695 if test -n "$file_magic_test_file"; then
6696 case $deplibs_check_method in
6698 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6699 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6700 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6701 $EGREP "$file_magic_regex" > /dev
/null
; then
6706 *** Warning: the command libtool uses to detect shared libraries,
6707 *** $file_magic_cmd, produces output that libtool cannot recognize.
6708 *** The result is that libtool may fail to recognize shared libraries
6709 *** as such. This will affect the creation of libtool libraries that
6710 *** depend on shared libraries, but programs linked with such libtool
6711 *** libraries will work regardless of this problem. Nevertheless, you
6712 *** may want to report the problem to your system manager and/or to
6713 *** bug-libtool@gnu.org
6723 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6728 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6729 if test -n "$MAGIC_CMD"; then
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6731 $as_echo "$MAGIC_CMD" >&6; }
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6747 # Use C for the default configuration in the libtool script
6751 ac_cpp
='$CPP $CPPFLAGS'
6752 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6753 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6754 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6757 # Source file extension for C test sources.
6760 # Object file extension for compiled C test sources.
6764 # Code to be used in simple compile tests
6765 lt_simple_compile_test_code
="int some_variable = 0;"
6767 # Code to be used in simple link tests
6768 lt_simple_link_test_code
='int main(){return(0);}'
6776 # If no C compiler was specified, use CC.
6779 # If no C compiler flags were specified, use CFLAGS.
6780 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6782 # Allow CC to be a program name with arguments.
6785 # Save the default compiler, since it gets overwritten when the other
6786 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6787 compiler_DEFAULT
=$CC
6789 # save warnings/boilerplate of simple test code
6790 ac_outfile
=conftest.
$ac_objext
6791 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6792 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6793 _lt_compiler_boilerplate
=`cat conftest.err`
6796 ac_outfile
=conftest.
$ac_objext
6797 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6798 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6799 _lt_linker_boilerplate
=`cat conftest.err`
6803 if test -n "$compiler"; then
6805 lt_prog_compiler_no_builtin_flag
=
6807 if test "$GCC" = yes; then
6808 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6811 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6812 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6813 $as_echo_n "(cached) " >&6
6815 lt_cv_prog_compiler_rtti_exceptions
=no
6816 ac_outfile
=conftest.
$ac_objext
6817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6818 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6819 # Insert the option either (1) after the last *FLAGS variable, or
6820 # (2) before a word containing "conftest.", or (3) at the end.
6821 # Note that $ac_compile itself does not contain backslashes and begins
6822 # with a dollar sign (not a hyphen), so the echo should work correctly.
6823 # The option is referenced via a variable to avoid confusing sed.
6824 lt_compile
=`echo "$ac_compile" | $SED \
6825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6827 -e 's:$: $lt_compiler_flag:'`
6828 (eval echo "\"\$as_me:6828: $lt_compile\"" >&5)
6829 (eval "$lt_compile" 2>conftest.err
)
6831 cat conftest.err
>&5
6832 echo "$as_me:6832: \$? = $ac_status" >&5
6833 if (exit $ac_status) && test -s "$ac_outfile"; then
6834 # The compiler can only warn and ignore the option if not recognized
6835 # So say no if there are warnings other than the usual output.
6836 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6838 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6839 lt_cv_prog_compiler_rtti_exceptions
=yes
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6846 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6848 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6849 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6861 lt_prog_compiler_wl
=
6862 lt_prog_compiler_pic
=
6863 lt_prog_compiler_static
=
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6866 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6868 if test "$GCC" = yes; then
6869 lt_prog_compiler_wl
='-Wl,'
6870 lt_prog_compiler_static
='-static'
6874 # All AIX code is PIC.
6875 if test "$host_cpu" = ia64
; then
6876 # AIX 5 now supports IA64 processor
6877 lt_prog_compiler_static
='-Bstatic'
6884 # see comment about AmigaOS4 .so support
6885 lt_prog_compiler_pic
='-fPIC'
6888 # FIXME: we need at least 68020 code to build shared libraries, but
6889 # adding the `-m68020' flag to GCC prevents building anything better,
6891 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6896 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6897 # PIC is the default for these OSes.
6900 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6901 # This hack is so that the source file can tell whether it is being
6902 # built for inclusion in a dll (and should export symbols for example).
6903 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6904 # (--disable-auto-import) libraries
6905 lt_prog_compiler_pic
='-DDLL_EXPORT'
6908 darwin
* | rhapsody
*)
6909 # PIC is the default on this platform
6910 # Common symbols not allowed in MH_DYLIB files
6911 lt_prog_compiler_pic
='-fno-common'
6915 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6916 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6917 # sets the default TLS model and affects inlining.
6923 lt_prog_compiler_pic
='-fPIC'
6929 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6930 # Instead, we relocate shared libraries at runtime.
6934 # Just because we use GCC doesn't mean we suddenly get shared libraries
6935 # on systems that don't support them.
6936 lt_prog_compiler_can_build_shared
=no
6941 # QNX uses GNU C++, but need to define -shared option too, otherwise
6943 lt_prog_compiler_pic
='-fPIC -shared'
6947 if test -d /usr
/nec
; then
6948 lt_prog_compiler_pic
=-Kconform_pic
6953 lt_prog_compiler_pic
='-fPIC'
6957 # PORTME Check for flag to pass linker flags through the system compiler.
6960 lt_prog_compiler_wl
='-Wl,'
6961 if test "$host_cpu" = ia64
; then
6962 # AIX 5 now supports IA64 processor
6963 lt_prog_compiler_static
='-Bstatic'
6965 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6969 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6970 # This hack is so that the source file can tell whether it is being
6971 # built for inclusion in a dll (and should export symbols for example).
6972 lt_prog_compiler_pic
='-DDLL_EXPORT'
6975 hpux9
* | hpux10
* | hpux11
*)
6976 lt_prog_compiler_wl
='-Wl,'
6977 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6984 lt_prog_compiler_pic
='+Z'
6987 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6988 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6991 irix5
* | irix6
* | nonstopux
*)
6992 lt_prog_compiler_wl
='-Wl,'
6993 # PIC (with -KPIC) is the default.
6994 lt_prog_compiler_static
='-non_shared'
6997 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6998 case $cc_basename in
6999 # old Intel for x86_64 which still supported -KPIC.
7001 lt_prog_compiler_wl
='-Wl,'
7002 lt_prog_compiler_pic
='-KPIC'
7003 lt_prog_compiler_static
='-static'
7005 # icc used to be incompatible with GCC.
7006 # ICC 10 doesn't accept -KPIC any more.
7008 lt_prog_compiler_wl
='-Wl,'
7009 lt_prog_compiler_pic
='-fPIC'
7010 lt_prog_compiler_static
='-static'
7012 # Lahey Fortran 8.1.
7014 lt_prog_compiler_wl
='-Wl,'
7015 lt_prog_compiler_pic
='--shared'
7016 lt_prog_compiler_static
='--static'
7018 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7019 # Portland Group compilers (*not* the Pentium gcc compiler,
7020 # which looks to be a dead project)
7021 lt_prog_compiler_wl
='-Wl,'
7022 lt_prog_compiler_pic
='-fpic'
7023 lt_prog_compiler_static
='-Bstatic'
7026 lt_prog_compiler_wl
='-Wl,'
7027 # All Alpha code is PIC.
7028 lt_prog_compiler_static
='-non_shared'
7031 # IBM XL C 8.0/Fortran 10.1 on PPC
7032 lt_prog_compiler_wl
='-Wl,'
7033 lt_prog_compiler_pic
='-qpic'
7034 lt_prog_compiler_static
='-qstaticlink'
7037 case `$CC -V 2>&1 | sed 5q` in
7040 lt_prog_compiler_pic
='-KPIC'
7041 lt_prog_compiler_static
='-Bstatic'
7042 lt_prog_compiler_wl
='-Wl,'
7045 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7046 lt_prog_compiler_pic
='-KPIC'
7047 lt_prog_compiler_static
='-Bstatic'
7048 lt_prog_compiler_wl
=''
7056 lt_prog_compiler_pic
='-KPIC'
7057 lt_prog_compiler_static
='-Bstatic'
7061 # QNX uses GNU C++, but need to define -shared option too, otherwise
7063 lt_prog_compiler_pic
='-fPIC -shared'
7066 osf3
* | osf4
* | osf5
*)
7067 lt_prog_compiler_wl
='-Wl,'
7068 # All OSF/1 code is PIC.
7069 lt_prog_compiler_static
='-non_shared'
7073 lt_prog_compiler_static
='-non_shared'
7077 lt_prog_compiler_pic
='-KPIC'
7078 lt_prog_compiler_static
='-Bstatic'
7079 case $cc_basename in
7081 lt_prog_compiler_wl
='-Qoption ld ';;
7083 lt_prog_compiler_wl
='-Wl,';;
7088 lt_prog_compiler_wl
='-Qoption ld '
7089 lt_prog_compiler_pic
='-PIC'
7090 lt_prog_compiler_static
='-Bstatic'
7093 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7094 lt_prog_compiler_wl
='-Wl,'
7095 lt_prog_compiler_pic
='-KPIC'
7096 lt_prog_compiler_static
='-Bstatic'
7100 if test -d /usr
/nec
;then
7101 lt_prog_compiler_pic
='-Kconform_pic'
7102 lt_prog_compiler_static
='-Bstatic'
7106 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7107 lt_prog_compiler_wl
='-Wl,'
7108 lt_prog_compiler_pic
='-KPIC'
7109 lt_prog_compiler_static
='-Bstatic'
7113 lt_prog_compiler_wl
='-Wl,'
7114 lt_prog_compiler_can_build_shared
=no
7118 lt_prog_compiler_pic
='-pic'
7119 lt_prog_compiler_static
='-Bstatic'
7123 lt_prog_compiler_can_build_shared
=no
7129 # For platforms which do not support PIC, -DPIC is meaningless:
7131 lt_prog_compiler_pic
=
7134 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7138 $as_echo "$lt_prog_compiler_pic" >&6; }
7146 # Check to make sure the PIC flag actually works.
7148 if test -n "$lt_prog_compiler_pic"; then
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7150 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7151 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7152 $as_echo_n "(cached) " >&6
7154 lt_cv_prog_compiler_pic_works
=no
7155 ac_outfile
=conftest.
$ac_objext
7156 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7157 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7158 # Insert the option either (1) after the last *FLAGS variable, or
7159 # (2) before a word containing "conftest.", or (3) at the end.
7160 # Note that $ac_compile itself does not contain backslashes and begins
7161 # with a dollar sign (not a hyphen), so the echo should work correctly.
7162 # The option is referenced via a variable to avoid confusing sed.
7163 lt_compile
=`echo "$ac_compile" | $SED \
7164 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7165 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7166 -e 's:$: $lt_compiler_flag:'`
7167 (eval echo "\"\$as_me:7167: $lt_compile\"" >&5)
7168 (eval "$lt_compile" 2>conftest.err
)
7170 cat conftest.err
>&5
7171 echo "$as_me:7171: \$? = $ac_status" >&5
7172 if (exit $ac_status) && test -s "$ac_outfile"; then
7173 # The compiler can only warn and ignore the option if not recognized
7174 # So say no if there are warnings other than the usual output.
7175 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7176 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7177 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7178 lt_cv_prog_compiler_pic_works
=yes
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7185 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7187 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7188 case $lt_prog_compiler_pic in
7190 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7193 lt_prog_compiler_pic
=
7194 lt_prog_compiler_can_build_shared
=no
7205 # Check to make sure the static flag actually works.
7207 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7209 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7210 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7211 $as_echo_n "(cached) " >&6
7213 lt_cv_prog_compiler_static_works
=no
7214 save_LDFLAGS
="$LDFLAGS"
7215 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7216 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7217 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7218 # The linker can only warn and ignore the option if not recognized
7219 # So say no if there are warnings
7220 if test -s conftest.err
; then
7221 # Append any errors to the config.log.
7222 cat conftest.err
1>&5
7223 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7224 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7225 if diff conftest.exp conftest.er2
>/dev
/null
; then
7226 lt_cv_prog_compiler_static_works
=yes
7229 lt_cv_prog_compiler_static_works
=yes
7233 LDFLAGS
="$save_LDFLAGS"
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7237 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7239 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7242 lt_prog_compiler_static
=
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7253 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7254 $as_echo_n "(cached) " >&6
7256 lt_cv_prog_compiler_c_o
=no
7257 $RM -r conftest
2>/dev
/null
7261 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7263 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7264 # Insert the option either (1) after the last *FLAGS variable, or
7265 # (2) before a word containing "conftest.", or (3) at the end.
7266 # Note that $ac_compile itself does not contain backslashes and begins
7267 # with a dollar sign (not a hyphen), so the echo should work correctly.
7268 lt_compile
=`echo "$ac_compile" | $SED \
7269 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7270 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7271 -e 's:$: $lt_compiler_flag:'`
7272 (eval echo "\"\$as_me:7272: $lt_compile\"" >&5)
7273 (eval "$lt_compile" 2>out
/conftest.err
)
7275 cat out
/conftest.err
>&5
7276 echo "$as_me:7276: \$? = $ac_status" >&5
7277 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7279 # The compiler can only warn and ignore the option if not recognized
7280 # So say no if there are warnings
7281 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7282 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7283 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7284 lt_cv_prog_compiler_c_o
=yes
7289 # SGI C++ compiler will create directory out/ii_files/ for
7290 # template instantiation
7291 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7292 $RM out
/* && rmdir out
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7308 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7309 $as_echo_n "(cached) " >&6
7311 lt_cv_prog_compiler_c_o
=no
7312 $RM -r conftest
2>/dev
/null
7316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7318 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7319 # Insert the option either (1) after the last *FLAGS variable, or
7320 # (2) before a word containing "conftest.", or (3) at the end.
7321 # Note that $ac_compile itself does not contain backslashes and begins
7322 # with a dollar sign (not a hyphen), so the echo should work correctly.
7323 lt_compile
=`echo "$ac_compile" | $SED \
7324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7326 -e 's:$: $lt_compiler_flag:'`
7327 (eval echo "\"\$as_me:7327: $lt_compile\"" >&5)
7328 (eval "$lt_compile" 2>out
/conftest.err
)
7330 cat out
/conftest.err
>&5
7331 echo "$as_me:7331: \$? = $ac_status" >&5
7332 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7334 # The compiler can only warn and ignore the option if not recognized
7335 # So say no if there are warnings
7336 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7337 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7338 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7339 lt_cv_prog_compiler_c_o
=yes
7344 # SGI C++ compiler will create directory out/ii_files/ for
7345 # template instantiation
7346 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7347 $RM out
/* && rmdir out
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7354 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7359 hard_links
="nottested"
7360 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7361 # do not overwrite the value of need_locks provided by the user
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7363 $as_echo_n "checking if we can lock with hard links... " >&6; }
7366 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7368 ln conftest.a conftest.b
2>&5 || hard_links
=no
7369 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7371 $as_echo "$hard_links" >&6; }
7372 if test "$hard_links" = no
; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7374 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7387 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7390 allow_undefined_flag
=
7391 always_export_symbols
=no
7393 archive_expsym_cmds
=
7394 compiler_needs_object
=no
7395 enable_shared_with_static_runtimes
=no
7396 export_dynamic_flag_spec
=
7397 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7398 hardcode_automatic
=no
7400 hardcode_direct_absolute
=no
7401 hardcode_libdir_flag_spec
=
7402 hardcode_libdir_flag_spec_ld
=
7403 hardcode_libdir_separator
=
7405 hardcode_shlibpath_var
=unsupported
7407 link_all_deplibs
=unknown
7410 old_archive_from_new_cmds
=
7411 old_archive_from_expsyms_cmds
=
7412 thread_safe_flag_spec
=
7413 whole_archive_flag_spec
=
7414 # include_expsyms should be a list of space-separated symbols to be *always*
7415 # included in the symbol list
7417 # exclude_expsyms can be an extended regexp of symbols to exclude
7418 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7419 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7420 # as well as any symbol that contains `d'.
7421 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7422 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7423 # platforms (ab)use it in PIC code, but their linkers get confused if
7424 # the symbol is explicitly referenced. Since portable code cannot
7425 # rely on this symbol name, it's probably fine to never include it in
7426 # preloaded symbol tables.
7427 # Exclude shared library initialization/finalization symbols.
7428 extract_expsyms_cmds
=
7431 cygwin
* | mingw
* | pw32
* | cegcc
*)
7432 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7433 # When not using gcc, we currently assume that we are using
7434 # Microsoft Visual C++.
7435 if test "$GCC" != yes; then
7440 # we just hope/assume this is gcc and not c89 (= MSVC++)
7446 linux
* | k
*bsd
*-gnu)
7452 if test "$with_gnu_ld" = yes; then
7453 # If archive_cmds runs LD, not CC, wlarc should be empty
7456 # Set some defaults for GNU ld with shared library support. These
7457 # are reset later if shared libraries are not supported. Putting them
7458 # here allows them to be overridden if necessary.
7459 runpath_var
=LD_RUN_PATH
7460 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7461 export_dynamic_flag_spec
='${wl}--export-dynamic'
7462 # ancient GNU ld didn't support --whole-archive et. al.
7463 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7464 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7466 whole_archive_flag_spec
=
7468 supports_anon_versioning
=no
7469 case `$LD -v 2>&1` in
7470 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7471 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7472 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7473 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7474 *\
2.11.
*) ;; # other 2.11 versions
7475 *) supports_anon_versioning
=yes ;;
7478 # See if GNU ld supports shared libraries.
7481 # On AIX/PPC, the GNU linker is very broken
7482 if test "$host_cpu" != ia64
; then
7486 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7487 *** to be unable to reliably create shared libraries on AIX.
7488 *** Therefore, libtool is disabling shared libraries support. If you
7489 *** really care for shared libraries, you may want to modify your PATH
7490 *** so that a non-GNU linker is found, and then restart.
7499 # see comment about AmigaOS4 .so support
7500 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7501 archive_expsym_cmds
=''
7504 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)'
7505 hardcode_libdir_flag_spec
='-L$libdir'
7506 hardcode_minus_L
=yes
7512 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7513 allow_undefined_flag
=unsupported
7514 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7515 # support --undefined. This deserves some investigation. FIXME
7516 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7522 cygwin
* | mingw
* | pw32
* | cegcc
*)
7523 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7524 # as there is no search path for DLLs.
7525 hardcode_libdir_flag_spec
='-L$libdir'
7526 allow_undefined_flag
=unsupported
7527 always_export_symbols
=no
7528 enable_shared_with_static_runtimes
=yes
7529 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7531 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7533 # If the export-symbols file already is a .def file (1st line
7534 # is EXPORTS), use it as is; otherwise, prepend...
7535 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7536 cp $export_symbols $output_objdir/$soname.def;
7538 echo EXPORTS > $output_objdir/$soname.def;
7539 cat $export_symbols >> $output_objdir/$soname.def;
7541 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7549 hardcode_shlibpath_var
=no
7550 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7551 export_dynamic_flag_spec
='${wl}-E'
7552 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7553 # Instead, shared libraries are loaded at an image base (0x10000000 by
7554 # default) and relocated if they conflict, which is a slow very memory
7555 # consuming and fragmenting process. To avoid this, we pick a random,
7556 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7557 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7558 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7559 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'
7562 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7564 if test "$host_os" = linux
-dietlibc; then
7565 case $cc_basename in
7566 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7569 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7570 && test "$tmp_diet" = no
7573 tmp_sharedflag
='-shared'
7574 case $cc_basename,$host_cpu in
7575 pgcc
*) # Portland Group C compiler
7576 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'
7577 tmp_addflag
=' $pic_flag'
7579 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7580 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'
7581 tmp_addflag
=' $pic_flag -Mnomain' ;;
7582 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7583 tmp_addflag
=' -i_dynamic' ;;
7584 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7585 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7586 ifc
* | ifort
*) # Intel Fortran compiler
7587 tmp_addflag
=' -nofor_main' ;;
7588 lf95
*) # Lahey Fortran 8.1
7589 whole_archive_flag_spec
=
7590 tmp_sharedflag
='--shared' ;;
7591 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7592 tmp_sharedflag
='-qmkshrobj'
7595 case `$CC -V 2>&1 | sed 5q` in
7596 *Sun\ C
*) # Sun C 5.9
7597 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'
7598 compiler_needs_object
=yes
7599 tmp_sharedflag
='-G' ;;
7600 *Sun\ F
*) # Sun Fortran 8.3
7601 tmp_sharedflag
='-G' ;;
7603 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7605 if test "x$supports_anon_versioning" = xyes
; then
7606 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7608 echo "local: *; };" >> $output_objdir/$libname.ver~
7609 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7612 case $cc_basename in
7614 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7615 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7616 hardcode_libdir_flag_spec
=
7617 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7618 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7619 if test "x$supports_anon_versioning" = xyes
; then
7620 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7621 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7622 echo "local: *; };" >> $output_objdir/$libname.ver~
7623 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7632 netbsd
* | netbsdelf
*-gnu)
7633 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7634 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7637 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7638 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7643 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7647 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7648 *** create shared libraries on Solaris systems. Therefore, libtool
7649 *** is disabling shared libraries support. We urge you to upgrade GNU
7650 *** binutils to release 2.9.1 or newer. Another option is to modify
7651 *** your PATH or compiler configuration so that the native linker is
7652 *** used, and then restart.
7655 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7663 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7664 case `$LD -v 2>&1` in
7665 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7669 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7670 *** reliably create shared libraries on SCO systems. Therefore, libtool
7671 *** is disabling shared libraries support. We urge you to upgrade GNU
7672 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7673 *** your PATH or compiler configuration so that the native linker is
7674 *** used, and then restart.
7679 # For security reasons, it is highly recommended that you always
7680 # use absolute paths for naming shared libraries, and exclude the
7681 # DT_RUNPATH tag from executables and libraries. But doing so
7682 # requires that you compile everything twice, which is a pain.
7683 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7684 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7685 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7686 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7695 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7698 hardcode_shlibpath_var
=no
7702 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7703 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7704 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7711 if test "$ld_shlibs" = no
; then
7713 hardcode_libdir_flag_spec
=
7714 export_dynamic_flag_spec
=
7715 whole_archive_flag_spec
=
7718 # PORTME fill in a description of your system's linker (not GNU ld)
7721 allow_undefined_flag
=unsupported
7722 always_export_symbols
=yes
7723 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'
7724 # Note: this linker hardcodes the directories in LIBPATH if there
7725 # are no directories specified by -L.
7726 hardcode_minus_L
=yes
7727 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7728 # Neither direct hardcoding nor static linking is supported with a
7730 hardcode_direct
=unsupported
7735 if test "$host_cpu" = ia64
; then
7736 # On IA64, the linker does run time linking by default, so we don't
7737 # have to do anything special.
7738 aix_use_runtimelinking
=no
7739 exp_sym_flag
='-Bexport'
7742 # If we're using GNU nm, then we don't want the "-C" option.
7743 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7744 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7745 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'
7747 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'
7749 aix_use_runtimelinking
=no
7751 # Test if we are trying to use run time linking or normal
7752 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7753 # need to do runtime linking.
7754 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7755 for ld_flag
in $LDFLAGS; do
7756 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7757 aix_use_runtimelinking
=yes
7764 exp_sym_flag
='-bexport'
7765 no_entry_flag
='-bnoentry'
7768 # When large executables or shared objects are built, AIX ld can
7769 # have problems creating the table of contents. If linking a library
7770 # or program results in "error TOC overflow" add -mminimal-toc to
7771 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7772 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7776 hardcode_direct_absolute
=yes
7777 hardcode_libdir_separator
=':'
7778 link_all_deplibs
=yes
7779 file_list_spec
='${wl}-f,'
7781 if test "$GCC" = yes; then
7782 case $host_os in aix4.
[012]|aix4.
[012].
*)
7783 # We only want to do this on AIX 4.2 and lower, the check
7784 # below for broken collect2 doesn't work under 4.3+
7785 collect2name
=`${CC} -print-prog-name=collect2`
7786 if test -f "$collect2name" &&
7787 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7789 # We have reworked collect2
7792 # We have old collect2
7793 hardcode_direct
=unsupported
7794 # It fails to find uninstalled libraries when the uninstalled
7795 # path is not listed in the libpath. Setting hardcode_minus_L
7796 # to unsupported forces relinking
7797 hardcode_minus_L
=yes
7798 hardcode_libdir_flag_spec
='-L$libdir'
7799 hardcode_libdir_separator
=
7803 shared_flag
='-shared'
7804 if test "$aix_use_runtimelinking" = yes; then
7805 shared_flag
="$shared_flag "'${wl}-G'
7810 if test "$host_cpu" = ia64
; then
7811 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7812 # chokes on -Wl,-G. The following line is correct:
7815 if test "$aix_use_runtimelinking" = yes; then
7816 shared_flag
='${wl}-G'
7818 shared_flag
='${wl}-bM:SRE'
7823 export_dynamic_flag_spec
='${wl}-bexpall'
7824 # It seems that -bexpall does not export symbols beginning with
7825 # underscore (_), so it is better to generate a list of symbols to export.
7826 always_export_symbols
=yes
7827 if test "$aix_use_runtimelinking" = yes; then
7828 # Warning - without using the other runtime loading flags (-brtl),
7829 # -berok will link without error, but may produce a broken library.
7830 allow_undefined_flag
='-berok'
7831 # Determine the default libpath from the value encoded in an
7833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7834 /* end confdefs.h. */
7844 if ac_fn_c_try_link
"$LINENO"; then :
7846 lt_aix_libpath_sed
='
7847 /Import File Strings/,/^$/ {
7853 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7854 # Check for a 64-bit object if we didn't find anything.
7855 if test -z "$aix_libpath"; then
7856 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7859 rm -f core conftest.err conftest.
$ac_objext \
7860 conftest
$ac_exeext conftest.
$ac_ext
7861 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7863 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7864 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"
7866 if test "$host_cpu" = ia64
; then
7867 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7868 allow_undefined_flag
="-z nodefs"
7869 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"
7871 # Determine the default libpath from the value encoded in an
7873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7874 /* end confdefs.h. */
7884 if ac_fn_c_try_link
"$LINENO"; then :
7886 lt_aix_libpath_sed
='
7887 /Import File Strings/,/^$/ {
7893 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7894 # Check for a 64-bit object if we didn't find anything.
7895 if test -z "$aix_libpath"; then
7896 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7899 rm -f core conftest.err conftest.
$ac_objext \
7900 conftest
$ac_exeext conftest.
$ac_ext
7901 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7903 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7904 # Warning - without using the other run time loading flags,
7905 # -berok will link without error, but may produce a broken library.
7906 no_undefined_flag
=' ${wl}-bernotok'
7907 allow_undefined_flag
=' ${wl}-berok'
7908 # Exported symbols can be pulled into shared objects from archives
7909 whole_archive_flag_spec
='$convenience'
7910 archive_cmds_need_lc
=yes
7911 # This is similar to how AIX traditionally builds its shared libraries.
7912 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'
7920 # see comment about AmigaOS4 .so support
7921 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7922 archive_expsym_cmds
=''
7925 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)'
7926 hardcode_libdir_flag_spec
='-L$libdir'
7927 hardcode_minus_L
=yes
7933 export_dynamic_flag_spec
=-rdynamic
7936 cygwin
* | mingw
* | pw32
* | cegcc
*)
7937 # When not using gcc, we currently assume that we are using
7938 # Microsoft Visual C++.
7939 # hardcode_libdir_flag_spec is actually meaningless, as there is
7940 # no search path for DLLs.
7941 hardcode_libdir_flag_spec
=' '
7942 allow_undefined_flag
=unsupported
7943 # Tell ltmain to make .lib files, not .a files.
7945 # Tell ltmain to make .dll files, not .so files.
7947 # FIXME: Setting linknames here is a bad hack.
7948 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7949 # The linker will automatically build a .lib file if we build a DLL.
7950 old_archive_from_new_cmds
='true'
7951 # FIXME: Should let the user specify the lib program.
7952 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7953 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7954 enable_shared_with_static_runtimes
=yes
7957 darwin
* | rhapsody
*)
7960 archive_cmds_need_lc
=no
7962 hardcode_automatic
=yes
7963 hardcode_shlibpath_var
=unsupported
7964 whole_archive_flag_spec
=''
7965 link_all_deplibs
=yes
7966 allow_undefined_flag
="$_lt_dar_allow_undefined"
7967 case $cc_basename in
7968 ifort
*) _lt_dar_can_shared
=yes ;;
7969 *) _lt_dar_can_shared
=$GCC ;;
7971 if test "$_lt_dar_can_shared" = "yes"; then
7972 output_verbose_link_cmd
=echo
7973 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7974 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7975 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}"
7976 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}"
7985 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7986 hardcode_libdir_flag_spec
='-L$libdir'
7987 hardcode_shlibpath_var
=no
7994 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7995 # support. Future versions do this automatically, but an explicit c++rt0.o
7996 # does not break anything, and helps significantly (at the cost of a little
7999 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8000 hardcode_libdir_flag_spec
='-R$libdir'
8002 hardcode_shlibpath_var
=no
8005 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8007 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009 hardcode_minus_L
=yes
8010 hardcode_shlibpath_var
=no
8013 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8014 freebsd
* | dragonfly
*)
8015 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8016 hardcode_libdir_flag_spec
='-R$libdir'
8018 hardcode_shlibpath_var
=no
8022 if test "$GCC" = yes; then
8023 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'
8025 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'
8027 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8028 hardcode_libdir_separator
=:
8031 # hardcode_minus_L: Not really in the search PATH,
8032 # but as the default location of the library.
8033 hardcode_minus_L
=yes
8034 export_dynamic_flag_spec
='${wl}-E'
8038 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8039 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8041 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8043 if test "$with_gnu_ld" = no
; then
8044 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8045 hardcode_libdir_flag_spec_ld
='+b $libdir'
8046 hardcode_libdir_separator
=:
8048 hardcode_direct_absolute
=yes
8049 export_dynamic_flag_spec
='${wl}-E'
8050 # hardcode_minus_L: Not really in the search PATH,
8051 # but as the default location of the library.
8052 hardcode_minus_L
=yes
8057 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8060 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8063 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8066 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8072 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8075 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8078 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8082 if test "$with_gnu_ld" = no
; then
8083 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8084 hardcode_libdir_separator
=:
8089 hardcode_shlibpath_var
=no
8093 hardcode_direct_absolute
=yes
8094 export_dynamic_flag_spec
='${wl}-E'
8096 # hardcode_minus_L: Not really in the search PATH,
8097 # but as the default location of the library.
8098 hardcode_minus_L
=yes
8104 irix5
* | irix6
* | nonstopux
*)
8105 if test "$GCC" = yes; then
8106 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'
8107 # Try to use the -exported_symbol ld option, if it does not
8108 # work, assume that -exports_file does not work either and
8109 # implicitly export all symbols.
8110 save_LDFLAGS
="$LDFLAGS"
8111 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8116 if ac_fn_c_try_link
"$LINENO"; then :
8117 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'
8120 rm -f core conftest.err conftest.
$ac_objext \
8121 conftest
$ac_exeext conftest.
$ac_ext
8122 LDFLAGS
="$save_LDFLAGS"
8124 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'
8125 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'
8127 archive_cmds_need_lc
='no'
8128 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8129 hardcode_libdir_separator
=:
8131 link_all_deplibs
=yes
8134 netbsd
* | netbsdelf
*-gnu)
8135 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8136 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8138 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8140 hardcode_libdir_flag_spec
='-R$libdir'
8142 hardcode_shlibpath_var
=no
8146 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8148 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8149 hardcode_libdir_separator
=:
8150 hardcode_shlibpath_var
=no
8157 if test -f /usr
/libexec
/ld.so
; then
8159 hardcode_shlibpath_var
=no
8160 hardcode_direct_absolute
=yes
8161 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8162 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8163 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8164 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8165 export_dynamic_flag_spec
='${wl}-E'
8168 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8169 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8170 hardcode_libdir_flag_spec
='-R$libdir'
8173 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8174 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8184 hardcode_libdir_flag_spec
='-L$libdir'
8185 hardcode_minus_L
=yes
8186 allow_undefined_flag
=unsupported
8187 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'
8188 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8192 if test "$GCC" = yes; then
8193 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8194 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'
8196 allow_undefined_flag
=' -expect_unresolved \*'
8197 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'
8199 archive_cmds_need_lc
='no'
8200 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8201 hardcode_libdir_separator
=:
8204 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8205 if test "$GCC" = yes; then
8206 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8207 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'
8208 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8210 allow_undefined_flag
=' -expect_unresolved \*'
8211 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'
8212 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~
8213 $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'
8215 # Both c and cxx compiler support -rpath directly
8216 hardcode_libdir_flag_spec
='-rpath $libdir'
8218 archive_cmds_need_lc
='no'
8219 hardcode_libdir_separator
=:
8223 no_undefined_flag
=' -z defs'
8224 if test "$GCC" = yes; then
8226 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8227 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8228 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8230 case `$CC -V 2>&1` in
8233 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8234 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8235 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8239 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8241 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8245 hardcode_libdir_flag_spec
='-R$libdir'
8246 hardcode_shlibpath_var
=no
8248 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8250 # The compiler driver will combine and reorder linker options,
8251 # but understands `-z linker_flag'. GCC discards it without `$wl',
8252 # but is careful enough not to reorder.
8253 # Supported since Solaris 2.6 (maybe 2.5.1?)
8254 if test "$GCC" = yes; then
8255 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8257 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8261 link_all_deplibs
=yes
8265 if test "x$host_vendor" = xsequent
; then
8266 # Use $CC to link under sequent, because it throws in some extra .o
8267 # files that make .init and .fini sections work.
8268 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8270 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8272 hardcode_libdir_flag_spec
='-L$libdir'
8274 hardcode_minus_L
=yes
8275 hardcode_shlibpath_var
=no
8279 case $host_vendor in
8281 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8282 hardcode_direct
=yes # is this really true???
8285 ## LD is ld it makes a PLAMLIB
8286 ## CC just makes a GrossModule.
8287 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8288 reload_cmds
='$CC -r -o $output$reload_objs'
8292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8293 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8296 runpath_var
='LD_RUN_PATH'
8297 hardcode_shlibpath_var
=no
8301 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8302 hardcode_shlibpath_var
=no
8303 export_dynamic_flag_spec
='-Bexport'
8307 if test -d /usr
/nec
; then
8308 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8309 hardcode_shlibpath_var
=no
8310 runpath_var
=LD_RUN_PATH
8311 hardcode_runpath_var
=yes
8316 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8317 no_undefined_flag
='${wl}-z,text'
8318 archive_cmds_need_lc
=no
8319 hardcode_shlibpath_var
=no
8320 runpath_var
='LD_RUN_PATH'
8322 if test "$GCC" = yes; then
8323 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8324 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8326 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8327 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8331 sysv5
* | sco3.2v5
* | sco5v6
*)
8332 # Note: We can NOT use -z defs as we might desire, because we do not
8333 # link with -lc, and that would cause any symbols used from libc to
8334 # always be unresolved, which means just about no library would
8335 # ever link correctly. If we're not using GNU ld we use -z text
8336 # though, which does catch some bad symbols but isn't as heavy-handed
8338 no_undefined_flag
='${wl}-z,text'
8339 allow_undefined_flag
='${wl}-z,nodefs'
8340 archive_cmds_need_lc
=no
8341 hardcode_shlibpath_var
=no
8342 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8343 hardcode_libdir_separator
=':'
8344 link_all_deplibs
=yes
8345 export_dynamic_flag_spec
='${wl}-Bexport'
8346 runpath_var
='LD_RUN_PATH'
8348 if test "$GCC" = yes; then
8349 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8350 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8352 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8353 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8358 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8359 hardcode_libdir_flag_spec
='-L$libdir'
8360 hardcode_shlibpath_var
=no
8368 if test x
$host_vendor = xsni
; then
8370 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8371 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8378 $as_echo "$ld_shlibs" >&6; }
8379 test "$ld_shlibs" = no
&& can_build_shared
=no
8381 with_gnu_ld
=$with_gnu_ld
8398 # Do we need to explicitly link libc?
8400 case "x$archive_cmds_need_lc" in
8402 # Assume -lc should be added
8403 archive_cmds_need_lc
=yes
8405 if test "$enable_shared" = yes && test "$GCC" = yes; then
8406 case $archive_cmds in
8408 # FIXME: we may have to deal with multi-command sequences.
8411 # Test whether the compiler implicitly links with -lc since on some
8412 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8413 # to ld, don't add -lc before -lgcc.
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8415 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8417 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8420 (eval $ac_compile) 2>&5
8422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8423 test $ac_status = 0; } 2>conftest.err
; then
8426 libobjs
=conftest.
$ac_objext
8428 wl
=$lt_prog_compiler_wl
8429 pic_flag
=$lt_prog_compiler_pic
8435 lt_save_allow_undefined_flag
=$allow_undefined_flag
8436 allow_undefined_flag
=
8437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8438 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8441 test $ac_status = 0; }
8443 archive_cmds_need_lc
=no
8445 archive_cmds_need_lc
=yes
8447 allow_undefined_flag
=$lt_save_allow_undefined_flag
8449 cat conftest.err
1>&5
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8453 $as_echo "$archive_cmds_need_lc" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8617 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8619 if test "$GCC" = yes; then
8621 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8622 *) lt_awk_arg
="/^libraries:/" ;;
8624 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8625 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8626 # if the path contains ";" then we assume it to be the separator
8627 # otherwise default to the standard path separator (i.e. ":") - it is
8628 # assumed that no part of a normal pathname contains ";" but that should
8629 # okay in the real world where ";" in dirpaths is itself problematic.
8630 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8632 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8634 # Ok, now we have the path, separated by spaces, we can step through it
8635 # and add multilib dir if necessary.
8636 lt_tmp_lt_search_path_spec
=
8637 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8638 for lt_sys_path
in $lt_search_path_spec; do
8639 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8640 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8642 test -d "$lt_sys_path" && \
8643 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8646 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8647 BEGIN {RS=" "; FS="/|\n";} {
8650 for (lt_i = NF; lt_i > 0; lt_i--) {
8651 if ($lt_i != "" && $lt_i != ".") {
8652 if ($lt_i == "..") {
8655 if (lt_count == 0) {
8656 lt_foo="/" $lt_i lt_foo;
8663 if (lt_foo != "") { lt_freq[lt_foo]++; }
8664 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8666 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8668 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8671 libname_spec
='lib$name'
8679 shlibpath_overrides_runpath
=unknown
8681 dynamic_linker
="$host_os ld.so"
8682 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8683 need_lib_prefix
=unknown
8684 hardcode_into_libs
=no
8686 # when you set need_version to no, make sure it does not cause -set_version
8687 # flags to be left without arguments
8688 need_version
=unknown
8693 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8694 shlibpath_var
=LIBPATH
8696 # AIX 3 has no versioning support, so we append a major version to the name.
8697 soname_spec
='${libname}${release}${shared_ext}$major'
8704 hardcode_into_libs
=yes
8705 if test "$host_cpu" = ia64
; then
8706 # AIX 5 supports IA64
8707 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8708 shlibpath_var
=LD_LIBRARY_PATH
8710 # With GCC up to 2.95.x, collect2 would create an import file
8711 # for dependence libraries. The import file would start with
8712 # the line `#! .'. This would cause the generated library to
8713 # depend on `.', always an invalid library. This was fixed in
8714 # development snapshots of GCC prior to 3.0.
8716 aix4
| aix4.
[01] | aix4.
[01].
*)
8717 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8719 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8726 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8727 # soname into executable. Probably we can add versioning support to
8728 # collect2, so additional links can be useful in future.
8729 if test "$aix_use_runtimelinking" = yes; then
8730 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8731 # instead of lib<name>.a to let people know that these are not
8732 # typical AIX shared libraries.
8733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8735 # We preserve .a as extension for shared libraries through AIX4.2
8736 # and later when we are not doing run time linking.
8737 library_names_spec
='${libname}${release}.a $libname.a'
8738 soname_spec
='${libname}${release}${shared_ext}$major'
8740 shlibpath_var
=LIBPATH
8747 # Since July 2007 AmigaOS4 officially supports .so libraries.
8748 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8752 library_names_spec
='$libname.ixlibrary $libname.a'
8753 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8754 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'
8760 library_names_spec
='${libname}${shared_ext}'
8761 dynamic_linker
="$host_os ld.so"
8762 shlibpath_var
=LIBRARY_PATH
8768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8769 soname_spec
='${libname}${release}${shared_ext}$major'
8770 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8771 shlibpath_var
=LD_LIBRARY_PATH
8772 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8773 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8774 # the default ld.so.conf also contains /usr/contrib/lib and
8775 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8776 # libtool to hard-code these into programs
8779 cygwin
* | mingw
* | pw32
* | cegcc
*)
8780 version_type
=windows
8785 case $GCC,$host_os in
8786 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8787 library_names_spec
='$libname.dll.a'
8788 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8789 postinstall_cmds
='base_file=`basename \${file}`~
8790 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8791 dldir=$destdir/`dirname \$dlpath`~
8792 test -d \$dldir || mkdir -p \$dldir~
8793 $install_prog $dir/$dlname \$dldir/$dlname~
8794 chmod a+x \$dldir/$dlname~
8795 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8796 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8798 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8799 dlpath=$dir/\$dldll~
8801 shlibpath_overrides_runpath
=yes
8805 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8806 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8807 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8810 # MinGW DLLs use traditional 'lib' prefix
8811 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8812 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8813 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8814 # It is most probably a Windows format PATH printed by
8815 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8816 # path with ; separators, and with drive letters. We can handle the
8817 # drive letters (cygwin fileutils understands them), so leave them,
8818 # especially as we might pass files found there to a mingw objdump,
8819 # which wouldn't understand a cygwinified path. Ahh.
8820 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8822 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8826 # pw32 DLLs use 'pw' prefix rather than 'lib'
8827 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8833 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8836 dynamic_linker
='Win32 ld.exe'
8837 # FIXME: first we should search . and the directory the executable is in
8841 darwin
* | rhapsody
*)
8842 dynamic_linker
="$host_os dyld"
8846 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8847 soname_spec
='${libname}${release}${major}$shared_ext'
8848 shlibpath_overrides_runpath
=yes
8849 shlibpath_var
=DYLD_LIBRARY_PATH
8850 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8852 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8853 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8861 soname_spec
='${libname}${release}${shared_ext}$major'
8862 shlibpath_var
=LD_LIBRARY_PATH
8869 freebsd
* | dragonfly
*)
8870 # DragonFly does not have aout. When/if they implement a new
8871 # versioning mechanism, adjust this.
8872 if test -x /usr
/bin
/objformat
; then
8873 objformat
=`/usr/bin/objformat`
8876 freebsd
[123]*) objformat
=aout
;;
8880 version_type
=freebsd
-$objformat
8881 case $version_type in
8883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8888 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8892 shlibpath_var
=LD_LIBRARY_PATH
8895 shlibpath_overrides_runpath
=yes
8897 freebsd3.
[01]* | freebsdelf3.
[01]*)
8898 shlibpath_overrides_runpath
=yes
8899 hardcode_into_libs
=yes
8901 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8902 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8903 shlibpath_overrides_runpath
=no
8904 hardcode_into_libs
=yes
8906 *) # from 4.6 on, and DragonFly
8907 shlibpath_overrides_runpath
=yes
8908 hardcode_into_libs
=yes
8917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8918 soname_spec
='${libname}${release}${shared_ext}$major'
8919 shlibpath_var
=LD_LIBRARY_PATH
8920 hardcode_into_libs
=yes
8923 hpux9
* | hpux10
* | hpux11
*)
8924 # Give a soname corresponding to the major version so that dld.sl refuses to
8925 # link against other versions.
8932 hardcode_into_libs
=yes
8933 dynamic_linker
="$host_os dld.so"
8934 shlibpath_var
=LD_LIBRARY_PATH
8935 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8937 soname_spec
='${libname}${release}${shared_ext}$major'
8938 if test "X$HPUX_IA64_MODE" = X32
; then
8939 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8941 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8943 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8947 hardcode_into_libs
=yes
8948 dynamic_linker
="$host_os dld.sl"
8949 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8950 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8951 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8952 soname_spec
='${libname}${release}${shared_ext}$major'
8953 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8954 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8958 dynamic_linker
="$host_os dld.sl"
8959 shlibpath_var
=SHLIB_PATH
8960 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8962 soname_spec
='${libname}${release}${shared_ext}$major'
8965 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8966 postinstall_cmds
='chmod 555 $lib'
8973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8974 soname_spec
='${libname}${release}${shared_ext}$major'
8975 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8976 shlibpath_var
=LD_LIBRARY_PATH
8977 shlibpath_overrides_runpath
=no
8978 hardcode_into_libs
=yes
8981 irix5
* | irix6
* | nonstopux
*)
8983 nonstopux
*) version_type
=nonstopux
;;
8985 if test "$lt_cv_prog_gnu_ld" = yes; then
8993 soname_spec
='${libname}${release}${shared_ext}$major'
8994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8996 irix5
* | nonstopux
*)
9000 case $LD in # libtool.m4 will add one of these switches to LD
9001 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9002 libsuff
= shlibsuff
= libmagic
=32-bit;;
9003 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9004 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9005 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9006 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9007 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9011 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9012 shlibpath_overrides_runpath
=no
9013 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9014 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9015 hardcode_into_libs
=yes
9018 # No shared lib support for Linux oldld, aout, or coff.
9019 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9023 # This must be Linux ELF.
9024 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9029 soname_spec
='${libname}${release}${shared_ext}$major'
9030 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9031 shlibpath_var
=LD_LIBRARY_PATH
9032 shlibpath_overrides_runpath
=no
9033 # Some binutils ld are patched to set DT_RUNPATH
9034 save_LDFLAGS
=$LDFLAGS
9036 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9037 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9039 /* end confdefs.h. */
9049 if ac_fn_c_try_link
"$LINENO"; then :
9050 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9051 shlibpath_overrides_runpath
=yes
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 LDFLAGS
=$save_LDFLAGS
9059 # This implies no fast_install, which is unacceptable.
9060 # Some rework will be needed to allow for fast_install
9061 # before this can be enabled.
9062 hardcode_into_libs
=yes
9064 # Append ld.so.conf contents to the search path
9065 if test -f /etc
/ld.so.conf
; then
9066 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' ' '`
9067 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9070 # We used to test for /lib/ld.so.1 and disable shared libraries on
9071 # powerpc, because MkLinux only supported shared libraries with the
9072 # GNU dynamic linker. Since this was broken with cross compilers,
9073 # most powerpc-linux boxes support dynamic linking these days and
9074 # people can always --disable-shared, the test was removed, and we
9075 # assume the GNU/Linux dynamic linker is in use.
9076 dynamic_linker
='GNU/Linux ld.so'
9083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9084 soname_spec
='${libname}${release}${shared_ext}$major'
9085 shlibpath_var
=LD_LIBRARY_PATH
9086 shlibpath_overrides_runpath
=no
9087 hardcode_into_libs
=yes
9088 dynamic_linker
='NetBSD ld.elf_so'
9095 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9097 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9098 dynamic_linker
='NetBSD (a.out) ld.so'
9100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9101 soname_spec
='${libname}${release}${shared_ext}$major'
9102 dynamic_linker
='NetBSD ld.elf_so'
9104 shlibpath_var
=LD_LIBRARY_PATH
9105 shlibpath_overrides_runpath
=yes
9106 hardcode_into_libs
=yes
9111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9112 shlibpath_var
=LD_LIBRARY_PATH
9113 shlibpath_overrides_runpath
=yes
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 shlibpath_overrides_runpath
=no
9124 hardcode_into_libs
=yes
9125 dynamic_linker
='ldqnx.so'
9130 sys_lib_dlsearch_path_spec
="/usr/lib"
9132 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9134 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9135 *) need_version
=no
;;
9137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9139 shlibpath_var
=LD_LIBRARY_PATH
9140 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9142 openbsd2.
[89] | openbsd2.
[89].
*)
9143 shlibpath_overrides_runpath
=no
9146 shlibpath_overrides_runpath
=yes
9150 shlibpath_overrides_runpath
=yes
9155 libname_spec
='$name'
9158 library_names_spec
='$libname${shared_ext} $libname.a'
9159 dynamic_linker
='OS/2 ld.exe'
9160 shlibpath_var
=LIBPATH
9163 osf3
* | osf4
* | osf5
*)
9167 soname_spec
='${libname}${release}${shared_ext}$major'
9168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9169 shlibpath_var
=LD_LIBRARY_PATH
9170 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9171 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 shlibpath_var
=LD_LIBRARY_PATH
9185 shlibpath_overrides_runpath
=yes
9186 hardcode_into_libs
=yes
9187 # ldd complains unless libraries are executable
9188 postinstall_cmds
='chmod +x $lib'
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9194 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9195 shlibpath_var
=LD_LIBRARY_PATH
9196 shlibpath_overrides_runpath
=yes
9197 if test "$with_gnu_ld" = yes; then
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206 soname_spec
='${libname}${release}${shared_ext}$major'
9207 shlibpath_var
=LD_LIBRARY_PATH
9208 case $host_vendor in
9210 shlibpath_overrides_runpath
=no
9212 runpath_var
=LD_RUN_PATH
9220 shlibpath_overrides_runpath
=no
9221 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9227 if test -d /usr
/nec
;then
9229 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9230 soname_spec
='$libname${shared_ext}.$major'
9231 shlibpath_var
=LD_LIBRARY_PATH
9235 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9236 version_type
=freebsd
-elf
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9240 soname_spec
='${libname}${release}${shared_ext}$major'
9241 shlibpath_var
=LD_LIBRARY_PATH
9242 shlibpath_overrides_runpath
=yes
9243 hardcode_into_libs
=yes
9244 if test "$with_gnu_ld" = yes; then
9245 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9247 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9250 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9254 sys_lib_dlsearch_path_spec
='/usr/lib'
9258 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9263 shlibpath_var
=LD_LIBRARY_PATH
9264 shlibpath_overrides_runpath
=no
9265 hardcode_into_libs
=yes
9270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9271 soname_spec
='${libname}${release}${shared_ext}$major'
9272 shlibpath_var
=LD_LIBRARY_PATH
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9280 $as_echo "$dynamic_linker" >&6; }
9281 test "$dynamic_linker" = no
&& can_build_shared
=no
9283 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9284 if test "$GCC" = yes; then
9285 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9288 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9289 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9291 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9292 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9382 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9384 if test -n "$hardcode_libdir_flag_spec" ||
9385 test -n "$runpath_var" ||
9386 test "X$hardcode_automatic" = "Xyes" ; then
9388 # We can hardcode non-existent directories.
9389 if test "$hardcode_direct" != no
&&
9390 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9391 # have to relink, otherwise we might link with an installed library
9392 # when we should be linking with a yet-to-be-installed one
9393 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9394 test "$hardcode_minus_L" != no
; then
9395 # Linking always hardcodes the temporary library directory.
9396 hardcode_action
=relink
9398 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9399 hardcode_action
=immediate
9402 # We cannot hardcode anything, or else we can only hardcode existing
9404 hardcode_action
=unsupported
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9407 $as_echo "$hardcode_action" >&6; }
9409 if test "$hardcode_action" = relink
||
9410 test "$inherit_rpath" = yes; then
9411 # Fast installation is not supported
9412 enable_fast_install
=no
9413 elif test "$shlibpath_overrides_runpath" = yes ||
9414 test "$enable_shared" = no
; then
9415 # Fast installation is not necessary
9416 enable_fast_install
=needless
9424 if test "x$enable_dlopen" != xyes
; then
9425 enable_dlopen
=unknown
9426 enable_dlopen_self
=unknown
9427 enable_dlopen_self_static
=unknown
9434 lt_cv_dlopen
="load_add_on"
9436 lt_cv_dlopen_self
=yes
9439 mingw
* | pw32
* | cegcc
*)
9440 lt_cv_dlopen
="LoadLibrary"
9445 lt_cv_dlopen
="dlopen"
9450 # if libdl is installed we need to link against it
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9453 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9454 $as_echo_n "(cached) " >&6
9456 ac_check_lib_save_LIBS
=$LIBS
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9476 if ac_fn_c_try_link
"$LINENO"; then :
9477 ac_cv_lib_dl_dlopen
=yes
9479 ac_cv_lib_dl_dlopen
=no
9481 rm -f core conftest.err conftest.
$ac_objext \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 LIBS
=$ac_check_lib_save_LIBS
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9487 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9488 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9493 lt_cv_dlopen_self
=yes
9500 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9501 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9502 lt_cv_dlopen
="shl_load"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9505 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9506 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9507 $as_echo_n "(cached) " >&6
9509 ac_check_lib_save_LIBS
=$LIBS
9511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9529 if ac_fn_c_try_link
"$LINENO"; then :
9530 ac_cv_lib_dld_shl_load
=yes
9532 ac_cv_lib_dld_shl_load
=no
9534 rm -f core conftest.err conftest.
$ac_objext \
9535 conftest
$ac_exeext conftest.
$ac_ext
9536 LIBS
=$ac_check_lib_save_LIBS
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9539 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9540 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9541 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9543 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9544 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9545 lt_cv_dlopen
="dlopen"
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9548 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9549 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9550 $as_echo_n "(cached) " >&6
9552 ac_check_lib_save_LIBS
=$LIBS
9554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9572 if ac_fn_c_try_link
"$LINENO"; then :
9573 ac_cv_lib_dl_dlopen
=yes
9575 ac_cv_lib_dl_dlopen
=no
9577 rm -f core conftest.err conftest.
$ac_objext \
9578 conftest
$ac_exeext conftest.
$ac_ext
9579 LIBS
=$ac_check_lib_save_LIBS
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9582 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9583 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9584 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9587 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9588 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9589 $as_echo_n "(cached) " >&6
9591 ac_check_lib_save_LIBS
=$LIBS
9593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9611 if ac_fn_c_try_link
"$LINENO"; then :
9612 ac_cv_lib_svld_dlopen
=yes
9614 ac_cv_lib_svld_dlopen
=no
9616 rm -f core conftest.err conftest.
$ac_objext \
9617 conftest
$ac_exeext conftest.
$ac_ext
9618 LIBS
=$ac_check_lib_save_LIBS
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9621 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9622 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9623 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9626 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9627 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9628 $as_echo_n "(cached) " >&6
9630 ac_check_lib_save_LIBS
=$LIBS
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9650 if ac_fn_c_try_link
"$LINENO"; then :
9651 ac_cv_lib_dld_dld_link
=yes
9653 ac_cv_lib_dld_dld_link
=no
9655 rm -f core conftest.err conftest.
$ac_objext \
9656 conftest
$ac_exeext conftest.
$ac_ext
9657 LIBS
=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9660 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9661 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9662 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9683 if test "x$lt_cv_dlopen" != xno
; then
9689 case $lt_cv_dlopen in
9691 save_CPPFLAGS
="$CPPFLAGS"
9692 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9694 save_LDFLAGS
="$LDFLAGS"
9695 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9698 LIBS
="$lt_cv_dlopen_libs $LIBS"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9701 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9702 if test "${lt_cv_dlopen_self+set}" = set; then :
9703 $as_echo_n "(cached) " >&6
9705 if test "$cross_compiling" = yes; then :
9706 lt_cv_dlopen_self
=cross
9708 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9709 lt_status
=$lt_dlunknown
9710 cat > conftest.
$ac_ext <<_LT_EOF
9711 #line 9711 "configure"
9712 #include "confdefs.h"
9721 # define LT_DLGLOBAL RTLD_GLOBAL
9724 # define LT_DLGLOBAL DL_GLOBAL
9726 # define LT_DLGLOBAL 0
9730 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9731 find out it does not work in some platform. */
9732 #ifndef LT_DLLAZY_OR_NOW
9734 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9737 # define LT_DLLAZY_OR_NOW DL_LAZY
9740 # define LT_DLLAZY_OR_NOW RTLD_NOW
9743 # define LT_DLLAZY_OR_NOW DL_NOW
9745 # define LT_DLLAZY_OR_NOW 0
9752 void fnord() { int i=42;}
9755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9756 int status = $lt_dlunknown;
9760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9761 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9762 /* dlclose (self); */
9770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9771 (eval $ac_link) 2>&5
9773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9774 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9775 (.
/conftest
; exit; ) >&5 2>/dev
/null
9778 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9779 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9780 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9783 # compilation failed
9784 lt_cv_dlopen_self
=no
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9792 $as_echo "$lt_cv_dlopen_self" >&6; }
9794 if test "x$lt_cv_dlopen_self" = xyes
; then
9795 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9797 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9798 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9799 $as_echo_n "(cached) " >&6
9801 if test "$cross_compiling" = yes; then :
9802 lt_cv_dlopen_self_static
=cross
9804 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9805 lt_status
=$lt_dlunknown
9806 cat > conftest.
$ac_ext <<_LT_EOF
9807 #line 9807 "configure"
9808 #include "confdefs.h"
9817 # define LT_DLGLOBAL RTLD_GLOBAL
9820 # define LT_DLGLOBAL DL_GLOBAL
9822 # define LT_DLGLOBAL 0
9826 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9827 find out it does not work in some platform. */
9828 #ifndef LT_DLLAZY_OR_NOW
9830 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9833 # define LT_DLLAZY_OR_NOW DL_LAZY
9836 # define LT_DLLAZY_OR_NOW RTLD_NOW
9839 # define LT_DLLAZY_OR_NOW DL_NOW
9841 # define LT_DLLAZY_OR_NOW 0
9848 void fnord() { int i=42;}
9851 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9852 int status = $lt_dlunknown;
9856 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9857 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9858 /* dlclose (self); */
9866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9867 (eval $ac_link) 2>&5
9869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9870 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9871 (.
/conftest
; exit; ) >&5 2>/dev
/null
9874 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9875 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9876 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9879 # compilation failed
9880 lt_cv_dlopen_self_static
=no
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9888 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9891 CPPFLAGS
="$save_CPPFLAGS"
9892 LDFLAGS
="$save_LDFLAGS"
9897 case $lt_cv_dlopen_self in
9898 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9899 *) enable_dlopen_self
=unknown
;;
9902 case $lt_cv_dlopen_self_static in
9903 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9904 *) enable_dlopen_self_static
=unknown
;;
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9927 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9928 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9929 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9930 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9932 $as_echo "yes" >&6; }
9934 # FIXME - insert some real tests, host_os isn't really good enough
9937 if test -n "$STRIP" ; then
9938 striplib
="$STRIP -x"
9939 old_striplib
="$STRIP -S"
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9941 $as_echo "yes" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9944 $as_echo "no" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9949 $as_echo "no" >&6; }
9965 # Report which library types will actually be built
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9967 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9969 $as_echo "$can_build_shared" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9972 $as_echo_n "checking whether to build shared libraries... " >&6; }
9973 test "$can_build_shared" = "no" && enable_shared
=no
9975 # On AIX, shared libraries and static libraries use the same namespace, and
9976 # are all built from PIC.
9979 test "$enable_shared" = yes && enable_static
=no
9980 if test -n "$RANLIB"; then
9981 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9982 postinstall_cmds
='$RANLIB $lib'
9987 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9988 test "$enable_shared" = yes && enable_static
=no
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9993 $as_echo "$enable_shared" >&6; }
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9996 $as_echo_n "checking whether to build static libraries... " >&6; }
9997 # Make sure either enable_shared or enable_static is yes.
9998 test "$enable_shared" = yes || enable_static
=yes
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10000 $as_echo "$enable_static" >&6; }
10007 ac_cpp
='$CPP $CPPFLAGS'
10008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10026 ac_config_commands
="$ac_config_commands libtool"
10031 # Only expand once:
10036 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10037 if test -n "$ac_tool_prefix"; then
10038 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10039 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 $as_echo_n "checking for $ac_word... " >&6; }
10042 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10043 $as_echo_n "(cached) " >&6
10045 case $PKG_CONFIG in
10047 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10051 for as_dir
in $PATH
10054 test -z "$as_dir" && as_dir
=.
10055 for ac_exec_ext
in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10069 if test -n "$PKG_CONFIG"; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10071 $as_echo "$PKG_CONFIG" >&6; }
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10074 $as_echo "no" >&6; }
10079 if test -z "$ac_cv_path_PKG_CONFIG"; then
10080 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10081 # Extract the first word of "pkg-config", so it can be a program name with args.
10082 set dummy pkg
-config; ac_word
=$2
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10084 $as_echo_n "checking for $ac_word... " >&6; }
10085 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10086 $as_echo_n "(cached) " >&6
10088 case $ac_pt_PKG_CONFIG in
10090 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10094 for as_dir
in $PATH
10097 test -z "$as_dir" && as_dir
=.
10098 for ac_exec_ext
in '' $ac_executable_extensions; do
10099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10100 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10112 if test -n "$ac_pt_PKG_CONFIG"; then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10114 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10117 $as_echo "no" >&6; }
10120 if test "x$ac_pt_PKG_CONFIG" = x
; then
10123 case $cross_compiling:$ac_tool_warned in
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10127 ac_tool_warned
=yes ;;
10129 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10132 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10136 if test -n "$PKG_CONFIG"; then
10137 _pkg_min_version
=0.22
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10139 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10140 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10142 $as_echo "yes" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10145 $as_echo "no" >&6; }
10151 ac_cpp
='$CXXCPP $CPPFLAGS'
10152 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10153 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10154 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10155 if test -z "$CXX"; then
10156 if test -n "$CCC"; then
10159 if test -n "$ac_tool_prefix"; then
10160 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10163 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10165 $as_echo_n "checking for $ac_word... " >&6; }
10166 if test "${ac_cv_prog_CXX+set}" = set; then :
10167 $as_echo_n "(cached) " >&6
10169 if test -n "$CXX"; then
10170 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10173 for as_dir
in $PATH
10176 test -z "$as_dir" && as_dir
=.
10177 for ac_exec_ext
in '' $ac_executable_extensions; do
10178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10179 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10189 CXX
=$ac_cv_prog_CXX
10190 if test -n "$CXX"; then
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10192 $as_echo "$CXX" >&6; }
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10195 $as_echo "no" >&6; }
10199 test -n "$CXX" && break
10202 if test -z "$CXX"; then
10204 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10206 # Extract the first word of "$ac_prog", so it can be a program name with args.
10207 set dummy
$ac_prog; ac_word
=$2
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10209 $as_echo_n "checking for $ac_word... " >&6; }
10210 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10211 $as_echo_n "(cached) " >&6
10213 if test -n "$ac_ct_CXX"; then
10214 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10217 for as_dir
in $PATH
10220 test -z "$as_dir" && as_dir
=.
10221 for ac_exec_ext
in '' $ac_executable_extensions; do
10222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10223 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10233 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10234 if test -n "$ac_ct_CXX"; then
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10236 $as_echo "$ac_ct_CXX" >&6; }
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10239 $as_echo "no" >&6; }
10243 test -n "$ac_ct_CXX" && break
10246 if test "x$ac_ct_CXX" = x
; then
10249 case $cross_compiling:$ac_tool_warned in
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10253 ac_tool_warned
=yes ;;
10261 # Provide some information about the compiler.
10262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10265 for ac_option
in --version -v -V -qversion; do
10266 { { ac_try
="$ac_compiler $ac_option >&5"
10267 case "(($ac_try" in
10268 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10269 *) ac_try_echo=$ac_try;;
10271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10272 $as_echo "$ac_try_echo"; } >&5
10273 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10275 if test -s conftest.err; then
10277 ... rest of stderr output deleted ...
10278 10q' conftest.err >conftest.er1
10279 cat conftest.er1 >&5
10281 rm -f conftest.er1 conftest.err
10282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10283 test $ac_status = 0; }
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10287 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10288 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10289 $as_echo_n "(cached) " >&6
10291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10292 /* end confdefs.h. */
10305 if ac_fn_cxx_try_compile "$LINENO"; then :
10306 ac_compiler_gnu=yes
10310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10311 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10315 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10316 if test $ac_compiler_gnu = yes; then
10321 ac_test_CXXFLAGS=${CXXFLAGS+set}
10322 ac_save_CXXFLAGS=$CXXFLAGS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10324 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10325 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10326 $as_echo_n "(cached) " >&6
10328 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10329 ac_cxx_werror_flag=yes
10330 ac_cv_prog_cxx_g=no
10332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 /* end confdefs.h. */
10343 if ac_fn_cxx_try_compile "$LINENO"; then :
10344 ac_cv_prog_cxx_g=yes
10347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348 /* end confdefs.h. */
10358 if ac_fn_cxx_try_compile "$LINENO"; then :
10361 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10374 if ac_fn_cxx_try_compile "$LINENO"; then :
10375 ac_cv_prog_cxx_g=yes
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10382 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10385 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10386 if test "$ac_test_CXXFLAGS" = set; then
10387 CXXFLAGS=$ac_save_CXXFLAGS
10388 elif test $ac_cv_prog_cxx_g = yes; then
10389 if test "$GXX" = yes; then
10395 if test "$GXX" = yes; then
10402 ac_cpp='$CPP $CPPFLAGS'
10403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10409 ac_cpp='$CXXCPP $CPPFLAGS'
10410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10413 if test -z "$CXX"; then
10414 if test -n "$CCC"; then
10417 if test -n "$ac_tool_prefix"; then
10418 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10421 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10423 $as_echo_n "checking for $ac_word... " >&6; }
10424 if test "${ac_cv_prog_CXX+set}" = set; then :
10425 $as_echo_n "(cached) " >&6
10427 if test -n "$CXX"; then
10428 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10431 for as_dir in $PATH
10434 test -z "$as_dir" && as_dir=.
10435 for ac_exec_ext in '' $ac_executable_extensions; do
10436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10437 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10447 CXX=$ac_cv_prog_CXX
10448 if test -n "$CXX"; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10450 $as_echo "$CXX" >&6; }
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10453 $as_echo "no" >&6; }
10457 test -n "$CXX" && break
10460 if test -z "$CXX"; then
10462 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10464 # Extract the first word of "$ac_prog", so it can be a program name with args.
10465 set dummy $ac_prog; ac_word=$2
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10467 $as_echo_n "checking for $ac_word... " >&6; }
10468 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10469 $as_echo_n "(cached) " >&6
10471 if test -n "$ac_ct_CXX"; then
10472 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10478 test -z "$as_dir" && as_dir=.
10479 for ac_exec_ext in '' $ac_executable_extensions; do
10480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10481 ac_cv_prog_ac_ct_CXX="$ac_prog"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10491 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10492 if test -n "$ac_ct_CXX"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10494 $as_echo "$ac_ct_CXX" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10501 test -n "$ac_ct_CXX" && break
10504 if test "x$ac_ct_CXX" = x; then
10507 case $cross_compiling:$ac_tool_warned in
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10511 ac_tool_warned=yes ;;
10519 # Provide some information about the compiler.
10520 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10523 for ac_option in --version -v -V -qversion; do
10524 { { ac_try="$ac_compiler $ac_option >&5"
10525 case "(($ac_try" in
10526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10527 *) ac_try_echo
=$ac_try;;
10529 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10530 $as_echo "$ac_try_echo"; } >&5
10531 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10533 if test -s conftest.err
; then
10535 ... rest of stderr output deleted ...
10536 10q' conftest.err
>conftest.er1
10537 cat conftest.er1
>&5
10539 rm -f conftest.er1 conftest.err
10540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10541 test $ac_status = 0; }
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10545 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10546 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10547 $as_echo_n "(cached) " >&6
10549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10563 if ac_fn_cxx_try_compile
"$LINENO"; then :
10564 ac_compiler_gnu
=yes
10568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10569 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10573 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10574 if test $ac_compiler_gnu = yes; then
10579 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10580 ac_save_CXXFLAGS
=$CXXFLAGS
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10582 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10583 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10584 $as_echo_n "(cached) " >&6
10586 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10587 ac_cxx_werror_flag
=yes
10588 ac_cv_prog_cxx_g
=no
10590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10591 /* end confdefs.h. */
10601 if ac_fn_cxx_try_compile
"$LINENO"; then :
10602 ac_cv_prog_cxx_g
=yes
10605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10606 /* end confdefs.h. */
10616 if ac_fn_cxx_try_compile
"$LINENO"; then :
10619 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10622 /* end confdefs.h. */
10632 if ac_fn_cxx_try_compile
"$LINENO"; then :
10633 ac_cv_prog_cxx_g
=yes
10635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10640 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10643 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10644 if test "$ac_test_CXXFLAGS" = set; then
10645 CXXFLAGS
=$ac_save_CXXFLAGS
10646 elif test $ac_cv_prog_cxx_g = yes; then
10647 if test "$GXX" = yes; then
10653 if test "$GXX" = yes; then
10660 ac_cpp
='$CPP $CPPFLAGS'
10661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10665 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10666 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10667 (test "X$CXX" != "Xg++"))) ; then
10669 ac_cpp
='$CXXCPP $CPPFLAGS'
10670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10674 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10675 if test -z "$CXXCPP"; then
10676 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10677 $as_echo_n "(cached) " >&6
10679 # Double quotes because CXXCPP needs to be expanded
10680 for CXXCPP
in "$CXX -E" "/lib/cpp"
10682 ac_preproc_ok
=false
10683 for ac_cxx_preproc_warn_flag
in '' yes
10685 # Use a header file that comes with gcc, so configuring glibc
10686 # with a fresh cross-compiler works.
10687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10688 # <limits.h> exists even on freestanding compilers.
10689 # On the NeXT, cc -E runs the code through the compiler's parser,
10690 # not just through cpp. "Syntax error" is here to catch this case.
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 # include <limits.h>
10696 # include <assert.h>
10700 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10703 # Broken: fails on valid input.
10706 rm -f conftest.err conftest.
$ac_ext
10708 # OK, works on sane cases. Now check whether nonexistent headers
10709 # can be detected and how.
10710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10712 #include <ac_nonexistent.h>
10714 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10715 # Broken: success on invalid input.
10718 # Passes both tests.
10722 rm -f conftest.err conftest.
$ac_ext
10725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10726 rm -f conftest.err conftest.
$ac_ext
10727 if $ac_preproc_ok; then :
10732 ac_cv_prog_CXXCPP
=$CXXCPP
10735 CXXCPP
=$ac_cv_prog_CXXCPP
10737 ac_cv_prog_CXXCPP
=$CXXCPP
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10740 $as_echo "$CXXCPP" >&6; }
10741 ac_preproc_ok
=false
10742 for ac_cxx_preproc_warn_flag
in '' yes
10744 # Use a header file that comes with gcc, so configuring glibc
10745 # with a fresh cross-compiler works.
10746 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10747 # <limits.h> exists even on freestanding compilers.
10748 # On the NeXT, cc -E runs the code through the compiler's parser,
10749 # not just through cpp. "Syntax error" is here to catch this case.
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 # include <limits.h>
10755 # include <assert.h>
10759 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10762 # Broken: fails on valid input.
10765 rm -f conftest.err conftest.
$ac_ext
10767 # OK, works on sane cases. Now check whether nonexistent headers
10768 # can be detected and how.
10769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10771 #include <ac_nonexistent.h>
10773 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10774 # Broken: success on invalid input.
10777 # Passes both tests.
10781 rm -f conftest.err conftest.
$ac_ext
10784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10785 rm -f conftest.err conftest.
$ac_ext
10786 if $ac_preproc_ok; then :
10789 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10790 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10791 _lt_caught_CXX_error
=yes; }
10795 ac_cpp
='$CPP $CPPFLAGS'
10796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10801 _lt_caught_CXX_error
=yes
10808 ac_cpp
='$CXXCPP $CPPFLAGS'
10809 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10810 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10811 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10813 archive_cmds_need_lc_CXX
=no
10814 allow_undefined_flag_CXX
=
10815 always_export_symbols_CXX
=no
10816 archive_expsym_cmds_CXX
=
10817 compiler_needs_object_CXX
=no
10818 export_dynamic_flag_spec_CXX
=
10819 hardcode_direct_CXX
=no
10820 hardcode_direct_absolute_CXX
=no
10821 hardcode_libdir_flag_spec_CXX
=
10822 hardcode_libdir_flag_spec_ld_CXX
=
10823 hardcode_libdir_separator_CXX
=
10824 hardcode_minus_L_CXX
=no
10825 hardcode_shlibpath_var_CXX
=unsupported
10826 hardcode_automatic_CXX
=no
10827 inherit_rpath_CXX
=no
10829 module_expsym_cmds_CXX
=
10830 link_all_deplibs_CXX
=unknown
10831 old_archive_cmds_CXX
=$old_archive_cmds
10832 no_undefined_flag_CXX
=
10833 whole_archive_flag_spec_CXX
=
10834 enable_shared_with_static_runtimes_CXX
=no
10836 # Source file extension for C++ test sources.
10839 # Object file extension for compiled C++ test sources.
10843 # No sense in running all these tests if we already determined that
10844 # the CXX compiler isn't working. Some variables (like enable_shared)
10845 # are currently assumed to apply to all compilers on this platform,
10846 # and will be corrupted by setting them based on a non-working compiler.
10847 if test "$_lt_caught_CXX_error" != yes; then
10848 # Code to be used in simple compile tests
10849 lt_simple_compile_test_code
="int some_variable = 0;"
10851 # Code to be used in simple link tests
10852 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10854 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10861 # If no C compiler was specified, use CC.
10864 # If no C compiler flags were specified, use CFLAGS.
10865 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10867 # Allow CC to be a program name with arguments.
10871 # save warnings/boilerplate of simple test code
10872 ac_outfile
=conftest.
$ac_objext
10873 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10874 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10875 _lt_compiler_boilerplate
=`cat conftest.err`
10878 ac_outfile
=conftest.
$ac_objext
10879 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10880 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10881 _lt_linker_boilerplate
=`cat conftest.err`
10885 # Allow CC to be a program name with arguments.
10890 lt_save_with_gnu_ld
=$with_gnu_ld
10891 lt_save_path_LD
=$lt_cv_path_LD
10892 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10893 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10895 $as_unset lt_cv_prog_gnu_ld
10897 if test -n "${lt_cv_path_LDCXX+set}"; then
10898 lt_cv_path_LD
=$lt_cv_path_LDCXX
10900 $as_unset lt_cv_path_LD
10902 test -z "${LDCXX+set}" || LD
=$LDCXX
10906 for cc_temp
in $compiler""; do
10908 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10909 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10914 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10917 if test -n "$compiler"; then
10918 # We don't want -fno-exception when compiling C++ code, so set the
10919 # no_builtin_flag separately
10920 if test "$GXX" = yes; then
10921 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10923 lt_prog_compiler_no_builtin_flag_CXX
=
10926 if test "$GXX" = yes; then
10927 # Set up default GNU C++ configuration
10931 # Check whether --with-gnu-ld was given.
10932 if test "${with_gnu_ld+set}" = set; then :
10933 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10939 if test "$GCC" = yes; then
10940 # Check if gcc -print-prog-name=ld gives a path.
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10942 $as_echo_n "checking for ld used by $CC... " >&6; }
10945 # gcc leaves a trailing carriage return which upsets mingw
10946 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10948 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10951 # Accept absolute paths.
10953 re_direlt
='/[^/][^/]*/\.\./'
10954 # Canonicalize the pathname of ld
10955 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10956 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
10957 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10959 test -z "$LD" && LD
="$ac_prog"
10962 # If it fails, then pretend we aren't using GCC.
10966 # If it is relative, then search for the first ld in PATH.
10967 with_gnu_ld
=unknown
10970 elif test "$with_gnu_ld" = yes; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10972 $as_echo_n "checking for GNU ld... " >&6; }
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10975 $as_echo_n "checking for non-GNU ld... " >&6; }
10977 if test "${lt_cv_path_LD+set}" = set; then :
10978 $as_echo_n "(cached) " >&6
10980 if test -z "$LD"; then
10981 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10982 for ac_dir
in $PATH; do
10984 test -z "$ac_dir" && ac_dir
=.
10985 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10986 lt_cv_path_LD
="$ac_dir/$ac_prog"
10987 # Check to see if the program is GNU ld. I'd rather use --version,
10988 # but apparently some variants of GNU ld only accept -v.
10989 # Break only if it was the GNU/non-GNU ld that we prefer.
10990 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10991 *GNU
* | *'with BFD'*)
10992 test "$with_gnu_ld" != no
&& break
10995 test "$with_gnu_ld" != yes && break
11002 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11006 LD
="$lt_cv_path_LD"
11007 if test -n "$LD"; then
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11009 $as_echo "$LD" >&6; }
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11012 $as_echo "no" >&6; }
11014 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11016 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11017 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11018 $as_echo_n "(cached) " >&6
11020 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11021 case `$LD -v 2>&1 </dev/null` in
11022 *GNU
* | *'with BFD'*)
11023 lt_cv_prog_gnu_ld
=yes
11026 lt_cv_prog_gnu_ld
=no
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11031 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11032 with_gnu_ld
=$lt_cv_prog_gnu_ld
11040 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11041 # archiving commands below assume that GNU ld is being used.
11042 if test "$with_gnu_ld" = yes; then
11043 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11044 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'
11046 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11047 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11049 # If archive_cmds runs LD, not CC, wlarc should be empty
11050 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11051 # investigate it a little bit more. (MM)
11054 # ancient GNU ld didn't support --whole-archive et. al.
11055 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11056 $GREP 'no-whole-archive' > /dev
/null
; then
11057 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11059 whole_archive_flag_spec_CXX
=
11065 # A generic and very simple default shared library creation
11066 # command for GNU C++ for the case where it uses the native
11067 # linker, instead of GNU ld. If possible, this setting should
11068 # overridden to take advantage of the native linker features on
11069 # the platform it is being used on.
11070 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11073 # Commands to make compiler produce verbose output that lists
11074 # what "hidden" libraries, object files and flags are used when
11075 # linking a shared library.
11076 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11084 # PORTME: fill in a description of your system's C++ link characteristics
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11086 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11090 # FIXME: insert proper C++ library support
11094 if test "$host_cpu" = ia64
; then
11095 # On IA64, the linker does run time linking by default, so we don't
11096 # have to do anything special.
11097 aix_use_runtimelinking
=no
11098 exp_sym_flag
='-Bexport'
11101 aix_use_runtimelinking
=no
11103 # Test if we are trying to use run time linking or normal
11104 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11105 # need to do runtime linking.
11106 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11107 for ld_flag
in $LDFLAGS; do
11110 aix_use_runtimelinking
=yes
11118 exp_sym_flag
='-bexport'
11119 no_entry_flag
='-bnoentry'
11122 # When large executables or shared objects are built, AIX ld can
11123 # have problems creating the table of contents. If linking a library
11124 # or program results in "error TOC overflow" add -mminimal-toc to
11125 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11126 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11128 archive_cmds_CXX
=''
11129 hardcode_direct_CXX
=yes
11130 hardcode_direct_absolute_CXX
=yes
11131 hardcode_libdir_separator_CXX
=':'
11132 link_all_deplibs_CXX
=yes
11133 file_list_spec_CXX
='${wl}-f,'
11135 if test "$GXX" = yes; then
11136 case $host_os in aix4.
[012]|aix4.
[012].
*)
11137 # We only want to do this on AIX 4.2 and lower, the check
11138 # below for broken collect2 doesn't work under 4.3+
11139 collect2name
=`${CC} -print-prog-name=collect2`
11140 if test -f "$collect2name" &&
11141 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11143 # We have reworked collect2
11146 # We have old collect2
11147 hardcode_direct_CXX
=unsupported
11148 # It fails to find uninstalled libraries when the uninstalled
11149 # path is not listed in the libpath. Setting hardcode_minus_L
11150 # to unsupported forces relinking
11151 hardcode_minus_L_CXX
=yes
11152 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11153 hardcode_libdir_separator_CXX
=
11156 shared_flag
='-shared'
11157 if test "$aix_use_runtimelinking" = yes; then
11158 shared_flag
="$shared_flag "'${wl}-G'
11162 if test "$host_cpu" = ia64
; then
11163 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11164 # chokes on -Wl,-G. The following line is correct:
11167 if test "$aix_use_runtimelinking" = yes; then
11168 shared_flag
='${wl}-G'
11170 shared_flag
='${wl}-bM:SRE'
11175 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11176 # It seems that -bexpall does not export symbols beginning with
11177 # underscore (_), so it is better to generate a list of symbols to
11179 always_export_symbols_CXX
=yes
11180 if test "$aix_use_runtimelinking" = yes; then
11181 # Warning - without using the other runtime loading flags (-brtl),
11182 # -berok will link without error, but may produce a broken library.
11183 allow_undefined_flag_CXX
='-berok'
11184 # Determine the default libpath from the value encoded in an empty
11186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11197 if ac_fn_cxx_try_link
"$LINENO"; then :
11199 lt_aix_libpath_sed
='
11200 /Import File Strings/,/^$/ {
11206 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11207 # Check for a 64-bit object if we didn't find anything.
11208 if test -z "$aix_libpath"; then
11209 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11212 rm -f core conftest.err conftest.
$ac_objext \
11213 conftest
$ac_exeext conftest.
$ac_ext
11214 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11216 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11218 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"
11220 if test "$host_cpu" = ia64
; then
11221 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11222 allow_undefined_flag_CXX
="-z nodefs"
11223 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"
11225 # Determine the default libpath from the value encoded in an
11226 # empty executable.
11227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11238 if ac_fn_cxx_try_link
"$LINENO"; then :
11240 lt_aix_libpath_sed
='
11241 /Import File Strings/,/^$/ {
11247 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11248 # Check for a 64-bit object if we didn't find anything.
11249 if test -z "$aix_libpath"; then
11250 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11257 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11258 # Warning - without using the other run time loading flags,
11259 # -berok will link without error, but may produce a broken library.
11260 no_undefined_flag_CXX
=' ${wl}-bernotok'
11261 allow_undefined_flag_CXX
=' ${wl}-berok'
11262 # Exported symbols can be pulled into shared objects from archives
11263 whole_archive_flag_spec_CXX
='$convenience'
11264 archive_cmds_need_lc_CXX
=yes
11265 # This is similar to how AIX traditionally builds its shared
11267 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'
11273 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11274 allow_undefined_flag_CXX
=unsupported
11275 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11276 # support --undefined. This deserves some investigation. FIXME
11277 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11284 case $cc_basename in
11286 # FIXME: insert proper C++ library support
11292 cygwin
* | mingw
* | pw32
* | cegcc
*)
11293 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11294 # as there is no search path for DLLs.
11295 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11296 allow_undefined_flag_CXX
=unsupported
11297 always_export_symbols_CXX
=no
11298 enable_shared_with_static_runtimes_CXX
=yes
11300 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11301 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'
11302 # If the export-symbols file already is a .def file (1st line
11303 # is EXPORTS), use it as is; otherwise, prepend...
11304 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11305 cp $export_symbols $output_objdir/$soname.def;
11307 echo EXPORTS > $output_objdir/$soname.def;
11308 cat $export_symbols >> $output_objdir/$soname.def;
11310 $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'
11315 darwin
* | rhapsody
*)
11318 archive_cmds_need_lc_CXX
=no
11319 hardcode_direct_CXX
=no
11320 hardcode_automatic_CXX
=yes
11321 hardcode_shlibpath_var_CXX
=unsupported
11322 whole_archive_flag_spec_CXX
=''
11323 link_all_deplibs_CXX
=yes
11324 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11325 case $cc_basename in
11326 ifort
*) _lt_dar_can_shared
=yes ;;
11327 *) _lt_dar_can_shared
=$GCC ;;
11329 if test "$_lt_dar_can_shared" = "yes"; then
11330 output_verbose_link_cmd
=echo
11331 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}"
11332 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11333 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}"
11334 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}"
11335 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11336 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}"
11337 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}"
11347 case $cc_basename in
11349 # FIXME: insert proper C++ library support
11353 # Green Hills C++ Compiler
11354 # FIXME: insert proper C++ library support
11358 # FIXME: insert proper C++ library support
11365 # C++ shared libraries reported to be fairly broken before
11371 archive_cmds_need_lc_CXX
=no
11374 freebsd
* | dragonfly
*)
11375 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11384 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11385 hardcode_libdir_separator_CXX
=:
11386 export_dynamic_flag_spec_CXX
='${wl}-E'
11387 hardcode_direct_CXX
=yes
11388 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11389 # but as the default
11390 # location of the library.
11392 case $cc_basename in
11394 # FIXME: insert proper C++ library support
11398 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'
11399 # Commands to make compiler produce verbose output that lists
11400 # what "hidden" libraries, object files and flags are used when
11401 # linking a shared library.
11403 # There doesn't appear to be a way to prevent this compiler from
11404 # explicitly linking system object files so we need to strip them
11405 # from the output so that they don't get included in the library
11407 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'
11410 if test "$GXX" = yes; then
11411 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'
11413 # FIXME: insert proper C++ library support
11421 if test $with_gnu_ld = no
; then
11422 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11423 hardcode_libdir_separator_CXX
=:
11429 export_dynamic_flag_spec_CXX
='${wl}-E'
11435 hardcode_direct_CXX
=no
11436 hardcode_shlibpath_var_CXX
=no
11439 hardcode_direct_CXX
=yes
11440 hardcode_direct_absolute_CXX
=yes
11441 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11442 # but as the default
11443 # location of the library.
11447 case $cc_basename in
11449 # FIXME: insert proper C++ library support
11455 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11458 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11461 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11464 # Commands to make compiler produce verbose output that lists
11465 # what "hidden" libraries, object files and flags are used when
11466 # linking a shared library.
11468 # There doesn't appear to be a way to prevent this compiler from
11469 # explicitly linking system object files so we need to strip them
11470 # from the output so that they don't get included in the library
11472 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'
11475 if test "$GXX" = yes; then
11476 if test $with_gnu_ld = no
; then
11479 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11482 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11485 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'
11490 # FIXME: insert proper C++ library support
11498 hardcode_direct_CXX
=no
11499 hardcode_shlibpath_var_CXX
=no
11500 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11501 export_dynamic_flag_spec_CXX
='${wl}-E'
11502 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11503 # Instead, shared libraries are loaded at an image base (0x10000000 by
11504 # default) and relocated if they conflict, which is a slow very memory
11505 # consuming and fragmenting process. To avoid this, we pick a random,
11506 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11507 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11508 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'
11509 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'
11512 case $cc_basename in
11515 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'
11517 # Archives containing C++ object files must be created using
11518 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11519 # necessary to make sure instantiated templates are included
11521 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11524 if test "$GXX" = yes; then
11525 if test "$with_gnu_ld" = no
; then
11526 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'
11528 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'
11531 link_all_deplibs_CXX
=yes
11534 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11535 hardcode_libdir_separator_CXX
=:
11536 inherit_rpath_CXX
=yes
11539 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11540 case $cc_basename in
11542 # Kuck and Associates, Inc. (KAI) C++ Compiler
11544 # KCC will only create a shared library if the output file
11545 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11546 # to its proper name (with version) after linking.
11547 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'
11548 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'
11549 # Commands to make compiler produce verbose output that lists
11550 # what "hidden" libraries, object files and flags are used when
11551 # linking a shared library.
11553 # There doesn't appear to be a way to prevent this compiler from
11554 # explicitly linking system object files so we need to strip them
11555 # from the output so that they don't get included in the library
11557 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'
11559 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11560 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11562 # Archives containing C++ object files must be created using
11563 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11564 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11569 # version 8.0 and above of icpc choke on multiply defined symbols
11570 # if we add $predep_objects and $postdep_objects, however 7.1 and
11571 # earlier do not add the objects themselves.
11572 case `$CC -V 2>&1` in
11574 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11575 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'
11577 *) # Version 8.0 or newer
11580 ia64
*) tmp_idyn
=' -i_dynamic';;
11582 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11583 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'
11586 archive_cmds_need_lc_CXX
=no
11587 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11588 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11589 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11592 # Portland Group C++ compiler
11594 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11595 prelink_cmds_CXX
='tpldir=Template.dir~
11597 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11598 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11599 old_archive_cmds_CXX
='tpldir=Template.dir~
11601 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11602 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11604 archive_cmds_CXX
='tpldir=Template.dir~
11606 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11607 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11608 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11610 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11611 $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'
11613 *) # Version 6 will use weak symbols
11614 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11615 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'
11619 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11620 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11621 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'
11625 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11626 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'
11628 runpath_var
=LD_RUN_PATH
11629 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11630 hardcode_libdir_separator_CXX
=:
11632 # Commands to make compiler produce verbose output that lists
11633 # what "hidden" libraries, object files and flags are used when
11634 # linking a shared library.
11636 # There doesn't appear to be a way to prevent this compiler from
11637 # explicitly linking system object files so we need to strip them
11638 # from the output so that they don't get included in the library
11640 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'
11643 # IBM XL 8.0 on PPC, with GNU ld
11644 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11645 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11646 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11647 if test "x$supports_anon_versioning" = xyes
; then
11648 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11650 echo "local: *; };" >> $output_objdir/$libname.ver~
11651 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11655 case `$CC -V 2>&1 | sed 5q` in
11658 no_undefined_flag_CXX
=' -zdefs'
11659 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11660 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'
11661 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11662 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'
11663 compiler_needs_object_CXX
=yes
11665 # Not sure whether something based on
11666 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11668 output_verbose_link_cmd
='echo'
11670 # Archives containing C++ object files must be created using
11671 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11672 # necessary to make sure instantiated templates are included
11674 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11682 # FIXME: insert proper C++ library support
11687 # FIXME: insert proper C++ library support
11692 case $cc_basename in
11694 # FIXME: insert proper C++ library support
11698 # FIXME: insert proper C++ library support
11705 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11706 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11708 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11709 hardcode_direct_CXX
=yes
11710 hardcode_shlibpath_var_CXX
=no
11712 # Workaround some broken pre-1.5 toolchains
11713 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11721 # C++ shared libraries are fairly broken
11726 if test -f /usr
/libexec
/ld.so
; then
11727 hardcode_direct_CXX
=yes
11728 hardcode_shlibpath_var_CXX
=no
11729 hardcode_direct_absolute_CXX
=yes
11730 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11732 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11733 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11734 export_dynamic_flag_spec_CXX
='${wl}-E'
11735 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11737 output_verbose_link_cmd
=echo
11743 osf3
* | osf4
* | osf5
*)
11744 case $cc_basename in
11746 # Kuck and Associates, Inc. (KAI) C++ Compiler
11748 # KCC will only create a shared library if the output file
11749 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11750 # to its proper name (with version) after linking.
11751 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'
11753 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11754 hardcode_libdir_separator_CXX
=:
11756 # Archives containing C++ object files must be created using
11757 # the KAI C++ compiler.
11759 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11760 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11764 # Rational C++ 2.4.1
11765 # FIXME: insert proper C++ library support
11771 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11772 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'
11773 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11776 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11777 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'
11778 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11779 echo "-hidden">> $lib.exp~
11780 $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~
11782 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11786 hardcode_libdir_separator_CXX
=:
11788 # Commands to make compiler produce verbose output that lists
11789 # what "hidden" libraries, object files and flags are used when
11790 # linking a shared library.
11792 # There doesn't appear to be a way to prevent this compiler from
11793 # explicitly linking system object files so we need to strip them
11794 # from the output so that they don't get included in the library
11796 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'
11799 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11800 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11803 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'
11806 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'
11810 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11811 hardcode_libdir_separator_CXX
=:
11813 # Commands to make compiler produce verbose output that lists
11814 # what "hidden" libraries, object files and flags are used when
11815 # linking a shared library.
11816 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11819 # FIXME: insert proper C++ library support
11827 # FIXME: insert proper C++ library support
11832 case $cc_basename in
11835 # FIXME: insert proper C++ library support
11840 # FIXME: insert proper C++ library support
11844 # FIXME: insert proper C++ library support
11851 case $cc_basename in
11853 # Sun C++ 4.2, 5.x and Centerline C++
11854 archive_cmds_need_lc_CXX
=yes
11855 no_undefined_flag_CXX
=' -zdefs'
11856 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11857 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11858 $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'
11860 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11861 hardcode_shlibpath_var_CXX
=no
11863 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11865 # The compiler driver will combine and reorder linker options,
11866 # but understands `-z linker_flag'.
11867 # Supported since Solaris 2.6 (maybe 2.5.1?)
11868 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11871 link_all_deplibs_CXX
=yes
11873 output_verbose_link_cmd
='echo'
11875 # Archives containing C++ object files must be created using
11876 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11877 # necessary to make sure instantiated templates are included
11879 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11882 # Green Hills C++ Compiler
11883 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11885 # The C++ compiler must be used to create the archive.
11886 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11889 # GNU C++ compiler with Solaris linker
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11891 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11892 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11893 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11894 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11895 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11897 # Commands to make compiler produce verbose output that lists
11898 # what "hidden" libraries, object files and flags are used when
11899 # linking a shared library.
11900 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11902 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11904 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11905 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11906 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11908 # Commands to make compiler produce verbose output that lists
11909 # what "hidden" libraries, object files and flags are used when
11910 # linking a shared library.
11911 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11914 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11916 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11918 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11926 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11927 no_undefined_flag_CXX
='${wl}-z,text'
11928 archive_cmds_need_lc_CXX
=no
11929 hardcode_shlibpath_var_CXX
=no
11930 runpath_var
='LD_RUN_PATH'
11932 case $cc_basename in
11934 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11935 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11938 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11939 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11944 sysv5
* | sco3.2v5
* | sco5v6
*)
11945 # Note: We can NOT use -z defs as we might desire, because we do not
11946 # link with -lc, and that would cause any symbols used from libc to
11947 # always be unresolved, which means just about no library would
11948 # ever link correctly. If we're not using GNU ld we use -z text
11949 # though, which does catch some bad symbols but isn't as heavy-handed
11951 no_undefined_flag_CXX
='${wl}-z,text'
11952 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11953 archive_cmds_need_lc_CXX
=no
11954 hardcode_shlibpath_var_CXX
=no
11955 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
11956 hardcode_libdir_separator_CXX
=':'
11957 link_all_deplibs_CXX
=yes
11958 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11959 runpath_var
='LD_RUN_PATH'
11961 case $cc_basename in
11963 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11964 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11967 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11968 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974 case $cc_basename in
11976 # NonStop-UX NCC 3.20
11977 # FIXME: insert proper C++ library support
11981 # FIXME: insert proper C++ library support
11988 # FIXME: insert proper C++ library support
11993 # FIXME: insert proper C++ library support
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
11999 $as_echo "$ld_shlibs_CXX" >&6; }
12000 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12006 ## There is no encapsulation within the following macros, do not change
12007 ## the running order or otherwise move them around unless you know exactly
12008 ## what you are doing...
12009 # Dependencies to place before and after the object being linked:
12010 predep_objects_CXX
=
12011 postdep_objects_CXX
=
12014 compiler_lib_search_path_CXX
=
12016 cat > conftest.
$ac_ext <<_LT_EOF
12020 Foo (void) { a = 0; }
12026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12027 (eval $ac_compile) 2>&5
12029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12030 test $ac_status = 0; }; then
12031 # Parse the compiler output and extract the necessary
12032 # objects, libraries and library flags.
12034 # Sentinel used to keep track of whether or not we are before
12035 # the conftest object file.
12036 pre_test_object_deps_done
=no
12038 for p
in `eval "$output_verbose_link_cmd"`; do
12042 # Some compilers place space between "-{L,R}" and the path.
12043 # Remove the space.
12044 if test $p = "-L" ||
12045 test $p = "-R"; then
12052 if test "$pre_test_object_deps_done" = no
; then
12055 # Internal compiler library paths should come after those
12056 # provided the user. The postdeps already come after the
12057 # user supplied libs so there is no need to process them.
12058 if test -z "$compiler_lib_search_path_CXX"; then
12059 compiler_lib_search_path_CXX
="${prev}${p}"
12061 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12064 # The "-l" case would never come before the object being
12065 # linked, so don't bother handling this case.
12068 if test -z "$postdeps_CXX"; then
12069 postdeps_CXX
="${prev}${p}"
12071 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12077 # This assumes that the test object file only shows up
12078 # once in the compiler output.
12079 if test "$p" = "conftest.$objext"; then
12080 pre_test_object_deps_done
=yes
12084 if test "$pre_test_object_deps_done" = no
; then
12085 if test -z "$predep_objects_CXX"; then
12086 predep_objects_CXX
="$p"
12088 predep_objects_CXX
="$predep_objects_CXX $p"
12091 if test -z "$postdep_objects_CXX"; then
12092 postdep_objects_CXX
="$p"
12094 postdep_objects_CXX
="$postdep_objects_CXX $p"
12099 *) ;; # Ignore the rest.
12107 echo "libtool.m4: error: problem compiling CXX test program"
12110 $RM -f confest.
$objext
12112 # PORTME: override above test on systems where it is broken
12115 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12116 # hack all around it, let's just trust "g++" to DTRT.
12117 predep_objects_CXX
=
12118 postdep_objects_CXX
=
12123 case `$CC -V 2>&1 | sed 5q` in
12127 # The more standards-conforming stlport4 library is
12128 # incompatible with the Cstd library. Avoid specifying
12129 # it if it's in CXXFLAGS. Ignore libCrun as
12130 # -library=stlport4 depends on it.
12131 case " $CXX $CXXFLAGS " in
12132 *" -library=stlport4 "*)
12133 solaris_use_stlport4
=yes
12137 if test "$solaris_use_stlport4" != yes; then
12138 postdeps_CXX
='-library=Cstd -library=Crun'
12145 case $cc_basename in
12147 # The more standards-conforming stlport4 library is
12148 # incompatible with the Cstd library. Avoid specifying
12149 # it if it's in CXXFLAGS. Ignore libCrun as
12150 # -library=stlport4 depends on it.
12151 case " $CXX $CXXFLAGS " in
12152 *" -library=stlport4 "*)
12153 solaris_use_stlport4
=yes
12157 # Adding this requires a known-good setup of shared libraries for
12158 # Sun compiler versions before 5.6, else PIC objects from an old
12159 # archive will be linked into the output, leading to subtle bugs.
12160 if test "$solaris_use_stlport4" != yes; then
12161 postdeps_CXX
='-library=Cstd -library=Crun'
12169 case " $postdeps_CXX " in
12170 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12172 compiler_lib_search_dirs_CXX
=
12173 if test -n "${compiler_lib_search_path_CXX}"; then
12174 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12207 lt_prog_compiler_wl_CXX
=
12208 lt_prog_compiler_pic_CXX
=
12209 lt_prog_compiler_static_CXX
=
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12214 # C++ specific cases for pic, static, wl, etc.
12215 if test "$GXX" = yes; then
12216 lt_prog_compiler_wl_CXX
='-Wl,'
12217 lt_prog_compiler_static_CXX
='-static'
12221 # All AIX code is PIC.
12222 if test "$host_cpu" = ia64
; then
12223 # AIX 5 now supports IA64 processor
12224 lt_prog_compiler_static_CXX
='-Bstatic'
12231 # see comment about AmigaOS4 .so support
12232 lt_prog_compiler_pic_CXX
='-fPIC'
12235 # FIXME: we need at least 68020 code to build shared libraries, but
12236 # adding the `-m68020' flag to GCC prevents building anything better,
12238 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12243 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12244 # PIC is the default for these OSes.
12246 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12247 # This hack is so that the source file can tell whether it is being
12248 # built for inclusion in a dll (and should export symbols for example).
12249 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12250 # (--disable-auto-import) libraries
12251 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12253 darwin
* | rhapsody
*)
12254 # PIC is the default on this platform
12255 # Common symbols not allowed in MH_DYLIB files
12256 lt_prog_compiler_pic_CXX
='-fno-common'
12259 # DJGPP does not support shared libraries at all
12260 lt_prog_compiler_pic_CXX
=
12263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12264 # Instead, we relocate shared libraries at runtime.
12267 if test -d /usr
/nec
; then
12268 lt_prog_compiler_pic_CXX
=-Kconform_pic
12272 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12273 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12274 # sets the default TLS model and affects inlining.
12279 lt_prog_compiler_pic_CXX
='-fPIC'
12284 # QNX uses GNU C++, but need to define -shared option too, otherwise
12285 # it will coredump.
12286 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12289 lt_prog_compiler_pic_CXX
='-fPIC'
12295 # All AIX code is PIC.
12296 if test "$host_cpu" = ia64
; then
12297 # AIX 5 now supports IA64 processor
12298 lt_prog_compiler_static_CXX
='-Bstatic'
12300 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12304 case $cc_basename in
12306 # Green Hills C++ Compiler
12307 # _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"
12312 case $cc_basename in
12314 lt_prog_compiler_pic_CXX
='-KPIC'
12317 # Green Hills C++ Compiler
12318 lt_prog_compiler_pic_CXX
='-pic'
12324 freebsd
* | dragonfly
*)
12325 # FreeBSD uses GNU C++
12327 hpux9
* | hpux10
* | hpux11
*)
12328 case $cc_basename in
12330 lt_prog_compiler_wl_CXX
='-Wl,'
12331 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12332 if test "$host_cpu" != ia64
; then
12333 lt_prog_compiler_pic_CXX
='+Z'
12337 lt_prog_compiler_wl_CXX
='-Wl,'
12338 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12344 lt_prog_compiler_pic_CXX
='+Z'
12353 # This is c89, which is MS Visual C++ (no shared libs)
12354 # Anyone wants to do a port?
12356 irix5
* | irix6
* | nonstopux
*)
12357 case $cc_basename in
12359 lt_prog_compiler_wl_CXX
='-Wl,'
12360 lt_prog_compiler_static_CXX
='-non_shared'
12361 # CC pic flag -KPIC is the default.
12367 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12368 case $cc_basename in
12371 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12372 lt_prog_compiler_pic_CXX
='-fPIC'
12375 # old Intel C++ for x86_64 which still supported -KPIC.
12376 lt_prog_compiler_wl_CXX
='-Wl,'
12377 lt_prog_compiler_pic_CXX
='-KPIC'
12378 lt_prog_compiler_static_CXX
='-static'
12381 # Intel C++, used to be incompatible with GCC.
12382 # ICC 10 doesn't accept -KPIC any more.
12383 lt_prog_compiler_wl_CXX
='-Wl,'
12384 lt_prog_compiler_pic_CXX
='-fPIC'
12385 lt_prog_compiler_static_CXX
='-static'
12388 # Portland Group C++ compiler
12389 lt_prog_compiler_wl_CXX
='-Wl,'
12390 lt_prog_compiler_pic_CXX
='-fpic'
12391 lt_prog_compiler_static_CXX
='-Bstatic'
12395 # Make sure the PIC flag is empty. It appears that all Alpha
12396 # Linux and Compaq Tru64 Unix objects are PIC.
12397 lt_prog_compiler_pic_CXX
=
12398 lt_prog_compiler_static_CXX
='-non_shared'
12401 # IBM XL 8.0 on PPC
12402 lt_prog_compiler_wl_CXX
='-Wl,'
12403 lt_prog_compiler_pic_CXX
='-qpic'
12404 lt_prog_compiler_static_CXX
='-qstaticlink'
12407 case `$CC -V 2>&1 | sed 5q` in
12410 lt_prog_compiler_pic_CXX
='-KPIC'
12411 lt_prog_compiler_static_CXX
='-Bstatic'
12412 lt_prog_compiler_wl_CXX
='-Qoption ld '
12423 case $cc_basename in
12425 lt_prog_compiler_pic_CXX
='-W c,exportall'
12431 netbsd
* | netbsdelf
*-gnu)
12434 # QNX uses GNU C++, but need to define -shared option too, otherwise
12435 # it will coredump.
12436 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12438 osf3
* | osf4
* | osf5
*)
12439 case $cc_basename in
12441 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12444 # Rational C++ 2.4.1
12445 lt_prog_compiler_pic_CXX
='-pic'
12448 # Digital/Compaq C++
12449 lt_prog_compiler_wl_CXX
='-Wl,'
12450 # Make sure the PIC flag is empty. It appears that all Alpha
12451 # Linux and Compaq Tru64 Unix objects are PIC.
12452 lt_prog_compiler_pic_CXX
=
12453 lt_prog_compiler_static_CXX
='-non_shared'
12462 case $cc_basename in
12464 # Sun C++ 4.2, 5.x and Centerline C++
12465 lt_prog_compiler_pic_CXX
='-KPIC'
12466 lt_prog_compiler_static_CXX
='-Bstatic'
12467 lt_prog_compiler_wl_CXX
='-Qoption ld '
12470 # Green Hills C++ Compiler
12471 lt_prog_compiler_pic_CXX
='-PIC'
12478 case $cc_basename in
12481 lt_prog_compiler_pic_CXX
='-pic'
12482 lt_prog_compiler_static_CXX
='-Bstatic'
12486 lt_prog_compiler_pic_CXX
='-pic'
12492 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12493 case $cc_basename in
12495 lt_prog_compiler_wl_CXX
='-Wl,'
12496 lt_prog_compiler_pic_CXX
='-KPIC'
12497 lt_prog_compiler_static_CXX
='-Bstatic'
12502 case $cc_basename in
12504 # NonStop-UX NCC 3.20
12505 lt_prog_compiler_pic_CXX
='-KPIC'
12514 lt_prog_compiler_can_build_shared_CXX
=no
12520 # For platforms which do not support PIC, -DPIC is meaningless:
12522 lt_prog_compiler_pic_CXX
=
12525 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12529 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12534 # Check to make sure the PIC flag actually works.
12536 if test -n "$lt_prog_compiler_pic_CXX"; then
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12538 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12539 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12540 $as_echo_n "(cached) " >&6
12542 lt_cv_prog_compiler_pic_works_CXX
=no
12543 ac_outfile
=conftest.
$ac_objext
12544 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12545 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12546 # Insert the option either (1) after the last *FLAGS variable, or
12547 # (2) before a word containing "conftest.", or (3) at the end.
12548 # Note that $ac_compile itself does not contain backslashes and begins
12549 # with a dollar sign (not a hyphen), so the echo should work correctly.
12550 # The option is referenced via a variable to avoid confusing sed.
12551 lt_compile
=`echo "$ac_compile" | $SED \
12552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12554 -e 's:$: $lt_compiler_flag:'`
12555 (eval echo "\"\$as_me:12555: $lt_compile\"" >&5)
12556 (eval "$lt_compile" 2>conftest.err
)
12558 cat conftest.err
>&5
12559 echo "$as_me:12559: \$? = $ac_status" >&5
12560 if (exit $ac_status) && test -s "$ac_outfile"; then
12561 # The compiler can only warn and ignore the option if not recognized
12562 # So say no if there are warnings other than the usual output.
12563 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12564 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12565 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12566 lt_cv_prog_compiler_pic_works_CXX
=yes
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12573 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12575 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12576 case $lt_prog_compiler_pic_CXX in
12578 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12581 lt_prog_compiler_pic_CXX
=
12582 lt_prog_compiler_can_build_shared_CXX
=no
12590 # Check to make sure the static flag actually works.
12592 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12594 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12595 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12596 $as_echo_n "(cached) " >&6
12598 lt_cv_prog_compiler_static_works_CXX
=no
12599 save_LDFLAGS
="$LDFLAGS"
12600 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12601 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12602 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12603 # The linker can only warn and ignore the option if not recognized
12604 # So say no if there are warnings
12605 if test -s conftest.err
; then
12606 # Append any errors to the config.log.
12607 cat conftest.err
1>&5
12608 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12609 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12610 if diff conftest.exp conftest.er2
>/dev
/null
; then
12611 lt_cv_prog_compiler_static_works_CXX
=yes
12614 lt_cv_prog_compiler_static_works_CXX
=yes
12618 LDFLAGS
="$save_LDFLAGS"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12622 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12624 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12627 lt_prog_compiler_static_CXX
=
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12634 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12635 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12636 $as_echo_n "(cached) " >&6
12638 lt_cv_prog_compiler_c_o_CXX
=no
12639 $RM -r conftest
2>/dev
/null
12643 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12645 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12646 # Insert the option either (1) after the last *FLAGS variable, or
12647 # (2) before a word containing "conftest.", or (3) at the end.
12648 # Note that $ac_compile itself does not contain backslashes and begins
12649 # with a dollar sign (not a hyphen), so the echo should work correctly.
12650 lt_compile
=`echo "$ac_compile" | $SED \
12651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12653 -e 's:$: $lt_compiler_flag:'`
12654 (eval echo "\"\$as_me:12654: $lt_compile\"" >&5)
12655 (eval "$lt_compile" 2>out
/conftest.err
)
12657 cat out
/conftest.err
>&5
12658 echo "$as_me:12658: \$? = $ac_status" >&5
12659 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12661 # The compiler can only warn and ignore the option if not recognized
12662 # So say no if there are warnings
12663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12664 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12665 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12666 lt_cv_prog_compiler_c_o_CXX
=yes
12671 # SGI C++ compiler will create directory out/ii_files/ for
12672 # template instantiation
12673 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12674 $RM out
/* && rmdir out
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12681 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12686 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12687 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12688 $as_echo_n "(cached) " >&6
12690 lt_cv_prog_compiler_c_o_CXX
=no
12691 $RM -r conftest
2>/dev
/null
12695 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12697 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12698 # Insert the option either (1) after the last *FLAGS variable, or
12699 # (2) before a word containing "conftest.", or (3) at the end.
12700 # Note that $ac_compile itself does not contain backslashes and begins
12701 # with a dollar sign (not a hyphen), so the echo should work correctly.
12702 lt_compile
=`echo "$ac_compile" | $SED \
12703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12705 -e 's:$: $lt_compiler_flag:'`
12706 (eval echo "\"\$as_me:12706: $lt_compile\"" >&5)
12707 (eval "$lt_compile" 2>out
/conftest.err
)
12709 cat out
/conftest.err
>&5
12710 echo "$as_me:12710: \$? = $ac_status" >&5
12711 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12713 # The compiler can only warn and ignore the option if not recognized
12714 # So say no if there are warnings
12715 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12716 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12717 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12718 lt_cv_prog_compiler_c_o_CXX
=yes
12723 # SGI C++ compiler will create directory out/ii_files/ for
12724 # template instantiation
12725 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12726 $RM out
/* && rmdir out
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12733 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12738 hard_links
="nottested"
12739 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12740 # do not overwrite the value of need_locks provided by the user
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12742 $as_echo_n "checking if we can lock with hard links... " >&6; }
12745 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12747 ln conftest.a conftest.b
2>&5 || hard_links
=no
12748 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12750 $as_echo "$hard_links" >&6; }
12751 if test "$hard_links" = no
; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12753 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12763 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12765 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12768 # If we're using GNU nm, then we don't want the "-C" option.
12769 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12770 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12771 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'
12773 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'
12777 export_symbols_cmds_CXX
="$ltdll_cmds"
12779 cygwin
* | mingw
* | cegcc
*)
12780 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'
12782 linux
* | k
*bsd
*-gnu)
12783 link_all_deplibs_CXX
=no
12786 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12789 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12792 $as_echo "$ld_shlibs_CXX" >&6; }
12793 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12795 with_gnu_ld_CXX
=$with_gnu_ld
12803 # Do we need to explicitly link libc?
12805 case "x$archive_cmds_need_lc_CXX" in
12807 # Assume -lc should be added
12808 archive_cmds_need_lc_CXX
=yes
12810 if test "$enable_shared" = yes && test "$GCC" = yes; then
12811 case $archive_cmds_CXX in
12813 # FIXME: we may have to deal with multi-command sequences.
12816 # Test whether the compiler implicitly links with -lc since on some
12817 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12818 # to ld, don't add -lc before -lgcc.
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12820 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12822 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12825 (eval $ac_compile) 2>&5
12827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12828 test $ac_status = 0; } 2>conftest.err
; then
12831 libobjs
=conftest.
$ac_objext
12833 wl
=$lt_prog_compiler_wl_CXX
12834 pic_flag
=$lt_prog_compiler_pic_CXX
12840 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12841 allow_undefined_flag_CXX
=
12842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12843 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12846 test $ac_status = 0; }
12848 archive_cmds_need_lc_CXX
=no
12850 archive_cmds_need_lc_CXX
=yes
12852 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12854 cat conftest.err
1>&5
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12858 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12929 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12931 library_names_spec
=
12932 libname_spec
='lib$name'
12936 postuninstall_cmds
=
12940 shlibpath_overrides_runpath
=unknown
12942 dynamic_linker
="$host_os ld.so"
12943 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12944 need_lib_prefix
=unknown
12945 hardcode_into_libs
=no
12947 # when you set need_version to no, make sure it does not cause -set_version
12948 # flags to be left without arguments
12949 need_version
=unknown
12954 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12955 shlibpath_var
=LIBPATH
12957 # AIX 3 has no versioning support, so we append a major version to the name.
12958 soname_spec
='${libname}${release}${shared_ext}$major'
12965 hardcode_into_libs
=yes
12966 if test "$host_cpu" = ia64
; then
12967 # AIX 5 supports IA64
12968 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12969 shlibpath_var
=LD_LIBRARY_PATH
12971 # With GCC up to 2.95.x, collect2 would create an import file
12972 # for dependence libraries. The import file would start with
12973 # the line `#! .'. This would cause the generated library to
12974 # depend on `.', always an invalid library. This was fixed in
12975 # development snapshots of GCC prior to 3.0.
12977 aix4
| aix4.
[01] | aix4.
[01].
*)
12978 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12980 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
12983 can_build_shared
=no
12987 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12988 # soname into executable. Probably we can add versioning support to
12989 # collect2, so additional links can be useful in future.
12990 if test "$aix_use_runtimelinking" = yes; then
12991 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12992 # instead of lib<name>.a to let people know that these are not
12993 # typical AIX shared libraries.
12994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12996 # We preserve .a as extension for shared libraries through AIX4.2
12997 # and later when we are not doing run time linking.
12998 library_names_spec
='${libname}${release}.a $libname.a'
12999 soname_spec
='${libname}${release}${shared_ext}$major'
13001 shlibpath_var
=LIBPATH
13008 # Since July 2007 AmigaOS4 officially supports .so libraries.
13009 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13013 library_names_spec
='$libname.ixlibrary $libname.a'
13014 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13015 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'
13021 library_names_spec
='${libname}${shared_ext}'
13022 dynamic_linker
="$host_os ld.so"
13023 shlibpath_var
=LIBRARY_PATH
13029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13030 soname_spec
='${libname}${release}${shared_ext}$major'
13031 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13032 shlibpath_var
=LD_LIBRARY_PATH
13033 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13034 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13035 # the default ld.so.conf also contains /usr/contrib/lib and
13036 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13037 # libtool to hard-code these into programs
13040 cygwin
* | mingw
* | pw32
* | cegcc
*)
13041 version_type
=windows
13046 case $GCC,$host_os in
13047 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13048 library_names_spec
='$libname.dll.a'
13049 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13050 postinstall_cmds
='base_file=`basename \${file}`~
13051 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13052 dldir=$destdir/`dirname \$dlpath`~
13053 test -d \$dldir || mkdir -p \$dldir~
13054 $install_prog $dir/$dlname \$dldir/$dlname~
13055 chmod a+x \$dldir/$dlname~
13056 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13057 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13059 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13060 dlpath=$dir/\$dldll~
13062 shlibpath_overrides_runpath
=yes
13066 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13067 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13068 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13071 # MinGW DLLs use traditional 'lib' prefix
13072 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13073 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13074 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13075 # It is most probably a Windows format PATH printed by
13076 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13077 # path with ; separators, and with drive letters. We can handle the
13078 # drive letters (cygwin fileutils understands them), so leave them,
13079 # especially as we might pass files found there to a mingw objdump,
13080 # which wouldn't understand a cygwinified path. Ahh.
13081 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13083 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13087 # pw32 DLLs use 'pw' prefix rather than 'lib'
13088 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13094 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13097 dynamic_linker
='Win32 ld.exe'
13098 # FIXME: first we should search . and the directory the executable is in
13102 darwin
* | rhapsody
*)
13103 dynamic_linker
="$host_os dyld"
13104 version_type
=darwin
13107 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13108 soname_spec
='${libname}${release}${major}$shared_ext'
13109 shlibpath_overrides_runpath
=yes
13110 shlibpath_var
=DYLD_LIBRARY_PATH
13111 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13113 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13121 soname_spec
='${libname}${release}${shared_ext}$major'
13122 shlibpath_var
=LD_LIBRARY_PATH
13129 freebsd
* | dragonfly
*)
13130 # DragonFly does not have aout. When/if they implement a new
13131 # versioning mechanism, adjust this.
13132 if test -x /usr
/bin
/objformat
; then
13133 objformat
=`/usr/bin/objformat`
13136 freebsd
[123]*) objformat
=aout
;;
13137 *) objformat
=elf
;;
13140 version_type
=freebsd
-$objformat
13141 case $version_type in
13143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13148 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13152 shlibpath_var
=LD_LIBRARY_PATH
13155 shlibpath_overrides_runpath
=yes
13157 freebsd3.
[01]* | freebsdelf3.
[01]*)
13158 shlibpath_overrides_runpath
=yes
13159 hardcode_into_libs
=yes
13161 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13162 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13163 shlibpath_overrides_runpath
=no
13164 hardcode_into_libs
=yes
13166 *) # from 4.6 on, and DragonFly
13167 shlibpath_overrides_runpath
=yes
13168 hardcode_into_libs
=yes
13177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13178 soname_spec
='${libname}${release}${shared_ext}$major'
13179 shlibpath_var
=LD_LIBRARY_PATH
13180 hardcode_into_libs
=yes
13183 hpux9
* | hpux10
* | hpux11
*)
13184 # Give a soname corresponding to the major version so that dld.sl refuses to
13185 # link against other versions.
13192 hardcode_into_libs
=yes
13193 dynamic_linker
="$host_os dld.so"
13194 shlibpath_var
=LD_LIBRARY_PATH
13195 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13196 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13197 soname_spec
='${libname}${release}${shared_ext}$major'
13198 if test "X$HPUX_IA64_MODE" = X32
; then
13199 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13201 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13203 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13207 hardcode_into_libs
=yes
13208 dynamic_linker
="$host_os dld.sl"
13209 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13210 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13212 soname_spec
='${libname}${release}${shared_ext}$major'
13213 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13214 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13218 dynamic_linker
="$host_os dld.sl"
13219 shlibpath_var
=SHLIB_PATH
13220 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13222 soname_spec
='${libname}${release}${shared_ext}$major'
13225 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13226 postinstall_cmds
='chmod 555 $lib'
13233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13234 soname_spec
='${libname}${release}${shared_ext}$major'
13235 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13236 shlibpath_var
=LD_LIBRARY_PATH
13237 shlibpath_overrides_runpath
=no
13238 hardcode_into_libs
=yes
13241 irix5
* | irix6
* | nonstopux
*)
13243 nonstopux
*) version_type
=nonstopux
;;
13245 if test "$lt_cv_prog_gnu_ld" = yes; then
13253 soname_spec
='${libname}${release}${shared_ext}$major'
13254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13256 irix5
* | nonstopux
*)
13257 libsuff
= shlibsuff
=
13260 case $LD in # libtool.m4 will add one of these switches to LD
13261 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13262 libsuff
= shlibsuff
= libmagic
=32-bit;;
13263 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13264 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13265 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13266 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13267 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13271 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13272 shlibpath_overrides_runpath
=no
13273 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13274 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13275 hardcode_into_libs
=yes
13278 # No shared lib support for Linux oldld, aout, or coff.
13279 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13283 # This must be Linux ELF.
13284 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13288 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13289 soname_spec
='${libname}${release}${shared_ext}$major'
13290 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13291 shlibpath_var
=LD_LIBRARY_PATH
13292 shlibpath_overrides_runpath
=no
13293 # Some binutils ld are patched to set DT_RUNPATH
13294 save_LDFLAGS
=$LDFLAGS
13295 save_libdir
=$libdir
13296 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13297 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13309 if ac_fn_cxx_try_link
"$LINENO"; then :
13310 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13311 shlibpath_overrides_runpath
=yes
13314 rm -f core conftest.err conftest.
$ac_objext \
13315 conftest
$ac_exeext conftest.
$ac_ext
13316 LDFLAGS
=$save_LDFLAGS
13317 libdir
=$save_libdir
13319 # This implies no fast_install, which is unacceptable.
13320 # Some rework will be needed to allow for fast_install
13321 # before this can be enabled.
13322 hardcode_into_libs
=yes
13324 # Append ld.so.conf contents to the search path
13325 if test -f /etc
/ld.so.conf
; then
13326 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' ' '`
13327 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13330 # We used to test for /lib/ld.so.1 and disable shared libraries on
13331 # powerpc, because MkLinux only supported shared libraries with the
13332 # GNU dynamic linker. Since this was broken with cross compilers,
13333 # most powerpc-linux boxes support dynamic linking these days and
13334 # people can always --disable-shared, the test was removed, and we
13335 # assume the GNU/Linux dynamic linker is in use.
13336 dynamic_linker
='GNU/Linux ld.so'
13343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13344 soname_spec
='${libname}${release}${shared_ext}$major'
13345 shlibpath_var
=LD_LIBRARY_PATH
13346 shlibpath_overrides_runpath
=no
13347 hardcode_into_libs
=yes
13348 dynamic_linker
='NetBSD ld.elf_so'
13355 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13357 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13358 dynamic_linker
='NetBSD (a.out) ld.so'
13360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13361 soname_spec
='${libname}${release}${shared_ext}$major'
13362 dynamic_linker
='NetBSD ld.elf_so'
13364 shlibpath_var
=LD_LIBRARY_PATH
13365 shlibpath_overrides_runpath
=yes
13366 hardcode_into_libs
=yes
13371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13372 shlibpath_var
=LD_LIBRARY_PATH
13373 shlibpath_overrides_runpath
=yes
13380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13381 soname_spec
='${libname}${release}${shared_ext}$major'
13382 shlibpath_var
=LD_LIBRARY_PATH
13383 shlibpath_overrides_runpath
=no
13384 hardcode_into_libs
=yes
13385 dynamic_linker
='ldqnx.so'
13390 sys_lib_dlsearch_path_spec
="/usr/lib"
13392 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13394 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13395 *) need_version
=no
;;
13397 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13398 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13399 shlibpath_var
=LD_LIBRARY_PATH
13400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13402 openbsd2.
[89] | openbsd2.
[89].
*)
13403 shlibpath_overrides_runpath
=no
13406 shlibpath_overrides_runpath
=yes
13410 shlibpath_overrides_runpath
=yes
13415 libname_spec
='$name'
13418 library_names_spec
='$libname${shared_ext} $libname.a'
13419 dynamic_linker
='OS/2 ld.exe'
13420 shlibpath_var
=LIBPATH
13423 osf3
* | osf4
* | osf5
*)
13427 soname_spec
='${libname}${release}${shared_ext}$major'
13428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13429 shlibpath_var
=LD_LIBRARY_PATH
13430 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13431 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13443 soname_spec
='${libname}${release}${shared_ext}$major'
13444 shlibpath_var
=LD_LIBRARY_PATH
13445 shlibpath_overrides_runpath
=yes
13446 hardcode_into_libs
=yes
13447 # ldd complains unless libraries are executable
13448 postinstall_cmds
='chmod +x $lib'
13453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13454 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13455 shlibpath_var
=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath
=yes
13457 if test "$with_gnu_ld" = yes; then
13465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13466 soname_spec
='${libname}${release}${shared_ext}$major'
13467 shlibpath_var
=LD_LIBRARY_PATH
13468 case $host_vendor in
13470 shlibpath_overrides_runpath
=no
13472 runpath_var
=LD_RUN_PATH
13480 shlibpath_overrides_runpath
=no
13481 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13487 if test -d /usr
/nec
;then
13489 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13490 soname_spec
='$libname${shared_ext}.$major'
13491 shlibpath_var
=LD_LIBRARY_PATH
13495 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13496 version_type
=freebsd
-elf
13499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13500 soname_spec
='${libname}${release}${shared_ext}$major'
13501 shlibpath_var
=LD_LIBRARY_PATH
13502 shlibpath_overrides_runpath
=yes
13503 hardcode_into_libs
=yes
13504 if test "$with_gnu_ld" = yes; then
13505 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13507 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13510 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13514 sys_lib_dlsearch_path_spec
='/usr/lib'
13518 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13523 shlibpath_var
=LD_LIBRARY_PATH
13524 shlibpath_overrides_runpath
=no
13525 hardcode_into_libs
=yes
13530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13531 soname_spec
='${libname}${release}${shared_ext}$major'
13532 shlibpath_var
=LD_LIBRARY_PATH
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13540 $as_echo "$dynamic_linker" >&6; }
13541 test "$dynamic_linker" = no
&& can_build_shared
=no
13543 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13544 if test "$GCC" = yes; then
13545 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13548 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13549 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13551 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13552 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13591 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13592 hardcode_action_CXX
=
13593 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13594 test -n "$runpath_var_CXX" ||
13595 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13597 # We can hardcode non-existent directories.
13598 if test "$hardcode_direct_CXX" != no
&&
13599 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13600 # have to relink, otherwise we might link with an installed library
13601 # when we should be linking with a yet-to-be-installed one
13602 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13603 test "$hardcode_minus_L_CXX" != no
; then
13604 # Linking always hardcodes the temporary library directory.
13605 hardcode_action_CXX
=relink
13607 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13608 hardcode_action_CXX
=immediate
13611 # We cannot hardcode anything, or else we can only hardcode existing
13613 hardcode_action_CXX
=unsupported
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13616 $as_echo "$hardcode_action_CXX" >&6; }
13618 if test "$hardcode_action_CXX" = relink
||
13619 test "$inherit_rpath_CXX" = yes; then
13620 # Fast installation is not supported
13621 enable_fast_install
=no
13622 elif test "$shlibpath_overrides_runpath" = yes ||
13623 test "$enable_shared" = no
; then
13624 # Fast installation is not necessary
13625 enable_fast_install
=needless
13634 fi # test -n "$compiler"
13640 with_gnu_ld
=$lt_save_with_gnu_ld
13641 lt_cv_path_LDCXX
=$lt_cv_path_LD
13642 lt_cv_path_LD
=$lt_save_path_LD
13643 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13644 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13645 fi # test "$_lt_caught_CXX_error" != yes
13648 ac_cpp
='$CPP $CPPFLAGS'
13649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13655 ac_cpp
='$CXXCPP $CPPFLAGS'
13656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13660 for ac_prog
in 'bison -y' byacc
13662 # Extract the first word of "$ac_prog", so it can be a program name with args.
13663 set dummy
$ac_prog; ac_word
=$2
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13665 $as_echo_n "checking for $ac_word... " >&6; }
13666 if test "${ac_cv_prog_YACC+set}" = set; then :
13667 $as_echo_n "(cached) " >&6
13669 if test -n "$YACC"; then
13670 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13673 for as_dir
in $PATH
13676 test -z "$as_dir" && as_dir
=.
13677 for ac_exec_ext
in '' $ac_executable_extensions; do
13678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13679 ac_cv_prog_YACC
="$ac_prog"
13680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13689 YACC
=$ac_cv_prog_YACC
13690 if test -n "$YACC"; then
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13692 $as_echo "$YACC" >&6; }
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13695 $as_echo "no" >&6; }
13699 test -n "$YACC" && break
13701 test -n "$YACC" || YACC
="yacc"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
13708 $as_echo_n "checking if bison is the parser generator... " >&6; }
13709 if test "${ax_cv_prog_bison+set}" = set; then :
13710 $as_echo_n "(cached) " >&6
13713 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
13715 ax_cv_prog_bison
=yes
13719 ax_cv_prog_bison
=no
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
13725 $as_echo "$ax_cv_prog_bison" >&6; }
13726 if test "$ax_cv_prog_bison" = yes; then :
13730 BISON
=`echo $YACC | $SED -e 's/ -y//'`
13731 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
13737 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
13741 for ac_prog
in gawk mawk nawk
awk
13743 # Extract the first word of "$ac_prog", so it can be a program name with args.
13744 set dummy
$ac_prog; ac_word
=$2
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13746 $as_echo_n "checking for $ac_word... " >&6; }
13747 if test "${ac_cv_prog_AWK+set}" = set; then :
13748 $as_echo_n "(cached) " >&6
13750 if test -n "$AWK"; then
13751 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13754 for as_dir
in $PATH
13757 test -z "$as_dir" && as_dir
=.
13758 for ac_exec_ext
in '' $ac_executable_extensions; do
13759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13760 ac_cv_prog_AWK
="$ac_prog"
13761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13770 AWK
=$ac_cv_prog_AWK
13771 if test -n "$AWK"; then
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13773 $as_echo "$AWK" >&6; }
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13776 $as_echo "no" >&6; }
13780 test -n "$AWK" && break
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
13784 $as_echo_n "checking if bison is >= 2.4... " >&6; }
13785 as_arg_v1
=$BISON_VERSION
13787 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13792 $as_echo "no" >&6; }
13793 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13797 $as_echo "yes" >&6; } ;; #(
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13800 $as_echo "yes" >&6; } ;; #(
13805 # expand $ac_aux_dir to an absolute path
13806 am_aux_dir
=`cd $ac_aux_dir && pwd`
13808 if test x
"${MISSING+set}" != xset
; then
13809 case $am_aux_dir in
13811 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13813 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13816 # Use eval to expand $SHELL
13817 if eval "$MISSING --run true"; then
13818 am_missing_run
="$MISSING --run "
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
13822 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
13825 for ac_prog
in flex
lex
13827 # Extract the first word of "$ac_prog", so it can be a program name with args.
13828 set dummy
$ac_prog; ac_word
=$2
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13830 $as_echo_n "checking for $ac_word... " >&6; }
13831 if test "${ac_cv_prog_LEX+set}" = set; then :
13832 $as_echo_n "(cached) " >&6
13834 if test -n "$LEX"; then
13835 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13838 for as_dir
in $PATH
13841 test -z "$as_dir" && as_dir
=.
13842 for ac_exec_ext
in '' $ac_executable_extensions; do
13843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13844 ac_cv_prog_LEX
="$ac_prog"
13845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 LEX
=$ac_cv_prog_LEX
13855 if test -n "$LEX"; then
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13857 $as_echo "$LEX" >&6; }
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13860 $as_echo "no" >&6; }
13864 test -n "$LEX" && break
13866 test -n "$LEX" || LEX
=":"
13868 if test "x$LEX" != "x:"; then
13869 cat >conftest.l
<<_ACEOF
13875 e { yyless (input () != 0); }
13876 f { unput (yytext[0]); }
13877 . { BEGIN INITIAL; }
13879 #ifdef YYTEXT_POINTER
13880 extern char *yytext;
13885 return ! yylex () + ! yywrap ();
13888 { { ac_try
="$LEX conftest.l"
13889 case "(($ac_try" in
13890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13891 *) ac_try_echo=$ac_try;;
13893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13894 $as_echo "$ac_try_echo"; } >&5
13895 (eval "$LEX conftest.l") 2>&5
13897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898 test $ac_status = 0; }
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13900 $as_echo_n "checking lex output file root... " >&6; }
13901 if test "${ac_cv_prog_lex_root+set}" = set; then :
13902 $as_echo_n "(cached) " >&6
13905 if test -f lex.yy.c; then
13906 ac_cv_prog_lex_root=lex.yy
13907 elif test -f lexyy.c; then
13908 ac_cv_prog_lex_root=lexyy
13910 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13914 $as_echo "$ac_cv_prog_lex_root" >&6; }
13915 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13917 if test -z "${LEXLIB+set}"; then
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13919 $as_echo_n "checking lex library... " >&6; }
13920 if test "${ac_cv_lib_lex+set}" = set; then :
13921 $as_echo_n "(cached) " >&6
13925 ac_cv_lib_lex='none needed'
13926 for ac_lib in '' -lfl -ll; do
13927 LIBS="$ac_lib $ac_save_LIBS"
13928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13929 /* end confdefs.h. */
13930 `cat $LEX_OUTPUT_ROOT.c
`
13932 if ac_fn_cxx_try_link "$LINENO"; then :
13933 ac_cv_lib_lex=$ac_lib
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 test "$ac_cv_lib_lex" != 'none needed' && break
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13943 $as_echo "$ac_cv_lib_lex" >&6; }
13944 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13949 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13950 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
13951 $as_echo_n "(cached) " >&6
13953 # POSIX says lex can declare yytext either as a pointer or an array; the
13954 # default is implementation-dependent. Figure out which it is, since
13955 # not all implementations provide the %pointer and %array declarations.
13956 ac_cv_prog_lex_yytext_pointer=no
13958 LIBS="$LEXLIB $ac_save_LIBS"
13959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13961 #define YYTEXT_POINTER 1
13962 `cat $LEX_OUTPUT_ROOT.c
`
13964 if ac_fn_cxx_try_link "$LINENO"; then :
13965 ac_cv_prog_lex_yytext_pointer=yes
13967 rm -f core conftest.err conftest.$ac_objext \
13968 conftest$ac_exeext conftest.$ac_ext
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13973 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13974 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13976 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13979 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13982 if test "$LEX" = :; then
13983 LEX=${am_missing_run}flex
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
13990 $as_echo_n "checking if flex is the lexer generator... " >&6; }
13991 if test "${ax_cv_prog_flex+set}" = set; then :
13992 $as_echo_n "(cached) " >&6
13995 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
13997 ax_cv_prog_flex=yes
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14007 $as_echo "$ax_cv_prog_flex" >&6; }
14008 if test "$ax_cv_prog_flex" = yes; then :
14013 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14019 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14024 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14025 as_arg_v1=$FLEX_VERSION
14027 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032 $as_echo "no" >&6; }
14033 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14037 $as_echo "yes" >&6; } ;; #(
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14040 $as_echo "yes" >&6; } ;; #(
14045 for ac_prog in bash
14047 # Extract the first word of "$ac_prog", so it can be a program name with args.
14048 set dummy $ac_prog; ac_word=$2
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14050 $as_echo_n "checking for $ac_word... " >&6; }
14051 if test "${ac_cv_prog__BASH+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14054 if test -n "$_BASH"; then
14055 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
14057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14058 for as_dir in $PATH
14061 test -z "$as_dir" && as_dir=.
14062 for ac_exec_ext in '' $ac_executable_extensions; do
14063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14064 ac_cv_prog__BASH="$ac_prog"
14065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14074 _BASH=$ac_cv_prog__BASH
14075 if test -n "$_BASH"; then
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14077 $as_echo "$_BASH" >&6; }
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; }
14084 test -n "$_BASH" && break
14087 for ac_prog in gperf
14089 # Extract the first word of "$ac_prog", so it can be a program name with args.
14090 set dummy $ac_prog; ac_word=$2
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14092 $as_echo_n "checking for $ac_word... " >&6; }
14093 if test "${ac_cv_prog_GPERF+set}" = set; then :
14094 $as_echo_n "(cached) " >&6
14096 if test -n "$GPERF"; then
14097 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
14099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100 for as_dir in $PATH
14103 test -z "$as_dir" && as_dir=.
14104 for ac_exec_ext in '' $ac_executable_extensions; do
14105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14106 ac_cv_prog_GPERF="$ac_prog"
14107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14116 GPERF=$ac_cv_prog_GPERF
14117 if test -n "$GPERF"; then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14119 $as_echo "$GPERF" >&6; }
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14122 $as_echo "no" >&6; }
14126 test -n "$GPERF" && break
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14130 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14131 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14132 as_arg_v1=$GPERF_VERSION
14134 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14139 $as_echo "no" >&6; }
14140 as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144 $as_echo "yes" >&6; } ;; #(
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14147 $as_echo "yes" >&6; } ;; #(
14151 for ac_prog in time
14153 # Extract the first word of "$ac_prog", so it can be a program name with args.
14154 set dummy $ac_prog; ac_word=$2
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14156 $as_echo_n "checking for $ac_word... " >&6; }
14157 if test "${ac_cv_prog_TIME+set}" = set; then :
14158 $as_echo_n "(cached) " >&6
14160 if test -n "$TIME"; then
14161 ac_cv_prog_TIME="$TIME" # Let the user override the test.
14163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14164 for as_dir in $PATH
14167 test -z "$as_dir" && as_dir=.
14168 for ac_exec_ext in '' $ac_executable_extensions; do
14169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14170 ac_cv_prog_TIME="$ac_prog"
14171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14180 TIME=$ac_cv_prog_TIME
14181 if test -n "$TIME"; then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14183 $as_echo "$TIME" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 $as_echo "no" >&6; }
14190 test -n "$TIME" && break
14196 if test "$target_os" = "os2-emx"; then
14197 # Scripts don't pass test -x on OS/2
14203 acceptable_majors="1"
14205 apr_temp_acceptable_apr_config=""
14206 for apr_temp_major in $acceptable_majors
14208 case $apr_temp_major in
14210 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14213 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14219 $as_echo_n "checking for APR... " >&6; }
14221 # Check whether --with-apr was given.
14222 if test "${with_apr+set}" = set; then :
14224 if test "$withval" = "no" || test "$withval" = "yes"; then
14225 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14228 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14230 for lookdir in "$withval/bin" "$withval"
14232 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14233 apr_config="$lookdir/$apr_temp_apr_config_file"
14241 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14242 apr_config="$withval"
14246 if test "$apr_found" != "yes"; then
14247 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
14252 if test -n "1" && test "1" = "1"; then
14253 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14255 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14256 apr_config="$apr_temp_apr_config_file"
14261 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14262 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14263 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14272 if test "$apr_found" = "no" && test -d ""; then
14273 apr_temp_abs_srcdir="`cd && pwd`"
14274 apr_found="reconfig"
14275 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14276 case $apr_bundled_major in
14278 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14281 apr_temp_apr_config_file="apr-config"
14284 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14287 if test -n ""; then
14288 apr_config="/$apr_temp_apr_config_file"
14290 apr_config="/$apr_temp_apr_config_file"
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14298 $as_echo "$apr_found" >&6; }
14300 case $apr_found in #(
14304 for element in `$apr_config --includes`; do
14306 for x in $CPPFLAGS; do
14308 acl_save_prefix="$prefix"
14309 prefix="$acl_final_prefix"
14310 acl_save_exec_prefix="$exec_prefix"
14311 exec_prefix="$acl_final_exec_prefix"
14313 exec_prefix="$acl_save_exec_prefix"
14314 prefix="$acl_save_prefix"
14316 if test "X$x" = "X$element"; then
14321 if test -z "$haveit"; then
14322 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14326 LTLIBAPR=`$apr_config --link-libtool`
14330 as_fn_error "You need apr" "$LINENO" 5 ;;
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14335 $as_echo_n "checking for a readline compatible library... " >&6; }
14336 if test "${vl_cv_lib_readline+set}" = set; then :
14337 $as_echo_n "(cached) " >&6
14341 for readline_lib in readline edit editline; do
14342 for termcap_lib in "" termcap curses ncurses; do
14343 if test -z "$termcap_lib"; then
14344 TRY_LIB="-l$readline_lib"
14346 TRY_LIB="-l$readline_lib -l$termcap_lib"
14348 LIBS="$ORIG_LIBS $TRY_LIB"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14362 return readline ();
14367 if ac_fn_cxx_try_link "$LINENO"; then :
14368 vl_cv_lib_readline="$TRY_LIB"
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 if test -n "$vl_cv_lib_readline"; then
14376 if test -n "$vl_cv_lib_readline"; then
14380 if test -z "$vl_cv_lib_readline"; then
14381 vl_cv_lib_readline="no"
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14387 $as_echo "$vl_cv_lib_readline" >&6; }
14389 if test "$vl_cv_lib_readline" != "no"; then
14391 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14393 for ac_header in readline.h readline/readline.h
14395 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14396 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14397 eval as_val=\$$as_ac_Header
14398 if test "x$as_val" = x""yes; then :
14399 cat >>confdefs.h <<_ACEOF
14400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14408 $as_echo_n "checking whether readline supports history... " >&6; }
14409 if test "${vl_cv_lib_readline_history+set}" = set; then :
14410 $as_echo_n "(cached) " >&6
14413 vl_cv_lib_readline_history="no"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14423 char add_history ();
14427 return add_history ();
14432 if ac_fn_cxx_try_link "$LINENO"; then :
14433 vl_cv_lib_readline_history="yes"
14435 rm -f core conftest.err conftest.$ac_objext \
14436 conftest$ac_exeext conftest.$ac_ext
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14440 $as_echo "$vl_cv_lib_readline_history" >&6; }
14441 if test "$vl_cv_lib_readline_history" = "yes"; then
14443 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14445 for ac_header in history.h readline/history.h
14447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14448 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14449 eval as_val=\$$as_ac_Header
14450 if test "x$as_val" = x""yes; then :
14451 cat >>confdefs.h <<_ACEOF
14452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14462 # Find a good install program. We prefer a C program (faster),
14463 # so one script is as good as another. But avoid the broken or
14464 # incompatible versions:
14465 # SysV /etc/install, /usr/sbin/install
14466 # SunOS /usr/etc/install
14467 # IRIX /sbin/install
14469 # AmigaOS /C/install, which installs bootblocks on floppy discs
14470 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14471 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14472 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14473 # OS/2's system install, which has a completely different semantic
14474 # ./install, which can be erroneously created by make from ./install.sh.
14475 # Reject install programs that cannot install multiple files.
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14477 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14478 if test -z "$INSTALL"; then
14479 if test "${ac_cv_path_install+set}" = set; then :
14480 $as_echo_n "(cached) " >&6
14482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14483 for as_dir in $PATH
14486 test -z "$as_dir" && as_dir=.
14487 # Account for people who put trailing slashes in PATH elements.
14488 case $as_dir/ in #((
14489 ./ | .// | /[cC]/* | \
14490 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14491 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
14494 # OSF1 and SCO ODT 3.0 have their own names for install.
14495 # Don't use installbsd from OSF since it installs stuff as root
14497 for ac_prog in ginstall scoinst install; do
14498 for ac_exec_ext in '' $ac_executable_extensions; do
14499 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14500 if test $ac_prog = install &&
14501 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14502 # AIX install. It has an incompatible calling convention.
14504 elif test $ac_prog = install &&
14505 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14506 # program-specific install script used by HP pwplus--don't use.
14509 rm -rf conftest.one conftest.two conftest.dir
14510 echo one > conftest.one
14511 echo two > conftest.two
14513 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
14514 test -s conftest.one && test -s conftest.two &&
14515 test -s conftest.dir/conftest.one &&
14516 test -s conftest.dir/conftest.two
14518 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14531 rm -rf conftest.one conftest.two conftest.dir
14534 if test "${ac_cv_path_install+set}" = set; then
14535 INSTALL=$ac_cv_path_install
14537 # As a last resort, use the slow shell script. Don't cache a
14538 # value for INSTALL within a source directory, because that will
14539 # break other packages using the cache if that directory is
14540 # removed, or if the value is a relative name.
14541 INSTALL=$ac_install_sh
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14545 $as_echo "$INSTALL" >&6; }
14547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14548 # It thinks the first close brace ends the variable substitution.
14549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14553 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14556 if test "X$prefix" = "XNONE"; then
14557 acl_final_prefix="$ac_default_prefix"
14559 acl_final_prefix="$prefix"
14561 if test "X$exec_prefix" = "XNONE"; then
14562 acl_final_exec_prefix='${prefix}'
14564 acl_final_exec_prefix="$exec_prefix"
14566 acl_save_prefix="$prefix"
14567 prefix="$acl_final_prefix"
14568 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14569 prefix="$acl_save_prefix"
14572 # Check whether --with-gnu-ld was given.
14573 if test "${with_gnu_ld+set}" = set; then :
14574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14579 # Prepare PATH_SEPARATOR.
14580 # The user is always right.
14581 if test "${PATH_SEPARATOR+set}" != set; then
14582 echo "#! /bin/sh" >conf$$.sh
14583 echo "exit 0" >>conf$$.sh
14585 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14593 if test "$GCC" = yes; then
14594 # Check if gcc -print-prog-name=ld gives a path.
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14596 $as_echo_n "checking for ld used by GCC... " >&6; }
14599 # gcc leaves a trailing carriage return which upsets mingw
14600 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
14602 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14605 # Accept absolute paths.
14606 [\\/]* | [A-Za-z]:[\\/]*)
14607 re_direlt='/[^/][^/]*/\.\./'
14608 # Canonicalize the path of ld
14609 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14610 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14611 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14613 test -z "$LD" && LD="$ac_prog"
14616 # If it fails, then pretend we aren't using GCC.
14620 # If it is relative, then search for the first ld in PATH.
14621 with_gnu_ld=unknown
14624 elif test "$with_gnu_ld" = yes; then
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14626 $as_echo_n "checking for GNU ld... " >&6; }
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14629 $as_echo_n "checking for non-GNU ld... " >&6; }
14631 if test "${acl_cv_path_LD+set}" = set; then :
14632 $as_echo_n "(cached) " >&6
14634 if test -z "$LD"; then
14635 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14636 for ac_dir in $PATH; do
14637 test -z "$ac_dir" && ac_dir=.
14638 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14639 acl_cv_path_LD="$ac_dir/$ac_prog"
14640 # Check to see if the program is GNU ld. I'd rather use --version,
14641 # but apparently some GNU ld's only accept -v.
14642 # Break only if it was the GNU/non-GNU ld that we prefer.
14643 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
14644 *GNU* | *'with BFD'*)
14645 test "$with_gnu_ld" != no && break ;;
14647 test "$with_gnu_ld" != yes && break ;;
14653 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14657 LD="$acl_cv_path_LD"
14658 if test -n "$LD"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14660 $as_echo "$LD" >&6; }
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14663 $as_echo "no" >&6; }
14665 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14667 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14668 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14669 $as_echo_n "(cached) " >&6
14671 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14672 case `$LD -v 2>&1 </dev
/null
` in
14673 *GNU* | *'with BFD'*)
14674 acl_cv_prog_gnu_ld=yes ;;
14676 acl_cv_prog_gnu_ld=no ;;
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14680 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14681 with_gnu_ld=$acl_cv_prog_gnu_ld
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14687 $as_echo_n "checking for shared library run path origin... " >&6; }
14688 if test "${acl_cv_rpath+set}" = set; then :
14689 $as_echo_n "(cached) " >&6
14692 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14693 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14695 rm -f ./conftest.sh
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14700 $as_echo "$acl_cv_rpath" >&6; }
14702 acl_libext="$acl_cv_libext"
14703 acl_shlibext="$acl_cv_shlibext"
14704 acl_libname_spec="$acl_cv_libname_spec"
14705 acl_library_names_spec="$acl_cv_library_names_spec"
14706 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14707 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14708 acl_hardcode_direct="$acl_cv_hardcode_direct"
14709 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14710 # Check whether --enable-rpath was given.
14711 if test "${enable_rpath+set}" = set; then :
14712 enableval=$enable_rpath; :
14720 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14721 if test -n "$searchpath"; then
14722 acl_save_IFS="${IFS= }"; IFS=":"
14723 for searchdir in $searchpath; do
14724 if test -d "$searchdir"; then
14725 case "$searchdir" in
14726 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14727 *) searchdir=`cd "$searchdir" && pwd`
14728 case "$searchdir" in
14729 */lib64 ) acl_libdirstem=lib64 ;;
14734 IFS="$acl_save_IFS"
14747 acl_save_prefix="$prefix"
14748 prefix="$acl_final_prefix"
14749 acl_save_exec_prefix="$exec_prefix"
14750 exec_prefix="$acl_final_exec_prefix"
14752 eval additional_includedir=\"$includedir\"
14753 eval additional_libdir=\"$libdir\"
14755 exec_prefix="$acl_save_exec_prefix"
14756 prefix="$acl_save_prefix"
14759 # Check whether --with-libiconv-prefix was given.
14760 if test "${with_libiconv_prefix+set}" = set; then :
14761 withval=$with_libiconv_prefix;
14762 if test "X$withval" = "Xno"; then
14765 if test "X$withval" = "X"; then
14767 acl_save_prefix="$prefix"
14768 prefix="$acl_final_prefix"
14769 acl_save_exec_prefix="$exec_prefix"
14770 exec_prefix="$acl_final_exec_prefix"
14772 eval additional_includedir=\"$includedir\"
14773 eval additional_libdir=\"$libdir\"
14775 exec_prefix="$acl_save_exec_prefix"
14776 prefix="$acl_save_prefix"
14779 additional_includedir="$withval/include"
14780 additional_libdir="$withval/$acl_libdirstem"
14792 names_already_handled=
14793 names_next_round='iconv '
14794 while test -n "$names_next_round"; do
14795 names_this_round="$names_next_round"
14797 for name in $names_this_round; do
14799 for n in $names_already_handled; do
14800 if test "$n" = "$name"; then
14801 already_handled=yes
14805 if test -z "$already_handled"; then
14806 names_already_handled="$names_already_handled $name"
14807 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14808 eval value=\"\$HAVE_LIB$uppername\"
14809 if test -n "$value"; then
14810 if test "$value" = yes; then
14811 eval value=\"\$LIB$uppername\"
14812 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14813 eval value=\"\$LTLIB$uppername\"
14814 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14823 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14824 if test -n "$acl_shlibext"; then
14825 shrext=".$acl_shlibext" # typically: shrext=.so
14829 if test $use_additional = yes; then
14830 dir="$additional_libdir"
14831 if test -n "$acl_shlibext"; then
14832 if test -f "$dir/$libname$shrext"; then
14834 found_so="$dir/$libname$shrext"
14836 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14837 ver=`(cd "$dir" && \
14838 for f
in "$libname$shrext".
*; do echo "$f"; done \
14839 | sed -e "s,^$libname$shrext\\\\.,," \
14840 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14841 | sed 1q
) 2>/dev
/null
`
14842 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14844 found_so="$dir/$libname$shrext.$ver"
14847 eval library_names=\"$acl_library_names_spec\"
14848 for f in $library_names; do
14849 if test -f "$dir/$f"; then
14858 if test "X$found_dir" = "X"; then
14859 if test -f "$dir/$libname.$acl_libext"; then
14861 found_a="$dir/$libname.$acl_libext"
14864 if test "X$found_dir" != "X"; then
14865 if test -f "$dir/$libname.la"; then
14866 found_la="$dir/$libname.la"
14870 if test "X$found_dir" = "X"; then
14871 for x in $LDFLAGS $LTLIBICONV; do
14873 acl_save_prefix="$prefix"
14874 prefix="$acl_final_prefix"
14875 acl_save_exec_prefix="$exec_prefix"
14876 exec_prefix="$acl_final_exec_prefix"
14878 exec_prefix="$acl_save_exec_prefix"
14879 prefix="$acl_save_prefix"
14883 dir=`echo "X$x" | sed -e 's/^X-L//'`
14884 if test -n "$acl_shlibext"; then
14885 if test -f "$dir/$libname$shrext"; then
14887 found_so="$dir/$libname$shrext"
14889 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14890 ver=`(cd "$dir" && \
14891 for f
in "$libname$shrext".
*; do echo "$f"; done \
14892 | sed -e "s,^$libname$shrext\\\\.,," \
14893 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14894 | sed 1q
) 2>/dev
/null
`
14895 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14897 found_so="$dir/$libname$shrext.$ver"
14900 eval library_names=\"$acl_library_names_spec\"
14901 for f in $library_names; do
14902 if test -f "$dir/$f"; then
14911 if test "X$found_dir" = "X"; then
14912 if test -f "$dir/$libname.$acl_libext"; then
14914 found_a="$dir/$libname.$acl_libext"
14917 if test "X$found_dir" != "X"; then
14918 if test -f "$dir/$libname.la"; then
14919 found_la="$dir/$libname.la"
14924 if test "X$found_dir" != "X"; then
14929 if test "X$found_dir" != "X"; then
14930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14931 if test "X$found_so" != "X"; then
14932 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14933 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14936 for x in $ltrpathdirs; do
14937 if test "X$x" = "X$found_dir"; then
14942 if test -z "$haveit"; then
14943 ltrpathdirs="$ltrpathdirs $found_dir"
14945 if test "$acl_hardcode_direct" = yes; then
14946 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14948 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14949 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14951 for x in $rpathdirs; do
14952 if test "X$x" = "X$found_dir"; then
14957 if test -z "$haveit"; then
14958 rpathdirs="$rpathdirs $found_dir"
14962 for x in $LDFLAGS $LIBICONV; do
14964 acl_save_prefix="$prefix"
14965 prefix="$acl_final_prefix"
14966 acl_save_exec_prefix="$exec_prefix"
14967 exec_prefix="$acl_final_exec_prefix"
14969 exec_prefix="$acl_save_exec_prefix"
14970 prefix="$acl_save_prefix"
14972 if test "X$x" = "X-L$found_dir"; then
14977 if test -z "$haveit"; then
14978 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14980 if test "$acl_hardcode_minus_L" != no; then
14981 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14983 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14989 if test "X$found_a" != "X"; then
14990 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14992 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14995 additional_includedir=
14996 case "$found_dir" in
14997 */$acl_libdirstem | */$acl_libdirstem/)
14998 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14999 LIBICONV_PREFIX="$basedir"
15000 additional_includedir="$basedir/include"
15003 if test "X$additional_includedir" != "X"; then
15004 if test "X$additional_includedir" != "X/usr/include"; then
15006 if test "X$additional_includedir" = "X/usr/local/include"; then
15007 if test -n "$GCC"; then
15009 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15013 if test -z "$haveit"; then
15014 for x in $CPPFLAGS $INCICONV; do
15016 acl_save_prefix="$prefix"
15017 prefix="$acl_final_prefix"
15018 acl_save_exec_prefix="$exec_prefix"
15019 exec_prefix="$acl_final_exec_prefix"
15021 exec_prefix="$acl_save_exec_prefix"
15022 prefix="$acl_save_prefix"
15024 if test "X$x" = "X-I$additional_includedir"; then
15029 if test -z "$haveit"; then
15030 if test -d "$additional_includedir"; then
15031 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15037 if test -n "$found_la"; then
15038 save_libdir="$libdir"
15039 case "$found_la" in
15040 */* | *\\*) . "$found_la" ;;
15041 *) . "./$found_la" ;;
15043 libdir="$save_libdir"
15044 for dep in $dependency_libs; do
15047 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15048 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15050 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15051 if test -n "$GCC"; then
15053 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15057 if test -z "$haveit"; then
15059 for x in $LDFLAGS $LIBICONV; do
15061 acl_save_prefix="$prefix"
15062 prefix="$acl_final_prefix"
15063 acl_save_exec_prefix="$exec_prefix"
15064 exec_prefix="$acl_final_exec_prefix"
15066 exec_prefix="$acl_save_exec_prefix"
15067 prefix="$acl_save_prefix"
15069 if test "X$x" = "X-L$additional_libdir"; then
15074 if test -z "$haveit"; then
15075 if test -d "$additional_libdir"; then
15076 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15080 for x in $LDFLAGS $LTLIBICONV; do
15082 acl_save_prefix="$prefix"
15083 prefix="$acl_final_prefix"
15084 acl_save_exec_prefix="$exec_prefix"
15085 exec_prefix="$acl_final_exec_prefix"
15087 exec_prefix="$acl_save_exec_prefix"
15088 prefix="$acl_save_prefix"
15090 if test "X$x" = "X-L$additional_libdir"; then
15095 if test -z "$haveit"; then
15096 if test -d "$additional_libdir"; then
15097 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15104 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15105 if test "$enable_rpath" != no; then
15107 for x in $rpathdirs; do
15108 if test "X$x" = "X$dir"; then
15113 if test -z "$haveit"; then
15114 rpathdirs="$rpathdirs $dir"
15117 for x in $ltrpathdirs; do
15118 if test "X$x" = "X$dir"; then
15123 if test -z "$haveit"; then
15124 ltrpathdirs="$ltrpathdirs $dir"
15129 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15132 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15135 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15142 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15143 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15149 if test "X$rpathdirs" != "X"; then
15150 if test -n "$acl_hardcode_libdir_separator"; then
15152 for found_dir in $rpathdirs; do
15153 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15155 acl_save_libdir="$libdir"
15157 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15158 libdir="$acl_save_libdir"
15159 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15161 for found_dir in $rpathdirs; do
15162 acl_save_libdir="$libdir"
15163 libdir="$found_dir"
15164 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15165 libdir="$acl_save_libdir"
15166 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15170 if test "X$ltrpathdirs" != "X"; then
15171 for found_dir in $ltrpathdirs; do
15172 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15182 am_save_CPPFLAGS="$CPPFLAGS"
15184 for element in $INCICONV; do
15186 for x in $CPPFLAGS; do
15188 acl_save_prefix="$prefix"
15189 prefix="$acl_final_prefix"
15190 acl_save_exec_prefix="$exec_prefix"
15191 exec_prefix="$acl_final_exec_prefix"
15193 exec_prefix="$acl_save_exec_prefix"
15194 prefix="$acl_save_prefix"
15196 if test "X$x" = "X$element"; then
15201 if test -z "$haveit"; then
15202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15208 $as_echo_n "checking for iconv... " >&6; }
15209 if test "${am_cv_func_iconv+set}" = set; then :
15210 $as_echo_n "(cached) " >&6
15213 am_cv_func_iconv="no, consider installing GNU libiconv"
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15217 #include <stdlib.h>
15222 iconv_t cd = iconv_open("","");
15223 iconv(cd,NULL,NULL,NULL,NULL);
15229 if ac_fn_cxx_try_link "$LINENO"; then :
15230 am_cv_func_iconv=yes
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15234 if test "$am_cv_func_iconv" != yes; then
15235 am_save_LIBS="$LIBS"
15236 LIBS="$LIBS $LIBICONV"
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 #include <stdlib.h>
15244 iconv_t cd = iconv_open("","");
15245 iconv(cd,NULL,NULL,NULL,NULL);
15251 if ac_fn_cxx_try_link "$LINENO"; then :
15252 am_cv_lib_iconv=yes
15253 am_cv_func_iconv=yes
15255 rm -f core conftest.err conftest.$ac_objext \
15256 conftest$ac_exeext conftest.$ac_ext
15257 LIBS="$am_save_LIBS"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15262 $as_echo "$am_cv_func_iconv" >&6; }
15263 if test "$am_cv_func_iconv" = yes; then
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15265 $as_echo_n "checking for working iconv... " >&6; }
15266 if test "${am_cv_func_iconv_works+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15270 am_save_LIBS="$LIBS"
15271 if test $am_cv_lib_iconv = yes; then
15272 LIBS="$LIBS $LIBICONV"
15274 if test "$cross_compiling" = yes; then :
15276 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15277 *) am_cv_func_iconv_works="guessing yes" ;;
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 #include <string.h>
15287 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15290 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15291 if (cd_utf8_to_88591 != (iconv_t)(-1))
15293 static const char input[] = "\342\202\254"; /* EURO SIGN */
15295 const char *inptr = input;
15296 size_t inbytesleft = strlen (input);
15297 char *outptr = buf;
15298 size_t outbytesleft = sizeof (buf);
15299 size_t res = iconv (cd_utf8_to_88591,
15300 (char **) &inptr, &inbytesleft,
15301 &outptr, &outbytesleft);
15306 #if 0 /* This bug could be worked around by the caller. */
15307 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15309 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15310 if (cd_88591_to_utf8 != (iconv_t)(-1))
15312 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15314 const char *inptr = input;
15315 size_t inbytesleft = strlen (input);
15316 char *outptr = buf;
15317 size_t outbytesleft = sizeof (buf);
15318 size_t res = iconv (cd_88591_to_utf8,
15319 (char **) &inptr, &inbytesleft,
15320 &outptr, &outbytesleft);
15326 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15328 if (/* Try standardized names. */
15329 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15330 /* Try IRIX, OSF/1 names. */
15331 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15332 /* Try AIX names. */
15333 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15334 /* Try HP-UX names. */
15335 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15340 if ac_fn_cxx_try_run "$LINENO"; then :
15341 am_cv_func_iconv_works=yes
15343 am_cv_func_iconv_works=no
15345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15346 conftest.$ac_objext conftest.beam conftest.$ac_ext
15349 LIBS="$am_save_LIBS"
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15353 $as_echo "$am_cv_func_iconv_works" >&6; }
15354 case "$am_cv_func_iconv_works" in
15355 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15356 *) am_func_iconv=yes ;;
15359 am_func_iconv=no am_cv_lib_iconv=no
15361 if test "$am_func_iconv" = yes; then
15363 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15366 if test "$am_cv_lib_iconv" = yes; then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15368 $as_echo_n "checking how to link with libiconv... " >&6; }
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15370 $as_echo "$LIBICONV" >&6; }
15372 CPPFLAGS="$am_save_CPPFLAGS"
15379 if test "$am_cv_func_iconv" = yes; then
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15381 $as_echo_n "checking for iconv declaration... " >&6; }
15382 if test "${am_cv_proto_iconv+set}" = set; then :
15383 $as_echo_n "(cached) " >&6
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 #include <stdlib.h>
15395 #if defined(__STDC__) || defined(__cplusplus)
15396 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15409 if ac_fn_cxx_try_compile "$LINENO"; then :
15410 am_cv_proto_iconv_arg1=""
15412 am_cv_proto_iconv_arg1="const"
15414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 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);"
15418 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15420 }$am_cv_proto_iconv" >&5
15422 }$am_cv_proto_iconv" >&6; }
15424 cat >>confdefs.h <<_ACEOF
15425 #define ICONV_CONST $am_cv_proto_iconv_arg1
15430 case $am_cv_func_iconv in #(
15434 as_fn_error "You need iconv" "$LINENO" 5 ;;
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15439 $as_echo_n "checking for WEBKIT... " >&6; }
15441 if test -n "$PKG_CONFIG"; then
15442 if test -n "$WEBKIT_CFLAGS"; then
15443 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15445 if test -n "$PKG_CONFIG" && \
15446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15447 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15459 if test -n "$PKG_CONFIG"; then
15460 if test -n "$WEBKIT_LIBS"; then
15461 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15463 if test -n "$PKG_CONFIG" && \
15464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15465 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15468 test $ac_status = 0; }; then
15469 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15480 if test $pkg_failed = yes; then
15482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15483 _pkg_short_errors_supported=yes
15485 _pkg_short_errors_supported=no
15487 if test $_pkg_short_errors_supported = yes; then
15488 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15490 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15492 # Put the nasty error message in config.log where it belongs
15493 echo "$WEBKIT_PKG_ERRORS" >&5
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15496 $as_echo "no" >&6; }
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15501 $as_echo_n "checking for WEBKIT... " >&6; }
15503 if test -n "$PKG_CONFIG"; then
15504 if test -n "$WEBKIT_CFLAGS"; then
15505 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15507 if test -n "$PKG_CONFIG" && \
15508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15509 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15512 test $ac_status = 0; }; then
15513 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15521 if test -n "$PKG_CONFIG"; then
15522 if test -n "$WEBKIT_LIBS"; then
15523 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15525 if test -n "$PKG_CONFIG" && \
15526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15527 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15530 test $ac_status = 0; }; then
15531 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15542 if test $pkg_failed = yes; then
15544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15545 _pkg_short_errors_supported=yes
15547 _pkg_short_errors_supported=no
15549 if test $_pkg_short_errors_supported = yes; then
15550 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15552 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15554 # Put the nasty error message in config.log where it belongs
15555 echo "$WEBKIT_PKG_ERRORS" >&5
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558 $as_echo "no" >&6; }
15560 elif test $pkg_failed = untried; then
15563 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15564 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15566 $as_echo "yes" >&6; }
15570 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15572 for x in $CXXFLAGS; do
15574 acl_save_prefix="$prefix"
15575 prefix="$acl_final_prefix"
15576 acl_save_exec_prefix="$exec_prefix"
15577 exec_prefix="$acl_final_exec_prefix"
15579 exec_prefix="$acl_save_exec_prefix"
15580 prefix="$acl_save_prefix"
15582 if test "X$x" = "X$element"; then
15587 if test -z "$haveit"; then
15588 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15593 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15597 acl_save_prefix="$prefix"
15598 prefix="$acl_final_prefix"
15599 acl_save_exec_prefix="$exec_prefix"
15600 exec_prefix="$acl_final_exec_prefix"
15602 exec_prefix="$acl_save_exec_prefix"
15603 prefix="$acl_save_prefix"
15605 if test "X$x" = "X$element"; then
15610 if test -z "$haveit"; then
15611 LIBS="${LIBS}${LIBS:+ }$element"
15618 elif test $pkg_failed = untried; then
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15623 $as_echo_n "checking for WEBKIT... " >&6; }
15625 if test -n "$PKG_CONFIG"; then
15626 if test -n "$WEBKIT_CFLAGS"; then
15627 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15629 if test -n "$PKG_CONFIG" && \
15630 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15631 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15635 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15643 if test -n "$PKG_CONFIG"; then
15644 if test -n "$WEBKIT_LIBS"; then
15645 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15647 if test -n "$PKG_CONFIG" && \
15648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15649 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15652 test $ac_status = 0; }; then
15653 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15664 if test $pkg_failed = yes; then
15666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15667 _pkg_short_errors_supported=yes
15669 _pkg_short_errors_supported=no
15671 if test $_pkg_short_errors_supported = yes; then
15672 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15674 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15676 # Put the nasty error message in config.log where it belongs
15677 echo "$WEBKIT_PKG_ERRORS" >&5
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15680 $as_echo "no" >&6; }
15682 elif test $pkg_failed = untried; then
15685 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15686 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15688 $as_echo "yes" >&6; }
15692 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15694 for x in $CXXFLAGS; do
15696 acl_save_prefix="$prefix"
15697 prefix="$acl_final_prefix"
15698 acl_save_exec_prefix="$exec_prefix"
15699 exec_prefix="$acl_final_exec_prefix"
15701 exec_prefix="$acl_save_exec_prefix"
15702 prefix="$acl_save_prefix"
15704 if test "X$x" = "X$element"; then
15709 if test -z "$haveit"; then
15710 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15715 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15719 acl_save_prefix="$prefix"
15720 prefix="$acl_final_prefix"
15721 acl_save_exec_prefix="$exec_prefix"
15722 exec_prefix="$acl_final_exec_prefix"
15724 exec_prefix="$acl_save_exec_prefix"
15725 prefix="$acl_save_prefix"
15727 if test "X$x" = "X$element"; then
15732 if test -z "$haveit"; then
15733 LIBS="${LIBS}${LIBS:+ }$element"
15741 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15742 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15744 $as_echo "yes" >&6; }
15748 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15750 for x in $CXXFLAGS; do
15752 acl_save_prefix="$prefix"
15753 prefix="$acl_final_prefix"
15754 acl_save_exec_prefix="$exec_prefix"
15755 exec_prefix="$acl_final_exec_prefix"
15757 exec_prefix="$acl_save_exec_prefix"
15758 prefix="$acl_save_prefix"
15760 if test "X$x" = "X$element"; then
15765 if test -z "$haveit"; then
15766 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15771 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15775 acl_save_prefix="$prefix"
15776 prefix="$acl_final_prefix"
15777 acl_save_exec_prefix="$exec_prefix"
15778 exec_prefix="$acl_final_exec_prefix"
15780 exec_prefix="$acl_save_exec_prefix"
15781 prefix="$acl_save_prefix"
15783 if test "X$x" = "X$element"; then
15788 if test -z "$haveit"; then
15789 LIBS="${LIBS}${LIBS:+ }$element"
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
15803 $as_echo_n "checking for LIBFFI... " >&6; }
15805 if test -n "$PKG_CONFIG"; then
15806 if test -n "$LIBFFI_CFLAGS"; then
15807 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
15809 if test -n "$PKG_CONFIG" && \
15810 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15811 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15814 test $ac_status = 0; }; then
15815 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
15823 if test -n "$PKG_CONFIG"; then
15824 if test -n "$LIBFFI_LIBS"; then
15825 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
15827 if test -n "$PKG_CONFIG" && \
15828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15829 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15832 test $ac_status = 0; }; then
15833 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
15844 if test $pkg_failed = yes; then
15846 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15847 _pkg_short_errors_supported=yes
15849 _pkg_short_errors_supported=no
15851 if test $_pkg_short_errors_supported = yes; then
15852 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
15854 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
15856 # Put the nasty error message in config.log where it belongs
15857 echo "$LIBFFI_PKG_ERRORS" >&5
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15860 $as_echo "no" >&6; }
15862 for ac_header in ffi.h ffi/ffi.h
15864 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15865 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15866 eval as_val=\$$as_ac_Header
15867 if test "x$as_val" = x""yes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15876 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
15878 as_fn_error "You need libffi" "$LINENO" 5
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15882 $as_echo_n "checking for library containing ffi_call... " >&6; }
15883 if test "${ac_cv_search_ffi_call+set}" = set; then :
15884 $as_echo_n "(cached) " >&6
15886 ac_func_search_save_LIBS=$LIBS
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15900 return ffi_call ();
15905 for ac_lib in '' ffi; do
15906 if test -z "$ac_lib"; then
15907 ac_res="none required"
15910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15912 if ac_fn_cxx_try_link "$LINENO"; then :
15913 ac_cv_search_ffi_call=$ac_res
15915 rm -f core conftest.err conftest.$ac_objext \
15917 if test "${ac_cv_search_ffi_call+set}" = set; then :
15921 if test "${ac_cv_search_ffi_call+set}" = set; then :
15924 ac_cv_search_ffi_call=no
15926 rm conftest.$ac_ext
15927 LIBS=$ac_func_search_save_LIBS
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15930 $as_echo "$ac_cv_search_ffi_call" >&6; }
15931 ac_res=$ac_cv_search_ffi_call
15932 if test "$ac_res" != no; then :
15933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15937 case $ac_cv_search_ffi_call in #(
15940 as_fn_error "You need libffi" "$LINENO" 5
15946 elif test $pkg_failed = untried; then
15948 for ac_header in ffi.h ffi/ffi.h
15950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15951 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15952 eval as_val=\$$as_ac_Header
15953 if test "x$as_val" = x""yes; then :
15954 cat >>confdefs.h <<_ACEOF
15955 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15962 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
15964 as_fn_error "You need libffi" "$LINENO" 5
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15968 $as_echo_n "checking for library containing ffi_call... " >&6; }
15969 if test "${ac_cv_search_ffi_call+set}" = set; then :
15970 $as_echo_n "(cached) " >&6
15972 ac_func_search_save_LIBS=$LIBS
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15976 /* Override any GCC internal prototype to avoid an error.
15977 Use char because int might match the return type of a GCC
15978 builtin and then its argument prototype would still apply. */
15986 return ffi_call ();
15991 for ac_lib in '' ffi; do
15992 if test -z "$ac_lib"; then
15993 ac_res="none required"
15996 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15998 if ac_fn_cxx_try_link "$LINENO"; then :
15999 ac_cv_search_ffi_call=$ac_res
16001 rm -f core conftest.err conftest.$ac_objext \
16003 if test "${ac_cv_search_ffi_call+set}" = set; then :
16007 if test "${ac_cv_search_ffi_call+set}" = set; then :
16010 ac_cv_search_ffi_call=no
16012 rm conftest.$ac_ext
16013 LIBS=$ac_func_search_save_LIBS
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16016 $as_echo "$ac_cv_search_ffi_call" >&6; }
16017 ac_res=$ac_cv_search_ffi_call
16018 if test "$ac_res" != no; then :
16019 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16023 case $ac_cv_search_ffi_call in #(
16026 as_fn_error "You need libffi" "$LINENO" 5
16033 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16034 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16036 $as_echo "yes" >&6; }
16039 for element in `$PKG_CONFIG --cflags libffi
`; do
16041 for x in $CXXFLAGS; do
16043 acl_save_prefix="$prefix"
16044 prefix="$acl_final_prefix"
16045 acl_save_exec_prefix="$exec_prefix"
16046 exec_prefix="$acl_final_exec_prefix"
16048 exec_prefix="$acl_save_exec_prefix"
16049 prefix="$acl_save_prefix"
16051 if test "X$x" = "X$element"; then
16056 if test -z "$haveit"; then
16057 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16062 for element in `$PKG_CONFIG --libs libffi
`; do
16066 acl_save_prefix="$prefix"
16067 prefix="$acl_final_prefix"
16068 acl_save_exec_prefix="$exec_prefix"
16069 exec_prefix="$acl_final_exec_prefix"
16071 exec_prefix="$acl_save_exec_prefix"
16072 prefix="$acl_save_prefix"
16074 if test "X$x" = "X$element"; then
16079 if test -z "$haveit"; then
16080 LIBS="${LIBS}${LIBS:+ }$element"
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
16090 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
16094 ac_cpp='$OBJCXXCPP $CPPFLAGS'
16095 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
16098 if test -n "$ac_tool_prefix"; then
16099 for ac_prog in g++ objc++ objcxx c++ CXX
16101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16104 $as_echo_n "checking for $ac_word... " >&6; }
16105 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
16106 $as_echo_n "(cached) " >&6
16108 if test -n "$OBJCXX"; then
16109 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
16111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16112 for as_dir in $PATH
16115 test -z "$as_dir" && as_dir=.
16116 for ac_exec_ext in '' $ac_executable_extensions; do
16117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16118 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
16119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16128 OBJCXX=$ac_cv_prog_OBJCXX
16129 if test -n "$OBJCXX"; then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
16131 $as_echo "$OBJCXX" >&6; }
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16138 test -n "$OBJCXX" && break
16141 if test -z "$OBJCXX"; then
16142 ac_ct_OBJCXX=$OBJCXX
16143 for ac_prog in g++ objc++ objcxx c++ CXX
16145 # Extract the first word of "$ac_prog", so it can be a program name with args.
16146 set dummy $ac_prog; ac_word=$2
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16148 $as_echo_n "checking for $ac_word... " >&6; }
16149 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16152 if test -n "$ac_ct_OBJCXX"; then
16153 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
16155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16159 test -z "$as_dir" && as_dir=.
16160 for ac_exec_ext in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
16163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16172 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
16173 if test -n "$ac_ct_OBJCXX"; then
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
16175 $as_echo "$ac_ct_OBJCXX" >&6; }
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16178 $as_echo "no" >&6; }
16182 test -n "$ac_ct_OBJCXX" && break
16185 if test "x$ac_ct_OBJCXX" = x; then
16188 case $cross_compiling:$ac_tool_warned in
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16192 ac_tool_warned=yes ;;
16194 OBJCXX=$ac_ct_OBJCXX
16198 # Provide some information about the compiler.
16199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
16202 for ac_option in --version -v -V -qversion; do
16203 { { ac_try="$ac_compiler $ac_option >&5"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16206 *) ac_try_echo
=$ac_try;;
16208 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16209 $as_echo "$ac_try_echo"; } >&5
16210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16212 if test -s conftest.err
; then
16214 ... rest of stderr output deleted ...
16215 10q' conftest.err
>conftest.er1
16216 cat conftest.er1
>&5
16218 rm -f conftest.er1 conftest.err
16219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16220 test $ac_status = 0; }
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
16224 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
16225 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
16226 $as_echo_n "(cached) " >&6
16228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16242 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16243 ac_compiler_gnu
=yes
16247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16248 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16252 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16253 if test $ac_compiler_gnu = yes; then
16258 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
16259 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16261 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16262 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
16263 $as_echo_n "(cached) " >&6
16265 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
16266 ac_objcxx_werror_flag
=yes
16267 ac_cv_prog_objcxx_g
=no
16269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16270 /* end confdefs.h. */
16280 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16281 ac_cv_prog_objcxx_g
=yes
16284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16295 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16298 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
16300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16311 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16312 ac_cv_prog_objcxx_g
=yes
16314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16319 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16322 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16323 if test "$ac_test_OBJCXXFLAGS" = set; then
16324 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
16325 elif test $ac_cv_prog_objcxx_g = yes; then
16326 if test "$GOBJCXX" = yes; then
16327 OBJCXXFLAGS
="-g -O2"
16332 if test "$GOBJCXX" = yes; then
16339 ac_cpp
='$CXXCPP $CPPFLAGS'
16340 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16341 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16342 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16345 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16346 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
16351 $as_echo_n "checking if we really have Objective C++... " >&6; }
16353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16356 // This space intentionally left blank
16359 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16363 $as_echo "yes" >&6; }
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16367 $as_echo "no" >&6; }
16369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16371 ac_cpp
='$CXXCPP $CPPFLAGS'
16372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16376 if test "x$CY_OBJECTIVEC" = x1
; then :
16379 for ac_prog
in gnustep
-config
16381 # Extract the first word of "$ac_prog", so it can be a program name with args.
16382 set dummy
$ac_prog; ac_word
=$2
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16384 $as_echo_n "checking for $ac_word... " >&6; }
16385 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
16386 $as_echo_n "(cached) " >&6
16388 if test -n "$GNUSTEP_CONFIG"; then
16389 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
16391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16392 for as_dir
in $PATH
16395 test -z "$as_dir" && as_dir
=.
16396 for ac_exec_ext
in '' $ac_executable_extensions; do
16397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16398 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
16399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16408 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
16409 if test -n "$GNUSTEP_CONFIG"; then
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
16411 $as_echo "$GNUSTEP_CONFIG" >&6; }
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16414 $as_echo "no" >&6; }
16418 test -n "$GNUSTEP_CONFIG" && break
16421 if test "x$GNUSTEP_CONFIG" != x
; then :
16425 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
16427 for x
in $OBJCXXFLAGS; do
16429 acl_save_prefix
="$prefix"
16430 prefix
="$acl_final_prefix"
16431 acl_save_exec_prefix
="$exec_prefix"
16432 exec_prefix
="$acl_final_exec_prefix"
16434 exec_prefix
="$acl_save_exec_prefix"
16435 prefix
="$acl_save_prefix"
16437 if test "X$x" = "X$element"; then
16442 if test -z "$haveit"; then
16443 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16448 for element
in `$GNUSTEP_CONFIG --base-libs`; do
16452 acl_save_prefix
="$prefix"
16453 prefix
="$acl_final_prefix"
16454 acl_save_exec_prefix
="$exec_prefix"
16455 exec_prefix
="$acl_final_exec_prefix"
16457 exec_prefix
="$acl_save_exec_prefix"
16458 prefix
="$acl_save_prefix"
16460 if test "X$x" = "X$element"; then
16465 if test -z "$haveit"; then
16466 LIBS
="${LIBS}${LIBS:+ }$element"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
16475 $as_echo_n "checking for GNU make... " >&6; }
16476 if test "${_cv_gnu_make_command+set}" = set; then :
16477 $as_echo_n "(cached) " >&6
16479 _cv_gnu_make_command
='' ;
16480 for a
in "$MAKE" make gmake gnumake
; do
16481 if test -z "$a" ; then continue ; fi ;
16482 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
16483 _cv_gnu_make_command
=$a ;
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
16490 $as_echo "$_cv_gnu_make_command" >&6; } ;
16491 if test "x$_cv_gnu_make_command" != "x" ; then
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
16496 $as_echo "\"Not found\"" >&6; };
16500 if test "x$_cv_gnu_make_command" = x
; then :
16501 as_fn_error
"You need GNU make" "$LINENO" 5
16503 ac_config_files
="$ac_config_files GNUmakefile"
16505 cat >confcache
<<\_ACEOF
16506 # This file is a shell script that caches the results of configure
16507 # tests run on this system so they can be shared between configure
16508 # scripts and configure runs, see configure's option --config-cache.
16509 # It is not useful on other systems. If it contains results you don't
16510 # want to keep, you may remove or edit it.
16512 # config.status only pays attention to the cache file if you give it
16513 # the --recheck option to rerun configure.
16515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16517 # following values.
16521 # The following way of writing the cache mishandles newlines in values,
16522 # but we know of no workaround that is simple, portable, and efficient.
16523 # So, we kill variables containing newlines.
16524 # Ultrix sh set writes to stderr and can't be redirected directly,
16525 # and sets the high bit in the cache file unless we assign to the vars.
16527 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16528 eval ac_val
=\$
$ac_var
16532 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16533 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16536 _
| IFS
| as_nl
) ;; #(
16537 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16538 *) { eval $ac_var=; unset $ac_var;} ;;
16544 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16545 *${as_nl}ac_space
=\
*)
16546 # `set' does not quote correctly, so add quotes: double-quote
16547 # substitution turns \\\\ into \\, and sed turns \\ into \.
16550 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16553 # `set' quotes correctly as required by POSIX, so do not add quotes.
16554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16563 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16565 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16567 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16568 if test -w "$cache_file"; then
16569 test "x$cache_file" != "x/dev/null" &&
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16571 $as_echo "$as_me: updating cache $cache_file" >&6;}
16572 cat confcache
>$cache_file
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16575 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16580 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16581 # Let make expand exec_prefix.
16582 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16584 # Transform confdefs.h into DEFS.
16585 # Protect against shell expansion while executing Makefile rules.
16586 # Protect against Makefile macro expansion.
16588 # If the first sed substitution is executed (which looks for macros that
16589 # take arguments), then branch to the quote section. Otherwise,
16590 # look for a macro that doesn't take arguments.
16600 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16602 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16606 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16619 DEFS
=`sed -n "$ac_script" confdefs.h`
16624 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16625 # 1. Remove the extension, and $U if already installed.
16626 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16627 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16628 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16629 # will be set to the directory where LIBOBJS objects are built.
16630 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16631 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16633 LIBOBJS
=$ac_libobjs
16635 LTLIBOBJS
=$ac_ltlibobjs
16639 : ${CONFIG_STATUS=./config.status}
16641 ac_clean_files_save
=$ac_clean_files
16642 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16644 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16646 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16648 # Generated by $as_me.
16649 # Run this file to recreate the current configuration.
16650 # Compiler output produced by configure, useful for debugging
16651 # configure, is in config.log if it exists.
16654 ac_cs_recheck=false
16657 SHELL=\${CONFIG_SHELL-$SHELL}
16660 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
16661 ## -------------------- ##
16662 ## M4sh Initialization. ##
16663 ## -------------------- ##
16665 # Be more Bourne compatible
16666 DUALCASE
=1; export DUALCASE
# for MKS sh
16667 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16670 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16671 # is contrary to our usage. Disable this feature.
16672 alias -g '${1+"$@"}'='"$@"'
16673 setopt NO_GLOB_SUBST
16675 case `(set -o) 2>/dev/null` in #(
16687 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16688 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16690 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16691 # Prefer a ksh shell builtin over an external printf program on Solaris,
16692 # but without wasting forks for bash or zsh.
16693 if test -z "$BASH_VERSION$ZSH_VERSION" \
16694 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16695 as_echo='print
-r --'
16696 as_echo_n='print
-rn --'
16697 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16698 as_echo='printf %s
\n'
16699 as_echo_n='printf %s
'
16701 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16702 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16703 as_echo_n='/usr
/ucb
/echo -n'
16705 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16706 as_echo_n_body='eval
16710 expr "X$arg" : "X\\(.*\\)$as_nl";
16711 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16713 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16715 export as_echo_n_body
16716 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16718 export as_echo_body
16719 as_echo='sh
-c $as_echo_body as_echo
'
16722 # The user is always right.
16723 if test "${PATH_SEPARATOR+set}" != set; then
16725 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16726 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16733 # We need space, tab and new line, in precisely that order. Quoting is
16734 # there to prevent editors from complaining about space-tab.
16735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16736 # splitting by setting IFS to empty value.)
16739 # Find who we are. Look in the path if we contain no directory separator.
16741 *[\\/]* ) as_myself=$0 ;;
16742 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16743 for as_dir in $PATH
16746 test -z "$as_dir" && as_dir=.
16747 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16753 # We did not find ourselves, most probably we were run as `sh COMMAND'
16754 # in which case we are not to be found in the path.
16755 if test "x$as_myself" = x
; then
16758 if test ! -f "$as_myself"; then
16759 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16763 # Unset variables that we do not need and which cause bugs (e.g. in
16764 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16765 # suppresses any "Segmentation fault" message there. '((' could
16766 # trigger a bug in pdksh 5.2.14.
16767 for as_var
in BASH_ENV ENV MAIL MAILPATH
16768 do eval test x\
${$as_var+set} = xset \
16769 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
16782 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16785 # as_fn_error ERROR [LINENO LOG_FD]
16786 # ---------------------------------
16787 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16788 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16789 # script with status $?, using 1 if that was 0.
16792 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16794 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16795 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16797 $as_echo "$as_me: error: $1" >&2
16798 as_fn_exit
$as_status
16802 # as_fn_set_status STATUS
16803 # -----------------------
16804 # Set $? to STATUS, without forking.
16805 as_fn_set_status
()
16808 } # as_fn_set_status
16810 # as_fn_exit STATUS
16811 # -----------------
16812 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16816 as_fn_set_status
$1
16822 # Portably unset VAR.
16825 { eval $1=; unset $1;}
16827 as_unset
=as_fn_unset
16828 # as_fn_append VAR VALUE
16829 # ----------------------
16830 # Append the text in VALUE to the end of the definition contained in VAR. Take
16831 # advantage of any shell optimizations that allow amortized linear growth over
16832 # repeated appends, instead of the typical quadratic growth present in naive
16834 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16835 eval 'as_fn_append ()
16846 # as_fn_arith ARG...
16847 # ------------------
16848 # Perform arithmetic evaluation on the ARGs, and store the result in the
16849 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16850 # must be portable across $(()) and expr.
16851 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16852 eval 'as_fn_arith ()
16859 as_val
=`expr "$@" || test $? -eq 1`
16864 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16865 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16871 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16872 as_basename
=basename
16877 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16883 as_me
=`$as_basename -- "$0" ||
16884 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16885 X"$0" : 'X\(//\)$' \| \
16886 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16888 sed '/^.*\/\([^/][^/]*\)\/*$/{
16902 # Avoid depending upon Character Ranges.
16903 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16904 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16905 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16906 as_cr_digits
='0123456789'
16907 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16909 ECHO_C
= ECHO_N
= ECHO_T
=
16910 case `echo -n x` in #(((((
16912 case `echo 'xy\c'` in
16913 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16915 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16922 rm -f conf$$ conf$$.exe conf$$.
file
16923 if test -d conf$$.dir
; then
16924 rm -f conf$$.dir
/conf$$.
file
16927 mkdir conf$$.dir
2>/dev
/null
16929 if (echo >conf$$.
file) 2>/dev
/null
; then
16930 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16932 # ... but there are two gotchas:
16933 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16934 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16935 # In both cases, we have to default to `cp -p'.
16936 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
16938 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16946 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16947 rmdir conf$$.dir
2>/dev
/null
16952 # Create "$as_dir" as a directory, including parents if necessary.
16957 -*) as_dir
=.
/$as_dir;;
16959 test -d "$as_dir" || eval $as_mkdir_p || {
16963 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16964 *) as_qdir
=$as_dir;;
16966 as_dirs
="'$as_qdir' $as_dirs"
16967 as_dir
=`$as_dirname -- "$as_dir" ||
16968 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16969 X"$as_dir" : 'X\(//\)[^/]' \| \
16970 X"$as_dir" : 'X\(//\)$' \| \
16971 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16972 $as_echo X"$as_dir" |
16973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16977 /^X\(\/\/\)[^/].*/{
16990 test -d "$as_dir" && break
16992 test -z "$as_dirs" || eval "mkdir $as_dirs"
16993 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16997 if mkdir -p .
2>/dev
/null
; then
16998 as_mkdir_p
='mkdir -p "$as_dir"'
17000 test -d .
/-p && rmdir .
/-p
17004 if test -x / >/dev
/null
2>&1; then
17005 as_test_x
='test -x'
17007 if ls -dL / >/dev
/null
2>&1; then
17014 if test -d "$1"; then
17020 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17021 ???[sx]*):;;*)false;;esac;fi
17025 as_executable_p
=$as_test_x
17027 # Sed expression to map a string onto a valid CPP name.
17028 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17030 # Sed expression to map a string onto a valid variable name.
17031 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17035 ## ----------------------------------- ##
17036 ## Main body of $CONFIG_STATUS script. ##
17037 ## ----------------------------------- ##
17039 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17041 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17042 # Save the log message, to keep $0 and so on meaningful, and to
17043 # report actual input values of CONFIG_FILES etc. instead of their
17044 # values after options handling.
17046 This file was extended by Cycript $as_me 0.9, which was
17047 generated by GNU Autoconf 2.65. Invocation command line was
17049 CONFIG_FILES = $CONFIG_FILES
17050 CONFIG_HEADERS = $CONFIG_HEADERS
17051 CONFIG_LINKS = $CONFIG_LINKS
17052 CONFIG_COMMANDS = $CONFIG_COMMANDS
17055 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17060 case $ac_config_files in *"
17061 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17067 # Files that config.status was made for.
17068 config_files="$ac_config_files"
17069 config_commands="$ac_config_commands"
17073 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17075 \`$as_me' instantiates files and other configuration actions
17076 from templates according to the current configuration. Unless the files
17077 and actions are specified as TAGs, all are instantiated by default.
17079 Usage: $0 [OPTION]... [TAG]...
17081 -h, --help print this help, then exit
17082 -V, --version print version number and configuration settings, then exit
17083 --config print configuration, then exit
17084 -q, --quiet, --silent
17085 do not print progress messages
17086 -d, --debug don't remove temporary files
17087 --recheck update $as_me by reconfiguring in the same conditions
17088 --file=FILE[:TEMPLATE]
17089 instantiate the configuration file FILE
17091 Configuration files:
17094 Configuration commands:
17097 Report bugs to <saurik@saurik.com>.
17098 Cycript home page: <http://www.cycript.org/>."
17101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17102 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17104 Cycript config.status 0.9
17105 configured by $0, generated by GNU Autoconf 2.65,
17106 with options \\"\$ac_cs_config\\"
17108 Copyright (C) 2009 Free Software Foundation, Inc.
17109 This config.status script is free software; the Free Software Foundation
17110 gives unlimited permission to copy, distribute and modify it."
17116 test -n "\$AWK" || AWK=awk
17119 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17120 # The default lists apply if the user does not specify any file.
17126 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17127 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17138 # Handling of the options.
17139 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17141 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17142 $as_echo "$ac_cs_version"; exit ;;
17143 --config | --confi | --conf | --con | --co | --c )
17144 $as_echo "$ac_cs_config"; exit ;;
17145 --debug | --debu | --deb | --de | --d | -d )
17147 --file | --fil | --fi | --f )
17150 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17152 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17153 ac_need_defaults
=false
;;
17154 --he | --h | --help | --hel | -h )
17155 $as_echo "$ac_cs_usage"; exit ;;
17156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17157 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17160 # This is an error.
17161 -*) as_fn_error
"unrecognized option: \`$1'
17162 Try \`$0 --help' for more information." ;;
17164 *) as_fn_append ac_config_targets
" $1"
17165 ac_need_defaults
=false
;;
17171 ac_configure_extra_args
=
17173 if $ac_cs_silent; then
17175 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17180 if \$ac_cs_recheck; then
17181 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17183 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17184 CONFIG_SHELL='$SHELL'
17185 export CONFIG_SHELL
17190 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17194 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17195 ## Running $as_me. ##
17201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17207 # The HP-UX ksh and POSIX shell print the target directory to stdout
17208 # if CDPATH is set.
17209 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17211 sed_quote_subst='$sed_quote_subst'
17212 double_quote_subst='$double_quote_subst'
17213 delay_variable_subst='$delay_variable_subst'
17214 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17215 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17216 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17217 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17218 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17219 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17220 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17221 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17222 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17223 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17224 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17225 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17226 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17227 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17228 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17229 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17230 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17231 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17232 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17233 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17234 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17235 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17236 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17237 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17238 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17239 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17240 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17241 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17242 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17243 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17244 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17245 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17246 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17247 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17248 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17249 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17250 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17251 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17252 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17253 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17254 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17255 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17256 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17257 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17258 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"`'
17259 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"`'
17260 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17261 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17262 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17263 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17264 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17265 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17266 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17267 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17268 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17269 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17270 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17271 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17272 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17273 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17274 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17275 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17276 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17277 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17278 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17279 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17280 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17281 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17282 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17283 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17284 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17285 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17286 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17287 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17288 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17289 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17290 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17291 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17292 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17293 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17294 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17295 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17296 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17297 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17298 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17299 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17300 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17301 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17302 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17303 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17304 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17305 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17306 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17307 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17308 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17309 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17310 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17311 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17312 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17313 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17314 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17315 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17316 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17317 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17318 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17319 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17320 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17321 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17322 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17323 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17324 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17325 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17326 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17327 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17328 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17329 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17330 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17331 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17332 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17333 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17334 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17335 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17336 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17337 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17338 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17339 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17340 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17341 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17342 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17343 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17344 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17345 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17346 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17347 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17348 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17349 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17350 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17351 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17352 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17353 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17354 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17355 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17356 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17357 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17358 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17359 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17360 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17361 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17362 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17363 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17364 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17365 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17366 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17367 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17368 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17369 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17370 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17371 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17372 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17373 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17374 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17375 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17376 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17377 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17378 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17379 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17380 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17381 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17382 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17383 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17384 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17387 LTCFLAGS='$LTCFLAGS'
17388 compiler='$compiler_DEFAULT'
17390 # Quote evaled strings.
17402 deplibs_check_method \
17411 lt_cv_sys_global_symbol_pipe \
17412 lt_cv_sys_global_symbol_to_cdecl \
17413 lt_cv_sys_global_symbol_to_c_name_address \
17414 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17417 lt_prog_compiler_no_builtin_flag \
17418 lt_prog_compiler_wl \
17419 lt_prog_compiler_pic \
17420 lt_prog_compiler_static \
17421 lt_cv_prog_compiler_c_o \
17429 export_dynamic_flag_spec \
17430 whole_archive_flag_spec \
17431 compiler_needs_object \
17433 allow_undefined_flag \
17434 no_undefined_flag \
17435 hardcode_libdir_flag_spec \
17436 hardcode_libdir_flag_spec_ld \
17437 hardcode_libdir_separator \
17442 variables_saved_for_relink \
17444 library_names_spec \
17449 compiler_lib_search_dirs \
17454 compiler_lib_search_path \
17457 lt_prog_compiler_no_builtin_flag_CXX \
17458 lt_prog_compiler_wl_CXX \
17459 lt_prog_compiler_pic_CXX \
17460 lt_prog_compiler_static_CXX \
17461 lt_cv_prog_compiler_c_o_CXX \
17462 export_dynamic_flag_spec_CXX \
17463 whole_archive_flag_spec_CXX \
17464 compiler_needs_object_CXX \
17466 allow_undefined_flag_CXX \
17467 no_undefined_flag_CXX \
17468 hardcode_libdir_flag_spec_CXX \
17469 hardcode_libdir_flag_spec_ld_CXX \
17470 hardcode_libdir_separator_CXX \
17471 fix_srcfile_path_CXX \
17472 exclude_expsyms_CXX \
17473 include_expsyms_CXX \
17474 file_list_spec_CXX \
17475 compiler_lib_search_dirs_CXX \
17476 predep_objects_CXX \
17477 postdep_objects_CXX \
17480 compiler_lib_search_path_CXX; do
17481 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17482 *[\\\\\\\`\\"\\\$]*)
17483 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17486 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17491 # Double-quote double-evaled strings.
17492 for var in reload_cmds \
17493 old_postinstall_cmds \
17494 old_postuninstall_cmds \
17496 extract_expsyms_cmds \
17497 old_archive_from_new_cmds \
17498 old_archive_from_expsyms_cmds \
17500 archive_expsym_cmds \
17502 module_expsym_cmds \
17503 export_symbols_cmds \
17506 postuninstall_cmds \
17508 sys_lib_search_path_spec \
17509 sys_lib_dlsearch_path_spec \
17510 old_archive_cmds_CXX \
17511 old_archive_from_new_cmds_CXX \
17512 old_archive_from_expsyms_cmds_CXX \
17514 archive_expsym_cmds_CXX \
17516 module_expsym_cmds_CXX \
17517 export_symbols_cmds_CXX \
17518 prelink_cmds_CXX; do
17519 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17520 *[\\\\\\\`\\"\\\$]*)
17521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17529 # Fix-up fallback echo if it was mangled by the above quoting rules.
17531 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17535 ac_aux_dir='$ac_aux_dir'
17536 xsi_shell='$xsi_shell'
17537 lt_shell_append='$lt_shell_append'
17539 # See if we are running on zsh, and set the options which allow our
17540 # commands through without removal of \ escapes INIT.
17541 if test -n "\${ZSH_VERSION+set}" ; then
17542 setopt NO_GLOB_SUBST
17548 TIMESTAMP='$TIMESTAMP'
17559 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17561 # Handling of arguments.
17562 for ac_config_target
in $ac_config_targets
17564 case $ac_config_target in
17565 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17566 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
17568 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17573 # If the user did not use the arguments to specify the items to instantiate,
17574 # then the envvar interface is used. Set only those that are not.
17575 # We use the long form for the default assignment because of an extremely
17576 # bizarre bug on SunOS 4.1.3.
17577 if $ac_need_defaults; then
17578 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17579 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17582 # Have a temporary directory for convenience. Make it in the build tree
17583 # simply because there is no reason against having it here, and in addition,
17584 # creating and moving files from /tmp can sometimes cause problems.
17585 # Hook for its removal unless debugging.
17586 # Note that there is a small window in which the directory will not be cleaned:
17587 # after its creation but before its name has been assigned to `$tmp'.
17591 trap 'exit_status=$?
17592 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17594 trap 'as_fn_exit 1' 1 2 13 15
17596 # Create a (secure) tmp directory for tmp files.
17599 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17600 test -n "$tmp" && test -d "$tmp"
17603 tmp
=.
/conf$$
-$RANDOM
17604 (umask 077 && mkdir "$tmp")
17605 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17607 # Set up the scripts for CONFIG_FILES section.
17608 # No need to generate them if there are no CONFIG_FILES.
17609 # This happens for instance with `./config.status config.h'.
17610 if test -n "$CONFIG_FILES"; then
17613 ac_cr
=`echo X | tr X '\015'`
17614 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17615 # But we know of no other shell where ac_cr would be empty at this
17616 # point, so we can use a bashism as a fallback.
17617 if test "x$ac_cr" = x
; then
17618 eval ac_cr
=\$
\'\\r
\'
17620 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17624 ac_cs_awk_cr
=$ac_cr
17627 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17632 echo "cat >conf$$subs.awk <<_ACEOF" &&
17633 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17635 } >conf$$subs.sh ||
17636 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17637 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17639 for ac_last_try in false false false false false :; do
17640 . ./conf$$subs.sh ||
17641 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17643 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17644 if test $ac_delim_n = $ac_delim_num; then
17646 elif $ac_last_try; then
17647 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17649 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17652 rm -f conf$$subs.sh
17654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17655 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17659 s/^/S["/; s
/!.
*/"]=/
17669 s/\(.\{148\}\)..*/\1/
17671 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17676 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17683 s/\(.\{148\}\)..*/\1/
17685 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17689 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17694 ' <conf$$subs.awk | sed '
17699 ' >>$CONFIG_STATUS || ac_write_fail=1
17700 rm -f conf$$subs.awk
17701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17703 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17704 for (key in S) S_is_set[key] = 1
17710 nfields = split(line, field, "@
")
17712 len = length(field[1])
17713 for (i = 2; i < nfields; i++) {
17715 keylen = length(key)
17716 if (S_is_set[key]) {
17718 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17719 len += length(value) + length(field[++i])
17730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17731 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17732 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17735 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17736 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17739 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17740 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17741 # trailing colons and then remove the whole line if VPATH becomes empty
17742 # (actually we leave an empty line to preserve line numbers).
17743 if test "x
$srcdir" = x.; then
17744 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17745 s/:*\$(srcdir):*/:/
17746 s/:*\${srcdir}:*/:/
17748 s/^\([^=]*=[ ]*\):*/\1/
17754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17755 fi # test -n "$CONFIG_FILES"
17758 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17763 :[FHLC]) ac_mode=$ac_tag; continue;;
17765 case $ac_mode$ac_tag in
17767 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17768 :[FH]-) ac_tag=-:-;;
17769 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17786 -) ac_f="$tmp/stdin";;
17787 *) # Look for the file first in the build tree, then in the source tree
17788 # (if the path is not absolute). The absolute path cannot be DOS-style,
17789 # because $ac_f cannot contain `:'.
17793 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17795 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17797 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17798 as_fn_append ac_file_inputs " '$ac_f'"
17801 # Let's still pretend it is `configure' which instantiates (i.e., don't
17802 # use $as_me), people would be surprised to read:
17803 # /* config.h. Generated by config.status. */
17804 configure_input='Generated from '`
17805 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17807 if test x"$ac_file" != x-; then
17808 configure_input="$ac_file.
$configure_input"
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17810 $as_echo "$as_me: creating
$ac_file" >&6;}
17812 # Neutralize special characters interpreted by sed in replacement strings.
17813 case $configure_input in #(
17814 *\&* | *\|* | *\\* )
17815 ac_sed_conf_input=`$as_echo "$configure_input" |
17816 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17817 *) ac_sed_conf_input=$configure_input;;
17821 *:-:* | *:-) cat >"$tmp/stdin
" \
17822 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
17827 ac_dir=`$as_dirname -- "$ac_file" ||
17828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17829 X"$ac_file" : 'X\(//\)[^/]' \| \
17830 X"$ac_file" : 'X\(//\)$' \| \
17831 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17832 $as_echo X"$ac_file" |
17833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17837 /^X\(\/\/\)[^/].*/{
17850 as_dir="$ac_dir"; as_fn_mkdir_p
17854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17856 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17857 # A "..
" for each directory in $ac_dir_suffix.
17858 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17859 case $ac_top_builddir_sub in
17860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17864 ac_abs_top_builddir=$ac_pwd
17865 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17866 # for backward compatibility:
17867 ac_top_builddir=$ac_top_build_prefix
17870 .) # We are building in place.
17872 ac_top_srcdir=$ac_top_builddir_sub
17873 ac_abs_top_srcdir=$ac_pwd ;;
17874 [\\/]* | ?:[\\/]* ) # Absolute name.
17875 ac_srcdir=$srcdir$ac_dir_suffix;
17876 ac_top_srcdir=$srcdir
17877 ac_abs_top_srcdir=$srcdir ;;
17878 *) # Relative name.
17879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17880 ac_top_srcdir=$ac_top_build_prefix$srcdir
17881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17893 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17894 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17899 # If the template does not know about datarootdir, expand it.
17900 # FIXME: This hack should be removed a few years after 2.60.
17901 ac_datarootdir_hack=; ac_datarootdir_seen=
17912 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17913 *datarootdir*) ac_datarootdir_seen=yes;;
17914 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17916 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17919 ac_datarootdir_hack='
17920 s&@datadir@&$datadir&g
17921 s&@docdir@&$docdir&g
17922 s&@infodir@&$infodir&g
17923 s&@localedir@&$localedir&g
17924 s&@mandir@&$mandir&g
17925 s&\\\${datarootdir}&$datarootdir&g' ;;
17929 # Neutralize VPATH when `$srcdir' = `.'.
17930 # Shell code in configure.ac might set extrasub.
17931 # FIXME: do we really want to maintain this feature?
17932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17933 ac_sed_extra="$ac_vpsub
17936 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17938 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17939 s
|@configure_input@
|$ac_sed_conf_input|;t t
17940 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17941 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17942 s
&@srcdir@
&$ac_srcdir&;t t
17943 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17944 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17945 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17946 s
&@builddir@
&$ac_builddir&;t t
17947 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17948 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17949 s
&@INSTALL@
&$ac_INSTALL&;t t
17950 $ac_datarootdir_hack
17952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17953 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17956 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17957 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17959 which seems to be undefined. Please make sure it is defined." >&5
17960 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17961 which seems to be undefined. Please make sure it is defined." >&2;}
17965 -) cat "$tmp/out" && rm -f "$tmp/out";;
17966 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17968 || as_fn_error "could not create $ac_file" "$LINENO" 5
17972 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17973 $as_echo "$as_me: executing $ac_file commands" >&6;}
17978 case $ac_file$ac_mode in
17981 # See if we are running on zsh, and set the options which allow our
17982 # commands through without removal of \ escapes.
17983 if test -n "${ZSH_VERSION+set}" ; then
17984 setopt NO_GLOB_SUBST
17987 cfgfile="${ofile}T"
17988 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17991 cat <<_LT_EOF >> "$cfgfile"
17994 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17995 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17997 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17999 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18000 # 2006, 2007, 2008 Free Software Foundation, Inc.
18001 # Written by Gordon Matzigkeit, 1996
18003 # This file is part of GNU Libtool.
18005 # GNU Libtool is free software; you can redistribute it and/or
18006 # modify it under the terms of the GNU General Public License as
18007 # published by the Free Software Foundation; either version 2 of
18008 # the License, or (at your option) any later version.
18010 # As a special exception to the GNU General Public License,
18011 # if you distribute this file as part of a program or library that
18012 # is built using GNU Libtool, you may include this file under the
18013 # same distribution terms that you use for the rest of that program.
18015 # GNU Libtool is distributed in the hope that it will be useful,
18016 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18017 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18018 # GNU General Public License for more details.
18020 # You should have received a copy of the GNU General Public License
18021 # along with GNU Libtool; see the file COPYING. If not, a copy
18022 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18023 # obtained by writing to the Free Software Foundation, Inc.,
18024 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18027 # The names of the tagged configurations supported by this script.
18028 available_tags="CXX "
18030 # ### BEGIN LIBTOOL CONFIG
18032 # Which release of libtool.m4 was used?
18033 macro_version=$macro_version
18034 macro_revision=$macro_revision
18036 # Whether or not to build static libraries.
18037 build_old_libs=$enable_static
18039 # Whether or not to build shared libraries.
18040 build_libtool_libs=$enable_shared
18042 # What type of objects to build.
18045 # Whether or not to optimize for fast installation.
18046 fast_install=$enable_fast_install
18049 host_alias=$host_alias
18053 # The build system.
18054 build_alias=$build_alias
18058 # A sed program that does not truncate output.
18061 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18062 Xsed="\$SED -e 1s/^X//"
18064 # A grep program that handles long lines.
18070 # A literal string matcher.
18073 # A BSD- or MS-compatible name lister.
18076 # Whether we need soft or hard links.
18079 # What is the maximum length of a command?
18080 max_cmd_len=$max_cmd_len
18082 # Object file suffix (normally "o").
18085 # Executable file suffix (normally "").
18088 # whether the shell understands "unset".
18091 # turn spaces into newlines.
18094 # turn newlines into spaces.
18097 # How to create reloadable object files.
18098 reload_flag=$lt_reload_flag
18099 reload_cmds=$lt_reload_cmds
18101 # An object symbol dumper.
18102 OBJDUMP=$lt_OBJDUMP
18104 # Method to check whether dependent libraries are shared objects.
18105 deplibs_check_method=$lt_deplibs_check_method
18107 # Command to use when deplibs_check_method == "file_magic".
18108 file_magic_cmd=$lt_file_magic_cmd
18112 AR_FLAGS=$lt_AR_FLAGS
18114 # A symbol stripping program.
18117 # Commands used to install an old-style archive.
18119 old_postinstall_cmds=$lt_old_postinstall_cmds
18120 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18125 # LTCC compiler flags.
18126 LTCFLAGS=$lt_CFLAGS
18128 # Take the output of nm and produce a listing of raw symbols and C names.
18129 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18131 # Transform the output of nm in a proper C declaration.
18132 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18134 # Transform the output of nm in a C name address pair.
18135 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18137 # Transform the output of nm in a C name address pair when lib prefix is needed.
18138 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18140 # The name of the directory that contains temporary libtool files.
18143 # Shell to use when invoking shell scripts.
18146 # An echo program that does not interpret backslashes.
18149 # Used to examine libraries when file_magic_cmd begins with "file".
18150 MAGIC_CMD=$MAGIC_CMD
18152 # Must we lock files when doing compilation?
18153 need_locks=$lt_need_locks
18155 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18156 DSYMUTIL=$lt_DSYMUTIL
18158 # Tool to change global to local symbols on Mac OS X.
18161 # Tool to manipulate fat objects and archives on Mac OS X.
18164 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18167 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18168 OTOOL64=$lt_OTOOL64
18170 # Old archive suffix (normally "a").
18173 # Shared library suffix (normally ".so").
18174 shrext_cmds=$lt_shrext_cmds
18176 # The commands to extract the exported symbol list from a shared archive.
18177 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18179 # Variables whose values should be saved in libtool wrapper scripts and
18180 # restored at link time.
18181 variables_saved_for_relink=$lt_variables_saved_for_relink
18183 # Do we need the "lib" prefix for modules?
18184 need_lib_prefix=$need_lib_prefix
18186 # Do we need a version for libraries?
18187 need_version=$need_version
18189 # Library versioning type.
18190 version_type=$version_type
18192 # Shared library runtime path variable.
18193 runpath_var=$runpath_var
18195 # Shared library path variable.
18196 shlibpath_var=$shlibpath_var
18198 # Is shlibpath searched before the hard-coded library search path?
18199 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18201 # Format of library name prefix.
18202 libname_spec=$lt_libname_spec
18204 # List of archive names. First name is the real one, the rest are links.
18205 # The last name is the one that the linker finds with -lNAME
18206 library_names_spec=$lt_library_names_spec
18208 # The coded name of the library, if different from the real name.
18209 soname_spec=$lt_soname_spec
18211 # Command to use after installation of a shared archive.
18212 postinstall_cmds=$lt_postinstall_cmds
18214 # Command to use after uninstallation of a shared archive.
18215 postuninstall_cmds=$lt_postuninstall_cmds
18217 # Commands used to finish a libtool library installation in a directory.
18218 finish_cmds=$lt_finish_cmds
18220 # As "finish_cmds", except a single script fragment to be evaled but
18222 finish_eval=$lt_finish_eval
18224 # Whether we should hardcode library paths into libraries.
18225 hardcode_into_libs=$hardcode_into_libs
18227 # Compile-time system search path for libraries.
18228 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18230 # Run-time system search path for libraries.
18231 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18233 # Whether dlopen is supported.
18234 dlopen_support=$enable_dlopen
18236 # Whether dlopen of programs is supported.
18237 dlopen_self=$enable_dlopen_self
18239 # Whether dlopen of statically linked programs is supported.
18240 dlopen_self_static=$enable_dlopen_self_static
18242 # Commands to strip libraries.
18243 old_striplib=$lt_old_striplib
18244 striplib=$lt_striplib
18247 # The linker used to build libraries.
18250 # Commands used to build an old-style archive.
18251 old_archive_cmds=$lt_old_archive_cmds
18253 # A language specific compiler.
18256 # Is the compiler the GNU compiler?
18259 # Compiler flag to turn off builtin functions.
18260 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18262 # How to pass a linker flag through the compiler.
18263 wl=$lt_lt_prog_compiler_wl
18265 # Additional compiler flags for building library objects.
18266 pic_flag=$lt_lt_prog_compiler_pic
18268 # Compiler flag to prevent dynamic linking.
18269 link_static_flag=$lt_lt_prog_compiler_static
18271 # Does compiler simultaneously support -c and -o options?
18272 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18274 # Whether or not to add -lc for building shared libraries.
18275 build_libtool_need_lc=$archive_cmds_need_lc
18277 # Whether or not to disallow shared libs when runtime libs are static.
18278 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18280 # Compiler flag to allow reflexive dlopens.
18281 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18283 # Compiler flag to generate shared objects directly from archives.
18284 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18286 # Whether the compiler copes with passing no objects directly.
18287 compiler_needs_object=$lt_compiler_needs_object
18289 # Create an old-style archive from a shared archive.
18290 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18292 # Create a temporary old-style archive to link instead of a shared archive.
18293 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18295 # Commands used to build a shared archive.
18296 archive_cmds=$lt_archive_cmds
18297 archive_expsym_cmds=$lt_archive_expsym_cmds
18299 # Commands used to build a loadable module if different from building
18300 # a shared archive.
18301 module_cmds=$lt_module_cmds
18302 module_expsym_cmds=$lt_module_expsym_cmds
18304 # Whether we are building with GNU ld or not.
18305 with_gnu_ld=$lt_with_gnu_ld
18307 # Flag that allows shared libraries with undefined symbols to be built.
18308 allow_undefined_flag=$lt_allow_undefined_flag
18310 # Flag that enforces no undefined symbols.
18311 no_undefined_flag=$lt_no_undefined_flag
18313 # Flag to hardcode \$libdir into a binary during linking.
18314 # This must work even if \$libdir does not exist
18315 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18317 # If ld is used when linking, flag to hardcode \$libdir into a binary
18318 # during linking. This must work even if \$libdir does not exist.
18319 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18321 # Whether we need a single "-rpath" flag with a separated argument.
18322 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18324 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18325 # DIR into the resulting binary.
18326 hardcode_direct=$hardcode_direct
18328 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18329 # DIR into the resulting binary and the resulting library dependency is
18330 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18331 # library is relocated.
18332 hardcode_direct_absolute=$hardcode_direct_absolute
18334 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18335 # into the resulting binary.
18336 hardcode_minus_L=$hardcode_minus_L
18338 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18339 # into the resulting binary.
18340 hardcode_shlibpath_var=$hardcode_shlibpath_var
18342 # Set to "yes" if building a shared library automatically hardcodes DIR
18343 # into the library and all subsequent libraries and executables linked
18345 hardcode_automatic=$hardcode_automatic
18347 # Set to yes if linker adds runtime paths of dependent libraries
18348 # to runtime path list.
18349 inherit_rpath=$inherit_rpath
18351 # Whether libtool must link a program against all its dependency libraries.
18352 link_all_deplibs=$link_all_deplibs
18354 # Fix the shell variable \$srcfile for the compiler.
18355 fix_srcfile_path=$lt_fix_srcfile_path
18357 # Set to "yes" if exported symbols are required.
18358 always_export_symbols=$always_export_symbols
18360 # The commands to list exported symbols.
18361 export_symbols_cmds=$lt_export_symbols_cmds
18363 # Symbols that should not be listed in the preloaded symbols.
18364 exclude_expsyms=$lt_exclude_expsyms
18366 # Symbols that must always be exported.
18367 include_expsyms=$lt_include_expsyms
18369 # Commands necessary for linking programs (against libraries) with templates.
18370 prelink_cmds=$lt_prelink_cmds
18372 # Specify filename containing input files.
18373 file_list_spec=$lt_file_list_spec
18375 # How to hardcode a shared library path into an executable.
18376 hardcode_action=$hardcode_action
18378 # The directories searched by this compiler when creating a shared library.
18379 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18381 # Dependencies to place before and after the objects being linked to
18382 # create a shared library.
18383 predep_objects=$lt_predep_objects
18384 postdep_objects=$lt_postdep_objects
18385 predeps=$lt_predeps
18386 postdeps=$lt_postdeps
18388 # The library search path used internally by the compiler when linking
18389 # a shared library.
18390 compiler_lib_search_path=$lt_compiler_lib_search_path
18392 # ### END LIBTOOL CONFIG
18398 cat <<\_LT_EOF >> "$cfgfile"
18399 # AIX sometimes has problems with the GCC collect2 program. For some
18400 # reason, if we set the COLLECT_NAMES environment variable, the problems
18401 # vanish in a puff of smoke.
18402 if test "X${COLLECT_NAMES+set}" != Xset; then
18404 export COLLECT_NAMES
18411 ltmain="$ac_aux_dir/ltmain.sh"
18414 # We use sed instead of cat because bash on DJGPP gets confused if
18415 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18416 # text mode, it properly converts lines to CR/LF. This bash problem
18417 # is reportedly fixed, but why not run on old versions too?
18418 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18419 || (rm -f "$cfgfile"; exit 1)
18423 cat << \_LT_EOF
>> "$cfgfile"
18425 # func_dirname file append nondir_replacement
18426 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18427 # otherwise set result to NONDIR_REPLACEMENT.
18431 */*) func_dirname_result
="${1%/*}${2}" ;;
18432 * ) func_dirname_result
="${3}" ;;
18436 # func_basename file
18439 func_basename_result
="${1##*/}"
18442 # func_dirname_and_basename file append nondir_replacement
18443 # perform func_basename and func_dirname in a single function
18445 # dirname: Compute the dirname of FILE. If nonempty,
18446 # add APPEND to the result, otherwise set result
18447 # to NONDIR_REPLACEMENT.
18448 # value returned in "$func_dirname_result"
18449 # basename: Compute filename of FILE.
18450 # value retuned in "$func_basename_result"
18451 # Implementation must be kept synchronized with func_dirname
18452 # and func_basename. For efficiency, we do not delegate to
18453 # those functions but instead duplicate the functionality here.
18454 func_dirname_and_basename
()
18457 */*) func_dirname_result
="${1%/*}${2}" ;;
18458 * ) func_dirname_result
="${3}" ;;
18460 func_basename_result
="${1##*/}"
18463 # func_stripname prefix suffix name
18464 # strip PREFIX and SUFFIX off of NAME.
18465 # PREFIX and SUFFIX must not contain globbing or regex special
18466 # characters, hashes, percent signs, but SUFFIX may contain a leading
18467 # dot (in which case that matches only a dot).
18470 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18471 # positional parameters, so assign one to ordinary parameter first.
18472 func_stripname_result
=${3}
18473 func_stripname_result
=${func_stripname_result#"${1}"}
18474 func_stripname_result
=${func_stripname_result%"${2}"}
18480 func_opt_split_opt
=${1%%=*}
18481 func_opt_split_arg
=${1#*=}
18488 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18489 *) func_lo2o_result
=${1} ;;
18493 # func_xform libobj-or-source
18496 func_xform_result
=${1%.*}.lo
18499 # func_arith arithmetic-term...
18502 func_arith_result
=$(( $* ))
18506 # STRING may not start with a hyphen.
18509 func_len_result
=${#1}
18514 *) # Bourne compatible functions.
18515 cat << \_LT_EOF
>> "$cfgfile"
18517 # func_dirname file append nondir_replacement
18518 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18519 # otherwise set result to NONDIR_REPLACEMENT.
18522 # Extract subdirectory from the argument.
18523 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18524 if test "X$func_dirname_result" = "X${1}"; then
18525 func_dirname_result
="${3}"
18527 func_dirname_result
="$func_dirname_result${2}"
18531 # func_basename file
18534 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18538 # func_stripname prefix suffix name
18539 # strip PREFIX and SUFFIX off of NAME.
18540 # PREFIX and SUFFIX must not contain globbing or regex special
18541 # characters, hashes, percent signs, but SUFFIX may contain a leading
18542 # dot (in which case that matches only a dot).
18543 # func_strip_suffix prefix name
18547 .
*) func_stripname_result
=`$ECHO "X${3}" \
18548 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18549 *) func_stripname_result
=`$ECHO "X${3}" \
18550 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18555 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18556 my_sed_long_arg
='1s/^-[^=]*=//'
18561 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18562 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18568 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18571 # func_xform libobj-or-source
18574 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18577 # func_arith arithmetic-term...
18580 func_arith_result
=`expr "$@"`
18584 # STRING may not start with a hyphen.
18587 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18593 case $lt_shell_append in
18595 cat << \_LT_EOF
>> "$cfgfile"
18597 # func_append var value
18598 # Append VALUE to the end of shell variable VAR.
18606 cat << \_LT_EOF
>> "$cfgfile"
18608 # func_append var value
18609 # Append VALUE to the end of shell variable VAR.
18620 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18621 || (rm -f "$cfgfile"; exit 1)
18623 mv -f "$cfgfile" "$ofile" ||
18624 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18628 cat <<_LT_EOF >> "$ofile"
18630 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18632 # The linker used to build libraries.
18635 # Commands used to build an old-style archive.
18636 old_archive_cmds=$lt_old_archive_cmds_CXX
18638 # A language specific compiler.
18639 CC=$lt_compiler_CXX
18641 # Is the compiler the GNU compiler?
18644 # Compiler flag to turn off builtin functions.
18645 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18647 # How to pass a linker flag through the compiler.
18648 wl=$lt_lt_prog_compiler_wl_CXX
18650 # Additional compiler flags for building library objects.
18651 pic_flag=$lt_lt_prog_compiler_pic_CXX
18653 # Compiler flag to prevent dynamic linking.
18654 link_static_flag=$lt_lt_prog_compiler_static_CXX
18656 # Does compiler simultaneously support -c and -o options?
18657 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18659 # Whether or not to add -lc for building shared libraries.
18660 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18662 # Whether or not to disallow shared libs when runtime libs are static.
18663 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18665 # Compiler flag to allow reflexive dlopens.
18666 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18668 # Compiler flag to generate shared objects directly from archives.
18669 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18671 # Whether the compiler copes with passing no objects directly.
18672 compiler_needs_object=$lt_compiler_needs_object_CXX
18674 # Create an old-style archive from a shared archive.
18675 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18677 # Create a temporary old-style archive to link instead of a shared archive.
18678 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18680 # Commands used to build a shared archive.
18681 archive_cmds=$lt_archive_cmds_CXX
18682 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18684 # Commands used to build a loadable module if different from building
18685 # a shared archive.
18686 module_cmds=$lt_module_cmds_CXX
18687 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18689 # Whether we are building with GNU ld or not.
18690 with_gnu_ld=$lt_with_gnu_ld_CXX
18692 # Flag that allows shared libraries with undefined symbols to be built.
18693 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18695 # Flag that enforces no undefined symbols.
18696 no_undefined_flag=$lt_no_undefined_flag_CXX
18698 # Flag to hardcode \$libdir into a binary during linking.
18699 # This must work even if \$libdir does not exist
18700 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18702 # If ld is used when linking, flag to hardcode \$libdir into a binary
18703 # during linking. This must work even if \$libdir does not exist.
18704 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18706 # Whether we need a single "-rpath" flag with a separated argument.
18707 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18709 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18710 # DIR into the resulting binary.
18711 hardcode_direct=$hardcode_direct_CXX
18713 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18714 # DIR into the resulting binary and the resulting library dependency is
18715 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18716 # library is relocated.
18717 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18719 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18720 # into the resulting binary.
18721 hardcode_minus_L=$hardcode_minus_L_CXX
18723 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18724 # into the resulting binary.
18725 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18727 # Set to "yes" if building a shared library automatically hardcodes DIR
18728 # into the library and all subsequent libraries and executables linked
18730 hardcode_automatic=$hardcode_automatic_CXX
18732 # Set to yes if linker adds runtime paths of dependent libraries
18733 # to runtime path list.
18734 inherit_rpath=$inherit_rpath_CXX
18736 # Whether libtool must link a program against all its dependency libraries.
18737 link_all_deplibs=$link_all_deplibs_CXX
18739 # Fix the shell variable \$srcfile for the compiler.
18740 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18742 # Set to "yes" if exported symbols are required.
18743 always_export_symbols=$always_export_symbols_CXX
18745 # The commands to list exported symbols.
18746 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18748 # Symbols that should not be listed in the preloaded symbols.
18749 exclude_expsyms=$lt_exclude_expsyms_CXX
18751 # Symbols that must always be exported.
18752 include_expsyms=$lt_include_expsyms_CXX
18754 # Commands necessary for linking programs (against libraries) with templates.
18755 prelink_cmds=$lt_prelink_cmds_CXX
18757 # Specify filename containing input files.
18758 file_list_spec=$lt_file_list_spec_CXX
18760 # How to hardcode a shared library path into an executable.
18761 hardcode_action=$hardcode_action_CXX
18763 # The directories searched by this compiler when creating a shared library.
18764 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18766 # Dependencies to place before and after the objects being linked to
18767 # create a shared library.
18768 predep_objects=$lt_predep_objects_CXX
18769 postdep_objects=$lt_postdep_objects_CXX
18770 predeps=$lt_predeps_CXX
18771 postdeps=$lt_postdeps_CXX
18773 # The library search path used internally by the compiler when linking
18774 # a shared library.
18775 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18777 # ### END LIBTOOL TAG CONFIG: CXX
18788 ac_clean_files
=$ac_clean_files_save
18790 test $ac_write_fail = 0 ||
18791 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18794 # configure is writing to config.log, and then calls config.status.
18795 # config.status does its own redirection, appending to config.log.
18796 # Unfortunately, on DOS this fails, as config.log is still kept open
18797 # by configure, so config.status won't be able to write to it; its
18798 # output is simply discarded. So we exec the FD to /dev/null,
18799 # effectively closing config.log, so it can be properly (re)opened and
18800 # appended to by config.status. When coming back to configure, we
18801 # need to make the FD available again.
18802 if test "$no_create" != yes; then
18804 ac_config_status_args
=
18805 test "$silent" = yes &&
18806 ac_config_status_args
="$ac_config_status_args --quiet"
18808 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18810 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18811 # would make configure fail if this is the last instruction.
18812 $ac_cs_success || as_fn_exit $?
18814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}