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
900 program_transform_name
913 enable_option_checking
924 ac_precious_vars
='build_alias
948 # Initialize some variables set by options.
950 ac_init_version
=false
951 ac_unrecognized_opts
=
953 # The variables have the same names as the options, with
954 # dashes changed to underlines.
962 program_transform_name
=s
,x
,x
,
970 # Installation directory options.
971 # These are left unexpanded so users can "make install exec_prefix=/foo"
972 # and all the variables that are supposed to be based on exec_prefix
973 # by default will actually change.
974 # Use braces instead of parens because sh, perl, etc. also accept them.
975 # (The list follows the same order as the GNU Coding Standards.)
976 bindir
='${exec_prefix}/bin'
977 sbindir
='${exec_prefix}/sbin'
978 libexecdir
='${exec_prefix}/libexec'
979 datarootdir
='${prefix}/share'
980 datadir
='${datarootdir}'
981 sysconfdir
='${prefix}/etc'
982 sharedstatedir
='${prefix}/com'
983 localstatedir
='${prefix}/var'
984 includedir
='${prefix}/include'
985 oldincludedir
='/usr/include'
986 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
987 infodir
='${datarootdir}/info'
992 libdir
='${exec_prefix}/lib'
993 localedir
='${datarootdir}/locale'
994 mandir
='${datarootdir}/man'
1000 # If the previous option needs an argument, assign it.
1001 if test -n "$ac_prev"; then
1002 eval $ac_prev=\
$ac_option
1008 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1012 # Accept the important Cygnus configure options, so we can diagnose typos.
1014 case $ac_dashdash$ac_option in
1018 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1020 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1021 bindir
=$ac_optarg ;;
1023 -build | --build | --buil | --bui | --bu)
1024 ac_prev
=build_alias
;;
1025 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1026 build_alias
=$ac_optarg ;;
1028 -cache-file | --cache-file | --cache-fil | --cache-fi \
1029 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030 ac_prev
=cache_file
;;
1031 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1033 cache_file
=$ac_optarg ;;
1035 --config-cache | -C)
1036 cache_file
=config.cache
;;
1038 -datadir | --datadir | --datadi | --datad)
1040 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1041 datadir
=$ac_optarg ;;
1043 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044 | --dataroo | --dataro | --datar)
1045 ac_prev
=datarootdir
;;
1046 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048 datarootdir
=$ac_optarg ;;
1050 -disable-* | --disable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=no
;;
1066 -docdir | --docdir | --docdi | --doc | --do)
1068 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1069 docdir
=$ac_optarg ;;
1071 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1073 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1074 dvidir
=$ac_optarg ;;
1076 -enable-* | --enable-*)
1077 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1078 # Reject names that are not valid shell variable names.
1079 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1080 as_fn_error
"invalid feature name: $ac_useropt"
1081 ac_useropt_orig
=$ac_useropt
1082 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083 case $ac_user_opts in
1085 "enable_
$ac_useropt"
1087 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1088 ac_unrecognized_sep
=', ';;
1090 eval enable_
$ac_useropt=\
$ac_optarg ;;
1092 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1093 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1094 | --exec | --exe | --ex)
1095 ac_prev
=exec_prefix
;;
1096 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1097 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1098 | --exec=* | --exe=* | --ex=*)
1099 exec_prefix
=$ac_optarg ;;
1101 -gas | --gas | --ga | --g)
1102 # Obsolete; use --with-gas.
1105 -help | --help | --hel | --he | -h)
1106 ac_init_help
=long
;;
1107 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1108 ac_init_help
=recursive
;;
1109 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1110 ac_init_help
=short
;;
1112 -host | --host | --hos | --ho)
1113 ac_prev
=host_alias
;;
1114 -host=* | --host=* | --hos=* | --ho=*)
1115 host_alias
=$ac_optarg ;;
1117 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1119 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1121 htmldir
=$ac_optarg ;;
1123 -includedir | --includedir | --includedi | --included | --include \
1124 | --includ | --inclu | --incl | --inc)
1125 ac_prev
=includedir
;;
1126 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1127 | --includ=* | --inclu=* | --incl=* | --inc=*)
1128 includedir
=$ac_optarg ;;
1130 -infodir | --infodir | --infodi | --infod | --info | --inf)
1132 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1133 infodir
=$ac_optarg ;;
1135 -libdir | --libdir | --libdi | --libd)
1137 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1138 libdir
=$ac_optarg ;;
1140 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1141 | --libexe | --libex | --libe)
1142 ac_prev
=libexecdir
;;
1143 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1144 | --libexe=* | --libex=* | --libe=*)
1145 libexecdir
=$ac_optarg ;;
1147 -localedir | --localedir | --localedi | --localed | --locale)
1148 ac_prev
=localedir
;;
1149 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1150 localedir
=$ac_optarg ;;
1152 -localstatedir | --localstatedir | --localstatedi | --localstated \
1153 | --localstate | --localstat | --localsta | --localst | --locals)
1154 ac_prev
=localstatedir
;;
1155 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1156 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1157 localstatedir
=$ac_optarg ;;
1159 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1161 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1162 mandir
=$ac_optarg ;;
1164 -nfp | --nfp | --nf)
1165 # Obsolete; use --without-fp.
1168 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1169 | --no-cr | --no-c | -n)
1172 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1173 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1176 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1177 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1178 | --oldin | --oldi | --old | --ol | --o)
1179 ac_prev
=oldincludedir
;;
1180 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1181 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1182 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1183 oldincludedir
=$ac_optarg ;;
1185 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1187 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1188 prefix
=$ac_optarg ;;
1190 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1191 | --program-pre | --program-pr | --program-p)
1192 ac_prev
=program_prefix
;;
1193 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1194 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1195 program_prefix
=$ac_optarg ;;
1197 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1198 | --program-suf | --program-su | --program-s)
1199 ac_prev
=program_suffix
;;
1200 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1201 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1202 program_suffix
=$ac_optarg ;;
1204 -program-transform-name | --program-transform-name \
1205 | --program-transform-nam | --program-transform-na \
1206 | --program-transform-n | --program-transform- \
1207 | --program-transform | --program-transfor \
1208 | --program-transfo | --program-transf \
1209 | --program-trans | --program-tran \
1210 | --progr-tra | --program-tr | --program-t)
1211 ac_prev
=program_transform_name
;;
1212 -program-transform-name=* | --program-transform-name=* \
1213 | --program-transform-nam=* | --program-transform-na=* \
1214 | --program-transform-n=* | --program-transform-=* \
1215 | --program-transform=* | --program-transfor=* \
1216 | --program-transfo=* | --program-transf=* \
1217 | --program-trans=* | --program-tran=* \
1218 | --progr-tra=* | --program-tr=* | --program-t=*)
1219 program_transform_name
=$ac_optarg ;;
1221 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1223 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1224 pdfdir
=$ac_optarg ;;
1226 -psdir | --psdir | --psdi | --psd | --ps)
1228 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1232 | -silent | --silent | --silen | --sile | --sil)
1235 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1237 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1239 sbindir
=$ac_optarg ;;
1241 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1242 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1243 | --sharedst | --shareds | --shared | --share | --shar \
1245 ac_prev
=sharedstatedir
;;
1246 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1247 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1248 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1250 sharedstatedir
=$ac_optarg ;;
1252 -site | --site | --sit)
1254 -site=* | --site=* | --sit=*)
1257 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1259 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1260 srcdir
=$ac_optarg ;;
1262 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1263 | --syscon | --sysco | --sysc | --sys | --sy)
1264 ac_prev
=sysconfdir
;;
1265 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1266 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1267 sysconfdir
=$ac_optarg ;;
1269 -target | --target | --targe | --targ | --tar | --ta | --t)
1270 ac_prev
=target_alias
;;
1271 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1272 target_alias
=$ac_optarg ;;
1274 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1277 -version | --version | --versio | --versi | --vers | -V)
1278 ac_init_version
=: ;;
1281 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1284 as_fn_error
"invalid package name: $ac_useropt"
1285 ac_useropt_orig
=$ac_useropt
1286 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287 case $ac_user_opts in
1291 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292 ac_unrecognized_sep
=', ';;
1294 eval with_
$ac_useropt=\
$ac_optarg ;;
1296 -without-* | --without-*)
1297 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1298 # Reject names that are not valid shell variable names.
1299 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1300 as_fn_error
"invalid package name: $ac_useropt"
1301 ac_useropt_orig
=$ac_useropt
1302 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303 case $ac_user_opts in
1307 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308 ac_unrecognized_sep
=', ';;
1310 eval with_
$ac_useropt=no
;;
1313 # Obsolete; use --with-x.
1316 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317 | --x-incl | --x-inc | --x-in | --x-i)
1318 ac_prev
=x_includes
;;
1319 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1321 x_includes
=$ac_optarg ;;
1323 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325 ac_prev
=x_libraries
;;
1326 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1328 x_libraries
=$ac_optarg ;;
1330 -*) as_fn_error
"unrecognized option: \`$ac_option'
1331 Try \`$0 --help' for more information."
1335 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1336 # Reject names that are not valid shell variable names.
1337 case $ac_envvar in #(
1338 '' | [0-9]* | *[!_$as_cr_alnum]* )
1339 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1341 eval $ac_envvar=\
$ac_optarg
1342 export $ac_envvar ;;
1345 # FIXME: should be removed in autoconf 3.0.
1346 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1347 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1348 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1349 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1355 if test -n "$ac_prev"; then
1356 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1357 as_fn_error
"missing argument to $ac_option"
1360 if test -n "$ac_unrecognized_opts"; then
1361 case $enable_option_checking in
1363 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1364 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1368 # Check all directory arguments for consistency.
1369 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370 datadir sysconfdir sharedstatedir localstatedir includedir \
1371 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372 libdir localedir mandir
1374 eval ac_val
=\$
$ac_var
1375 # Remove trailing slashes.
1378 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379 eval $ac_var=\
$ac_val;;
1381 # Be sure to have absolute directory names.
1383 [\\/$
]* | ?
:[\\/]* ) continue;;
1384 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1386 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1389 # There might be people who depend on the old broken behavior: `$host'
1390 # used to hold the argument of --host etc.
1391 # FIXME: To remove some day.
1394 target
=$target_alias
1396 # FIXME: To remove some day.
1397 if test "x$host_alias" != x
; then
1398 if test "x$build_alias" = x
; then
1399 cross_compiling
=maybe
1400 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1401 If a cross compiler is detected then cross compile mode will be used." >&2
1402 elif test "x$build_alias" != "x$host_alias"; then
1408 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1410 test "$silent" = yes && exec 6>/dev
/null
1413 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1414 ac_ls_di
=`ls -di .` &&
1415 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1416 as_fn_error
"working directory cannot be determined"
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 as_fn_error
"pwd does not report name of working directory"
1421 # Find the source files, if location was not specified.
1422 if test -z "$srcdir"; then
1423 ac_srcdir_defaulted
=yes
1424 # Try the directory containing this script, then the parent directory.
1425 ac_confdir
=`$as_dirname -- "$as_myself" ||
1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427 X"$as_myself" : 'X\(//\)[^/]' \| \
1428 X"$as_myself" : 'X\(//\)$' \| \
1429 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430 $as_echo X"$as_myself" |
1431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1453 ac_srcdir_defaulted
=no
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1457 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1459 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1463 # When building in place, set srcdir=.
1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 # Remove unnecessary trailing slashes from srcdir.
1468 # Double slashes in file names in object file debugging info
1469 # mess up M-x gdb in Emacs.
1471 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473 for ac_var
in $ac_precious_vars; do
1474 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1475 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1476 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1477 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1481 # Report the --help message.
1483 if test "$ac_init_help" = "long"; then
1484 # Omit some internal or obsolete options to make the list less imposing.
1485 # This message is too long to be a string in the A/UX 3.1 sh.
1487 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1489 Usage: $0 [OPTION]... [VAR=VALUE]...
1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492 VAR=VALUE. See below for descriptions of some of the useful variables.
1494 Defaults for the options are specified in brackets.
1497 -h, --help display this help and exit
1498 --help=short display options specific to this package
1499 --help=recursive display the short help of all the included packages
1500 -V, --version display version information and exit
1501 -q, --quiet, --silent do not print \`checking...' messages
1502 --cache-file=FILE cache test results in FILE [disabled]
1503 -C, --config-cache alias for \`--cache-file=config.cache'
1504 -n, --no-create do not create output files
1505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 By default, \`make install' will install all the files in
1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516 for instance \`--prefix=\$HOME'.
1518 For better control, use the options below.
1520 Fine tuning of the installation directories:
1521 --bindir=DIR user executables [EPREFIX/bin]
1522 --sbindir=DIR system admin executables [EPREFIX/sbin]
1523 --libexecdir=DIR program executables [EPREFIX/libexec]
1524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527 --libdir=DIR object code libraries [EPREFIX/lib]
1528 --includedir=DIR C header files [PREFIX/include]
1529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532 --infodir=DIR info documentation [DATAROOTDIR/info]
1533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534 --mandir=DIR man documentation [DATAROOTDIR/man]
1535 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1536 --htmldir=DIR html documentation [DOCDIR]
1537 --dvidir=DIR dvi documentation [DOCDIR]
1538 --pdfdir=DIR pdf documentation [DOCDIR]
1539 --psdir=DIR ps documentation [DOCDIR]
1545 --build=BUILD configure
for building on BUILD
[guessed
]
1546 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1550 if test -n "$ac_init_help"; then
1551 case $ac_init_help in
1552 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1557 --disable-option-checking ignore unrecognized
--enable/--with options
1558 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1559 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1560 --enable-static[=PKGS
] build static libraries
[default
=no
]
1561 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1562 --enable-fast-install[=PKGS
]
1563 optimize
for fast installation
[default
=yes]
1564 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1565 --disable-rpath do not hardcode runtime library paths
1568 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1569 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1570 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1572 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1573 --with-apr=PATH prefix
for installed APR or the full path to
1575 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1576 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1577 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1588 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1589 the first program found out of
: `bison -y', `byacc
', `yacc'.
1590 YFLAGS The list of arguments that will be passed by default to
$YACC.
1591 This
script will default YFLAGS to the empty string to avoid a
1592 default value of
`-d' given by some make applications.
1593 CXX C++ compiler command
1594 CXXFLAGS C++ compiler flags
1595 CXXCPP C++ preprocessor
1596 PKG_CONFIG path to pkg-config utility
1598 C compiler flags for WEBKIT, overriding pkg-config
1599 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1601 C compiler flags for LIBFFI, overriding pkg-config
1602 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1603 OBJCXX Objective C++ compiler command
1604 OBJCXXFLAGS Objective C++ compiler flags
1606 Use these variables to override the choices made by `configure
' or to help
1607 it to find libraries and programs with nonstandard names/locations.
1609 Report bugs to <saurik@saurik.com>.
1610 Cycript home page: <http://www.cycript.org/>.
1615 if test "$ac_init_help" = "recursive"; then
1616 # If there are subdirs, report their specific --help.
1617 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1618 test -d "$ac_dir" ||
1619 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1627 # A ".." for each directory in $ac_dir_suffix.
1628 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1629 case $ac_top_builddir_sub in
1630 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1634 ac_abs_top_builddir=$ac_pwd
1635 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1636 # for backward compatibility:
1637 ac_top_builddir=$ac_top_build_prefix
1640 .) # We are building in place.
1642 ac_top_srcdir=$ac_top_builddir_sub
1643 ac_abs_top_srcdir=$ac_pwd ;;
1644 [\\/]* | ?:[\\/]* ) # Absolute name.
1645 ac_srcdir=$srcdir$ac_dir_suffix;
1646 ac_top_srcdir=$srcdir
1647 ac_abs_top_srcdir=$srcdir ;;
1649 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1650 ac_top_srcdir=$ac_top_build_prefix$srcdir
1651 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1653 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1655 cd "$ac_dir" || { ac_status=$?; continue; }
1656 # Check for guested configure.
1657 if test -f "$ac_srcdir/configure.gnu"; then
1659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1660 elif test -f "$ac_srcdir/configure"; then
1662 $SHELL "$ac_srcdir/configure" --help=recursive
1664 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1666 cd "$ac_pwd" || { ac_status=$?; break; }
1670 test -n "$ac_init_help" && exit $ac_status
1671 if $ac_init_version; then
1673 Cycript configure 0.9
1674 generated by GNU Autoconf 2.65
1676 Copyright (C) 2009 Free Software Foundation, Inc.
1677 This configure script is free software; the Free Software Foundation
1678 gives unlimited permission to copy, distribute and modify it.
1683 ## ------------------------ ##
1684 ## Autoconf initialization. ##
1685 ## ------------------------ ##
1687 # ac_fn_c_try_compile LINENO
1688 # --------------------------
1689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1690 ac_fn_c_try_compile ()
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext
1694 if { { ac_try="$ac_compile"
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_compile") 2>conftest.err
1703 if test -s conftest.err; then
1704 grep -v '^
*+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest.$ac_objext; then :
1715 $as_echo "$as_me: failed program was:" >&5
1716 sed 's
/^
/| /' conftest.$ac_ext >&5
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_compile
1725 # ac_fn_c_try_link LINENO
1726 # -----------------------
1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 rm -f conftest.$ac_objext conftest$ac_exeext
1732 if { { ac_try="$ac_link"
1734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735 *) ac_try_echo=$ac_try;;
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_link") 2>conftest.err
1741 if test -s conftest.err; then
1742 grep -v '^
*+' conftest.err >conftest.er1
1743 cat conftest.er1 >&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } && {
1748 test -z "$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1750 } && test -s conftest$ac_exeext && {
1751 test "$cross_compiling" = yes ||
1752 $as_test_x conftest$ac_exeext
1756 $as_echo "$as_me: failed program was:" >&5
1757 sed 's
/^
/| /' conftest.$ac_ext >&5
1761 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1762 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1763 # interfere with the next link command; also delete a directory that is
1764 # left behind by Apple's compiler. We
do this before executing the actions.
1765 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1767 as_fn_set_status
$ac_retval
1769 } # ac_fn_c_try_link
1771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1772 # -------------------------------------------------------
1773 # Tests whether HEADER exists and can be compiled using the include files in
1774 # INCLUDES, setting the cache variable VAR accordingly.
1775 ac_fn_c_check_header_compile
()
1777 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781 $as_echo_n "(cached) " >&6
1783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1788 if ac_fn_c_try_compile
"$LINENO"; then :
1793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797 $as_echo "$ac_res" >&6; }
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1800 } # ac_fn_c_check_header_compile
1802 # ac_fn_c_try_cpp LINENO
1803 # ----------------------
1804 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1808 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } >/dev/null && {
1824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835 as_fn_set_status $ac_retval
1839 # ac_fn_c_try_run LINENO
1840 # ----------------------
1841 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842 # that executables *can* be run.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 if { { ac_try="$ac_link"
1848 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1849 *) ac_try_echo
=$ac_try;;
1851 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_link") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1857 { { case "(($ac_try" in
1858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_try") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; }; }; then :
1869 $as_echo "$as_me: program exited with status $ac_status" >&5
1870 $as_echo "$as_me: failed program was:" >&5
1871 sed 's/^/| /' conftest.$ac_ext >&5
1873 ac_retval=$ac_status
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 as_fn_set_status $ac_retval
1881 # ac_fn_c_check_func LINENO FUNC VAR
1882 # ----------------------------------
1883 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1884 ac_fn_c_check_func ()
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888 $as_echo_n "checking for $2... " >&6; }
1889 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1890 $as_echo_n "(cached) " >&6
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h. */
1894 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1896 #define $2 innocuous_$2
1898 /* System header to define __stub macros and hopefully few prototypes,
1899 which can conflict with char $2 (); below.
1900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1901 <limits.h> exists even on freestanding compilers. */
1904 # include <limits.h>
1906 # include <assert.h>
1911 /* Override any GCC internal prototype to avoid an error.
1912 Use char because int might match the return type of a GCC
1913 builtin and then its argument prototype would still apply. */
1918 /* The GNU C library defines this for functions which it implements
1919 to always fail with ENOSYS. Some functions are actually named
1920 something starting with __ and the normal name is an alias. */
1921 #if defined __stub_$2 || defined __stub___$2
1933 if ac_fn_c_try_link "$LINENO"; then :
1938 rm -f core conftest.err conftest.$ac_objext \
1939 conftest$ac_exeext conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946 } # ac_fn_c_check_func
1948 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1949 # -------------------------------------------------------
1950 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1951 # the include files in INCLUDES and setting the cache variable VAR
1953 ac_fn_c_check_header_mongrel ()
1955 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1960 $as_echo_n "(cached) " >&6
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1966 # Is the header compilable?
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1968 $as_echo_n "checking $2 usability... " >&6; }
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 ac_header_compiler=yes
1977 ac_header_compiler=no
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1981 $as_echo "$ac_header_compiler" >&6; }
1983 # Is the header present?
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1985 $as_echo_n "checking $2 presence... " >&6; }
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1990 if ac_fn_c_try_cpp "$LINENO"; then :
1991 ac_header_preproc=yes
1993 ac_header_preproc=no
1995 rm -f conftest.err conftest.$ac_ext
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1997 $as_echo "$ac_header_preproc" >&6; }
1999 # So? What about this header?
2000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2003 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2009 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2011 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2013 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2015 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2017 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2019 ## -------------------------------- ##
2020 ## Report this to saurik@saurik.com ##
2021 ## -------------------------------- ##
2023 ) | sed "s/^/$as_me: WARNING: /" >&2
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2029 $as_echo_n "(cached) " >&6
2031 eval "$3=\$ac_header_compiler"
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2039 } # ac_fn_c_check_header_mongrel
2041 # ac_fn_cxx_try_compile LINENO
2042 # ----------------------------
2043 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2044 ac_fn_cxx_try_compile ()
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 rm -f conftest.$ac_objext
2048 if { { ac_try="$ac_compile"
2050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2051 *) ac_try_echo
=$ac_try;;
2053 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_compile") 2>conftest.err
2057 if test -s conftest.err
; then
2058 grep -v '^ *+' conftest.err
>conftest.er1
2059 cat conftest.er1
>&5
2060 mv -f conftest.er1 conftest.err
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; } && {
2064 test -z "$ac_cxx_werror_flag" ||
2065 test ! -s conftest.err
2066 } && test -s conftest.
$ac_objext; then :
2069 $as_echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.
$ac_ext >&5
2074 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2075 as_fn_set_status
$ac_retval
2077 } # ac_fn_cxx_try_compile
2079 # ac_fn_cxx_try_cpp LINENO
2080 # ------------------------
2081 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2082 ac_fn_cxx_try_cpp
()
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2088 *) ac_try_echo=$ac_try;;
2090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091 $as_echo "$ac_try_echo"; } >&5
2092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2094 if test -s conftest.err; then
2095 grep -v '^ *+' conftest.err >conftest.er1
2096 cat conftest.er1 >&5
2097 mv -f conftest.er1 conftest.err
2099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 test $ac_status = 0; } >/dev/null && {
2101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2102 test ! -s conftest.err
2106 $as_echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.$ac_ext >&5
2111 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2112 as_fn_set_status $ac_retval
2114 } # ac_fn_cxx_try_cpp
2116 # ac_fn_cxx_try_link LINENO
2117 # -------------------------
2118 # Try to link conftest.$ac_ext, and return whether this succeeded.
2119 ac_fn_cxx_try_link ()
2121 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2122 rm -f conftest.$ac_objext conftest$ac_exeext
2123 if { { ac_try="$ac_link"
2125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2126 *) ac_try_echo
=$ac_try;;
2128 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_link") 2>conftest.err
2132 if test -s conftest.err
; then
2133 grep -v '^ *+' conftest.err
>conftest.er1
2134 cat conftest.er1
>&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } && {
2139 test -z "$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 } && test -s conftest
$ac_exeext && {
2142 test "$cross_compiling" = yes ||
2143 $as_test_x conftest
$ac_exeext
2147 $as_echo "$as_me: failed program was:" >&5
2148 sed 's/^/| /' conftest.
$ac_ext >&5
2152 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2153 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2154 # interfere with the next link command; also delete a directory that is
2155 # left behind by Apple's compiler. We do this before executing the actions.
2156 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2157 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2158 as_fn_set_status
$ac_retval
2160 } # ac_fn_cxx_try_link
2162 # ac_fn_objcxx_try_compile LINENO
2163 # -------------------------------
2164 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2165 ac_fn_objcxx_try_compile
()
2167 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2168 rm -f conftest.
$ac_objext
2169 if { { ac_try
="$ac_compile"
2171 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2172 *) ac_try_echo=$ac_try;;
2174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2175 $as_echo "$ac_try_echo"; } >&5
2176 (eval "$ac_compile") 2>conftest.err
2178 if test -s conftest.err; then
2179 grep -v '^ *+' conftest.err >conftest.er1
2180 cat conftest.er1 >&5
2181 mv -f conftest.er1 conftest.err
2183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2184 test $ac_status = 0; } && {
2185 test -z "$ac_objcxx_werror_flag" ||
2186 test ! -s conftest.err
2187 } && test -s conftest.$ac_objext; then :
2190 $as_echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.$ac_ext >&5
2195 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_objcxx_try_compile
2199 cat >config.log <<_ACEOF
2200 This file contains any messages produced by compilers while
2201 running configure, to aid debugging if configure makes a mistake.
2203 It was created by Cycript $as_me 0.9, which was
2204 generated by GNU Autoconf 2.65. Invocation command line was
2216 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2217 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2218 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2219 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2220 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2222 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2223 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2225 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2226 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2227 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2228 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2229 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2230 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2231 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 $as_echo "PATH: $as_dir"
2256 # Keep a trace of the command line.
2257 # Strip out --no-create and --no-recursion so they do not pile up.
2258 # Strip out --silent because we don't want to record it for future runs.
2259 # Also quote any args containing shell meta-characters.
2260 # Make two passes to allow for proper duplicate-argument suppression.
2264 ac_must_keep_next=false
2270 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2272 | -silent | --silent | --silen | --sile | --sil)
2275 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2278 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2280 as_fn_append ac_configure_args1 " '$ac_arg'"
2281 if test $ac_must_keep_next = true; then
2282 ac_must_keep_next=false # Got value, back to normal.
2285 *=* | --config-cache | -C | -disable-* | --disable-* \
2286 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2287 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2288 | -with-* | --with-* | -without-* | --without-* | --x)
2289 case "$ac_configure_args0 " in
2290 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2293 -* ) ac_must_keep_next=true ;;
2296 as_fn_append ac_configure_args " '$ac_arg'"
2301 { ac_configure_args0=; unset ac_configure_args0;}
2302 { ac_configure_args1=; unset ac_configure_args1;}
2304 # When interrupted or exit'd, cleanup temporary files, and complete
2305 # config.log. We remove comments because anyway the quotes in there
2306 # would cause problems or look ugly.
2307 # WARNING: Use '\'' to represent an apostrophe within the trap.
2308 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2309 trap 'exit_status=$?
2310 # Save into config.log some information that might help in debugging.
2315 ## ---------------- ##
2316 ## Cache variables. ##
2317 ## ---------------- ##
2320 # The following way of writing the cache mishandles newlines in values,
2322 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2323 eval ac_val=\$$ac_var
2327 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2328 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2331 _ | IFS | as_nl) ;; #(
2332 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2333 *) { eval $ac_var=; unset $ac_var;} ;;
2338 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2339 *${as_nl}ac_space=\ *)
2341 "s/'\''/'\''\\\\'\'''\''/g;
2342 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2353 ## ----------------- ##
2354 ## Output variables. ##
2355 ## ----------------- ##
2358 for ac_var in $ac_subst_vars
2360 eval ac_val=\$$ac_var
2362 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364 $as_echo "$ac_var='\''$ac_val'\''"
2368 if test -n "$ac_subst_files"; then
2370 ## ------------------- ##
2371 ## File substitutions. ##
2372 ## ------------------- ##
2375 for ac_var in $ac_subst_files
2377 eval ac_val=\$$ac_var
2379 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2381 $as_echo "$ac_var='\''$ac_val'\''"
2386 if test -s confdefs.h; then
2396 test "$ac_signal" != 0 &&
2397 $as_echo "$as_me: caught signal $ac_signal"
2398 $as_echo "$as_me: exit $exit_status"
2400 rm -f core *.core core.conftest.* &&
2401 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2404 for ac_signal in 1 2 13 15; do
2405 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2409 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2410 rm -f -r conftest* confdefs.h
2412 $as_echo "/* confdefs.h */" > confdefs.h
2414 # Predefined preprocessor variables.
2416 cat >>confdefs.h <<_ACEOF
2417 #define PACKAGE_NAME "$PACKAGE_NAME"
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_STRING "$PACKAGE_STRING"
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_URL "$PACKAGE_URL"
2441 # Let the site file select an alternate cache file if it wants to.
2442 # Prefer an explicitly selected file to automatically selected ones.
2445 if test -n "$CONFIG_SITE"; then
2446 ac_site_file1=$CONFIG_SITE
2447 elif test "x$prefix" != xNONE; then
2448 ac_site_file1=$prefix/share/config.site
2449 ac_site_file2=$prefix/etc/config.site
2451 ac_site_file1=$ac_default_prefix/share/config.site
2452 ac_site_file2=$ac_default_prefix/etc/config.site
2454 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2456 test "x$ac_site_file" = xNONE && continue
2457 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2459 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2460 sed 's/^/| /' "$ac_site_file" >&5
2465 if test -r "$cache_file"; then
2466 # Some versions of bash will fail to source /dev/null (special files
2467 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2468 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2470 $as_echo "$as_me: loading cache $cache_file" >&6;}
2472 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2473 *) . "./$cache_file";;
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2478 $as_echo "$as_me: creating cache $cache_file" >&6;}
2482 # Check that the precious variables saved in the cache have kept the same
2484 ac_cache_corrupted=false
2485 for ac_var in $ac_precious_vars; do
2486 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2487 eval ac_new_set=\$ac_env_${ac_var}_set
2488 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2489 eval ac_new_val=\$ac_env_${ac_var}_value
2490 case $ac_old_set,$ac_new_set in
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2493 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2494 ac_cache_corrupted=: ;;
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2497 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2498 ac_cache_corrupted=: ;;
2501 if test "x$ac_old_val" != "x$ac_new_val"; then
2502 # differences in whitespace do not lead to failure.
2503 ac_old_val_w=`echo x
$ac_old_val`
2504 ac_new_val_w=`echo x
$ac_new_val`
2505 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2507 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2508 ac_cache_corrupted=:
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2511 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2512 eval $ac_var=\$ac_old_val
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2515 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2517 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2520 # Pass precious variables to config.status.
2521 if test "$ac_new_set" = set; then
2523 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2524 *) ac_arg=$ac_var=$ac_new_val ;;
2526 case " $ac_configure_args " in
2527 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2528 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2532 if $ac_cache_corrupted; then
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2536 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2537 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2539 ## -------------------- ##
2540 ## Main body of script. ##
2541 ## -------------------- ##
2544 ac_cpp='$CPP $CPPFLAGS'
2545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2552 for ac_dir in . "$srcdir"/.; do
2553 for ac_t in install-sh install.sh shtool; do
2554 if test -f "$ac_dir/$ac_t"; then
2556 ac_install_sh="$ac_aux_dir/$ac_t -c"
2561 if test -z "$ac_aux_dir"; then
2562 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2565 # These three variables are undocumented and unsupported,
2566 # and are intended to be withdrawn in a future Autoconf release.
2567 # They can cause serious problems if a builder's source tree is in a directory
2568 # whose full name contains unusual characters.
2569 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2570 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2571 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2577 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2582 macro_version='2.2.6b'
2583 macro_revision='1.3017'
2597 ltmain="$ac_aux_dir/ltmain.sh"
2599 # Make sure we can run config.sub.
2600 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2601 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2604 $as_echo_n "checking build system type... " >&6; }
2605 if test "${ac_cv_build+set}" = set; then :
2606 $as_echo_n "(cached) " >&6
2608 ac_build_alias=$build_alias
2609 test "x$ac_build_alias" = x &&
2610 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2611 test "x$ac_build_alias" = x &&
2612 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2613 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2614 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2618 $as_echo "$ac_cv_build" >&6; }
2619 case $ac_cv_build in
2621 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2624 ac_save_IFS=$IFS; IFS='-'
2630 # Remember, the first character of IFS is used to create $*,
2631 # except with old shells:
2634 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2638 $as_echo_n "checking host system type... " >&6; }
2639 if test "${ac_cv_host+set}" = set; then :
2640 $as_echo_n "(cached) " >&6
2642 if test "x$host_alias" = x; then
2643 ac_cv_host=$ac_cv_build
2645 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2646 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2651 $as_echo "$ac_cv_host" >&6; }
2654 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2657 ac_save_IFS=$IFS; IFS='-'
2663 # Remember, the first character of IFS is used to create $*,
2664 # except with old shells:
2667 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2671 ac_cpp='$CPP $CPPFLAGS'
2672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2675 if test -n "$ac_tool_prefix"; then
2676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2677 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if test "${ac_cv_prog_CC+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$CC"; then
2684 ac_cv_prog_CC="$CC" # Let the user override the test.
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$CC"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2706 $as_echo "$CC" >&6; }
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2709 $as_echo "no" >&6; }
2714 if test -z "$ac_cv_prog_CC"; then
2716 # Extract the first word of "gcc", so it can be a program name with args.
2717 set dummy gcc; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$ac_ct_CC"; then
2724 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 ac_cv_prog_ac_ct_CC="gcc"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2744 if test -n "$ac_ct_CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2746 $as_echo "$ac_ct_CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2752 if test "x$ac_ct_CC" = x; then
2755 case $cross_compiling:$ac_tool_warned in
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2759 ac_tool_warned=yes ;;
2767 if test -z "$CC"; then
2768 if test -n "$ac_tool_prefix"; then
2769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2770 set dummy ${ac_tool_prefix}cc; ac_word=$2
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if test "${ac_cv_prog_CC+set}" = set; then :
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$CC"; then
2777 ac_cv_prog_CC="$CC" # Let the user override the test.
2779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir=.
2784 for ac_exec_ext in '' $ac_executable_extensions; do
2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786 ac_cv_prog_CC="${ac_tool_prefix}cc"
2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 if test -n "$CC"; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2799 $as_echo "$CC" >&6; }
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2802 $as_echo "no" >&6; }
2808 if test -z "$CC"; then
2809 # Extract the first word of "cc", so it can be a program name with args.
2810 set dummy cc; ac_word=$2
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2812 $as_echo_n "checking for $ac_word... " >&6; }
2813 if test "${ac_cv_prog_CC+set}" = set; then :
2814 $as_echo_n "(cached) " >&6
2816 if test -n "$CC"; then
2817 ac_cv_prog_CC="$CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2828 ac_prog_rejected=yes
2832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2839 if test $ac_prog_rejected = yes; then
2840 # We found a bogon in the path, so make sure we never use it.
2841 set dummy $ac_cv_prog_CC
2843 if test $# != 0; then
2844 # We chose a different compiler from the bogus one.
2845 # However, it has the same basename, so the bogon will be chosen
2846 # first if we set CC to just the basename; use the full file name.
2848 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2854 if test -n "$CC"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2856 $as_echo "$CC" >&6; }
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859 $as_echo "no" >&6; }
2864 if test -z "$CC"; then
2865 if test -n "$ac_tool_prefix"; then
2866 for ac_prog in cl.exe
2868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871 $as_echo_n "checking for $ac_word... " >&6; }
2872 if test "${ac_cv_prog_CC+set}" = set; then :
2873 $as_echo_n "(cached) " >&6
2875 if test -n "$CC"; then
2876 ac_cv_prog_CC="$CC" # Let the user override the test.
2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir=.
2883 for ac_exec_ext in '' $ac_executable_extensions; do
2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 if test -n "$CC"; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2898 $as_echo "$CC" >&6; }
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901 $as_echo "no" >&6; }
2905 test -n "$CC" && break
2908 if test -z "$CC"; then
2910 for ac_prog in cl.exe
2912 # Extract the first word of "$ac_prog", so it can be a program name with args.
2913 set dummy $ac_prog; ac_word=$2
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2915 $as_echo_n "checking for $ac_word... " >&6; }
2916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2917 $as_echo_n "(cached) " >&6
2919 if test -n "$ac_ct_CC"; then
2920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 test -z "$as_dir" && as_dir=.
2927 for ac_exec_ext in '' $ac_executable_extensions; do
2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2929 ac_cv_prog_ac_ct_CC="$ac_prog"
2930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2940 if test -n "$ac_ct_CC"; then
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2942 $as_echo "$ac_ct_CC" >&6; }
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2945 $as_echo "no" >&6; }
2949 test -n "$ac_ct_CC" && break
2952 if test "x$ac_ct_CC" = x; then
2955 case $cross_compiling:$ac_tool_warned in
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2959 ac_tool_warned=yes ;;
2968 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error "no acceptable C compiler found
in \
$PATH
2971 See \
`config.log' for more details." "$LINENO" 5; }
2973 # Provide some information about the compiler.
2974 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2977 for ac_option in --version -v -V -qversion; do
2978 { { ac_try="$ac_compiler $ac_option >&5"
2980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2981 *) ac_try_echo
=$ac_try;;
2983 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2987 if test -s conftest.err
; then
2989 ... rest of stderr output deleted ...
2990 10q' conftest.err
>conftest.er1
2991 cat conftest.er1
>&5
2993 rm -f conftest.er1 conftest.err
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; }
2998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3009 ac_clean_files_save
=$ac_clean_files
3010 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3011 # Try to create an executable without -o first, disregard a.out.
3012 # It will help us diagnose broken compilers, and finding out an intuition
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3015 $as_echo_n "checking whether the C compiler works... " >&6; }
3016 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3018 # The possible output files:
3019 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3022 for ac_file
in $ac_files
3025 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3026 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3031 if { { ac_try
="$ac_link_default"
3033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link_default") 2>&5
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; }; then :
3042 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3043 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3044 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3045 # so that the user can short-circuit this test for compilers unknown to
3047 for ac_file in $ac_files ''
3049 test -f "$ac_file" || continue
3051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3054 # We found the default executable, but exeext='' is most
3058 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3060 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3062 # We set ac_cv_exeext here because the later test for it is not
3063 # safe: cross compilers may not add the suffix if given an `-o'
3064 # argument, so we may need to know it at that point already.
3065 # Even if this section looks crufty: it has the advantage of
3072 test "$ac_cv_exeext" = no && ac_cv_exeext=
3077 if test -z "$ac_file"; then :
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's
/^
/| /' conftest.$ac_ext >&5
3083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3085 { as_fn_set_status 77
3086 as_fn_error "C compiler cannot create executables
3087 See \`config.log
' for more details." "$LINENO" 5; }; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3093 $as_echo_n "checking for C compiler default output file name... " >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3095 $as_echo "$ac_file" >&6; }
3096 ac_exeext=$ac_cv_exeext
3098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3099 ac_clean_files=$ac_clean_files_save
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3101 $as_echo_n "checking for suffix of executables... " >&6; }
3102 if { { ac_try="$ac_link"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_link") 2>&5
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; }; then :
3113 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3114 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3115 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3117 for ac_file
in conftest.exe conftest conftest.
*; do
3118 test -f "$ac_file" || continue
3120 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3121 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3130 See \`config.log' for more details." "$LINENO" 5; }
3132 rm -f conftest conftest
$ac_cv_exeext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3134 $as_echo "$ac_cv_exeext" >&6; }
3136 rm -f conftest.
$ac_ext
3137 EXEEXT
=$ac_cv_exeext
3139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3145 FILE *f = fopen ("conftest.out", "w");
3146 return ferror (f) || fclose (f) != 0;
3152 ac_clean_files
="$ac_clean_files conftest.out"
3153 # Check that the compiler produces executables we can run. If not, either
3154 # the compiler is broken, or we cross compile.
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3156 $as_echo_n "checking whether we are cross compiling... " >&6; }
3157 if test "$cross_compiling" != yes; then
3158 { { ac_try
="$ac_link"
3160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_link") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }
3169 if { ac_try='./conftest$ac_cv_exeext'
3170 { { case "(($ac_try" in
3171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3172 *) ac_try_echo
=$ac_try;;
3174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_try") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; }; then
3182 if test "$cross_compiling" = maybe
; then
3185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error
"cannot run C compiled programs.
3188 If you meant to cross compile, use \`--host'.
3189 See \`config.log' for more details." "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3194 $as_echo "$cross_compiling" >&6; }
3196 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3197 ac_clean_files
=$ac_clean_files_save
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3199 $as_echo_n "checking for suffix of object files... " >&6; }
3200 if test "${ac_cv_objext+set}" = set; then :
3201 $as_echo_n "(cached) " >&6
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3214 rm -f conftest.o conftest.obj
3215 if { { ac_try
="$ac_compile"
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_compile") 2>&5
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; }; then :
3226 for ac_file in conftest.o conftest.obj conftest.*; do
3227 test -f "$ac_file" || continue;
3229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3230 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error "cannot compute suffix of object files
: cannot compile
3241 See \
`config.log' for more details." "$LINENO" 5; }
3243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3246 $as_echo "$ac_cv_objext" >&6; }
3247 OBJEXT=$ac_cv_objext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3250 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3251 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3252 $as_echo_n "(cached) " >&6
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3268 if ac_fn_c_try_compile "$LINENO"; then :
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3278 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3279 if test $ac_compiler_gnu = yes; then
3284 ac_test_CFLAGS=${CFLAGS+set}
3285 ac_save_CFLAGS=$CFLAGS
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3287 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3288 if test "${ac_cv_prog_cc_g+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3291 ac_save_c_werror_flag=$ac_c_werror_flag
3292 ac_c_werror_flag=yes
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_c_try_compile "$LINENO"; then :
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3321 if ac_fn_c_try_compile "$LINENO"; then :
3324 ac_c_werror_flag=$ac_save_c_werror_flag
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3337 if ac_fn_c_try_compile "$LINENO"; then :
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 ac_c_werror_flag=$ac_save_c_werror_flag
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3348 $as_echo "$ac_cv_prog_cc_g" >&6; }
3349 if test "$ac_test_CFLAGS" = set; then
3350 CFLAGS=$ac_save_CFLAGS
3351 elif test $ac_cv_prog_cc_g = yes; then
3352 if test "$GCC" = yes; then
3358 if test "$GCC" = yes; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3365 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3366 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3367 $as_echo_n "(cached) " >&6
3369 ac_cv_prog_cc_c89=no
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3375 #include <sys/types.h>
3376 #include <sys/stat.h>
3377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3378 struct buf { int x; };
3379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3380 static char *e (p, i)
3386 static char *f (char * (*g) (char **, int), char **p, ...)
3391 s = g (p, va_arg (v,int));
3396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3397 function prototypes and stuff, but not '\xHH' hex character constants.
3398 These don't provoke an error unfortunately, instead are silently treated
3399 as 'x'. The following induces an error, until -std is added to get
3400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3401 array size at least. It's necessary to write '\x00'==0 to get something
3402 that's true only with -std. */
3403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3406 inside strings and character constants. */
3408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3410 int test (int i, double x);
3411 struct s1 {int (*f) (int a);};
3412 struct s2 {int (*f) (double a);};
3413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3425 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3427 CC="$ac_save_CC $ac_arg"
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 ac_cv_prog_cc_c89=$ac_arg
3431 rm -f core conftest.err conftest.$ac_objext
3432 test "x$ac_cv_prog_cc_c89" != "xno" && break
3434 rm -f conftest.$ac_ext
3439 case "x$ac_cv_prog_cc_c89" in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3442 $as_echo "none needed" >&6; } ;;
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3445 $as_echo "unsupported" >&6; } ;;
3447 CC="$CC $ac_cv_prog_cc_c89"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3451 if test "x$ac_cv_prog_cc_c89" != xno; then :
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3462 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3463 if test "${ac_cv_path_SED+set}" = set; then :
3464 $as_echo_n "(cached) " >&6
3466 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3467 for ac_i in 1 2 3 4 5 6 7; do
3468 ac_script="$ac_script$as_nl$ac_script"
3470 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3471 { ac_script=; unset ac_script;}
3472 if test -z "$SED"; then
3473 ac_path_SED_found=false
3474 # Loop through the user's path and test for each of PROGNAME-LIST
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 test -z "$as_dir" && as_dir=.
3480 for ac_prog in sed gsed; do
3481 for ac_exec_ext in '' $ac_executable_extensions; do
3482 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3483 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3484 # Check for GNU ac_path_SED and select it if it is found.
3485 # Check for GNU $ac_path_SED
3486 case `"$ac_path_SED" --version 2>&1` in
3488 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3491 $as_echo_n 0123456789 >"conftest.in"
3494 cat "conftest.in" "conftest.in" >"conftest.tmp"
3495 mv "conftest.tmp" "conftest.in"
3496 cp "conftest.in" "conftest.nl"
3497 $as_echo '' >> "conftest.nl"
3498 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3500 as_fn_arith $ac_count + 1 && ac_count=$as_val
3501 if test $ac_count -gt ${ac_path_SED_max-0}; then
3502 # Best one so far, save it but keep looking for a better one
3503 ac_cv_path_SED="$ac_path_SED"
3504 ac_path_SED_max=$ac_count
3506 # 10*(2^10) chars as input seems more than enough
3507 test $ac_count -gt 10 && break
3509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3512 $ac_path_SED_found && break 3
3517 if test -z "$ac_cv_path_SED"; then
3518 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3526 $as_echo "$ac_cv_path_SED" >&6; }
3527 SED="$ac_cv_path_SED"
3530 test -z "$SED" && SED=sed
3531 Xsed="$SED -e 1s/^X//"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3544 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3545 if test "${ac_cv_path_GREP+set}" = set; then :
3546 $as_echo_n "(cached) " >&6
3548 if test -z "$GREP"; then
3549 ac_path_GREP_found=false
3550 # Loop through the user's path and test for each of PROGNAME-LIST
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3555 test -z "$as_dir" && as_dir=.
3556 for ac_prog in grep ggrep; do
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3559 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3560 # Check for GNU ac_path_GREP and select it if it is found.
3561 # Check for GNU $ac_path_GREP
3562 case `"$ac_path_GREP" --version 2>&1` in
3564 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3567 $as_echo_n 0123456789 >"conftest.in"
3570 cat "conftest.in" "conftest.in" >"conftest.tmp"
3571 mv "conftest.tmp" "conftest.in"
3572 cp "conftest.in" "conftest.nl"
3573 $as_echo 'GREP' >> "conftest.nl"
3574 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3575 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3576 as_fn_arith $ac_count + 1 && ac_count=$as_val
3577 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3578 # Best one so far, save it but keep looking for a better one
3579 ac_cv_path_GREP="$ac_path_GREP"
3580 ac_path_GREP_max=$ac_count
3582 # 10*(2^10) chars as input seems more than enough
3583 test $ac_count -gt 10 && break
3585 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3588 $ac_path_GREP_found && break 3
3593 if test -z "$ac_cv_path_GREP"; then
3594 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3597 ac_cv_path_GREP=$GREP
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3602 $as_echo "$ac_cv_path_GREP" >&6; }
3603 GREP="$ac_cv_path_GREP"
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3607 $as_echo_n "checking for egrep... " >&6; }
3608 if test "${ac_cv_path_EGREP+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3611 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3612 then ac_cv_path_EGREP="$GREP -E"
3614 if test -z "$EGREP"; then
3615 ac_path_EGREP_found=false
3616 # Loop through the user's path and test for each of PROGNAME-LIST
3617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3618 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3621 test -z "$as_dir" && as_dir=.
3622 for ac_prog in egrep; do
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3625 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3626 # Check for GNU ac_path_EGREP and select it if it is found.
3627 # Check for GNU $ac_path_EGREP
3628 case `"$ac_path_EGREP" --version 2>&1` in
3630 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3633 $as_echo_n 0123456789 >"conftest.in"
3636 cat "conftest.in" "conftest.in" >"conftest.tmp"
3637 mv "conftest.tmp" "conftest.in"
3638 cp "conftest.in" "conftest.nl"
3639 $as_echo 'EGREP' >> "conftest.nl"
3640 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3642 as_fn_arith $ac_count + 1 && ac_count=$as_val
3643 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3644 # Best one so far, save it but keep looking for a better one
3645 ac_cv_path_EGREP="$ac_path_EGREP"
3646 ac_path_EGREP_max=$ac_count
3648 # 10*(2^10) chars as input seems more than enough
3649 test $ac_count -gt 10 && break
3651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3654 $ac_path_EGREP_found && break 3
3659 if test -z "$ac_cv_path_EGREP"; then
3660 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3663 ac_cv_path_EGREP=$EGREP
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3669 $as_echo "$ac_cv_path_EGREP" >&6; }
3670 EGREP="$ac_cv_path_EGREP"
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3674 $as_echo_n "checking for fgrep... " >&6; }
3675 if test "${ac_cv_path_FGREP+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3678 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3679 then ac_cv_path_FGREP="$GREP -F"
3681 if test -z "$FGREP"; then
3682 ac_path_FGREP_found=false
3683 # Loop through the user's path and test for each of PROGNAME-LIST
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3688 test -z "$as_dir" && as_dir=.
3689 for ac_prog in fgrep; do
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3692 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3693 # Check for GNU ac_path_FGREP and select it if it is found.
3694 # Check for GNU $ac_path_FGREP
3695 case `"$ac_path_FGREP" --version 2>&1` in
3697 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3700 $as_echo_n 0123456789 >"conftest.in"
3703 cat "conftest.in" "conftest.in" >"conftest.tmp"
3704 mv "conftest.tmp" "conftest.in"
3705 cp "conftest.in" "conftest.nl"
3706 $as_echo 'FGREP' >> "conftest.nl"
3707 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3708 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3709 as_fn_arith $ac_count + 1 && ac_count=$as_val
3710 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3711 # Best one so far, save it but keep looking for a better one
3712 ac_cv_path_FGREP="$ac_path_FGREP"
3713 ac_path_FGREP_max=$ac_count
3715 # 10*(2^10) chars as input seems more than enough
3716 test $ac_count -gt 10 && break
3718 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3721 $ac_path_FGREP_found && break 3
3726 if test -z "$ac_cv_path_FGREP"; then
3727 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3730 ac_cv_path_FGREP=$FGREP
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3736 $as_echo "$ac_cv_path_FGREP" >&6; }
3737 FGREP="$ac_cv_path_FGREP"
3740 test -z "$GREP" && GREP=grep
3760 # Check whether --with-gnu-ld was given.
3761 if test "${with_gnu_ld+set}" = set; then :
3762 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3768 if test "$GCC" = yes; then
3769 # Check if gcc -print-prog-name=ld gives a path.
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3771 $as_echo_n "checking for ld used by $CC... " >&6; }
3774 # gcc leaves a trailing carriage return which upsets mingw
3775 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3777 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3780 # Accept absolute paths.
3782 re_direlt='/[^/][^/]*/\.\./'
3783 # Canonicalize the pathname of ld
3784 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3785 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3786 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3788 test -z "$LD" && LD="$ac_prog"
3791 # If it fails, then pretend we aren't using GCC.
3795 # If it is relative, then search for the first ld in PATH.
3799 elif test "$with_gnu_ld" = yes; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3801 $as_echo_n "checking for GNU ld... " >&6; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3804 $as_echo_n "checking for non-GNU ld... " >&6; }
3806 if test "${lt_cv_path_LD+set}" = set; then :
3807 $as_echo_n "(cached) " >&6
3809 if test -z "$LD"; then
3810 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3811 for ac_dir in $PATH; do
3813 test -z "$ac_dir" && ac_dir=.
3814 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3815 lt_cv_path_LD="$ac_dir/$ac_prog"
3816 # Check to see if the program is GNU ld. I'd rather use --version,
3817 # but apparently some variants of GNU ld only accept -v.
3818 # Break only if it was the GNU/non-GNU ld that we prefer.
3819 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3820 *GNU* | *'with BFD'*)
3821 test "$with_gnu_ld" != no && break
3824 test "$with_gnu_ld" != yes && break
3831 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3836 if test -n "$LD"; then
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3838 $as_echo "$LD" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3843 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3845 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3846 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3847 $as_echo_n "(cached) " >&6
3849 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3850 case `$LD -v 2>&1 </dev
/null
` in
3851 *GNU* | *'with BFD'*)
3852 lt_cv_prog_gnu_ld=yes
3855 lt_cv_prog_gnu_ld=no
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3860 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3861 with_gnu_ld=$lt_cv_prog_gnu_ld
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3872 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3873 if test "${lt_cv_path_NM+set}" = set; then :
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$NM"; then
3877 # Let the user override the test.
3880 lt_nm_to_check="${ac_tool_prefix}nm"
3881 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3882 lt_nm_to_check="$lt_nm_to_check nm"
3884 for lt_tmp_nm in $lt_nm_to_check; do
3885 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3886 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3888 test -z "$ac_dir" && ac_dir=.
3889 tmp_nm="$ac_dir/$lt_tmp_nm"
3890 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3891 # Check to see if the nm accepts a BSD-compat flag.
3892 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3893 # nm: unknown option "B" ignored
3894 # Tru64's nm complains that
/dev
/null is an invalid object
file
3895 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3896 */dev
/null
* | *'Invalid file or object type'*)
3897 lt_cv_path_NM
="$tmp_nm -B"
3901 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3903 lt_cv_path_NM
="$tmp_nm -p"
3907 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3908 continue # so that we can try to find one that supports BSD flags
3917 : ${lt_cv_path_NM=no}
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3921 $as_echo "$lt_cv_path_NM" >&6; }
3922 if test "$lt_cv_path_NM" != "no"; then
3925 # Didn't find any BSD compatible name lister, look for dumpbin.
3926 if test -n "$ac_tool_prefix"; then
3927 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3929 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3930 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$DUMPBIN"; then
3937 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 DUMPBIN
=$ac_cv_prog_DUMPBIN
3957 if test -n "$DUMPBIN"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3959 $as_echo "$DUMPBIN" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$DUMPBIN" && break
3969 if test -z "$DUMPBIN"; then
3970 ac_ct_DUMPBIN
=$DUMPBIN
3971 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3973 # Extract the first word of "$ac_prog", so it can be a program name with args.
3974 set dummy
$ac_prog; ac_word
=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$ac_ct_DUMPBIN"; then
3981 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir
=.
3988 for ac_exec_ext
in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4001 if test -n "$ac_ct_DUMPBIN"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4003 $as_echo "$ac_ct_DUMPBIN" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4010 test -n "$ac_ct_DUMPBIN" && break
4013 if test "x$ac_ct_DUMPBIN" = x
; then
4016 case $cross_compiling:$ac_tool_warned in
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020 ac_tool_warned
=yes ;;
4022 DUMPBIN
=$ac_ct_DUMPBIN
4027 if test "$DUMPBIN" != ":"; then
4031 test -z "$NM" && NM
=nm
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4039 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4040 if test "${lt_cv_nm_interface+set}" = set; then :
4041 $as_echo_n "(cached) " >&6
4043 lt_cv_nm_interface
="BSD nm"
4044 echo "int some_variable = 0;" > conftest.
$ac_ext
4045 (eval echo "\"\$as_me:4045: $ac_compile\"" >&5)
4046 (eval "$ac_compile" 2>conftest.err
)
4047 cat conftest.err
>&5
4048 (eval echo "\"\$as_me:4048: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4049 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4050 cat conftest.err
>&5
4051 (eval echo "\"\$as_me:4051: output\"" >&5)
4052 cat conftest.out
>&5
4053 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4054 lt_cv_nm_interface
="MS dumpbin"
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4059 $as_echo "$lt_cv_nm_interface" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4062 $as_echo_n "checking whether ln -s works... " >&6; }
4064 if test "$LN_S" = "ln -s"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4066 $as_echo "yes" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4069 $as_echo "no, using $LN_S" >&6; }
4072 # find the maximum length of command line arguments
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4074 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4075 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
4083 # On DJGPP, this test can blow up pretty badly due to problems in libc
4084 # (any single argument exceeding 2000 bytes causes a buffer overrun
4085 # during glob expansion). Even if it were fixed, the result of this
4086 # check would be larger than it should be.
4087 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4091 # Under GNU Hurd, this test is not required because there is
4092 # no limit to the length of command line arguments.
4093 # Libtool will interpret -1 as no limit whatsoever
4094 lt_cv_sys_max_cmd_len
=-1;
4097 cygwin
* | mingw
* | cegcc
*)
4098 # On Win9x/ME, this test blows up -- it succeeds, but takes
4099 # about 5 minutes as the teststring grows exponentially.
4100 # Worse, since 9x/ME are not pre-emptively multitasking,
4101 # you end up with a "frozen" computer, even though with patience
4102 # the test eventually succeeds (with a max line length of 256k).
4103 # Instead, let's just punt: use the minimum linelength reported by
4104 # all of the supported platforms: 8192 (on NT/2K/XP).
4105 lt_cv_sys_max_cmd_len
=8192;
4109 # On AmigaOS with pdksh, this test takes hours, literally.
4110 # So we just punt and use a minimum line length of 8192.
4111 lt_cv_sys_max_cmd_len
=8192;
4114 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4115 # This has been around since 386BSD, at least. Likely further.
4116 if test -x /sbin
/sysctl
; then
4117 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4118 elif test -x /usr
/sbin
/sysctl
; then
4119 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4121 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4123 # And add a safety zone
4124 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4125 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4129 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4130 lt_cv_sys_max_cmd_len
=196608
4134 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4135 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4136 # nice to cause kernel panics so lets avoid the loop below.
4137 # First set a reasonable default.
4138 lt_cv_sys_max_cmd_len
=16384
4140 if test -x /sbin
/sysconfig
; then
4141 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4142 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4147 lt_cv_sys_max_cmd_len
=102400
4149 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4150 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4151 if test -n "$kargmax"; then
4152 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4154 lt_cv_sys_max_cmd_len
=32768
4158 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4159 if test -n "$lt_cv_sys_max_cmd_len"; then
4160 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4161 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4163 # Make teststring a little bigger before we do anything with it.
4164 # a 1K string should be a reasonable start.
4165 for i
in 1 2 3 4 5 6 7 8 ; do
4166 teststring
=$teststring$teststring
4168 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4169 # If test is not a shell built-in, we'll probably end up computing a
4170 # maximum length that is only half of the actual maximum length, but
4172 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4173 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4174 test $i != 17 # 1/2 MB should be enough
4177 teststring
=$teststring$teststring
4179 # Only check the string length outside the loop.
4180 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4182 # Add a significant safety factor because C++ compilers can tack on
4183 # massive amounts of additional arguments before passing them to the
4184 # linker. It appears as though 1/2 is a usable value.
4185 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4192 if test -n $lt_cv_sys_max_cmd_len ; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4194 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4197 $as_echo "none" >&6; }
4199 max_cmd_len
=$lt_cv_sys_max_cmd_len
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4211 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4212 # Try some XSI features
4215 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4217 && eval 'test $(( 1 + 1 )) -eq 2 \
4218 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4221 $as_echo "$xsi_shell" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4225 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4227 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4229 && lt_shell_append
=yes
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4231 $as_echo "$lt_shell_append" >&6; }
4234 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4244 # test EBCDIC or ASCII
4245 case `echo X|tr X '\101'` in
4246 A
) # ASCII based system
4247 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4248 lt_SP2NL
='tr \040 \012'
4249 lt_NL2SP
='tr \015\012 \040\040'
4251 *) # EBCDIC based system
4252 lt_SP2NL
='tr \100 \n'
4253 lt_NL2SP
='tr \r\n \100\100'
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4266 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4267 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4268 $as_echo_n "(cached) " >&6
4270 lt_cv_ld_reload_flag
='-r'
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4273 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4274 reload_flag
=$lt_cv_ld_reload_flag
4275 case $reload_flag in
4277 *) reload_flag
=" $reload_flag" ;;
4279 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4282 if test "$GCC" = yes; then
4283 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4285 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4298 if test -n "$ac_tool_prefix"; then
4299 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4300 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4304 $as_echo_n "(cached) " >&6
4306 if test -n "$OBJDUMP"; then
4307 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4313 test -z "$as_dir" && as_dir
=.
4314 for ac_exec_ext
in '' $ac_executable_extensions; do
4315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4316 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 OBJDUMP
=$ac_cv_prog_OBJDUMP
4327 if test -n "$OBJDUMP"; then
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4329 $as_echo "$OBJDUMP" >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4337 if test -z "$ac_cv_prog_OBJDUMP"; then
4338 ac_ct_OBJDUMP
=$OBJDUMP
4339 # Extract the first word of "objdump", so it can be a program name with args.
4340 set dummy objdump
; ac_word
=$2
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4342 $as_echo_n "checking for $ac_word... " >&6; }
4343 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -n "$ac_ct_OBJDUMP"; then
4347 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir
=.
4354 for ac_exec_ext
in '' $ac_executable_extensions; do
4355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4356 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4367 if test -n "$ac_ct_OBJDUMP"; then
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4369 $as_echo "$ac_ct_OBJDUMP" >&6; }
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4375 if test "x$ac_ct_OBJDUMP" = x
; then
4378 case $cross_compiling:$ac_tool_warned in
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4382 ac_tool_warned
=yes ;;
4384 OBJDUMP
=$ac_ct_OBJDUMP
4387 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4390 test -z "$OBJDUMP" && OBJDUMP
=objdump
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4401 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4402 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4403 $as_echo_n "(cached) " >&6
4405 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4406 lt_cv_file_magic_test_file
=
4407 lt_cv_deplibs_check_method
='unknown'
4408 # Need to set the preceding variable on all platforms that support
4409 # interlibrary dependencies.
4410 # 'none' -- dependencies not supported.
4411 # `unknown' -- same as none, but documents that we really don't know.
4412 # 'pass_all' -- all dependencies passed with no checks.
4413 # 'test_compile' -- check by making test program.
4414 # 'file_magic [[regex]]' -- check by looking for files in library path
4415 # which responds to the $file_magic_cmd with a given extended regex.
4416 # If you have `file' or equivalent on your system and you're not sure
4417 # whether `pass_all' will *always* work, you probably want this one.
4421 lt_cv_deplibs_check_method
=pass_all
4425 lt_cv_deplibs_check_method
=pass_all
4429 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4430 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4431 lt_cv_file_magic_test_file
=/shlib
/libc.so
4435 # func_win32_libid is a shell function defined in ltmain.sh
4436 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4437 lt_cv_file_magic_cmd
='func_win32_libid'
4441 # Base MSYS/MinGW do not provide the 'file' command needed by
4442 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4443 # unless we find 'file', for example because we are cross-compiling.
4444 if ( file / ) >/dev
/null
2>&1; then
4445 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4446 lt_cv_file_magic_cmd
='func_win32_libid'
4448 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4449 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4454 # use the weaker test based on 'objdump'. See mingw*.
4455 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4456 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4459 darwin
* | rhapsody
*)
4460 lt_cv_deplibs_check_method
=pass_all
4463 freebsd
* | dragonfly
*)
4464 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4467 # Not sure whether the presence of OpenBSD here was a mistake.
4468 # Let's accept both of them until this is cleared up.
4469 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4470 lt_cv_file_magic_cmd
=/usr
/bin
/file
4471 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4475 lt_cv_deplibs_check_method
=pass_all
4480 lt_cv_deplibs_check_method
=pass_all
4483 hpux10.20
* | hpux11
*)
4484 lt_cv_file_magic_cmd
=/usr
/bin
/file
4487 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4488 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4491 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]'
4492 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4495 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4496 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4502 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4503 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4506 irix5
* | irix6
* | nonstopux
*)
4508 *-32|*"-32 ") libmagic
=32-bit;;
4509 *-n32|*"-n32 ") libmagic
=N32
;;
4510 *-64|*"-64 ") libmagic
=64-bit;;
4511 *) libmagic
=never
-match;;
4513 lt_cv_deplibs_check_method
=pass_all
4516 # This must be Linux ELF.
4517 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4518 lt_cv_deplibs_check_method
=pass_all
4521 netbsd
* | netbsdelf
*-gnu)
4522 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4523 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4525 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4530 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4531 lt_cv_file_magic_cmd
=/usr
/bin
/file
4532 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4536 lt_cv_deplibs_check_method
=pass_all
4540 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4541 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4543 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4547 osf3
* | osf4
* | osf5
*)
4548 lt_cv_deplibs_check_method
=pass_all
4552 lt_cv_deplibs_check_method
=pass_all
4556 lt_cv_deplibs_check_method
=pass_all
4559 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4560 lt_cv_deplibs_check_method
=pass_all
4564 case $host_vendor in
4566 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]'
4567 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4570 lt_cv_deplibs_check_method
=pass_all
4573 lt_cv_file_magic_cmd
='/bin/file'
4574 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4577 lt_cv_file_magic_cmd
='/bin/file'
4578 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4579 lt_cv_file_magic_test_file
=/lib
/libc.so
4582 lt_cv_deplibs_check_method
=pass_all
4585 lt_cv_deplibs_check_method
=pass_all
4591 lt_cv_deplibs_check_method
=pass_all
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4597 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4598 file_magic_cmd
=$lt_cv_file_magic_cmd
4599 deplibs_check_method
=$lt_cv_deplibs_check_method
4600 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4613 if test -n "$ac_tool_prefix"; then
4614 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4615 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if test "${ac_cv_prog_AR+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$AR"; then
4622 ac_cv_prog_AR
="$AR" # Let the user override the test.
4624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir
=.
4629 for ac_exec_ext
in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 if test -n "$AR"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4644 $as_echo "$AR" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4652 if test -z "$ac_cv_prog_AR"; then
4654 # Extract the first word of "ar", so it can be a program name with args.
4655 set dummy
ar; ac_word
=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$ac_ct_AR"; then
4662 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir
=.
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4671 ac_cv_prog_ac_ct_AR
="ar"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4682 if test -n "$ac_ct_AR"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4684 $as_echo "$ac_ct_AR" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4690 if test "x$ac_ct_AR" = x
; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned
=yes ;;
4705 test -z "$AR" && AR
=ar
4706 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4718 if test -n "$ac_tool_prefix"; then
4719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4720 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test "${ac_cv_prog_STRIP+set}" = set; then :
4724 $as_echo_n "(cached) " >&6
4726 if test -n "$STRIP"; then
4727 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 STRIP
=$ac_cv_prog_STRIP
4747 if test -n "$STRIP"; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4749 $as_echo "$STRIP" >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752 $as_echo "no" >&6; }
4757 if test -z "$ac_cv_prog_STRIP"; then
4759 # Extract the first word of "strip", so it can be a program name with args.
4760 set dummy strip
; ac_word
=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -n "$ac_ct_STRIP"; then
4767 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir
=.
4774 for ac_exec_ext
in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_prog_ac_ct_STRIP
="strip"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4786 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4787 if test -n "$ac_ct_STRIP"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4789 $as_echo "$ac_ct_STRIP" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4795 if test "x$ac_ct_STRIP" = x
; then
4798 case $cross_compiling:$ac_tool_warned in
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4802 ac_tool_warned
=yes ;;
4807 STRIP
="$ac_cv_prog_STRIP"
4810 test -z "$STRIP" && STRIP
=:
4817 if test -n "$ac_tool_prefix"; then
4818 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4819 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$RANLIB"; then
4826 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 RANLIB
=$ac_cv_prog_RANLIB
4846 if test -n "$RANLIB"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4848 $as_echo "$RANLIB" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4856 if test -z "$ac_cv_prog_RANLIB"; then
4857 ac_ct_RANLIB
=$RANLIB
4858 # Extract the first word of "ranlib", so it can be a program name with args.
4859 set dummy ranlib
; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$ac_ct_RANLIB"; then
4866 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4886 if test -n "$ac_ct_RANLIB"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4888 $as_echo "$ac_ct_RANLIB" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4894 if test "x$ac_ct_RANLIB" = x
; then
4897 case $cross_compiling:$ac_tool_warned in
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4901 ac_tool_warned
=yes ;;
4903 RANLIB
=$ac_ct_RANLIB
4906 RANLIB
="$ac_cv_prog_RANLIB"
4909 test -z "$RANLIB" && RANLIB
=:
4916 # Determine commands to create old-style static archives.
4917 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4918 old_postinstall_cmds
='chmod 644 $oldlib'
4919 old_postuninstall_cmds
=
4921 if test -n "$RANLIB"; then
4924 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4927 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4930 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4966 # If no C compiler was specified, use CC.
4969 # If no C compiler flags were specified, use CFLAGS.
4970 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4972 # Allow CC to be a program name with arguments.
4976 # Check for command to grab the raw symbol name followed by C symbol from nm.
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4978 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4979 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4980 $as_echo_n "(cached) " >&6
4983 # These are sane defaults that work on at least a few old systems.
4984 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4986 # Character class describing NM global symbol codes.
4987 symcode
='[BCDEGRST]'
4989 # Regexp to match symbols that can be accessed directly from C.
4990 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4992 # Define system-specific variables.
4997 cygwin
* | mingw
* | pw32
* | cegcc
*)
4998 symcode
='[ABCDGISTW]'
5001 if test "$host_cpu" = ia64
; then
5002 symcode
='[ABCDEGRST]'
5006 symcode
='[BCDEGRST]'
5009 symcode
='[BCDEGQRST]'
5020 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5028 # If we're using GNU nm, then use its standard symbol codes.
5029 case `$NM -V 2>&1` in
5030 *GNU
* | *'with BFD'*)
5031 symcode
='[ABCDGIRSTW]' ;;
5034 # Transform an extracted symbol line into a proper C declaration.
5035 # Some systems (esp. on ia64) link data and code symbols differently,
5036 # so use this general approach.
5037 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5039 # Transform an extracted symbol line into symbol name and symbol address
5040 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5041 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'"
5043 # Handle CRLF in mingw tool chain
5047 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5051 # Try without a prefix underscore, then with it.
5052 for ac_symprfx
in "" "_"; do
5054 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5055 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5057 # Write the raw and C identifiers.
5058 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5059 # Fake it for dumpbin and say T for any non-static function
5060 # and D for any global variable.
5061 # Also find C++ and __fastcall symbols from MSVC++,
5062 # which start with @ or ?.
5063 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5064 " {last_section=section; section=\$ 3};"\
5065 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5066 " \$ 0!~/External *\|/{next};"\
5067 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5068 " {if(hide[section]) next};"\
5069 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5070 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5071 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5072 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5073 " ' prfx=^$ac_symprfx"
5075 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5078 # Check to see that the pipe works correctly.
5082 cat > conftest.
$ac_ext <<_LT_EOF
5087 void nm_test_func(void);
5088 void nm_test_func(void){}
5092 int main(){nm_test_var='a';nm_test_func();return(0);}
5095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5096 (eval $ac_compile) 2>&5
5098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }; then
5100 # Now try to grab the symbols.
5102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5103 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5106 test $ac_status = 0; } && test -s "$nlist"; then
5107 # Try sorting and uniquifying the output.
5108 if sort "$nlist" | uniq > "$nlist"T
; then
5109 mv -f "$nlist"T
"$nlist"
5114 # Make sure that we snagged all the symbols we need.
5115 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5116 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5117 cat <<_LT_EOF > conftest.$ac_ext
5123 # Now generate the symbol file.
5124 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5126 cat <<_LT_EOF >> conftest.$ac_ext
5128 /* The mapping between symbol names and symbols. */
5133 lt__PROGRAM__LTX_preloaded_symbols[] =
5135 { "@PROGRAM@", (void *) 0 },
5137 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5138 cat <<\_LT_EOF
>> conftest.
$ac_ext
5142 /* This works around a problem
in FreeBSD linker
*/
5143 #ifdef FREEBSD_WORKAROUND
5144 static const void
*lt_preloaded_setup
() {
5145 return lt__PROGRAM__LTX_preloaded_symbols
;
5153 # Now try linking the two files.
5154 mv conftest.
$ac_objext conftstm.
$ac_objext
5155 lt_save_LIBS
="$LIBS"
5156 lt_save_CFLAGS
="$CFLAGS"
5157 LIBS
="conftstm.$ac_objext"
5158 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5160 (eval $ac_link) 2>&5
5162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5166 LIBS
="$lt_save_LIBS"
5167 CFLAGS
="$lt_save_CFLAGS"
5169 echo "cannot find nm_test_func in $nlist" >&5
5172 echo "cannot find nm_test_var in $nlist" >&5
5175 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5178 echo "$progname: failed program was:" >&5
5179 cat conftest.
$ac_ext >&5
5181 rm -rf conftest
* conftst
*
5183 # Do not use the global_symbol_pipe unless it works.
5184 if test "$pipe_works" = yes; then
5187 lt_cv_sys_global_symbol_pipe
=
5193 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5194 lt_cv_sys_global_symbol_to_cdecl
=
5196 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5198 $as_echo "failed" >&6; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5201 $as_echo "ok" >&6; }
5226 # Check whether --enable-libtool-lock was given.
5227 if test "${enable_libtool_lock+set}" = set; then :
5228 enableval
=$enable_libtool_lock;
5231 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5233 # Some flags need to be propagated to the compiler or linker for good
5237 # Find out which ABI we are using.
5238 echo 'int i;' > conftest.
$ac_ext
5239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5240 (eval $ac_compile) 2>&5
5242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5243 test $ac_status = 0; }; then
5244 case `/usr/bin/file conftest.$ac_objext` in
5256 # Find out which ABI we are using.
5257 echo '#line 5257 "configure"' > conftest.
$ac_ext
5258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5259 (eval $ac_compile) 2>&5
5261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262 test $ac_status = 0; }; then
5263 if test "$lt_cv_prog_gnu_ld" = yes; then
5264 case `/usr/bin/file conftest.$ac_objext` in
5266 LD
="${LD-ld} -melf32bsmip"
5269 LD
="${LD-ld} -melf32bmipn32"
5272 LD
="${LD-ld} -melf64bmip"
5276 case `/usr/bin/file conftest.$ac_objext` in
5292 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5293 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5294 # Find out which ABI we are using.
5295 echo 'int i;' > conftest.
$ac_ext
5296 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5297 (eval $ac_compile) 2>&5
5299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5300 test $ac_status = 0; }; then
5301 case `/usr/bin/file conftest.o` in
5304 x86_64
-*kfreebsd
*-gnu)
5305 LD
="${LD-ld} -m elf_i386_fbsd"
5308 LD
="${LD-ld} -m elf_i386"
5310 ppc64
-*linux
*|powerpc64
-*linux
*)
5311 LD
="${LD-ld} -m elf32ppclinux"
5314 LD
="${LD-ld} -m elf_s390"
5317 LD
="${LD-ld} -m elf32_sparc"
5323 x86_64
-*kfreebsd
*-gnu)
5324 LD
="${LD-ld} -m elf_x86_64_fbsd"
5327 LD
="${LD-ld} -m elf_x86_64"
5329 ppc
*-*linux
*|powerpc
*-*linux
*)
5330 LD
="${LD-ld} -m elf64ppc"
5332 s390
*-*linux
*|s390
*-*tpf
*)
5333 LD
="${LD-ld} -m elf64_s390"
5336 LD
="${LD-ld} -m elf64_sparc"
5346 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5347 SAVE_CFLAGS
="$CFLAGS"
5348 CFLAGS
="$CFLAGS -belf"
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5350 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5351 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5355 ac_cpp
='$CPP $CPPFLAGS'
5356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5371 if ac_fn_c_try_link
"$LINENO"; then :
5372 lt_cv_cc_needs_belf
=yes
5374 lt_cv_cc_needs_belf
=no
5376 rm -f core conftest.err conftest.
$ac_objext \
5377 conftest
$ac_exeext conftest.
$ac_ext
5379 ac_cpp
='$CPP $CPPFLAGS'
5380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5386 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5387 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5388 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5389 CFLAGS
="$SAVE_CFLAGS"
5393 # Find out which ABI we are using.
5394 echo 'int i;' > conftest.
$ac_ext
5395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5396 (eval $ac_compile) 2>&5
5398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5399 test $ac_status = 0; }; then
5400 case `/usr/bin/file conftest.o` in
5402 case $lt_cv_prog_gnu_ld in
5403 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5405 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5417 need_locks
="$enable_libtool_lock"
5421 rhapsody
* | darwin
*)
5422 if test -n "$ac_tool_prefix"; then
5423 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5424 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$DSYMUTIL"; then
5431 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir
=.
5438 for ac_exec_ext
in '' $ac_executable_extensions; do
5439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5451 if test -n "$DSYMUTIL"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5453 $as_echo "$DSYMUTIL" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5461 if test -z "$ac_cv_prog_DSYMUTIL"; then
5462 ac_ct_DSYMUTIL
=$DSYMUTIL
5463 # Extract the first word of "dsymutil", so it can be a program name with args.
5464 set dummy dsymutil
; ac_word
=$2
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466 $as_echo_n "checking for $ac_word... " >&6; }
5467 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5470 if test -n "$ac_ct_DSYMUTIL"; then
5471 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5477 test -z "$as_dir" && as_dir
=.
5478 for ac_exec_ext
in '' $ac_executable_extensions; do
5479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5491 if test -n "$ac_ct_DSYMUTIL"; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5493 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496 $as_echo "no" >&6; }
5499 if test "x$ac_ct_DSYMUTIL" = x
; then
5502 case $cross_compiling:$ac_tool_warned in
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5506 ac_tool_warned
=yes ;;
5508 DSYMUTIL
=$ac_ct_DSYMUTIL
5511 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5514 if test -n "$ac_tool_prefix"; then
5515 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5516 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -n "$NMEDIT"; then
5523 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5529 test -z "$as_dir" && as_dir
=.
5530 for ac_exec_ext
in '' $ac_executable_extensions; do
5531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5532 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5542 NMEDIT
=$ac_cv_prog_NMEDIT
5543 if test -n "$NMEDIT"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5545 $as_echo "$NMEDIT" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5553 if test -z "$ac_cv_prog_NMEDIT"; then
5554 ac_ct_NMEDIT
=$NMEDIT
5555 # Extract the first word of "nmedit", so it can be a program name with args.
5556 set dummy nmedit
; ac_word
=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5560 $as_echo_n "(cached) " >&6
5562 if test -n "$ac_ct_NMEDIT"; then
5563 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5572 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5583 if test -n "$ac_ct_NMEDIT"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5585 $as_echo "$ac_ct_NMEDIT" >&6; }
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5591 if test "x$ac_ct_NMEDIT" = x
; then
5594 case $cross_compiling:$ac_tool_warned in
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5598 ac_tool_warned
=yes ;;
5600 NMEDIT
=$ac_ct_NMEDIT
5603 NMEDIT
="$ac_cv_prog_NMEDIT"
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5608 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if test "${ac_cv_prog_LIPO+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5614 if test -n "$LIPO"; then
5615 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5621 test -z "$as_dir" && as_dir
=.
5622 for ac_exec_ext
in '' $ac_executable_extensions; do
5623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5624 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5634 LIPO
=$ac_cv_prog_LIPO
5635 if test -n "$LIPO"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5637 $as_echo "$LIPO" >&6; }
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_LIPO"; then
5647 # Extract the first word of "lipo", so it can be a program name with args.
5648 set dummy lipo
; ac_word
=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5654 if test -n "$ac_ct_LIPO"; then
5655 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5661 test -z "$as_dir" && as_dir
=.
5662 for ac_exec_ext
in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_ac_ct_LIPO
="lipo"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5675 if test -n "$ac_ct_LIPO"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5677 $as_echo "$ac_ct_LIPO" >&6; }
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_LIPO" = x
; then
5686 case $cross_compiling:$ac_tool_warned in
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned
=yes ;;
5695 LIPO
="$ac_cv_prog_LIPO"
5698 if test -n "$ac_tool_prefix"; then
5699 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5700 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5704 $as_echo_n "(cached) " >&6
5706 if test -n "$OTOOL"; then
5707 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 OTOOL
=$ac_cv_prog_OTOOL
5727 if test -n "$OTOOL"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5729 $as_echo "$OTOOL" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5737 if test -z "$ac_cv_prog_OTOOL"; then
5739 # Extract the first word of "otool", so it can be a program name with args.
5740 set dummy otool
; ac_word
=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5746 if test -n "$ac_ct_OTOOL"; then
5747 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir
=.
5754 for ac_exec_ext
in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_ac_ct_OTOOL
="otool"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5767 if test -n "$ac_ct_OTOOL"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5769 $as_echo "$ac_ct_OTOOL" >&6; }
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5775 if test "x$ac_ct_OTOOL" = x
; then
5778 case $cross_compiling:$ac_tool_warned in
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5782 ac_tool_warned
=yes ;;
5787 OTOOL
="$ac_cv_prog_OTOOL"
5790 if test -n "$ac_tool_prefix"; then
5791 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5792 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$OTOOL64"; then
5799 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir
=.
5806 for ac_exec_ext
in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 OTOOL64
=$ac_cv_prog_OTOOL64
5819 if test -n "$OTOOL64"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5821 $as_echo "$OTOOL64" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5829 if test -z "$ac_cv_prog_OTOOL64"; then
5830 ac_ct_OTOOL64
=$OTOOL64
5831 # Extract the first word of "otool64", so it can be a program name with args.
5832 set dummy otool64
; ac_word
=$2
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834 $as_echo_n "checking for $ac_word... " >&6; }
5835 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 if test -n "$ac_ct_OTOOL64"; then
5839 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir
=.
5846 for ac_exec_ext
in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5859 if test -n "$ac_ct_OTOOL64"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5861 $as_echo "$ac_ct_OTOOL64" >&6; }
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864 $as_echo "no" >&6; }
5867 if test "x$ac_ct_OTOOL64" = x
; then
5870 case $cross_compiling:$ac_tool_warned in
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5874 ac_tool_warned
=yes ;;
5876 OTOOL64
=$ac_ct_OTOOL64
5879 OTOOL64
="$ac_cv_prog_OTOOL64"
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5909 $as_echo_n "checking for -single_module linker flag... " >&6; }
5910 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5911 $as_echo_n "(cached) " >&6
5913 lt_cv_apple_cc_single_mod
=no
5914 if test -z "${LT_MULTI_MODULE}"; then
5915 # By default we will add the -single_module flag. You can override
5916 # by either setting the environment variable LT_MULTI_MODULE
5917 # non-empty at configure time, or by adding -multi_module to the
5919 rm -rf libconftest.dylib
*
5920 echo "int foo(void){return 1;}" > conftest.c
5921 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5922 -dynamiclib -Wl,-single_module conftest.c" >&5
5923 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5924 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5926 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5927 lt_cv_apple_cc_single_mod
=yes
5929 cat conftest.err
>&5
5931 rm -rf libconftest.dylib
*
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5936 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5938 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5939 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5940 $as_echo_n "(cached) " >&6
5942 lt_cv_ld_exported_symbols_list
=no
5943 save_LDFLAGS
=$LDFLAGS
5944 echo "_main" > conftest.sym
5945 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5947 /* end confdefs.h. */
5957 if ac_fn_c_try_link
"$LINENO"; then :
5958 lt_cv_ld_exported_symbols_list
=yes
5960 lt_cv_ld_exported_symbols_list
=no
5962 rm -f core conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LDFLAGS
="$save_LDFLAGS"
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5968 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5970 rhapsody
* | darwin1.
[012])
5971 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5973 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5974 darwin
*) # darwin 5.x on
5975 # if running on 10.5 or later, the deployment target defaults
5976 # to the OS version, if on x86, and 10.4, the deployment
5977 # target defaults to 10.4. Don't you love it?
5978 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5979 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5980 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5982 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5984 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5988 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5989 _lt_dar_single_mod
='$single_module'
5991 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5992 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5994 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5996 if test "$DSYMUTIL" != ":"; then
5997 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6005 ac_cpp
='$CPP $CPPFLAGS'
6006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6010 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6011 # On Suns, sometimes $CPP names a directory.
6012 if test -n "$CPP" && test -d "$CPP"; then
6015 if test -z "$CPP"; then
6016 if test "${ac_cv_prog_CPP+set}" = set; then :
6017 $as_echo_n "(cached) " >&6
6019 # Double quotes because CPP needs to be expanded
6020 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6023 for ac_c_preproc_warn_flag
in '' yes
6025 # Use a header file that comes with gcc, so configuring glibc
6026 # with a fresh cross-compiler works.
6027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6028 # <limits.h> exists even on freestanding compilers.
6029 # On the NeXT, cc -E runs the code through the compiler's parser,
6030 # not just through cpp. "Syntax error" is here to catch this case.
6031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6034 # include <limits.h>
6036 # include <assert.h>
6040 if ac_fn_c_try_cpp
"$LINENO"; then :
6043 # Broken: fails on valid input.
6046 rm -f conftest.err conftest.
$ac_ext
6048 # OK, works on sane cases. Now check whether nonexistent headers
6049 # can be detected and how.
6050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6052 #include <ac_nonexistent.h>
6054 if ac_fn_c_try_cpp
"$LINENO"; then :
6055 # Broken: success on invalid input.
6058 # Passes both tests.
6062 rm -f conftest.err conftest.
$ac_ext
6065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6066 rm -f conftest.err conftest.
$ac_ext
6067 if $ac_preproc_ok; then :
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6080 $as_echo "$CPP" >&6; }
6082 for ac_c_preproc_warn_flag
in '' yes
6084 # Use a header file that comes with gcc, so configuring glibc
6085 # with a fresh cross-compiler works.
6086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6087 # <limits.h> exists even on freestanding compilers.
6088 # On the NeXT, cc -E runs the code through the compiler's parser,
6089 # not just through cpp. "Syntax error" is here to catch this case.
6090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6093 # include <limits.h>
6095 # include <assert.h>
6099 if ac_fn_c_try_cpp
"$LINENO"; then :
6102 # Broken: fails on valid input.
6105 rm -f conftest.err conftest.
$ac_ext
6107 # OK, works on sane cases. Now check whether nonexistent headers
6108 # can be detected and how.
6109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6111 #include <ac_nonexistent.h>
6113 if ac_fn_c_try_cpp
"$LINENO"; then :
6114 # Broken: success on invalid input.
6117 # Passes both tests.
6121 rm -f conftest.err conftest.
$ac_ext
6124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6125 rm -f conftest.err conftest.
$ac_ext
6126 if $ac_preproc_ok; then :
6129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6131 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6132 See \`config.log' for more details." "$LINENO" 5; }
6136 ac_cpp
='$CPP $CPPFLAGS'
6137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6143 $as_echo_n "checking for ANSI C header files... " >&6; }
6144 if test "${ac_cv_header_stdc+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6162 if ac_fn_c_try_compile
"$LINENO"; then :
6163 ac_cv_header_stdc
=yes
6165 ac_cv_header_stdc
=no
6167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6169 if test $ac_cv_header_stdc = yes; then
6170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6177 $EGREP "memchr" >/dev
/null
2>&1; then :
6180 ac_cv_header_stdc
=no
6186 if test $ac_cv_header_stdc = yes; then
6187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6194 $EGREP "free" >/dev
/null
2>&1; then :
6197 ac_cv_header_stdc
=no
6203 if test $ac_cv_header_stdc = yes; then
6204 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6205 if test "$cross_compiling" = yes; then :
6208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h. */
6212 #if ((' ' & 0x0FF) == 0x020)
6213 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6214 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6216 # define ISLOWER(c) \
6217 (('a' <= (c) && (c) <= 'i') \
6218 || ('j' <= (c) && (c) <= 'r') \
6219 || ('s' <= (c) && (c) <= 'z'))
6220 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6223 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6228 for (i = 0; i < 256; i++)
6229 if (XOR (islower (i), ISLOWER (i))
6230 || toupper (i) != TOUPPER (i))
6235 if ac_fn_c_try_run
"$LINENO"; then :
6238 ac_cv_header_stdc
=no
6240 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6241 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6247 $as_echo "$ac_cv_header_stdc" >&6; }
6248 if test $ac_cv_header_stdc = yes; then
6250 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6254 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6255 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6256 inttypes.h stdint.h unistd.h
6258 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6259 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6261 eval as_val
=\$
$as_ac_Header
6262 if test "x$as_val" = x
""yes; then :
6263 cat >>confdefs.h
<<_ACEOF
6264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 for ac_header
in dlfcn.h
6274 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6276 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6277 cat >>confdefs.h
<<_ACEOF
6278 #define HAVE_DLFCN_H 1
6288 # Check whether --enable-static was given.
6289 if test "${enable_static+set}" = set; then :
6290 enableval
=$enable_static; p
=${PACKAGE-default}
6292 yes) enable_static
=yes ;;
6293 no
) enable_static
=no
;;
6296 # Look at the argument we got. We use all the common list separators.
6297 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6298 for pkg
in $enableval; do
6300 if test "X$pkg" = "X$p"; then
6326 # Check whether --enable-shared was given.
6327 if test "${enable_shared+set}" = set; then :
6328 enableval
=$enable_shared; p
=${PACKAGE-default}
6330 yes) enable_shared
=yes ;;
6331 no
) enable_shared
=no
;;
6334 # Look at the argument we got. We use all the common list separators.
6335 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6336 for pkg
in $enableval; do
6338 if test "X$pkg" = "X$p"; then
6359 # Check whether --with-pic was given.
6360 if test "${with_pic+set}" = set; then :
6361 withval
=$with_pic; pic_mode
="$withval"
6367 test -z "$pic_mode" && pic_mode
=default
6375 # Check whether --enable-fast-install was given.
6376 if test "${enable_fast_install+set}" = set; then :
6377 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6379 yes) enable_fast_install
=yes ;;
6380 no
) enable_fast_install
=no
;;
6382 enable_fast_install
=no
6383 # Look at the argument we got. We use all the common list separators.
6384 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6385 for pkg
in $enableval; do
6387 if test "X$pkg" = "X$p"; then
6388 enable_fast_install
=yes
6395 enable_fast_install
=yes
6408 # This can be used to rebuild libtool when needed
6409 LIBTOOL_DEPS
="$ltmain"
6411 # Always use our own libtool.
6412 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6438 test -z "$LN_S" && LN_S
="ln -s"
6453 if test -n "${ZSH_VERSION+set}" ; then
6454 setopt NO_GLOB_SUBST
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6458 $as_echo_n "checking for objdir... " >&6; }
6459 if test "${lt_cv_objdir+set}" = set; then :
6460 $as_echo_n "(cached) " >&6
6462 rm -f .libs
2>/dev
/null
6463 mkdir .libs
2>/dev
/null
6464 if test -d .libs
; then
6467 # MS-DOS does not allow filenames that begin with a dot.
6470 rmdir .libs
2>/dev
/null
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6473 $as_echo "$lt_cv_objdir" >&6; }
6474 objdir
=$lt_cv_objdir
6480 cat >>confdefs.h
<<_ACEOF
6481 #define LT_OBJDIR "$lt_cv_objdir/"
6502 # AIX sometimes has problems with the GCC collect2 program. For some
6503 # reason, if we set the COLLECT_NAMES environment variable, the problems
6504 # vanish in a puff of smoke.
6505 if test "X${COLLECT_NAMES+set}" != Xset
; then
6507 export COLLECT_NAMES
6512 # Sed substitution that helps us do robust quoting. It backslashifies
6513 # metacharacters that are still active within double-quoted strings.
6514 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6516 # Same as above, but do not quote variable references.
6517 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6519 # Sed substitution to delay expansion of an escaped shell variable in a
6520 # double_quote_subst'ed string.
6521 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6523 # Sed substitution to delay expansion of an escaped single quote.
6524 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6526 # Sed substitution to avoid accidental globbing in evaled expressions
6527 no_glob_subst
='s/\*/\\\*/g'
6531 can_build_shared
=yes
6533 # All known linkers require a `.a' archive for static linking (except MSVC,
6534 # which needs '.lib').
6537 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6540 old_CFLAGS
="$CFLAGS"
6542 # Set sane defaults for various variables
6543 test -z "$CC" && CC
=cc
6544 test -z "$LTCC" && LTCC
=$CC
6545 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6546 test -z "$LD" && LD
=ld
6547 test -z "$ac_objext" && ac_objext
=o
6549 for cc_temp
in $compiler""; do
6551 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6552 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6557 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6560 # Only perform the check for file, if the check method requires it
6561 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6562 case $deplibs_check_method in
6564 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6566 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6567 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6568 $as_echo_n "(cached) " >&6
6572 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6575 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6576 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6577 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6578 for ac_dir
in $ac_dummy; do
6580 test -z "$ac_dir" && ac_dir
=.
6581 if test -f $ac_dir/${ac_tool_prefix}file; then
6582 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6583 if test -n "$file_magic_test_file"; then
6584 case $deplibs_check_method in
6586 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6587 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6588 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6589 $EGREP "$file_magic_regex" > /dev
/null
; then
6594 *** Warning: the command libtool uses to detect shared libraries,
6595 *** $file_magic_cmd, produces output that libtool cannot recognize.
6596 *** The result is that libtool may fail to recognize shared libraries
6597 *** as such. This will affect the creation of libtool libraries that
6598 *** depend on shared libraries, but programs linked with such libtool
6599 *** libraries will work regardless of this problem. Nevertheless, you
6600 *** may want to report the problem to your system manager and/or to
6601 *** bug-libtool@gnu.org
6611 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6616 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6617 if test -n "$MAGIC_CMD"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6619 $as_echo "$MAGIC_CMD" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6629 if test -z "$lt_cv_path_MAGIC_CMD"; then
6630 if test -n "$ac_tool_prefix"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6632 $as_echo_n "checking for file... " >&6; }
6633 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6638 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6641 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6642 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6643 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6644 for ac_dir
in $ac_dummy; do
6646 test -z "$ac_dir" && ac_dir
=.
6647 if test -f $ac_dir/file; then
6648 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6649 if test -n "$file_magic_test_file"; then
6650 case $deplibs_check_method in
6652 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6653 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6654 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6655 $EGREP "$file_magic_regex" > /dev
/null
; then
6660 *** Warning: the command libtool uses to detect shared libraries,
6661 *** $file_magic_cmd, produces output that libtool cannot recognize.
6662 *** The result is that libtool may fail to recognize shared libraries
6663 *** as such. This will affect the creation of libtool libraries that
6664 *** depend on shared libraries, but programs linked with such libtool
6665 *** libraries will work regardless of this problem. Nevertheless, you
6666 *** may want to report the problem to your system manager and/or to
6667 *** bug-libtool@gnu.org
6677 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6682 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6683 if test -n "$MAGIC_CMD"; then
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6685 $as_echo "$MAGIC_CMD" >&6; }
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6701 # Use C for the default configuration in the libtool script
6705 ac_cpp
='$CPP $CPPFLAGS'
6706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6711 # Source file extension for C test sources.
6714 # Object file extension for compiled C test sources.
6718 # Code to be used in simple compile tests
6719 lt_simple_compile_test_code
="int some_variable = 0;"
6721 # Code to be used in simple link tests
6722 lt_simple_link_test_code
='int main(){return(0);}'
6730 # If no C compiler was specified, use CC.
6733 # If no C compiler flags were specified, use CFLAGS.
6734 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6736 # Allow CC to be a program name with arguments.
6739 # Save the default compiler, since it gets overwritten when the other
6740 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6741 compiler_DEFAULT
=$CC
6743 # save warnings/boilerplate of simple test code
6744 ac_outfile
=conftest.
$ac_objext
6745 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6746 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6747 _lt_compiler_boilerplate
=`cat conftest.err`
6750 ac_outfile
=conftest.
$ac_objext
6751 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6752 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6753 _lt_linker_boilerplate
=`cat conftest.err`
6757 if test -n "$compiler"; then
6759 lt_prog_compiler_no_builtin_flag
=
6761 if test "$GCC" = yes; then
6762 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6765 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6766 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6767 $as_echo_n "(cached) " >&6
6769 lt_cv_prog_compiler_rtti_exceptions
=no
6770 ac_outfile
=conftest.
$ac_objext
6771 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6772 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6773 # Insert the option either (1) after the last *FLAGS variable, or
6774 # (2) before a word containing "conftest.", or (3) at the end.
6775 # Note that $ac_compile itself does not contain backslashes and begins
6776 # with a dollar sign (not a hyphen), so the echo should work correctly.
6777 # The option is referenced via a variable to avoid confusing sed.
6778 lt_compile
=`echo "$ac_compile" | $SED \
6779 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6780 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6781 -e 's:$: $lt_compiler_flag:'`
6782 (eval echo "\"\$as_me:6782: $lt_compile\"" >&5)
6783 (eval "$lt_compile" 2>conftest.err
)
6785 cat conftest.err
>&5
6786 echo "$as_me:6786: \$? = $ac_status" >&5
6787 if (exit $ac_status) && test -s "$ac_outfile"; then
6788 # The compiler can only warn and ignore the option if not recognized
6789 # So say no if there are warnings other than the usual output.
6790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6791 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6792 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6793 lt_cv_prog_compiler_rtti_exceptions
=yes
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6800 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6802 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6803 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6815 lt_prog_compiler_wl
=
6816 lt_prog_compiler_pic
=
6817 lt_prog_compiler_static
=
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6820 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6822 if test "$GCC" = yes; then
6823 lt_prog_compiler_wl
='-Wl,'
6824 lt_prog_compiler_static
='-static'
6828 # All AIX code is PIC.
6829 if test "$host_cpu" = ia64
; then
6830 # AIX 5 now supports IA64 processor
6831 lt_prog_compiler_static
='-Bstatic'
6838 # see comment about AmigaOS4 .so support
6839 lt_prog_compiler_pic
='-fPIC'
6842 # FIXME: we need at least 68020 code to build shared libraries, but
6843 # adding the `-m68020' flag to GCC prevents building anything better,
6845 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6850 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6851 # PIC is the default for these OSes.
6854 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6855 # This hack is so that the source file can tell whether it is being
6856 # built for inclusion in a dll (and should export symbols for example).
6857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6858 # (--disable-auto-import) libraries
6859 lt_prog_compiler_pic
='-DDLL_EXPORT'
6862 darwin
* | rhapsody
*)
6863 # PIC is the default on this platform
6864 # Common symbols not allowed in MH_DYLIB files
6865 lt_prog_compiler_pic
='-fno-common'
6869 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6870 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6871 # sets the default TLS model and affects inlining.
6877 lt_prog_compiler_pic
='-fPIC'
6883 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6884 # Instead, we relocate shared libraries at runtime.
6888 # Just because we use GCC doesn't mean we suddenly get shared libraries
6889 # on systems that don't support them.
6890 lt_prog_compiler_can_build_shared
=no
6895 # QNX uses GNU C++, but need to define -shared option too, otherwise
6897 lt_prog_compiler_pic
='-fPIC -shared'
6901 if test -d /usr
/nec
; then
6902 lt_prog_compiler_pic
=-Kconform_pic
6907 lt_prog_compiler_pic
='-fPIC'
6911 # PORTME Check for flag to pass linker flags through the system compiler.
6914 lt_prog_compiler_wl
='-Wl,'
6915 if test "$host_cpu" = ia64
; then
6916 # AIX 5 now supports IA64 processor
6917 lt_prog_compiler_static
='-Bstatic'
6919 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6923 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6924 # This hack is so that the source file can tell whether it is being
6925 # built for inclusion in a dll (and should export symbols for example).
6926 lt_prog_compiler_pic
='-DDLL_EXPORT'
6929 hpux9
* | hpux10
* | hpux11
*)
6930 lt_prog_compiler_wl
='-Wl,'
6931 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6938 lt_prog_compiler_pic
='+Z'
6941 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6942 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6945 irix5
* | irix6
* | nonstopux
*)
6946 lt_prog_compiler_wl
='-Wl,'
6947 # PIC (with -KPIC) is the default.
6948 lt_prog_compiler_static
='-non_shared'
6951 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6952 case $cc_basename in
6953 # old Intel for x86_64 which still supported -KPIC.
6955 lt_prog_compiler_wl
='-Wl,'
6956 lt_prog_compiler_pic
='-KPIC'
6957 lt_prog_compiler_static
='-static'
6959 # icc used to be incompatible with GCC.
6960 # ICC 10 doesn't accept -KPIC any more.
6962 lt_prog_compiler_wl
='-Wl,'
6963 lt_prog_compiler_pic
='-fPIC'
6964 lt_prog_compiler_static
='-static'
6966 # Lahey Fortran 8.1.
6968 lt_prog_compiler_wl
='-Wl,'
6969 lt_prog_compiler_pic
='--shared'
6970 lt_prog_compiler_static
='--static'
6972 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6973 # Portland Group compilers (*not* the Pentium gcc compiler,
6974 # which looks to be a dead project)
6975 lt_prog_compiler_wl
='-Wl,'
6976 lt_prog_compiler_pic
='-fpic'
6977 lt_prog_compiler_static
='-Bstatic'
6980 lt_prog_compiler_wl
='-Wl,'
6981 # All Alpha code is PIC.
6982 lt_prog_compiler_static
='-non_shared'
6985 # IBM XL C 8.0/Fortran 10.1 on PPC
6986 lt_prog_compiler_wl
='-Wl,'
6987 lt_prog_compiler_pic
='-qpic'
6988 lt_prog_compiler_static
='-qstaticlink'
6991 case `$CC -V 2>&1 | sed 5q` in
6994 lt_prog_compiler_pic
='-KPIC'
6995 lt_prog_compiler_static
='-Bstatic'
6996 lt_prog_compiler_wl
='-Wl,'
6999 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7000 lt_prog_compiler_pic
='-KPIC'
7001 lt_prog_compiler_static
='-Bstatic'
7002 lt_prog_compiler_wl
=''
7010 lt_prog_compiler_pic
='-KPIC'
7011 lt_prog_compiler_static
='-Bstatic'
7015 # QNX uses GNU C++, but need to define -shared option too, otherwise
7017 lt_prog_compiler_pic
='-fPIC -shared'
7020 osf3
* | osf4
* | osf5
*)
7021 lt_prog_compiler_wl
='-Wl,'
7022 # All OSF/1 code is PIC.
7023 lt_prog_compiler_static
='-non_shared'
7027 lt_prog_compiler_static
='-non_shared'
7031 lt_prog_compiler_pic
='-KPIC'
7032 lt_prog_compiler_static
='-Bstatic'
7033 case $cc_basename in
7035 lt_prog_compiler_wl
='-Qoption ld ';;
7037 lt_prog_compiler_wl
='-Wl,';;
7042 lt_prog_compiler_wl
='-Qoption ld '
7043 lt_prog_compiler_pic
='-PIC'
7044 lt_prog_compiler_static
='-Bstatic'
7047 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7048 lt_prog_compiler_wl
='-Wl,'
7049 lt_prog_compiler_pic
='-KPIC'
7050 lt_prog_compiler_static
='-Bstatic'
7054 if test -d /usr
/nec
;then
7055 lt_prog_compiler_pic
='-Kconform_pic'
7056 lt_prog_compiler_static
='-Bstatic'
7060 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7061 lt_prog_compiler_wl
='-Wl,'
7062 lt_prog_compiler_pic
='-KPIC'
7063 lt_prog_compiler_static
='-Bstatic'
7067 lt_prog_compiler_wl
='-Wl,'
7068 lt_prog_compiler_can_build_shared
=no
7072 lt_prog_compiler_pic
='-pic'
7073 lt_prog_compiler_static
='-Bstatic'
7077 lt_prog_compiler_can_build_shared
=no
7083 # For platforms which do not support PIC, -DPIC is meaningless:
7085 lt_prog_compiler_pic
=
7088 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7092 $as_echo "$lt_prog_compiler_pic" >&6; }
7100 # Check to make sure the PIC flag actually works.
7102 if test -n "$lt_prog_compiler_pic"; then
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7104 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7105 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7106 $as_echo_n "(cached) " >&6
7108 lt_cv_prog_compiler_pic_works
=no
7109 ac_outfile
=conftest.
$ac_objext
7110 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7111 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7112 # Insert the option either (1) after the last *FLAGS variable, or
7113 # (2) before a word containing "conftest.", or (3) at the end.
7114 # Note that $ac_compile itself does not contain backslashes and begins
7115 # with a dollar sign (not a hyphen), so the echo should work correctly.
7116 # The option is referenced via a variable to avoid confusing sed.
7117 lt_compile
=`echo "$ac_compile" | $SED \
7118 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7119 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7120 -e 's:$: $lt_compiler_flag:'`
7121 (eval echo "\"\$as_me:7121: $lt_compile\"" >&5)
7122 (eval "$lt_compile" 2>conftest.err
)
7124 cat conftest.err
>&5
7125 echo "$as_me:7125: \$? = $ac_status" >&5
7126 if (exit $ac_status) && test -s "$ac_outfile"; then
7127 # The compiler can only warn and ignore the option if not recognized
7128 # So say no if there are warnings other than the usual output.
7129 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7130 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7131 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7132 lt_cv_prog_compiler_pic_works
=yes
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7139 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7141 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7142 case $lt_prog_compiler_pic in
7144 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7147 lt_prog_compiler_pic
=
7148 lt_prog_compiler_can_build_shared
=no
7159 # Check to make sure the static flag actually works.
7161 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7164 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7165 $as_echo_n "(cached) " >&6
7167 lt_cv_prog_compiler_static_works
=no
7168 save_LDFLAGS
="$LDFLAGS"
7169 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7170 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7171 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7172 # The linker can only warn and ignore the option if not recognized
7173 # So say no if there are warnings
7174 if test -s conftest.err
; then
7175 # Append any errors to the config.log.
7176 cat conftest.err
1>&5
7177 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7178 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7179 if diff conftest.exp conftest.er2
>/dev
/null
; then
7180 lt_cv_prog_compiler_static_works
=yes
7183 lt_cv_prog_compiler_static_works
=yes
7187 LDFLAGS
="$save_LDFLAGS"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7193 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7196 lt_prog_compiler_static
=
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7207 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7208 $as_echo_n "(cached) " >&6
7210 lt_cv_prog_compiler_c_o
=no
7211 $RM -r conftest
2>/dev
/null
7215 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7217 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7218 # Insert the option either (1) after the last *FLAGS variable, or
7219 # (2) before a word containing "conftest.", or (3) at the end.
7220 # Note that $ac_compile itself does not contain backslashes and begins
7221 # with a dollar sign (not a hyphen), so the echo should work correctly.
7222 lt_compile
=`echo "$ac_compile" | $SED \
7223 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7225 -e 's:$: $lt_compiler_flag:'`
7226 (eval echo "\"\$as_me:7226: $lt_compile\"" >&5)
7227 (eval "$lt_compile" 2>out
/conftest.err
)
7229 cat out
/conftest.err
>&5
7230 echo "$as_me:7230: \$? = $ac_status" >&5
7231 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7233 # The compiler can only warn and ignore the option if not recognized
7234 # So say no if there are warnings
7235 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7236 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7237 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7238 lt_cv_prog_compiler_c_o
=yes
7243 # SGI C++ compiler will create directory out/ii_files/ for
7244 # template instantiation
7245 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7246 $RM out
/* && rmdir out
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7262 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7263 $as_echo_n "(cached) " >&6
7265 lt_cv_prog_compiler_c_o
=no
7266 $RM -r conftest
2>/dev
/null
7270 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7272 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7273 # Insert the option either (1) after the last *FLAGS variable, or
7274 # (2) before a word containing "conftest.", or (3) at the end.
7275 # Note that $ac_compile itself does not contain backslashes and begins
7276 # with a dollar sign (not a hyphen), so the echo should work correctly.
7277 lt_compile
=`echo "$ac_compile" | $SED \
7278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7280 -e 's:$: $lt_compiler_flag:'`
7281 (eval echo "\"\$as_me:7281: $lt_compile\"" >&5)
7282 (eval "$lt_compile" 2>out
/conftest.err
)
7284 cat out
/conftest.err
>&5
7285 echo "$as_me:7285: \$? = $ac_status" >&5
7286 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7288 # The compiler can only warn and ignore the option if not recognized
7289 # So say no if there are warnings
7290 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7291 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7292 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7293 lt_cv_prog_compiler_c_o
=yes
7298 # SGI C++ compiler will create directory out/ii_files/ for
7299 # template instantiation
7300 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7301 $RM out
/* && rmdir out
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7313 hard_links
="nottested"
7314 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7315 # do not overwrite the value of need_locks provided by the user
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7317 $as_echo_n "checking if we can lock with hard links... " >&6; }
7320 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7322 ln conftest.a conftest.b
2>&5 || hard_links
=no
7323 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7325 $as_echo "$hard_links" >&6; }
7326 if test "$hard_links" = no
; then
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7328 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7344 allow_undefined_flag
=
7345 always_export_symbols
=no
7347 archive_expsym_cmds
=
7348 compiler_needs_object
=no
7349 enable_shared_with_static_runtimes
=no
7350 export_dynamic_flag_spec
=
7351 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7352 hardcode_automatic
=no
7354 hardcode_direct_absolute
=no
7355 hardcode_libdir_flag_spec
=
7356 hardcode_libdir_flag_spec_ld
=
7357 hardcode_libdir_separator
=
7359 hardcode_shlibpath_var
=unsupported
7361 link_all_deplibs
=unknown
7364 old_archive_from_new_cmds
=
7365 old_archive_from_expsyms_cmds
=
7366 thread_safe_flag_spec
=
7367 whole_archive_flag_spec
=
7368 # include_expsyms should be a list of space-separated symbols to be *always*
7369 # included in the symbol list
7371 # exclude_expsyms can be an extended regexp of symbols to exclude
7372 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7373 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7374 # as well as any symbol that contains `d'.
7375 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7376 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7377 # platforms (ab)use it in PIC code, but their linkers get confused if
7378 # the symbol is explicitly referenced. Since portable code cannot
7379 # rely on this symbol name, it's probably fine to never include it in
7380 # preloaded symbol tables.
7381 # Exclude shared library initialization/finalization symbols.
7382 extract_expsyms_cmds
=
7385 cygwin
* | mingw
* | pw32
* | cegcc
*)
7386 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7387 # When not using gcc, we currently assume that we are using
7388 # Microsoft Visual C++.
7389 if test "$GCC" != yes; then
7394 # we just hope/assume this is gcc and not c89 (= MSVC++)
7400 linux
* | k
*bsd
*-gnu)
7406 if test "$with_gnu_ld" = yes; then
7407 # If archive_cmds runs LD, not CC, wlarc should be empty
7410 # Set some defaults for GNU ld with shared library support. These
7411 # are reset later if shared libraries are not supported. Putting them
7412 # here allows them to be overridden if necessary.
7413 runpath_var
=LD_RUN_PATH
7414 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7415 export_dynamic_flag_spec
='${wl}--export-dynamic'
7416 # ancient GNU ld didn't support --whole-archive et. al.
7417 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7418 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7420 whole_archive_flag_spec
=
7422 supports_anon_versioning
=no
7423 case `$LD -v 2>&1` in
7424 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7425 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7426 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7427 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7428 *\
2.11.
*) ;; # other 2.11 versions
7429 *) supports_anon_versioning
=yes ;;
7432 # See if GNU ld supports shared libraries.
7435 # On AIX/PPC, the GNU linker is very broken
7436 if test "$host_cpu" != ia64
; then
7440 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7441 *** to be unable to reliably create shared libraries on AIX.
7442 *** Therefore, libtool is disabling shared libraries support. If you
7443 *** really care for shared libraries, you may want to modify your PATH
7444 *** so that a non-GNU linker is found, and then restart.
7453 # see comment about AmigaOS4 .so support
7454 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7455 archive_expsym_cmds
=''
7458 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)'
7459 hardcode_libdir_flag_spec
='-L$libdir'
7460 hardcode_minus_L
=yes
7466 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7467 allow_undefined_flag
=unsupported
7468 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7469 # support --undefined. This deserves some investigation. FIXME
7470 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7476 cygwin
* | mingw
* | pw32
* | cegcc
*)
7477 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7478 # as there is no search path for DLLs.
7479 hardcode_libdir_flag_spec
='-L$libdir'
7480 allow_undefined_flag
=unsupported
7481 always_export_symbols
=no
7482 enable_shared_with_static_runtimes
=yes
7483 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7485 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7486 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7487 # If the export-symbols file already is a .def file (1st line
7488 # is EXPORTS), use it as is; otherwise, prepend...
7489 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7490 cp $export_symbols $output_objdir/$soname.def;
7492 echo EXPORTS > $output_objdir/$soname.def;
7493 cat $export_symbols >> $output_objdir/$soname.def;
7495 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7503 hardcode_shlibpath_var
=no
7504 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7505 export_dynamic_flag_spec
='${wl}-E'
7506 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7507 # Instead, shared libraries are loaded at an image base (0x10000000 by
7508 # default) and relocated if they conflict, which is a slow very memory
7509 # consuming and fragmenting process. To avoid this, we pick a random,
7510 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7511 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7512 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7513 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'
7516 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7518 if test "$host_os" = linux
-dietlibc; then
7519 case $cc_basename in
7520 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7523 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7524 && test "$tmp_diet" = no
7527 tmp_sharedflag
='-shared'
7528 case $cc_basename,$host_cpu in
7529 pgcc
*) # Portland Group C compiler
7530 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'
7531 tmp_addflag
=' $pic_flag'
7533 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7534 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'
7535 tmp_addflag
=' $pic_flag -Mnomain' ;;
7536 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7537 tmp_addflag
=' -i_dynamic' ;;
7538 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7539 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7540 ifc
* | ifort
*) # Intel Fortran compiler
7541 tmp_addflag
=' -nofor_main' ;;
7542 lf95
*) # Lahey Fortran 8.1
7543 whole_archive_flag_spec
=
7544 tmp_sharedflag
='--shared' ;;
7545 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7546 tmp_sharedflag
='-qmkshrobj'
7549 case `$CC -V 2>&1 | sed 5q` in
7550 *Sun\ C
*) # Sun C 5.9
7551 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'
7552 compiler_needs_object
=yes
7553 tmp_sharedflag
='-G' ;;
7554 *Sun\ F
*) # Sun Fortran 8.3
7555 tmp_sharedflag
='-G' ;;
7557 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7559 if test "x$supports_anon_versioning" = xyes
; then
7560 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7561 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7562 echo "local: *; };" >> $output_objdir/$libname.ver~
7563 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7566 case $cc_basename in
7568 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7569 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7570 hardcode_libdir_flag_spec
=
7571 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7572 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7573 if test "x$supports_anon_versioning" = xyes
; then
7574 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7575 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7576 echo "local: *; };" >> $output_objdir/$libname.ver~
7577 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7586 netbsd
* | netbsdelf
*-gnu)
7587 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7588 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7591 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7592 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7597 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7601 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7602 *** create shared libraries on Solaris systems. Therefore, libtool
7603 *** is disabling shared libraries support. We urge you to upgrade GNU
7604 *** binutils to release 2.9.1 or newer. Another option is to modify
7605 *** your PATH or compiler configuration so that the native linker is
7606 *** used, and then restart.
7609 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7610 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7611 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7617 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7618 case `$LD -v 2>&1` in
7619 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7623 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7624 *** reliably create shared libraries on SCO systems. Therefore, libtool
7625 *** is disabling shared libraries support. We urge you to upgrade GNU
7626 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7627 *** your PATH or compiler configuration so that the native linker is
7628 *** used, and then restart.
7633 # For security reasons, it is highly recommended that you always
7634 # use absolute paths for naming shared libraries, and exclude the
7635 # DT_RUNPATH tag from executables and libraries. But doing so
7636 # requires that you compile everything twice, which is a pain.
7637 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7638 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7639 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7640 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7649 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7652 hardcode_shlibpath_var
=no
7656 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7657 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7658 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7665 if test "$ld_shlibs" = no
; then
7667 hardcode_libdir_flag_spec
=
7668 export_dynamic_flag_spec
=
7669 whole_archive_flag_spec
=
7672 # PORTME fill in a description of your system's linker (not GNU ld)
7675 allow_undefined_flag
=unsupported
7676 always_export_symbols
=yes
7677 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'
7678 # Note: this linker hardcodes the directories in LIBPATH if there
7679 # are no directories specified by -L.
7680 hardcode_minus_L
=yes
7681 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7682 # Neither direct hardcoding nor static linking is supported with a
7684 hardcode_direct
=unsupported
7689 if test "$host_cpu" = ia64
; then
7690 # On IA64, the linker does run time linking by default, so we don't
7691 # have to do anything special.
7692 aix_use_runtimelinking
=no
7693 exp_sym_flag
='-Bexport'
7696 # If we're using GNU nm, then we don't want the "-C" option.
7697 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7698 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7699 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'
7701 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'
7703 aix_use_runtimelinking
=no
7705 # Test if we are trying to use run time linking or normal
7706 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7707 # need to do runtime linking.
7708 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7709 for ld_flag
in $LDFLAGS; do
7710 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7711 aix_use_runtimelinking
=yes
7718 exp_sym_flag
='-bexport'
7719 no_entry_flag
='-bnoentry'
7722 # When large executables or shared objects are built, AIX ld can
7723 # have problems creating the table of contents. If linking a library
7724 # or program results in "error TOC overflow" add -mminimal-toc to
7725 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7726 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7730 hardcode_direct_absolute
=yes
7731 hardcode_libdir_separator
=':'
7732 link_all_deplibs
=yes
7733 file_list_spec
='${wl}-f,'
7735 if test "$GCC" = yes; then
7736 case $host_os in aix4.
[012]|aix4.
[012].
*)
7737 # We only want to do this on AIX 4.2 and lower, the check
7738 # below for broken collect2 doesn't work under 4.3+
7739 collect2name
=`${CC} -print-prog-name=collect2`
7740 if test -f "$collect2name" &&
7741 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7743 # We have reworked collect2
7746 # We have old collect2
7747 hardcode_direct
=unsupported
7748 # It fails to find uninstalled libraries when the uninstalled
7749 # path is not listed in the libpath. Setting hardcode_minus_L
7750 # to unsupported forces relinking
7751 hardcode_minus_L
=yes
7752 hardcode_libdir_flag_spec
='-L$libdir'
7753 hardcode_libdir_separator
=
7757 shared_flag
='-shared'
7758 if test "$aix_use_runtimelinking" = yes; then
7759 shared_flag
="$shared_flag "'${wl}-G'
7764 if test "$host_cpu" = ia64
; then
7765 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7766 # chokes on -Wl,-G. The following line is correct:
7769 if test "$aix_use_runtimelinking" = yes; then
7770 shared_flag
='${wl}-G'
7772 shared_flag
='${wl}-bM:SRE'
7777 export_dynamic_flag_spec
='${wl}-bexpall'
7778 # It seems that -bexpall does not export symbols beginning with
7779 # underscore (_), so it is better to generate a list of symbols to export.
7780 always_export_symbols
=yes
7781 if test "$aix_use_runtimelinking" = yes; then
7782 # Warning - without using the other runtime loading flags (-brtl),
7783 # -berok will link without error, but may produce a broken library.
7784 allow_undefined_flag
='-berok'
7785 # Determine the default libpath from the value encoded in an
7787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7798 if ac_fn_c_try_link
"$LINENO"; then :
7800 lt_aix_libpath_sed
='
7801 /Import File Strings/,/^$/ {
7807 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7808 # Check for a 64-bit object if we didn't find anything.
7809 if test -z "$aix_libpath"; then
7810 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7813 rm -f core conftest.err conftest.
$ac_objext \
7814 conftest
$ac_exeext conftest.
$ac_ext
7815 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7817 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7818 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"
7820 if test "$host_cpu" = ia64
; then
7821 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7822 allow_undefined_flag
="-z nodefs"
7823 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"
7825 # Determine the default libpath from the value encoded in an
7827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7828 /* end confdefs.h. */
7838 if ac_fn_c_try_link
"$LINENO"; then :
7840 lt_aix_libpath_sed
='
7841 /Import File Strings/,/^$/ {
7847 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7848 # Check for a 64-bit object if we didn't find anything.
7849 if test -z "$aix_libpath"; then
7850 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7853 rm -f core conftest.err conftest.
$ac_objext \
7854 conftest
$ac_exeext conftest.
$ac_ext
7855 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7857 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7858 # Warning - without using the other run time loading flags,
7859 # -berok will link without error, but may produce a broken library.
7860 no_undefined_flag
=' ${wl}-bernotok'
7861 allow_undefined_flag
=' ${wl}-berok'
7862 # Exported symbols can be pulled into shared objects from archives
7863 whole_archive_flag_spec
='$convenience'
7864 archive_cmds_need_lc
=yes
7865 # This is similar to how AIX traditionally builds its shared libraries.
7866 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'
7874 # see comment about AmigaOS4 .so support
7875 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7876 archive_expsym_cmds
=''
7879 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)'
7880 hardcode_libdir_flag_spec
='-L$libdir'
7881 hardcode_minus_L
=yes
7887 export_dynamic_flag_spec
=-rdynamic
7890 cygwin
* | mingw
* | pw32
* | cegcc
*)
7891 # When not using gcc, we currently assume that we are using
7892 # Microsoft Visual C++.
7893 # hardcode_libdir_flag_spec is actually meaningless, as there is
7894 # no search path for DLLs.
7895 hardcode_libdir_flag_spec
=' '
7896 allow_undefined_flag
=unsupported
7897 # Tell ltmain to make .lib files, not .a files.
7899 # Tell ltmain to make .dll files, not .so files.
7901 # FIXME: Setting linknames here is a bad hack.
7902 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7903 # The linker will automatically build a .lib file if we build a DLL.
7904 old_archive_from_new_cmds
='true'
7905 # FIXME: Should let the user specify the lib program.
7906 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7907 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7908 enable_shared_with_static_runtimes
=yes
7911 darwin
* | rhapsody
*)
7914 archive_cmds_need_lc
=no
7916 hardcode_automatic
=yes
7917 hardcode_shlibpath_var
=unsupported
7918 whole_archive_flag_spec
=''
7919 link_all_deplibs
=yes
7920 allow_undefined_flag
="$_lt_dar_allow_undefined"
7921 case $cc_basename in
7922 ifort
*) _lt_dar_can_shared
=yes ;;
7923 *) _lt_dar_can_shared
=$GCC ;;
7925 if test "$_lt_dar_can_shared" = "yes"; then
7926 output_verbose_link_cmd
=echo
7927 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7928 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7929 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}"
7930 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}"
7939 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7940 hardcode_libdir_flag_spec
='-L$libdir'
7941 hardcode_shlibpath_var
=no
7948 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7949 # support. Future versions do this automatically, but an explicit c++rt0.o
7950 # does not break anything, and helps significantly (at the cost of a little
7953 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7954 hardcode_libdir_flag_spec
='-R$libdir'
7956 hardcode_shlibpath_var
=no
7959 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7961 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7963 hardcode_minus_L
=yes
7964 hardcode_shlibpath_var
=no
7967 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7968 freebsd
* | dragonfly
*)
7969 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7970 hardcode_libdir_flag_spec
='-R$libdir'
7972 hardcode_shlibpath_var
=no
7976 if test "$GCC" = yes; then
7977 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'
7979 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'
7981 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7982 hardcode_libdir_separator
=:
7985 # hardcode_minus_L: Not really in the search PATH,
7986 # but as the default location of the library.
7987 hardcode_minus_L
=yes
7988 export_dynamic_flag_spec
='${wl}-E'
7992 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7993 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7995 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7997 if test "$with_gnu_ld" = no
; then
7998 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7999 hardcode_libdir_flag_spec_ld
='+b $libdir'
8000 hardcode_libdir_separator
=:
8002 hardcode_direct_absolute
=yes
8003 export_dynamic_flag_spec
='${wl}-E'
8004 # hardcode_minus_L: Not really in the search PATH,
8005 # but as the default location of the library.
8006 hardcode_minus_L
=yes
8011 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8014 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8017 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8020 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8026 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8029 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8032 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8036 if test "$with_gnu_ld" = no
; then
8037 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8038 hardcode_libdir_separator
=:
8043 hardcode_shlibpath_var
=no
8047 hardcode_direct_absolute
=yes
8048 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
8058 irix5
* | irix6
* | nonstopux
*)
8059 if test "$GCC" = yes; then
8060 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'
8061 # Try to use the -exported_symbol ld option, if it does not
8062 # work, assume that -exports_file does not work either and
8063 # implicitly export all symbols.
8064 save_LDFLAGS
="$LDFLAGS"
8065 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8067 /* end confdefs.h. */
8070 if ac_fn_c_try_link
"$LINENO"; then :
8071 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'
8074 rm -f core conftest.err conftest.
$ac_objext \
8075 conftest
$ac_exeext conftest.
$ac_ext
8076 LDFLAGS
="$save_LDFLAGS"
8078 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'
8079 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'
8081 archive_cmds_need_lc
='no'
8082 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8083 hardcode_libdir_separator
=:
8085 link_all_deplibs
=yes
8088 netbsd
* | netbsdelf
*-gnu)
8089 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8090 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8092 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8094 hardcode_libdir_flag_spec
='-R$libdir'
8096 hardcode_shlibpath_var
=no
8100 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8102 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8103 hardcode_libdir_separator
=:
8104 hardcode_shlibpath_var
=no
8111 if test -f /usr
/libexec
/ld.so
; then
8113 hardcode_shlibpath_var
=no
8114 hardcode_direct_absolute
=yes
8115 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8116 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8117 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8118 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8119 export_dynamic_flag_spec
='${wl}-E'
8122 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8123 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8124 hardcode_libdir_flag_spec
='-R$libdir'
8127 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8128 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8138 hardcode_libdir_flag_spec
='-L$libdir'
8139 hardcode_minus_L
=yes
8140 allow_undefined_flag
=unsupported
8141 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'
8142 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8146 if test "$GCC" = yes; then
8147 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8148 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'
8150 allow_undefined_flag
=' -expect_unresolved \*'
8151 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'
8153 archive_cmds_need_lc
='no'
8154 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8155 hardcode_libdir_separator
=:
8158 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8159 if test "$GCC" = yes; then
8160 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8161 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'
8162 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8164 allow_undefined_flag
=' -expect_unresolved \*'
8165 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'
8166 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~
8167 $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'
8169 # Both c and cxx compiler support -rpath directly
8170 hardcode_libdir_flag_spec
='-rpath $libdir'
8172 archive_cmds_need_lc
='no'
8173 hardcode_libdir_separator
=:
8177 no_undefined_flag
=' -z defs'
8178 if test "$GCC" = yes; then
8180 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8181 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8182 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8184 case `$CC -V 2>&1` in
8187 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8188 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8189 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8193 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8194 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8195 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8199 hardcode_libdir_flag_spec
='-R$libdir'
8200 hardcode_shlibpath_var
=no
8202 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8204 # The compiler driver will combine and reorder linker options,
8205 # but understands `-z linker_flag'. GCC discards it without `$wl',
8206 # but is careful enough not to reorder.
8207 # Supported since Solaris 2.6 (maybe 2.5.1?)
8208 if test "$GCC" = yes; then
8209 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8211 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8215 link_all_deplibs
=yes
8219 if test "x$host_vendor" = xsequent
; then
8220 # Use $CC to link under sequent, because it throws in some extra .o
8221 # files that make .init and .fini sections work.
8222 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8224 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8226 hardcode_libdir_flag_spec
='-L$libdir'
8228 hardcode_minus_L
=yes
8229 hardcode_shlibpath_var
=no
8233 case $host_vendor in
8235 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8236 hardcode_direct
=yes # is this really true???
8239 ## LD is ld it makes a PLAMLIB
8240 ## CC just makes a GrossModule.
8241 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8242 reload_cmds
='$CC -r -o $output$reload_objs'
8246 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8247 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8250 runpath_var
='LD_RUN_PATH'
8251 hardcode_shlibpath_var
=no
8255 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8256 hardcode_shlibpath_var
=no
8257 export_dynamic_flag_spec
='-Bexport'
8261 if test -d /usr
/nec
; then
8262 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8263 hardcode_shlibpath_var
=no
8264 runpath_var
=LD_RUN_PATH
8265 hardcode_runpath_var
=yes
8270 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8271 no_undefined_flag
='${wl}-z,text'
8272 archive_cmds_need_lc
=no
8273 hardcode_shlibpath_var
=no
8274 runpath_var
='LD_RUN_PATH'
8276 if test "$GCC" = yes; then
8277 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8278 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8281 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8285 sysv5
* | sco3.2v5
* | sco5v6
*)
8286 # Note: We can NOT use -z defs as we might desire, because we do not
8287 # link with -lc, and that would cause any symbols used from libc to
8288 # always be unresolved, which means just about no library would
8289 # ever link correctly. If we're not using GNU ld we use -z text
8290 # though, which does catch some bad symbols but isn't as heavy-handed
8292 no_undefined_flag
='${wl}-z,text'
8293 allow_undefined_flag
='${wl}-z,nodefs'
8294 archive_cmds_need_lc
=no
8295 hardcode_shlibpath_var
=no
8296 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8297 hardcode_libdir_separator
=':'
8298 link_all_deplibs
=yes
8299 export_dynamic_flag_spec
='${wl}-Bexport'
8300 runpath_var
='LD_RUN_PATH'
8302 if test "$GCC" = yes; then
8303 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8304 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8306 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8307 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8312 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8313 hardcode_libdir_flag_spec
='-L$libdir'
8314 hardcode_shlibpath_var
=no
8322 if test x
$host_vendor = xsni
; then
8324 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8325 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8332 $as_echo "$ld_shlibs" >&6; }
8333 test "$ld_shlibs" = no
&& can_build_shared
=no
8335 with_gnu_ld
=$with_gnu_ld
8352 # Do we need to explicitly link libc?
8354 case "x$archive_cmds_need_lc" in
8356 # Assume -lc should be added
8357 archive_cmds_need_lc
=yes
8359 if test "$enable_shared" = yes && test "$GCC" = yes; then
8360 case $archive_cmds in
8362 # FIXME: we may have to deal with multi-command sequences.
8365 # Test whether the compiler implicitly links with -lc since on some
8366 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8367 # to ld, don't add -lc before -lgcc.
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8369 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8371 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8374 (eval $ac_compile) 2>&5
8376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8377 test $ac_status = 0; } 2>conftest.err
; then
8380 libobjs
=conftest.
$ac_objext
8382 wl
=$lt_prog_compiler_wl
8383 pic_flag
=$lt_prog_compiler_pic
8389 lt_save_allow_undefined_flag
=$allow_undefined_flag
8390 allow_undefined_flag
=
8391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8392 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8395 test $ac_status = 0; }
8397 archive_cmds_need_lc
=no
8399 archive_cmds_need_lc
=yes
8401 allow_undefined_flag
=$lt_save_allow_undefined_flag
8403 cat conftest.err
1>&5
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8407 $as_echo "$archive_cmds_need_lc" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8571 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8573 if test "$GCC" = yes; then
8575 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8576 *) lt_awk_arg
="/^libraries:/" ;;
8578 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8579 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8580 # if the path contains ";" then we assume it to be the separator
8581 # otherwise default to the standard path separator (i.e. ":") - it is
8582 # assumed that no part of a normal pathname contains ";" but that should
8583 # okay in the real world where ";" in dirpaths is itself problematic.
8584 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8586 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8588 # Ok, now we have the path, separated by spaces, we can step through it
8589 # and add multilib dir if necessary.
8590 lt_tmp_lt_search_path_spec
=
8591 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8592 for lt_sys_path
in $lt_search_path_spec; do
8593 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8594 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8596 test -d "$lt_sys_path" && \
8597 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8600 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8601 BEGIN {RS=" "; FS="/|\n";} {
8604 for (lt_i = NF; lt_i > 0; lt_i--) {
8605 if ($lt_i != "" && $lt_i != ".") {
8606 if ($lt_i == "..") {
8609 if (lt_count == 0) {
8610 lt_foo="/" $lt_i lt_foo;
8617 if (lt_foo != "") { lt_freq[lt_foo]++; }
8618 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8620 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8622 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8625 libname_spec
='lib$name'
8633 shlibpath_overrides_runpath
=unknown
8635 dynamic_linker
="$host_os ld.so"
8636 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8637 need_lib_prefix
=unknown
8638 hardcode_into_libs
=no
8640 # when you set need_version to no, make sure it does not cause -set_version
8641 # flags to be left without arguments
8642 need_version
=unknown
8647 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8648 shlibpath_var
=LIBPATH
8650 # AIX 3 has no versioning support, so we append a major version to the name.
8651 soname_spec
='${libname}${release}${shared_ext}$major'
8658 hardcode_into_libs
=yes
8659 if test "$host_cpu" = ia64
; then
8660 # AIX 5 supports IA64
8661 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8662 shlibpath_var
=LD_LIBRARY_PATH
8664 # With GCC up to 2.95.x, collect2 would create an import file
8665 # for dependence libraries. The import file would start with
8666 # the line `#! .'. This would cause the generated library to
8667 # depend on `.', always an invalid library. This was fixed in
8668 # development snapshots of GCC prior to 3.0.
8670 aix4
| aix4.
[01] | aix4.
[01].
*)
8671 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8673 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8680 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8681 # soname into executable. Probably we can add versioning support to
8682 # collect2, so additional links can be useful in future.
8683 if test "$aix_use_runtimelinking" = yes; then
8684 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8685 # instead of lib<name>.a to let people know that these are not
8686 # typical AIX shared libraries.
8687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8689 # We preserve .a as extension for shared libraries through AIX4.2
8690 # and later when we are not doing run time linking.
8691 library_names_spec
='${libname}${release}.a $libname.a'
8692 soname_spec
='${libname}${release}${shared_ext}$major'
8694 shlibpath_var
=LIBPATH
8701 # Since July 2007 AmigaOS4 officially supports .so libraries.
8702 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8706 library_names_spec
='$libname.ixlibrary $libname.a'
8707 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8708 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'
8714 library_names_spec
='${libname}${shared_ext}'
8715 dynamic_linker
="$host_os ld.so"
8716 shlibpath_var
=LIBRARY_PATH
8722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8723 soname_spec
='${libname}${release}${shared_ext}$major'
8724 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8725 shlibpath_var
=LD_LIBRARY_PATH
8726 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8727 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8728 # the default ld.so.conf also contains /usr/contrib/lib and
8729 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8730 # libtool to hard-code these into programs
8733 cygwin
* | mingw
* | pw32
* | cegcc
*)
8734 version_type
=windows
8739 case $GCC,$host_os in
8740 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8741 library_names_spec
='$libname.dll.a'
8742 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8743 postinstall_cmds
='base_file=`basename \${file}`~
8744 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8745 dldir=$destdir/`dirname \$dlpath`~
8746 test -d \$dldir || mkdir -p \$dldir~
8747 $install_prog $dir/$dlname \$dldir/$dlname~
8748 chmod a+x \$dldir/$dlname~
8749 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8750 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8752 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8753 dlpath=$dir/\$dldll~
8755 shlibpath_overrides_runpath
=yes
8759 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8760 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8761 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8764 # MinGW DLLs use traditional 'lib' prefix
8765 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8766 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8767 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8768 # It is most probably a Windows format PATH printed by
8769 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8770 # path with ; separators, and with drive letters. We can handle the
8771 # drive letters (cygwin fileutils understands them), so leave them,
8772 # especially as we might pass files found there to a mingw objdump,
8773 # which wouldn't understand a cygwinified path. Ahh.
8774 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8776 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8780 # pw32 DLLs use 'pw' prefix rather than 'lib'
8781 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8787 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8790 dynamic_linker
='Win32 ld.exe'
8791 # FIXME: first we should search . and the directory the executable is in
8795 darwin
* | rhapsody
*)
8796 dynamic_linker
="$host_os dyld"
8800 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8801 soname_spec
='${libname}${release}${major}$shared_ext'
8802 shlibpath_overrides_runpath
=yes
8803 shlibpath_var
=DYLD_LIBRARY_PATH
8804 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8806 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8807 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8815 soname_spec
='${libname}${release}${shared_ext}$major'
8816 shlibpath_var
=LD_LIBRARY_PATH
8823 freebsd
* | dragonfly
*)
8824 # DragonFly does not have aout. When/if they implement a new
8825 # versioning mechanism, adjust this.
8826 if test -x /usr
/bin
/objformat
; then
8827 objformat
=`/usr/bin/objformat`
8830 freebsd
[123]*) objformat
=aout
;;
8834 version_type
=freebsd
-$objformat
8835 case $version_type in
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8842 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8846 shlibpath_var
=LD_LIBRARY_PATH
8849 shlibpath_overrides_runpath
=yes
8851 freebsd3.
[01]* | freebsdelf3.
[01]*)
8852 shlibpath_overrides_runpath
=yes
8853 hardcode_into_libs
=yes
8855 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8856 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8857 shlibpath_overrides_runpath
=no
8858 hardcode_into_libs
=yes
8860 *) # from 4.6 on, and DragonFly
8861 shlibpath_overrides_runpath
=yes
8862 hardcode_into_libs
=yes
8871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8872 soname_spec
='${libname}${release}${shared_ext}$major'
8873 shlibpath_var
=LD_LIBRARY_PATH
8874 hardcode_into_libs
=yes
8877 hpux9
* | hpux10
* | hpux11
*)
8878 # Give a soname corresponding to the major version so that dld.sl refuses to
8879 # link against other versions.
8886 hardcode_into_libs
=yes
8887 dynamic_linker
="$host_os dld.so"
8888 shlibpath_var
=LD_LIBRARY_PATH
8889 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8891 soname_spec
='${libname}${release}${shared_ext}$major'
8892 if test "X$HPUX_IA64_MODE" = X32
; then
8893 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8895 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8897 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8901 hardcode_into_libs
=yes
8902 dynamic_linker
="$host_os dld.sl"
8903 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8904 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8906 soname_spec
='${libname}${release}${shared_ext}$major'
8907 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8908 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8912 dynamic_linker
="$host_os dld.sl"
8913 shlibpath_var
=SHLIB_PATH
8914 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8916 soname_spec
='${libname}${release}${shared_ext}$major'
8919 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8920 postinstall_cmds
='chmod 555 $lib'
8927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8928 soname_spec
='${libname}${release}${shared_ext}$major'
8929 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8930 shlibpath_var
=LD_LIBRARY_PATH
8931 shlibpath_overrides_runpath
=no
8932 hardcode_into_libs
=yes
8935 irix5
* | irix6
* | nonstopux
*)
8937 nonstopux
*) version_type
=nonstopux
;;
8939 if test "$lt_cv_prog_gnu_ld" = yes; then
8947 soname_spec
='${libname}${release}${shared_ext}$major'
8948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8950 irix5
* | nonstopux
*)
8954 case $LD in # libtool.m4 will add one of these switches to LD
8955 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8956 libsuff
= shlibsuff
= libmagic
=32-bit;;
8957 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8958 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8959 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8960 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8961 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8965 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8966 shlibpath_overrides_runpath
=no
8967 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8968 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8969 hardcode_into_libs
=yes
8972 # No shared lib support for Linux oldld, aout, or coff.
8973 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8977 # This must be Linux ELF.
8978 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8983 soname_spec
='${libname}${release}${shared_ext}$major'
8984 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8985 shlibpath_var
=LD_LIBRARY_PATH
8986 shlibpath_overrides_runpath
=no
8987 # Some binutils ld are patched to set DT_RUNPATH
8988 save_LDFLAGS
=$LDFLAGS
8990 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8991 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
9003 if ac_fn_c_try_link
"$LINENO"; then :
9004 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9005 shlibpath_overrides_runpath
=yes
9008 rm -f core conftest.err conftest.
$ac_objext \
9009 conftest
$ac_exeext conftest.
$ac_ext
9010 LDFLAGS
=$save_LDFLAGS
9013 # This implies no fast_install, which is unacceptable.
9014 # Some rework will be needed to allow for fast_install
9015 # before this can be enabled.
9016 hardcode_into_libs
=yes
9018 # Append ld.so.conf contents to the search path
9019 if test -f /etc
/ld.so.conf
; then
9020 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' ' '`
9021 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9024 # We used to test for /lib/ld.so.1 and disable shared libraries on
9025 # powerpc, because MkLinux only supported shared libraries with the
9026 # GNU dynamic linker. Since this was broken with cross compilers,
9027 # most powerpc-linux boxes support dynamic linking these days and
9028 # people can always --disable-shared, the test was removed, and we
9029 # assume the GNU/Linux dynamic linker is in use.
9030 dynamic_linker
='GNU/Linux ld.so'
9037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9038 soname_spec
='${libname}${release}${shared_ext}$major'
9039 shlibpath_var
=LD_LIBRARY_PATH
9040 shlibpath_overrides_runpath
=no
9041 hardcode_into_libs
=yes
9042 dynamic_linker
='NetBSD ld.elf_so'
9049 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9051 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9052 dynamic_linker
='NetBSD (a.out) ld.so'
9054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9055 soname_spec
='${libname}${release}${shared_ext}$major'
9056 dynamic_linker
='NetBSD ld.elf_so'
9058 shlibpath_var
=LD_LIBRARY_PATH
9059 shlibpath_overrides_runpath
=yes
9060 hardcode_into_libs
=yes
9065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9066 shlibpath_var
=LD_LIBRARY_PATH
9067 shlibpath_overrides_runpath
=yes
9074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9075 soname_spec
='${libname}${release}${shared_ext}$major'
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 shlibpath_overrides_runpath
=no
9078 hardcode_into_libs
=yes
9079 dynamic_linker
='ldqnx.so'
9084 sys_lib_dlsearch_path_spec
="/usr/lib"
9086 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9088 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9089 *) need_version
=no
;;
9091 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9092 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9093 shlibpath_var
=LD_LIBRARY_PATH
9094 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9096 openbsd2.
[89] | openbsd2.
[89].
*)
9097 shlibpath_overrides_runpath
=no
9100 shlibpath_overrides_runpath
=yes
9104 shlibpath_overrides_runpath
=yes
9109 libname_spec
='$name'
9112 library_names_spec
='$libname${shared_ext} $libname.a'
9113 dynamic_linker
='OS/2 ld.exe'
9114 shlibpath_var
=LIBPATH
9117 osf3
* | osf4
* | osf5
*)
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9123 shlibpath_var
=LD_LIBRARY_PATH
9124 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9125 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9136 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9137 soname_spec
='${libname}${release}${shared_ext}$major'
9138 shlibpath_var
=LD_LIBRARY_PATH
9139 shlibpath_overrides_runpath
=yes
9140 hardcode_into_libs
=yes
9141 # ldd complains unless libraries are executable
9142 postinstall_cmds
='chmod +x $lib'
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9148 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9149 shlibpath_var
=LD_LIBRARY_PATH
9150 shlibpath_overrides_runpath
=yes
9151 if test "$with_gnu_ld" = yes; then
9159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9160 soname_spec
='${libname}${release}${shared_ext}$major'
9161 shlibpath_var
=LD_LIBRARY_PATH
9162 case $host_vendor in
9164 shlibpath_overrides_runpath
=no
9166 runpath_var
=LD_RUN_PATH
9174 shlibpath_overrides_runpath
=no
9175 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9181 if test -d /usr
/nec
;then
9183 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9184 soname_spec
='$libname${shared_ext}.$major'
9185 shlibpath_var
=LD_LIBRARY_PATH
9189 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9190 version_type
=freebsd
-elf
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9194 soname_spec
='${libname}${release}${shared_ext}$major'
9195 shlibpath_var
=LD_LIBRARY_PATH
9196 shlibpath_overrides_runpath
=yes
9197 hardcode_into_libs
=yes
9198 if test "$with_gnu_ld" = yes; then
9199 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9201 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9204 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9208 sys_lib_dlsearch_path_spec
='/usr/lib'
9212 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9217 shlibpath_var
=LD_LIBRARY_PATH
9218 shlibpath_overrides_runpath
=no
9219 hardcode_into_libs
=yes
9224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9225 soname_spec
='${libname}${release}${shared_ext}$major'
9226 shlibpath_var
=LD_LIBRARY_PATH
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9234 $as_echo "$dynamic_linker" >&6; }
9235 test "$dynamic_linker" = no
&& can_build_shared
=no
9237 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9238 if test "$GCC" = yes; then
9239 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9242 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9243 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9245 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9246 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9336 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9338 if test -n "$hardcode_libdir_flag_spec" ||
9339 test -n "$runpath_var" ||
9340 test "X$hardcode_automatic" = "Xyes" ; then
9342 # We can hardcode non-existent directories.
9343 if test "$hardcode_direct" != no
&&
9344 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9345 # have to relink, otherwise we might link with an installed library
9346 # when we should be linking with a yet-to-be-installed one
9347 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9348 test "$hardcode_minus_L" != no
; then
9349 # Linking always hardcodes the temporary library directory.
9350 hardcode_action
=relink
9352 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9353 hardcode_action
=immediate
9356 # We cannot hardcode anything, or else we can only hardcode existing
9358 hardcode_action
=unsupported
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9361 $as_echo "$hardcode_action" >&6; }
9363 if test "$hardcode_action" = relink
||
9364 test "$inherit_rpath" = yes; then
9365 # Fast installation is not supported
9366 enable_fast_install
=no
9367 elif test "$shlibpath_overrides_runpath" = yes ||
9368 test "$enable_shared" = no
; then
9369 # Fast installation is not necessary
9370 enable_fast_install
=needless
9378 if test "x$enable_dlopen" != xyes
; then
9379 enable_dlopen
=unknown
9380 enable_dlopen_self
=unknown
9381 enable_dlopen_self_static
=unknown
9388 lt_cv_dlopen
="load_add_on"
9390 lt_cv_dlopen_self
=yes
9393 mingw
* | pw32
* | cegcc
*)
9394 lt_cv_dlopen
="LoadLibrary"
9399 lt_cv_dlopen
="dlopen"
9404 # if libdl is installed we need to link against it
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9406 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9407 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9408 $as_echo_n "(cached) " >&6
9410 ac_check_lib_save_LIBS
=$LIBS
9412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9430 if ac_fn_c_try_link
"$LINENO"; then :
9431 ac_cv_lib_dl_dlopen
=yes
9433 ac_cv_lib_dl_dlopen
=no
9435 rm -f core conftest.err conftest.
$ac_objext \
9436 conftest
$ac_exeext conftest.
$ac_ext
9437 LIBS
=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9440 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9441 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9442 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9447 lt_cv_dlopen_self
=yes
9454 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9455 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9456 lt_cv_dlopen
="shl_load"
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9459 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9460 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9461 $as_echo_n "(cached) " >&6
9463 ac_check_lib_save_LIBS
=$LIBS
9465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9468 /* Override any GCC internal prototype to avoid an error.
9469 Use char because int might match the return type of a GCC
9470 builtin and then its argument prototype would still apply. */
9483 if ac_fn_c_try_link
"$LINENO"; then :
9484 ac_cv_lib_dld_shl_load
=yes
9486 ac_cv_lib_dld_shl_load
=no
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 LIBS
=$ac_check_lib_save_LIBS
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9493 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9494 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9495 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9497 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9498 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9499 lt_cv_dlopen
="dlopen"
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9502 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9504 $as_echo_n "(cached) " >&6
9506 ac_check_lib_save_LIBS
=$LIBS
9508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9526 if ac_fn_c_try_link
"$LINENO"; then :
9527 ac_cv_lib_dl_dlopen
=yes
9529 ac_cv_lib_dl_dlopen
=no
9531 rm -f core conftest.err conftest.
$ac_objext \
9532 conftest
$ac_exeext conftest.
$ac_ext
9533 LIBS
=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9536 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9537 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9538 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9541 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9542 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9543 $as_echo_n "(cached) " >&6
9545 ac_check_lib_save_LIBS
=$LIBS
9547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9565 if ac_fn_c_try_link
"$LINENO"; then :
9566 ac_cv_lib_svld_dlopen
=yes
9568 ac_cv_lib_svld_dlopen
=no
9570 rm -f core conftest.err conftest.
$ac_objext \
9571 conftest
$ac_exeext conftest.
$ac_ext
9572 LIBS
=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9575 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9576 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9577 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9580 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9581 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9582 $as_echo_n "(cached) " >&6
9584 ac_check_lib_save_LIBS
=$LIBS
9586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9604 if ac_fn_c_try_link
"$LINENO"; then :
9605 ac_cv_lib_dld_dld_link
=yes
9607 ac_cv_lib_dld_dld_link
=no
9609 rm -f core conftest.err conftest.
$ac_objext \
9610 conftest
$ac_exeext conftest.
$ac_ext
9611 LIBS
=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9614 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9615 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9616 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9637 if test "x$lt_cv_dlopen" != xno
; then
9643 case $lt_cv_dlopen in
9645 save_CPPFLAGS
="$CPPFLAGS"
9646 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9648 save_LDFLAGS
="$LDFLAGS"
9649 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9652 LIBS
="$lt_cv_dlopen_libs $LIBS"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9655 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9656 if test "${lt_cv_dlopen_self+set}" = set; then :
9657 $as_echo_n "(cached) " >&6
9659 if test "$cross_compiling" = yes; then :
9660 lt_cv_dlopen_self
=cross
9662 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9663 lt_status
=$lt_dlunknown
9664 cat > conftest.
$ac_ext <<_LT_EOF
9665 #line 9665 "configure"
9666 #include "confdefs.h"
9675 # define LT_DLGLOBAL RTLD_GLOBAL
9678 # define LT_DLGLOBAL DL_GLOBAL
9680 # define LT_DLGLOBAL 0
9684 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9685 find out it does not work in some platform. */
9686 #ifndef LT_DLLAZY_OR_NOW
9688 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9691 # define LT_DLLAZY_OR_NOW DL_LAZY
9694 # define LT_DLLAZY_OR_NOW RTLD_NOW
9697 # define LT_DLLAZY_OR_NOW DL_NOW
9699 # define LT_DLLAZY_OR_NOW 0
9706 void fnord() { int i=42;}
9709 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9710 int status = $lt_dlunknown;
9714 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9715 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9716 /* dlclose (self); */
9724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9725 (eval $ac_link) 2>&5
9727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9728 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9729 (.
/conftest
; exit; ) >&5 2>/dev
/null
9732 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9733 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9734 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9737 # compilation failed
9738 lt_cv_dlopen_self
=no
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9746 $as_echo "$lt_cv_dlopen_self" >&6; }
9748 if test "x$lt_cv_dlopen_self" = xyes
; then
9749 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9751 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9752 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9753 $as_echo_n "(cached) " >&6
9755 if test "$cross_compiling" = yes; then :
9756 lt_cv_dlopen_self_static
=cross
9758 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9759 lt_status
=$lt_dlunknown
9760 cat > conftest.
$ac_ext <<_LT_EOF
9761 #line 9761 "configure"
9762 #include "confdefs.h"
9771 # define LT_DLGLOBAL RTLD_GLOBAL
9774 # define LT_DLGLOBAL DL_GLOBAL
9776 # define LT_DLGLOBAL 0
9780 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9781 find out it does not work in some platform. */
9782 #ifndef LT_DLLAZY_OR_NOW
9784 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9787 # define LT_DLLAZY_OR_NOW DL_LAZY
9790 # define LT_DLLAZY_OR_NOW RTLD_NOW
9793 # define LT_DLLAZY_OR_NOW DL_NOW
9795 # define LT_DLLAZY_OR_NOW 0
9802 void fnord() { int i=42;}
9805 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9806 int status = $lt_dlunknown;
9810 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9811 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9812 /* dlclose (self); */
9820 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9821 (eval $ac_link) 2>&5
9823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9824 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9825 (.
/conftest
; exit; ) >&5 2>/dev
/null
9828 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9829 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9830 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9833 # compilation failed
9834 lt_cv_dlopen_self_static
=no
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9842 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9845 CPPFLAGS
="$save_CPPFLAGS"
9846 LDFLAGS
="$save_LDFLAGS"
9851 case $lt_cv_dlopen_self in
9852 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9853 *) enable_dlopen_self
=unknown
;;
9856 case $lt_cv_dlopen_self_static in
9857 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9858 *) enable_dlopen_self_static
=unknown
;;
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9881 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9882 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9883 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9884 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9886 $as_echo "yes" >&6; }
9888 # FIXME - insert some real tests, host_os isn't really good enough
9891 if test -n "$STRIP" ; then
9892 striplib
="$STRIP -x"
9893 old_striplib
="$STRIP -S"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 $as_echo "yes" >&6; }
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9903 $as_echo "no" >&6; }
9919 # Report which library types will actually be built
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9921 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9923 $as_echo "$can_build_shared" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9926 $as_echo_n "checking whether to build shared libraries... " >&6; }
9927 test "$can_build_shared" = "no" && enable_shared
=no
9929 # On AIX, shared libraries and static libraries use the same namespace, and
9930 # are all built from PIC.
9933 test "$enable_shared" = yes && enable_static
=no
9934 if test -n "$RANLIB"; then
9935 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9936 postinstall_cmds
='$RANLIB $lib'
9941 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9942 test "$enable_shared" = yes && enable_static
=no
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9947 $as_echo "$enable_shared" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9950 $as_echo_n "checking whether to build static libraries... " >&6; }
9951 # Make sure either enable_shared or enable_static is yes.
9952 test "$enable_shared" = yes || enable_static
=yes
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9954 $as_echo "$enable_static" >&6; }
9961 ac_cpp
='$CPP $CPPFLAGS'
9962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9980 ac_config_commands
="$ac_config_commands libtool"
9988 for ac_prog
in 'bison -y' byacc
9990 # Extract the first word of "$ac_prog", so it can be a program name with args.
9991 set dummy
$ac_prog; ac_word
=$2
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9993 $as_echo_n "checking for $ac_word... " >&6; }
9994 if test "${ac_cv_prog_YACC+set}" = set; then :
9995 $as_echo_n "(cached) " >&6
9997 if test -n "$YACC"; then
9998 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 for as_dir
in $PATH
10004 test -z "$as_dir" && as_dir
=.
10005 for ac_exec_ext
in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_YACC
="$ac_prog"
10008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10017 YACC
=$ac_cv_prog_YACC
10018 if test -n "$YACC"; then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
10020 $as_echo "$YACC" >&6; }
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10023 $as_echo "no" >&6; }
10027 test -n "$YACC" && break
10029 test -n "$YACC" || YACC
="yacc"
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
10036 $as_echo_n "checking if bison is the parser generator... " >&6; }
10037 if test "${ax_cv_prog_bison+set}" = set; then :
10038 $as_echo_n "(cached) " >&6
10041 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
10043 ax_cv_prog_bison
=yes
10047 ax_cv_prog_bison
=no
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
10053 $as_echo "$ax_cv_prog_bison" >&6; }
10054 if test "$ax_cv_prog_bison" = yes; then :
10058 BISON
=`echo $YACC | $SED -e 's/ -y//'`
10059 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10065 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
10069 for ac_prog
in gawk mawk nawk
awk
10071 # Extract the first word of "$ac_prog", so it can be a program name with args.
10072 set dummy
$ac_prog; ac_word
=$2
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10074 $as_echo_n "checking for $ac_word... " >&6; }
10075 if test "${ac_cv_prog_AWK+set}" = set; then :
10076 $as_echo_n "(cached) " >&6
10078 if test -n "$AWK"; then
10079 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
10081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10082 for as_dir
in $PATH
10085 test -z "$as_dir" && as_dir
=.
10086 for ac_exec_ext
in '' $ac_executable_extensions; do
10087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10088 ac_cv_prog_AWK
="$ac_prog"
10089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10098 AWK
=$ac_cv_prog_AWK
10099 if test -n "$AWK"; then
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
10101 $as_echo "$AWK" >&6; }
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10104 $as_echo "no" >&6; }
10108 test -n "$AWK" && break
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
10112 $as_echo_n "checking if bison is >= 2.4... " >&6; }
10113 as_arg_v1
=$BISON_VERSION
10115 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10120 $as_echo "no" >&6; }
10121 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10125 $as_echo "yes" >&6; } ;; #(
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10128 $as_echo "yes" >&6; } ;; #(
10133 # expand $ac_aux_dir to an absolute path
10134 am_aux_dir
=`cd $ac_aux_dir && pwd`
10136 if test x
"${MISSING+set}" != xset
; then
10137 case $am_aux_dir in
10139 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
10141 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
10144 # Use eval to expand $SHELL
10145 if eval "$MISSING --run true"; then
10146 am_missing_run
="$MISSING --run "
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
10150 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
10153 for ac_prog
in flex
lex
10155 # Extract the first word of "$ac_prog", so it can be a program name with args.
10156 set dummy
$ac_prog; ac_word
=$2
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10158 $as_echo_n "checking for $ac_word... " >&6; }
10159 if test "${ac_cv_prog_LEX+set}" = set; then :
10160 $as_echo_n "(cached) " >&6
10162 if test -n "$LEX"; then
10163 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10166 for as_dir
in $PATH
10169 test -z "$as_dir" && as_dir
=.
10170 for ac_exec_ext
in '' $ac_executable_extensions; do
10171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10172 ac_cv_prog_LEX
="$ac_prog"
10173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10182 LEX
=$ac_cv_prog_LEX
10183 if test -n "$LEX"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
10185 $as_echo "$LEX" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10188 $as_echo "no" >&6; }
10192 test -n "$LEX" && break
10194 test -n "$LEX" || LEX
=":"
10196 if test "x$LEX" != "x:"; then
10197 cat >conftest.l
<<_ACEOF
10203 e { yyless (input () != 0); }
10204 f { unput (yytext[0]); }
10205 . { BEGIN INITIAL; }
10207 #ifdef YYTEXT_POINTER
10208 extern char *yytext;
10213 return ! yylex () + ! yywrap ();
10216 { { ac_try
="$LEX conftest.l"
10217 case "(($ac_try" in
10218 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10219 *) ac_try_echo=$ac_try;;
10221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10222 $as_echo "$ac_try_echo"; } >&5
10223 (eval "$LEX conftest.l") 2>&5
10225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10226 test $ac_status = 0; }
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
10228 $as_echo_n "checking lex output file root... " >&6; }
10229 if test "${ac_cv_prog_lex_root+set}" = set; then :
10230 $as_echo_n "(cached) " >&6
10233 if test -f lex.yy.c; then
10234 ac_cv_prog_lex_root=lex.yy
10235 elif test -f lexyy.c; then
10236 ac_cv_prog_lex_root=lexyy
10238 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
10242 $as_echo "$ac_cv_prog_lex_root" >&6; }
10243 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
10245 if test -z "${LEXLIB+set}"; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
10247 $as_echo_n "checking lex library... " >&6; }
10248 if test "${ac_cv_lib_lex+set}" = set; then :
10249 $as_echo_n "(cached) " >&6
10253 ac_cv_lib_lex='none needed'
10254 for ac_lib in '' -lfl -ll; do
10255 LIBS="$ac_lib $ac_save_LIBS"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 `cat $LEX_OUTPUT_ROOT.c
`
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 ac_cv_lib_lex=$ac_lib
10263 rm -f core conftest.err conftest.$ac_objext \
10264 conftest$ac_exeext conftest.$ac_ext
10265 test "$ac_cv_lib_lex" != 'none needed' && break
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
10271 $as_echo "$ac_cv_lib_lex" >&6; }
10272 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
10277 $as_echo_n "checking whether yytext is a pointer... " >&6; }
10278 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
10279 $as_echo_n "(cached) " >&6
10281 # POSIX says lex can declare yytext either as a pointer or an array; the
10282 # default is implementation-dependent. Figure out which it is, since
10283 # not all implementations provide the %pointer and %array declarations.
10284 ac_cv_prog_lex_yytext_pointer=no
10286 LIBS="$LEXLIB $ac_save_LIBS"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 #define YYTEXT_POINTER 1
10290 `cat $LEX_OUTPUT_ROOT.c
`
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_prog_lex_yytext_pointer=yes
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
10301 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
10302 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10304 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
10307 rm -f conftest.l $LEX_OUTPUT_ROOT.c
10310 if test "$LEX" = :; then
10311 LEX=${am_missing_run}flex
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
10318 $as_echo_n "checking if flex is the lexer generator... " >&6; }
10319 if test "${ax_cv_prog_flex+set}" = set; then :
10320 $as_echo_n "(cached) " >&6
10323 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
10325 ax_cv_prog_flex=yes
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
10335 $as_echo "$ax_cv_prog_flex" >&6; }
10336 if test "$ax_cv_prog_flex" = yes; then :
10341 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \(.*\)$/\1/p;d'`
10348 as_fn_error "You need flex 2.5.35 or greater" "$LINENO" 5
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.35" >&5
10354 $as_echo_n "checking if flex is >= 2.5.35... " >&6; }
10355 as_arg_v1=$FLEX_VERSION
10357 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10362 $as_echo "no" >&6; }
10363 as_fn_error "You need flex 2.5.35 or greater" "$LINENO" 5
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10367 $as_echo "yes" >&6; } ;; #(
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10370 $as_echo "yes" >&6; } ;; #(
10375 for ac_prog in bash
10377 # Extract the first word of "$ac_prog", so it can be a program name with args.
10378 set dummy $ac_prog; ac_word=$2
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10380 $as_echo_n "checking for $ac_word... " >&6; }
10381 if test "${ac_cv_prog__BASH+set}" = set; then :
10382 $as_echo_n "(cached) " >&6
10384 if test -n "$_BASH"; then
10385 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
10387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10388 for as_dir in $PATH
10391 test -z "$as_dir" && as_dir=.
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10394 ac_cv_prog__BASH="$ac_prog"
10395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10404 _BASH=$ac_cv_prog__BASH
10405 if test -n "$_BASH"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10407 $as_echo "$_BASH" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10414 test -n "$_BASH" && break
10417 for ac_prog in gperf
10419 # Extract the first word of "$ac_prog", so it can be a program name with args.
10420 set dummy $ac_prog; ac_word=$2
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10422 $as_echo_n "checking for $ac_word... " >&6; }
10423 if test "${ac_cv_prog_GPERF+set}" = set; then :
10424 $as_echo_n "(cached) " >&6
10426 if test -n "$GPERF"; then
10427 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
10429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10430 for as_dir in $PATH
10433 test -z "$as_dir" && as_dir=.
10434 for ac_exec_ext in '' $ac_executable_extensions; do
10435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10436 ac_cv_prog_GPERF="$ac_prog"
10437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10446 GPERF=$ac_cv_prog_GPERF
10447 if test -n "$GPERF"; then
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10449 $as_echo "$GPERF" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 $as_echo "no" >&6; }
10456 test -n "$GPERF" && break
10462 if test "$target_os" = "os2-emx"; then
10463 # Scripts don't pass test -x on OS/2
10469 acceptable_majors="1"
10471 apr_temp_acceptable_apr_config=""
10472 for apr_temp_major in $acceptable_majors
10474 case $apr_temp_major in
10476 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
10479 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
10485 $as_echo_n "checking for APR... " >&6; }
10487 # Check whether --with-apr was given.
10488 if test "${with_apr+set}" = set; then :
10490 if test "$withval" = "no" || test "$withval" = "yes"; then
10491 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
10494 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
10496 for lookdir in "$withval/bin" "$withval"
10498 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
10499 apr_config="$lookdir/$apr_temp_apr_config_file"
10507 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
10508 apr_config="$withval"
10512 if test "$apr_found" != "yes"; then
10513 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
10518 if test -n "1" && test "1" = "1"; then
10519 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
10521 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
10522 apr_config="$apr_temp_apr_config_file"
10527 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
10528 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
10529 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
10538 if test "$apr_found" = "no" && test -d ""; then
10539 apr_temp_abs_srcdir="`cd && pwd`"
10540 apr_found="reconfig"
10541 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
10542 case $apr_bundled_major in
10544 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
10547 apr_temp_apr_config_file="apr-config"
10550 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
10553 if test -n ""; then
10554 apr_config="/$apr_temp_apr_config_file"
10556 apr_config="/$apr_temp_apr_config_file"
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
10564 $as_echo "$apr_found" >&6; }
10566 case $apr_found in #(
10570 for element in `$apr_config --includes`; do
10572 for x in $CPPFLAGS; do
10574 acl_save_prefix="$prefix"
10575 prefix="$acl_final_prefix"
10576 acl_save_exec_prefix="$exec_prefix"
10577 exec_prefix="$acl_final_exec_prefix"
10579 exec_prefix="$acl_save_exec_prefix"
10580 prefix="$acl_save_prefix"
10582 if test "X$x" = "X$element"; then
10587 if test -z "$haveit"; then
10588 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10592 LTLIBAPR=`$apr_config --link-libtool`
10596 as_fn_error "You need apr" "$LINENO" 5 ;;
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
10600 $as_echo_n "checking for a readline compatible library... " >&6; }
10601 if test "${vl_cv_lib_readline+set}" = set; then :
10602 $as_echo_n "(cached) " >&6
10606 for readline_lib in readline edit editline; do
10607 for termcap_lib in "" termcap curses ncurses; do
10608 if test -z "$termcap_lib"; then
10609 TRY_LIB="-l$readline_lib"
10611 TRY_LIB="-l$readline_lib -l$termcap_lib"
10613 LIBS="$ORIG_LIBS $TRY_LIB"
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10627 return readline ();
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 vl_cv_lib_readline="$TRY_LIB"
10635 rm -f core conftest.err conftest.$ac_objext \
10636 conftest$ac_exeext conftest.$ac_ext
10637 if test -n "$vl_cv_lib_readline"; then
10641 if test -n "$vl_cv_lib_readline"; then
10645 if test -z "$vl_cv_lib_readline"; then
10646 vl_cv_lib_readline="no"
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
10652 $as_echo "$vl_cv_lib_readline" >&6; }
10654 if test "$vl_cv_lib_readline" != "no"; then
10656 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
10658 for ac_header in readline.h readline/readline.h
10660 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10661 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10662 eval as_val=\$$as_ac_Header
10663 if test "x$as_val" = x""yes; then :
10664 cat >>confdefs.h <<_ACEOF
10665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
10673 $as_echo_n "checking whether readline supports history... " >&6; }
10674 if test "${vl_cv_lib_readline_history+set}" = set; then :
10675 $as_echo_n "(cached) " >&6
10678 vl_cv_lib_readline_history="no"
10679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10680 /* end confdefs.h. */
10682 /* Override any GCC internal prototype to avoid an error.
10683 Use char because int might match the return type of a GCC
10684 builtin and then its argument prototype would still apply. */
10688 char add_history ();
10692 return add_history ();
10697 if ac_fn_c_try_link "$LINENO"; then :
10698 vl_cv_lib_readline_history="yes"
10700 rm -f core conftest.err conftest.$ac_objext \
10701 conftest$ac_exeext conftest.$ac_ext
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
10705 $as_echo "$vl_cv_lib_readline_history" >&6; }
10706 if test "$vl_cv_lib_readline_history" = "yes"; then
10708 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
10710 for ac_header in history.h readline/history.h
10712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10714 eval as_val=\$$as_ac_Header
10715 if test "x$as_val" = x""yes; then :
10716 cat >>confdefs.h <<_ACEOF
10717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10728 ac_cpp='$CXXCPP $CPPFLAGS'
10729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10732 if test -z "$CXX"; then
10733 if test -n "$CCC"; then
10736 if test -n "$ac_tool_prefix"; then
10737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10742 $as_echo_n "checking for $ac_word... " >&6; }
10743 if test "${ac_cv_prog_CXX+set}" = set; then :
10744 $as_echo_n "(cached) " >&6
10746 if test -n "$CXX"; then
10747 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10750 for as_dir in $PATH
10753 test -z "$as_dir" && as_dir=.
10754 for ac_exec_ext in '' $ac_executable_extensions; do
10755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10756 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10766 CXX=$ac_cv_prog_CXX
10767 if test -n "$CXX"; then
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10769 $as_echo "$CXX" >&6; }
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10776 test -n "$CXX" && break
10779 if test -z "$CXX"; then
10781 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10783 # Extract the first word of "$ac_prog", so it can be a program name with args.
10784 set dummy $ac_prog; ac_word=$2
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10786 $as_echo_n "checking for $ac_word... " >&6; }
10787 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10788 $as_echo_n "(cached) " >&6
10790 if test -n "$ac_ct_CXX"; then
10791 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10794 for as_dir in $PATH
10797 test -z "$as_dir" && as_dir=.
10798 for ac_exec_ext in '' $ac_executable_extensions; do
10799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10800 ac_cv_prog_ac_ct_CXX="$ac_prog"
10801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10810 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10811 if test -n "$ac_ct_CXX"; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10813 $as_echo "$ac_ct_CXX" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10816 $as_echo "no" >&6; }
10820 test -n "$ac_ct_CXX" && break
10823 if test "x$ac_ct_CXX" = x; then
10826 case $cross_compiling:$ac_tool_warned in
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10830 ac_tool_warned=yes ;;
10838 # Provide some information about the compiler.
10839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10842 for ac_option in --version -v -V -qversion; do
10843 { { ac_try="$ac_compiler $ac_option >&5"
10844 case "(($ac_try" in
10845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10846 *) ac_try_echo
=$ac_try;;
10848 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10849 $as_echo "$ac_try_echo"; } >&5
10850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10852 if test -s conftest.err
; then
10854 ... rest of stderr output deleted ...
10855 10q' conftest.err
>conftest.er1
10856 cat conftest.er1
>&5
10858 rm -f conftest.er1 conftest.err
10859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10860 test $ac_status = 0; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10864 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10866 $as_echo_n "(cached) " >&6
10868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10882 if ac_fn_cxx_try_compile
"$LINENO"; then :
10883 ac_compiler_gnu
=yes
10887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10888 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10892 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10893 if test $ac_compiler_gnu = yes; then
10898 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10899 ac_save_CXXFLAGS
=$CXXFLAGS
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10901 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10902 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10903 $as_echo_n "(cached) " >&6
10905 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10906 ac_cxx_werror_flag
=yes
10907 ac_cv_prog_cxx_g
=no
10909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10920 if ac_fn_cxx_try_compile
"$LINENO"; then :
10921 ac_cv_prog_cxx_g
=yes
10924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10935 if ac_fn_cxx_try_compile
"$LINENO"; then :
10938 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10951 if ac_fn_cxx_try_compile
"$LINENO"; then :
10952 ac_cv_prog_cxx_g
=yes
10954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10959 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10962 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10963 if test "$ac_test_CXXFLAGS" = set; then
10964 CXXFLAGS
=$ac_save_CXXFLAGS
10965 elif test $ac_cv_prog_cxx_g = yes; then
10966 if test "$GXX" = yes; then
10972 if test "$GXX" = yes; then
10979 ac_cpp
='$CPP $CPPFLAGS'
10980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10986 ac_cpp
='$CXXCPP $CPPFLAGS'
10987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10990 if test -z "$CXX"; then
10991 if test -n "$CCC"; then
10994 if test -n "$ac_tool_prefix"; then
10995 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10997 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10998 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11000 $as_echo_n "checking for $ac_word... " >&6; }
11001 if test "${ac_cv_prog_CXX+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11004 if test -n "$CXX"; then
11005 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11008 for as_dir
in $PATH
11011 test -z "$as_dir" && as_dir
=.
11012 for ac_exec_ext
in '' $ac_executable_extensions; do
11013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11014 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11024 CXX
=$ac_cv_prog_CXX
11025 if test -n "$CXX"; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11027 $as_echo "$CXX" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11030 $as_echo "no" >&6; }
11034 test -n "$CXX" && break
11037 if test -z "$CXX"; then
11039 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11041 # Extract the first word of "$ac_prog", so it can be a program name with args.
11042 set dummy
$ac_prog; ac_word
=$2
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11044 $as_echo_n "checking for $ac_word... " >&6; }
11045 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 if test -n "$ac_ct_CXX"; then
11049 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11052 for as_dir
in $PATH
11055 test -z "$as_dir" && as_dir
=.
11056 for ac_exec_ext
in '' $ac_executable_extensions; do
11057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11058 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11068 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11069 if test -n "$ac_ct_CXX"; then
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11071 $as_echo "$ac_ct_CXX" >&6; }
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11074 $as_echo "no" >&6; }
11078 test -n "$ac_ct_CXX" && break
11081 if test "x$ac_ct_CXX" = x
; then
11084 case $cross_compiling:$ac_tool_warned in
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11088 ac_tool_warned
=yes ;;
11096 # Provide some information about the compiler.
11097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11100 for ac_option
in --version -v -V -qversion; do
11101 { { ac_try
="$ac_compiler $ac_option >&5"
11102 case "(($ac_try" in
11103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11104 *) ac_try_echo=$ac_try;;
11106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11107 $as_echo "$ac_try_echo"; } >&5
11108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11110 if test -s conftest.err; then
11112 ... rest of stderr output deleted ...
11113 10q' conftest.err >conftest.er1
11114 cat conftest.er1 >&5
11116 rm -f conftest.er1 conftest.err
11117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11118 test $ac_status = 0; }
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11122 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11123 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11124 $as_echo_n "(cached) " >&6
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11140 if ac_fn_cxx_try_compile "$LINENO"; then :
11141 ac_compiler_gnu=yes
11145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11146 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11150 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11151 if test $ac_compiler_gnu = yes; then
11156 ac_test_CXXFLAGS=${CXXFLAGS+set}
11157 ac_save_CXXFLAGS=$CXXFLAGS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11159 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11160 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11164 ac_cxx_werror_flag=yes
11165 ac_cv_prog_cxx_g=no
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11178 if ac_fn_cxx_try_compile "$LINENO"; then :
11179 ac_cv_prog_cxx_g=yes
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11193 if ac_fn_cxx_try_compile "$LINENO"; then :
11196 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11209 if ac_fn_cxx_try_compile "$LINENO"; then :
11210 ac_cv_prog_cxx_g=yes
11212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11217 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11220 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11221 if test "$ac_test_CXXFLAGS" = set; then
11222 CXXFLAGS=$ac_save_CXXFLAGS
11223 elif test $ac_cv_prog_cxx_g = yes; then
11224 if test "$GXX" = yes; then
11230 if test "$GXX" = yes; then
11237 ac_cpp='$CPP $CPPFLAGS'
11238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11242 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11243 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11244 (test "X$CXX" != "Xg++"))) ; then
11246 ac_cpp='$CXXCPP $CPPFLAGS'
11247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11251 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11252 if test -z "$CXXCPP"; then
11253 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11254 $as_echo_n "(cached) " >&6
11256 # Double quotes because CXXCPP needs to be expanded
11257 for CXXCPP in "$CXX -E" "/lib/cpp"
11259 ac_preproc_ok=false
11260 for ac_cxx_preproc_warn_flag in '' yes
11262 # Use a header file that comes with gcc, so configuring glibc
11263 # with a fresh cross-compiler works.
11264 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11265 # <limits.h> exists even on freestanding compilers.
11266 # On the NeXT, cc -E runs the code through the compiler's parser,
11267 # not just through cpp. "Syntax error" is here to catch this case.
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11271 # include <limits.h>
11273 # include <assert.h>
11277 if ac_fn_cxx_try_cpp "$LINENO"; then :
11280 # Broken: fails on valid input.
11283 rm -f conftest.err conftest.$ac_ext
11285 # OK, works on sane cases. Now check whether nonexistent headers
11286 # can be detected and how.
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 #include <ac_nonexistent.h>
11291 if ac_fn_cxx_try_cpp "$LINENO"; then :
11292 # Broken: success on invalid input.
11295 # Passes both tests.
11299 rm -f conftest.err conftest.$ac_ext
11302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11303 rm -f conftest.err conftest.
$ac_ext
11304 if $ac_preproc_ok; then :
11309 ac_cv_prog_CXXCPP
=$CXXCPP
11312 CXXCPP
=$ac_cv_prog_CXXCPP
11314 ac_cv_prog_CXXCPP
=$CXXCPP
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11317 $as_echo "$CXXCPP" >&6; }
11318 ac_preproc_ok
=false
11319 for ac_cxx_preproc_warn_flag
in '' yes
11321 # Use a header file that comes with gcc, so configuring glibc
11322 # with a fresh cross-compiler works.
11323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11324 # <limits.h> exists even on freestanding compilers.
11325 # On the NeXT, cc -E runs the code through the compiler's parser,
11326 # not just through cpp. "Syntax error" is here to catch this case.
11327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 # include <limits.h>
11332 # include <assert.h>
11336 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11339 # Broken: fails on valid input.
11342 rm -f conftest.err conftest.
$ac_ext
11344 # OK, works on sane cases. Now check whether nonexistent headers
11345 # can be detected and how.
11346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11347 /* end confdefs.h. */
11348 #include <ac_nonexistent.h>
11350 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11351 # Broken: success on invalid input.
11354 # Passes both tests.
11358 rm -f conftest.err conftest.
$ac_ext
11361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11362 rm -f conftest.err conftest.
$ac_ext
11363 if $ac_preproc_ok; then :
11366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11368 _lt_caught_CXX_error
=yes; }
11372 ac_cpp
='$CPP $CPPFLAGS'
11373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11378 _lt_caught_CXX_error
=yes
11385 ac_cpp
='$CXXCPP $CPPFLAGS'
11386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11390 archive_cmds_need_lc_CXX
=no
11391 allow_undefined_flag_CXX
=
11392 always_export_symbols_CXX
=no
11393 archive_expsym_cmds_CXX
=
11394 compiler_needs_object_CXX
=no
11395 export_dynamic_flag_spec_CXX
=
11396 hardcode_direct_CXX
=no
11397 hardcode_direct_absolute_CXX
=no
11398 hardcode_libdir_flag_spec_CXX
=
11399 hardcode_libdir_flag_spec_ld_CXX
=
11400 hardcode_libdir_separator_CXX
=
11401 hardcode_minus_L_CXX
=no
11402 hardcode_shlibpath_var_CXX
=unsupported
11403 hardcode_automatic_CXX
=no
11404 inherit_rpath_CXX
=no
11406 module_expsym_cmds_CXX
=
11407 link_all_deplibs_CXX
=unknown
11408 old_archive_cmds_CXX
=$old_archive_cmds
11409 no_undefined_flag_CXX
=
11410 whole_archive_flag_spec_CXX
=
11411 enable_shared_with_static_runtimes_CXX
=no
11413 # Source file extension for C++ test sources.
11416 # Object file extension for compiled C++ test sources.
11420 # No sense in running all these tests if we already determined that
11421 # the CXX compiler isn't working. Some variables (like enable_shared)
11422 # are currently assumed to apply to all compilers on this platform,
11423 # and will be corrupted by setting them based on a non-working compiler.
11424 if test "$_lt_caught_CXX_error" != yes; then
11425 # Code to be used in simple compile tests
11426 lt_simple_compile_test_code
="int some_variable = 0;"
11428 # Code to be used in simple link tests
11429 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11431 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11438 # If no C compiler was specified, use CC.
11441 # If no C compiler flags were specified, use CFLAGS.
11442 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11444 # Allow CC to be a program name with arguments.
11448 # save warnings/boilerplate of simple test code
11449 ac_outfile
=conftest.
$ac_objext
11450 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11451 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11452 _lt_compiler_boilerplate
=`cat conftest.err`
11455 ac_outfile
=conftest.
$ac_objext
11456 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11457 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11458 _lt_linker_boilerplate
=`cat conftest.err`
11462 # Allow CC to be a program name with arguments.
11467 lt_save_with_gnu_ld
=$with_gnu_ld
11468 lt_save_path_LD
=$lt_cv_path_LD
11469 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11470 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11472 $as_unset lt_cv_prog_gnu_ld
11474 if test -n "${lt_cv_path_LDCXX+set}"; then
11475 lt_cv_path_LD
=$lt_cv_path_LDCXX
11477 $as_unset lt_cv_path_LD
11479 test -z "${LDCXX+set}" || LD
=$LDCXX
11483 for cc_temp
in $compiler""; do
11485 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11486 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11491 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11494 if test -n "$compiler"; then
11495 # We don't want -fno-exception when compiling C++ code, so set the
11496 # no_builtin_flag separately
11497 if test "$GXX" = yes; then
11498 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11500 lt_prog_compiler_no_builtin_flag_CXX
=
11503 if test "$GXX" = yes; then
11504 # Set up default GNU C++ configuration
11508 # Check whether --with-gnu-ld was given.
11509 if test "${with_gnu_ld+set}" = set; then :
11510 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11516 if test "$GCC" = yes; then
11517 # Check if gcc -print-prog-name=ld gives a path.
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11519 $as_echo_n "checking for ld used by $CC... " >&6; }
11522 # gcc leaves a trailing carriage return which upsets mingw
11523 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11525 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11528 # Accept absolute paths.
11530 re_direlt
='/[^/][^/]*/\.\./'
11531 # Canonicalize the pathname of ld
11532 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11533 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11534 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11536 test -z "$LD" && LD
="$ac_prog"
11539 # If it fails, then pretend we aren't using GCC.
11543 # If it is relative, then search for the first ld in PATH.
11544 with_gnu_ld
=unknown
11547 elif test "$with_gnu_ld" = yes; then
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11549 $as_echo_n "checking for GNU ld... " >&6; }
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11552 $as_echo_n "checking for non-GNU ld... " >&6; }
11554 if test "${lt_cv_path_LD+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11557 if test -z "$LD"; then
11558 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11559 for ac_dir
in $PATH; do
11561 test -z "$ac_dir" && ac_dir
=.
11562 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11563 lt_cv_path_LD
="$ac_dir/$ac_prog"
11564 # Check to see if the program is GNU ld. I'd rather use --version,
11565 # but apparently some variants of GNU ld only accept -v.
11566 # Break only if it was the GNU/non-GNU ld that we prefer.
11567 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11568 *GNU
* | *'with BFD'*)
11569 test "$with_gnu_ld" != no
&& break
11572 test "$with_gnu_ld" != yes && break
11579 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11583 LD
="$lt_cv_path_LD"
11584 if test -n "$LD"; then
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11586 $as_echo "$LD" >&6; }
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11589 $as_echo "no" >&6; }
11591 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11593 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11594 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11595 $as_echo_n "(cached) " >&6
11597 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11598 case `$LD -v 2>&1 </dev/null` in
11599 *GNU
* | *'with BFD'*)
11600 lt_cv_prog_gnu_ld
=yes
11603 lt_cv_prog_gnu_ld
=no
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11608 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11609 with_gnu_ld
=$lt_cv_prog_gnu_ld
11617 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11618 # archiving commands below assume that GNU ld is being used.
11619 if test "$with_gnu_ld" = yes; then
11620 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11621 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'
11623 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11624 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11626 # If archive_cmds runs LD, not CC, wlarc should be empty
11627 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11628 # investigate it a little bit more. (MM)
11631 # ancient GNU ld didn't support --whole-archive et. al.
11632 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11633 $GREP 'no-whole-archive' > /dev
/null
; then
11634 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11636 whole_archive_flag_spec_CXX
=
11642 # A generic and very simple default shared library creation
11643 # command for GNU C++ for the case where it uses the native
11644 # linker, instead of GNU ld. If possible, this setting should
11645 # overridden to take advantage of the native linker features on
11646 # the platform it is being used on.
11647 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11650 # Commands to make compiler produce verbose output that lists
11651 # what "hidden" libraries, object files and flags are used when
11652 # linking a shared library.
11653 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11661 # PORTME: fill in a description of your system's C++ link characteristics
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11663 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11667 # FIXME: insert proper C++ library support
11671 if test "$host_cpu" = ia64
; then
11672 # On IA64, the linker does run time linking by default, so we don't
11673 # have to do anything special.
11674 aix_use_runtimelinking
=no
11675 exp_sym_flag
='-Bexport'
11678 aix_use_runtimelinking
=no
11680 # Test if we are trying to use run time linking or normal
11681 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11682 # need to do runtime linking.
11683 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11684 for ld_flag
in $LDFLAGS; do
11687 aix_use_runtimelinking
=yes
11695 exp_sym_flag
='-bexport'
11696 no_entry_flag
='-bnoentry'
11699 # When large executables or shared objects are built, AIX ld can
11700 # have problems creating the table of contents. If linking a library
11701 # or program results in "error TOC overflow" add -mminimal-toc to
11702 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11703 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11705 archive_cmds_CXX
=''
11706 hardcode_direct_CXX
=yes
11707 hardcode_direct_absolute_CXX
=yes
11708 hardcode_libdir_separator_CXX
=':'
11709 link_all_deplibs_CXX
=yes
11710 file_list_spec_CXX
='${wl}-f,'
11712 if test "$GXX" = yes; then
11713 case $host_os in aix4.
[012]|aix4.
[012].
*)
11714 # We only want to do this on AIX 4.2 and lower, the check
11715 # below for broken collect2 doesn't work under 4.3+
11716 collect2name
=`${CC} -print-prog-name=collect2`
11717 if test -f "$collect2name" &&
11718 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11720 # We have reworked collect2
11723 # We have old collect2
11724 hardcode_direct_CXX
=unsupported
11725 # It fails to find uninstalled libraries when the uninstalled
11726 # path is not listed in the libpath. Setting hardcode_minus_L
11727 # to unsupported forces relinking
11728 hardcode_minus_L_CXX
=yes
11729 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11730 hardcode_libdir_separator_CXX
=
11733 shared_flag
='-shared'
11734 if test "$aix_use_runtimelinking" = yes; then
11735 shared_flag
="$shared_flag "'${wl}-G'
11739 if test "$host_cpu" = ia64
; then
11740 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11741 # chokes on -Wl,-G. The following line is correct:
11744 if test "$aix_use_runtimelinking" = yes; then
11745 shared_flag
='${wl}-G'
11747 shared_flag
='${wl}-bM:SRE'
11752 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11753 # It seems that -bexpall does not export symbols beginning with
11754 # underscore (_), so it is better to generate a list of symbols to
11756 always_export_symbols_CXX
=yes
11757 if test "$aix_use_runtimelinking" = yes; then
11758 # Warning - without using the other runtime loading flags (-brtl),
11759 # -berok will link without error, but may produce a broken library.
11760 allow_undefined_flag_CXX
='-berok'
11761 # Determine the default libpath from the value encoded in an empty
11763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11764 /* end confdefs.h. */
11774 if ac_fn_cxx_try_link
"$LINENO"; then :
11776 lt_aix_libpath_sed
='
11777 /Import File Strings/,/^$/ {
11783 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11784 # Check for a 64-bit object if we didn't find anything.
11785 if test -z "$aix_libpath"; then
11786 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11789 rm -f core conftest.err conftest.
$ac_objext \
11790 conftest
$ac_exeext conftest.
$ac_ext
11791 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11793 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11795 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"
11797 if test "$host_cpu" = ia64
; then
11798 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11799 allow_undefined_flag_CXX
="-z nodefs"
11800 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"
11802 # Determine the default libpath from the value encoded in an
11803 # empty executable.
11804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11815 if ac_fn_cxx_try_link
"$LINENO"; then :
11817 lt_aix_libpath_sed
='
11818 /Import File Strings/,/^$/ {
11824 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11825 # Check for a 64-bit object if we didn't find anything.
11826 if test -z "$aix_libpath"; then
11827 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11830 rm -f core conftest.err conftest.
$ac_objext \
11831 conftest
$ac_exeext conftest.
$ac_ext
11832 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11834 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11835 # Warning - without using the other run time loading flags,
11836 # -berok will link without error, but may produce a broken library.
11837 no_undefined_flag_CXX
=' ${wl}-bernotok'
11838 allow_undefined_flag_CXX
=' ${wl}-berok'
11839 # Exported symbols can be pulled into shared objects from archives
11840 whole_archive_flag_spec_CXX
='$convenience'
11841 archive_cmds_need_lc_CXX
=yes
11842 # This is similar to how AIX traditionally builds its shared
11844 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'
11850 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11851 allow_undefined_flag_CXX
=unsupported
11852 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11853 # support --undefined. This deserves some investigation. FIXME
11854 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11861 case $cc_basename in
11863 # FIXME: insert proper C++ library support
11869 cygwin
* | mingw
* | pw32
* | cegcc
*)
11870 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11871 # as there is no search path for DLLs.
11872 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11873 allow_undefined_flag_CXX
=unsupported
11874 always_export_symbols_CXX
=no
11875 enable_shared_with_static_runtimes_CXX
=yes
11877 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11878 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'
11879 # If the export-symbols file already is a .def file (1st line
11880 # is EXPORTS), use it as is; otherwise, prepend...
11881 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11882 cp $export_symbols $output_objdir/$soname.def;
11884 echo EXPORTS > $output_objdir/$soname.def;
11885 cat $export_symbols >> $output_objdir/$soname.def;
11887 $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'
11892 darwin
* | rhapsody
*)
11895 archive_cmds_need_lc_CXX
=no
11896 hardcode_direct_CXX
=no
11897 hardcode_automatic_CXX
=yes
11898 hardcode_shlibpath_var_CXX
=unsupported
11899 whole_archive_flag_spec_CXX
=''
11900 link_all_deplibs_CXX
=yes
11901 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11902 case $cc_basename in
11903 ifort
*) _lt_dar_can_shared
=yes ;;
11904 *) _lt_dar_can_shared
=$GCC ;;
11906 if test "$_lt_dar_can_shared" = "yes"; then
11907 output_verbose_link_cmd
=echo
11908 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}"
11909 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11910 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}"
11911 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}"
11912 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11913 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}"
11914 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}"
11924 case $cc_basename in
11926 # FIXME: insert proper C++ library support
11930 # Green Hills C++ Compiler
11931 # FIXME: insert proper C++ library support
11935 # FIXME: insert proper C++ library support
11942 # C++ shared libraries reported to be fairly broken before
11948 archive_cmds_need_lc_CXX
=no
11951 freebsd
* | dragonfly
*)
11952 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11961 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11962 hardcode_libdir_separator_CXX
=:
11963 export_dynamic_flag_spec_CXX
='${wl}-E'
11964 hardcode_direct_CXX
=yes
11965 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11966 # but as the default
11967 # location of the library.
11969 case $cc_basename in
11971 # FIXME: insert proper C++ library support
11975 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'
11976 # Commands to make compiler produce verbose output that lists
11977 # what "hidden" libraries, object files and flags are used when
11978 # linking a shared library.
11980 # There doesn't appear to be a way to prevent this compiler from
11981 # explicitly linking system object files so we need to strip them
11982 # from the output so that they don't get included in the library
11984 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'
11987 if test "$GXX" = yes; then
11988 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'
11990 # FIXME: insert proper C++ library support
11998 if test $with_gnu_ld = no
; then
11999 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12000 hardcode_libdir_separator_CXX
=:
12006 export_dynamic_flag_spec_CXX
='${wl}-E'
12012 hardcode_direct_CXX
=no
12013 hardcode_shlibpath_var_CXX
=no
12016 hardcode_direct_CXX
=yes
12017 hardcode_direct_absolute_CXX
=yes
12018 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12019 # but as the default
12020 # location of the library.
12024 case $cc_basename in
12026 # FIXME: insert proper C++ library support
12032 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12035 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12038 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12041 # Commands to make compiler produce verbose output that lists
12042 # what "hidden" libraries, object files and flags are used when
12043 # linking a shared library.
12045 # There doesn't appear to be a way to prevent this compiler from
12046 # explicitly linking system object files so we need to strip them
12047 # from the output so that they don't get included in the library
12049 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'
12052 if test "$GXX" = yes; then
12053 if test $with_gnu_ld = no
; then
12056 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12059 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12062 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'
12067 # FIXME: insert proper C++ library support
12075 hardcode_direct_CXX
=no
12076 hardcode_shlibpath_var_CXX
=no
12077 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12078 export_dynamic_flag_spec_CXX
='${wl}-E'
12079 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12080 # Instead, shared libraries are loaded at an image base (0x10000000 by
12081 # default) and relocated if they conflict, which is a slow very memory
12082 # consuming and fragmenting process. To avoid this, we pick a random,
12083 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12084 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12085 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'
12086 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'
12089 case $cc_basename in
12092 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'
12094 # Archives containing C++ object files must be created using
12095 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12096 # necessary to make sure instantiated templates are included
12098 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12101 if test "$GXX" = yes; then
12102 if test "$with_gnu_ld" = no
; then
12103 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'
12105 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'
12108 link_all_deplibs_CXX
=yes
12111 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12112 hardcode_libdir_separator_CXX
=:
12113 inherit_rpath_CXX
=yes
12116 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12117 case $cc_basename in
12119 # Kuck and Associates, Inc. (KAI) C++ Compiler
12121 # KCC will only create a shared library if the output file
12122 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12123 # to its proper name (with version) after linking.
12124 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'
12125 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'
12126 # Commands to make compiler produce verbose output that lists
12127 # what "hidden" libraries, object files and flags are used when
12128 # linking a shared library.
12130 # There doesn't appear to be a way to prevent this compiler from
12131 # explicitly linking system object files so we need to strip them
12132 # from the output so that they don't get included in the library
12134 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'
12136 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12137 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12139 # Archives containing C++ object files must be created using
12140 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12141 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12146 # version 8.0 and above of icpc choke on multiply defined symbols
12147 # if we add $predep_objects and $postdep_objects, however 7.1 and
12148 # earlier do not add the objects themselves.
12149 case `$CC -V 2>&1` in
12151 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12152 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'
12154 *) # Version 8.0 or newer
12157 ia64
*) tmp_idyn
=' -i_dynamic';;
12159 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12160 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'
12163 archive_cmds_need_lc_CXX
=no
12164 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12165 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12166 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12169 # Portland Group C++ compiler
12171 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12172 prelink_cmds_CXX
='tpldir=Template.dir~
12174 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12175 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12176 old_archive_cmds_CXX
='tpldir=Template.dir~
12178 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12179 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12181 archive_cmds_CXX
='tpldir=Template.dir~
12183 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12184 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12185 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12187 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12188 $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'
12190 *) # Version 6 will use weak symbols
12191 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12192 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'
12196 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12197 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12198 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'
12202 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12203 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'
12205 runpath_var
=LD_RUN_PATH
12206 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12207 hardcode_libdir_separator_CXX
=:
12209 # Commands to make compiler produce verbose output that lists
12210 # what "hidden" libraries, object files and flags are used when
12211 # linking a shared library.
12213 # There doesn't appear to be a way to prevent this compiler from
12214 # explicitly linking system object files so we need to strip them
12215 # from the output so that they don't get included in the library
12217 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'
12220 # IBM XL 8.0 on PPC, with GNU ld
12221 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12222 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12223 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12224 if test "x$supports_anon_versioning" = xyes
; then
12225 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12226 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12227 echo "local: *; };" >> $output_objdir/$libname.ver~
12228 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12232 case `$CC -V 2>&1 | sed 5q` in
12235 no_undefined_flag_CXX
=' -zdefs'
12236 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12237 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'
12238 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12239 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'
12240 compiler_needs_object_CXX
=yes
12242 # Not sure whether something based on
12243 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12245 output_verbose_link_cmd
='echo'
12247 # Archives containing C++ object files must be created using
12248 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12249 # necessary to make sure instantiated templates are included
12251 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12259 # FIXME: insert proper C++ library support
12264 # FIXME: insert proper C++ library support
12269 case $cc_basename in
12271 # FIXME: insert proper C++ library support
12275 # FIXME: insert proper C++ library support
12282 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12283 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12285 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12286 hardcode_direct_CXX
=yes
12287 hardcode_shlibpath_var_CXX
=no
12289 # Workaround some broken pre-1.5 toolchains
12290 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12298 # C++ shared libraries are fairly broken
12303 if test -f /usr
/libexec
/ld.so
; then
12304 hardcode_direct_CXX
=yes
12305 hardcode_shlibpath_var_CXX
=no
12306 hardcode_direct_absolute_CXX
=yes
12307 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12308 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12309 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12310 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12311 export_dynamic_flag_spec_CXX
='${wl}-E'
12312 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12314 output_verbose_link_cmd
=echo
12320 osf3
* | osf4
* | osf5
*)
12321 case $cc_basename in
12323 # Kuck and Associates, Inc. (KAI) C++ Compiler
12325 # KCC will only create a shared library if the output file
12326 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12327 # to its proper name (with version) after linking.
12328 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'
12330 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12331 hardcode_libdir_separator_CXX
=:
12333 # Archives containing C++ object files must be created using
12334 # the KAI C++ compiler.
12336 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12337 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12341 # Rational C++ 2.4.1
12342 # FIXME: insert proper C++ library support
12348 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12349 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'
12350 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12353 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12354 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'
12355 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12356 echo "-hidden">> $lib.exp~
12357 $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~
12359 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12363 hardcode_libdir_separator_CXX
=:
12365 # Commands to make compiler produce verbose output that lists
12366 # what "hidden" libraries, object files and flags are used when
12367 # linking a shared library.
12369 # There doesn't appear to be a way to prevent this compiler from
12370 # explicitly linking system object files so we need to strip them
12371 # from the output so that they don't get included in the library
12373 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'
12376 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12377 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12380 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'
12383 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'
12387 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12388 hardcode_libdir_separator_CXX
=:
12390 # Commands to make compiler produce verbose output that lists
12391 # what "hidden" libraries, object files and flags are used when
12392 # linking a shared library.
12393 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12396 # FIXME: insert proper C++ library support
12404 # FIXME: insert proper C++ library support
12409 case $cc_basename in
12412 # FIXME: insert proper C++ library support
12417 # FIXME: insert proper C++ library support
12421 # FIXME: insert proper C++ library support
12428 case $cc_basename in
12430 # Sun C++ 4.2, 5.x and Centerline C++
12431 archive_cmds_need_lc_CXX
=yes
12432 no_undefined_flag_CXX
=' -zdefs'
12433 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12434 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12435 $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'
12437 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12438 hardcode_shlibpath_var_CXX
=no
12440 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12442 # The compiler driver will combine and reorder linker options,
12443 # but understands `-z linker_flag'.
12444 # Supported since Solaris 2.6 (maybe 2.5.1?)
12445 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12448 link_all_deplibs_CXX
=yes
12450 output_verbose_link_cmd
='echo'
12452 # Archives containing C++ object files must be created using
12453 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12454 # necessary to make sure instantiated templates are included
12456 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12459 # Green Hills C++ Compiler
12460 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12462 # The C++ compiler must be used to create the archive.
12463 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12466 # GNU C++ compiler with Solaris linker
12467 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12468 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12469 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12470 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12471 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12472 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12474 # Commands to make compiler produce verbose output that lists
12475 # what "hidden" libraries, object files and flags are used when
12476 # linking a shared library.
12477 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12479 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12481 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12482 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12483 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12485 # Commands to make compiler produce verbose output that lists
12486 # what "hidden" libraries, object files and flags are used when
12487 # linking a shared library.
12488 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12491 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12493 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12495 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12503 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12504 no_undefined_flag_CXX
='${wl}-z,text'
12505 archive_cmds_need_lc_CXX
=no
12506 hardcode_shlibpath_var_CXX
=no
12507 runpath_var
='LD_RUN_PATH'
12509 case $cc_basename in
12511 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12512 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12516 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12521 sysv5
* | sco3.2v5
* | sco5v6
*)
12522 # Note: We can NOT use -z defs as we might desire, because we do not
12523 # link with -lc, and that would cause any symbols used from libc to
12524 # always be unresolved, which means just about no library would
12525 # ever link correctly. If we're not using GNU ld we use -z text
12526 # though, which does catch some bad symbols but isn't as heavy-handed
12528 no_undefined_flag_CXX
='${wl}-z,text'
12529 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12530 archive_cmds_need_lc_CXX
=no
12531 hardcode_shlibpath_var_CXX
=no
12532 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12533 hardcode_libdir_separator_CXX
=':'
12534 link_all_deplibs_CXX
=yes
12535 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12536 runpath_var
='LD_RUN_PATH'
12538 case $cc_basename in
12540 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12541 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12544 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12545 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12551 case $cc_basename in
12553 # NonStop-UX NCC 3.20
12554 # FIXME: insert proper C++ library support
12558 # FIXME: insert proper C++ library support
12565 # FIXME: insert proper C++ library support
12570 # FIXME: insert proper C++ library support
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12576 $as_echo "$ld_shlibs_CXX" >&6; }
12577 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12583 ## There is no encapsulation within the following macros, do not change
12584 ## the running order or otherwise move them around unless you know exactly
12585 ## what you are doing...
12586 # Dependencies to place before and after the object being linked:
12587 predep_objects_CXX
=
12588 postdep_objects_CXX
=
12591 compiler_lib_search_path_CXX
=
12593 cat > conftest.
$ac_ext <<_LT_EOF
12597 Foo (void) { a = 0; }
12603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12604 (eval $ac_compile) 2>&5
12606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12607 test $ac_status = 0; }; then
12608 # Parse the compiler output and extract the necessary
12609 # objects, libraries and library flags.
12611 # Sentinel used to keep track of whether or not we are before
12612 # the conftest object file.
12613 pre_test_object_deps_done
=no
12615 for p
in `eval "$output_verbose_link_cmd"`; do
12619 # Some compilers place space between "-{L,R}" and the path.
12620 # Remove the space.
12621 if test $p = "-L" ||
12622 test $p = "-R"; then
12629 if test "$pre_test_object_deps_done" = no
; then
12632 # Internal compiler library paths should come after those
12633 # provided the user. The postdeps already come after the
12634 # user supplied libs so there is no need to process them.
12635 if test -z "$compiler_lib_search_path_CXX"; then
12636 compiler_lib_search_path_CXX
="${prev}${p}"
12638 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12641 # The "-l" case would never come before the object being
12642 # linked, so don't bother handling this case.
12645 if test -z "$postdeps_CXX"; then
12646 postdeps_CXX
="${prev}${p}"
12648 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12654 # This assumes that the test object file only shows up
12655 # once in the compiler output.
12656 if test "$p" = "conftest.$objext"; then
12657 pre_test_object_deps_done
=yes
12661 if test "$pre_test_object_deps_done" = no
; then
12662 if test -z "$predep_objects_CXX"; then
12663 predep_objects_CXX
="$p"
12665 predep_objects_CXX
="$predep_objects_CXX $p"
12668 if test -z "$postdep_objects_CXX"; then
12669 postdep_objects_CXX
="$p"
12671 postdep_objects_CXX
="$postdep_objects_CXX $p"
12676 *) ;; # Ignore the rest.
12684 echo "libtool.m4: error: problem compiling CXX test program"
12687 $RM -f confest.
$objext
12689 # PORTME: override above test on systems where it is broken
12692 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12693 # hack all around it, let's just trust "g++" to DTRT.
12694 predep_objects_CXX
=
12695 postdep_objects_CXX
=
12700 case `$CC -V 2>&1 | sed 5q` in
12704 # The more standards-conforming stlport4 library is
12705 # incompatible with the Cstd library. Avoid specifying
12706 # it if it's in CXXFLAGS. Ignore libCrun as
12707 # -library=stlport4 depends on it.
12708 case " $CXX $CXXFLAGS " in
12709 *" -library=stlport4 "*)
12710 solaris_use_stlport4
=yes
12714 if test "$solaris_use_stlport4" != yes; then
12715 postdeps_CXX
='-library=Cstd -library=Crun'
12722 case $cc_basename in
12724 # The more standards-conforming stlport4 library is
12725 # incompatible with the Cstd library. Avoid specifying
12726 # it if it's in CXXFLAGS. Ignore libCrun as
12727 # -library=stlport4 depends on it.
12728 case " $CXX $CXXFLAGS " in
12729 *" -library=stlport4 "*)
12730 solaris_use_stlport4
=yes
12734 # Adding this requires a known-good setup of shared libraries for
12735 # Sun compiler versions before 5.6, else PIC objects from an old
12736 # archive will be linked into the output, leading to subtle bugs.
12737 if test "$solaris_use_stlport4" != yes; then
12738 postdeps_CXX
='-library=Cstd -library=Crun'
12746 case " $postdeps_CXX " in
12747 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12749 compiler_lib_search_dirs_CXX
=
12750 if test -n "${compiler_lib_search_path_CXX}"; then
12751 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12784 lt_prog_compiler_wl_CXX
=
12785 lt_prog_compiler_pic_CXX
=
12786 lt_prog_compiler_static_CXX
=
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12789 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12791 # C++ specific cases for pic, static, wl, etc.
12792 if test "$GXX" = yes; then
12793 lt_prog_compiler_wl_CXX
='-Wl,'
12794 lt_prog_compiler_static_CXX
='-static'
12798 # All AIX code is PIC.
12799 if test "$host_cpu" = ia64
; then
12800 # AIX 5 now supports IA64 processor
12801 lt_prog_compiler_static_CXX
='-Bstatic'
12808 # see comment about AmigaOS4 .so support
12809 lt_prog_compiler_pic_CXX
='-fPIC'
12812 # FIXME: we need at least 68020 code to build shared libraries, but
12813 # adding the `-m68020' flag to GCC prevents building anything better,
12815 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12820 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12821 # PIC is the default for these OSes.
12823 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12824 # This hack is so that the source file can tell whether it is being
12825 # built for inclusion in a dll (and should export symbols for example).
12826 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12827 # (--disable-auto-import) libraries
12828 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12830 darwin
* | rhapsody
*)
12831 # PIC is the default on this platform
12832 # Common symbols not allowed in MH_DYLIB files
12833 lt_prog_compiler_pic_CXX
='-fno-common'
12836 # DJGPP does not support shared libraries at all
12837 lt_prog_compiler_pic_CXX
=
12840 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12841 # Instead, we relocate shared libraries at runtime.
12844 if test -d /usr
/nec
; then
12845 lt_prog_compiler_pic_CXX
=-Kconform_pic
12849 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12850 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12851 # sets the default TLS model and affects inlining.
12856 lt_prog_compiler_pic_CXX
='-fPIC'
12861 # QNX uses GNU C++, but need to define -shared option too, otherwise
12862 # it will coredump.
12863 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12866 lt_prog_compiler_pic_CXX
='-fPIC'
12872 # All AIX code is PIC.
12873 if test "$host_cpu" = ia64
; then
12874 # AIX 5 now supports IA64 processor
12875 lt_prog_compiler_static_CXX
='-Bstatic'
12877 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12881 case $cc_basename in
12883 # Green Hills C++ Compiler
12884 # _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"
12889 case $cc_basename in
12891 lt_prog_compiler_pic_CXX
='-KPIC'
12894 # Green Hills C++ Compiler
12895 lt_prog_compiler_pic_CXX
='-pic'
12901 freebsd
* | dragonfly
*)
12902 # FreeBSD uses GNU C++
12904 hpux9
* | hpux10
* | hpux11
*)
12905 case $cc_basename in
12907 lt_prog_compiler_wl_CXX
='-Wl,'
12908 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12909 if test "$host_cpu" != ia64
; then
12910 lt_prog_compiler_pic_CXX
='+Z'
12914 lt_prog_compiler_wl_CXX
='-Wl,'
12915 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12921 lt_prog_compiler_pic_CXX
='+Z'
12930 # This is c89, which is MS Visual C++ (no shared libs)
12931 # Anyone wants to do a port?
12933 irix5
* | irix6
* | nonstopux
*)
12934 case $cc_basename in
12936 lt_prog_compiler_wl_CXX
='-Wl,'
12937 lt_prog_compiler_static_CXX
='-non_shared'
12938 # CC pic flag -KPIC is the default.
12944 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12945 case $cc_basename in
12948 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12949 lt_prog_compiler_pic_CXX
='-fPIC'
12952 # old Intel C++ for x86_64 which still supported -KPIC.
12953 lt_prog_compiler_wl_CXX
='-Wl,'
12954 lt_prog_compiler_pic_CXX
='-KPIC'
12955 lt_prog_compiler_static_CXX
='-static'
12958 # Intel C++, used to be incompatible with GCC.
12959 # ICC 10 doesn't accept -KPIC any more.
12960 lt_prog_compiler_wl_CXX
='-Wl,'
12961 lt_prog_compiler_pic_CXX
='-fPIC'
12962 lt_prog_compiler_static_CXX
='-static'
12965 # Portland Group C++ compiler
12966 lt_prog_compiler_wl_CXX
='-Wl,'
12967 lt_prog_compiler_pic_CXX
='-fpic'
12968 lt_prog_compiler_static_CXX
='-Bstatic'
12972 # Make sure the PIC flag is empty. It appears that all Alpha
12973 # Linux and Compaq Tru64 Unix objects are PIC.
12974 lt_prog_compiler_pic_CXX
=
12975 lt_prog_compiler_static_CXX
='-non_shared'
12978 # IBM XL 8.0 on PPC
12979 lt_prog_compiler_wl_CXX
='-Wl,'
12980 lt_prog_compiler_pic_CXX
='-qpic'
12981 lt_prog_compiler_static_CXX
='-qstaticlink'
12984 case `$CC -V 2>&1 | sed 5q` in
12987 lt_prog_compiler_pic_CXX
='-KPIC'
12988 lt_prog_compiler_static_CXX
='-Bstatic'
12989 lt_prog_compiler_wl_CXX
='-Qoption ld '
13000 case $cc_basename in
13002 lt_prog_compiler_pic_CXX
='-W c,exportall'
13008 netbsd
* | netbsdelf
*-gnu)
13011 # QNX uses GNU C++, but need to define -shared option too, otherwise
13012 # it will coredump.
13013 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13015 osf3
* | osf4
* | osf5
*)
13016 case $cc_basename in
13018 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13021 # Rational C++ 2.4.1
13022 lt_prog_compiler_pic_CXX
='-pic'
13025 # Digital/Compaq C++
13026 lt_prog_compiler_wl_CXX
='-Wl,'
13027 # Make sure the PIC flag is empty. It appears that all Alpha
13028 # Linux and Compaq Tru64 Unix objects are PIC.
13029 lt_prog_compiler_pic_CXX
=
13030 lt_prog_compiler_static_CXX
='-non_shared'
13039 case $cc_basename in
13041 # Sun C++ 4.2, 5.x and Centerline C++
13042 lt_prog_compiler_pic_CXX
='-KPIC'
13043 lt_prog_compiler_static_CXX
='-Bstatic'
13044 lt_prog_compiler_wl_CXX
='-Qoption ld '
13047 # Green Hills C++ Compiler
13048 lt_prog_compiler_pic_CXX
='-PIC'
13055 case $cc_basename in
13058 lt_prog_compiler_pic_CXX
='-pic'
13059 lt_prog_compiler_static_CXX
='-Bstatic'
13063 lt_prog_compiler_pic_CXX
='-pic'
13069 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13070 case $cc_basename in
13072 lt_prog_compiler_wl_CXX
='-Wl,'
13073 lt_prog_compiler_pic_CXX
='-KPIC'
13074 lt_prog_compiler_static_CXX
='-Bstatic'
13079 case $cc_basename in
13081 # NonStop-UX NCC 3.20
13082 lt_prog_compiler_pic_CXX
='-KPIC'
13091 lt_prog_compiler_can_build_shared_CXX
=no
13097 # For platforms which do not support PIC, -DPIC is meaningless:
13099 lt_prog_compiler_pic_CXX
=
13102 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13106 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13111 # Check to make sure the PIC flag actually works.
13113 if test -n "$lt_prog_compiler_pic_CXX"; then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13115 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13116 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13117 $as_echo_n "(cached) " >&6
13119 lt_cv_prog_compiler_pic_works_CXX
=no
13120 ac_outfile
=conftest.
$ac_objext
13121 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13122 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13123 # Insert the option either (1) after the last *FLAGS variable, or
13124 # (2) before a word containing "conftest.", or (3) at the end.
13125 # Note that $ac_compile itself does not contain backslashes and begins
13126 # with a dollar sign (not a hyphen), so the echo should work correctly.
13127 # The option is referenced via a variable to avoid confusing sed.
13128 lt_compile
=`echo "$ac_compile" | $SED \
13129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13131 -e 's:$: $lt_compiler_flag:'`
13132 (eval echo "\"\$as_me:13132: $lt_compile\"" >&5)
13133 (eval "$lt_compile" 2>conftest.err
)
13135 cat conftest.err
>&5
13136 echo "$as_me:13136: \$? = $ac_status" >&5
13137 if (exit $ac_status) && test -s "$ac_outfile"; then
13138 # The compiler can only warn and ignore the option if not recognized
13139 # So say no if there are warnings other than the usual output.
13140 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13141 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13142 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13143 lt_cv_prog_compiler_pic_works_CXX
=yes
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13150 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13152 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13153 case $lt_prog_compiler_pic_CXX in
13155 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13158 lt_prog_compiler_pic_CXX
=
13159 lt_prog_compiler_can_build_shared_CXX
=no
13167 # Check to make sure the static flag actually works.
13169 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13171 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13172 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13173 $as_echo_n "(cached) " >&6
13175 lt_cv_prog_compiler_static_works_CXX
=no
13176 save_LDFLAGS
="$LDFLAGS"
13177 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13178 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13179 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13180 # The linker can only warn and ignore the option if not recognized
13181 # So say no if there are warnings
13182 if test -s conftest.err
; then
13183 # Append any errors to the config.log.
13184 cat conftest.err
1>&5
13185 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13186 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13187 if diff conftest.exp conftest.er2
>/dev
/null
; then
13188 lt_cv_prog_compiler_static_works_CXX
=yes
13191 lt_cv_prog_compiler_static_works_CXX
=yes
13195 LDFLAGS
="$save_LDFLAGS"
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13199 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13201 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13204 lt_prog_compiler_static_CXX
=
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13211 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13212 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13213 $as_echo_n "(cached) " >&6
13215 lt_cv_prog_compiler_c_o_CXX
=no
13216 $RM -r conftest
2>/dev
/null
13220 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13222 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13223 # Insert the option either (1) after the last *FLAGS variable, or
13224 # (2) before a word containing "conftest.", or (3) at the end.
13225 # Note that $ac_compile itself does not contain backslashes and begins
13226 # with a dollar sign (not a hyphen), so the echo should work correctly.
13227 lt_compile
=`echo "$ac_compile" | $SED \
13228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13230 -e 's:$: $lt_compiler_flag:'`
13231 (eval echo "\"\$as_me:13231: $lt_compile\"" >&5)
13232 (eval "$lt_compile" 2>out
/conftest.err
)
13234 cat out
/conftest.err
>&5
13235 echo "$as_me:13235: \$? = $ac_status" >&5
13236 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13238 # The compiler can only warn and ignore the option if not recognized
13239 # So say no if there are warnings
13240 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13241 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13242 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13243 lt_cv_prog_compiler_c_o_CXX
=yes
13248 # SGI C++ compiler will create directory out/ii_files/ for
13249 # template instantiation
13250 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13251 $RM out
/* && rmdir out
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13258 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13264 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13265 $as_echo_n "(cached) " >&6
13267 lt_cv_prog_compiler_c_o_CXX
=no
13268 $RM -r conftest
2>/dev
/null
13272 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13274 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13275 # Insert the option either (1) after the last *FLAGS variable, or
13276 # (2) before a word containing "conftest.", or (3) at the end.
13277 # Note that $ac_compile itself does not contain backslashes and begins
13278 # with a dollar sign (not a hyphen), so the echo should work correctly.
13279 lt_compile
=`echo "$ac_compile" | $SED \
13280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13282 -e 's:$: $lt_compiler_flag:'`
13283 (eval echo "\"\$as_me:13283: $lt_compile\"" >&5)
13284 (eval "$lt_compile" 2>out
/conftest.err
)
13286 cat out
/conftest.err
>&5
13287 echo "$as_me:13287: \$? = $ac_status" >&5
13288 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13290 # The compiler can only warn and ignore the option if not recognized
13291 # So say no if there are warnings
13292 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13293 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13294 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13295 lt_cv_prog_compiler_c_o_CXX
=yes
13300 # SGI C++ compiler will create directory out/ii_files/ for
13301 # template instantiation
13302 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13303 $RM out
/* && rmdir out
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13310 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13315 hard_links
="nottested"
13316 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13317 # do not overwrite the value of need_locks provided by the user
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13319 $as_echo_n "checking if we can lock with hard links... " >&6; }
13322 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13324 ln conftest.a conftest.b
2>&5 || hard_links
=no
13325 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13327 $as_echo "$hard_links" >&6; }
13328 if test "$hard_links" = no
; then
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13330 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13340 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13342 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13345 # If we're using GNU nm, then we don't want the "-C" option.
13346 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13347 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13348 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'
13350 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'
13354 export_symbols_cmds_CXX
="$ltdll_cmds"
13356 cygwin
* | mingw
* | cegcc
*)
13357 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'
13359 linux
* | k
*bsd
*-gnu)
13360 link_all_deplibs_CXX
=no
13363 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13366 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13369 $as_echo "$ld_shlibs_CXX" >&6; }
13370 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13372 with_gnu_ld_CXX
=$with_gnu_ld
13380 # Do we need to explicitly link libc?
13382 case "x$archive_cmds_need_lc_CXX" in
13384 # Assume -lc should be added
13385 archive_cmds_need_lc_CXX
=yes
13387 if test "$enable_shared" = yes && test "$GCC" = yes; then
13388 case $archive_cmds_CXX in
13390 # FIXME: we may have to deal with multi-command sequences.
13393 # Test whether the compiler implicitly links with -lc since on some
13394 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13395 # to ld, don't add -lc before -lgcc.
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13397 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13399 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13402 (eval $ac_compile) 2>&5
13404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13405 test $ac_status = 0; } 2>conftest.err
; then
13408 libobjs
=conftest.
$ac_objext
13410 wl
=$lt_prog_compiler_wl_CXX
13411 pic_flag
=$lt_prog_compiler_pic_CXX
13417 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13418 allow_undefined_flag_CXX
=
13419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13420 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13423 test $ac_status = 0; }
13425 archive_cmds_need_lc_CXX
=no
13427 archive_cmds_need_lc_CXX
=yes
13429 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13431 cat conftest.err
1>&5
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13435 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13506 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13508 library_names_spec
=
13509 libname_spec
='lib$name'
13513 postuninstall_cmds
=
13517 shlibpath_overrides_runpath
=unknown
13519 dynamic_linker
="$host_os ld.so"
13520 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13521 need_lib_prefix
=unknown
13522 hardcode_into_libs
=no
13524 # when you set need_version to no, make sure it does not cause -set_version
13525 # flags to be left without arguments
13526 need_version
=unknown
13531 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13532 shlibpath_var
=LIBPATH
13534 # AIX 3 has no versioning support, so we append a major version to the name.
13535 soname_spec
='${libname}${release}${shared_ext}$major'
13542 hardcode_into_libs
=yes
13543 if test "$host_cpu" = ia64
; then
13544 # AIX 5 supports IA64
13545 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13546 shlibpath_var
=LD_LIBRARY_PATH
13548 # With GCC up to 2.95.x, collect2 would create an import file
13549 # for dependence libraries. The import file would start with
13550 # the line `#! .'. This would cause the generated library to
13551 # depend on `.', always an invalid library. This was fixed in
13552 # development snapshots of GCC prior to 3.0.
13554 aix4
| aix4.
[01] | aix4.
[01].
*)
13555 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13557 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13560 can_build_shared
=no
13564 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13565 # soname into executable. Probably we can add versioning support to
13566 # collect2, so additional links can be useful in future.
13567 if test "$aix_use_runtimelinking" = yes; then
13568 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13569 # instead of lib<name>.a to let people know that these are not
13570 # typical AIX shared libraries.
13571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13573 # We preserve .a as extension for shared libraries through AIX4.2
13574 # and later when we are not doing run time linking.
13575 library_names_spec
='${libname}${release}.a $libname.a'
13576 soname_spec
='${libname}${release}${shared_ext}$major'
13578 shlibpath_var
=LIBPATH
13585 # Since July 2007 AmigaOS4 officially supports .so libraries.
13586 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13590 library_names_spec
='$libname.ixlibrary $libname.a'
13591 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13592 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'
13598 library_names_spec
='${libname}${shared_ext}'
13599 dynamic_linker
="$host_os ld.so"
13600 shlibpath_var
=LIBRARY_PATH
13606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13607 soname_spec
='${libname}${release}${shared_ext}$major'
13608 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13609 shlibpath_var
=LD_LIBRARY_PATH
13610 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13611 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13612 # the default ld.so.conf also contains /usr/contrib/lib and
13613 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13614 # libtool to hard-code these into programs
13617 cygwin
* | mingw
* | pw32
* | cegcc
*)
13618 version_type
=windows
13623 case $GCC,$host_os in
13624 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13625 library_names_spec
='$libname.dll.a'
13626 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13627 postinstall_cmds
='base_file=`basename \${file}`~
13628 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13629 dldir=$destdir/`dirname \$dlpath`~
13630 test -d \$dldir || mkdir -p \$dldir~
13631 $install_prog $dir/$dlname \$dldir/$dlname~
13632 chmod a+x \$dldir/$dlname~
13633 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13634 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13636 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13637 dlpath=$dir/\$dldll~
13639 shlibpath_overrides_runpath
=yes
13643 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13644 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13645 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13648 # MinGW DLLs use traditional 'lib' prefix
13649 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13650 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13651 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13652 # It is most probably a Windows format PATH printed by
13653 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13654 # path with ; separators, and with drive letters. We can handle the
13655 # drive letters (cygwin fileutils understands them), so leave them,
13656 # especially as we might pass files found there to a mingw objdump,
13657 # which wouldn't understand a cygwinified path. Ahh.
13658 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13660 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13664 # pw32 DLLs use 'pw' prefix rather than 'lib'
13665 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13671 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13674 dynamic_linker
='Win32 ld.exe'
13675 # FIXME: first we should search . and the directory the executable is in
13679 darwin
* | rhapsody
*)
13680 dynamic_linker
="$host_os dyld"
13681 version_type
=darwin
13684 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13685 soname_spec
='${libname}${release}${major}$shared_ext'
13686 shlibpath_overrides_runpath
=yes
13687 shlibpath_var
=DYLD_LIBRARY_PATH
13688 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13690 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13698 soname_spec
='${libname}${release}${shared_ext}$major'
13699 shlibpath_var
=LD_LIBRARY_PATH
13706 freebsd
* | dragonfly
*)
13707 # DragonFly does not have aout. When/if they implement a new
13708 # versioning mechanism, adjust this.
13709 if test -x /usr
/bin
/objformat
; then
13710 objformat
=`/usr/bin/objformat`
13713 freebsd
[123]*) objformat
=aout
;;
13714 *) objformat
=elf
;;
13717 version_type
=freebsd
-$objformat
13718 case $version_type in
13720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13725 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13729 shlibpath_var
=LD_LIBRARY_PATH
13732 shlibpath_overrides_runpath
=yes
13734 freebsd3.
[01]* | freebsdelf3.
[01]*)
13735 shlibpath_overrides_runpath
=yes
13736 hardcode_into_libs
=yes
13738 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13739 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13740 shlibpath_overrides_runpath
=no
13741 hardcode_into_libs
=yes
13743 *) # from 4.6 on, and DragonFly
13744 shlibpath_overrides_runpath
=yes
13745 hardcode_into_libs
=yes
13754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13755 soname_spec
='${libname}${release}${shared_ext}$major'
13756 shlibpath_var
=LD_LIBRARY_PATH
13757 hardcode_into_libs
=yes
13760 hpux9
* | hpux10
* | hpux11
*)
13761 # Give a soname corresponding to the major version so that dld.sl refuses to
13762 # link against other versions.
13769 hardcode_into_libs
=yes
13770 dynamic_linker
="$host_os dld.so"
13771 shlibpath_var
=LD_LIBRARY_PATH
13772 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13774 soname_spec
='${libname}${release}${shared_ext}$major'
13775 if test "X$HPUX_IA64_MODE" = X32
; then
13776 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13778 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13780 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13784 hardcode_into_libs
=yes
13785 dynamic_linker
="$host_os dld.sl"
13786 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13787 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13789 soname_spec
='${libname}${release}${shared_ext}$major'
13790 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13791 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13795 dynamic_linker
="$host_os dld.sl"
13796 shlibpath_var
=SHLIB_PATH
13797 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13799 soname_spec
='${libname}${release}${shared_ext}$major'
13802 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13803 postinstall_cmds
='chmod 555 $lib'
13810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13811 soname_spec
='${libname}${release}${shared_ext}$major'
13812 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13813 shlibpath_var
=LD_LIBRARY_PATH
13814 shlibpath_overrides_runpath
=no
13815 hardcode_into_libs
=yes
13818 irix5
* | irix6
* | nonstopux
*)
13820 nonstopux
*) version_type
=nonstopux
;;
13822 if test "$lt_cv_prog_gnu_ld" = yes; then
13830 soname_spec
='${libname}${release}${shared_ext}$major'
13831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13833 irix5
* | nonstopux
*)
13834 libsuff
= shlibsuff
=
13837 case $LD in # libtool.m4 will add one of these switches to LD
13838 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13839 libsuff
= shlibsuff
= libmagic
=32-bit;;
13840 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13841 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13842 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13843 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13844 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13848 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13849 shlibpath_overrides_runpath
=no
13850 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13851 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13852 hardcode_into_libs
=yes
13855 # No shared lib support for Linux oldld, aout, or coff.
13856 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13860 # This must be Linux ELF.
13861 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13866 soname_spec
='${libname}${release}${shared_ext}$major'
13867 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13868 shlibpath_var
=LD_LIBRARY_PATH
13869 shlibpath_overrides_runpath
=no
13870 # Some binutils ld are patched to set DT_RUNPATH
13871 save_LDFLAGS
=$LDFLAGS
13872 save_libdir
=$libdir
13873 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13874 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13886 if ac_fn_cxx_try_link
"$LINENO"; then :
13887 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13888 shlibpath_overrides_runpath
=yes
13891 rm -f core conftest.err conftest.
$ac_objext \
13892 conftest
$ac_exeext conftest.
$ac_ext
13893 LDFLAGS
=$save_LDFLAGS
13894 libdir
=$save_libdir
13896 # This implies no fast_install, which is unacceptable.
13897 # Some rework will be needed to allow for fast_install
13898 # before this can be enabled.
13899 hardcode_into_libs
=yes
13901 # Append ld.so.conf contents to the search path
13902 if test -f /etc
/ld.so.conf
; then
13903 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' ' '`
13904 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13907 # We used to test for /lib/ld.so.1 and disable shared libraries on
13908 # powerpc, because MkLinux only supported shared libraries with the
13909 # GNU dynamic linker. Since this was broken with cross compilers,
13910 # most powerpc-linux boxes support dynamic linking these days and
13911 # people can always --disable-shared, the test was removed, and we
13912 # assume the GNU/Linux dynamic linker is in use.
13913 dynamic_linker
='GNU/Linux ld.so'
13920 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13921 soname_spec
='${libname}${release}${shared_ext}$major'
13922 shlibpath_var
=LD_LIBRARY_PATH
13923 shlibpath_overrides_runpath
=no
13924 hardcode_into_libs
=yes
13925 dynamic_linker
='NetBSD ld.elf_so'
13932 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13934 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13935 dynamic_linker
='NetBSD (a.out) ld.so'
13937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13938 soname_spec
='${libname}${release}${shared_ext}$major'
13939 dynamic_linker
='NetBSD ld.elf_so'
13941 shlibpath_var
=LD_LIBRARY_PATH
13942 shlibpath_overrides_runpath
=yes
13943 hardcode_into_libs
=yes
13948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13949 shlibpath_var
=LD_LIBRARY_PATH
13950 shlibpath_overrides_runpath
=yes
13957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13958 soname_spec
='${libname}${release}${shared_ext}$major'
13959 shlibpath_var
=LD_LIBRARY_PATH
13960 shlibpath_overrides_runpath
=no
13961 hardcode_into_libs
=yes
13962 dynamic_linker
='ldqnx.so'
13967 sys_lib_dlsearch_path_spec
="/usr/lib"
13969 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13971 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13972 *) need_version
=no
;;
13974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13975 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13976 shlibpath_var
=LD_LIBRARY_PATH
13977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13979 openbsd2.
[89] | openbsd2.
[89].
*)
13980 shlibpath_overrides_runpath
=no
13983 shlibpath_overrides_runpath
=yes
13987 shlibpath_overrides_runpath
=yes
13992 libname_spec
='$name'
13995 library_names_spec
='$libname${shared_ext} $libname.a'
13996 dynamic_linker
='OS/2 ld.exe'
13997 shlibpath_var
=LIBPATH
14000 osf3
* | osf4
* | osf5
*)
14004 soname_spec
='${libname}${release}${shared_ext}$major'
14005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006 shlibpath_var
=LD_LIBRARY_PATH
14007 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14008 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14020 soname_spec
='${libname}${release}${shared_ext}$major'
14021 shlibpath_var
=LD_LIBRARY_PATH
14022 shlibpath_overrides_runpath
=yes
14023 hardcode_into_libs
=yes
14024 # ldd complains unless libraries are executable
14025 postinstall_cmds
='chmod +x $lib'
14030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14031 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14032 shlibpath_var
=LD_LIBRARY_PATH
14033 shlibpath_overrides_runpath
=yes
14034 if test "$with_gnu_ld" = yes; then
14042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14043 soname_spec
='${libname}${release}${shared_ext}$major'
14044 shlibpath_var
=LD_LIBRARY_PATH
14045 case $host_vendor in
14047 shlibpath_overrides_runpath
=no
14049 runpath_var
=LD_RUN_PATH
14057 shlibpath_overrides_runpath
=no
14058 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14064 if test -d /usr
/nec
;then
14066 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14067 soname_spec
='$libname${shared_ext}.$major'
14068 shlibpath_var
=LD_LIBRARY_PATH
14072 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14073 version_type
=freebsd
-elf
14076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14077 soname_spec
='${libname}${release}${shared_ext}$major'
14078 shlibpath_var
=LD_LIBRARY_PATH
14079 shlibpath_overrides_runpath
=yes
14080 hardcode_into_libs
=yes
14081 if test "$with_gnu_ld" = yes; then
14082 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14084 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14087 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14091 sys_lib_dlsearch_path_spec
='/usr/lib'
14095 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14100 shlibpath_var
=LD_LIBRARY_PATH
14101 shlibpath_overrides_runpath
=no
14102 hardcode_into_libs
=yes
14107 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14108 soname_spec
='${libname}${release}${shared_ext}$major'
14109 shlibpath_var
=LD_LIBRARY_PATH
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14117 $as_echo "$dynamic_linker" >&6; }
14118 test "$dynamic_linker" = no
&& can_build_shared
=no
14120 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14121 if test "$GCC" = yes; then
14122 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14125 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14126 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14128 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14129 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14168 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14169 hardcode_action_CXX
=
14170 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14171 test -n "$runpath_var_CXX" ||
14172 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14174 # We can hardcode non-existent directories.
14175 if test "$hardcode_direct_CXX" != no
&&
14176 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14177 # have to relink, otherwise we might link with an installed library
14178 # when we should be linking with a yet-to-be-installed one
14179 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14180 test "$hardcode_minus_L_CXX" != no
; then
14181 # Linking always hardcodes the temporary library directory.
14182 hardcode_action_CXX
=relink
14184 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14185 hardcode_action_CXX
=immediate
14188 # We cannot hardcode anything, or else we can only hardcode existing
14190 hardcode_action_CXX
=unsupported
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14193 $as_echo "$hardcode_action_CXX" >&6; }
14195 if test "$hardcode_action_CXX" = relink
||
14196 test "$inherit_rpath_CXX" = yes; then
14197 # Fast installation is not supported
14198 enable_fast_install
=no
14199 elif test "$shlibpath_overrides_runpath" = yes ||
14200 test "$enable_shared" = no
; then
14201 # Fast installation is not necessary
14202 enable_fast_install
=needless
14211 fi # test -n "$compiler"
14217 with_gnu_ld
=$lt_save_with_gnu_ld
14218 lt_cv_path_LDCXX
=$lt_cv_path_LD
14219 lt_cv_path_LD
=$lt_save_path_LD
14220 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14221 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14222 fi # test "$_lt_caught_CXX_error" != yes
14225 ac_cpp
='$CPP $CPPFLAGS'
14226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14231 # Find a good install program. We prefer a C program (faster),
14232 # so one script is as good as another. But avoid the broken or
14233 # incompatible versions:
14234 # SysV /etc/install, /usr/sbin/install
14235 # SunOS /usr/etc/install
14236 # IRIX /sbin/install
14238 # AmigaOS /C/install, which installs bootblocks on floppy discs
14239 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14240 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14241 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14242 # OS/2's system install, which has a completely different semantic
14243 # ./install, which can be erroneously created by make from ./install.sh.
14244 # Reject install programs that cannot install multiple files.
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14246 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14247 if test -z "$INSTALL"; then
14248 if test "${ac_cv_path_install+set}" = set; then :
14249 $as_echo_n "(cached) " >&6
14251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14252 for as_dir
in $PATH
14255 test -z "$as_dir" && as_dir
=.
14256 # Account for people who put trailing slashes in PATH elements.
14257 case $as_dir/ in #((
14258 .
/ | .
// | /[cC
]/* | \
14259 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14260 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14263 # OSF1 and SCO ODT 3.0 have their own names for install.
14264 # Don't use installbsd from OSF since it installs stuff as root
14266 for ac_prog
in ginstall scoinst
install; do
14267 for ac_exec_ext
in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14269 if test $ac_prog = install &&
14270 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14271 # AIX install. It has an incompatible calling convention.
14273 elif test $ac_prog = install &&
14274 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14275 # program-specific install script used by HP pwplus--don't use.
14278 rm -rf conftest.one conftest.two conftest.dir
14279 echo one
> conftest.one
14280 echo two
> conftest.two
14282 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14283 test -s conftest.one
&& test -s conftest.two
&&
14284 test -s conftest.dir
/conftest.one
&&
14285 test -s conftest.dir
/conftest.two
14287 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14300 rm -rf conftest.one conftest.two conftest.dir
14303 if test "${ac_cv_path_install+set}" = set; then
14304 INSTALL
=$ac_cv_path_install
14306 # As a last resort, use the slow shell script. Don't cache a
14307 # value for INSTALL within a source directory, because that will
14308 # break other packages using the cache if that directory is
14309 # removed, or if the value is a relative name.
14310 INSTALL
=$ac_install_sh
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14314 $as_echo "$INSTALL" >&6; }
14316 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14317 # It thinks the first close brace ends the variable substitution.
14318 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14320 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14322 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14325 if test "X$prefix" = "XNONE"; then
14326 acl_final_prefix
="$ac_default_prefix"
14328 acl_final_prefix
="$prefix"
14330 if test "X$exec_prefix" = "XNONE"; then
14331 acl_final_exec_prefix
='${prefix}'
14333 acl_final_exec_prefix
="$exec_prefix"
14335 acl_save_prefix
="$prefix"
14336 prefix
="$acl_final_prefix"
14337 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14338 prefix
="$acl_save_prefix"
14341 # Check whether --with-gnu-ld was given.
14342 if test "${with_gnu_ld+set}" = set; then :
14343 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
14348 # Prepare PATH_SEPARATOR.
14349 # The user is always right.
14350 if test "${PATH_SEPARATOR+set}" != set; then
14351 echo "#! /bin/sh" >conf$$.sh
14352 echo "exit 0" >>conf$$.sh
14354 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14362 if test "$GCC" = yes; then
14363 # Check if gcc -print-prog-name=ld gives a path.
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14365 $as_echo_n "checking for ld used by GCC... " >&6; }
14368 # gcc leaves a trailing carriage return which upsets mingw
14369 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14371 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14374 # Accept absolute paths.
14375 [\\/]* | [A
-Za-z]:[\\/]*)
14376 re_direlt
='/[^/][^/]*/\.\./'
14377 # Canonicalize the path of ld
14378 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14379 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
14380 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14382 test -z "$LD" && LD
="$ac_prog"
14385 # If it fails, then pretend we aren't using GCC.
14389 # If it is relative, then search for the first ld in PATH.
14390 with_gnu_ld
=unknown
14393 elif test "$with_gnu_ld" = yes; then
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14395 $as_echo_n "checking for GNU ld... " >&6; }
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14398 $as_echo_n "checking for non-GNU ld... " >&6; }
14400 if test "${acl_cv_path_LD+set}" = set; then :
14401 $as_echo_n "(cached) " >&6
14403 if test -z "$LD"; then
14404 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
14405 for ac_dir
in $PATH; do
14406 test -z "$ac_dir" && ac_dir
=.
14407 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14408 acl_cv_path_LD
="$ac_dir/$ac_prog"
14409 # Check to see if the program is GNU ld. I'd rather use --version,
14410 # but apparently some GNU ld's only accept -v.
14411 # Break only if it was the GNU/non-GNU ld that we prefer.
14412 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14413 *GNU
* | *'with BFD'*)
14414 test "$with_gnu_ld" != no
&& break ;;
14416 test "$with_gnu_ld" != yes && break ;;
14422 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14426 LD
="$acl_cv_path_LD"
14427 if test -n "$LD"; then
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14429 $as_echo "$LD" >&6; }
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14432 $as_echo "no" >&6; }
14434 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14436 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14437 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14438 $as_echo_n "(cached) " >&6
14440 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14441 case `$LD -v 2>&1 </dev/null` in
14442 *GNU
* | *'with BFD'*)
14443 acl_cv_prog_gnu_ld
=yes ;;
14445 acl_cv_prog_gnu_ld
=no
;;
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14449 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14450 with_gnu_ld
=$acl_cv_prog_gnu_ld
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14456 $as_echo_n "checking for shared library run path origin... " >&6; }
14457 if test "${acl_cv_rpath+set}" = set; then :
14458 $as_echo_n "(cached) " >&6
14461 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14462 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14464 rm -f .
/conftest.sh
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14469 $as_echo "$acl_cv_rpath" >&6; }
14471 acl_libext
="$acl_cv_libext"
14472 acl_shlibext
="$acl_cv_shlibext"
14473 acl_libname_spec
="$acl_cv_libname_spec"
14474 acl_library_names_spec
="$acl_cv_library_names_spec"
14475 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14476 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14477 acl_hardcode_direct
="$acl_cv_hardcode_direct"
14478 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14479 # Check whether --enable-rpath was given.
14480 if test "${enable_rpath+set}" = set; then :
14481 enableval
=$enable_rpath; :
14489 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14490 if test -n "$searchpath"; then
14491 acl_save_IFS
="${IFS= }"; IFS
=":"
14492 for searchdir
in $searchpath; do
14493 if test -d "$searchdir"; then
14494 case "$searchdir" in
14495 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
14496 *) searchdir
=`cd "$searchdir" && pwd`
14497 case "$searchdir" in
14498 */lib64
) acl_libdirstem
=lib64
;;
14503 IFS
="$acl_save_IFS"
14516 acl_save_prefix
="$prefix"
14517 prefix
="$acl_final_prefix"
14518 acl_save_exec_prefix
="$exec_prefix"
14519 exec_prefix
="$acl_final_exec_prefix"
14521 eval additional_includedir
=\"$includedir\"
14522 eval additional_libdir
=\"$libdir\"
14524 exec_prefix
="$acl_save_exec_prefix"
14525 prefix
="$acl_save_prefix"
14528 # Check whether --with-libiconv-prefix was given.
14529 if test "${with_libiconv_prefix+set}" = set; then :
14530 withval
=$with_libiconv_prefix;
14531 if test "X$withval" = "Xno"; then
14534 if test "X$withval" = "X"; then
14536 acl_save_prefix
="$prefix"
14537 prefix
="$acl_final_prefix"
14538 acl_save_exec_prefix
="$exec_prefix"
14539 exec_prefix
="$acl_final_exec_prefix"
14541 eval additional_includedir
=\"$includedir\"
14542 eval additional_libdir
=\"$libdir\"
14544 exec_prefix
="$acl_save_exec_prefix"
14545 prefix
="$acl_save_prefix"
14548 additional_includedir
="$withval/include"
14549 additional_libdir
="$withval/$acl_libdirstem"
14561 names_already_handled
=
14562 names_next_round
='iconv '
14563 while test -n "$names_next_round"; do
14564 names_this_round
="$names_next_round"
14566 for name
in $names_this_round; do
14568 for n
in $names_already_handled; do
14569 if test "$n" = "$name"; then
14570 already_handled
=yes
14574 if test -z "$already_handled"; then
14575 names_already_handled
="$names_already_handled $name"
14576 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14577 eval value
=\"\
$HAVE_LIB$uppername\"
14578 if test -n "$value"; then
14579 if test "$value" = yes; then
14580 eval value
=\"\
$LIB$uppername\"
14581 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14582 eval value
=\"\
$LTLIB$uppername\"
14583 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14592 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
14593 if test -n "$acl_shlibext"; then
14594 shrext
=".$acl_shlibext" # typically: shrext=.so
14598 if test $use_additional = yes; then
14599 dir
="$additional_libdir"
14600 if test -n "$acl_shlibext"; then
14601 if test -f "$dir/$libname$shrext"; then
14603 found_so
="$dir/$libname$shrext"
14605 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14606 ver
=`(cd "$dir" && \
14607 for f in "$libname$shrext".*; do echo "$f"; done \
14608 | sed -e "s,^$libname$shrext\\\\.,," \
14609 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14610 | sed 1q ) 2>/dev/null`
14611 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14613 found_so
="$dir/$libname$shrext.$ver"
14616 eval library_names
=\"$acl_library_names_spec\"
14617 for f
in $library_names; do
14618 if test -f "$dir/$f"; then
14627 if test "X$found_dir" = "X"; then
14628 if test -f "$dir/$libname.$acl_libext"; then
14630 found_a
="$dir/$libname.$acl_libext"
14633 if test "X$found_dir" != "X"; then
14634 if test -f "$dir/$libname.la"; then
14635 found_la
="$dir/$libname.la"
14639 if test "X$found_dir" = "X"; then
14640 for x
in $LDFLAGS $LTLIBICONV; do
14642 acl_save_prefix
="$prefix"
14643 prefix
="$acl_final_prefix"
14644 acl_save_exec_prefix
="$exec_prefix"
14645 exec_prefix
="$acl_final_exec_prefix"
14647 exec_prefix
="$acl_save_exec_prefix"
14648 prefix
="$acl_save_prefix"
14652 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14653 if test -n "$acl_shlibext"; then
14654 if test -f "$dir/$libname$shrext"; then
14656 found_so
="$dir/$libname$shrext"
14658 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14659 ver
=`(cd "$dir" && \
14660 for f in "$libname$shrext".*; do echo "$f"; done \
14661 | sed -e "s,^$libname$shrext\\\\.,," \
14662 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14663 | sed 1q ) 2>/dev/null`
14664 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14666 found_so
="$dir/$libname$shrext.$ver"
14669 eval library_names
=\"$acl_library_names_spec\"
14670 for f
in $library_names; do
14671 if test -f "$dir/$f"; then
14680 if test "X$found_dir" = "X"; then
14681 if test -f "$dir/$libname.$acl_libext"; then
14683 found_a
="$dir/$libname.$acl_libext"
14686 if test "X$found_dir" != "X"; then
14687 if test -f "$dir/$libname.la"; then
14688 found_la
="$dir/$libname.la"
14693 if test "X$found_dir" != "X"; then
14698 if test "X$found_dir" != "X"; then
14699 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14700 if test "X$found_so" != "X"; then
14701 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14702 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14705 for x
in $ltrpathdirs; do
14706 if test "X$x" = "X$found_dir"; then
14711 if test -z "$haveit"; then
14712 ltrpathdirs
="$ltrpathdirs $found_dir"
14714 if test "$acl_hardcode_direct" = yes; then
14715 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14717 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
14718 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14720 for x
in $rpathdirs; do
14721 if test "X$x" = "X$found_dir"; then
14726 if test -z "$haveit"; then
14727 rpathdirs
="$rpathdirs $found_dir"
14731 for x
in $LDFLAGS $LIBICONV; do
14733 acl_save_prefix
="$prefix"
14734 prefix
="$acl_final_prefix"
14735 acl_save_exec_prefix
="$exec_prefix"
14736 exec_prefix
="$acl_final_exec_prefix"
14738 exec_prefix
="$acl_save_exec_prefix"
14739 prefix
="$acl_save_prefix"
14741 if test "X$x" = "X-L$found_dir"; then
14746 if test -z "$haveit"; then
14747 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14749 if test "$acl_hardcode_minus_L" != no
; then
14750 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14752 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14758 if test "X$found_a" != "X"; then
14759 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14761 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14764 additional_includedir
=
14765 case "$found_dir" in
14766 */$acl_libdirstem | */$acl_libdirstem/)
14767 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14768 LIBICONV_PREFIX
="$basedir"
14769 additional_includedir
="$basedir/include"
14772 if test "X$additional_includedir" != "X"; then
14773 if test "X$additional_includedir" != "X/usr/include"; then
14775 if test "X$additional_includedir" = "X/usr/local/include"; then
14776 if test -n "$GCC"; then
14778 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14782 if test -z "$haveit"; then
14783 for x
in $CPPFLAGS $INCICONV; do
14785 acl_save_prefix
="$prefix"
14786 prefix
="$acl_final_prefix"
14787 acl_save_exec_prefix
="$exec_prefix"
14788 exec_prefix
="$acl_final_exec_prefix"
14790 exec_prefix
="$acl_save_exec_prefix"
14791 prefix
="$acl_save_prefix"
14793 if test "X$x" = "X-I$additional_includedir"; then
14798 if test -z "$haveit"; then
14799 if test -d "$additional_includedir"; then
14800 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14806 if test -n "$found_la"; then
14807 save_libdir
="$libdir"
14808 case "$found_la" in
14809 */* | *\\*) .
"$found_la" ;;
14810 *) .
"./$found_la" ;;
14812 libdir
="$save_libdir"
14813 for dep
in $dependency_libs; do
14816 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14817 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14819 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14820 if test -n "$GCC"; then
14822 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14826 if test -z "$haveit"; then
14828 for x
in $LDFLAGS $LIBICONV; do
14830 acl_save_prefix
="$prefix"
14831 prefix
="$acl_final_prefix"
14832 acl_save_exec_prefix
="$exec_prefix"
14833 exec_prefix
="$acl_final_exec_prefix"
14835 exec_prefix
="$acl_save_exec_prefix"
14836 prefix
="$acl_save_prefix"
14838 if test "X$x" = "X-L$additional_libdir"; then
14843 if test -z "$haveit"; then
14844 if test -d "$additional_libdir"; then
14845 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14849 for x
in $LDFLAGS $LTLIBICONV; do
14851 acl_save_prefix
="$prefix"
14852 prefix
="$acl_final_prefix"
14853 acl_save_exec_prefix
="$exec_prefix"
14854 exec_prefix
="$acl_final_exec_prefix"
14856 exec_prefix
="$acl_save_exec_prefix"
14857 prefix
="$acl_save_prefix"
14859 if test "X$x" = "X-L$additional_libdir"; then
14864 if test -z "$haveit"; then
14865 if test -d "$additional_libdir"; then
14866 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14873 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14874 if test "$enable_rpath" != no
; then
14876 for x
in $rpathdirs; do
14877 if test "X$x" = "X$dir"; then
14882 if test -z "$haveit"; then
14883 rpathdirs
="$rpathdirs $dir"
14886 for x
in $ltrpathdirs; do
14887 if test "X$x" = "X$dir"; then
14892 if test -z "$haveit"; then
14893 ltrpathdirs
="$ltrpathdirs $dir"
14898 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14901 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14904 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14905 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14911 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14912 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14918 if test "X$rpathdirs" != "X"; then
14919 if test -n "$acl_hardcode_libdir_separator"; then
14921 for found_dir
in $rpathdirs; do
14922 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14924 acl_save_libdir
="$libdir"
14926 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
14927 libdir
="$acl_save_libdir"
14928 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14930 for found_dir
in $rpathdirs; do
14931 acl_save_libdir
="$libdir"
14932 libdir
="$found_dir"
14933 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
14934 libdir
="$acl_save_libdir"
14935 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14939 if test "X$ltrpathdirs" != "X"; then
14940 for found_dir
in $ltrpathdirs; do
14941 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14951 am_save_CPPFLAGS
="$CPPFLAGS"
14953 for element
in $INCICONV; do
14955 for x
in $CPPFLAGS; do
14957 acl_save_prefix
="$prefix"
14958 prefix
="$acl_final_prefix"
14959 acl_save_exec_prefix
="$exec_prefix"
14960 exec_prefix
="$acl_final_exec_prefix"
14962 exec_prefix
="$acl_save_exec_prefix"
14963 prefix
="$acl_save_prefix"
14965 if test "X$x" = "X$element"; then
14970 if test -z "$haveit"; then
14971 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14977 $as_echo_n "checking for iconv... " >&6; }
14978 if test "${am_cv_func_iconv+set}" = set; then :
14979 $as_echo_n "(cached) " >&6
14982 am_cv_func_iconv
="no, consider installing GNU libiconv"
14984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 #include <stdlib.h>
14991 iconv_t cd = iconv_open("","");
14992 iconv(cd,NULL,NULL,NULL,NULL);
14998 if ac_fn_c_try_link
"$LINENO"; then :
14999 am_cv_func_iconv
=yes
15001 rm -f core conftest.err conftest.
$ac_objext \
15002 conftest
$ac_exeext conftest.
$ac_ext
15003 if test "$am_cv_func_iconv" != yes; then
15004 am_save_LIBS
="$LIBS"
15005 LIBS
="$LIBS $LIBICONV"
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <stdlib.h>
15013 iconv_t cd = iconv_open("","");
15014 iconv(cd,NULL,NULL,NULL,NULL);
15020 if ac_fn_c_try_link
"$LINENO"; then :
15021 am_cv_lib_iconv
=yes
15022 am_cv_func_iconv
=yes
15024 rm -f core conftest.err conftest.
$ac_objext \
15025 conftest
$ac_exeext conftest.
$ac_ext
15026 LIBS
="$am_save_LIBS"
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15031 $as_echo "$am_cv_func_iconv" >&6; }
15032 if test "$am_cv_func_iconv" = yes; then
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15034 $as_echo_n "checking for working iconv... " >&6; }
15035 if test "${am_cv_func_iconv_works+set}" = set; then :
15036 $as_echo_n "(cached) " >&6
15039 am_save_LIBS
="$LIBS"
15040 if test $am_cv_lib_iconv = yes; then
15041 LIBS
="$LIBS $LIBICONV"
15043 if test "$cross_compiling" = yes; then :
15045 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15046 *) am_cv_func_iconv_works
="guessing yes" ;;
15049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15053 #include <string.h>
15056 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15059 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15060 if (cd_utf8_to_88591 != (iconv_t)(-1))
15062 static const char input[] = "\342\202\254"; /* EURO SIGN */
15064 const char *inptr = input;
15065 size_t inbytesleft = strlen (input);
15066 char *outptr = buf;
15067 size_t outbytesleft = sizeof (buf);
15068 size_t res = iconv (cd_utf8_to_88591,
15069 (char **) &inptr, &inbytesleft,
15070 &outptr, &outbytesleft);
15075 #if 0 /* This bug could be worked around by the caller. */
15076 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15078 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15079 if (cd_88591_to_utf8 != (iconv_t)(-1))
15081 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15083 const char *inptr = input;
15084 size_t inbytesleft = strlen (input);
15085 char *outptr = buf;
15086 size_t outbytesleft = sizeof (buf);
15087 size_t res = iconv (cd_88591_to_utf8,
15088 (char **) &inptr, &inbytesleft,
15089 &outptr, &outbytesleft);
15095 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15097 if (/* Try standardized names. */
15098 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15099 /* Try IRIX, OSF/1 names. */
15100 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15101 /* Try AIX names. */
15102 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15103 /* Try HP-UX names. */
15104 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15109 if ac_fn_c_try_run
"$LINENO"; then :
15110 am_cv_func_iconv_works
=yes
15112 am_cv_func_iconv_works
=no
15114 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15115 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15118 LIBS
="$am_save_LIBS"
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15122 $as_echo "$am_cv_func_iconv_works" >&6; }
15123 case "$am_cv_func_iconv_works" in
15124 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15125 *) am_func_iconv
=yes ;;
15128 am_func_iconv
=no am_cv_lib_iconv
=no
15130 if test "$am_func_iconv" = yes; then
15132 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15135 if test "$am_cv_lib_iconv" = yes; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15137 $as_echo_n "checking how to link with libiconv... " >&6; }
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15139 $as_echo "$LIBICONV" >&6; }
15141 CPPFLAGS
="$am_save_CPPFLAGS"
15148 if test "$am_cv_func_iconv" = yes; then
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15150 $as_echo_n "checking for iconv declaration... " >&6; }
15151 if test "${am_cv_proto_iconv+set}" = set; then :
15152 $as_echo_n "(cached) " >&6
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15158 #include <stdlib.h>
15164 #if defined(__STDC__) || defined(__cplusplus)
15165 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15178 if ac_fn_c_try_compile
"$LINENO"; then :
15179 am_cv_proto_iconv_arg1
=""
15181 am_cv_proto_iconv_arg1
="const"
15183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15184 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);"
15187 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15189 }$am_cv_proto_iconv" >&5
15191 }$am_cv_proto_iconv" >&6; }
15193 cat >>confdefs.h
<<_ACEOF
15194 #define ICONV_CONST $am_cv_proto_iconv_arg1
15199 case $am_cv_func_iconv in #(
15203 as_fn_error
"You need iconv" "$LINENO" 5 ;;
15207 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15208 if test -n "$ac_tool_prefix"; then
15209 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15210 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15212 $as_echo_n "checking for $ac_word... " >&6; }
15213 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15216 case $PKG_CONFIG in
15218 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
15221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15222 for as_dir
in $PATH
15225 test -z "$as_dir" && as_dir
=.
15226 for ac_exec_ext
in '' $ac_executable_extensions; do
15227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15228 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15239 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
15240 if test -n "$PKG_CONFIG"; then
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15242 $as_echo "$PKG_CONFIG" >&6; }
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15245 $as_echo "no" >&6; }
15250 if test -z "$ac_cv_path_PKG_CONFIG"; then
15251 ac_pt_PKG_CONFIG
=$PKG_CONFIG
15252 # Extract the first word of "pkg-config", so it can be a program name with args.
15253 set dummy pkg
-config; ac_word
=$2
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15255 $as_echo_n "checking for $ac_word... " >&6; }
15256 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15259 case $ac_pt_PKG_CONFIG in
15261 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15265 for as_dir
in $PATH
15268 test -z "$as_dir" && as_dir
=.
15269 for ac_exec_ext
in '' $ac_executable_extensions; do
15270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15271 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15282 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
15283 if test -n "$ac_pt_PKG_CONFIG"; then
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15285 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15288 $as_echo "no" >&6; }
15291 if test "x$ac_pt_PKG_CONFIG" = x
; then
15294 case $cross_compiling:$ac_tool_warned in
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15298 ac_tool_warned
=yes ;;
15300 PKG_CONFIG
=$ac_pt_PKG_CONFIG
15303 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
15307 if test -n "$PKG_CONFIG"; then
15308 _pkg_min_version
=0.9.0
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15310 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15311 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15313 $as_echo "yes" >&6; }
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15316 $as_echo "no" >&6; }
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15324 $as_echo_n "checking for WEBKIT... " >&6; }
15326 if test -n "$PKG_CONFIG"; then
15327 if test -n "$WEBKIT_CFLAGS"; then
15328 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15330 if test -n "$PKG_CONFIG" && \
15331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15332 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15335 test $ac_status = 0; }; then
15336 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
15344 if test -n "$PKG_CONFIG"; then
15345 if test -n "$WEBKIT_LIBS"; then
15346 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15348 if test -n "$PKG_CONFIG" && \
15349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15350 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15353 test $ac_status = 0; }; then
15354 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
15365 if test $pkg_failed = yes; then
15367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15368 _pkg_short_errors_supported
=yes
15370 _pkg_short_errors_supported
=no
15372 if test $_pkg_short_errors_supported = yes; then
15373 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15375 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15377 # Put the nasty error message in config.log where it belongs
15378 echo "$WEBKIT_PKG_ERRORS" >&5
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15381 $as_echo "no" >&6; }
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15386 $as_echo_n "checking for WEBKIT... " >&6; }
15388 if test -n "$PKG_CONFIG"; then
15389 if test -n "$WEBKIT_CFLAGS"; then
15390 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15392 if test -n "$PKG_CONFIG" && \
15393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15394 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15397 test $ac_status = 0; }; then
15398 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15406 if test -n "$PKG_CONFIG"; then
15407 if test -n "$WEBKIT_LIBS"; then
15408 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15410 if test -n "$PKG_CONFIG" && \
15411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15412 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15427 if test $pkg_failed = yes; then
15429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15430 _pkg_short_errors_supported
=yes
15432 _pkg_short_errors_supported
=no
15434 if test $_pkg_short_errors_supported = yes; then
15435 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15437 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15439 # Put the nasty error message in config.log where it belongs
15440 echo "$WEBKIT_PKG_ERRORS" >&5
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15443 $as_echo "no" >&6; }
15445 elif test $pkg_failed = untried
; then
15448 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15449 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15451 $as_echo "yes" >&6; }
15455 elif test $pkg_failed = untried
; then
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15460 $as_echo_n "checking for WEBKIT... " >&6; }
15462 if test -n "$PKG_CONFIG"; then
15463 if test -n "$WEBKIT_CFLAGS"; then
15464 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15466 if test -n "$PKG_CONFIG" && \
15467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15468 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15471 test $ac_status = 0; }; then
15472 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15480 if test -n "$PKG_CONFIG"; then
15481 if test -n "$WEBKIT_LIBS"; then
15482 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15484 if test -n "$PKG_CONFIG" && \
15485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15486 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15489 test $ac_status = 0; }; then
15490 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15501 if test $pkg_failed = yes; then
15503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15504 _pkg_short_errors_supported
=yes
15506 _pkg_short_errors_supported
=no
15508 if test $_pkg_short_errors_supported = yes; then
15509 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15511 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15513 # Put the nasty error message in config.log where it belongs
15514 echo "$WEBKIT_PKG_ERRORS" >&5
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15517 $as_echo "no" >&6; }
15519 elif test $pkg_failed = untried
; then
15522 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15523 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15525 $as_echo "yes" >&6; }
15530 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15531 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15533 $as_echo "yes" >&6; }
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
15542 $as_echo_n "checking for LIBFFI... " >&6; }
15544 if test -n "$PKG_CONFIG"; then
15545 if test -n "$LIBFFI_CFLAGS"; then
15546 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
15548 if test -n "$PKG_CONFIG" && \
15549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15550 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15553 test $ac_status = 0; }; then
15554 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
15562 if test -n "$PKG_CONFIG"; then
15563 if test -n "$LIBFFI_LIBS"; then
15564 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
15566 if test -n "$PKG_CONFIG" && \
15567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15568 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15572 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
15583 if test $pkg_failed = yes; then
15585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15586 _pkg_short_errors_supported
=yes
15588 _pkg_short_errors_supported
=no
15590 if test $_pkg_short_errors_supported = yes; then
15591 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
15593 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
15595 # Put the nasty error message in config.log where it belongs
15596 echo "$LIBFFI_PKG_ERRORS" >&5
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15599 $as_echo "no" >&6; }
15601 for ac_header
in ffi.h ffi
/ffi.h
15603 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15604 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15605 eval as_val
=\$
$as_ac_Header
15606 if test "x$as_val" = x
""yes; then :
15607 cat >>confdefs.h
<<_ACEOF
15608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15615 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
15617 as_fn_error
"You need libffi" "$LINENO" 5
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15621 $as_echo_n "checking for library containing ffi_call... " >&6; }
15622 if test "${ac_cv_search_ffi_call+set}" = set; then :
15623 $as_echo_n "(cached) " >&6
15625 ac_func_search_save_LIBS
=$LIBS
15626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15629 /* Override any GCC internal prototype to avoid an error.
15630 Use char because int might match the return type of a GCC
15631 builtin and then its argument prototype would still apply. */
15639 return ffi_call ();
15644 for ac_lib
in '' ffi
; do
15645 if test -z "$ac_lib"; then
15646 ac_res
="none required"
15649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15651 if ac_fn_c_try_link
"$LINENO"; then :
15652 ac_cv_search_ffi_call
=$ac_res
15654 rm -f core conftest.err conftest.
$ac_objext \
15656 if test "${ac_cv_search_ffi_call+set}" = set; then :
15660 if test "${ac_cv_search_ffi_call+set}" = set; then :
15663 ac_cv_search_ffi_call
=no
15665 rm conftest.
$ac_ext
15666 LIBS
=$ac_func_search_save_LIBS
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15669 $as_echo "$ac_cv_search_ffi_call" >&6; }
15670 ac_res
=$ac_cv_search_ffi_call
15671 if test "$ac_res" != no
; then :
15672 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15676 case $ac_cv_search_ffi_call in #(
15679 as_fn_error
"You need libffi" "$LINENO" 5
15685 elif test $pkg_failed = untried
; then
15687 for ac_header
in ffi.h ffi
/ffi.h
15689 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15690 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15691 eval as_val
=\$
$as_ac_Header
15692 if test "x$as_val" = x
""yes; then :
15693 cat >>confdefs.h
<<_ACEOF
15694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15701 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
15703 as_fn_error
"You need libffi" "$LINENO" 5
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15707 $as_echo_n "checking for library containing ffi_call... " >&6; }
15708 if test "${ac_cv_search_ffi_call+set}" = set; then :
15709 $as_echo_n "(cached) " >&6
15711 ac_func_search_save_LIBS
=$LIBS
15712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15715 /* Override any GCC internal prototype to avoid an error.
15716 Use char because int might match the return type of a GCC
15717 builtin and then its argument prototype would still apply. */
15725 return ffi_call ();
15730 for ac_lib
in '' ffi
; do
15731 if test -z "$ac_lib"; then
15732 ac_res
="none required"
15735 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15737 if ac_fn_c_try_link
"$LINENO"; then :
15738 ac_cv_search_ffi_call
=$ac_res
15740 rm -f core conftest.err conftest.
$ac_objext \
15742 if test "${ac_cv_search_ffi_call+set}" = set; then :
15746 if test "${ac_cv_search_ffi_call+set}" = set; then :
15749 ac_cv_search_ffi_call
=no
15751 rm conftest.
$ac_ext
15752 LIBS
=$ac_func_search_save_LIBS
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15755 $as_echo "$ac_cv_search_ffi_call" >&6; }
15756 ac_res
=$ac_cv_search_ffi_call
15757 if test "$ac_res" != no
; then :
15758 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15762 case $ac_cv_search_ffi_call in #(
15765 as_fn_error
"You need libffi" "$LINENO" 5
15772 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
15773 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15775 $as_echo "yes" >&6; }
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
15781 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;} ;;
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
15784 $as_echo_n "checking for GNU make... " >&6; }
15785 if test "${_cv_gnu_make_command+set}" = set; then :
15786 $as_echo_n "(cached) " >&6
15788 _cv_gnu_make_command
='' ;
15789 for a
in "$MAKE" make gmake gnumake
; do
15790 if test -z "$a" ; then continue ; fi ;
15791 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
15792 _cv_gnu_make_command
=$a ;
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
15799 $as_echo "$_cv_gnu_make_command" >&6; } ;
15800 if test "x$_cv_gnu_make_command" != "x" ; then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
15805 $as_echo "\"Not found\"" >&6; };
15809 if test "x$_cv_gnu_make_command" = x
; then :
15810 as_fn_error
"You need GNU make" "$LINENO" 5
15814 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
15815 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15816 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15817 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
15818 if test -n "$ac_tool_prefix"; then
15819 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15821 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15822 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15824 $as_echo_n "checking for $ac_word... " >&6; }
15825 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
15826 $as_echo_n "(cached) " >&6
15828 if test -n "$OBJCXX"; then
15829 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
15831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15832 for as_dir
in $PATH
15835 test -z "$as_dir" && as_dir
=.
15836 for ac_exec_ext
in '' $ac_executable_extensions; do
15837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15838 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
15839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15848 OBJCXX
=$ac_cv_prog_OBJCXX
15849 if test -n "$OBJCXX"; then
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
15851 $as_echo "$OBJCXX" >&6; }
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15854 $as_echo "no" >&6; }
15858 test -n "$OBJCXX" && break
15861 if test -z "$OBJCXX"; then
15862 ac_ct_OBJCXX
=$OBJCXX
15863 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
15865 # Extract the first word of "$ac_prog", so it can be a program name with args.
15866 set dummy
$ac_prog; ac_word
=$2
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15868 $as_echo_n "checking for $ac_word... " >&6; }
15869 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
15870 $as_echo_n "(cached) " >&6
15872 if test -n "$ac_ct_OBJCXX"; then
15873 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
15875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15876 for as_dir
in $PATH
15879 test -z "$as_dir" && as_dir
=.
15880 for ac_exec_ext
in '' $ac_executable_extensions; do
15881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15882 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
15883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15892 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
15893 if test -n "$ac_ct_OBJCXX"; then
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
15895 $as_echo "$ac_ct_OBJCXX" >&6; }
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15898 $as_echo "no" >&6; }
15902 test -n "$ac_ct_OBJCXX" && break
15905 if test "x$ac_ct_OBJCXX" = x
; then
15908 case $cross_compiling:$ac_tool_warned in
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15912 ac_tool_warned
=yes ;;
15914 OBJCXX
=$ac_ct_OBJCXX
15918 # Provide some information about the compiler.
15919 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
15922 for ac_option
in --version -v -V -qversion; do
15923 { { ac_try
="$ac_compiler $ac_option >&5"
15924 case "(($ac_try" in
15925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15926 *) ac_try_echo=$ac_try;;
15928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15929 $as_echo "$ac_try_echo"; } >&5
15930 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15932 if test -s conftest.err; then
15934 ... rest of stderr output deleted ...
15935 10q' conftest.err >conftest.er1
15936 cat conftest.er1 >&5
15938 rm -f conftest.er1 conftest.err
15939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15940 test $ac_status = 0; }
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
15944 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
15945 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
15946 $as_echo_n "(cached) " >&6
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15962 if ac_fn_objcxx_try_compile "$LINENO"; then :
15963 ac_compiler_gnu=yes
15967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15968 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
15972 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
15973 if test $ac_compiler_gnu = yes; then
15978 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
15979 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
15981 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
15982 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
15983 $as_echo_n "(cached) " >&6
15985 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
15986 ac_objcxx_werror_flag=yes
15987 ac_cv_prog_objcxx_g=no
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
16000 if ac_fn_objcxx_try_compile "$LINENO"; then :
16001 ac_cv_prog_objcxx_g=yes
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16015 if ac_fn_objcxx_try_compile "$LINENO"; then :
16018 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16031 if ac_fn_objcxx_try_compile "$LINENO"; then :
16032 ac_cv_prog_objcxx_g=yes
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16039 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16042 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16043 if test "$ac_test_OBJCXXFLAGS" = set; then
16044 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
16045 elif test $ac_cv_prog_objcxx_g = yes; then
16046 if test "$GOBJCXX" = yes; then
16047 OBJCXXFLAGS="-g -O2"
16052 if test "$GOBJCXX" = yes; then
16059 ac_cpp='$CPP $CPPFLAGS'
16060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16064 ac_config_files="$ac_config_files GNUmakefile"
16066 cat >confcache <<\_ACEOF
16067 # This file is a shell script that caches the results of configure
16068 # tests run on this system so they can be shared between configure
16069 # scripts and configure runs, see configure's option --config-cache.
16070 # It is not useful on other systems. If it contains results you don't
16071 # want to keep, you may remove or edit it.
16073 # config.status only pays attention to the cache file if you give it
16074 # the --recheck option to rerun configure.
16076 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16078 # following values.
16082 # The following way of writing the cache mishandles newlines in values,
16083 # but we know of no workaround that is simple, portable, and efficient.
16084 # So, we kill variables containing newlines.
16085 # Ultrix sh set writes to stderr and can't be redirected directly,
16086 # and sets the high bit in the cache file unless we assign to the vars.
16088 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16089 eval ac_val
=\$
$ac_var
16093 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16097 _
| IFS
| as_nl
) ;; #(
16098 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16099 *) { eval $ac_var=; unset $ac_var;} ;;
16105 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16106 *${as_nl}ac_space
=\
*)
16107 # `set' does not quote correctly, so add quotes: double-quote
16108 # substitution turns \\\\ into \\, and sed turns \\ into \.
16111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16114 # `set' quotes correctly as required by POSIX, so do not add quotes.
16115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16126 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16128 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16129 if test -w "$cache_file"; then
16130 test "x$cache_file" != "x/dev/null" &&
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16132 $as_echo "$as_me: updating cache $cache_file" >&6;}
16133 cat confcache
>$cache_file
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16136 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16141 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16142 # Let make expand exec_prefix.
16143 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16145 # Transform confdefs.h into DEFS.
16146 # Protect against shell expansion while executing Makefile rules.
16147 # Protect against Makefile macro expansion.
16149 # If the first sed substitution is executed (which looks for macros that
16150 # take arguments), then branch to the quote section. Otherwise,
16151 # look for a macro that doesn't take arguments.
16161 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16163 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16167 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16180 DEFS
=`sed -n "$ac_script" confdefs.h`
16185 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16186 # 1. Remove the extension, and $U if already installed.
16187 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16188 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16189 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16190 # will be set to the directory where LIBOBJS objects are built.
16191 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16192 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16194 LIBOBJS
=$ac_libobjs
16196 LTLIBOBJS
=$ac_ltlibobjs
16200 : ${CONFIG_STATUS=./config.status}
16202 ac_clean_files_save
=$ac_clean_files
16203 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16205 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16207 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16209 # Generated by $as_me.
16210 # Run this file to recreate the current configuration.
16211 # Compiler output produced by configure, useful for debugging
16212 # configure, is in config.log if it exists.
16215 ac_cs_recheck=false
16218 SHELL=\${CONFIG_SHELL-$SHELL}
16221 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
16222 ## -------------------- ##
16223 ## M4sh Initialization. ##
16224 ## -------------------- ##
16226 # Be more Bourne compatible
16227 DUALCASE
=1; export DUALCASE
# for MKS sh
16228 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16231 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16232 # is contrary to our usage. Disable this feature.
16233 alias -g '${1+"$@"}'='"$@"'
16234 setopt NO_GLOB_SUBST
16236 case `(set -o) 2>/dev/null` in #(
16248 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16249 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16250 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16251 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16252 # Prefer a ksh shell builtin over an external printf program on Solaris,
16253 # but without wasting forks for bash or zsh.
16254 if test -z "$BASH_VERSION$ZSH_VERSION" \
16255 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16256 as_echo='print
-r --'
16257 as_echo_n='print
-rn --'
16258 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16259 as_echo='printf %s
\n'
16260 as_echo_n='printf %s
'
16262 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16263 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16264 as_echo_n='/usr
/ucb
/echo -n'
16266 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16267 as_echo_n_body='eval
16271 expr "X$arg" : "X\\(.*\\)$as_nl";
16272 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16274 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16276 export as_echo_n_body
16277 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16279 export as_echo_body
16280 as_echo='sh
-c $as_echo_body as_echo
'
16283 # The user is always right.
16284 if test "${PATH_SEPARATOR+set}" != set; then
16286 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16287 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16294 # We need space, tab and new line, in precisely that order. Quoting is
16295 # there to prevent editors from complaining about space-tab.
16296 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16297 # splitting by setting IFS to empty value.)
16300 # Find who we are. Look in the path if we contain no directory separator.
16302 *[\\/]* ) as_myself=$0 ;;
16303 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16304 for as_dir in $PATH
16307 test -z "$as_dir" && as_dir=.
16308 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16314 # We did not find ourselves, most probably we were run as `sh COMMAND'
16315 # in which case we are not to be found in the path.
16316 if test "x$as_myself" = x
; then
16319 if test ! -f "$as_myself"; then
16320 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16324 # Unset variables that we do not need and which cause bugs (e.g. in
16325 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16326 # suppresses any "Segmentation fault" message there. '((' could
16327 # trigger a bug in pdksh 5.2.14.
16328 for as_var
in BASH_ENV ENV MAIL MAILPATH
16329 do eval test x\
${$as_var+set} = xset \
16330 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
16343 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16346 # as_fn_error ERROR [LINENO LOG_FD]
16347 # ---------------------------------
16348 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16349 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16350 # script with status $?, using 1 if that was 0.
16353 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16355 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16356 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16358 $as_echo "$as_me: error: $1" >&2
16359 as_fn_exit
$as_status
16363 # as_fn_set_status STATUS
16364 # -----------------------
16365 # Set $? to STATUS, without forking.
16366 as_fn_set_status
()
16369 } # as_fn_set_status
16371 # as_fn_exit STATUS
16372 # -----------------
16373 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16377 as_fn_set_status
$1
16383 # Portably unset VAR.
16386 { eval $1=; unset $1;}
16388 as_unset
=as_fn_unset
16389 # as_fn_append VAR VALUE
16390 # ----------------------
16391 # Append the text in VALUE to the end of the definition contained in VAR. Take
16392 # advantage of any shell optimizations that allow amortized linear growth over
16393 # repeated appends, instead of the typical quadratic growth present in naive
16395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16396 eval 'as_fn_append ()
16407 # as_fn_arith ARG...
16408 # ------------------
16409 # Perform arithmetic evaluation on the ARGs, and store the result in the
16410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16411 # must be portable across $(()) and expr.
16412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16413 eval 'as_fn_arith ()
16420 as_val
=`expr "$@" || test $? -eq 1`
16425 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16426 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16432 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16433 as_basename
=basename
16438 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16444 as_me
=`$as_basename -- "$0" ||
16445 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16446 X"$0" : 'X\(//\)$' \| \
16447 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16449 sed '/^.*\/\([^/][^/]*\)\/*$/{
16463 # Avoid depending upon Character Ranges.
16464 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16465 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16466 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16467 as_cr_digits
='0123456789'
16468 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16470 ECHO_C
= ECHO_N
= ECHO_T
=
16471 case `echo -n x` in #(((((
16473 case `echo 'xy\c'` in
16474 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16476 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16483 rm -f conf$$ conf$$.exe conf$$.
file
16484 if test -d conf$$.dir
; then
16485 rm -f conf$$.dir
/conf$$.
file
16488 mkdir conf$$.dir
2>/dev
/null
16490 if (echo >conf$$.
file) 2>/dev
/null
; then
16491 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16493 # ... but there are two gotchas:
16494 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16495 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16496 # In both cases, we have to default to `cp -p'.
16497 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
16499 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16508 rmdir conf$$.dir
2>/dev
/null
16513 # Create "$as_dir" as a directory, including parents if necessary.
16518 -*) as_dir
=.
/$as_dir;;
16520 test -d "$as_dir" || eval $as_mkdir_p || {
16524 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16525 *) as_qdir
=$as_dir;;
16527 as_dirs
="'$as_qdir' $as_dirs"
16528 as_dir
=`$as_dirname -- "$as_dir" ||
16529 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16530 X"$as_dir" : 'X\(//\)[^/]' \| \
16531 X"$as_dir" : 'X\(//\)$' \| \
16532 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16533 $as_echo X"$as_dir" |
16534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16538 /^X\(\/\/\)[^/].*/{
16551 test -d "$as_dir" && break
16553 test -z "$as_dirs" || eval "mkdir $as_dirs"
16554 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16558 if mkdir -p .
2>/dev
/null
; then
16559 as_mkdir_p
='mkdir -p "$as_dir"'
16561 test -d .
/-p && rmdir .
/-p
16565 if test -x / >/dev
/null
2>&1; then
16566 as_test_x
='test -x'
16568 if ls -dL / >/dev
/null
2>&1; then
16575 if test -d "$1"; then
16581 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16582 ???[sx]*):;;*)false;;esac;fi
16586 as_executable_p
=$as_test_x
16588 # Sed expression to map a string onto a valid CPP name.
16589 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16591 # Sed expression to map a string onto a valid variable name.
16592 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16596 ## ----------------------------------- ##
16597 ## Main body of $CONFIG_STATUS script. ##
16598 ## ----------------------------------- ##
16600 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16602 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16603 # Save the log message, to keep $0 and so on meaningful, and to
16604 # report actual input values of CONFIG_FILES etc. instead of their
16605 # values after options handling.
16607 This file was extended by Cycript $as_me 0.9, which was
16608 generated by GNU Autoconf 2.65. Invocation command line was
16610 CONFIG_FILES = $CONFIG_FILES
16611 CONFIG_HEADERS = $CONFIG_HEADERS
16612 CONFIG_LINKS = $CONFIG_LINKS
16613 CONFIG_COMMANDS = $CONFIG_COMMANDS
16616 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16621 case $ac_config_files in *"
16622 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16628 # Files that config.status was made for.
16629 config_files="$ac_config_files"
16630 config_commands="$ac_config_commands"
16634 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16636 \`$as_me' instantiates files and other configuration actions
16637 from templates according to the current configuration. Unless the files
16638 and actions are specified as TAGs, all are instantiated by default.
16640 Usage: $0 [OPTION]... [TAG]...
16642 -h, --help print this help, then exit
16643 -V, --version print version number and configuration settings, then exit
16644 --config print configuration, then exit
16645 -q, --quiet, --silent
16646 do not print progress messages
16647 -d, --debug don't remove temporary files
16648 --recheck update $as_me by reconfiguring in the same conditions
16649 --file=FILE[:TEMPLATE]
16650 instantiate the configuration file FILE
16652 Configuration files:
16655 Configuration commands:
16658 Report bugs to <saurik@saurik.com>.
16659 Cycript home page: <http://www.cycript.org/>."
16662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16665 Cycript config.status 0.9
16666 configured by $0, generated by GNU Autoconf 2.65,
16667 with options \\"\$ac_cs_config\\"
16669 Copyright (C) 2009 Free Software Foundation, Inc.
16670 This config.status script is free software; the Free Software Foundation
16671 gives unlimited permission to copy, distribute and modify it."
16677 test -n "\$AWK" || AWK=awk
16680 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16681 # The default lists apply if the user does not specify any file.
16687 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16688 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16699 # Handling of the options.
16700 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16702 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16703 $as_echo "$ac_cs_version"; exit ;;
16704 --config | --confi | --conf | --con | --co | --c )
16705 $as_echo "$ac_cs_config"; exit ;;
16706 --debug | --debu | --deb | --de | --d | -d )
16708 --file | --fil | --fi | --f )
16711 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16713 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16714 ac_need_defaults
=false
;;
16715 --he | --h | --help | --hel | -h )
16716 $as_echo "$ac_cs_usage"; exit ;;
16717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16718 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16721 # This is an error.
16722 -*) as_fn_error
"unrecognized option: \`$1'
16723 Try \`$0 --help' for more information." ;;
16725 *) as_fn_append ac_config_targets
" $1"
16726 ac_need_defaults
=false
;;
16732 ac_configure_extra_args
=
16734 if $ac_cs_silent; then
16736 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16741 if \$ac_cs_recheck; then
16742 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16744 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16745 CONFIG_SHELL='$SHELL'
16746 export CONFIG_SHELL
16751 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16755 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16756 ## Running $as_me. ##
16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16768 # The HP-UX ksh and POSIX shell print the target directory to stdout
16769 # if CDPATH is set.
16770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16772 sed_quote_subst='$sed_quote_subst'
16773 double_quote_subst='$double_quote_subst'
16774 delay_variable_subst='$delay_variable_subst'
16775 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16776 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16777 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16778 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16779 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16780 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16781 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16782 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16783 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16784 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16785 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16786 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16787 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16788 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16789 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16790 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16791 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16792 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16793 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16794 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16795 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16796 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16797 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16798 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16799 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16800 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16801 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16802 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16803 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16804 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16805 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16806 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16807 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16808 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16809 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16810 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16811 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16812 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16813 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16814 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16815 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16816 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16817 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16818 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16819 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"`'
16820 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"`'
16821 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16822 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16823 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16824 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16825 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16826 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16827 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16828 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16829 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16830 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16831 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16832 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16833 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16834 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16835 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16836 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16837 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16838 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16839 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16840 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16841 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16842 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16843 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16844 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16845 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16846 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16847 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16848 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16849 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16850 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16851 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16852 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16853 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16854 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16855 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16856 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16857 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16858 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16859 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16860 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16861 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16862 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16863 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16864 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16865 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16866 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16867 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16868 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16869 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16870 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16871 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16872 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16873 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16874 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16875 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16876 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16877 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16878 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16879 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16880 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16881 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16882 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16883 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16884 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16885 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16886 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16887 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16888 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16889 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16890 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16891 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16892 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16893 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16894 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16895 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16896 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16897 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16898 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16899 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16900 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16901 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16902 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16903 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16904 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16905 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16906 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16907 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16908 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16909 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16910 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16911 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16912 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16913 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16914 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16915 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16916 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16917 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16918 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16919 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16920 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16921 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16922 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16923 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16924 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16925 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16926 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16927 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16928 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16929 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16930 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16931 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16932 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16933 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16934 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16935 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16936 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16937 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16938 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16939 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16940 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16941 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16942 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16943 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16944 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16945 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16948 LTCFLAGS='$LTCFLAGS'
16949 compiler='$compiler_DEFAULT'
16951 # Quote evaled strings.
16963 deplibs_check_method \
16972 lt_cv_sys_global_symbol_pipe \
16973 lt_cv_sys_global_symbol_to_cdecl \
16974 lt_cv_sys_global_symbol_to_c_name_address \
16975 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16978 lt_prog_compiler_no_builtin_flag \
16979 lt_prog_compiler_wl \
16980 lt_prog_compiler_pic \
16981 lt_prog_compiler_static \
16982 lt_cv_prog_compiler_c_o \
16990 export_dynamic_flag_spec \
16991 whole_archive_flag_spec \
16992 compiler_needs_object \
16994 allow_undefined_flag \
16995 no_undefined_flag \
16996 hardcode_libdir_flag_spec \
16997 hardcode_libdir_flag_spec_ld \
16998 hardcode_libdir_separator \
17003 variables_saved_for_relink \
17005 library_names_spec \
17010 compiler_lib_search_dirs \
17015 compiler_lib_search_path \
17018 lt_prog_compiler_no_builtin_flag_CXX \
17019 lt_prog_compiler_wl_CXX \
17020 lt_prog_compiler_pic_CXX \
17021 lt_prog_compiler_static_CXX \
17022 lt_cv_prog_compiler_c_o_CXX \
17023 export_dynamic_flag_spec_CXX \
17024 whole_archive_flag_spec_CXX \
17025 compiler_needs_object_CXX \
17027 allow_undefined_flag_CXX \
17028 no_undefined_flag_CXX \
17029 hardcode_libdir_flag_spec_CXX \
17030 hardcode_libdir_flag_spec_ld_CXX \
17031 hardcode_libdir_separator_CXX \
17032 fix_srcfile_path_CXX \
17033 exclude_expsyms_CXX \
17034 include_expsyms_CXX \
17035 file_list_spec_CXX \
17036 compiler_lib_search_dirs_CXX \
17037 predep_objects_CXX \
17038 postdep_objects_CXX \
17041 compiler_lib_search_path_CXX; do
17042 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17043 *[\\\\\\\`\\"\\\$]*)
17044 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17047 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17052 # Double-quote double-evaled strings.
17053 for var in reload_cmds \
17054 old_postinstall_cmds \
17055 old_postuninstall_cmds \
17057 extract_expsyms_cmds \
17058 old_archive_from_new_cmds \
17059 old_archive_from_expsyms_cmds \
17061 archive_expsym_cmds \
17063 module_expsym_cmds \
17064 export_symbols_cmds \
17067 postuninstall_cmds \
17069 sys_lib_search_path_spec \
17070 sys_lib_dlsearch_path_spec \
17071 old_archive_cmds_CXX \
17072 old_archive_from_new_cmds_CXX \
17073 old_archive_from_expsyms_cmds_CXX \
17075 archive_expsym_cmds_CXX \
17077 module_expsym_cmds_CXX \
17078 export_symbols_cmds_CXX \
17079 prelink_cmds_CXX; do
17080 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17081 *[\\\\\\\`\\"\\\$]*)
17082 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17085 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17090 # Fix-up fallback echo if it was mangled by the above quoting rules.
17092 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17096 ac_aux_dir='$ac_aux_dir'
17097 xsi_shell='$xsi_shell'
17098 lt_shell_append='$lt_shell_append'
17100 # See if we are running on zsh, and set the options which allow our
17101 # commands through without removal of \ escapes INIT.
17102 if test -n "\${ZSH_VERSION+set}" ; then
17103 setopt NO_GLOB_SUBST
17109 TIMESTAMP='$TIMESTAMP'
17120 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17122 # Handling of arguments.
17123 for ac_config_target
in $ac_config_targets
17125 case $ac_config_target in
17126 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17127 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
17129 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17134 # If the user did not use the arguments to specify the items to instantiate,
17135 # then the envvar interface is used. Set only those that are not.
17136 # We use the long form for the default assignment because of an extremely
17137 # bizarre bug on SunOS 4.1.3.
17138 if $ac_need_defaults; then
17139 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17143 # Have a temporary directory for convenience. Make it in the build tree
17144 # simply because there is no reason against having it here, and in addition,
17145 # creating and moving files from /tmp can sometimes cause problems.
17146 # Hook for its removal unless debugging.
17147 # Note that there is a small window in which the directory will not be cleaned:
17148 # after its creation but before its name has been assigned to `$tmp'.
17152 trap 'exit_status=$?
17153 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17155 trap 'as_fn_exit 1' 1 2 13 15
17157 # Create a (secure) tmp directory for tmp files.
17160 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17161 test -n "$tmp" && test -d "$tmp"
17164 tmp
=.
/conf$$
-$RANDOM
17165 (umask 077 && mkdir "$tmp")
17166 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17168 # Set up the scripts for CONFIG_FILES section.
17169 # No need to generate them if there are no CONFIG_FILES.
17170 # This happens for instance with `./config.status config.h'.
17171 if test -n "$CONFIG_FILES"; then
17174 ac_cr
=`echo X | tr X '\015'`
17175 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17176 # But we know of no other shell where ac_cr would be empty at this
17177 # point, so we can use a bashism as a fallback.
17178 if test "x$ac_cr" = x
; then
17179 eval ac_cr
=\$
\'\\r
\'
17181 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17182 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17185 ac_cs_awk_cr
=$ac_cr
17188 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17193 echo "cat >conf$$subs.awk <<_ACEOF" &&
17194 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17196 } >conf$$subs.sh ||
17197 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17198 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17200 for ac_last_try in false false false false false :; do
17201 . ./conf$$subs.sh ||
17202 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17204 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17205 if test $ac_delim_n = $ac_delim_num; then
17207 elif $ac_last_try; then
17208 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17210 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17213 rm -f conf$$subs.sh
17215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17216 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17220 s/^/S["/; s
/!.
*/"]=/
17230 s/\(.\{148\}\)..*/\1/
17232 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17237 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17244 s/\(.\{148\}\)..*/\1/
17246 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17250 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17255 ' <conf$$subs.awk | sed '
17260 ' >>$CONFIG_STATUS || ac_write_fail=1
17261 rm -f conf$$subs.awk
17262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17264 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17265 for (key in S) S_is_set[key] = 1
17271 nfields = split(line, field, "@
")
17273 len = length(field[1])
17274 for (i = 2; i < nfields; i++) {
17276 keylen = length(key)
17277 if (S_is_set[key]) {
17279 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17280 len += length(value) + length(field[++i])
17291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17292 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17293 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17296 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17297 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17302 # trailing colons and then remove the whole line if VPATH becomes empty
17303 # (actually we leave an empty line to preserve line numbers).
17304 if test "x
$srcdir" = x.; then
17305 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17306 s/:*\$(srcdir):*/:/
17307 s/:*\${srcdir}:*/:/
17309 s/^\([^=]*=[ ]*\):*/\1/
17315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17316 fi # test -n "$CONFIG_FILES"
17319 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17324 :[FHLC]) ac_mode=$ac_tag; continue;;
17326 case $ac_mode$ac_tag in
17328 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17329 :[FH]-) ac_tag=-:-;;
17330 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17347 -) ac_f="$tmp/stdin";;
17348 *) # Look for the file first in the build tree, then in the source tree
17349 # (if the path is not absolute). The absolute path cannot be DOS-style,
17350 # because $ac_f cannot contain `:'.
17354 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17356 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17358 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17359 as_fn_append ac_file_inputs " '$ac_f'"
17362 # Let's still pretend it is `configure' which instantiates (i.e., don't
17363 # use $as_me), people would be surprised to read:
17364 # /* config.h. Generated by config.status. */
17365 configure_input='Generated from '`
17366 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17368 if test x"$ac_file" != x-; then
17369 configure_input="$ac_file.
$configure_input"
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17371 $as_echo "$as_me: creating
$ac_file" >&6;}
17373 # Neutralize special characters interpreted by sed in replacement strings.
17374 case $configure_input in #(
17375 *\&* | *\|* | *\\* )
17376 ac_sed_conf_input=`$as_echo "$configure_input" |
17377 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17378 *) ac_sed_conf_input=$configure_input;;
17382 *:-:* | *:-) cat >"$tmp/stdin
" \
17383 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
17388 ac_dir=`$as_dirname -- "$ac_file" ||
17389 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17390 X"$ac_file" : 'X\(//\)[^/]' \| \
17391 X"$ac_file" : 'X\(//\)$' \| \
17392 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17393 $as_echo X"$ac_file" |
17394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17398 /^X\(\/\/\)[^/].*/{
17411 as_dir="$ac_dir"; as_fn_mkdir_p
17415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17417 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17418 # A "..
" for each directory in $ac_dir_suffix.
17419 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17420 case $ac_top_builddir_sub in
17421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17425 ac_abs_top_builddir=$ac_pwd
17426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17427 # for backward compatibility:
17428 ac_top_builddir=$ac_top_build_prefix
17431 .) # We are building in place.
17433 ac_top_srcdir=$ac_top_builddir_sub
17434 ac_abs_top_srcdir=$ac_pwd ;;
17435 [\\/]* | ?:[\\/]* ) # Absolute name.
17436 ac_srcdir=$srcdir$ac_dir_suffix;
17437 ac_top_srcdir=$srcdir
17438 ac_abs_top_srcdir=$srcdir ;;
17439 *) # Relative name.
17440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17441 ac_top_srcdir=$ac_top_build_prefix$srcdir
17442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17454 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17455 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17460 # If the template does not know about datarootdir, expand it.
17461 # FIXME: This hack should be removed a few years after 2.60.
17462 ac_datarootdir_hack=; ac_datarootdir_seen=
17473 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17474 *datarootdir*) ac_datarootdir_seen=yes;;
17475 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17477 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17480 ac_datarootdir_hack='
17481 s&@datadir@&$datadir&g
17482 s&@docdir@&$docdir&g
17483 s&@infodir@&$infodir&g
17484 s&@localedir@&$localedir&g
17485 s&@mandir@&$mandir&g
17486 s&\\\${datarootdir}&$datarootdir&g' ;;
17490 # Neutralize VPATH when `$srcdir' = `.'.
17491 # Shell code in configure.ac might set extrasub.
17492 # FIXME: do we really want to maintain this feature?
17493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17494 ac_sed_extra="$ac_vpsub
17497 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17499 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17500 s
|@configure_input@
|$ac_sed_conf_input|;t t
17501 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17502 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17503 s
&@srcdir@
&$ac_srcdir&;t t
17504 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17505 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17506 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17507 s
&@builddir@
&$ac_builddir&;t t
17508 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17509 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17510 s
&@INSTALL@
&$ac_INSTALL&;t t
17511 $ac_datarootdir_hack
17513 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17514 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17516 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17517 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17518 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17520 which seems to be undefined. Please make sure it is defined." >&5
17521 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17522 which seems to be undefined. Please make sure it is defined." >&2;}
17526 -) cat "$tmp/out" && rm -f "$tmp/out";;
17527 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17529 || as_fn_error "could not create $ac_file" "$LINENO" 5
17533 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17534 $as_echo "$as_me: executing $ac_file commands" >&6;}
17539 case $ac_file$ac_mode in
17542 # See if we are running on zsh, and set the options which allow our
17543 # commands through without removal of \ escapes.
17544 if test -n "${ZSH_VERSION+set}" ; then
17545 setopt NO_GLOB_SUBST
17548 cfgfile="${ofile}T"
17549 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17552 cat <<_LT_EOF >> "$cfgfile"
17555 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17556 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17557 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17558 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17560 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17561 # 2006, 2007, 2008 Free Software Foundation, Inc.
17562 # Written by Gordon Matzigkeit, 1996
17564 # This file is part of GNU Libtool.
17566 # GNU Libtool is free software; you can redistribute it and/or
17567 # modify it under the terms of the GNU General Public License as
17568 # published by the Free Software Foundation; either version 2 of
17569 # the License, or (at your option) any later version.
17571 # As a special exception to the GNU General Public License,
17572 # if you distribute this file as part of a program or library that
17573 # is built using GNU Libtool, you may include this file under the
17574 # same distribution terms that you use for the rest of that program.
17576 # GNU Libtool is distributed in the hope that it will be useful,
17577 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17578 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17579 # GNU General Public License for more details.
17581 # You should have received a copy of the GNU General Public License
17582 # along with GNU Libtool; see the file COPYING. If not, a copy
17583 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17584 # obtained by writing to the Free Software Foundation, Inc.,
17585 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17588 # The names of the tagged configurations supported by this script.
17589 available_tags="CXX "
17591 # ### BEGIN LIBTOOL CONFIG
17593 # Which release of libtool.m4 was used?
17594 macro_version=$macro_version
17595 macro_revision=$macro_revision
17597 # Whether or not to build static libraries.
17598 build_old_libs=$enable_static
17600 # Whether or not to build shared libraries.
17601 build_libtool_libs=$enable_shared
17603 # What type of objects to build.
17606 # Whether or not to optimize for fast installation.
17607 fast_install=$enable_fast_install
17610 host_alias=$host_alias
17614 # The build system.
17615 build_alias=$build_alias
17619 # A sed program that does not truncate output.
17622 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17623 Xsed="\$SED -e 1s/^X//"
17625 # A grep program that handles long lines.
17631 # A literal string matcher.
17634 # A BSD- or MS-compatible name lister.
17637 # Whether we need soft or hard links.
17640 # What is the maximum length of a command?
17641 max_cmd_len=$max_cmd_len
17643 # Object file suffix (normally "o").
17646 # Executable file suffix (normally "").
17649 # whether the shell understands "unset".
17652 # turn spaces into newlines.
17655 # turn newlines into spaces.
17658 # How to create reloadable object files.
17659 reload_flag=$lt_reload_flag
17660 reload_cmds=$lt_reload_cmds
17662 # An object symbol dumper.
17663 OBJDUMP=$lt_OBJDUMP
17665 # Method to check whether dependent libraries are shared objects.
17666 deplibs_check_method=$lt_deplibs_check_method
17668 # Command to use when deplibs_check_method == "file_magic".
17669 file_magic_cmd=$lt_file_magic_cmd
17673 AR_FLAGS=$lt_AR_FLAGS
17675 # A symbol stripping program.
17678 # Commands used to install an old-style archive.
17680 old_postinstall_cmds=$lt_old_postinstall_cmds
17681 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17686 # LTCC compiler flags.
17687 LTCFLAGS=$lt_CFLAGS
17689 # Take the output of nm and produce a listing of raw symbols and C names.
17690 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17692 # Transform the output of nm in a proper C declaration.
17693 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17695 # Transform the output of nm in a C name address pair.
17696 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17698 # Transform the output of nm in a C name address pair when lib prefix is needed.
17699 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17701 # The name of the directory that contains temporary libtool files.
17704 # Shell to use when invoking shell scripts.
17707 # An echo program that does not interpret backslashes.
17710 # Used to examine libraries when file_magic_cmd begins with "file".
17711 MAGIC_CMD=$MAGIC_CMD
17713 # Must we lock files when doing compilation?
17714 need_locks=$lt_need_locks
17716 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17717 DSYMUTIL=$lt_DSYMUTIL
17719 # Tool to change global to local symbols on Mac OS X.
17722 # Tool to manipulate fat objects and archives on Mac OS X.
17725 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17728 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17729 OTOOL64=$lt_OTOOL64
17731 # Old archive suffix (normally "a").
17734 # Shared library suffix (normally ".so").
17735 shrext_cmds=$lt_shrext_cmds
17737 # The commands to extract the exported symbol list from a shared archive.
17738 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17740 # Variables whose values should be saved in libtool wrapper scripts and
17741 # restored at link time.
17742 variables_saved_for_relink=$lt_variables_saved_for_relink
17744 # Do we need the "lib" prefix for modules?
17745 need_lib_prefix=$need_lib_prefix
17747 # Do we need a version for libraries?
17748 need_version=$need_version
17750 # Library versioning type.
17751 version_type=$version_type
17753 # Shared library runtime path variable.
17754 runpath_var=$runpath_var
17756 # Shared library path variable.
17757 shlibpath_var=$shlibpath_var
17759 # Is shlibpath searched before the hard-coded library search path?
17760 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17762 # Format of library name prefix.
17763 libname_spec=$lt_libname_spec
17765 # List of archive names. First name is the real one, the rest are links.
17766 # The last name is the one that the linker finds with -lNAME
17767 library_names_spec=$lt_library_names_spec
17769 # The coded name of the library, if different from the real name.
17770 soname_spec=$lt_soname_spec
17772 # Command to use after installation of a shared archive.
17773 postinstall_cmds=$lt_postinstall_cmds
17775 # Command to use after uninstallation of a shared archive.
17776 postuninstall_cmds=$lt_postuninstall_cmds
17778 # Commands used to finish a libtool library installation in a directory.
17779 finish_cmds=$lt_finish_cmds
17781 # As "finish_cmds", except a single script fragment to be evaled but
17783 finish_eval=$lt_finish_eval
17785 # Whether we should hardcode library paths into libraries.
17786 hardcode_into_libs=$hardcode_into_libs
17788 # Compile-time system search path for libraries.
17789 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17791 # Run-time system search path for libraries.
17792 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17794 # Whether dlopen is supported.
17795 dlopen_support=$enable_dlopen
17797 # Whether dlopen of programs is supported.
17798 dlopen_self=$enable_dlopen_self
17800 # Whether dlopen of statically linked programs is supported.
17801 dlopen_self_static=$enable_dlopen_self_static
17803 # Commands to strip libraries.
17804 old_striplib=$lt_old_striplib
17805 striplib=$lt_striplib
17808 # The linker used to build libraries.
17811 # Commands used to build an old-style archive.
17812 old_archive_cmds=$lt_old_archive_cmds
17814 # A language specific compiler.
17817 # Is the compiler the GNU compiler?
17820 # Compiler flag to turn off builtin functions.
17821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17823 # How to pass a linker flag through the compiler.
17824 wl=$lt_lt_prog_compiler_wl
17826 # Additional compiler flags for building library objects.
17827 pic_flag=$lt_lt_prog_compiler_pic
17829 # Compiler flag to prevent dynamic linking.
17830 link_static_flag=$lt_lt_prog_compiler_static
17832 # Does compiler simultaneously support -c and -o options?
17833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17835 # Whether or not to add -lc for building shared libraries.
17836 build_libtool_need_lc=$archive_cmds_need_lc
17838 # Whether or not to disallow shared libs when runtime libs are static.
17839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17841 # Compiler flag to allow reflexive dlopens.
17842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17844 # Compiler flag to generate shared objects directly from archives.
17845 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17847 # Whether the compiler copes with passing no objects directly.
17848 compiler_needs_object=$lt_compiler_needs_object
17850 # Create an old-style archive from a shared archive.
17851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17853 # Create a temporary old-style archive to link instead of a shared archive.
17854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17856 # Commands used to build a shared archive.
17857 archive_cmds=$lt_archive_cmds
17858 archive_expsym_cmds=$lt_archive_expsym_cmds
17860 # Commands used to build a loadable module if different from building
17861 # a shared archive.
17862 module_cmds=$lt_module_cmds
17863 module_expsym_cmds=$lt_module_expsym_cmds
17865 # Whether we are building with GNU ld or not.
17866 with_gnu_ld=$lt_with_gnu_ld
17868 # Flag that allows shared libraries with undefined symbols to be built.
17869 allow_undefined_flag=$lt_allow_undefined_flag
17871 # Flag that enforces no undefined symbols.
17872 no_undefined_flag=$lt_no_undefined_flag
17874 # Flag to hardcode \$libdir into a binary during linking.
17875 # This must work even if \$libdir does not exist
17876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17878 # If ld is used when linking, flag to hardcode \$libdir into a binary
17879 # during linking. This must work even if \$libdir does not exist.
17880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17882 # Whether we need a single "-rpath" flag with a separated argument.
17883 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17886 # DIR into the resulting binary.
17887 hardcode_direct=$hardcode_direct
17889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17890 # DIR into the resulting binary and the resulting library dependency is
17891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17892 # library is relocated.
17893 hardcode_direct_absolute=$hardcode_direct_absolute
17895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17896 # into the resulting binary.
17897 hardcode_minus_L=$hardcode_minus_L
17899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17900 # into the resulting binary.
17901 hardcode_shlibpath_var=$hardcode_shlibpath_var
17903 # Set to "yes" if building a shared library automatically hardcodes DIR
17904 # into the library and all subsequent libraries and executables linked
17906 hardcode_automatic=$hardcode_automatic
17908 # Set to yes if linker adds runtime paths of dependent libraries
17909 # to runtime path list.
17910 inherit_rpath=$inherit_rpath
17912 # Whether libtool must link a program against all its dependency libraries.
17913 link_all_deplibs=$link_all_deplibs
17915 # Fix the shell variable \$srcfile for the compiler.
17916 fix_srcfile_path=$lt_fix_srcfile_path
17918 # Set to "yes" if exported symbols are required.
17919 always_export_symbols=$always_export_symbols
17921 # The commands to list exported symbols.
17922 export_symbols_cmds=$lt_export_symbols_cmds
17924 # Symbols that should not be listed in the preloaded symbols.
17925 exclude_expsyms=$lt_exclude_expsyms
17927 # Symbols that must always be exported.
17928 include_expsyms=$lt_include_expsyms
17930 # Commands necessary for linking programs (against libraries) with templates.
17931 prelink_cmds=$lt_prelink_cmds
17933 # Specify filename containing input files.
17934 file_list_spec=$lt_file_list_spec
17936 # How to hardcode a shared library path into an executable.
17937 hardcode_action=$hardcode_action
17939 # The directories searched by this compiler when creating a shared library.
17940 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17942 # Dependencies to place before and after the objects being linked to
17943 # create a shared library.
17944 predep_objects=$lt_predep_objects
17945 postdep_objects=$lt_postdep_objects
17946 predeps=$lt_predeps
17947 postdeps=$lt_postdeps
17949 # The library search path used internally by the compiler when linking
17950 # a shared library.
17951 compiler_lib_search_path=$lt_compiler_lib_search_path
17953 # ### END LIBTOOL CONFIG
17959 cat <<\_LT_EOF >> "$cfgfile"
17960 # AIX sometimes has problems with the GCC collect2 program. For some
17961 # reason, if we set the COLLECT_NAMES environment variable, the problems
17962 # vanish in a puff of smoke.
17963 if test "X${COLLECT_NAMES+set}" != Xset; then
17965 export COLLECT_NAMES
17972 ltmain="$ac_aux_dir/ltmain.sh"
17975 # We use sed instead of cat because bash on DJGPP gets confused if
17976 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17977 # text mode, it properly converts lines to CR/LF. This bash problem
17978 # is reportedly fixed, but why not run on old versions too?
17979 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17980 || (rm -f "$cfgfile"; exit 1)
17984 cat << \_LT_EOF
>> "$cfgfile"
17986 # func_dirname file append nondir_replacement
17987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17988 # otherwise set result to NONDIR_REPLACEMENT.
17992 */*) func_dirname_result
="${1%/*}${2}" ;;
17993 * ) func_dirname_result
="${3}" ;;
17997 # func_basename file
18000 func_basename_result
="${1##*/}"
18003 # func_dirname_and_basename file append nondir_replacement
18004 # perform func_basename and func_dirname in a single function
18006 # dirname: Compute the dirname of FILE. If nonempty,
18007 # add APPEND to the result, otherwise set result
18008 # to NONDIR_REPLACEMENT.
18009 # value returned in "$func_dirname_result"
18010 # basename: Compute filename of FILE.
18011 # value retuned in "$func_basename_result"
18012 # Implementation must be kept synchronized with func_dirname
18013 # and func_basename. For efficiency, we do not delegate to
18014 # those functions but instead duplicate the functionality here.
18015 func_dirname_and_basename
()
18018 */*) func_dirname_result
="${1%/*}${2}" ;;
18019 * ) func_dirname_result
="${3}" ;;
18021 func_basename_result
="${1##*/}"
18024 # func_stripname prefix suffix name
18025 # strip PREFIX and SUFFIX off of NAME.
18026 # PREFIX and SUFFIX must not contain globbing or regex special
18027 # characters, hashes, percent signs, but SUFFIX may contain a leading
18028 # dot (in which case that matches only a dot).
18031 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18032 # positional parameters, so assign one to ordinary parameter first.
18033 func_stripname_result
=${3}
18034 func_stripname_result
=${func_stripname_result#"${1}"}
18035 func_stripname_result
=${func_stripname_result%"${2}"}
18041 func_opt_split_opt
=${1%%=*}
18042 func_opt_split_arg
=${1#*=}
18049 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18050 *) func_lo2o_result
=${1} ;;
18054 # func_xform libobj-or-source
18057 func_xform_result
=${1%.*}.lo
18060 # func_arith arithmetic-term...
18063 func_arith_result
=$(( $* ))
18067 # STRING may not start with a hyphen.
18070 func_len_result
=${#1}
18075 *) # Bourne compatible functions.
18076 cat << \_LT_EOF
>> "$cfgfile"
18078 # func_dirname file append nondir_replacement
18079 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18080 # otherwise set result to NONDIR_REPLACEMENT.
18083 # Extract subdirectory from the argument.
18084 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18085 if test "X$func_dirname_result" = "X${1}"; then
18086 func_dirname_result
="${3}"
18088 func_dirname_result
="$func_dirname_result${2}"
18092 # func_basename file
18095 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18099 # func_stripname prefix suffix name
18100 # strip PREFIX and SUFFIX off of NAME.
18101 # PREFIX and SUFFIX must not contain globbing or regex special
18102 # characters, hashes, percent signs, but SUFFIX may contain a leading
18103 # dot (in which case that matches only a dot).
18104 # func_strip_suffix prefix name
18108 .
*) func_stripname_result
=`$ECHO "X${3}" \
18109 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18110 *) func_stripname_result
=`$ECHO "X${3}" \
18111 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18116 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18117 my_sed_long_arg
='1s/^-[^=]*=//'
18122 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18123 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18129 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18132 # func_xform libobj-or-source
18135 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18138 # func_arith arithmetic-term...
18141 func_arith_result
=`expr "$@"`
18145 # STRING may not start with a hyphen.
18148 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18154 case $lt_shell_append in
18156 cat << \_LT_EOF
>> "$cfgfile"
18158 # func_append var value
18159 # Append VALUE to the end of shell variable VAR.
18167 cat << \_LT_EOF
>> "$cfgfile"
18169 # func_append var value
18170 # Append VALUE to the end of shell variable VAR.
18181 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18182 || (rm -f "$cfgfile"; exit 1)
18184 mv -f "$cfgfile" "$ofile" ||
18185 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18189 cat <<_LT_EOF >> "$ofile"
18191 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18193 # The linker used to build libraries.
18196 # Commands used to build an old-style archive.
18197 old_archive_cmds=$lt_old_archive_cmds_CXX
18199 # A language specific compiler.
18200 CC=$lt_compiler_CXX
18202 # Is the compiler the GNU compiler?
18205 # Compiler flag to turn off builtin functions.
18206 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18208 # How to pass a linker flag through the compiler.
18209 wl=$lt_lt_prog_compiler_wl_CXX
18211 # Additional compiler flags for building library objects.
18212 pic_flag=$lt_lt_prog_compiler_pic_CXX
18214 # Compiler flag to prevent dynamic linking.
18215 link_static_flag=$lt_lt_prog_compiler_static_CXX
18217 # Does compiler simultaneously support -c and -o options?
18218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18220 # Whether or not to add -lc for building shared libraries.
18221 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18223 # Whether or not to disallow shared libs when runtime libs are static.
18224 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18226 # Compiler flag to allow reflexive dlopens.
18227 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18229 # Compiler flag to generate shared objects directly from archives.
18230 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18232 # Whether the compiler copes with passing no objects directly.
18233 compiler_needs_object=$lt_compiler_needs_object_CXX
18235 # Create an old-style archive from a shared archive.
18236 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18238 # Create a temporary old-style archive to link instead of a shared archive.
18239 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18241 # Commands used to build a shared archive.
18242 archive_cmds=$lt_archive_cmds_CXX
18243 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18245 # Commands used to build a loadable module if different from building
18246 # a shared archive.
18247 module_cmds=$lt_module_cmds_CXX
18248 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18250 # Whether we are building with GNU ld or not.
18251 with_gnu_ld=$lt_with_gnu_ld_CXX
18253 # Flag that allows shared libraries with undefined symbols to be built.
18254 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18256 # Flag that enforces no undefined symbols.
18257 no_undefined_flag=$lt_no_undefined_flag_CXX
18259 # Flag to hardcode \$libdir into a binary during linking.
18260 # This must work even if \$libdir does not exist
18261 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18263 # If ld is used when linking, flag to hardcode \$libdir into a binary
18264 # during linking. This must work even if \$libdir does not exist.
18265 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18267 # Whether we need a single "-rpath" flag with a separated argument.
18268 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18270 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18271 # DIR into the resulting binary.
18272 hardcode_direct=$hardcode_direct_CXX
18274 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18275 # DIR into the resulting binary and the resulting library dependency is
18276 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18277 # library is relocated.
18278 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18280 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18281 # into the resulting binary.
18282 hardcode_minus_L=$hardcode_minus_L_CXX
18284 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18285 # into the resulting binary.
18286 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18288 # Set to "yes" if building a shared library automatically hardcodes DIR
18289 # into the library and all subsequent libraries and executables linked
18291 hardcode_automatic=$hardcode_automatic_CXX
18293 # Set to yes if linker adds runtime paths of dependent libraries
18294 # to runtime path list.
18295 inherit_rpath=$inherit_rpath_CXX
18297 # Whether libtool must link a program against all its dependency libraries.
18298 link_all_deplibs=$link_all_deplibs_CXX
18300 # Fix the shell variable \$srcfile for the compiler.
18301 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18303 # Set to "yes" if exported symbols are required.
18304 always_export_symbols=$always_export_symbols_CXX
18306 # The commands to list exported symbols.
18307 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18309 # Symbols that should not be listed in the preloaded symbols.
18310 exclude_expsyms=$lt_exclude_expsyms_CXX
18312 # Symbols that must always be exported.
18313 include_expsyms=$lt_include_expsyms_CXX
18315 # Commands necessary for linking programs (against libraries) with templates.
18316 prelink_cmds=$lt_prelink_cmds_CXX
18318 # Specify filename containing input files.
18319 file_list_spec=$lt_file_list_spec_CXX
18321 # How to hardcode a shared library path into an executable.
18322 hardcode_action=$hardcode_action_CXX
18324 # The directories searched by this compiler when creating a shared library.
18325 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18327 # Dependencies to place before and after the objects being linked to
18328 # create a shared library.
18329 predep_objects=$lt_predep_objects_CXX
18330 postdep_objects=$lt_postdep_objects_CXX
18331 predeps=$lt_predeps_CXX
18332 postdeps=$lt_postdeps_CXX
18334 # The library search path used internally by the compiler when linking
18335 # a shared library.
18336 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18338 # ### END LIBTOOL TAG CONFIG: CXX
18349 ac_clean_files
=$ac_clean_files_save
18351 test $ac_write_fail = 0 ||
18352 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18355 # configure is writing to config.log, and then calls config.status.
18356 # config.status does its own redirection, appending to config.log.
18357 # Unfortunately, on DOS this fails, as config.log is still kept open
18358 # by configure, so config.status won't be able to write to it; its
18359 # output is simply discarded. So we exec the FD to /dev/null,
18360 # effectively closing config.log, so it can be properly (re)opened and
18361 # appended to by config.status. When coming back to configure, we
18362 # need to make the FD available again.
18363 if test "$no_create" != yes; then
18365 ac_config_status_args
=
18366 test "$silent" = yes &&
18367 ac_config_status_args
="$ac_config_status_args --quiet"
18369 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18371 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18372 # would make configure fail if this is the last instruction.
18373 $ac_cs_success || as_fn_exit $?
18375 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18377 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}