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
902 program_transform_name
915 enable_option_checking
926 ac_precious_vars
='build_alias
950 # Initialize some variables set by options.
952 ac_init_version
=false
953 ac_unrecognized_opts
=
955 # The variables have the same names as the options, with
956 # dashes changed to underlines.
964 program_transform_name
=s
,x
,x
,
972 # Installation directory options.
973 # These are left unexpanded so users can "make install exec_prefix=/foo"
974 # and all the variables that are supposed to be based on exec_prefix
975 # by default will actually change.
976 # Use braces instead of parens because sh, perl, etc. also accept them.
977 # (The list follows the same order as the GNU Coding Standards.)
978 bindir
='${exec_prefix}/bin'
979 sbindir
='${exec_prefix}/sbin'
980 libexecdir
='${exec_prefix}/libexec'
981 datarootdir
='${prefix}/share'
982 datadir
='${datarootdir}'
983 sysconfdir
='${prefix}/etc'
984 sharedstatedir
='${prefix}/com'
985 localstatedir
='${prefix}/var'
986 includedir
='${prefix}/include'
987 oldincludedir
='/usr/include'
988 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
989 infodir
='${datarootdir}/info'
994 libdir
='${exec_prefix}/lib'
995 localedir
='${datarootdir}/locale'
996 mandir
='${datarootdir}/man'
1002 # If the previous option needs an argument, assign it.
1003 if test -n "$ac_prev"; then
1004 eval $ac_prev=\
$ac_option
1010 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 # Accept the important Cygnus configure options, so we can diagnose typos.
1016 case $ac_dashdash$ac_option in
1020 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1022 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1023 bindir
=$ac_optarg ;;
1025 -build | --build | --buil | --bui | --bu)
1026 ac_prev
=build_alias
;;
1027 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1028 build_alias
=$ac_optarg ;;
1030 -cache-file | --cache-file | --cache-fil | --cache-fi \
1031 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1032 ac_prev
=cache_file
;;
1033 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1034 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1035 cache_file
=$ac_optarg ;;
1037 --config-cache | -C)
1038 cache_file
=config.cache
;;
1040 -datadir | --datadir | --datadi | --datad)
1042 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1043 datadir
=$ac_optarg ;;
1045 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1046 | --dataroo | --dataro | --datar)
1047 ac_prev
=datarootdir
;;
1048 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1049 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1050 datarootdir
=$ac_optarg ;;
1052 -disable-* | --disable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error
"invalid feature name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=no
;;
1068 -docdir | --docdir | --docdi | --doc | --do)
1070 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1075 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* | --enable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error
"invalid feature name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "enable_
$ac_useropt"
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval enable_
$ac_useropt=\
$ac_optarg ;;
1094 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1095 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1096 | --exec | --exe | --ex)
1097 ac_prev
=exec_prefix
;;
1098 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1099 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1100 | --exec=* | --exe=* | --ex=*)
1101 exec_prefix
=$ac_optarg ;;
1103 -gas | --gas | --ga | --g)
1104 # Obsolete; use --with-gas.
1107 -help | --help | --hel | --he | -h)
1108 ac_init_help
=long
;;
1109 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1110 ac_init_help
=recursive
;;
1111 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1112 ac_init_help
=short
;;
1114 -host | --host | --hos | --ho)
1115 ac_prev
=host_alias
;;
1116 -host=* | --host=* | --hos=* | --ho=*)
1117 host_alias
=$ac_optarg ;;
1119 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1121 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1123 htmldir
=$ac_optarg ;;
1125 -includedir | --includedir | --includedi | --included | --include \
1126 | --includ | --inclu | --incl | --inc)
1127 ac_prev
=includedir
;;
1128 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1129 | --includ=* | --inclu=* | --incl=* | --inc=*)
1130 includedir
=$ac_optarg ;;
1132 -infodir | --infodir | --infodi | --infod | --info | --inf)
1134 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1135 infodir
=$ac_optarg ;;
1137 -libdir | --libdir | --libdi | --libd)
1139 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1140 libdir
=$ac_optarg ;;
1142 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1143 | --libexe | --libex | --libe)
1144 ac_prev
=libexecdir
;;
1145 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1146 | --libexe=* | --libex=* | --libe=*)
1147 libexecdir
=$ac_optarg ;;
1149 -localedir | --localedir | --localedi | --localed | --locale)
1150 ac_prev
=localedir
;;
1151 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1152 localedir
=$ac_optarg ;;
1154 -localstatedir | --localstatedir | --localstatedi | --localstated \
1155 | --localstate | --localstat | --localsta | --localst | --locals)
1156 ac_prev
=localstatedir
;;
1157 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1158 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1159 localstatedir
=$ac_optarg ;;
1161 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1163 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1164 mandir
=$ac_optarg ;;
1166 -nfp | --nfp | --nf)
1167 # Obsolete; use --without-fp.
1170 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1171 | --no-cr | --no-c | -n)
1174 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1175 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1178 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1179 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1180 | --oldin | --oldi | --old | --ol | --o)
1181 ac_prev
=oldincludedir
;;
1182 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1183 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1184 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1185 oldincludedir
=$ac_optarg ;;
1187 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1189 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1190 prefix
=$ac_optarg ;;
1192 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1193 | --program-pre | --program-pr | --program-p)
1194 ac_prev
=program_prefix
;;
1195 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1196 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1197 program_prefix
=$ac_optarg ;;
1199 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1200 | --program-suf | --program-su | --program-s)
1201 ac_prev
=program_suffix
;;
1202 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1203 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1204 program_suffix
=$ac_optarg ;;
1206 -program-transform-name | --program-transform-name \
1207 | --program-transform-nam | --program-transform-na \
1208 | --program-transform-n | --program-transform- \
1209 | --program-transform | --program-transfor \
1210 | --program-transfo | --program-transf \
1211 | --program-trans | --program-tran \
1212 | --progr-tra | --program-tr | --program-t)
1213 ac_prev
=program_transform_name
;;
1214 -program-transform-name=* | --program-transform-name=* \
1215 | --program-transform-nam=* | --program-transform-na=* \
1216 | --program-transform-n=* | --program-transform-=* \
1217 | --program-transform=* | --program-transfor=* \
1218 | --program-transfo=* | --program-transf=* \
1219 | --program-trans=* | --program-tran=* \
1220 | --progr-tra=* | --program-tr=* | --program-t=*)
1221 program_transform_name
=$ac_optarg ;;
1223 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1225 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1226 pdfdir
=$ac_optarg ;;
1228 -psdir | --psdir | --psdi | --psd | --ps)
1230 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1234 | -silent | --silent | --silen | --sile | --sil)
1237 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1239 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1241 sbindir
=$ac_optarg ;;
1243 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1244 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1245 | --sharedst | --shareds | --shared | --share | --shar \
1247 ac_prev
=sharedstatedir
;;
1248 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1249 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1250 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1252 sharedstatedir
=$ac_optarg ;;
1254 -site | --site | --sit)
1256 -site=* | --site=* | --sit=*)
1259 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1261 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1262 srcdir
=$ac_optarg ;;
1264 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1265 | --syscon | --sysco | --sysc | --sys | --sy)
1266 ac_prev
=sysconfdir
;;
1267 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1268 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1269 sysconfdir
=$ac_optarg ;;
1271 -target | --target | --targe | --targ | --tar | --ta | --t)
1272 ac_prev
=target_alias
;;
1273 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1274 target_alias
=$ac_optarg ;;
1276 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1279 -version | --version | --versio | --versi | --vers | -V)
1280 ac_init_version
=: ;;
1283 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1286 as_fn_error
"invalid package name: $ac_useropt"
1287 ac_useropt_orig
=$ac_useropt
1288 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=\
$ac_optarg ;;
1298 -without-* | --without-*)
1299 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1302 as_fn_error
"invalid package name: $ac_useropt"
1303 ac_useropt_orig
=$ac_useropt
1304 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1310 ac_unrecognized_sep
=', ';;
1312 eval with_
$ac_useropt=no
;;
1315 # Obsolete; use --with-x.
1318 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1319 | --x-incl | --x-inc | --x-in | --x-i)
1320 ac_prev
=x_includes
;;
1321 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1322 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1323 x_includes
=$ac_optarg ;;
1325 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1326 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1327 ac_prev
=x_libraries
;;
1328 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1329 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1330 x_libraries
=$ac_optarg ;;
1332 -*) as_fn_error
"unrecognized option: \`$ac_option'
1333 Try \`$0 --help' for more information."
1337 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1338 # Reject names that are not valid shell variable names.
1339 case $ac_envvar in #(
1340 '' | [0-9]* | *[!_$as_cr_alnum]* )
1341 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1343 eval $ac_envvar=\
$ac_optarg
1344 export $ac_envvar ;;
1347 # FIXME: should be removed in autoconf 3.0.
1348 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1349 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1350 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1351 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1357 if test -n "$ac_prev"; then
1358 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1359 as_fn_error
"missing argument to $ac_option"
1362 if test -n "$ac_unrecognized_opts"; then
1363 case $enable_option_checking in
1365 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1366 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1370 # Check all directory arguments for consistency.
1371 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1372 datadir sysconfdir sharedstatedir localstatedir includedir \
1373 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1374 libdir localedir mandir
1376 eval ac_val
=\$
$ac_var
1377 # Remove trailing slashes.
1380 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1381 eval $ac_var=\
$ac_val;;
1383 # Be sure to have absolute directory names.
1385 [\\/$
]* | ?
:[\\/]* ) continue;;
1386 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1388 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1391 # There might be people who depend on the old broken behavior: `$host'
1392 # used to hold the argument of --host etc.
1393 # FIXME: To remove some day.
1396 target
=$target_alias
1398 # FIXME: To remove some day.
1399 if test "x$host_alias" != x
; then
1400 if test "x$build_alias" = x
; then
1401 cross_compiling
=maybe
1402 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1403 If a cross compiler is detected then cross compile mode will be used." >&2
1404 elif test "x$build_alias" != "x$host_alias"; then
1410 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1412 test "$silent" = yes && exec 6>/dev
/null
1415 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1416 ac_ls_di
=`ls -di .` &&
1417 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1418 as_fn_error
"working directory cannot be determined"
1419 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1420 as_fn_error
"pwd does not report name of working directory"
1423 # Find the source files, if location was not specified.
1424 if test -z "$srcdir"; then
1425 ac_srcdir_defaulted
=yes
1426 # Try the directory containing this script, then the parent directory.
1427 ac_confdir
=`$as_dirname -- "$as_myself" ||
1428 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1429 X"$as_myself" : 'X\(//\)[^/]' \| \
1430 X"$as_myself" : 'X\(//\)$' \| \
1431 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1432 $as_echo X"$as_myself" |
1433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1451 if test ! -r "$srcdir/$ac_unique_file"; then
1455 ac_srcdir_defaulted
=no
1457 if test ! -r "$srcdir/$ac_unique_file"; then
1458 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1459 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1461 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1463 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1465 # When building in place, set srcdir=.
1466 if test "$ac_abs_confdir" = "$ac_pwd"; then
1469 # Remove unnecessary trailing slashes from srcdir.
1470 # Double slashes in file names in object file debugging info
1471 # mess up M-x gdb in Emacs.
1473 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1475 for ac_var
in $ac_precious_vars; do
1476 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1477 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1478 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1479 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1483 # Report the --help message.
1485 if test "$ac_init_help" = "long"; then
1486 # Omit some internal or obsolete options to make the list less imposing.
1487 # This message is too long to be a string in the A/UX 3.1 sh.
1489 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1491 Usage: $0 [OPTION]... [VAR=VALUE]...
1493 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1494 VAR=VALUE. See below for descriptions of some of the useful variables.
1496 Defaults for the options are specified in brackets.
1499 -h, --help display this help and exit
1500 --help=short display options specific to this package
1501 --help=recursive display the short help of all the included packages
1502 -V, --version display version information and exit
1503 -q, --quiet, --silent do not print \`checking...' messages
1504 --cache-file=FILE cache test results in FILE [disabled]
1505 -C, --config-cache alias for \`--cache-file=config.cache'
1506 -n, --no-create do not create output files
1507 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1509 Installation directories:
1510 --prefix=PREFIX install architecture-independent files in PREFIX
1511 [$ac_default_prefix]
1512 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1515 By default, \`make install' will install all the files in
1516 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1517 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1518 for instance \`--prefix=\$HOME'.
1520 For better control, use the options below.
1522 Fine tuning of the installation directories:
1523 --bindir=DIR user executables [EPREFIX/bin]
1524 --sbindir=DIR system admin executables [EPREFIX/sbin]
1525 --libexecdir=DIR program executables [EPREFIX/libexec]
1526 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1527 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1528 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1529 --libdir=DIR object code libraries [EPREFIX/lib]
1530 --includedir=DIR C header files [PREFIX/include]
1531 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1532 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1533 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1534 --infodir=DIR info documentation [DATAROOTDIR/info]
1535 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1536 --mandir=DIR man documentation [DATAROOTDIR/man]
1537 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1538 --htmldir=DIR html documentation [DOCDIR]
1539 --dvidir=DIR dvi documentation [DOCDIR]
1540 --pdfdir=DIR pdf documentation [DOCDIR]
1541 --psdir=DIR ps documentation [DOCDIR]
1547 --build=BUILD configure
for building on BUILD
[guessed
]
1548 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1552 if test -n "$ac_init_help"; then
1553 case $ac_init_help in
1554 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1559 --disable-option-checking ignore unrecognized
--enable/--with options
1560 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1561 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1562 --enable-static[=PKGS
] build static libraries
[default
=no
]
1563 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1564 --enable-fast-install[=PKGS
]
1565 optimize
for fast installation
[default
=yes]
1566 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1567 --disable-rpath do not hardcode runtime library paths
1570 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1571 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1572 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1574 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1575 --with-apr=PATH prefix
for installed APR or the full path to
1577 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1578 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1579 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1581 Some influential environment variables:
1582 CC C compiler command
1583 CFLAGS C compiler flags
1584 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1585 nonstandard directory <lib dir>
1586 LIBS libraries to pass to the linker, e.g. -l<library>
1587 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1588 you have headers in a nonstandard directory <include dir>
1590 PKG_CONFIG path to pkg-config utility
1591 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1592 the first program found out of
: `bison -y', `byacc
', `yacc'.
1593 YFLAGS The list of arguments that will be passed by default to
$YACC.
1594 This
script will default YFLAGS to the empty string to avoid a
1595 default value of
`-d' given by some make applications.
1596 CXX C++ compiler command
1597 CXXFLAGS C++ compiler flags
1598 CXXCPP C++ preprocessor
1600 C compiler flags for WEBKIT, overriding pkg-config
1601 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1603 C compiler flags for LIBFFI, overriding pkg-config
1604 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1605 OBJCXX Objective C++ compiler command
1606 OBJCXXFLAGS Objective C++ compiler flags
1608 Use these variables to override the choices made by `configure
' or to help
1609 it to find libraries and programs with nonstandard names/locations.
1611 Report bugs to <saurik@saurik.com>.
1612 Cycript home page: <http://www.cycript.org/>.
1617 if test "$ac_init_help" = "recursive"; then
1618 # If there are subdirs, report their specific --help.
1619 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1620 test -d "$ac_dir" ||
1621 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1626 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1629 # A ".." for each directory in $ac_dir_suffix.
1630 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1631 case $ac_top_builddir_sub in
1632 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 ac_abs_top_builddir=$ac_pwd
1637 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1638 # for backward compatibility:
1639 ac_top_builddir=$ac_top_build_prefix
1642 .) # We are building in place.
1644 ac_top_srcdir=$ac_top_builddir_sub
1645 ac_abs_top_srcdir=$ac_pwd ;;
1646 [\\/]* | ?:[\\/]* ) # Absolute name.
1647 ac_srcdir=$srcdir$ac_dir_suffix;
1648 ac_top_srcdir=$srcdir
1649 ac_abs_top_srcdir=$srcdir ;;
1651 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1652 ac_top_srcdir=$ac_top_build_prefix$srcdir
1653 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1655 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1657 cd "$ac_dir" || { ac_status=$?; continue; }
1658 # Check for guested configure.
1659 if test -f "$ac_srcdir/configure.gnu"; then
1661 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1662 elif test -f "$ac_srcdir/configure"; then
1664 $SHELL "$ac_srcdir/configure" --help=recursive
1666 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1668 cd "$ac_pwd" || { ac_status=$?; break; }
1672 test -n "$ac_init_help" && exit $ac_status
1673 if $ac_init_version; then
1675 Cycript configure 0.9
1676 generated by GNU Autoconf 2.65
1678 Copyright (C) 2009 Free Software Foundation, Inc.
1679 This configure script is free software; the Free Software Foundation
1680 gives unlimited permission to copy, distribute and modify it.
1685 ## ------------------------ ##
1686 ## Autoconf initialization. ##
1687 ## ------------------------ ##
1689 # ac_fn_c_try_compile LINENO
1690 # --------------------------
1691 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1692 ac_fn_c_try_compile ()
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext
1696 if { { ac_try="$ac_compile"
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_compile") 2>conftest.err
1705 if test -s conftest.err; then
1706 grep -v '^
*+' conftest.err >conftest.er1
1707 cat conftest.er1 >&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest.$ac_objext; then :
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's
/^
/| /' conftest.$ac_ext >&5
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1723 as_fn_set_status $ac_retval
1725 } # ac_fn_c_try_compile
1727 # ac_fn_c_try_link LINENO
1728 # -----------------------
1729 # Try to link conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 rm -f conftest.$ac_objext conftest$ac_exeext
1734 if { { ac_try="$ac_link"
1736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737 *) ac_try_echo=$ac_try;;
1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740 $as_echo "$ac_try_echo"; } >&5
1741 (eval "$ac_link") 2>conftest.err
1743 if test -s conftest.err; then
1744 grep -v '^
*+' conftest.err >conftest.er1
1745 cat conftest.er1 >&5
1746 mv -f conftest.er1 conftest.err
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && {
1750 test -z "$ac_c_werror_flag" ||
1751 test ! -s conftest.err
1752 } && test -s conftest$ac_exeext && {
1753 test "$cross_compiling" = yes ||
1754 $as_test_x conftest$ac_exeext
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's
/^
/| /' conftest.$ac_ext >&5
1763 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1764 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1765 # interfere with the next link command; also delete a directory that is
1766 # left behind by Apple's compiler. We
do this before executing the actions.
1767 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1768 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1769 as_fn_set_status
$ac_retval
1771 } # ac_fn_c_try_link
1773 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1774 # -------------------------------------------------------
1775 # Tests whether HEADER exists and can be compiled using the include files in
1776 # INCLUDES, setting the cache variable VAR accordingly.
1777 ac_fn_c_check_header_compile
()
1779 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1790 if ac_fn_c_try_compile
"$LINENO"; then :
1795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1802 } # ac_fn_c_check_header_compile
1804 # ac_fn_c_try_cpp LINENO
1805 # ----------------------
1806 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1809 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1810 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1819 if test -s conftest.err; then
1820 grep -v '^ *+' conftest.err >conftest.er1
1821 cat conftest.er1 >&5
1822 mv -f conftest.er1 conftest.err
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } >/dev/null && {
1826 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1827 test ! -s conftest.err
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.$ac_ext >&5
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 as_fn_set_status $ac_retval
1841 # ac_fn_c_try_run LINENO
1842 # ----------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1844 # that executables *can* be run.
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 if { { ac_try="$ac_link"
1850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1851 *) ac_try_echo
=$ac_try;;
1853 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>&5
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1859 { { case "(($ac_try" in
1860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_try") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; }; }; then :
1871 $as_echo "$as_me: program exited with status $ac_status" >&5
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1875 ac_retval=$ac_status
1877 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 as_fn_set_status $ac_retval
1883 # ac_fn_c_check_func LINENO FUNC VAR
1884 # ----------------------------------
1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1886 ac_fn_c_check_func ()
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1890 $as_echo_n "checking for $2... " >&6; }
1891 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1898 #define $2 innocuous_$2
1900 /* System header to define __stub macros and hopefully few prototypes,
1901 which can conflict with char $2 (); below.
1902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1903 <limits.h> exists even on freestanding compilers. */
1906 # include <limits.h>
1908 # include <assert.h>
1913 /* Override any GCC internal prototype to avoid an error.
1914 Use char because int might match the return type of a GCC
1915 builtin and then its argument prototype would still apply. */
1920 /* The GNU C library defines this for functions which it implements
1921 to always fail with ENOSYS. Some functions are actually named
1922 something starting with __ and the normal name is an alias. */
1923 #if defined __stub_$2 || defined __stub___$2
1935 if ac_fn_c_try_link "$LINENO"; then :
1940 rm -f core conftest.err conftest.$ac_objext \
1941 conftest$ac_exeext conftest.$ac_ext
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1945 $as_echo "$ac_res" >&6; }
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1948 } # ac_fn_c_check_func
1950 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1951 # -------------------------------------------------------
1952 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1953 # the include files in INCLUDES and setting the cache variable VAR
1955 ac_fn_c_check_header_mongrel ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1960 $as_echo_n "checking for $2... " >&6; }
1961 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1962 $as_echo_n "(cached) " >&6
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1968 # Is the header compilable?
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1970 $as_echo_n "checking $2 usability... " >&6; }
1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1976 if ac_fn_c_try_compile "$LINENO"; then :
1977 ac_header_compiler=yes
1979 ac_header_compiler=no
1981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1983 $as_echo "$ac_header_compiler" >&6; }
1985 # Is the header present?
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1987 $as_echo_n "checking $2 presence... " >&6; }
1988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
1992 if ac_fn_c_try_cpp "$LINENO"; then :
1993 ac_header_preproc=yes
1995 ac_header_preproc=no
1997 rm -f conftest.err conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1999 $as_echo "$ac_header_preproc" >&6; }
2001 # So? What about this header?
2002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2005 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2011 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2013 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2015 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2017 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2019 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2021 ## -------------------------------- ##
2022 ## Report this to saurik@saurik.com ##
2023 ## -------------------------------- ##
2025 ) | sed "s/^/$as_me: WARNING: /" >&2
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029 $as_echo_n "checking for $2... " >&6; }
2030 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031 $as_echo_n "(cached) " >&6
2033 eval "$3=\$ac_header_compiler"
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037 $as_echo "$ac_res" >&6; }
2039 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2041 } # ac_fn_c_check_header_mongrel
2043 # ac_fn_cxx_try_compile LINENO
2044 # ----------------------------
2045 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2046 ac_fn_cxx_try_compile ()
2048 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2049 rm -f conftest.$ac_objext
2050 if { { ac_try="$ac_compile"
2052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2053 *) ac_try_echo
=$ac_try;;
2055 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_compile") 2>conftest.err
2059 if test -s conftest.err
; then
2060 grep -v '^ *+' conftest.err
>conftest.er1
2061 cat conftest.er1
>&5
2062 mv -f conftest.er1 conftest.err
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && {
2066 test -z "$ac_cxx_werror_flag" ||
2067 test ! -s conftest.err
2068 } && test -s conftest.
$ac_objext; then :
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2076 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2077 as_fn_set_status
$ac_retval
2079 } # ac_fn_cxx_try_compile
2081 # ac_fn_cxx_try_cpp LINENO
2082 # ------------------------
2083 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2084 ac_fn_cxx_try_cpp
()
2086 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2087 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2090 *) ac_try_echo=$ac_try;;
2092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2093 $as_echo "$ac_try_echo"; } >&5
2094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2096 if test -s conftest.err; then
2097 grep -v '^ *+' conftest.err >conftest.er1
2098 cat conftest.er1 >&5
2099 mv -f conftest.er1 conftest.err
2101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2102 test $ac_status = 0; } >/dev/null && {
2103 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2104 test ! -s conftest.err
2108 $as_echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.$ac_ext >&5
2113 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2114 as_fn_set_status $ac_retval
2116 } # ac_fn_cxx_try_cpp
2118 # ac_fn_cxx_try_link LINENO
2119 # -------------------------
2120 # Try to link conftest.$ac_ext, and return whether this succeeded.
2121 ac_fn_cxx_try_link ()
2123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2124 rm -f conftest.$ac_objext conftest$ac_exeext
2125 if { { ac_try="$ac_link"
2127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2128 *) ac_try_echo
=$ac_try;;
2130 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132 (eval "$ac_link") 2>conftest.err
2134 if test -s conftest.err
; then
2135 grep -v '^ *+' conftest.err
>conftest.er1
2136 cat conftest.er1
>&5
2137 mv -f conftest.er1 conftest.err
2139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2140 test $ac_status = 0; } && {
2141 test -z "$ac_cxx_werror_flag" ||
2142 test ! -s conftest.err
2143 } && test -s conftest
$ac_exeext && {
2144 test "$cross_compiling" = yes ||
2145 $as_test_x conftest
$ac_exeext
2149 $as_echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.
$ac_ext >&5
2154 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2155 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2156 # interfere with the next link command; also delete a directory that is
2157 # left behind by Apple's compiler. We do this before executing the actions.
2158 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2160 as_fn_set_status
$ac_retval
2162 } # ac_fn_cxx_try_link
2164 # ac_fn_objcxx_try_compile LINENO
2165 # -------------------------------
2166 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2167 ac_fn_objcxx_try_compile
()
2169 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2170 rm -f conftest.
$ac_objext
2171 if { { ac_try
="$ac_compile"
2173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2174 *) ac_try_echo=$ac_try;;
2176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2177 $as_echo "$ac_try_echo"; } >&5
2178 (eval "$ac_compile") 2>conftest.err
2180 if test -s conftest.err; then
2181 grep -v '^ *+' conftest.err >conftest.er1
2182 cat conftest.er1 >&5
2183 mv -f conftest.er1 conftest.err
2185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2186 test $ac_status = 0; } && {
2187 test -z "$ac_objcxx_werror_flag" ||
2188 test ! -s conftest.err
2189 } && test -s conftest.$ac_objext; then :
2192 $as_echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.$ac_ext >&5
2197 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2198 as_fn_set_status $ac_retval
2200 } # ac_fn_objcxx_try_compile
2201 cat >config.log <<_ACEOF
2202 This file contains any messages produced by compilers while
2203 running configure, to aid debugging if configure makes a mistake.
2205 It was created by Cycript $as_me 0.9, which was
2206 generated by GNU Autoconf 2.65. Invocation command line was
2218 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2219 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2220 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2221 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2222 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2224 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2225 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2227 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2228 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2229 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2230 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2231 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2232 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2233 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir=.
2242 $as_echo "PATH: $as_dir"
2258 # Keep a trace of the command line.
2259 # Strip out --no-create and --no-recursion so they do not pile up.
2260 # Strip out --silent because we don't want to record it for future runs.
2261 # Also quote any args containing shell meta-characters.
2262 # Make two passes to allow for proper duplicate-argument suppression.
2266 ac_must_keep_next=false
2272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274 | -silent | --silent | --silen | --sile | --sil)
2277 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2282 as_fn_append ac_configure_args1 " '$ac_arg'"
2283 if test $ac_must_keep_next = true; then
2284 ac_must_keep_next=false # Got value, back to normal.
2287 *=* | --config-cache | -C | -disable-* | --disable-* \
2288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2290 | -with-* | --with-* | -without-* | --without-* | --x)
2291 case "$ac_configure_args0 " in
2292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2295 -* ) ac_must_keep_next=true ;;
2298 as_fn_append ac_configure_args " '$ac_arg'"
2303 { ac_configure_args0=; unset ac_configure_args0;}
2304 { ac_configure_args1=; unset ac_configure_args1;}
2306 # When interrupted or exit'd, cleanup temporary files, and complete
2307 # config.log. We remove comments because anyway the quotes in there
2308 # would cause problems or look ugly.
2309 # WARNING: Use '\'' to represent an apostrophe within the trap.
2310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2311 trap 'exit_status=$?
2312 # Save into config.log some information that might help in debugging.
2317 ## ---------------- ##
2318 ## Cache variables. ##
2319 ## ---------------- ##
2322 # The following way of writing the cache mishandles newlines in values,
2324 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2325 eval ac_val=\$$ac_var
2329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333 _ | IFS | as_nl) ;; #(
2334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2335 *) { eval $ac_var=; unset $ac_var;} ;;
2340 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2341 *${as_nl}ac_space=\ *)
2343 "s/'\''/'\''\\\\'\'''\''/g;
2344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2355 ## ----------------- ##
2356 ## Output variables. ##
2357 ## ----------------- ##
2360 for ac_var in $ac_subst_vars
2362 eval ac_val=\$$ac_var
2364 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2370 if test -n "$ac_subst_files"; then
2372 ## ------------------- ##
2373 ## File substitutions. ##
2374 ## ------------------- ##
2377 for ac_var in $ac_subst_files
2379 eval ac_val=\$$ac_var
2381 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383 $as_echo "$ac_var='\''$ac_val'\''"
2388 if test -s confdefs.h; then
2398 test "$ac_signal" != 0 &&
2399 $as_echo "$as_me: caught signal $ac_signal"
2400 $as_echo "$as_me: exit $exit_status"
2402 rm -f core *.core core.conftest.* &&
2403 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2406 for ac_signal in 1 2 13 15; do
2407 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2411 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2412 rm -f -r conftest* confdefs.h
2414 $as_echo "/* confdefs.h */" > confdefs.h
2416 # Predefined preprocessor variables.
2418 cat >>confdefs.h <<_ACEOF
2419 #define PACKAGE_NAME "$PACKAGE_NAME"
2422 cat >>confdefs.h <<_ACEOF
2423 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2426 cat >>confdefs.h <<_ACEOF
2427 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2430 cat >>confdefs.h <<_ACEOF
2431 #define PACKAGE_STRING "$PACKAGE_STRING"
2434 cat >>confdefs.h <<_ACEOF
2435 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2438 cat >>confdefs.h <<_ACEOF
2439 #define PACKAGE_URL "$PACKAGE_URL"
2443 # Let the site file select an alternate cache file if it wants to.
2444 # Prefer an explicitly selected file to automatically selected ones.
2447 if test -n "$CONFIG_SITE"; then
2448 ac_site_file1=$CONFIG_SITE
2449 elif test "x$prefix" != xNONE; then
2450 ac_site_file1=$prefix/share/config.site
2451 ac_site_file2=$prefix/etc/config.site
2453 ac_site_file1=$ac_default_prefix/share/config.site
2454 ac_site_file2=$ac_default_prefix/etc/config.site
2456 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2458 test "x$ac_site_file" = xNONE && continue
2459 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2461 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2462 sed 's/^/| /' "$ac_site_file" >&5
2467 if test -r "$cache_file"; then
2468 # Some versions of bash will fail to source /dev/null (special files
2469 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2470 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2472 $as_echo "$as_me: loading cache $cache_file" >&6;}
2474 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2475 *) . "./$cache_file";;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2480 $as_echo "$as_me: creating cache $cache_file" >&6;}
2484 # Check that the precious variables saved in the cache have kept the same
2486 ac_cache_corrupted=false
2487 for ac_var in $ac_precious_vars; do
2488 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2489 eval ac_new_set=\$ac_env_${ac_var}_set
2490 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2491 eval ac_new_val=\$ac_env_${ac_var}_value
2492 case $ac_old_set,$ac_new_set in
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2495 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2496 ac_cache_corrupted=: ;;
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2499 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2500 ac_cache_corrupted=: ;;
2503 if test "x$ac_old_val" != "x$ac_new_val"; then
2504 # differences in whitespace do not lead to failure.
2505 ac_old_val_w=`echo x
$ac_old_val`
2506 ac_new_val_w=`echo x
$ac_new_val`
2507 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2509 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2510 ac_cache_corrupted=:
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2513 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2514 eval $ac_var=\$ac_old_val
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2517 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2519 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2522 # Pass precious variables to config.status.
2523 if test "$ac_new_set" = set; then
2525 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2526 *) ac_arg=$ac_var=$ac_new_val ;;
2528 case " $ac_configure_args " in
2529 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2530 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2534 if $ac_cache_corrupted; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2538 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2539 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2541 ## -------------------- ##
2542 ## Main body of script. ##
2543 ## -------------------- ##
2546 ac_cpp='$CPP $CPPFLAGS'
2547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2554 for ac_dir in . "$srcdir"/.; do
2555 for ac_t in install-sh install.sh shtool; do
2556 if test -f "$ac_dir/$ac_t"; then
2558 ac_install_sh="$ac_aux_dir/$ac_t -c"
2563 if test -z "$ac_aux_dir"; then
2564 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2567 # These three variables are undocumented and unsupported,
2568 # and are intended to be withdrawn in a future Autoconf release.
2569 # They can cause serious problems if a builder's source tree is in a directory
2570 # whose full name contains unusual characters.
2571 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2572 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2573 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2579 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2584 macro_version='2.2.6b'
2585 macro_revision='1.3017'
2599 ltmain="$ac_aux_dir/ltmain.sh"
2601 # Make sure we can run config.sub.
2602 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2603 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2606 $as_echo_n "checking build system type... " >&6; }
2607 if test "${ac_cv_build+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 ac_build_alias=$build_alias
2611 test "x$ac_build_alias" = x &&
2612 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2613 test "x$ac_build_alias" = x &&
2614 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2615 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2616 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2620 $as_echo "$ac_cv_build" >&6; }
2621 case $ac_cv_build in
2623 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2626 ac_save_IFS=$IFS; IFS='-'
2632 # Remember, the first character of IFS is used to create $*,
2633 # except with old shells:
2636 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2640 $as_echo_n "checking host system type... " >&6; }
2641 if test "${ac_cv_host+set}" = set; then :
2642 $as_echo_n "(cached) " >&6
2644 if test "x$host_alias" = x; then
2645 ac_cv_host=$ac_cv_build
2647 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2648 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2653 $as_echo "$ac_cv_host" >&6; }
2656 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2659 ac_save_IFS=$IFS; IFS='-'
2665 # Remember, the first character of IFS is used to create $*,
2666 # except with old shells:
2669 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2673 ac_cpp='$CPP $CPPFLAGS'
2674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2679 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_CC+set}" = set; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$CC"; then
2686 ac_cv_prog_CC="$CC" # Let the user override the test.
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir=.
2693 for ac_exec_ext in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$CC"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2708 $as_echo "$CC" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_CC"; then
2718 # Extract the first word of "gcc", so it can be a program name with args.
2719 set dummy gcc; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_CC"; then
2726 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_CC="gcc"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2746 if test -n "$ac_ct_CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2748 $as_echo "$ac_ct_CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_CC" = x; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned=yes ;;
2769 if test -z "$CC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2772 set dummy ${ac_tool_prefix}cc; ac_word=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if test "${ac_cv_prog_CC+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC="$CC" # Let the user override the test.
2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir=.
2786 for ac_exec_ext in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_CC="${ac_tool_prefix}cc"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$CC"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2801 $as_echo "$CC" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2810 if test -z "$CC"; then
2811 # Extract the first word of "cc", so it can be a program name with args.
2812 set dummy cc; ac_word=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if test "${ac_cv_prog_CC+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$CC"; then
2819 ac_cv_prog_CC="$CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2830 ac_prog_rejected=yes
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test $ac_prog_rejected = yes; then
2842 # We found a bogon in the path, so make sure we never use it.
2843 set dummy $ac_cv_prog_CC
2845 if test $# != 0; then
2846 # We chose a different compiler from the bogus one.
2847 # However, it has the same basename, so the bogon will be chosen
2848 # first if we set CC to just the basename; use the full file name.
2850 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2856 if test -n "$CC"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2858 $as_echo "$CC" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 for ac_prog in cl.exe
2870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if test "${ac_cv_prog_CC+set}" = set; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC="$CC" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test -n "$CC"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900 $as_echo "$CC" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2907 test -n "$CC" && break
2910 if test -z "$CC"; then
2912 for ac_prog in cl.exe
2914 # Extract the first word of "$ac_prog", so it can be a program name with args.
2915 set dummy $ac_prog; ac_word=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$ac_ct_CC"; then
2922 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir=.
2929 for ac_exec_ext in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 ac_cv_prog_ac_ct_CC="$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2942 if test -n "$ac_ct_CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2944 $as_echo "$ac_ct_CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$ac_ct_CC" && break
2954 if test "x$ac_ct_CC" = x; then
2957 case $cross_compiling:$ac_tool_warned in
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2961 ac_tool_warned=yes ;;
2970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972 as_fn_error "no acceptable C compiler found
in \
$PATH
2973 See \
`config.log' for more details." "$LINENO" 5; }
2975 # Provide some information about the compiler.
2976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2979 for ac_option in --version -v -V -qversion; do
2980 { { ac_try="$ac_compiler $ac_option >&5"
2982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2983 *) ac_try_echo
=$ac_try;;
2985 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2989 if test -s conftest.err
; then
2991 ... rest of stderr output deleted ...
2992 10q' conftest.err
>conftest.er1
2993 cat conftest.er1
>&5
2995 rm -f conftest.er1 conftest.err
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; }
3000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3011 ac_clean_files_save
=$ac_clean_files
3012 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3013 # Try to create an executable without -o first, disregard a.out.
3014 # It will help us diagnose broken compilers, and finding out an intuition
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3017 $as_echo_n "checking whether the C compiler works... " >&6; }
3018 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3020 # The possible output files:
3021 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3024 for ac_file
in $ac_files
3027 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3028 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3033 if { { ac_try
="$ac_link_default"
3035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_link_default") 2>&5
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; }; then :
3044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3045 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3046 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3047 # so that the user can short-circuit this test for compilers unknown to
3049 for ac_file in $ac_files ''
3051 test -f "$ac_file" || continue
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3056 # We found the default executable, but exeext='' is most
3060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3062 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 # We set ac_cv_exeext here because the later test for it is not
3065 # safe: cross compilers may not add the suffix if given an `-o'
3066 # argument, so we may need to know it at that point already.
3067 # Even if this section looks crufty: it has the advantage of
3074 test "$ac_cv_exeext" = no && ac_cv_exeext=
3079 if test -z "$ac_file"; then :
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 $as_echo "$as_me: failed program was:" >&5
3083 sed 's
/^
/| /' conftest.$ac_ext >&5
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3087 { as_fn_set_status 77
3088 as_fn_error "C compiler cannot create executables
3089 See \`config.log
' for more details." "$LINENO" 5; }; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3092 $as_echo "yes" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3095 $as_echo_n "checking for C compiler default output file name... " >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3097 $as_echo "$ac_file" >&6; }
3098 ac_exeext=$ac_cv_exeext
3100 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3101 ac_clean_files=$ac_clean_files_save
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3103 $as_echo_n "checking for suffix of executables... " >&6; }
3104 if { { ac_try="$ac_link"
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }; then :
3115 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3116 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3117 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3119 for ac_file
in conftest.exe conftest conftest.
*; do
3120 test -f "$ac_file" || continue
3122 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3123 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3132 See \`config.log' for more details." "$LINENO" 5; }
3134 rm -f conftest conftest
$ac_cv_exeext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3136 $as_echo "$ac_cv_exeext" >&6; }
3138 rm -f conftest.
$ac_ext
3139 EXEEXT
=$ac_cv_exeext
3141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3147 FILE *f = fopen ("conftest.out", "w");
3148 return ferror (f) || fclose (f) != 0;
3154 ac_clean_files
="$ac_clean_files conftest.out"
3155 # Check that the compiler produces executables we can run. If not, either
3156 # the compiler is broken, or we cross compile.
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3158 $as_echo_n "checking whether we are cross compiling... " >&6; }
3159 if test "$cross_compiling" != yes; then
3160 { { ac_try
="$ac_link"
3162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_link") 2>&5
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; }
3171 if { ac_try='./conftest$ac_cv_exeext'
3172 { { case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3174 *) ac_try_echo
=$ac_try;;
3176 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_try") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; }; then
3184 if test "$cross_compiling" = maybe
; then
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error
"cannot run C compiled programs.
3190 If you meant to cross compile, use \`--host'.
3191 See \`config.log' for more details." "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3196 $as_echo "$cross_compiling" >&6; }
3198 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3199 ac_clean_files
=$ac_clean_files_save
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3201 $as_echo_n "checking for suffix of object files... " >&6; }
3202 if test "${ac_cv_objext+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3216 rm -f conftest.o conftest.obj
3217 if { { ac_try
="$ac_compile"
3219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_compile") 2>&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }; then :
3228 for ac_file in conftest.o conftest.obj conftest.*; do
3229 test -f "$ac_file" || continue;
3231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3232 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242 as_fn_error "cannot compute suffix of object files
: cannot compile
3243 See \
`config.log' for more details." "$LINENO" 5; }
3245 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3248 $as_echo "$ac_cv_objext" >&6; }
3249 OBJEXT=$ac_cv_objext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3252 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3253 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3270 if ac_fn_c_try_compile "$LINENO"; then :
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3280 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3281 if test $ac_compiler_gnu = yes; then
3286 ac_test_CFLAGS=${CFLAGS+set}
3287 ac_save_CFLAGS=$CFLAGS
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3289 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3290 if test "${ac_cv_prog_cc_g+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3293 ac_save_c_werror_flag=$ac_c_werror_flag
3294 ac_c_werror_flag=yes
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3308 if ac_fn_c_try_compile "$LINENO"; then :
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3326 ac_c_werror_flag=$ac_save_c_werror_flag
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3339 if ac_fn_c_try_compile "$LINENO"; then :
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 ac_c_werror_flag=$ac_save_c_werror_flag
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3350 $as_echo "$ac_cv_prog_cc_g" >&6; }
3351 if test "$ac_test_CFLAGS" = set; then
3352 CFLAGS=$ac_save_CFLAGS
3353 elif test $ac_cv_prog_cc_g = yes; then
3354 if test "$GCC" = yes; then
3360 if test "$GCC" = yes; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3367 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3368 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3369 $as_echo_n "(cached) " >&6
3371 ac_cv_prog_cc_c89=no
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 #include <sys/types.h>
3378 #include <sys/stat.h>
3379 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3380 struct buf { int x; };
3381 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3382 static char *e (p, i)
3388 static char *f (char * (*g) (char **, int), char **p, ...)
3393 s = g (p, va_arg (v,int));
3398 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3399 function prototypes and stuff, but not '\xHH' hex character constants.
3400 These don't provoke an error unfortunately, instead are silently treated
3401 as 'x'. The following induces an error, until -std is added to get
3402 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3403 array size at least. It's necessary to write '\x00'==0 to get something
3404 that's true only with -std. */
3405 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3407 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3408 inside strings and character constants. */
3410 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3412 int test (int i, double x);
3413 struct s1 {int (*f) (int a);};
3414 struct s2 {int (*f) (double a);};
3415 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3421 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3426 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3427 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3429 CC="$ac_save_CC $ac_arg"
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 ac_cv_prog_cc_c89=$ac_arg
3433 rm -f core conftest.err conftest.$ac_objext
3434 test "x$ac_cv_prog_cc_c89" != "xno" && break
3436 rm -f conftest.$ac_ext
3441 case "x$ac_cv_prog_cc_c89" in
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3444 $as_echo "none needed" >&6; } ;;
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3447 $as_echo "unsupported" >&6; } ;;
3449 CC="$CC $ac_cv_prog_cc_c89"
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3451 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3453 if test "x$ac_cv_prog_cc_c89" != xno; then :
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3464 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3465 if test "${ac_cv_path_SED+set}" = set; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3469 for ac_i in 1 2 3 4 5 6 7; do
3470 ac_script="$ac_script$as_nl$ac_script"
3472 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3473 { ac_script=; unset ac_script;}
3474 if test -z "$SED"; then
3475 ac_path_SED_found=false
3476 # Loop through the user's path and test for each of PROGNAME-LIST
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_prog in sed gsed; do
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3485 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3486 # Check for GNU ac_path_SED and select it if it is found.
3487 # Check for GNU $ac_path_SED
3488 case `"$ac_path_SED" --version 2>&1` in
3490 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3493 $as_echo_n 0123456789 >"conftest.in"
3496 cat "conftest.in" "conftest.in" >"conftest.tmp"
3497 mv "conftest.tmp" "conftest.in"
3498 cp "conftest.in" "conftest.nl"
3499 $as_echo '' >> "conftest.nl"
3500 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3502 as_fn_arith $ac_count + 1 && ac_count=$as_val
3503 if test $ac_count -gt ${ac_path_SED_max-0}; then
3504 # Best one so far, save it but keep looking for a better one
3505 ac_cv_path_SED="$ac_path_SED"
3506 ac_path_SED_max=$ac_count
3508 # 10*(2^10) chars as input seems more than enough
3509 test $ac_count -gt 10 && break
3511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3514 $ac_path_SED_found && break 3
3519 if test -z "$ac_cv_path_SED"; then
3520 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3528 $as_echo "$ac_cv_path_SED" >&6; }
3529 SED="$ac_cv_path_SED"
3532 test -z "$SED" && SED=sed
3533 Xsed="$SED -e 1s/^X//"
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3546 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3547 if test "${ac_cv_path_GREP+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -z "$GREP"; then
3551 ac_path_GREP_found=false
3552 # Loop through the user's path and test for each of PROGNAME-LIST
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3557 test -z "$as_dir" && as_dir=.
3558 for ac_prog in grep ggrep; do
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3561 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3562 # Check for GNU ac_path_GREP and select it if it is found.
3563 # Check for GNU $ac_path_GREP
3564 case `"$ac_path_GREP" --version 2>&1` in
3566 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3569 $as_echo_n 0123456789 >"conftest.in"
3572 cat "conftest.in" "conftest.in" >"conftest.tmp"
3573 mv "conftest.tmp" "conftest.in"
3574 cp "conftest.in" "conftest.nl"
3575 $as_echo 'GREP' >> "conftest.nl"
3576 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3578 as_fn_arith $ac_count + 1 && ac_count=$as_val
3579 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3580 # Best one so far, save it but keep looking for a better one
3581 ac_cv_path_GREP="$ac_path_GREP"
3582 ac_path_GREP_max=$ac_count
3584 # 10*(2^10) chars as input seems more than enough
3585 test $ac_count -gt 10 && break
3587 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3590 $ac_path_GREP_found && break 3
3595 if test -z "$ac_cv_path_GREP"; then
3596 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3599 ac_cv_path_GREP=$GREP
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3604 $as_echo "$ac_cv_path_GREP" >&6; }
3605 GREP="$ac_cv_path_GREP"
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3609 $as_echo_n "checking for egrep... " >&6; }
3610 if test "${ac_cv_path_EGREP+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3614 then ac_cv_path_EGREP="$GREP -E"
3616 if test -z "$EGREP"; then
3617 ac_path_EGREP_found=false
3618 # Loop through the user's path and test for each of PROGNAME-LIST
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3623 test -z "$as_dir" && as_dir=.
3624 for ac_prog in egrep; do
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3627 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3628 # Check for GNU ac_path_EGREP and select it if it is found.
3629 # Check for GNU $ac_path_EGREP
3630 case `"$ac_path_EGREP" --version 2>&1` in
3632 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3635 $as_echo_n 0123456789 >"conftest.in"
3638 cat "conftest.in" "conftest.in" >"conftest.tmp"
3639 mv "conftest.tmp" "conftest.in"
3640 cp "conftest.in" "conftest.nl"
3641 $as_echo 'EGREP' >> "conftest.nl"
3642 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3644 as_fn_arith $ac_count + 1 && ac_count=$as_val
3645 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3646 # Best one so far, save it but keep looking for a better one
3647 ac_cv_path_EGREP="$ac_path_EGREP"
3648 ac_path_EGREP_max=$ac_count
3650 # 10*(2^10) chars as input seems more than enough
3651 test $ac_count -gt 10 && break
3653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3656 $ac_path_EGREP_found && break 3
3661 if test -z "$ac_cv_path_EGREP"; then
3662 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3665 ac_cv_path_EGREP=$EGREP
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3671 $as_echo "$ac_cv_path_EGREP" >&6; }
3672 EGREP="$ac_cv_path_EGREP"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3676 $as_echo_n "checking for fgrep... " >&6; }
3677 if test "${ac_cv_path_FGREP+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3681 then ac_cv_path_FGREP="$GREP -F"
3683 if test -z "$FGREP"; then
3684 ac_path_FGREP_found=false
3685 # Loop through the user's path and test for each of PROGNAME-LIST
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3690 test -z "$as_dir" && as_dir=.
3691 for ac_prog in fgrep; do
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3694 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3695 # Check for GNU ac_path_FGREP and select it if it is found.
3696 # Check for GNU $ac_path_FGREP
3697 case `"$ac_path_FGREP" --version 2>&1` in
3699 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3702 $as_echo_n 0123456789 >"conftest.in"
3705 cat "conftest.in" "conftest.in" >"conftest.tmp"
3706 mv "conftest.tmp" "conftest.in"
3707 cp "conftest.in" "conftest.nl"
3708 $as_echo 'FGREP' >> "conftest.nl"
3709 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3711 as_fn_arith $ac_count + 1 && ac_count=$as_val
3712 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3713 # Best one so far, save it but keep looking for a better one
3714 ac_cv_path_FGREP="$ac_path_FGREP"
3715 ac_path_FGREP_max=$ac_count
3717 # 10*(2^10) chars as input seems more than enough
3718 test $ac_count -gt 10 && break
3720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3723 $ac_path_FGREP_found && break 3
3728 if test -z "$ac_cv_path_FGREP"; then
3729 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3732 ac_cv_path_FGREP=$FGREP
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3738 $as_echo "$ac_cv_path_FGREP" >&6; }
3739 FGREP="$ac_cv_path_FGREP"
3742 test -z "$GREP" && GREP=grep
3762 # Check whether --with-gnu-ld was given.
3763 if test "${with_gnu_ld+set}" = set; then :
3764 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3770 if test "$GCC" = yes; then
3771 # Check if gcc -print-prog-name=ld gives a path.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3773 $as_echo_n "checking for ld used by $CC... " >&6; }
3776 # gcc leaves a trailing carriage return which upsets mingw
3777 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3779 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3782 # Accept absolute paths.
3784 re_direlt='/[^/][^/]*/\.\./'
3785 # Canonicalize the pathname of ld
3786 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3787 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3788 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3790 test -z "$LD" && LD="$ac_prog"
3793 # If it fails, then pretend we aren't using GCC.
3797 # If it is relative, then search for the first ld in PATH.
3801 elif test "$with_gnu_ld" = yes; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3803 $as_echo_n "checking for GNU ld... " >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3806 $as_echo_n "checking for non-GNU ld... " >&6; }
3808 if test "${lt_cv_path_LD+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -z "$LD"; then
3812 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3813 for ac_dir in $PATH; do
3815 test -z "$ac_dir" && ac_dir=.
3816 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3817 lt_cv_path_LD="$ac_dir/$ac_prog"
3818 # Check to see if the program is GNU ld. I'd rather use --version,
3819 # but apparently some variants of GNU ld only accept -v.
3820 # Break only if it was the GNU/non-GNU ld that we prefer.
3821 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3822 *GNU* | *'with BFD'*)
3823 test "$with_gnu_ld" != no && break
3826 test "$with_gnu_ld" != yes && break
3833 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3838 if test -n "$LD"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3840 $as_echo "$LD" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3845 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3847 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3848 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3852 case `$LD -v 2>&1 </dev
/null
` in
3853 *GNU* | *'with BFD'*)
3854 lt_cv_prog_gnu_ld=yes
3857 lt_cv_prog_gnu_ld=no
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3862 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3863 with_gnu_ld=$lt_cv_prog_gnu_ld
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3874 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3875 if test "${lt_cv_path_NM+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$NM"; then
3879 # Let the user override the test.
3882 lt_nm_to_check="${ac_tool_prefix}nm"
3883 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3884 lt_nm_to_check="$lt_nm_to_check nm"
3886 for lt_tmp_nm in $lt_nm_to_check; do
3887 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3888 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3890 test -z "$ac_dir" && ac_dir=.
3891 tmp_nm="$ac_dir/$lt_tmp_nm"
3892 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3893 # Check to see if the nm accepts a BSD-compat flag.
3894 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3895 # nm: unknown option "B" ignored
3896 # Tru64's nm complains that
/dev
/null is an invalid object
file
3897 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3898 */dev
/null
* | *'Invalid file or object type'*)
3899 lt_cv_path_NM
="$tmp_nm -B"
3903 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3905 lt_cv_path_NM
="$tmp_nm -p"
3909 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3910 continue # so that we can try to find one that supports BSD flags
3919 : ${lt_cv_path_NM=no}
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3923 $as_echo "$lt_cv_path_NM" >&6; }
3924 if test "$lt_cv_path_NM" != "no"; then
3927 # Didn't find any BSD compatible name lister, look for dumpbin.
3928 if test -n "$ac_tool_prefix"; then
3929 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$DUMPBIN"; then
3939 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 DUMPBIN
=$ac_cv_prog_DUMPBIN
3959 if test -n "$DUMPBIN"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3961 $as_echo "$DUMPBIN" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3968 test -n "$DUMPBIN" && break
3971 if test -z "$DUMPBIN"; then
3972 ac_ct_DUMPBIN
=$DUMPBIN
3973 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3975 # Extract the first word of "$ac_prog", so it can be a program name with args.
3976 set dummy
$ac_prog; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$ac_ct_DUMPBIN"; then
3983 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4003 if test -n "$ac_ct_DUMPBIN"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4005 $as_echo "$ac_ct_DUMPBIN" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4012 test -n "$ac_ct_DUMPBIN" && break
4015 if test "x$ac_ct_DUMPBIN" = x
; then
4018 case $cross_compiling:$ac_tool_warned in
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4022 ac_tool_warned
=yes ;;
4024 DUMPBIN
=$ac_ct_DUMPBIN
4029 if test "$DUMPBIN" != ":"; then
4033 test -z "$NM" && NM
=nm
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4041 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4042 if test "${lt_cv_nm_interface+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 lt_cv_nm_interface
="BSD nm"
4046 echo "int some_variable = 0;" > conftest.
$ac_ext
4047 (eval echo "\"\$as_me:4047: $ac_compile\"" >&5)
4048 (eval "$ac_compile" 2>conftest.err
)
4049 cat conftest.err
>&5
4050 (eval echo "\"\$as_me:4050: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4051 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4052 cat conftest.err
>&5
4053 (eval echo "\"\$as_me:4053: output\"" >&5)
4054 cat conftest.out
>&5
4055 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4056 lt_cv_nm_interface
="MS dumpbin"
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4061 $as_echo "$lt_cv_nm_interface" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4064 $as_echo_n "checking whether ln -s works... " >&6; }
4066 if test "$LN_S" = "ln -s"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4068 $as_echo "yes" >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4071 $as_echo "no, using $LN_S" >&6; }
4074 # find the maximum length of command line arguments
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4076 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4077 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4085 # On DJGPP, this test can blow up pretty badly due to problems in libc
4086 # (any single argument exceeding 2000 bytes causes a buffer overrun
4087 # during glob expansion). Even if it were fixed, the result of this
4088 # check would be larger than it should be.
4089 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4093 # Under GNU Hurd, this test is not required because there is
4094 # no limit to the length of command line arguments.
4095 # Libtool will interpret -1 as no limit whatsoever
4096 lt_cv_sys_max_cmd_len
=-1;
4099 cygwin
* | mingw
* | cegcc
*)
4100 # On Win9x/ME, this test blows up -- it succeeds, but takes
4101 # about 5 minutes as the teststring grows exponentially.
4102 # Worse, since 9x/ME are not pre-emptively multitasking,
4103 # you end up with a "frozen" computer, even though with patience
4104 # the test eventually succeeds (with a max line length of 256k).
4105 # Instead, let's just punt: use the minimum linelength reported by
4106 # all of the supported platforms: 8192 (on NT/2K/XP).
4107 lt_cv_sys_max_cmd_len
=8192;
4111 # On AmigaOS with pdksh, this test takes hours, literally.
4112 # So we just punt and use a minimum line length of 8192.
4113 lt_cv_sys_max_cmd_len
=8192;
4116 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4117 # This has been around since 386BSD, at least. Likely further.
4118 if test -x /sbin
/sysctl
; then
4119 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4120 elif test -x /usr
/sbin
/sysctl
; then
4121 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4123 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4125 # And add a safety zone
4126 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4127 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4131 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4132 lt_cv_sys_max_cmd_len
=196608
4136 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4137 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4138 # nice to cause kernel panics so lets avoid the loop below.
4139 # First set a reasonable default.
4140 lt_cv_sys_max_cmd_len
=16384
4142 if test -x /sbin
/sysconfig
; then
4143 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4144 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4149 lt_cv_sys_max_cmd_len
=102400
4151 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4152 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4153 if test -n "$kargmax"; then
4154 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4156 lt_cv_sys_max_cmd_len
=32768
4160 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4161 if test -n "$lt_cv_sys_max_cmd_len"; then
4162 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4163 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4165 # Make teststring a little bigger before we do anything with it.
4166 # a 1K string should be a reasonable start.
4167 for i
in 1 2 3 4 5 6 7 8 ; do
4168 teststring
=$teststring$teststring
4170 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4171 # If test is not a shell built-in, we'll probably end up computing a
4172 # maximum length that is only half of the actual maximum length, but
4174 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4175 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4176 test $i != 17 # 1/2 MB should be enough
4179 teststring
=$teststring$teststring
4181 # Only check the string length outside the loop.
4182 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4184 # Add a significant safety factor because C++ compilers can tack on
4185 # massive amounts of additional arguments before passing them to the
4186 # linker. It appears as though 1/2 is a usable value.
4187 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4194 if test -n $lt_cv_sys_max_cmd_len ; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4196 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4199 $as_echo "none" >&6; }
4201 max_cmd_len
=$lt_cv_sys_max_cmd_len
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4213 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4214 # Try some XSI features
4217 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4219 && eval 'test $(( 1 + 1 )) -eq 2 \
4220 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4223 $as_echo "$xsi_shell" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4227 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4229 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4231 && lt_shell_append
=yes
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4233 $as_echo "$lt_shell_append" >&6; }
4236 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4246 # test EBCDIC or ASCII
4247 case `echo X|tr X '\101'` in
4248 A
) # ASCII based system
4249 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4250 lt_SP2NL
='tr \040 \012'
4251 lt_NL2SP
='tr \015\012 \040\040'
4253 *) # EBCDIC based system
4254 lt_SP2NL
='tr \100 \n'
4255 lt_NL2SP
='tr \r\n \100\100'
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4268 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4269 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 lt_cv_ld_reload_flag
='-r'
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4275 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4276 reload_flag
=$lt_cv_ld_reload_flag
4277 case $reload_flag in
4279 *) reload_flag
=" $reload_flag" ;;
4281 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4284 if test "$GCC" = yes; then
4285 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4287 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4300 if test -n "$ac_tool_prefix"; then
4301 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4302 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$OBJDUMP"; then
4309 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 OBJDUMP
=$ac_cv_prog_OBJDUMP
4329 if test -n "$OBJDUMP"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4331 $as_echo "$OBJDUMP" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4339 if test -z "$ac_cv_prog_OBJDUMP"; then
4340 ac_ct_OBJDUMP
=$OBJDUMP
4341 # Extract the first word of "objdump", so it can be a program name with args.
4342 set dummy objdump
; ac_word
=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -n "$ac_ct_OBJDUMP"; then
4349 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir
=.
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4369 if test -n "$ac_ct_OBJDUMP"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4371 $as_echo "$ac_ct_OBJDUMP" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4377 if test "x$ac_ct_OBJDUMP" = x
; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned
=yes ;;
4386 OBJDUMP
=$ac_ct_OBJDUMP
4389 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4392 test -z "$OBJDUMP" && OBJDUMP
=objdump
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4403 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4404 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4407 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4408 lt_cv_file_magic_test_file
=
4409 lt_cv_deplibs_check_method
='unknown'
4410 # Need to set the preceding variable on all platforms that support
4411 # interlibrary dependencies.
4412 # 'none' -- dependencies not supported.
4413 # `unknown' -- same as none, but documents that we really don't know.
4414 # 'pass_all' -- all dependencies passed with no checks.
4415 # 'test_compile' -- check by making test program.
4416 # 'file_magic [[regex]]' -- check by looking for files in library path
4417 # which responds to the $file_magic_cmd with a given extended regex.
4418 # If you have `file' or equivalent on your system and you're not sure
4419 # whether `pass_all' will *always* work, you probably want this one.
4423 lt_cv_deplibs_check_method
=pass_all
4427 lt_cv_deplibs_check_method
=pass_all
4431 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4432 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4433 lt_cv_file_magic_test_file
=/shlib
/libc.so
4437 # func_win32_libid is a shell function defined in ltmain.sh
4438 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4439 lt_cv_file_magic_cmd
='func_win32_libid'
4443 # Base MSYS/MinGW do not provide the 'file' command needed by
4444 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4445 # unless we find 'file', for example because we are cross-compiling.
4446 if ( file / ) >/dev
/null
2>&1; then
4447 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4448 lt_cv_file_magic_cmd
='func_win32_libid'
4450 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4451 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4456 # use the weaker test based on 'objdump'. See mingw*.
4457 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4458 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4461 darwin
* | rhapsody
*)
4462 lt_cv_deplibs_check_method
=pass_all
4465 freebsd
* | dragonfly
*)
4466 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4469 # Not sure whether the presence of OpenBSD here was a mistake.
4470 # Let's accept both of them until this is cleared up.
4471 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4472 lt_cv_file_magic_cmd
=/usr
/bin
/file
4473 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4477 lt_cv_deplibs_check_method
=pass_all
4482 lt_cv_deplibs_check_method
=pass_all
4485 hpux10.20
* | hpux11
*)
4486 lt_cv_file_magic_cmd
=/usr
/bin
/file
4489 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4490 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4493 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]'
4494 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4497 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4498 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4504 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4505 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4508 irix5
* | irix6
* | nonstopux
*)
4510 *-32|*"-32 ") libmagic
=32-bit;;
4511 *-n32|*"-n32 ") libmagic
=N32
;;
4512 *-64|*"-64 ") libmagic
=64-bit;;
4513 *) libmagic
=never
-match;;
4515 lt_cv_deplibs_check_method
=pass_all
4518 # This must be Linux ELF.
4519 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4520 lt_cv_deplibs_check_method
=pass_all
4523 netbsd
* | netbsdelf
*-gnu)
4524 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4525 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4527 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4532 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4533 lt_cv_file_magic_cmd
=/usr
/bin
/file
4534 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4538 lt_cv_deplibs_check_method
=pass_all
4542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4543 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4545 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4549 osf3
* | osf4
* | osf5
*)
4550 lt_cv_deplibs_check_method
=pass_all
4554 lt_cv_deplibs_check_method
=pass_all
4558 lt_cv_deplibs_check_method
=pass_all
4561 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4562 lt_cv_deplibs_check_method
=pass_all
4566 case $host_vendor in
4568 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]'
4569 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4572 lt_cv_deplibs_check_method
=pass_all
4575 lt_cv_file_magic_cmd
='/bin/file'
4576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4579 lt_cv_file_magic_cmd
='/bin/file'
4580 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4581 lt_cv_file_magic_test_file
=/lib
/libc.so
4584 lt_cv_deplibs_check_method
=pass_all
4587 lt_cv_deplibs_check_method
=pass_all
4593 lt_cv_deplibs_check_method
=pass_all
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4600 file_magic_cmd
=$lt_cv_file_magic_cmd
4601 deplibs_check_method
=$lt_cv_deplibs_check_method
4602 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4615 if test -n "$ac_tool_prefix"; then
4616 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4617 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_AR+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$AR"; then
4624 ac_cv_prog_AR
="$AR" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 if test -n "$AR"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4646 $as_echo "$AR" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4654 if test -z "$ac_cv_prog_AR"; then
4656 # Extract the first word of "ar", so it can be a program name with args.
4657 set dummy
ar; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$ac_ct_AR"; then
4664 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_ac_ct_AR
="ar"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4684 if test -n "$ac_ct_AR"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4686 $as_echo "$ac_ct_AR" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4692 if test "x$ac_ct_AR" = x
; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned
=yes ;;
4707 test -z "$AR" && AR
=ar
4708 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4720 if test -n "$ac_tool_prefix"; then
4721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if test "${ac_cv_prog_STRIP+set}" = set; then :
4726 $as_echo_n "(cached) " >&6
4728 if test -n "$STRIP"; then
4729 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_exec_ext
in '' $ac_executable_extensions; do
4737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4738 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 STRIP
=$ac_cv_prog_STRIP
4749 if test -n "$STRIP"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4751 $as_echo "$STRIP" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4759 if test -z "$ac_cv_prog_STRIP"; then
4761 # Extract the first word of "strip", so it can be a program name with args.
4762 set dummy strip
; ac_word
=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$ac_ct_STRIP"; then
4769 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4778 ac_cv_prog_ac_ct_STRIP
="strip"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4789 if test -n "$ac_ct_STRIP"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4791 $as_echo "$ac_ct_STRIP" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4797 if test "x$ac_ct_STRIP" = x
; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned
=yes ;;
4809 STRIP
="$ac_cv_prog_STRIP"
4812 test -z "$STRIP" && STRIP
=:
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$RANLIB"; then
4828 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 RANLIB
=$ac_cv_prog_RANLIB
4848 if test -n "$RANLIB"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4850 $as_echo "$RANLIB" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_RANLIB"; then
4859 ac_ct_RANLIB
=$RANLIB
4860 # Extract the first word of "ranlib", so it can be a program name with args.
4861 set dummy ranlib
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$ac_ct_RANLIB"; then
4868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4888 if test -n "$ac_ct_RANLIB"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4890 $as_echo "$ac_ct_RANLIB" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_RANLIB" = x
; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned
=yes ;;
4905 RANLIB
=$ac_ct_RANLIB
4908 RANLIB
="$ac_cv_prog_RANLIB"
4911 test -z "$RANLIB" && RANLIB
=:
4918 # Determine commands to create old-style static archives.
4919 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4920 old_postinstall_cmds
='chmod 644 $oldlib'
4921 old_postuninstall_cmds
=
4923 if test -n "$RANLIB"; then
4926 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4929 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4932 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4968 # If no C compiler was specified, use CC.
4971 # If no C compiler flags were specified, use CFLAGS.
4972 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4974 # Allow CC to be a program name with arguments.
4978 # Check for command to grab the raw symbol name followed by C symbol from nm.
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4980 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4981 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4985 # These are sane defaults that work on at least a few old systems.
4986 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4988 # Character class describing NM global symbol codes.
4989 symcode
='[BCDEGRST]'
4991 # Regexp to match symbols that can be accessed directly from C.
4992 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4994 # Define system-specific variables.
4999 cygwin
* | mingw
* | pw32
* | cegcc
*)
5000 symcode
='[ABCDGISTW]'
5003 if test "$host_cpu" = ia64
; then
5004 symcode
='[ABCDEGRST]'
5008 symcode
='[BCDEGRST]'
5011 symcode
='[BCDEGQRST]'
5022 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5030 # If we're using GNU nm, then use its standard symbol codes.
5031 case `$NM -V 2>&1` in
5032 *GNU
* | *'with BFD'*)
5033 symcode
='[ABCDGIRSTW]' ;;
5036 # Transform an extracted symbol line into a proper C declaration.
5037 # Some systems (esp. on ia64) link data and code symbols differently,
5038 # so use this general approach.
5039 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5041 # Transform an extracted symbol line into symbol name and symbol address
5042 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5043 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'"
5045 # Handle CRLF in mingw tool chain
5049 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5053 # Try without a prefix underscore, then with it.
5054 for ac_symprfx
in "" "_"; do
5056 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5057 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5059 # Write the raw and C identifiers.
5060 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5061 # Fake it for dumpbin and say T for any non-static function
5062 # and D for any global variable.
5063 # Also find C++ and __fastcall symbols from MSVC++,
5064 # which start with @ or ?.
5065 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5066 " {last_section=section; section=\$ 3};"\
5067 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5068 " \$ 0!~/External *\|/{next};"\
5069 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5070 " {if(hide[section]) next};"\
5071 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5072 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5073 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5074 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5075 " ' prfx=^$ac_symprfx"
5077 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5080 # Check to see that the pipe works correctly.
5084 cat > conftest.
$ac_ext <<_LT_EOF
5089 void nm_test_func(void);
5090 void nm_test_func(void){}
5094 int main(){nm_test_var='a';nm_test_func();return(0);}
5097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5098 (eval $ac_compile) 2>&5
5100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101 test $ac_status = 0; }; then
5102 # Now try to grab the symbols.
5104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5105 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; } && test -s "$nlist"; then
5109 # Try sorting and uniquifying the output.
5110 if sort "$nlist" | uniq > "$nlist"T
; then
5111 mv -f "$nlist"T
"$nlist"
5116 # Make sure that we snagged all the symbols we need.
5117 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5118 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5119 cat <<_LT_EOF > conftest.$ac_ext
5125 # Now generate the symbol file.
5126 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5128 cat <<_LT_EOF >> conftest.$ac_ext
5130 /* The mapping between symbol names and symbols. */
5135 lt__PROGRAM__LTX_preloaded_symbols[] =
5137 { "@PROGRAM@", (void *) 0 },
5139 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5140 cat <<\_LT_EOF
>> conftest.
$ac_ext
5144 /* This works around a problem
in FreeBSD linker
*/
5145 #ifdef FREEBSD_WORKAROUND
5146 static const void
*lt_preloaded_setup
() {
5147 return lt__PROGRAM__LTX_preloaded_symbols
;
5155 # Now try linking the two files.
5156 mv conftest.
$ac_objext conftstm.
$ac_objext
5157 lt_save_LIBS
="$LIBS"
5158 lt_save_CFLAGS
="$CFLAGS"
5159 LIBS
="conftstm.$ac_objext"
5160 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5162 (eval $ac_link) 2>&5
5164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5165 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5168 LIBS
="$lt_save_LIBS"
5169 CFLAGS
="$lt_save_CFLAGS"
5171 echo "cannot find nm_test_func in $nlist" >&5
5174 echo "cannot find nm_test_var in $nlist" >&5
5177 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5180 echo "$progname: failed program was:" >&5
5181 cat conftest.
$ac_ext >&5
5183 rm -rf conftest
* conftst
*
5185 # Do not use the global_symbol_pipe unless it works.
5186 if test "$pipe_works" = yes; then
5189 lt_cv_sys_global_symbol_pipe
=
5195 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5196 lt_cv_sys_global_symbol_to_cdecl
=
5198 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5200 $as_echo "failed" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5203 $as_echo "ok" >&6; }
5228 # Check whether --enable-libtool-lock was given.
5229 if test "${enable_libtool_lock+set}" = set; then :
5230 enableval
=$enable_libtool_lock;
5233 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5235 # Some flags need to be propagated to the compiler or linker for good
5239 # Find out which ABI we are using.
5240 echo 'int i;' > conftest.
$ac_ext
5241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5242 (eval $ac_compile) 2>&5
5244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; then
5246 case `/usr/bin/file conftest.$ac_objext` in
5258 # Find out which ABI we are using.
5259 echo '#line 5259 "configure"' > conftest.
$ac_ext
5260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5261 (eval $ac_compile) 2>&5
5263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5264 test $ac_status = 0; }; then
5265 if test "$lt_cv_prog_gnu_ld" = yes; then
5266 case `/usr/bin/file conftest.$ac_objext` in
5268 LD
="${LD-ld} -melf32bsmip"
5271 LD
="${LD-ld} -melf32bmipn32"
5274 LD
="${LD-ld} -melf64bmip"
5278 case `/usr/bin/file conftest.$ac_objext` in
5294 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5295 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5296 # Find out which ABI we are using.
5297 echo 'int i;' > conftest.
$ac_ext
5298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5299 (eval $ac_compile) 2>&5
5301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302 test $ac_status = 0; }; then
5303 case `/usr/bin/file conftest.o` in
5306 x86_64
-*kfreebsd
*-gnu)
5307 LD
="${LD-ld} -m elf_i386_fbsd"
5310 LD
="${LD-ld} -m elf_i386"
5312 ppc64
-*linux
*|powerpc64
-*linux
*)
5313 LD
="${LD-ld} -m elf32ppclinux"
5316 LD
="${LD-ld} -m elf_s390"
5319 LD
="${LD-ld} -m elf32_sparc"
5325 x86_64
-*kfreebsd
*-gnu)
5326 LD
="${LD-ld} -m elf_x86_64_fbsd"
5329 LD
="${LD-ld} -m elf_x86_64"
5331 ppc
*-*linux
*|powerpc
*-*linux
*)
5332 LD
="${LD-ld} -m elf64ppc"
5334 s390
*-*linux
*|s390
*-*tpf
*)
5335 LD
="${LD-ld} -m elf64_s390"
5338 LD
="${LD-ld} -m elf64_sparc"
5348 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5349 SAVE_CFLAGS
="$CFLAGS"
5350 CFLAGS
="$CFLAGS -belf"
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5352 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5353 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5357 ac_cpp
='$CPP $CPPFLAGS'
5358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5373 if ac_fn_c_try_link
"$LINENO"; then :
5374 lt_cv_cc_needs_belf
=yes
5376 lt_cv_cc_needs_belf
=no
5378 rm -f core conftest.err conftest.
$ac_objext \
5379 conftest
$ac_exeext conftest.
$ac_ext
5381 ac_cpp
='$CPP $CPPFLAGS'
5382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5388 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5389 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5390 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5391 CFLAGS
="$SAVE_CFLAGS"
5395 # Find out which ABI we are using.
5396 echo 'int i;' > conftest.
$ac_ext
5397 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5398 (eval $ac_compile) 2>&5
5400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401 test $ac_status = 0; }; then
5402 case `/usr/bin/file conftest.o` in
5404 case $lt_cv_prog_gnu_ld in
5405 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5407 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5419 need_locks
="$enable_libtool_lock"
5423 rhapsody
* | darwin
*)
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5426 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$DSYMUTIL"; then
5433 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5453 if test -n "$DSYMUTIL"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5455 $as_echo "$DSYMUTIL" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5463 if test -z "$ac_cv_prog_DSYMUTIL"; then
5464 ac_ct_DSYMUTIL
=$DSYMUTIL
5465 # Extract the first word of "dsymutil", so it can be a program name with args.
5466 set dummy dsymutil
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$ac_ct_DSYMUTIL"; then
5473 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5482 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5493 if test -n "$ac_ct_DSYMUTIL"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5495 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5501 if test "x$ac_ct_DSYMUTIL" = x
; then
5504 case $cross_compiling:$ac_tool_warned in
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned
=yes ;;
5510 DSYMUTIL
=$ac_ct_DSYMUTIL
5513 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5518 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$NMEDIT"; then
5525 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 NMEDIT
=$ac_cv_prog_NMEDIT
5545 if test -n "$NMEDIT"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5547 $as_echo "$NMEDIT" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if test -z "$ac_cv_prog_NMEDIT"; then
5556 ac_ct_NMEDIT
=$NMEDIT
5557 # Extract the first word of "nmedit", so it can be a program name with args.
5558 set dummy nmedit
; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5564 if test -n "$ac_ct_NMEDIT"; then
5565 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5585 if test -n "$ac_ct_NMEDIT"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5587 $as_echo "$ac_ct_NMEDIT" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5593 if test "x$ac_ct_NMEDIT" = x
; then
5596 case $cross_compiling:$ac_tool_warned in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned
=yes ;;
5602 NMEDIT
=$ac_ct_NMEDIT
5605 NMEDIT
="$ac_cv_prog_NMEDIT"
5608 if test -n "$ac_tool_prefix"; then
5609 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5610 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if test "${ac_cv_prog_LIPO+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5616 if test -n "$LIPO"; then
5617 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir
=.
5624 for ac_exec_ext
in '' $ac_executable_extensions; do
5625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 LIPO
=$ac_cv_prog_LIPO
5637 if test -n "$LIPO"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5639 $as_echo "$LIPO" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5647 if test -z "$ac_cv_prog_LIPO"; then
5649 # Extract the first word of "lipo", so it can be a program name with args.
5650 set dummy lipo
; ac_word
=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$ac_ct_LIPO"; then
5657 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5666 ac_cv_prog_ac_ct_LIPO
="lipo"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5677 if test -n "$ac_ct_LIPO"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5679 $as_echo "$ac_ct_LIPO" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5685 if test "x$ac_ct_LIPO" = x
; then
5688 case $cross_compiling:$ac_tool_warned in
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5692 ac_tool_warned
=yes ;;
5697 LIPO
="$ac_cv_prog_LIPO"
5700 if test -n "$ac_tool_prefix"; then
5701 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5702 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$OTOOL"; then
5709 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5718 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 OTOOL
=$ac_cv_prog_OTOOL
5729 if test -n "$OTOOL"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5731 $as_echo "$OTOOL" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5739 if test -z "$ac_cv_prog_OTOOL"; then
5741 # Extract the first word of "otool", so it can be a program name with args.
5742 set dummy otool
; ac_word
=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$ac_ct_OTOOL"; then
5749 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_ac_ct_OTOOL
="otool"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5769 if test -n "$ac_ct_OTOOL"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5771 $as_echo "$ac_ct_OTOOL" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5777 if test "x$ac_ct_OTOOL" = x
; then
5780 case $cross_compiling:$ac_tool_warned in
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned
=yes ;;
5789 OTOOL
="$ac_cv_prog_OTOOL"
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5794 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$OTOOL64"; then
5801 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 OTOOL64
=$ac_cv_prog_OTOOL64
5821 if test -n "$OTOOL64"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5823 $as_echo "$OTOOL64" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5831 if test -z "$ac_cv_prog_OTOOL64"; then
5832 ac_ct_OTOOL64
=$OTOOL64
5833 # Extract the first word of "otool64", so it can be a program name with args.
5834 set dummy otool64
; ac_word
=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$ac_ct_OTOOL64"; then
5841 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5861 if test -n "$ac_ct_OTOOL64"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5863 $as_echo "$ac_ct_OTOOL64" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5869 if test "x$ac_ct_OTOOL64" = x
; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned
=yes ;;
5878 OTOOL64
=$ac_ct_OTOOL64
5881 OTOOL64
="$ac_cv_prog_OTOOL64"
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5911 $as_echo_n "checking for -single_module linker flag... " >&6; }
5912 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 lt_cv_apple_cc_single_mod
=no
5916 if test -z "${LT_MULTI_MODULE}"; then
5917 # By default we will add the -single_module flag. You can override
5918 # by either setting the environment variable LT_MULTI_MODULE
5919 # non-empty at configure time, or by adding -multi_module to the
5921 rm -rf libconftest.dylib
*
5922 echo "int foo(void){return 1;}" > conftest.c
5923 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5924 -dynamiclib -Wl,-single_module conftest.c" >&5
5925 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5926 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5928 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5929 lt_cv_apple_cc_single_mod
=yes
5931 cat conftest.err
>&5
5933 rm -rf libconftest.dylib
*
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5938 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5940 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5941 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5944 lt_cv_ld_exported_symbols_list
=no
5945 save_LDFLAGS
=$LDFLAGS
5946 echo "_main" > conftest.sym
5947 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5959 if ac_fn_c_try_link
"$LINENO"; then :
5960 lt_cv_ld_exported_symbols_list
=yes
5962 lt_cv_ld_exported_symbols_list
=no
5964 rm -f core conftest.err conftest.
$ac_objext \
5965 conftest
$ac_exeext conftest.
$ac_ext
5966 LDFLAGS
="$save_LDFLAGS"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5970 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5972 rhapsody
* | darwin1.
[012])
5973 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5975 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5976 darwin
*) # darwin 5.x on
5977 # if running on 10.5 or later, the deployment target defaults
5978 # to the OS version, if on x86, and 10.4, the deployment
5979 # target defaults to 10.4. Don't you love it?
5980 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5981 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5982 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5984 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5986 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5990 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5991 _lt_dar_single_mod
='$single_module'
5993 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5994 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5996 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5998 if test "$DSYMUTIL" != ":"; then
5999 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6007 ac_cpp
='$CPP $CPPFLAGS'
6008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6012 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6013 # On Suns, sometimes $CPP names a directory.
6014 if test -n "$CPP" && test -d "$CPP"; then
6017 if test -z "$CPP"; then
6018 if test "${ac_cv_prog_CPP+set}" = set; then :
6019 $as_echo_n "(cached) " >&6
6021 # Double quotes because CPP needs to be expanded
6022 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6025 for ac_c_preproc_warn_flag
in '' yes
6027 # Use a header file that comes with gcc, so configuring glibc
6028 # with a fresh cross-compiler works.
6029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6030 # <limits.h> exists even on freestanding compilers.
6031 # On the NeXT, cc -E runs the code through the compiler's parser,
6032 # not just through cpp. "Syntax error" is here to catch this case.
6033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6036 # include <limits.h>
6038 # include <assert.h>
6042 if ac_fn_c_try_cpp
"$LINENO"; then :
6045 # Broken: fails on valid input.
6048 rm -f conftest.err conftest.
$ac_ext
6050 # OK, works on sane cases. Now check whether nonexistent headers
6051 # can be detected and how.
6052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6054 #include <ac_nonexistent.h>
6056 if ac_fn_c_try_cpp
"$LINENO"; then :
6057 # Broken: success on invalid input.
6060 # Passes both tests.
6064 rm -f conftest.err conftest.
$ac_ext
6067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6068 rm -f conftest.err conftest.
$ac_ext
6069 if $ac_preproc_ok; then :
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6082 $as_echo "$CPP" >&6; }
6084 for ac_c_preproc_warn_flag
in '' yes
6086 # Use a header file that comes with gcc, so configuring glibc
6087 # with a fresh cross-compiler works.
6088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6089 # <limits.h> exists even on freestanding compilers.
6090 # On the NeXT, cc -E runs the code through the compiler's parser,
6091 # not just through cpp. "Syntax error" is here to catch this case.
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6095 # include <limits.h>
6097 # include <assert.h>
6101 if ac_fn_c_try_cpp
"$LINENO"; then :
6104 # Broken: fails on valid input.
6107 rm -f conftest.err conftest.
$ac_ext
6109 # OK, works on sane cases. Now check whether nonexistent headers
6110 # can be detected and how.
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <ac_nonexistent.h>
6115 if ac_fn_c_try_cpp
"$LINENO"; then :
6116 # Broken: success on invalid input.
6119 # Passes both tests.
6123 rm -f conftest.err conftest.
$ac_ext
6126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6127 rm -f conftest.err conftest.
$ac_ext
6128 if $ac_preproc_ok; then :
6131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6133 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6134 See \`config.log' for more details." "$LINENO" 5; }
6138 ac_cpp
='$CPP $CPPFLAGS'
6139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6145 $as_echo_n "checking for ANSI C header files... " >&6; }
6146 if test "${ac_cv_header_stdc+set}" = set; then :
6147 $as_echo_n "(cached) " >&6
6149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6164 if ac_fn_c_try_compile
"$LINENO"; then :
6165 ac_cv_header_stdc
=yes
6167 ac_cv_header_stdc
=no
6169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6171 if test $ac_cv_header_stdc = yes; then
6172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6179 $EGREP "memchr" >/dev
/null
2>&1; then :
6182 ac_cv_header_stdc
=no
6188 if test $ac_cv_header_stdc = yes; then
6189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6196 $EGREP "free" >/dev
/null
2>&1; then :
6199 ac_cv_header_stdc
=no
6205 if test $ac_cv_header_stdc = yes; then
6206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6207 if test "$cross_compiling" = yes; then :
6210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6214 #if ((' ' & 0x0FF) == 0x020)
6215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6218 # define ISLOWER(c) \
6219 (('a' <= (c) && (c) <= 'i') \
6220 || ('j' <= (c) && (c) <= 'r') \
6221 || ('s' <= (c) && (c) <= 'z'))
6222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6230 for (i = 0; i < 256; i++)
6231 if (XOR (islower (i), ISLOWER (i))
6232 || toupper (i) != TOUPPER (i))
6237 if ac_fn_c_try_run
"$LINENO"; then :
6240 ac_cv_header_stdc
=no
6242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6243 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6249 $as_echo "$ac_cv_header_stdc" >&6; }
6250 if test $ac_cv_header_stdc = yes; then
6252 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6257 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6258 inttypes.h stdint.h unistd.h
6260 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6263 eval as_val
=\$
$as_ac_Header
6264 if test "x$as_val" = x
""yes; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in dlfcn.h
6276 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6278 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6279 cat >>confdefs.h
<<_ACEOF
6280 #define HAVE_DLFCN_H 1
6290 # Check whether --enable-static was given.
6291 if test "${enable_static+set}" = set; then :
6292 enableval
=$enable_static; p
=${PACKAGE-default}
6294 yes) enable_static
=yes ;;
6295 no
) enable_static
=no
;;
6298 # Look at the argument we got. We use all the common list separators.
6299 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6300 for pkg
in $enableval; do
6302 if test "X$pkg" = "X$p"; then
6328 # Check whether --enable-shared was given.
6329 if test "${enable_shared+set}" = set; then :
6330 enableval
=$enable_shared; p
=${PACKAGE-default}
6332 yes) enable_shared
=yes ;;
6333 no
) enable_shared
=no
;;
6336 # Look at the argument we got. We use all the common list separators.
6337 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6338 for pkg
in $enableval; do
6340 if test "X$pkg" = "X$p"; then
6361 # Check whether --with-pic was given.
6362 if test "${with_pic+set}" = set; then :
6363 withval
=$with_pic; pic_mode
="$withval"
6369 test -z "$pic_mode" && pic_mode
=default
6377 # Check whether --enable-fast-install was given.
6378 if test "${enable_fast_install+set}" = set; then :
6379 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6381 yes) enable_fast_install
=yes ;;
6382 no
) enable_fast_install
=no
;;
6384 enable_fast_install
=no
6385 # Look at the argument we got. We use all the common list separators.
6386 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6387 for pkg
in $enableval; do
6389 if test "X$pkg" = "X$p"; then
6390 enable_fast_install
=yes
6397 enable_fast_install
=yes
6410 # This can be used to rebuild libtool when needed
6411 LIBTOOL_DEPS
="$ltmain"
6413 # Always use our own libtool.
6414 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6440 test -z "$LN_S" && LN_S
="ln -s"
6455 if test -n "${ZSH_VERSION+set}" ; then
6456 setopt NO_GLOB_SUBST
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6460 $as_echo_n "checking for objdir... " >&6; }
6461 if test "${lt_cv_objdir+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 rm -f .libs
2>/dev
/null
6465 mkdir .libs
2>/dev
/null
6466 if test -d .libs
; then
6469 # MS-DOS does not allow filenames that begin with a dot.
6472 rmdir .libs
2>/dev
/null
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6475 $as_echo "$lt_cv_objdir" >&6; }
6476 objdir
=$lt_cv_objdir
6482 cat >>confdefs.h
<<_ACEOF
6483 #define LT_OBJDIR "$lt_cv_objdir/"
6504 # AIX sometimes has problems with the GCC collect2 program. For some
6505 # reason, if we set the COLLECT_NAMES environment variable, the problems
6506 # vanish in a puff of smoke.
6507 if test "X${COLLECT_NAMES+set}" != Xset
; then
6509 export COLLECT_NAMES
6514 # Sed substitution that helps us do robust quoting. It backslashifies
6515 # metacharacters that are still active within double-quoted strings.
6516 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6518 # Same as above, but do not quote variable references.
6519 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6521 # Sed substitution to delay expansion of an escaped shell variable in a
6522 # double_quote_subst'ed string.
6523 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6525 # Sed substitution to delay expansion of an escaped single quote.
6526 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6528 # Sed substitution to avoid accidental globbing in evaled expressions
6529 no_glob_subst
='s/\*/\\\*/g'
6533 can_build_shared
=yes
6535 # All known linkers require a `.a' archive for static linking (except MSVC,
6536 # which needs '.lib').
6539 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6542 old_CFLAGS
="$CFLAGS"
6544 # Set sane defaults for various variables
6545 test -z "$CC" && CC
=cc
6546 test -z "$LTCC" && LTCC
=$CC
6547 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6548 test -z "$LD" && LD
=ld
6549 test -z "$ac_objext" && ac_objext
=o
6551 for cc_temp
in $compiler""; do
6553 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6554 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6559 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6562 # Only perform the check for file, if the check method requires it
6563 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6564 case $deplibs_check_method in
6566 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6568 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6574 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6577 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6578 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6579 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6580 for ac_dir
in $ac_dummy; do
6582 test -z "$ac_dir" && ac_dir
=.
6583 if test -f $ac_dir/${ac_tool_prefix}file; then
6584 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6585 if test -n "$file_magic_test_file"; then
6586 case $deplibs_check_method in
6588 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6589 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6590 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6591 $EGREP "$file_magic_regex" > /dev
/null
; then
6596 *** Warning: the command libtool uses to detect shared libraries,
6597 *** $file_magic_cmd, produces output that libtool cannot recognize.
6598 *** The result is that libtool may fail to recognize shared libraries
6599 *** as such. This will affect the creation of libtool libraries that
6600 *** depend on shared libraries, but programs linked with such libtool
6601 *** libraries will work regardless of this problem. Nevertheless, you
6602 *** may want to report the problem to your system manager and/or to
6603 *** bug-libtool@gnu.org
6613 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6618 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6619 if test -n "$MAGIC_CMD"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6621 $as_echo "$MAGIC_CMD" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6631 if test -z "$lt_cv_path_MAGIC_CMD"; then
6632 if test -n "$ac_tool_prefix"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6634 $as_echo_n "checking for file... " >&6; }
6635 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6640 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6643 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6644 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6645 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6646 for ac_dir
in $ac_dummy; do
6648 test -z "$ac_dir" && ac_dir
=.
6649 if test -f $ac_dir/file; then
6650 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6651 if test -n "$file_magic_test_file"; then
6652 case $deplibs_check_method in
6654 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6655 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6656 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6657 $EGREP "$file_magic_regex" > /dev
/null
; then
6662 *** Warning: the command libtool uses to detect shared libraries,
6663 *** $file_magic_cmd, produces output that libtool cannot recognize.
6664 *** The result is that libtool may fail to recognize shared libraries
6665 *** as such. This will affect the creation of libtool libraries that
6666 *** depend on shared libraries, but programs linked with such libtool
6667 *** libraries will work regardless of this problem. Nevertheless, you
6668 *** may want to report the problem to your system manager and/or to
6669 *** bug-libtool@gnu.org
6679 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6684 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6685 if test -n "$MAGIC_CMD"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6687 $as_echo "$MAGIC_CMD" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6703 # Use C for the default configuration in the libtool script
6707 ac_cpp
='$CPP $CPPFLAGS'
6708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6713 # Source file extension for C test sources.
6716 # Object file extension for compiled C test sources.
6720 # Code to be used in simple compile tests
6721 lt_simple_compile_test_code
="int some_variable = 0;"
6723 # Code to be used in simple link tests
6724 lt_simple_link_test_code
='int main(){return(0);}'
6732 # If no C compiler was specified, use CC.
6735 # If no C compiler flags were specified, use CFLAGS.
6736 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6738 # Allow CC to be a program name with arguments.
6741 # Save the default compiler, since it gets overwritten when the other
6742 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6743 compiler_DEFAULT
=$CC
6745 # save warnings/boilerplate of simple test code
6746 ac_outfile
=conftest.
$ac_objext
6747 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6748 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6749 _lt_compiler_boilerplate
=`cat conftest.err`
6752 ac_outfile
=conftest.
$ac_objext
6753 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6754 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6755 _lt_linker_boilerplate
=`cat conftest.err`
6759 if test -n "$compiler"; then
6761 lt_prog_compiler_no_builtin_flag
=
6763 if test "$GCC" = yes; then
6764 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6767 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6768 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6769 $as_echo_n "(cached) " >&6
6771 lt_cv_prog_compiler_rtti_exceptions
=no
6772 ac_outfile
=conftest.
$ac_objext
6773 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6774 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6775 # Insert the option either (1) after the last *FLAGS variable, or
6776 # (2) before a word containing "conftest.", or (3) at the end.
6777 # Note that $ac_compile itself does not contain backslashes and begins
6778 # with a dollar sign (not a hyphen), so the echo should work correctly.
6779 # The option is referenced via a variable to avoid confusing sed.
6780 lt_compile
=`echo "$ac_compile" | $SED \
6781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6783 -e 's:$: $lt_compiler_flag:'`
6784 (eval echo "\"\$as_me:6784: $lt_compile\"" >&5)
6785 (eval "$lt_compile" 2>conftest.err
)
6787 cat conftest.err
>&5
6788 echo "$as_me:6788: \$? = $ac_status" >&5
6789 if (exit $ac_status) && test -s "$ac_outfile"; then
6790 # The compiler can only warn and ignore the option if not recognized
6791 # So say no if there are warnings other than the usual output.
6792 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6794 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6795 lt_cv_prog_compiler_rtti_exceptions
=yes
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6802 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6804 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6805 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6817 lt_prog_compiler_wl
=
6818 lt_prog_compiler_pic
=
6819 lt_prog_compiler_static
=
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6822 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6824 if test "$GCC" = yes; then
6825 lt_prog_compiler_wl
='-Wl,'
6826 lt_prog_compiler_static
='-static'
6830 # All AIX code is PIC.
6831 if test "$host_cpu" = ia64
; then
6832 # AIX 5 now supports IA64 processor
6833 lt_prog_compiler_static
='-Bstatic'
6840 # see comment about AmigaOS4 .so support
6841 lt_prog_compiler_pic
='-fPIC'
6844 # FIXME: we need at least 68020 code to build shared libraries, but
6845 # adding the `-m68020' flag to GCC prevents building anything better,
6847 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6852 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6853 # PIC is the default for these OSes.
6856 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6857 # This hack is so that the source file can tell whether it is being
6858 # built for inclusion in a dll (and should export symbols for example).
6859 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6860 # (--disable-auto-import) libraries
6861 lt_prog_compiler_pic
='-DDLL_EXPORT'
6864 darwin
* | rhapsody
*)
6865 # PIC is the default on this platform
6866 # Common symbols not allowed in MH_DYLIB files
6867 lt_prog_compiler_pic
='-fno-common'
6871 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6872 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6873 # sets the default TLS model and affects inlining.
6879 lt_prog_compiler_pic
='-fPIC'
6885 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6886 # Instead, we relocate shared libraries at runtime.
6890 # Just because we use GCC doesn't mean we suddenly get shared libraries
6891 # on systems that don't support them.
6892 lt_prog_compiler_can_build_shared
=no
6897 # QNX uses GNU C++, but need to define -shared option too, otherwise
6899 lt_prog_compiler_pic
='-fPIC -shared'
6903 if test -d /usr
/nec
; then
6904 lt_prog_compiler_pic
=-Kconform_pic
6909 lt_prog_compiler_pic
='-fPIC'
6913 # PORTME Check for flag to pass linker flags through the system compiler.
6916 lt_prog_compiler_wl
='-Wl,'
6917 if test "$host_cpu" = ia64
; then
6918 # AIX 5 now supports IA64 processor
6919 lt_prog_compiler_static
='-Bstatic'
6921 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6925 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6926 # This hack is so that the source file can tell whether it is being
6927 # built for inclusion in a dll (and should export symbols for example).
6928 lt_prog_compiler_pic
='-DDLL_EXPORT'
6931 hpux9
* | hpux10
* | hpux11
*)
6932 lt_prog_compiler_wl
='-Wl,'
6933 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6940 lt_prog_compiler_pic
='+Z'
6943 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6944 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6947 irix5
* | irix6
* | nonstopux
*)
6948 lt_prog_compiler_wl
='-Wl,'
6949 # PIC (with -KPIC) is the default.
6950 lt_prog_compiler_static
='-non_shared'
6953 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6954 case $cc_basename in
6955 # old Intel for x86_64 which still supported -KPIC.
6957 lt_prog_compiler_wl
='-Wl,'
6958 lt_prog_compiler_pic
='-KPIC'
6959 lt_prog_compiler_static
='-static'
6961 # icc used to be incompatible with GCC.
6962 # ICC 10 doesn't accept -KPIC any more.
6964 lt_prog_compiler_wl
='-Wl,'
6965 lt_prog_compiler_pic
='-fPIC'
6966 lt_prog_compiler_static
='-static'
6968 # Lahey Fortran 8.1.
6970 lt_prog_compiler_wl
='-Wl,'
6971 lt_prog_compiler_pic
='--shared'
6972 lt_prog_compiler_static
='--static'
6974 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6975 # Portland Group compilers (*not* the Pentium gcc compiler,
6976 # which looks to be a dead project)
6977 lt_prog_compiler_wl
='-Wl,'
6978 lt_prog_compiler_pic
='-fpic'
6979 lt_prog_compiler_static
='-Bstatic'
6982 lt_prog_compiler_wl
='-Wl,'
6983 # All Alpha code is PIC.
6984 lt_prog_compiler_static
='-non_shared'
6987 # IBM XL C 8.0/Fortran 10.1 on PPC
6988 lt_prog_compiler_wl
='-Wl,'
6989 lt_prog_compiler_pic
='-qpic'
6990 lt_prog_compiler_static
='-qstaticlink'
6993 case `$CC -V 2>&1 | sed 5q` in
6996 lt_prog_compiler_pic
='-KPIC'
6997 lt_prog_compiler_static
='-Bstatic'
6998 lt_prog_compiler_wl
='-Wl,'
7001 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7002 lt_prog_compiler_pic
='-KPIC'
7003 lt_prog_compiler_static
='-Bstatic'
7004 lt_prog_compiler_wl
=''
7012 lt_prog_compiler_pic
='-KPIC'
7013 lt_prog_compiler_static
='-Bstatic'
7017 # QNX uses GNU C++, but need to define -shared option too, otherwise
7019 lt_prog_compiler_pic
='-fPIC -shared'
7022 osf3
* | osf4
* | osf5
*)
7023 lt_prog_compiler_wl
='-Wl,'
7024 # All OSF/1 code is PIC.
7025 lt_prog_compiler_static
='-non_shared'
7029 lt_prog_compiler_static
='-non_shared'
7033 lt_prog_compiler_pic
='-KPIC'
7034 lt_prog_compiler_static
='-Bstatic'
7035 case $cc_basename in
7037 lt_prog_compiler_wl
='-Qoption ld ';;
7039 lt_prog_compiler_wl
='-Wl,';;
7044 lt_prog_compiler_wl
='-Qoption ld '
7045 lt_prog_compiler_pic
='-PIC'
7046 lt_prog_compiler_static
='-Bstatic'
7049 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7050 lt_prog_compiler_wl
='-Wl,'
7051 lt_prog_compiler_pic
='-KPIC'
7052 lt_prog_compiler_static
='-Bstatic'
7056 if test -d /usr
/nec
;then
7057 lt_prog_compiler_pic
='-Kconform_pic'
7058 lt_prog_compiler_static
='-Bstatic'
7062 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7063 lt_prog_compiler_wl
='-Wl,'
7064 lt_prog_compiler_pic
='-KPIC'
7065 lt_prog_compiler_static
='-Bstatic'
7069 lt_prog_compiler_wl
='-Wl,'
7070 lt_prog_compiler_can_build_shared
=no
7074 lt_prog_compiler_pic
='-pic'
7075 lt_prog_compiler_static
='-Bstatic'
7079 lt_prog_compiler_can_build_shared
=no
7085 # For platforms which do not support PIC, -DPIC is meaningless:
7087 lt_prog_compiler_pic
=
7090 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7094 $as_echo "$lt_prog_compiler_pic" >&6; }
7102 # Check to make sure the PIC flag actually works.
7104 if test -n "$lt_prog_compiler_pic"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7106 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7107 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7110 lt_cv_prog_compiler_pic_works
=no
7111 ac_outfile
=conftest.
$ac_objext
7112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7113 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7114 # Insert the option either (1) after the last *FLAGS variable, or
7115 # (2) before a word containing "conftest.", or (3) at the end.
7116 # Note that $ac_compile itself does not contain backslashes and begins
7117 # with a dollar sign (not a hyphen), so the echo should work correctly.
7118 # The option is referenced via a variable to avoid confusing sed.
7119 lt_compile
=`echo "$ac_compile" | $SED \
7120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7122 -e 's:$: $lt_compiler_flag:'`
7123 (eval echo "\"\$as_me:7123: $lt_compile\"" >&5)
7124 (eval "$lt_compile" 2>conftest.err
)
7126 cat conftest.err
>&5
7127 echo "$as_me:7127: \$? = $ac_status" >&5
7128 if (exit $ac_status) && test -s "$ac_outfile"; then
7129 # The compiler can only warn and ignore the option if not recognized
7130 # So say no if there are warnings other than the usual output.
7131 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7132 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7133 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7134 lt_cv_prog_compiler_pic_works
=yes
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7141 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7143 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7144 case $lt_prog_compiler_pic in
7146 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7149 lt_prog_compiler_pic
=
7150 lt_prog_compiler_can_build_shared
=no
7161 # Check to make sure the static flag actually works.
7163 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7165 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7166 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7167 $as_echo_n "(cached) " >&6
7169 lt_cv_prog_compiler_static_works
=no
7170 save_LDFLAGS
="$LDFLAGS"
7171 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7172 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7173 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7174 # The linker can only warn and ignore the option if not recognized
7175 # So say no if there are warnings
7176 if test -s conftest.err
; then
7177 # Append any errors to the config.log.
7178 cat conftest.err
1>&5
7179 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7180 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7181 if diff conftest.exp conftest.er2
>/dev
/null
; then
7182 lt_cv_prog_compiler_static_works
=yes
7185 lt_cv_prog_compiler_static_works
=yes
7189 LDFLAGS
="$save_LDFLAGS"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7193 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7195 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7198 lt_prog_compiler_static
=
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7208 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7209 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7212 lt_cv_prog_compiler_c_o
=no
7213 $RM -r conftest
2>/dev
/null
7217 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7219 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7220 # Insert the option either (1) after the last *FLAGS variable, or
7221 # (2) before a word containing "conftest.", or (3) at the end.
7222 # Note that $ac_compile itself does not contain backslashes and begins
7223 # with a dollar sign (not a hyphen), so the echo should work correctly.
7224 lt_compile
=`echo "$ac_compile" | $SED \
7225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7227 -e 's:$: $lt_compiler_flag:'`
7228 (eval echo "\"\$as_me:7228: $lt_compile\"" >&5)
7229 (eval "$lt_compile" 2>out
/conftest.err
)
7231 cat out
/conftest.err
>&5
7232 echo "$as_me:7232: \$? = $ac_status" >&5
7233 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7235 # The compiler can only warn and ignore the option if not recognized
7236 # So say no if there are warnings
7237 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7238 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7239 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7240 lt_cv_prog_compiler_c_o
=yes
7245 # SGI C++ compiler will create directory out/ii_files/ for
7246 # template instantiation
7247 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7248 $RM out
/* && rmdir out
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7255 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7264 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7267 lt_cv_prog_compiler_c_o
=no
7268 $RM -r conftest
2>/dev
/null
7272 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7274 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7275 # Insert the option either (1) after the last *FLAGS variable, or
7276 # (2) before a word containing "conftest.", or (3) at the end.
7277 # Note that $ac_compile itself does not contain backslashes and begins
7278 # with a dollar sign (not a hyphen), so the echo should work correctly.
7279 lt_compile
=`echo "$ac_compile" | $SED \
7280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7282 -e 's:$: $lt_compiler_flag:'`
7283 (eval echo "\"\$as_me:7283: $lt_compile\"" >&5)
7284 (eval "$lt_compile" 2>out
/conftest.err
)
7286 cat out
/conftest.err
>&5
7287 echo "$as_me:7287: \$? = $ac_status" >&5
7288 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7290 # The compiler can only warn and ignore the option if not recognized
7291 # So say no if there are warnings
7292 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7293 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7294 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7295 lt_cv_prog_compiler_c_o
=yes
7300 # SGI C++ compiler will create directory out/ii_files/ for
7301 # template instantiation
7302 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7303 $RM out
/* && rmdir out
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7310 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7315 hard_links
="nottested"
7316 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7317 # do not overwrite the value of need_locks provided by the user
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7319 $as_echo_n "checking if we can lock with hard links... " >&6; }
7322 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7324 ln conftest.a conftest.b
2>&5 || hard_links
=no
7325 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7327 $as_echo "$hard_links" >&6; }
7328 if test "$hard_links" = no
; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7330 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7346 allow_undefined_flag
=
7347 always_export_symbols
=no
7349 archive_expsym_cmds
=
7350 compiler_needs_object
=no
7351 enable_shared_with_static_runtimes
=no
7352 export_dynamic_flag_spec
=
7353 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7354 hardcode_automatic
=no
7356 hardcode_direct_absolute
=no
7357 hardcode_libdir_flag_spec
=
7358 hardcode_libdir_flag_spec_ld
=
7359 hardcode_libdir_separator
=
7361 hardcode_shlibpath_var
=unsupported
7363 link_all_deplibs
=unknown
7366 old_archive_from_new_cmds
=
7367 old_archive_from_expsyms_cmds
=
7368 thread_safe_flag_spec
=
7369 whole_archive_flag_spec
=
7370 # include_expsyms should be a list of space-separated symbols to be *always*
7371 # included in the symbol list
7373 # exclude_expsyms can be an extended regexp of symbols to exclude
7374 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7375 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7376 # as well as any symbol that contains `d'.
7377 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7378 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7379 # platforms (ab)use it in PIC code, but their linkers get confused if
7380 # the symbol is explicitly referenced. Since portable code cannot
7381 # rely on this symbol name, it's probably fine to never include it in
7382 # preloaded symbol tables.
7383 # Exclude shared library initialization/finalization symbols.
7384 extract_expsyms_cmds
=
7387 cygwin
* | mingw
* | pw32
* | cegcc
*)
7388 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7389 # When not using gcc, we currently assume that we are using
7390 # Microsoft Visual C++.
7391 if test "$GCC" != yes; then
7396 # we just hope/assume this is gcc and not c89 (= MSVC++)
7402 linux
* | k
*bsd
*-gnu)
7408 if test "$with_gnu_ld" = yes; then
7409 # If archive_cmds runs LD, not CC, wlarc should be empty
7412 # Set some defaults for GNU ld with shared library support. These
7413 # are reset later if shared libraries are not supported. Putting them
7414 # here allows them to be overridden if necessary.
7415 runpath_var
=LD_RUN_PATH
7416 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7417 export_dynamic_flag_spec
='${wl}--export-dynamic'
7418 # ancient GNU ld didn't support --whole-archive et. al.
7419 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7420 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7422 whole_archive_flag_spec
=
7424 supports_anon_versioning
=no
7425 case `$LD -v 2>&1` in
7426 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7427 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7428 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7429 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7430 *\
2.11.
*) ;; # other 2.11 versions
7431 *) supports_anon_versioning
=yes ;;
7434 # See if GNU ld supports shared libraries.
7437 # On AIX/PPC, the GNU linker is very broken
7438 if test "$host_cpu" != ia64
; then
7442 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7443 *** to be unable to reliably create shared libraries on AIX.
7444 *** Therefore, libtool is disabling shared libraries support. If you
7445 *** really care for shared libraries, you may want to modify your PATH
7446 *** so that a non-GNU linker is found, and then restart.
7455 # see comment about AmigaOS4 .so support
7456 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7457 archive_expsym_cmds
=''
7460 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)'
7461 hardcode_libdir_flag_spec
='-L$libdir'
7462 hardcode_minus_L
=yes
7468 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7469 allow_undefined_flag
=unsupported
7470 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7471 # support --undefined. This deserves some investigation. FIXME
7472 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7478 cygwin
* | mingw
* | pw32
* | cegcc
*)
7479 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7480 # as there is no search path for DLLs.
7481 hardcode_libdir_flag_spec
='-L$libdir'
7482 allow_undefined_flag
=unsupported
7483 always_export_symbols
=no
7484 enable_shared_with_static_runtimes
=yes
7485 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7487 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7488 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7489 # If the export-symbols file already is a .def file (1st line
7490 # is EXPORTS), use it as is; otherwise, prepend...
7491 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7492 cp $export_symbols $output_objdir/$soname.def;
7494 echo EXPORTS > $output_objdir/$soname.def;
7495 cat $export_symbols >> $output_objdir/$soname.def;
7497 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7505 hardcode_shlibpath_var
=no
7506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7507 export_dynamic_flag_spec
='${wl}-E'
7508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7509 # Instead, shared libraries are loaded at an image base (0x10000000 by
7510 # default) and relocated if they conflict, which is a slow very memory
7511 # consuming and fragmenting process. To avoid this, we pick a random,
7512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7514 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7515 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'
7518 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7520 if test "$host_os" = linux
-dietlibc; then
7521 case $cc_basename in
7522 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7526 && test "$tmp_diet" = no
7529 tmp_sharedflag
='-shared'
7530 case $cc_basename,$host_cpu in
7531 pgcc
*) # Portland Group C compiler
7532 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'
7533 tmp_addflag
=' $pic_flag'
7535 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7536 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'
7537 tmp_addflag
=' $pic_flag -Mnomain' ;;
7538 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7539 tmp_addflag
=' -i_dynamic' ;;
7540 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7541 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7542 ifc
* | ifort
*) # Intel Fortran compiler
7543 tmp_addflag
=' -nofor_main' ;;
7544 lf95
*) # Lahey Fortran 8.1
7545 whole_archive_flag_spec
=
7546 tmp_sharedflag
='--shared' ;;
7547 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7548 tmp_sharedflag
='-qmkshrobj'
7551 case `$CC -V 2>&1 | sed 5q` in
7552 *Sun\ C
*) # Sun C 5.9
7553 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'
7554 compiler_needs_object
=yes
7555 tmp_sharedflag
='-G' ;;
7556 *Sun\ F
*) # Sun Fortran 8.3
7557 tmp_sharedflag
='-G' ;;
7559 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7561 if test "x$supports_anon_versioning" = xyes
; then
7562 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7563 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7564 echo "local: *; };" >> $output_objdir/$libname.ver~
7565 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7568 case $cc_basename in
7570 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7571 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7572 hardcode_libdir_flag_spec
=
7573 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7574 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7575 if test "x$supports_anon_versioning" = xyes
; then
7576 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7578 echo "local: *; };" >> $output_objdir/$libname.ver~
7579 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7588 netbsd
* | netbsdelf
*-gnu)
7589 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7590 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7593 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7594 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7599 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7603 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7604 *** create shared libraries on Solaris systems. Therefore, libtool
7605 *** is disabling shared libraries support. We urge you to upgrade GNU
7606 *** binutils to release 2.9.1 or newer. Another option is to modify
7607 *** your PATH or compiler configuration so that the native linker is
7608 *** used, and then restart.
7611 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7612 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7613 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7619 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7620 case `$LD -v 2>&1` in
7621 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7625 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7626 *** reliably create shared libraries on SCO systems. Therefore, libtool
7627 *** is disabling shared libraries support. We urge you to upgrade GNU
7628 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7629 *** your PATH or compiler configuration so that the native linker is
7630 *** used, and then restart.
7635 # For security reasons, it is highly recommended that you always
7636 # use absolute paths for naming shared libraries, and exclude the
7637 # DT_RUNPATH tag from executables and libraries. But doing so
7638 # requires that you compile everything twice, which is a pain.
7639 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7640 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7642 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7651 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7654 hardcode_shlibpath_var
=no
7658 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7660 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7667 if test "$ld_shlibs" = no
; then
7669 hardcode_libdir_flag_spec
=
7670 export_dynamic_flag_spec
=
7671 whole_archive_flag_spec
=
7674 # PORTME fill in a description of your system's linker (not GNU ld)
7677 allow_undefined_flag
=unsupported
7678 always_export_symbols
=yes
7679 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'
7680 # Note: this linker hardcodes the directories in LIBPATH if there
7681 # are no directories specified by -L.
7682 hardcode_minus_L
=yes
7683 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7684 # Neither direct hardcoding nor static linking is supported with a
7686 hardcode_direct
=unsupported
7691 if test "$host_cpu" = ia64
; then
7692 # On IA64, the linker does run time linking by default, so we don't
7693 # have to do anything special.
7694 aix_use_runtimelinking
=no
7695 exp_sym_flag
='-Bexport'
7698 # If we're using GNU nm, then we don't want the "-C" option.
7699 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7700 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7701 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'
7703 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'
7705 aix_use_runtimelinking
=no
7707 # Test if we are trying to use run time linking or normal
7708 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7709 # need to do runtime linking.
7710 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7711 for ld_flag
in $LDFLAGS; do
7712 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7713 aix_use_runtimelinking
=yes
7720 exp_sym_flag
='-bexport'
7721 no_entry_flag
='-bnoentry'
7724 # When large executables or shared objects are built, AIX ld can
7725 # have problems creating the table of contents. If linking a library
7726 # or program results in "error TOC overflow" add -mminimal-toc to
7727 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7728 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7732 hardcode_direct_absolute
=yes
7733 hardcode_libdir_separator
=':'
7734 link_all_deplibs
=yes
7735 file_list_spec
='${wl}-f,'
7737 if test "$GCC" = yes; then
7738 case $host_os in aix4.
[012]|aix4.
[012].
*)
7739 # We only want to do this on AIX 4.2 and lower, the check
7740 # below for broken collect2 doesn't work under 4.3+
7741 collect2name
=`${CC} -print-prog-name=collect2`
7742 if test -f "$collect2name" &&
7743 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7745 # We have reworked collect2
7748 # We have old collect2
7749 hardcode_direct
=unsupported
7750 # It fails to find uninstalled libraries when the uninstalled
7751 # path is not listed in the libpath. Setting hardcode_minus_L
7752 # to unsupported forces relinking
7753 hardcode_minus_L
=yes
7754 hardcode_libdir_flag_spec
='-L$libdir'
7755 hardcode_libdir_separator
=
7759 shared_flag
='-shared'
7760 if test "$aix_use_runtimelinking" = yes; then
7761 shared_flag
="$shared_flag "'${wl}-G'
7766 if test "$host_cpu" = ia64
; then
7767 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7768 # chokes on -Wl,-G. The following line is correct:
7771 if test "$aix_use_runtimelinking" = yes; then
7772 shared_flag
='${wl}-G'
7774 shared_flag
='${wl}-bM:SRE'
7779 export_dynamic_flag_spec
='${wl}-bexpall'
7780 # It seems that -bexpall does not export symbols beginning with
7781 # underscore (_), so it is better to generate a list of symbols to export.
7782 always_export_symbols
=yes
7783 if test "$aix_use_runtimelinking" = yes; then
7784 # Warning - without using the other runtime loading flags (-brtl),
7785 # -berok will link without error, but may produce a broken library.
7786 allow_undefined_flag
='-berok'
7787 # Determine the default libpath from the value encoded in an
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7800 if ac_fn_c_try_link
"$LINENO"; then :
7802 lt_aix_libpath_sed
='
7803 /Import File Strings/,/^$/ {
7809 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7810 # Check for a 64-bit object if we didn't find anything.
7811 if test -z "$aix_libpath"; then
7812 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7815 rm -f core conftest.err conftest.
$ac_objext \
7816 conftest
$ac_exeext conftest.
$ac_ext
7817 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7819 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7820 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"
7822 if test "$host_cpu" = ia64
; then
7823 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7824 allow_undefined_flag
="-z nodefs"
7825 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"
7827 # Determine the default libpath from the value encoded in an
7829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7840 if ac_fn_c_try_link
"$LINENO"; then :
7842 lt_aix_libpath_sed
='
7843 /Import File Strings/,/^$/ {
7849 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7850 # Check for a 64-bit object if we didn't find anything.
7851 if test -z "$aix_libpath"; then
7852 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7855 rm -f core conftest.err conftest.
$ac_objext \
7856 conftest
$ac_exeext conftest.
$ac_ext
7857 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7859 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7860 # Warning - without using the other run time loading flags,
7861 # -berok will link without error, but may produce a broken library.
7862 no_undefined_flag
=' ${wl}-bernotok'
7863 allow_undefined_flag
=' ${wl}-berok'
7864 # Exported symbols can be pulled into shared objects from archives
7865 whole_archive_flag_spec
='$convenience'
7866 archive_cmds_need_lc
=yes
7867 # This is similar to how AIX traditionally builds its shared libraries.
7868 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'
7876 # see comment about AmigaOS4 .so support
7877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7878 archive_expsym_cmds
=''
7881 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)'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_minus_L
=yes
7889 export_dynamic_flag_spec
=-rdynamic
7892 cygwin
* | mingw
* | pw32
* | cegcc
*)
7893 # When not using gcc, we currently assume that we are using
7894 # Microsoft Visual C++.
7895 # hardcode_libdir_flag_spec is actually meaningless, as there is
7896 # no search path for DLLs.
7897 hardcode_libdir_flag_spec
=' '
7898 allow_undefined_flag
=unsupported
7899 # Tell ltmain to make .lib files, not .a files.
7901 # Tell ltmain to make .dll files, not .so files.
7903 # FIXME: Setting linknames here is a bad hack.
7904 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7905 # The linker will automatically build a .lib file if we build a DLL.
7906 old_archive_from_new_cmds
='true'
7907 # FIXME: Should let the user specify the lib program.
7908 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7909 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7910 enable_shared_with_static_runtimes
=yes
7913 darwin
* | rhapsody
*)
7916 archive_cmds_need_lc
=no
7918 hardcode_automatic
=yes
7919 hardcode_shlibpath_var
=unsupported
7920 whole_archive_flag_spec
=''
7921 link_all_deplibs
=yes
7922 allow_undefined_flag
="$_lt_dar_allow_undefined"
7923 case $cc_basename in
7924 ifort
*) _lt_dar_can_shared
=yes ;;
7925 *) _lt_dar_can_shared
=$GCC ;;
7927 if test "$_lt_dar_can_shared" = "yes"; then
7928 output_verbose_link_cmd
=echo
7929 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7930 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7931 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}"
7932 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}"
7941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7942 hardcode_libdir_flag_spec
='-L$libdir'
7943 hardcode_shlibpath_var
=no
7950 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7951 # support. Future versions do this automatically, but an explicit c++rt0.o
7952 # does not break anything, and helps significantly (at the cost of a little
7955 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7956 hardcode_libdir_flag_spec
='-R$libdir'
7958 hardcode_shlibpath_var
=no
7961 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7963 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7965 hardcode_minus_L
=yes
7966 hardcode_shlibpath_var
=no
7969 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7970 freebsd
* | dragonfly
*)
7971 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7972 hardcode_libdir_flag_spec
='-R$libdir'
7974 hardcode_shlibpath_var
=no
7978 if test "$GCC" = yes; then
7979 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'
7981 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'
7983 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7984 hardcode_libdir_separator
=:
7987 # hardcode_minus_L: Not really in the search PATH,
7988 # but as the default location of the library.
7989 hardcode_minus_L
=yes
7990 export_dynamic_flag_spec
='${wl}-E'
7994 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7995 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7997 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7999 if test "$with_gnu_ld" = no
; then
8000 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8001 hardcode_libdir_flag_spec_ld
='+b $libdir'
8002 hardcode_libdir_separator
=:
8004 hardcode_direct_absolute
=yes
8005 export_dynamic_flag_spec
='${wl}-E'
8006 # hardcode_minus_L: Not really in the search PATH,
8007 # but as the default location of the library.
8008 hardcode_minus_L
=yes
8013 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8016 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8019 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8022 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8028 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8034 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8038 if test "$with_gnu_ld" = no
; then
8039 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8040 hardcode_libdir_separator
=:
8045 hardcode_shlibpath_var
=no
8049 hardcode_direct_absolute
=yes
8050 export_dynamic_flag_spec
='${wl}-E'
8052 # hardcode_minus_L: Not really in the search PATH,
8053 # but as the default location of the library.
8054 hardcode_minus_L
=yes
8060 irix5
* | irix6
* | nonstopux
*)
8061 if test "$GCC" = yes; then
8062 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'
8063 # Try to use the -exported_symbol ld option, if it does not
8064 # work, assume that -exports_file does not work either and
8065 # implicitly export all symbols.
8066 save_LDFLAGS
="$LDFLAGS"
8067 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8072 if ac_fn_c_try_link
"$LINENO"; then :
8073 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'
8076 rm -f core conftest.err conftest.
$ac_objext \
8077 conftest
$ac_exeext conftest.
$ac_ext
8078 LDFLAGS
="$save_LDFLAGS"
8080 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'
8081 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'
8083 archive_cmds_need_lc
='no'
8084 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8085 hardcode_libdir_separator
=:
8087 link_all_deplibs
=yes
8090 netbsd
* | netbsdelf
*-gnu)
8091 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8092 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8094 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8096 hardcode_libdir_flag_spec
='-R$libdir'
8098 hardcode_shlibpath_var
=no
8102 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8104 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8105 hardcode_libdir_separator
=:
8106 hardcode_shlibpath_var
=no
8113 if test -f /usr
/libexec
/ld.so
; then
8115 hardcode_shlibpath_var
=no
8116 hardcode_direct_absolute
=yes
8117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8118 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8119 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8120 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8121 export_dynamic_flag_spec
='${wl}-E'
8124 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8125 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8126 hardcode_libdir_flag_spec
='-R$libdir'
8129 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8130 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8140 hardcode_libdir_flag_spec
='-L$libdir'
8141 hardcode_minus_L
=yes
8142 allow_undefined_flag
=unsupported
8143 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'
8144 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8148 if test "$GCC" = yes; then
8149 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8150 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'
8152 allow_undefined_flag
=' -expect_unresolved \*'
8153 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'
8155 archive_cmds_need_lc
='no'
8156 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8157 hardcode_libdir_separator
=:
8160 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8161 if test "$GCC" = yes; then
8162 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8163 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'
8164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8166 allow_undefined_flag
=' -expect_unresolved \*'
8167 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'
8168 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~
8169 $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'
8171 # Both c and cxx compiler support -rpath directly
8172 hardcode_libdir_flag_spec
='-rpath $libdir'
8174 archive_cmds_need_lc
='no'
8175 hardcode_libdir_separator
=:
8179 no_undefined_flag
=' -z defs'
8180 if test "$GCC" = yes; then
8182 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8183 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8184 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8186 case `$CC -V 2>&1` in
8189 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8190 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8191 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8195 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8196 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8197 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8201 hardcode_libdir_flag_spec
='-R$libdir'
8202 hardcode_shlibpath_var
=no
8204 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8206 # The compiler driver will combine and reorder linker options,
8207 # but understands `-z linker_flag'. GCC discards it without `$wl',
8208 # but is careful enough not to reorder.
8209 # Supported since Solaris 2.6 (maybe 2.5.1?)
8210 if test "$GCC" = yes; then
8211 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8213 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8217 link_all_deplibs
=yes
8221 if test "x$host_vendor" = xsequent
; then
8222 # Use $CC to link under sequent, because it throws in some extra .o
8223 # files that make .init and .fini sections work.
8224 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8226 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8228 hardcode_libdir_flag_spec
='-L$libdir'
8230 hardcode_minus_L
=yes
8231 hardcode_shlibpath_var
=no
8235 case $host_vendor in
8237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8238 hardcode_direct
=yes # is this really true???
8241 ## LD is ld it makes a PLAMLIB
8242 ## CC just makes a GrossModule.
8243 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8244 reload_cmds
='$CC -r -o $output$reload_objs'
8248 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8249 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8252 runpath_var
='LD_RUN_PATH'
8253 hardcode_shlibpath_var
=no
8257 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8258 hardcode_shlibpath_var
=no
8259 export_dynamic_flag_spec
='-Bexport'
8263 if test -d /usr
/nec
; then
8264 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8265 hardcode_shlibpath_var
=no
8266 runpath_var
=LD_RUN_PATH
8267 hardcode_runpath_var
=yes
8272 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8273 no_undefined_flag
='${wl}-z,text'
8274 archive_cmds_need_lc
=no
8275 hardcode_shlibpath_var
=no
8276 runpath_var
='LD_RUN_PATH'
8278 if test "$GCC" = yes; then
8279 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8283 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8287 sysv5
* | sco3.2v5
* | sco5v6
*)
8288 # Note: We can NOT use -z defs as we might desire, because we do not
8289 # link with -lc, and that would cause any symbols used from libc to
8290 # always be unresolved, which means just about no library would
8291 # ever link correctly. If we're not using GNU ld we use -z text
8292 # though, which does catch some bad symbols but isn't as heavy-handed
8294 no_undefined_flag
='${wl}-z,text'
8295 allow_undefined_flag
='${wl}-z,nodefs'
8296 archive_cmds_need_lc
=no
8297 hardcode_shlibpath_var
=no
8298 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8299 hardcode_libdir_separator
=':'
8300 link_all_deplibs
=yes
8301 export_dynamic_flag_spec
='${wl}-Bexport'
8302 runpath_var
='LD_RUN_PATH'
8304 if test "$GCC" = yes; then
8305 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8306 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8308 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8309 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8315 hardcode_libdir_flag_spec
='-L$libdir'
8316 hardcode_shlibpath_var
=no
8324 if test x
$host_vendor = xsni
; then
8326 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8327 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8334 $as_echo "$ld_shlibs" >&6; }
8335 test "$ld_shlibs" = no
&& can_build_shared
=no
8337 with_gnu_ld
=$with_gnu_ld
8354 # Do we need to explicitly link libc?
8356 case "x$archive_cmds_need_lc" in
8358 # Assume -lc should be added
8359 archive_cmds_need_lc
=yes
8361 if test "$enable_shared" = yes && test "$GCC" = yes; then
8362 case $archive_cmds in
8364 # FIXME: we may have to deal with multi-command sequences.
8367 # Test whether the compiler implicitly links with -lc since on some
8368 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8369 # to ld, don't add -lc before -lgcc.
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8371 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8376 (eval $ac_compile) 2>&5
8378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8379 test $ac_status = 0; } 2>conftest.err
; then
8382 libobjs
=conftest.
$ac_objext
8384 wl
=$lt_prog_compiler_wl
8385 pic_flag
=$lt_prog_compiler_pic
8391 lt_save_allow_undefined_flag
=$allow_undefined_flag
8392 allow_undefined_flag
=
8393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8394 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8397 test $ac_status = 0; }
8399 archive_cmds_need_lc
=no
8401 archive_cmds_need_lc
=yes
8403 allow_undefined_flag
=$lt_save_allow_undefined_flag
8405 cat conftest.err
1>&5
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8409 $as_echo "$archive_cmds_need_lc" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8573 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8575 if test "$GCC" = yes; then
8577 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8578 *) lt_awk_arg
="/^libraries:/" ;;
8580 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8581 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8582 # if the path contains ";" then we assume it to be the separator
8583 # otherwise default to the standard path separator (i.e. ":") - it is
8584 # assumed that no part of a normal pathname contains ";" but that should
8585 # okay in the real world where ";" in dirpaths is itself problematic.
8586 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8588 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8590 # Ok, now we have the path, separated by spaces, we can step through it
8591 # and add multilib dir if necessary.
8592 lt_tmp_lt_search_path_spec
=
8593 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8594 for lt_sys_path
in $lt_search_path_spec; do
8595 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8596 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8598 test -d "$lt_sys_path" && \
8599 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8602 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8603 BEGIN {RS=" "; FS="/|\n";} {
8606 for (lt_i = NF; lt_i > 0; lt_i--) {
8607 if ($lt_i != "" && $lt_i != ".") {
8608 if ($lt_i == "..") {
8611 if (lt_count == 0) {
8612 lt_foo="/" $lt_i lt_foo;
8619 if (lt_foo != "") { lt_freq[lt_foo]++; }
8620 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8622 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8624 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8627 libname_spec
='lib$name'
8635 shlibpath_overrides_runpath
=unknown
8637 dynamic_linker
="$host_os ld.so"
8638 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8639 need_lib_prefix
=unknown
8640 hardcode_into_libs
=no
8642 # when you set need_version to no, make sure it does not cause -set_version
8643 # flags to be left without arguments
8644 need_version
=unknown
8649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8650 shlibpath_var
=LIBPATH
8652 # AIX 3 has no versioning support, so we append a major version to the name.
8653 soname_spec
='${libname}${release}${shared_ext}$major'
8660 hardcode_into_libs
=yes
8661 if test "$host_cpu" = ia64
; then
8662 # AIX 5 supports IA64
8663 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8664 shlibpath_var
=LD_LIBRARY_PATH
8666 # With GCC up to 2.95.x, collect2 would create an import file
8667 # for dependence libraries. The import file would start with
8668 # the line `#! .'. This would cause the generated library to
8669 # depend on `.', always an invalid library. This was fixed in
8670 # development snapshots of GCC prior to 3.0.
8672 aix4
| aix4.
[01] | aix4.
[01].
*)
8673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8675 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8683 # soname into executable. Probably we can add versioning support to
8684 # collect2, so additional links can be useful in future.
8685 if test "$aix_use_runtimelinking" = yes; then
8686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8687 # instead of lib<name>.a to let people know that these are not
8688 # typical AIX shared libraries.
8689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8691 # We preserve .a as extension for shared libraries through AIX4.2
8692 # and later when we are not doing run time linking.
8693 library_names_spec
='${libname}${release}.a $libname.a'
8694 soname_spec
='${libname}${release}${shared_ext}$major'
8696 shlibpath_var
=LIBPATH
8703 # Since July 2007 AmigaOS4 officially supports .so libraries.
8704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8708 library_names_spec
='$libname.ixlibrary $libname.a'
8709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8710 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'
8716 library_names_spec
='${libname}${shared_ext}'
8717 dynamic_linker
="$host_os ld.so"
8718 shlibpath_var
=LIBRARY_PATH
8724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8725 soname_spec
='${libname}${release}${shared_ext}$major'
8726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8727 shlibpath_var
=LD_LIBRARY_PATH
8728 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8729 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8730 # the default ld.so.conf also contains /usr/contrib/lib and
8731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8732 # libtool to hard-code these into programs
8735 cygwin
* | mingw
* | pw32
* | cegcc
*)
8736 version_type
=windows
8741 case $GCC,$host_os in
8742 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8743 library_names_spec
='$libname.dll.a'
8744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8745 postinstall_cmds
='base_file=`basename \${file}`~
8746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8747 dldir=$destdir/`dirname \$dlpath`~
8748 test -d \$dldir || mkdir -p \$dldir~
8749 $install_prog $dir/$dlname \$dldir/$dlname~
8750 chmod a+x \$dldir/$dlname~
8751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8755 dlpath=$dir/\$dldll~
8757 shlibpath_overrides_runpath
=yes
8761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8762 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8763 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8766 # MinGW DLLs use traditional 'lib' prefix
8767 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8768 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8769 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8770 # It is most probably a Windows format PATH printed by
8771 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8772 # path with ; separators, and with drive letters. We can handle the
8773 # drive letters (cygwin fileutils understands them), so leave them,
8774 # especially as we might pass files found there to a mingw objdump,
8775 # which wouldn't understand a cygwinified path. Ahh.
8776 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8778 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8782 # pw32 DLLs use 'pw' prefix rather than 'lib'
8783 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8789 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8792 dynamic_linker
='Win32 ld.exe'
8793 # FIXME: first we should search . and the directory the executable is in
8797 darwin
* | rhapsody
*)
8798 dynamic_linker
="$host_os dyld"
8802 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8803 soname_spec
='${libname}${release}${major}$shared_ext'
8804 shlibpath_overrides_runpath
=yes
8805 shlibpath_var
=DYLD_LIBRARY_PATH
8806 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8808 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8809 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8817 soname_spec
='${libname}${release}${shared_ext}$major'
8818 shlibpath_var
=LD_LIBRARY_PATH
8825 freebsd
* | dragonfly
*)
8826 # DragonFly does not have aout. When/if they implement a new
8827 # versioning mechanism, adjust this.
8828 if test -x /usr
/bin
/objformat
; then
8829 objformat
=`/usr/bin/objformat`
8832 freebsd
[123]*) objformat
=aout
;;
8836 version_type
=freebsd
-$objformat
8837 case $version_type in
8839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8848 shlibpath_var
=LD_LIBRARY_PATH
8851 shlibpath_overrides_runpath
=yes
8853 freebsd3.
[01]* | freebsdelf3.
[01]*)
8854 shlibpath_overrides_runpath
=yes
8855 hardcode_into_libs
=yes
8857 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8858 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8859 shlibpath_overrides_runpath
=no
8860 hardcode_into_libs
=yes
8862 *) # from 4.6 on, and DragonFly
8863 shlibpath_overrides_runpath
=yes
8864 hardcode_into_libs
=yes
8873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8874 soname_spec
='${libname}${release}${shared_ext}$major'
8875 shlibpath_var
=LD_LIBRARY_PATH
8876 hardcode_into_libs
=yes
8879 hpux9
* | hpux10
* | hpux11
*)
8880 # Give a soname corresponding to the major version so that dld.sl refuses to
8881 # link against other versions.
8888 hardcode_into_libs
=yes
8889 dynamic_linker
="$host_os dld.so"
8890 shlibpath_var
=LD_LIBRARY_PATH
8891 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8893 soname_spec
='${libname}${release}${shared_ext}$major'
8894 if test "X$HPUX_IA64_MODE" = X32
; then
8895 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8897 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8903 hardcode_into_libs
=yes
8904 dynamic_linker
="$host_os dld.sl"
8905 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8908 soname_spec
='${libname}${release}${shared_ext}$major'
8909 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8914 dynamic_linker
="$host_os dld.sl"
8915 shlibpath_var
=SHLIB_PATH
8916 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8918 soname_spec
='${libname}${release}${shared_ext}$major'
8921 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8922 postinstall_cmds
='chmod 555 $lib'
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8930 soname_spec
='${libname}${release}${shared_ext}$major'
8931 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8932 shlibpath_var
=LD_LIBRARY_PATH
8933 shlibpath_overrides_runpath
=no
8934 hardcode_into_libs
=yes
8937 irix5
* | irix6
* | nonstopux
*)
8939 nonstopux
*) version_type
=nonstopux
;;
8941 if test "$lt_cv_prog_gnu_ld" = yes; then
8949 soname_spec
='${libname}${release}${shared_ext}$major'
8950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8952 irix5
* | nonstopux
*)
8956 case $LD in # libtool.m4 will add one of these switches to LD
8957 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8958 libsuff
= shlibsuff
= libmagic
=32-bit;;
8959 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8960 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8961 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8962 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8963 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8967 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8968 shlibpath_overrides_runpath
=no
8969 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8970 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8971 hardcode_into_libs
=yes
8974 # No shared lib support for Linux oldld, aout, or coff.
8975 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8979 # This must be Linux ELF.
8980 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8985 soname_spec
='${libname}${release}${shared_ext}$major'
8986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8987 shlibpath_var
=LD_LIBRARY_PATH
8988 shlibpath_overrides_runpath
=no
8989 # Some binutils ld are patched to set DT_RUNPATH
8990 save_LDFLAGS
=$LDFLAGS
8992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
9005 if ac_fn_c_try_link
"$LINENO"; then :
9006 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9007 shlibpath_overrides_runpath
=yes
9010 rm -f core conftest.err conftest.
$ac_objext \
9011 conftest
$ac_exeext conftest.
$ac_ext
9012 LDFLAGS
=$save_LDFLAGS
9015 # This implies no fast_install, which is unacceptable.
9016 # Some rework will be needed to allow for fast_install
9017 # before this can be enabled.
9018 hardcode_into_libs
=yes
9020 # Append ld.so.conf contents to the search path
9021 if test -f /etc
/ld.so.conf
; then
9022 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' ' '`
9023 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9026 # We used to test for /lib/ld.so.1 and disable shared libraries on
9027 # powerpc, because MkLinux only supported shared libraries with the
9028 # GNU dynamic linker. Since this was broken with cross compilers,
9029 # most powerpc-linux boxes support dynamic linking these days and
9030 # people can always --disable-shared, the test was removed, and we
9031 # assume the GNU/Linux dynamic linker is in use.
9032 dynamic_linker
='GNU/Linux ld.so'
9039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9040 soname_spec
='${libname}${release}${shared_ext}$major'
9041 shlibpath_var
=LD_LIBRARY_PATH
9042 shlibpath_overrides_runpath
=no
9043 hardcode_into_libs
=yes
9044 dynamic_linker
='NetBSD ld.elf_so'
9051 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9053 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9054 dynamic_linker
='NetBSD (a.out) ld.so'
9056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9057 soname_spec
='${libname}${release}${shared_ext}$major'
9058 dynamic_linker
='NetBSD ld.elf_so'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath
=yes
9062 hardcode_into_libs
=yes
9067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9068 shlibpath_var
=LD_LIBRARY_PATH
9069 shlibpath_overrides_runpath
=yes
9076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9077 soname_spec
='${libname}${release}${shared_ext}$major'
9078 shlibpath_var
=LD_LIBRARY_PATH
9079 shlibpath_overrides_runpath
=no
9080 hardcode_into_libs
=yes
9081 dynamic_linker
='ldqnx.so'
9086 sys_lib_dlsearch_path_spec
="/usr/lib"
9088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9090 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9091 *) need_version
=no
;;
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9095 shlibpath_var
=LD_LIBRARY_PATH
9096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9098 openbsd2.
[89] | openbsd2.
[89].
*)
9099 shlibpath_overrides_runpath
=no
9102 shlibpath_overrides_runpath
=yes
9106 shlibpath_overrides_runpath
=yes
9111 libname_spec
='$name'
9114 library_names_spec
='$libname${shared_ext} $libname.a'
9115 dynamic_linker
='OS/2 ld.exe'
9116 shlibpath_var
=LIBPATH
9119 osf3
* | osf4
* | osf5
*)
9123 soname_spec
='${libname}${release}${shared_ext}$major'
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9125 shlibpath_var
=LD_LIBRARY_PATH
9126 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9127 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9139 soname_spec
='${libname}${release}${shared_ext}$major'
9140 shlibpath_var
=LD_LIBRARY_PATH
9141 shlibpath_overrides_runpath
=yes
9142 hardcode_into_libs
=yes
9143 # ldd complains unless libraries are executable
9144 postinstall_cmds
='chmod +x $lib'
9149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9150 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9151 shlibpath_var
=LD_LIBRARY_PATH
9152 shlibpath_overrides_runpath
=yes
9153 if test "$with_gnu_ld" = yes; then
9161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9162 soname_spec
='${libname}${release}${shared_ext}$major'
9163 shlibpath_var
=LD_LIBRARY_PATH
9164 case $host_vendor in
9166 shlibpath_overrides_runpath
=no
9168 runpath_var
=LD_RUN_PATH
9176 shlibpath_overrides_runpath
=no
9177 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9183 if test -d /usr
/nec
;then
9185 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9186 soname_spec
='$libname${shared_ext}.$major'
9187 shlibpath_var
=LD_LIBRARY_PATH
9191 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9192 version_type
=freebsd
-elf
9195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9196 soname_spec
='${libname}${release}${shared_ext}$major'
9197 shlibpath_var
=LD_LIBRARY_PATH
9198 shlibpath_overrides_runpath
=yes
9199 hardcode_into_libs
=yes
9200 if test "$with_gnu_ld" = yes; then
9201 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9203 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9206 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9210 sys_lib_dlsearch_path_spec
='/usr/lib'
9214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=no
9221 hardcode_into_libs
=yes
9226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9227 soname_spec
='${libname}${release}${shared_ext}$major'
9228 shlibpath_var
=LD_LIBRARY_PATH
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9236 $as_echo "$dynamic_linker" >&6; }
9237 test "$dynamic_linker" = no
&& can_build_shared
=no
9239 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9240 if test "$GCC" = yes; then
9241 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9245 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9248 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9338 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9340 if test -n "$hardcode_libdir_flag_spec" ||
9341 test -n "$runpath_var" ||
9342 test "X$hardcode_automatic" = "Xyes" ; then
9344 # We can hardcode non-existent directories.
9345 if test "$hardcode_direct" != no
&&
9346 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9347 # have to relink, otherwise we might link with an installed library
9348 # when we should be linking with a yet-to-be-installed one
9349 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9350 test "$hardcode_minus_L" != no
; then
9351 # Linking always hardcodes the temporary library directory.
9352 hardcode_action
=relink
9354 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9355 hardcode_action
=immediate
9358 # We cannot hardcode anything, or else we can only hardcode existing
9360 hardcode_action
=unsupported
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9363 $as_echo "$hardcode_action" >&6; }
9365 if test "$hardcode_action" = relink
||
9366 test "$inherit_rpath" = yes; then
9367 # Fast installation is not supported
9368 enable_fast_install
=no
9369 elif test "$shlibpath_overrides_runpath" = yes ||
9370 test "$enable_shared" = no
; then
9371 # Fast installation is not necessary
9372 enable_fast_install
=needless
9380 if test "x$enable_dlopen" != xyes
; then
9381 enable_dlopen
=unknown
9382 enable_dlopen_self
=unknown
9383 enable_dlopen_self_static
=unknown
9390 lt_cv_dlopen
="load_add_on"
9392 lt_cv_dlopen_self
=yes
9395 mingw
* | pw32
* | cegcc
*)
9396 lt_cv_dlopen
="LoadLibrary"
9401 lt_cv_dlopen
="dlopen"
9406 # if libdl is installed we need to link against it
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9408 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9410 $as_echo_n "(cached) " >&6
9412 ac_check_lib_save_LIBS
=$LIBS
9414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9432 if ac_fn_c_try_link
"$LINENO"; then :
9433 ac_cv_lib_dl_dlopen
=yes
9435 ac_cv_lib_dl_dlopen
=no
9437 rm -f core conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_lib_save_LIBS
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9442 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9443 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9444 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9449 lt_cv_dlopen_self
=yes
9456 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9457 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9458 lt_cv_dlopen
="shl_load"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9461 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9463 $as_echo_n "(cached) " >&6
9465 ac_check_lib_save_LIBS
=$LIBS
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9485 if ac_fn_c_try_link
"$LINENO"; then :
9486 ac_cv_lib_dld_shl_load
=yes
9488 ac_cv_lib_dld_shl_load
=no
9490 rm -f core conftest.err conftest.
$ac_objext \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 LIBS
=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9495 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9496 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9497 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9499 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9500 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9501 lt_cv_dlopen
="dlopen"
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9504 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9505 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9506 $as_echo_n "(cached) " >&6
9508 ac_check_lib_save_LIBS
=$LIBS
9510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9528 if ac_fn_c_try_link
"$LINENO"; then :
9529 ac_cv_lib_dl_dlopen
=yes
9531 ac_cv_lib_dl_dlopen
=no
9533 rm -f core conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9538 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9539 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9540 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9543 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9544 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9545 $as_echo_n "(cached) " >&6
9547 ac_check_lib_save_LIBS
=$LIBS
9549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9567 if ac_fn_c_try_link
"$LINENO"; then :
9568 ac_cv_lib_svld_dlopen
=yes
9570 ac_cv_lib_svld_dlopen
=no
9572 rm -f core conftest.err conftest.
$ac_objext \
9573 conftest
$ac_exeext conftest.
$ac_ext
9574 LIBS
=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9577 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9578 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9582 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9583 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9584 $as_echo_n "(cached) " >&6
9586 ac_check_lib_save_LIBS
=$LIBS
9588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9606 if ac_fn_c_try_link
"$LINENO"; then :
9607 ac_cv_lib_dld_dld_link
=yes
9609 ac_cv_lib_dld_dld_link
=no
9611 rm -f core conftest.err conftest.
$ac_objext \
9612 conftest
$ac_exeext conftest.
$ac_ext
9613 LIBS
=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9616 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9617 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9618 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9639 if test "x$lt_cv_dlopen" != xno
; then
9645 case $lt_cv_dlopen in
9647 save_CPPFLAGS
="$CPPFLAGS"
9648 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9650 save_LDFLAGS
="$LDFLAGS"
9651 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9654 LIBS
="$lt_cv_dlopen_libs $LIBS"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9657 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9658 if test "${lt_cv_dlopen_self+set}" = set; then :
9659 $as_echo_n "(cached) " >&6
9661 if test "$cross_compiling" = yes; then :
9662 lt_cv_dlopen_self
=cross
9664 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9665 lt_status
=$lt_dlunknown
9666 cat > conftest.
$ac_ext <<_LT_EOF
9667 #line 9667 "configure"
9668 #include "confdefs.h"
9677 # define LT_DLGLOBAL RTLD_GLOBAL
9680 # define LT_DLGLOBAL DL_GLOBAL
9682 # define LT_DLGLOBAL 0
9686 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9687 find out it does not work in some platform. */
9688 #ifndef LT_DLLAZY_OR_NOW
9690 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9693 # define LT_DLLAZY_OR_NOW DL_LAZY
9696 # define LT_DLLAZY_OR_NOW RTLD_NOW
9699 # define LT_DLLAZY_OR_NOW DL_NOW
9701 # define LT_DLLAZY_OR_NOW 0
9708 void fnord() { int i=42;}
9711 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9712 int status = $lt_dlunknown;
9716 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9717 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9718 /* dlclose (self); */
9726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9727 (eval $ac_link) 2>&5
9729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9730 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9731 (.
/conftest
; exit; ) >&5 2>/dev
/null
9734 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9735 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9736 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9739 # compilation failed
9740 lt_cv_dlopen_self
=no
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9748 $as_echo "$lt_cv_dlopen_self" >&6; }
9750 if test "x$lt_cv_dlopen_self" = xyes
; then
9751 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9753 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9754 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9755 $as_echo_n "(cached) " >&6
9757 if test "$cross_compiling" = yes; then :
9758 lt_cv_dlopen_self_static
=cross
9760 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9761 lt_status
=$lt_dlunknown
9762 cat > conftest.
$ac_ext <<_LT_EOF
9763 #line 9763 "configure"
9764 #include "confdefs.h"
9773 # define LT_DLGLOBAL RTLD_GLOBAL
9776 # define LT_DLGLOBAL DL_GLOBAL
9778 # define LT_DLGLOBAL 0
9782 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9783 find out it does not work in some platform. */
9784 #ifndef LT_DLLAZY_OR_NOW
9786 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9789 # define LT_DLLAZY_OR_NOW DL_LAZY
9792 # define LT_DLLAZY_OR_NOW RTLD_NOW
9795 # define LT_DLLAZY_OR_NOW DL_NOW
9797 # define LT_DLLAZY_OR_NOW 0
9804 void fnord() { int i=42;}
9807 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9808 int status = $lt_dlunknown;
9812 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9813 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9814 /* dlclose (self); */
9822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9823 (eval $ac_link) 2>&5
9825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9826 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9827 (.
/conftest
; exit; ) >&5 2>/dev
/null
9830 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9831 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9832 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9835 # compilation failed
9836 lt_cv_dlopen_self_static
=no
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9844 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9847 CPPFLAGS
="$save_CPPFLAGS"
9848 LDFLAGS
="$save_LDFLAGS"
9853 case $lt_cv_dlopen_self in
9854 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9855 *) enable_dlopen_self
=unknown
;;
9858 case $lt_cv_dlopen_self_static in
9859 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9860 *) enable_dlopen_self_static
=unknown
;;
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9883 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9884 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9885 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9886 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 $as_echo "yes" >&6; }
9890 # FIXME - insert some real tests, host_os isn't really good enough
9893 if test -n "$STRIP" ; then
9894 striplib
="$STRIP -x"
9895 old_striplib
="$STRIP -S"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9897 $as_echo "yes" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 $as_echo "no" >&6; }
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9905 $as_echo "no" >&6; }
9921 # Report which library types will actually be built
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9923 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9925 $as_echo "$can_build_shared" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9928 $as_echo_n "checking whether to build shared libraries... " >&6; }
9929 test "$can_build_shared" = "no" && enable_shared
=no
9931 # On AIX, shared libraries and static libraries use the same namespace, and
9932 # are all built from PIC.
9935 test "$enable_shared" = yes && enable_static
=no
9936 if test -n "$RANLIB"; then
9937 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9938 postinstall_cmds
='$RANLIB $lib'
9943 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9944 test "$enable_shared" = yes && enable_static
=no
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9949 $as_echo "$enable_shared" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9952 $as_echo_n "checking whether to build static libraries... " >&6; }
9953 # Make sure either enable_shared or enable_static is yes.
9954 test "$enable_shared" = yes || enable_static
=yes
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9956 $as_echo "$enable_static" >&6; }
9963 ac_cpp
='$CPP $CPPFLAGS'
9964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9982 ac_config_commands
="$ac_config_commands libtool"
9992 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9993 if test -n "$ac_tool_prefix"; then
9994 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9995 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9997 $as_echo_n "checking for $ac_word... " >&6; }
9998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9999 $as_echo_n "(cached) " >&6
10001 case $PKG_CONFIG in
10003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in $PATH
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10025 if test -n "$PKG_CONFIG"; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10027 $as_echo "$PKG_CONFIG" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 $as_echo "no" >&6; }
10035 if test -z "$ac_cv_path_PKG_CONFIG"; then
10036 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10037 # Extract the first word of "pkg-config", so it can be a program name with args.
10038 set dummy pkg
-config; ac_word
=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10040 $as_echo_n "checking for $ac_word... " >&6; }
10041 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10042 $as_echo_n "(cached) " >&6
10044 case $ac_pt_PKG_CONFIG in
10046 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10050 for as_dir
in $PATH
10053 test -z "$as_dir" && as_dir
=.
10054 for ac_exec_ext
in '' $ac_executable_extensions; do
10055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10056 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10068 if test -n "$ac_pt_PKG_CONFIG"; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10070 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10073 $as_echo "no" >&6; }
10076 if test "x$ac_pt_PKG_CONFIG" = x
; then
10079 case $cross_compiling:$ac_tool_warned in
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10083 ac_tool_warned
=yes ;;
10085 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10088 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10092 if test -n "$PKG_CONFIG"; then
10093 _pkg_min_version
=0.22
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10095 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10098 $as_echo "yes" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10101 $as_echo "no" >&6; }
10106 for ac_prog
in 'bison -y' byacc
10108 # Extract the first word of "$ac_prog", so it can be a program name with args.
10109 set dummy
$ac_prog; ac_word
=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10111 $as_echo_n "checking for $ac_word... " >&6; }
10112 if test "${ac_cv_prog_YACC+set}" = set; then :
10113 $as_echo_n "(cached) " >&6
10115 if test -n "$YACC"; then
10116 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10119 for as_dir
in $PATH
10122 test -z "$as_dir" && as_dir
=.
10123 for ac_exec_ext
in '' $ac_executable_extensions; do
10124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10125 ac_cv_prog_YACC
="$ac_prog"
10126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10135 YACC
=$ac_cv_prog_YACC
10136 if test -n "$YACC"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
10138 $as_echo "$YACC" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10145 test -n "$YACC" && break
10147 test -n "$YACC" || YACC
="yacc"
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
10154 $as_echo_n "checking if bison is the parser generator... " >&6; }
10155 if test "${ax_cv_prog_bison+set}" = set; then :
10156 $as_echo_n "(cached) " >&6
10159 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
10161 ax_cv_prog_bison
=yes
10165 ax_cv_prog_bison
=no
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
10171 $as_echo "$ax_cv_prog_bison" >&6; }
10172 if test "$ax_cv_prog_bison" = yes; then :
10176 BISON
=`echo $YACC | $SED -e 's/ -y//'`
10177 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10183 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
10187 for ac_prog
in gawk mawk nawk
awk
10189 # Extract the first word of "$ac_prog", so it can be a program name with args.
10190 set dummy
$ac_prog; ac_word
=$2
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10192 $as_echo_n "checking for $ac_word... " >&6; }
10193 if test "${ac_cv_prog_AWK+set}" = set; then :
10194 $as_echo_n "(cached) " >&6
10196 if test -n "$AWK"; then
10197 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
10199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10200 for as_dir
in $PATH
10203 test -z "$as_dir" && as_dir
=.
10204 for ac_exec_ext
in '' $ac_executable_extensions; do
10205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10206 ac_cv_prog_AWK
="$ac_prog"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10216 AWK
=$ac_cv_prog_AWK
10217 if test -n "$AWK"; then
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
10219 $as_echo "$AWK" >&6; }
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10222 $as_echo "no" >&6; }
10226 test -n "$AWK" && break
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
10230 $as_echo_n "checking if bison is >= 2.4... " >&6; }
10231 as_arg_v1
=$BISON_VERSION
10233 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10238 $as_echo "no" >&6; }
10239 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10243 $as_echo "yes" >&6; } ;; #(
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10246 $as_echo "yes" >&6; } ;; #(
10251 # expand $ac_aux_dir to an absolute path
10252 am_aux_dir
=`cd $ac_aux_dir && pwd`
10254 if test x
"${MISSING+set}" != xset
; then
10255 case $am_aux_dir in
10257 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
10259 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
10262 # Use eval to expand $SHELL
10263 if eval "$MISSING --run true"; then
10264 am_missing_run
="$MISSING --run "
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
10268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
10271 for ac_prog
in flex
lex
10273 # Extract the first word of "$ac_prog", so it can be a program name with args.
10274 set dummy
$ac_prog; ac_word
=$2
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10276 $as_echo_n "checking for $ac_word... " >&6; }
10277 if test "${ac_cv_prog_LEX+set}" = set; then :
10278 $as_echo_n "(cached) " >&6
10280 if test -n "$LEX"; then
10281 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10284 for as_dir
in $PATH
10287 test -z "$as_dir" && as_dir
=.
10288 for ac_exec_ext
in '' $ac_executable_extensions; do
10289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10290 ac_cv_prog_LEX
="$ac_prog"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10300 LEX
=$ac_cv_prog_LEX
10301 if test -n "$LEX"; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
10303 $as_echo "$LEX" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10306 $as_echo "no" >&6; }
10310 test -n "$LEX" && break
10312 test -n "$LEX" || LEX
=":"
10314 if test "x$LEX" != "x:"; then
10315 cat >conftest.l
<<_ACEOF
10321 e { yyless (input () != 0); }
10322 f { unput (yytext[0]); }
10323 . { BEGIN INITIAL; }
10325 #ifdef YYTEXT_POINTER
10326 extern char *yytext;
10331 return ! yylex () + ! yywrap ();
10334 { { ac_try
="$LEX conftest.l"
10335 case "(($ac_try" in
10336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10337 *) ac_try_echo=$ac_try;;
10339 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10340 $as_echo "$ac_try_echo"; } >&5
10341 (eval "$LEX conftest.l") 2>&5
10343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10344 test $ac_status = 0; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
10346 $as_echo_n "checking lex output file root... " >&6; }
10347 if test "${ac_cv_prog_lex_root+set}" = set; then :
10348 $as_echo_n "(cached) " >&6
10351 if test -f lex.yy.c; then
10352 ac_cv_prog_lex_root=lex.yy
10353 elif test -f lexyy.c; then
10354 ac_cv_prog_lex_root=lexyy
10356 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
10360 $as_echo "$ac_cv_prog_lex_root" >&6; }
10361 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
10363 if test -z "${LEXLIB+set}"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
10365 $as_echo_n "checking lex library... " >&6; }
10366 if test "${ac_cv_lib_lex+set}" = set; then :
10367 $as_echo_n "(cached) " >&6
10371 ac_cv_lib_lex='none needed'
10372 for ac_lib in '' -lfl -ll; do
10373 LIBS="$ac_lib $ac_save_LIBS"
10374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10375 /* end confdefs.h. */
10376 `cat $LEX_OUTPUT_ROOT.c
`
10378 if ac_fn_c_try_link "$LINENO"; then :
10379 ac_cv_lib_lex=$ac_lib
10381 rm -f core conftest.err conftest.$ac_objext \
10382 conftest$ac_exeext conftest.$ac_ext
10383 test "$ac_cv_lib_lex" != 'none needed' && break
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
10389 $as_echo "$ac_cv_lib_lex" >&6; }
10390 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
10395 $as_echo_n "checking whether yytext is a pointer... " >&6; }
10396 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
10397 $as_echo_n "(cached) " >&6
10399 # POSIX says lex can declare yytext either as a pointer or an array; the
10400 # default is implementation-dependent. Figure out which it is, since
10401 # not all implementations provide the %pointer and %array declarations.
10402 ac_cv_prog_lex_yytext_pointer=no
10404 LIBS="$LEXLIB $ac_save_LIBS"
10405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 #define YYTEXT_POINTER 1
10408 `cat $LEX_OUTPUT_ROOT.c
`
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_prog_lex_yytext_pointer=yes
10413 rm -f core conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
10419 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
10420 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10422 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
10425 rm -f conftest.l $LEX_OUTPUT_ROOT.c
10428 if test "$LEX" = :; then
10429 LEX=${am_missing_run}flex
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
10436 $as_echo_n "checking if flex is the lexer generator... " >&6; }
10437 if test "${ax_cv_prog_flex+set}" = set; then :
10438 $as_echo_n "(cached) " >&6
10441 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
10443 ax_cv_prog_flex=yes
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
10453 $as_echo "$ax_cv_prog_flex" >&6; }
10454 if test "$ax_cv_prog_flex" = yes; then :
10459 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
10465 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
10470 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
10471 as_arg_v1=$FLEX_VERSION
10473 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10478 $as_echo "no" >&6; }
10479 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10483 $as_echo "yes" >&6; } ;; #(
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10486 $as_echo "yes" >&6; } ;; #(
10491 for ac_prog in bash
10493 # Extract the first word of "$ac_prog", so it can be a program name with args.
10494 set dummy $ac_prog; ac_word=$2
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10496 $as_echo_n "checking for $ac_word... " >&6; }
10497 if test "${ac_cv_prog__BASH+set}" = set; then :
10498 $as_echo_n "(cached) " >&6
10500 if test -n "$_BASH"; then
10501 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
10503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10504 for as_dir in $PATH
10507 test -z "$as_dir" && as_dir=.
10508 for ac_exec_ext in '' $ac_executable_extensions; do
10509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10510 ac_cv_prog__BASH="$ac_prog"
10511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10520 _BASH=$ac_cv_prog__BASH
10521 if test -n "$_BASH"; then
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10523 $as_echo "$_BASH" >&6; }
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10526 $as_echo "no" >&6; }
10530 test -n "$_BASH" && break
10533 for ac_prog in gperf
10535 # Extract the first word of "$ac_prog", so it can be a program name with args.
10536 set dummy $ac_prog; ac_word=$2
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10538 $as_echo_n "checking for $ac_word... " >&6; }
10539 if test "${ac_cv_prog_GPERF+set}" = set; then :
10540 $as_echo_n "(cached) " >&6
10542 if test -n "$GPERF"; then
10543 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
10545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10546 for as_dir in $PATH
10549 test -z "$as_dir" && as_dir=.
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10552 ac_cv_prog_GPERF="$ac_prog"
10553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10562 GPERF=$ac_cv_prog_GPERF
10563 if test -n "$GPERF"; then
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10565 $as_echo "$GPERF" >&6; }
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 $as_echo "no" >&6; }
10572 test -n "$GPERF" && break
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
10576 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
10577 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
10578 as_arg_v1=$GPERF_VERSION
10580 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10585 $as_echo "no" >&6; }
10586 as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10590 $as_echo "yes" >&6; } ;; #(
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10593 $as_echo "yes" >&6; } ;; #(
10597 for ac_prog in time
10599 # Extract the first word of "$ac_prog", so it can be a program name with args.
10600 set dummy $ac_prog; ac_word=$2
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10602 $as_echo_n "checking for $ac_word... " >&6; }
10603 if test "${ac_cv_prog_TIME+set}" = set; then :
10604 $as_echo_n "(cached) " >&6
10606 if test -n "$TIME"; then
10607 ac_cv_prog_TIME="$TIME" # Let the user override the test.
10609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10610 for as_dir in $PATH
10613 test -z "$as_dir" && as_dir=.
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10616 ac_cv_prog_TIME="$ac_prog"
10617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10626 TIME=$ac_cv_prog_TIME
10627 if test -n "$TIME"; then
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10629 $as_echo "$TIME" >&6; }
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10632 $as_echo "no" >&6; }
10636 test -n "$TIME" && break
10642 if test "$target_os" = "os2-emx"; then
10643 # Scripts don't pass test -x on OS/2
10649 acceptable_majors="1"
10651 apr_temp_acceptable_apr_config=""
10652 for apr_temp_major in $acceptable_majors
10654 case $apr_temp_major in
10656 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
10659 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
10665 $as_echo_n "checking for APR... " >&6; }
10667 # Check whether --with-apr was given.
10668 if test "${with_apr+set}" = set; then :
10670 if test "$withval" = "no" || test "$withval" = "yes"; then
10671 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
10674 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
10676 for lookdir in "$withval/bin" "$withval"
10678 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
10679 apr_config="$lookdir/$apr_temp_apr_config_file"
10687 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
10688 apr_config="$withval"
10692 if test "$apr_found" != "yes"; then
10693 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
10698 if test -n "1" && test "1" = "1"; then
10699 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
10701 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
10702 apr_config="$apr_temp_apr_config_file"
10707 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
10708 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
10709 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
10718 if test "$apr_found" = "no" && test -d ""; then
10719 apr_temp_abs_srcdir="`cd && pwd`"
10720 apr_found="reconfig"
10721 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
10722 case $apr_bundled_major in
10724 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
10727 apr_temp_apr_config_file="apr-config"
10730 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
10733 if test -n ""; then
10734 apr_config="/$apr_temp_apr_config_file"
10736 apr_config="/$apr_temp_apr_config_file"
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
10744 $as_echo "$apr_found" >&6; }
10746 case $apr_found in #(
10750 for element in `$apr_config --includes`; do
10752 for x in $CPPFLAGS; do
10754 acl_save_prefix="$prefix"
10755 prefix="$acl_final_prefix"
10756 acl_save_exec_prefix="$exec_prefix"
10757 exec_prefix="$acl_final_exec_prefix"
10759 exec_prefix="$acl_save_exec_prefix"
10760 prefix="$acl_save_prefix"
10762 if test "X$x" = "X$element"; then
10767 if test -z "$haveit"; then
10768 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
10772 LTLIBAPR=`$apr_config --link-libtool`
10776 as_fn_error "You need apr" "$LINENO" 5 ;;
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
10780 $as_echo_n "checking for a readline compatible library... " >&6; }
10781 if test "${vl_cv_lib_readline+set}" = set; then :
10782 $as_echo_n "(cached) " >&6
10786 for readline_lib in readline edit editline; do
10787 for termcap_lib in "" termcap curses ncurses; do
10788 if test -z "$termcap_lib"; then
10789 TRY_LIB="-l$readline_lib"
10791 TRY_LIB="-l$readline_lib -l$termcap_lib"
10793 LIBS="$ORIG_LIBS $TRY_LIB"
10794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10807 return readline ();
10812 if ac_fn_c_try_link "$LINENO"; then :
10813 vl_cv_lib_readline="$TRY_LIB"
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 if test -n "$vl_cv_lib_readline"; then
10821 if test -n "$vl_cv_lib_readline"; then
10825 if test -z "$vl_cv_lib_readline"; then
10826 vl_cv_lib_readline="no"
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
10832 $as_echo "$vl_cv_lib_readline" >&6; }
10834 if test "$vl_cv_lib_readline" != "no"; then
10836 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
10838 for ac_header in readline.h readline/readline.h
10840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10841 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10842 eval as_val=\$$as_ac_Header
10843 if test "x$as_val" = x""yes; then :
10844 cat >>confdefs.h <<_ACEOF
10845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
10853 $as_echo_n "checking whether readline supports history... " >&6; }
10854 if test "${vl_cv_lib_readline_history+set}" = set; then :
10855 $as_echo_n "(cached) " >&6
10858 vl_cv_lib_readline_history="no"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10868 char add_history ();
10872 return add_history ();
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 vl_cv_lib_readline_history="yes"
10880 rm -f core conftest.err conftest.$ac_objext \
10881 conftest$ac_exeext conftest.$ac_ext
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
10885 $as_echo "$vl_cv_lib_readline_history" >&6; }
10886 if test "$vl_cv_lib_readline_history" = "yes"; then
10888 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
10890 for ac_header in history.h readline/history.h
10892 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10893 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10894 eval as_val=\$$as_ac_Header
10895 if test "x$as_val" = x""yes; then :
10896 cat >>confdefs.h <<_ACEOF
10897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10908 ac_cpp='$CXXCPP $CPPFLAGS'
10909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10912 if test -z "$CXX"; then
10913 if test -n "$CCC"; then
10916 if test -n "$ac_tool_prefix"; then
10917 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10919 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10920 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10922 $as_echo_n "checking for $ac_word... " >&6; }
10923 if test "${ac_cv_prog_CXX+set}" = set; then :
10924 $as_echo_n "(cached) " >&6
10926 if test -n "$CXX"; then
10927 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10930 for as_dir in $PATH
10933 test -z "$as_dir" && as_dir=.
10934 for ac_exec_ext in '' $ac_executable_extensions; do
10935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10936 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10946 CXX=$ac_cv_prog_CXX
10947 if test -n "$CXX"; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10949 $as_echo "$CXX" >&6; }
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10956 test -n "$CXX" && break
10959 if test -z "$CXX"; then
10961 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10963 # Extract the first word of "$ac_prog", so it can be a program name with args.
10964 set dummy $ac_prog; ac_word=$2
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10966 $as_echo_n "checking for $ac_word... " >&6; }
10967 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10968 $as_echo_n "(cached) " >&6
10970 if test -n "$ac_ct_CXX"; then
10971 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10977 test -z "$as_dir" && as_dir=.
10978 for ac_exec_ext in '' $ac_executable_extensions; do
10979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10980 ac_cv_prog_ac_ct_CXX="$ac_prog"
10981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10990 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10991 if test -n "$ac_ct_CXX"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10993 $as_echo "$ac_ct_CXX" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10996 $as_echo "no" >&6; }
11000 test -n "$ac_ct_CXX" && break
11003 if test "x$ac_ct_CXX" = x; then
11006 case $cross_compiling:$ac_tool_warned in
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11010 ac_tool_warned=yes ;;
11018 # Provide some information about the compiler.
11019 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11022 for ac_option in --version -v -V -qversion; do
11023 { { ac_try="$ac_compiler $ac_option >&5"
11024 case "(($ac_try" in
11025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11026 *) ac_try_echo
=$ac_try;;
11028 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11029 $as_echo "$ac_try_echo"; } >&5
11030 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11032 if test -s conftest.err
; then
11034 ... rest of stderr output deleted ...
11035 10q' conftest.err
>conftest.er1
11036 cat conftest.er1
>&5
11038 rm -f conftest.er1 conftest.err
11039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11040 test $ac_status = 0; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11044 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11045 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11046 $as_echo_n "(cached) " >&6
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11062 if ac_fn_cxx_try_compile
"$LINENO"; then :
11063 ac_compiler_gnu
=yes
11067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11068 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11072 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11073 if test $ac_compiler_gnu = yes; then
11078 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11079 ac_save_CXXFLAGS
=$CXXFLAGS
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11081 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11082 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11083 $as_echo_n "(cached) " >&6
11085 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11086 ac_cxx_werror_flag
=yes
11087 ac_cv_prog_cxx_g
=no
11089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11100 if ac_fn_cxx_try_compile
"$LINENO"; then :
11101 ac_cv_prog_cxx_g
=yes
11104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11115 if ac_fn_cxx_try_compile
"$LINENO"; then :
11118 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11131 if ac_fn_cxx_try_compile
"$LINENO"; then :
11132 ac_cv_prog_cxx_g
=yes
11134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11139 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11142 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11143 if test "$ac_test_CXXFLAGS" = set; then
11144 CXXFLAGS
=$ac_save_CXXFLAGS
11145 elif test $ac_cv_prog_cxx_g = yes; then
11146 if test "$GXX" = yes; then
11152 if test "$GXX" = yes; then
11159 ac_cpp
='$CPP $CPPFLAGS'
11160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11166 ac_cpp
='$CXXCPP $CPPFLAGS'
11167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11170 if test -z "$CXX"; then
11171 if test -n "$CCC"; then
11174 if test -n "$ac_tool_prefix"; then
11175 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11180 $as_echo_n "checking for $ac_word... " >&6; }
11181 if test "${ac_cv_prog_CXX+set}" = set; then :
11182 $as_echo_n "(cached) " >&6
11184 if test -n "$CXX"; then
11185 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
11187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11188 for as_dir
in $PATH
11191 test -z "$as_dir" && as_dir
=.
11192 for ac_exec_ext
in '' $ac_executable_extensions; do
11193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11194 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
11195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11204 CXX
=$ac_cv_prog_CXX
11205 if test -n "$CXX"; then
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11207 $as_echo "$CXX" >&6; }
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11210 $as_echo "no" >&6; }
11214 test -n "$CXX" && break
11217 if test -z "$CXX"; then
11219 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
11221 # Extract the first word of "$ac_prog", so it can be a program name with args.
11222 set dummy
$ac_prog; ac_word
=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224 $as_echo_n "checking for $ac_word... " >&6; }
11225 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11226 $as_echo_n "(cached) " >&6
11228 if test -n "$ac_ct_CXX"; then
11229 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
11231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11232 for as_dir
in $PATH
11235 test -z "$as_dir" && as_dir
=.
11236 for ac_exec_ext
in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_prog_ac_ct_CXX
="$ac_prog"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11248 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
11249 if test -n "$ac_ct_CXX"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11251 $as_echo "$ac_ct_CXX" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11254 $as_echo "no" >&6; }
11258 test -n "$ac_ct_CXX" && break
11261 if test "x$ac_ct_CXX" = x
; then
11264 case $cross_compiling:$ac_tool_warned in
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11268 ac_tool_warned
=yes ;;
11276 # Provide some information about the compiler.
11277 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11280 for ac_option
in --version -v -V -qversion; do
11281 { { ac_try
="$ac_compiler $ac_option >&5"
11282 case "(($ac_try" in
11283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
11284 *) ac_try_echo=$ac_try;;
11286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11287 $as_echo "$ac_try_echo"; } >&5
11288 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11290 if test -s conftest.err; then
11292 ... rest of stderr output deleted ...
11293 10q' conftest.err >conftest.er1
11294 cat conftest.er1 >&5
11296 rm -f conftest.er1 conftest.err
11297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11298 test $ac_status = 0; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11302 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11304 $as_echo_n "(cached) " >&6
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11320 if ac_fn_cxx_try_compile "$LINENO"; then :
11321 ac_compiler_gnu=yes
11325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11326 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11330 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11331 if test $ac_compiler_gnu = yes; then
11336 ac_test_CXXFLAGS=${CXXFLAGS+set}
11337 ac_save_CXXFLAGS=$CXXFLAGS
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11339 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11340 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11341 $as_echo_n "(cached) " >&6
11343 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11344 ac_cxx_werror_flag=yes
11345 ac_cv_prog_cxx_g=no
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11358 if ac_fn_cxx_try_compile "$LINENO"; then :
11359 ac_cv_prog_cxx_g=yes
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11373 if ac_fn_cxx_try_compile "$LINENO"; then :
11376 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11389 if ac_fn_cxx_try_compile "$LINENO"; then :
11390 ac_cv_prog_cxx_g=yes
11392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11397 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11400 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11401 if test "$ac_test_CXXFLAGS" = set; then
11402 CXXFLAGS=$ac_save_CXXFLAGS
11403 elif test $ac_cv_prog_cxx_g = yes; then
11404 if test "$GXX" = yes; then
11410 if test "$GXX" = yes; then
11417 ac_cpp='$CPP $CPPFLAGS'
11418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11422 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11423 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11424 (test "X$CXX" != "Xg++"))) ; then
11426 ac_cpp='$CXXCPP $CPPFLAGS'
11427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11431 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11432 if test -z "$CXXCPP"; then
11433 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11434 $as_echo_n "(cached) " >&6
11436 # Double quotes because CXXCPP needs to be expanded
11437 for CXXCPP in "$CXX -E" "/lib/cpp"
11439 ac_preproc_ok=false
11440 for ac_cxx_preproc_warn_flag in '' yes
11442 # Use a header file that comes with gcc, so configuring glibc
11443 # with a fresh cross-compiler works.
11444 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11445 # <limits.h> exists even on freestanding compilers.
11446 # On the NeXT, cc -E runs the code through the compiler's parser,
11447 # not just through cpp. "Syntax error" is here to catch this case.
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 # include <limits.h>
11453 # include <assert.h>
11457 if ac_fn_cxx_try_cpp "$LINENO"; then :
11460 # Broken: fails on valid input.
11463 rm -f conftest.err conftest.$ac_ext
11465 # OK, works on sane cases. Now check whether nonexistent headers
11466 # can be detected and how.
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 #include <ac_nonexistent.h>
11471 if ac_fn_cxx_try_cpp "$LINENO"; then :
11472 # Broken: success on invalid input.
11475 # Passes both tests.
11479 rm -f conftest.err conftest.$ac_ext
11482 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11483 rm -f conftest.err conftest.
$ac_ext
11484 if $ac_preproc_ok; then :
11489 ac_cv_prog_CXXCPP
=$CXXCPP
11492 CXXCPP
=$ac_cv_prog_CXXCPP
11494 ac_cv_prog_CXXCPP
=$CXXCPP
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11497 $as_echo "$CXXCPP" >&6; }
11498 ac_preproc_ok
=false
11499 for ac_cxx_preproc_warn_flag
in '' yes
11501 # Use a header file that comes with gcc, so configuring glibc
11502 # with a fresh cross-compiler works.
11503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11504 # <limits.h> exists even on freestanding compilers.
11505 # On the NeXT, cc -E runs the code through the compiler's parser,
11506 # not just through cpp. "Syntax error" is here to catch this case.
11507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 # include <limits.h>
11512 # include <assert.h>
11516 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11519 # Broken: fails on valid input.
11522 rm -f conftest.err conftest.
$ac_ext
11524 # OK, works on sane cases. Now check whether nonexistent headers
11525 # can be detected and how.
11526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11528 #include <ac_nonexistent.h>
11530 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11531 # Broken: success on invalid input.
11534 # Passes both tests.
11538 rm -f conftest.err conftest.
$ac_ext
11541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11542 rm -f conftest.err conftest.
$ac_ext
11543 if $ac_preproc_ok; then :
11546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11548 _lt_caught_CXX_error
=yes; }
11552 ac_cpp
='$CPP $CPPFLAGS'
11553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11558 _lt_caught_CXX_error
=yes
11565 ac_cpp
='$CXXCPP $CPPFLAGS'
11566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11570 archive_cmds_need_lc_CXX
=no
11571 allow_undefined_flag_CXX
=
11572 always_export_symbols_CXX
=no
11573 archive_expsym_cmds_CXX
=
11574 compiler_needs_object_CXX
=no
11575 export_dynamic_flag_spec_CXX
=
11576 hardcode_direct_CXX
=no
11577 hardcode_direct_absolute_CXX
=no
11578 hardcode_libdir_flag_spec_CXX
=
11579 hardcode_libdir_flag_spec_ld_CXX
=
11580 hardcode_libdir_separator_CXX
=
11581 hardcode_minus_L_CXX
=no
11582 hardcode_shlibpath_var_CXX
=unsupported
11583 hardcode_automatic_CXX
=no
11584 inherit_rpath_CXX
=no
11586 module_expsym_cmds_CXX
=
11587 link_all_deplibs_CXX
=unknown
11588 old_archive_cmds_CXX
=$old_archive_cmds
11589 no_undefined_flag_CXX
=
11590 whole_archive_flag_spec_CXX
=
11591 enable_shared_with_static_runtimes_CXX
=no
11593 # Source file extension for C++ test sources.
11596 # Object file extension for compiled C++ test sources.
11600 # No sense in running all these tests if we already determined that
11601 # the CXX compiler isn't working. Some variables (like enable_shared)
11602 # are currently assumed to apply to all compilers on this platform,
11603 # and will be corrupted by setting them based on a non-working compiler.
11604 if test "$_lt_caught_CXX_error" != yes; then
11605 # Code to be used in simple compile tests
11606 lt_simple_compile_test_code
="int some_variable = 0;"
11608 # Code to be used in simple link tests
11609 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11611 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11618 # If no C compiler was specified, use CC.
11621 # If no C compiler flags were specified, use CFLAGS.
11622 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11624 # Allow CC to be a program name with arguments.
11628 # save warnings/boilerplate of simple test code
11629 ac_outfile
=conftest.
$ac_objext
11630 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11631 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11632 _lt_compiler_boilerplate
=`cat conftest.err`
11635 ac_outfile
=conftest.
$ac_objext
11636 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11637 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11638 _lt_linker_boilerplate
=`cat conftest.err`
11642 # Allow CC to be a program name with arguments.
11647 lt_save_with_gnu_ld
=$with_gnu_ld
11648 lt_save_path_LD
=$lt_cv_path_LD
11649 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11650 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11652 $as_unset lt_cv_prog_gnu_ld
11654 if test -n "${lt_cv_path_LDCXX+set}"; then
11655 lt_cv_path_LD
=$lt_cv_path_LDCXX
11657 $as_unset lt_cv_path_LD
11659 test -z "${LDCXX+set}" || LD
=$LDCXX
11663 for cc_temp
in $compiler""; do
11665 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11666 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11671 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11674 if test -n "$compiler"; then
11675 # We don't want -fno-exception when compiling C++ code, so set the
11676 # no_builtin_flag separately
11677 if test "$GXX" = yes; then
11678 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11680 lt_prog_compiler_no_builtin_flag_CXX
=
11683 if test "$GXX" = yes; then
11684 # Set up default GNU C++ configuration
11688 # Check whether --with-gnu-ld was given.
11689 if test "${with_gnu_ld+set}" = set; then :
11690 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11696 if test "$GCC" = yes; then
11697 # Check if gcc -print-prog-name=ld gives a path.
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11699 $as_echo_n "checking for ld used by $CC... " >&6; }
11702 # gcc leaves a trailing carriage return which upsets mingw
11703 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11705 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11708 # Accept absolute paths.
11710 re_direlt
='/[^/][^/]*/\.\./'
11711 # Canonicalize the pathname of ld
11712 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11713 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11714 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11716 test -z "$LD" && LD
="$ac_prog"
11719 # If it fails, then pretend we aren't using GCC.
11723 # If it is relative, then search for the first ld in PATH.
11724 with_gnu_ld
=unknown
11727 elif test "$with_gnu_ld" = yes; then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11729 $as_echo_n "checking for GNU ld... " >&6; }
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11732 $as_echo_n "checking for non-GNU ld... " >&6; }
11734 if test "${lt_cv_path_LD+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11737 if test -z "$LD"; then
11738 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11739 for ac_dir
in $PATH; do
11741 test -z "$ac_dir" && ac_dir
=.
11742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11743 lt_cv_path_LD
="$ac_dir/$ac_prog"
11744 # Check to see if the program is GNU ld. I'd rather use --version,
11745 # but apparently some variants of GNU ld only accept -v.
11746 # Break only if it was the GNU/non-GNU ld that we prefer.
11747 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11748 *GNU
* | *'with BFD'*)
11749 test "$with_gnu_ld" != no
&& break
11752 test "$with_gnu_ld" != yes && break
11759 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11763 LD
="$lt_cv_path_LD"
11764 if test -n "$LD"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11766 $as_echo "$LD" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11771 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11774 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11775 $as_echo_n "(cached) " >&6
11777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11778 case `$LD -v 2>&1 </dev/null` in
11779 *GNU
* | *'with BFD'*)
11780 lt_cv_prog_gnu_ld
=yes
11783 lt_cv_prog_gnu_ld
=no
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11789 with_gnu_ld
=$lt_cv_prog_gnu_ld
11797 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11798 # archiving commands below assume that GNU ld is being used.
11799 if test "$with_gnu_ld" = yes; then
11800 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11801 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'
11803 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11804 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11806 # If archive_cmds runs LD, not CC, wlarc should be empty
11807 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11808 # investigate it a little bit more. (MM)
11811 # ancient GNU ld didn't support --whole-archive et. al.
11812 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11813 $GREP 'no-whole-archive' > /dev
/null
; then
11814 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11816 whole_archive_flag_spec_CXX
=
11822 # A generic and very simple default shared library creation
11823 # command for GNU C++ for the case where it uses the native
11824 # linker, instead of GNU ld. If possible, this setting should
11825 # overridden to take advantage of the native linker features on
11826 # the platform it is being used on.
11827 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11830 # Commands to make compiler produce verbose output that lists
11831 # what "hidden" libraries, object files and flags are used when
11832 # linking a shared library.
11833 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11841 # PORTME: fill in a description of your system's C++ link characteristics
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11843 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11847 # FIXME: insert proper C++ library support
11851 if test "$host_cpu" = ia64
; then
11852 # On IA64, the linker does run time linking by default, so we don't
11853 # have to do anything special.
11854 aix_use_runtimelinking
=no
11855 exp_sym_flag
='-Bexport'
11858 aix_use_runtimelinking
=no
11860 # Test if we are trying to use run time linking or normal
11861 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11862 # need to do runtime linking.
11863 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11864 for ld_flag
in $LDFLAGS; do
11867 aix_use_runtimelinking
=yes
11875 exp_sym_flag
='-bexport'
11876 no_entry_flag
='-bnoentry'
11879 # When large executables or shared objects are built, AIX ld can
11880 # have problems creating the table of contents. If linking a library
11881 # or program results in "error TOC overflow" add -mminimal-toc to
11882 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11883 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11885 archive_cmds_CXX
=''
11886 hardcode_direct_CXX
=yes
11887 hardcode_direct_absolute_CXX
=yes
11888 hardcode_libdir_separator_CXX
=':'
11889 link_all_deplibs_CXX
=yes
11890 file_list_spec_CXX
='${wl}-f,'
11892 if test "$GXX" = yes; then
11893 case $host_os in aix4.
[012]|aix4.
[012].
*)
11894 # We only want to do this on AIX 4.2 and lower, the check
11895 # below for broken collect2 doesn't work under 4.3+
11896 collect2name
=`${CC} -print-prog-name=collect2`
11897 if test -f "$collect2name" &&
11898 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11900 # We have reworked collect2
11903 # We have old collect2
11904 hardcode_direct_CXX
=unsupported
11905 # It fails to find uninstalled libraries when the uninstalled
11906 # path is not listed in the libpath. Setting hardcode_minus_L
11907 # to unsupported forces relinking
11908 hardcode_minus_L_CXX
=yes
11909 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11910 hardcode_libdir_separator_CXX
=
11913 shared_flag
='-shared'
11914 if test "$aix_use_runtimelinking" = yes; then
11915 shared_flag
="$shared_flag "'${wl}-G'
11919 if test "$host_cpu" = ia64
; then
11920 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11921 # chokes on -Wl,-G. The following line is correct:
11924 if test "$aix_use_runtimelinking" = yes; then
11925 shared_flag
='${wl}-G'
11927 shared_flag
='${wl}-bM:SRE'
11932 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11933 # It seems that -bexpall does not export symbols beginning with
11934 # underscore (_), so it is better to generate a list of symbols to
11936 always_export_symbols_CXX
=yes
11937 if test "$aix_use_runtimelinking" = yes; then
11938 # Warning - without using the other runtime loading flags (-brtl),
11939 # -berok will link without error, but may produce a broken library.
11940 allow_undefined_flag_CXX
='-berok'
11941 # Determine the default libpath from the value encoded in an empty
11943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11954 if ac_fn_cxx_try_link
"$LINENO"; then :
11956 lt_aix_libpath_sed
='
11957 /Import File Strings/,/^$/ {
11963 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11964 # Check for a 64-bit object if we didn't find anything.
11965 if test -z "$aix_libpath"; then
11966 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11969 rm -f core conftest.err conftest.
$ac_objext \
11970 conftest
$ac_exeext conftest.
$ac_ext
11971 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11973 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11975 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"
11977 if test "$host_cpu" = ia64
; then
11978 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11979 allow_undefined_flag_CXX
="-z nodefs"
11980 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"
11982 # Determine the default libpath from the value encoded in an
11983 # empty executable.
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11995 if ac_fn_cxx_try_link
"$LINENO"; then :
11997 lt_aix_libpath_sed
='
11998 /Import File Strings/,/^$/ {
12004 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12005 # Check for a 64-bit object if we didn't find anything.
12006 if test -z "$aix_libpath"; then
12007 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12010 rm -f core conftest.err conftest.
$ac_objext \
12011 conftest
$ac_exeext conftest.
$ac_ext
12012 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12014 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12015 # Warning - without using the other run time loading flags,
12016 # -berok will link without error, but may produce a broken library.
12017 no_undefined_flag_CXX
=' ${wl}-bernotok'
12018 allow_undefined_flag_CXX
=' ${wl}-berok'
12019 # Exported symbols can be pulled into shared objects from archives
12020 whole_archive_flag_spec_CXX
='$convenience'
12021 archive_cmds_need_lc_CXX
=yes
12022 # This is similar to how AIX traditionally builds its shared
12024 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'
12030 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
12031 allow_undefined_flag_CXX
=unsupported
12032 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12033 # support --undefined. This deserves some investigation. FIXME
12034 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12041 case $cc_basename in
12043 # FIXME: insert proper C++ library support
12049 cygwin
* | mingw
* | pw32
* | cegcc
*)
12050 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12051 # as there is no search path for DLLs.
12052 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12053 allow_undefined_flag_CXX
=unsupported
12054 always_export_symbols_CXX
=no
12055 enable_shared_with_static_runtimes_CXX
=yes
12057 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
12058 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'
12059 # If the export-symbols file already is a .def file (1st line
12060 # is EXPORTS), use it as is; otherwise, prepend...
12061 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12062 cp $export_symbols $output_objdir/$soname.def;
12064 echo EXPORTS > $output_objdir/$soname.def;
12065 cat $export_symbols >> $output_objdir/$soname.def;
12067 $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'
12072 darwin
* | rhapsody
*)
12075 archive_cmds_need_lc_CXX
=no
12076 hardcode_direct_CXX
=no
12077 hardcode_automatic_CXX
=yes
12078 hardcode_shlibpath_var_CXX
=unsupported
12079 whole_archive_flag_spec_CXX
=''
12080 link_all_deplibs_CXX
=yes
12081 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
12082 case $cc_basename in
12083 ifort
*) _lt_dar_can_shared
=yes ;;
12084 *) _lt_dar_can_shared
=$GCC ;;
12086 if test "$_lt_dar_can_shared" = "yes"; then
12087 output_verbose_link_cmd
=echo
12088 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}"
12089 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12090 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}"
12091 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}"
12092 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12093 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}"
12094 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}"
12104 case $cc_basename in
12106 # FIXME: insert proper C++ library support
12110 # Green Hills C++ Compiler
12111 # FIXME: insert proper C++ library support
12115 # FIXME: insert proper C++ library support
12122 # C++ shared libraries reported to be fairly broken before
12128 archive_cmds_need_lc_CXX
=no
12131 freebsd
* | dragonfly
*)
12132 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12141 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12142 hardcode_libdir_separator_CXX
=:
12143 export_dynamic_flag_spec_CXX
='${wl}-E'
12144 hardcode_direct_CXX
=yes
12145 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12146 # but as the default
12147 # location of the library.
12149 case $cc_basename in
12151 # FIXME: insert proper C++ library support
12155 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'
12156 # Commands to make compiler produce verbose output that lists
12157 # what "hidden" libraries, object files and flags are used when
12158 # linking a shared library.
12160 # There doesn't appear to be a way to prevent this compiler from
12161 # explicitly linking system object files so we need to strip them
12162 # from the output so that they don't get included in the library
12164 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'
12167 if test "$GXX" = yes; then
12168 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'
12170 # FIXME: insert proper C++ library support
12178 if test $with_gnu_ld = no
; then
12179 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
12180 hardcode_libdir_separator_CXX
=:
12186 export_dynamic_flag_spec_CXX
='${wl}-E'
12192 hardcode_direct_CXX
=no
12193 hardcode_shlibpath_var_CXX
=no
12196 hardcode_direct_CXX
=yes
12197 hardcode_direct_absolute_CXX
=yes
12198 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12199 # but as the default
12200 # location of the library.
12204 case $cc_basename in
12206 # FIXME: insert proper C++ library support
12212 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12215 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12218 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12221 # Commands to make compiler produce verbose output that lists
12222 # what "hidden" libraries, object files and flags are used when
12223 # linking a shared library.
12225 # There doesn't appear to be a way to prevent this compiler from
12226 # explicitly linking system object files so we need to strip them
12227 # from the output so that they don't get included in the library
12229 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'
12232 if test "$GXX" = yes; then
12233 if test $with_gnu_ld = no
; then
12236 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12239 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12242 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'
12247 # FIXME: insert proper C++ library support
12255 hardcode_direct_CXX
=no
12256 hardcode_shlibpath_var_CXX
=no
12257 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12258 export_dynamic_flag_spec_CXX
='${wl}-E'
12259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12260 # Instead, shared libraries are loaded at an image base (0x10000000 by
12261 # default) and relocated if they conflict, which is a slow very memory
12262 # consuming and fragmenting process. To avoid this, we pick a random,
12263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12265 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'
12266 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'
12269 case $cc_basename in
12272 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'
12274 # Archives containing C++ object files must be created using
12275 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12276 # necessary to make sure instantiated templates are included
12278 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12281 if test "$GXX" = yes; then
12282 if test "$with_gnu_ld" = no
; then
12283 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'
12285 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'
12288 link_all_deplibs_CXX
=yes
12291 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12292 hardcode_libdir_separator_CXX
=:
12293 inherit_rpath_CXX
=yes
12296 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12297 case $cc_basename in
12299 # Kuck and Associates, Inc. (KAI) C++ Compiler
12301 # KCC will only create a shared library if the output file
12302 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12303 # to its proper name (with version) after linking.
12304 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'
12305 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'
12306 # Commands to make compiler produce verbose output that lists
12307 # what "hidden" libraries, object files and flags are used when
12308 # linking a shared library.
12310 # There doesn't appear to be a way to prevent this compiler from
12311 # explicitly linking system object files so we need to strip them
12312 # from the output so that they don't get included in the library
12314 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'
12316 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12317 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12319 # Archives containing C++ object files must be created using
12320 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12321 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12326 # version 8.0 and above of icpc choke on multiply defined symbols
12327 # if we add $predep_objects and $postdep_objects, however 7.1 and
12328 # earlier do not add the objects themselves.
12329 case `$CC -V 2>&1` in
12331 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12332 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'
12334 *) # Version 8.0 or newer
12337 ia64
*) tmp_idyn
=' -i_dynamic';;
12339 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12340 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'
12343 archive_cmds_need_lc_CXX
=no
12344 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12345 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12346 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12349 # Portland Group C++ compiler
12351 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12352 prelink_cmds_CXX
='tpldir=Template.dir~
12354 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12355 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12356 old_archive_cmds_CXX
='tpldir=Template.dir~
12358 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12359 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12361 archive_cmds_CXX
='tpldir=Template.dir~
12363 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12364 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12365 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12367 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12368 $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'
12370 *) # Version 6 will use weak symbols
12371 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12372 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'
12376 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12377 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12378 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'
12382 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12383 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'
12385 runpath_var
=LD_RUN_PATH
12386 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12387 hardcode_libdir_separator_CXX
=:
12389 # Commands to make compiler produce verbose output that lists
12390 # what "hidden" libraries, object files and flags are used when
12391 # linking a shared library.
12393 # There doesn't appear to be a way to prevent this compiler from
12394 # explicitly linking system object files so we need to strip them
12395 # from the output so that they don't get included in the library
12397 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'
12400 # IBM XL 8.0 on PPC, with GNU ld
12401 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12402 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12403 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12404 if test "x$supports_anon_versioning" = xyes
; then
12405 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12406 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12407 echo "local: *; };" >> $output_objdir/$libname.ver~
12408 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12412 case `$CC -V 2>&1 | sed 5q` in
12415 no_undefined_flag_CXX
=' -zdefs'
12416 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12417 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'
12418 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12419 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'
12420 compiler_needs_object_CXX
=yes
12422 # Not sure whether something based on
12423 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12425 output_verbose_link_cmd
='echo'
12427 # Archives containing C++ object files must be created using
12428 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12429 # necessary to make sure instantiated templates are included
12431 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12439 # FIXME: insert proper C++ library support
12444 # FIXME: insert proper C++ library support
12449 case $cc_basename in
12451 # FIXME: insert proper C++ library support
12455 # FIXME: insert proper C++ library support
12462 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12463 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12465 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12466 hardcode_direct_CXX
=yes
12467 hardcode_shlibpath_var_CXX
=no
12469 # Workaround some broken pre-1.5 toolchains
12470 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12478 # C++ shared libraries are fairly broken
12483 if test -f /usr
/libexec
/ld.so
; then
12484 hardcode_direct_CXX
=yes
12485 hardcode_shlibpath_var_CXX
=no
12486 hardcode_direct_absolute_CXX
=yes
12487 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12488 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12489 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12490 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12491 export_dynamic_flag_spec_CXX
='${wl}-E'
12492 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12494 output_verbose_link_cmd
=echo
12500 osf3
* | osf4
* | osf5
*)
12501 case $cc_basename in
12503 # Kuck and Associates, Inc. (KAI) C++ Compiler
12505 # KCC will only create a shared library if the output file
12506 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12507 # to its proper name (with version) after linking.
12508 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'
12510 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12511 hardcode_libdir_separator_CXX
=:
12513 # Archives containing C++ object files must be created using
12514 # the KAI C++ compiler.
12516 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12517 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12521 # Rational C++ 2.4.1
12522 # FIXME: insert proper C++ library support
12528 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12529 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'
12530 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12533 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12534 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'
12535 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12536 echo "-hidden">> $lib.exp~
12537 $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~
12539 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12543 hardcode_libdir_separator_CXX
=:
12545 # Commands to make compiler produce verbose output that lists
12546 # what "hidden" libraries, object files and flags are used when
12547 # linking a shared library.
12549 # There doesn't appear to be a way to prevent this compiler from
12550 # explicitly linking system object files so we need to strip them
12551 # from the output so that they don't get included in the library
12553 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'
12556 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12557 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12560 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'
12563 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'
12567 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12568 hardcode_libdir_separator_CXX
=:
12570 # Commands to make compiler produce verbose output that lists
12571 # what "hidden" libraries, object files and flags are used when
12572 # linking a shared library.
12573 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12576 # FIXME: insert proper C++ library support
12584 # FIXME: insert proper C++ library support
12589 case $cc_basename in
12592 # FIXME: insert proper C++ library support
12597 # FIXME: insert proper C++ library support
12601 # FIXME: insert proper C++ library support
12608 case $cc_basename in
12610 # Sun C++ 4.2, 5.x and Centerline C++
12611 archive_cmds_need_lc_CXX
=yes
12612 no_undefined_flag_CXX
=' -zdefs'
12613 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12614 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12615 $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'
12617 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12618 hardcode_shlibpath_var_CXX
=no
12620 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12622 # The compiler driver will combine and reorder linker options,
12623 # but understands `-z linker_flag'.
12624 # Supported since Solaris 2.6 (maybe 2.5.1?)
12625 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12628 link_all_deplibs_CXX
=yes
12630 output_verbose_link_cmd
='echo'
12632 # Archives containing C++ object files must be created using
12633 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12634 # necessary to make sure instantiated templates are included
12636 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12639 # Green Hills C++ Compiler
12640 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12642 # The C++ compiler must be used to create the archive.
12643 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12646 # GNU C++ compiler with Solaris linker
12647 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12648 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12649 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12650 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12651 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12652 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12654 # Commands to make compiler produce verbose output that lists
12655 # what "hidden" libraries, object files and flags are used when
12656 # linking a shared library.
12657 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12659 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12661 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12662 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12663 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12665 # Commands to make compiler produce verbose output that lists
12666 # what "hidden" libraries, object files and flags are used when
12667 # linking a shared library.
12668 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12671 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12673 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12675 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12683 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12684 no_undefined_flag_CXX
='${wl}-z,text'
12685 archive_cmds_need_lc_CXX
=no
12686 hardcode_shlibpath_var_CXX
=no
12687 runpath_var
='LD_RUN_PATH'
12689 case $cc_basename in
12691 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12692 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12695 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12696 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12701 sysv5
* | sco3.2v5
* | sco5v6
*)
12702 # Note: We can NOT use -z defs as we might desire, because we do not
12703 # link with -lc, and that would cause any symbols used from libc to
12704 # always be unresolved, which means just about no library would
12705 # ever link correctly. If we're not using GNU ld we use -z text
12706 # though, which does catch some bad symbols but isn't as heavy-handed
12708 no_undefined_flag_CXX
='${wl}-z,text'
12709 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12710 archive_cmds_need_lc_CXX
=no
12711 hardcode_shlibpath_var_CXX
=no
12712 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12713 hardcode_libdir_separator_CXX
=':'
12714 link_all_deplibs_CXX
=yes
12715 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12716 runpath_var
='LD_RUN_PATH'
12718 case $cc_basename in
12720 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12721 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12724 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12725 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12731 case $cc_basename in
12733 # NonStop-UX NCC 3.20
12734 # FIXME: insert proper C++ library support
12738 # FIXME: insert proper C++ library support
12745 # FIXME: insert proper C++ library support
12750 # FIXME: insert proper C++ library support
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12756 $as_echo "$ld_shlibs_CXX" >&6; }
12757 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12763 ## There is no encapsulation within the following macros, do not change
12764 ## the running order or otherwise move them around unless you know exactly
12765 ## what you are doing...
12766 # Dependencies to place before and after the object being linked:
12767 predep_objects_CXX
=
12768 postdep_objects_CXX
=
12771 compiler_lib_search_path_CXX
=
12773 cat > conftest.
$ac_ext <<_LT_EOF
12777 Foo (void) { a = 0; }
12783 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12784 (eval $ac_compile) 2>&5
12786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12787 test $ac_status = 0; }; then
12788 # Parse the compiler output and extract the necessary
12789 # objects, libraries and library flags.
12791 # Sentinel used to keep track of whether or not we are before
12792 # the conftest object file.
12793 pre_test_object_deps_done
=no
12795 for p
in `eval "$output_verbose_link_cmd"`; do
12799 # Some compilers place space between "-{L,R}" and the path.
12800 # Remove the space.
12801 if test $p = "-L" ||
12802 test $p = "-R"; then
12809 if test "$pre_test_object_deps_done" = no
; then
12812 # Internal compiler library paths should come after those
12813 # provided the user. The postdeps already come after the
12814 # user supplied libs so there is no need to process them.
12815 if test -z "$compiler_lib_search_path_CXX"; then
12816 compiler_lib_search_path_CXX
="${prev}${p}"
12818 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12821 # The "-l" case would never come before the object being
12822 # linked, so don't bother handling this case.
12825 if test -z "$postdeps_CXX"; then
12826 postdeps_CXX
="${prev}${p}"
12828 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12834 # This assumes that the test object file only shows up
12835 # once in the compiler output.
12836 if test "$p" = "conftest.$objext"; then
12837 pre_test_object_deps_done
=yes
12841 if test "$pre_test_object_deps_done" = no
; then
12842 if test -z "$predep_objects_CXX"; then
12843 predep_objects_CXX
="$p"
12845 predep_objects_CXX
="$predep_objects_CXX $p"
12848 if test -z "$postdep_objects_CXX"; then
12849 postdep_objects_CXX
="$p"
12851 postdep_objects_CXX
="$postdep_objects_CXX $p"
12856 *) ;; # Ignore the rest.
12864 echo "libtool.m4: error: problem compiling CXX test program"
12867 $RM -f confest.
$objext
12869 # PORTME: override above test on systems where it is broken
12872 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12873 # hack all around it, let's just trust "g++" to DTRT.
12874 predep_objects_CXX
=
12875 postdep_objects_CXX
=
12880 case `$CC -V 2>&1 | sed 5q` in
12884 # The more standards-conforming stlport4 library is
12885 # incompatible with the Cstd library. Avoid specifying
12886 # it if it's in CXXFLAGS. Ignore libCrun as
12887 # -library=stlport4 depends on it.
12888 case " $CXX $CXXFLAGS " in
12889 *" -library=stlport4 "*)
12890 solaris_use_stlport4
=yes
12894 if test "$solaris_use_stlport4" != yes; then
12895 postdeps_CXX
='-library=Cstd -library=Crun'
12902 case $cc_basename in
12904 # The more standards-conforming stlport4 library is
12905 # incompatible with the Cstd library. Avoid specifying
12906 # it if it's in CXXFLAGS. Ignore libCrun as
12907 # -library=stlport4 depends on it.
12908 case " $CXX $CXXFLAGS " in
12909 *" -library=stlport4 "*)
12910 solaris_use_stlport4
=yes
12914 # Adding this requires a known-good setup of shared libraries for
12915 # Sun compiler versions before 5.6, else PIC objects from an old
12916 # archive will be linked into the output, leading to subtle bugs.
12917 if test "$solaris_use_stlport4" != yes; then
12918 postdeps_CXX
='-library=Cstd -library=Crun'
12926 case " $postdeps_CXX " in
12927 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12929 compiler_lib_search_dirs_CXX
=
12930 if test -n "${compiler_lib_search_path_CXX}"; then
12931 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12964 lt_prog_compiler_wl_CXX
=
12965 lt_prog_compiler_pic_CXX
=
12966 lt_prog_compiler_static_CXX
=
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12969 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12971 # C++ specific cases for pic, static, wl, etc.
12972 if test "$GXX" = yes; then
12973 lt_prog_compiler_wl_CXX
='-Wl,'
12974 lt_prog_compiler_static_CXX
='-static'
12978 # All AIX code is PIC.
12979 if test "$host_cpu" = ia64
; then
12980 # AIX 5 now supports IA64 processor
12981 lt_prog_compiler_static_CXX
='-Bstatic'
12988 # see comment about AmigaOS4 .so support
12989 lt_prog_compiler_pic_CXX
='-fPIC'
12992 # FIXME: we need at least 68020 code to build shared libraries, but
12993 # adding the `-m68020' flag to GCC prevents building anything better,
12995 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13000 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13001 # PIC is the default for these OSes.
13003 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
13004 # This hack is so that the source file can tell whether it is being
13005 # built for inclusion in a dll (and should export symbols for example).
13006 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13007 # (--disable-auto-import) libraries
13008 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13010 darwin
* | rhapsody
*)
13011 # PIC is the default on this platform
13012 # Common symbols not allowed in MH_DYLIB files
13013 lt_prog_compiler_pic_CXX
='-fno-common'
13016 # DJGPP does not support shared libraries at all
13017 lt_prog_compiler_pic_CXX
=
13020 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13021 # Instead, we relocate shared libraries at runtime.
13024 if test -d /usr
/nec
; then
13025 lt_prog_compiler_pic_CXX
=-Kconform_pic
13029 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13030 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13031 # sets the default TLS model and affects inlining.
13036 lt_prog_compiler_pic_CXX
='-fPIC'
13041 # QNX uses GNU C++, but need to define -shared option too, otherwise
13042 # it will coredump.
13043 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13046 lt_prog_compiler_pic_CXX
='-fPIC'
13052 # All AIX code is PIC.
13053 if test "$host_cpu" = ia64
; then
13054 # AIX 5 now supports IA64 processor
13055 lt_prog_compiler_static_CXX
='-Bstatic'
13057 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13061 case $cc_basename in
13063 # Green Hills C++ Compiler
13064 # _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"
13069 case $cc_basename in
13071 lt_prog_compiler_pic_CXX
='-KPIC'
13074 # Green Hills C++ Compiler
13075 lt_prog_compiler_pic_CXX
='-pic'
13081 freebsd
* | dragonfly
*)
13082 # FreeBSD uses GNU C++
13084 hpux9
* | hpux10
* | hpux11
*)
13085 case $cc_basename in
13087 lt_prog_compiler_wl_CXX
='-Wl,'
13088 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13089 if test "$host_cpu" != ia64
; then
13090 lt_prog_compiler_pic_CXX
='+Z'
13094 lt_prog_compiler_wl_CXX
='-Wl,'
13095 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13101 lt_prog_compiler_pic_CXX
='+Z'
13110 # This is c89, which is MS Visual C++ (no shared libs)
13111 # Anyone wants to do a port?
13113 irix5
* | irix6
* | nonstopux
*)
13114 case $cc_basename in
13116 lt_prog_compiler_wl_CXX
='-Wl,'
13117 lt_prog_compiler_static_CXX
='-non_shared'
13118 # CC pic flag -KPIC is the default.
13124 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13125 case $cc_basename in
13128 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13129 lt_prog_compiler_pic_CXX
='-fPIC'
13132 # old Intel C++ for x86_64 which still supported -KPIC.
13133 lt_prog_compiler_wl_CXX
='-Wl,'
13134 lt_prog_compiler_pic_CXX
='-KPIC'
13135 lt_prog_compiler_static_CXX
='-static'
13138 # Intel C++, used to be incompatible with GCC.
13139 # ICC 10 doesn't accept -KPIC any more.
13140 lt_prog_compiler_wl_CXX
='-Wl,'
13141 lt_prog_compiler_pic_CXX
='-fPIC'
13142 lt_prog_compiler_static_CXX
='-static'
13145 # Portland Group C++ compiler
13146 lt_prog_compiler_wl_CXX
='-Wl,'
13147 lt_prog_compiler_pic_CXX
='-fpic'
13148 lt_prog_compiler_static_CXX
='-Bstatic'
13152 # Make sure the PIC flag is empty. It appears that all Alpha
13153 # Linux and Compaq Tru64 Unix objects are PIC.
13154 lt_prog_compiler_pic_CXX
=
13155 lt_prog_compiler_static_CXX
='-non_shared'
13158 # IBM XL 8.0 on PPC
13159 lt_prog_compiler_wl_CXX
='-Wl,'
13160 lt_prog_compiler_pic_CXX
='-qpic'
13161 lt_prog_compiler_static_CXX
='-qstaticlink'
13164 case `$CC -V 2>&1 | sed 5q` in
13167 lt_prog_compiler_pic_CXX
='-KPIC'
13168 lt_prog_compiler_static_CXX
='-Bstatic'
13169 lt_prog_compiler_wl_CXX
='-Qoption ld '
13180 case $cc_basename in
13182 lt_prog_compiler_pic_CXX
='-W c,exportall'
13188 netbsd
* | netbsdelf
*-gnu)
13191 # QNX uses GNU C++, but need to define -shared option too, otherwise
13192 # it will coredump.
13193 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13195 osf3
* | osf4
* | osf5
*)
13196 case $cc_basename in
13198 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13201 # Rational C++ 2.4.1
13202 lt_prog_compiler_pic_CXX
='-pic'
13205 # Digital/Compaq C++
13206 lt_prog_compiler_wl_CXX
='-Wl,'
13207 # Make sure the PIC flag is empty. It appears that all Alpha
13208 # Linux and Compaq Tru64 Unix objects are PIC.
13209 lt_prog_compiler_pic_CXX
=
13210 lt_prog_compiler_static_CXX
='-non_shared'
13219 case $cc_basename in
13221 # Sun C++ 4.2, 5.x and Centerline C++
13222 lt_prog_compiler_pic_CXX
='-KPIC'
13223 lt_prog_compiler_static_CXX
='-Bstatic'
13224 lt_prog_compiler_wl_CXX
='-Qoption ld '
13227 # Green Hills C++ Compiler
13228 lt_prog_compiler_pic_CXX
='-PIC'
13235 case $cc_basename in
13238 lt_prog_compiler_pic_CXX
='-pic'
13239 lt_prog_compiler_static_CXX
='-Bstatic'
13243 lt_prog_compiler_pic_CXX
='-pic'
13249 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13250 case $cc_basename in
13252 lt_prog_compiler_wl_CXX
='-Wl,'
13253 lt_prog_compiler_pic_CXX
='-KPIC'
13254 lt_prog_compiler_static_CXX
='-Bstatic'
13259 case $cc_basename in
13261 # NonStop-UX NCC 3.20
13262 lt_prog_compiler_pic_CXX
='-KPIC'
13271 lt_prog_compiler_can_build_shared_CXX
=no
13277 # For platforms which do not support PIC, -DPIC is meaningless:
13279 lt_prog_compiler_pic_CXX
=
13282 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13286 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13291 # Check to make sure the PIC flag actually works.
13293 if test -n "$lt_prog_compiler_pic_CXX"; then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13295 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13296 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13297 $as_echo_n "(cached) " >&6
13299 lt_cv_prog_compiler_pic_works_CXX
=no
13300 ac_outfile
=conftest.
$ac_objext
13301 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13302 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13303 # Insert the option either (1) after the last *FLAGS variable, or
13304 # (2) before a word containing "conftest.", or (3) at the end.
13305 # Note that $ac_compile itself does not contain backslashes and begins
13306 # with a dollar sign (not a hyphen), so the echo should work correctly.
13307 # The option is referenced via a variable to avoid confusing sed.
13308 lt_compile
=`echo "$ac_compile" | $SED \
13309 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13310 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13311 -e 's:$: $lt_compiler_flag:'`
13312 (eval echo "\"\$as_me:13312: $lt_compile\"" >&5)
13313 (eval "$lt_compile" 2>conftest.err
)
13315 cat conftest.err
>&5
13316 echo "$as_me:13316: \$? = $ac_status" >&5
13317 if (exit $ac_status) && test -s "$ac_outfile"; then
13318 # The compiler can only warn and ignore the option if not recognized
13319 # So say no if there are warnings other than the usual output.
13320 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13321 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13322 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13323 lt_cv_prog_compiler_pic_works_CXX
=yes
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13330 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13332 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13333 case $lt_prog_compiler_pic_CXX in
13335 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13338 lt_prog_compiler_pic_CXX
=
13339 lt_prog_compiler_can_build_shared_CXX
=no
13347 # Check to make sure the static flag actually works.
13349 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13351 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13352 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13353 $as_echo_n "(cached) " >&6
13355 lt_cv_prog_compiler_static_works_CXX
=no
13356 save_LDFLAGS
="$LDFLAGS"
13357 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13358 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13359 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13360 # The linker can only warn and ignore the option if not recognized
13361 # So say no if there are warnings
13362 if test -s conftest.err
; then
13363 # Append any errors to the config.log.
13364 cat conftest.err
1>&5
13365 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13366 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13367 if diff conftest.exp conftest.er2
>/dev
/null
; then
13368 lt_cv_prog_compiler_static_works_CXX
=yes
13371 lt_cv_prog_compiler_static_works_CXX
=yes
13375 LDFLAGS
="$save_LDFLAGS"
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13379 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13381 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13384 lt_prog_compiler_static_CXX
=
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13391 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13392 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13393 $as_echo_n "(cached) " >&6
13395 lt_cv_prog_compiler_c_o_CXX
=no
13396 $RM -r conftest
2>/dev
/null
13400 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13402 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13403 # Insert the option either (1) after the last *FLAGS variable, or
13404 # (2) before a word containing "conftest.", or (3) at the end.
13405 # Note that $ac_compile itself does not contain backslashes and begins
13406 # with a dollar sign (not a hyphen), so the echo should work correctly.
13407 lt_compile
=`echo "$ac_compile" | $SED \
13408 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13409 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13410 -e 's:$: $lt_compiler_flag:'`
13411 (eval echo "\"\$as_me:13411: $lt_compile\"" >&5)
13412 (eval "$lt_compile" 2>out
/conftest.err
)
13414 cat out
/conftest.err
>&5
13415 echo "$as_me:13415: \$? = $ac_status" >&5
13416 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13418 # The compiler can only warn and ignore the option if not recognized
13419 # So say no if there are warnings
13420 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13421 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13422 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13423 lt_cv_prog_compiler_c_o_CXX
=yes
13428 # SGI C++ compiler will create directory out/ii_files/ for
13429 # template instantiation
13430 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13431 $RM out
/* && rmdir out
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13438 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13443 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13444 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13445 $as_echo_n "(cached) " >&6
13447 lt_cv_prog_compiler_c_o_CXX
=no
13448 $RM -r conftest
2>/dev
/null
13452 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13454 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13455 # Insert the option either (1) after the last *FLAGS variable, or
13456 # (2) before a word containing "conftest.", or (3) at the end.
13457 # Note that $ac_compile itself does not contain backslashes and begins
13458 # with a dollar sign (not a hyphen), so the echo should work correctly.
13459 lt_compile
=`echo "$ac_compile" | $SED \
13460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13462 -e 's:$: $lt_compiler_flag:'`
13463 (eval echo "\"\$as_me:13463: $lt_compile\"" >&5)
13464 (eval "$lt_compile" 2>out
/conftest.err
)
13466 cat out
/conftest.err
>&5
13467 echo "$as_me:13467: \$? = $ac_status" >&5
13468 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13470 # The compiler can only warn and ignore the option if not recognized
13471 # So say no if there are warnings
13472 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13473 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13474 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13475 lt_cv_prog_compiler_c_o_CXX
=yes
13480 # SGI C++ compiler will create directory out/ii_files/ for
13481 # template instantiation
13482 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13483 $RM out
/* && rmdir out
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13490 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13495 hard_links
="nottested"
13496 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13497 # do not overwrite the value of need_locks provided by the user
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13499 $as_echo_n "checking if we can lock with hard links... " >&6; }
13502 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13504 ln conftest.a conftest.b
2>&5 || hard_links
=no
13505 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13507 $as_echo "$hard_links" >&6; }
13508 if test "$hard_links" = no
; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13510 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13520 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13522 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13525 # If we're using GNU nm, then we don't want the "-C" option.
13526 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13527 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13528 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'
13530 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'
13534 export_symbols_cmds_CXX
="$ltdll_cmds"
13536 cygwin
* | mingw
* | cegcc
*)
13537 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'
13539 linux
* | k
*bsd
*-gnu)
13540 link_all_deplibs_CXX
=no
13543 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13546 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13549 $as_echo "$ld_shlibs_CXX" >&6; }
13550 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13552 with_gnu_ld_CXX
=$with_gnu_ld
13560 # Do we need to explicitly link libc?
13562 case "x$archive_cmds_need_lc_CXX" in
13564 # Assume -lc should be added
13565 archive_cmds_need_lc_CXX
=yes
13567 if test "$enable_shared" = yes && test "$GCC" = yes; then
13568 case $archive_cmds_CXX in
13570 # FIXME: we may have to deal with multi-command sequences.
13573 # Test whether the compiler implicitly links with -lc since on some
13574 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13575 # to ld, don't add -lc before -lgcc.
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13577 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13581 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13582 (eval $ac_compile) 2>&5
13584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13585 test $ac_status = 0; } 2>conftest.err
; then
13588 libobjs
=conftest.
$ac_objext
13590 wl
=$lt_prog_compiler_wl_CXX
13591 pic_flag
=$lt_prog_compiler_pic_CXX
13597 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13598 allow_undefined_flag_CXX
=
13599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13600 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13603 test $ac_status = 0; }
13605 archive_cmds_need_lc_CXX
=no
13607 archive_cmds_need_lc_CXX
=yes
13609 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13611 cat conftest.err
1>&5
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13615 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13686 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13688 library_names_spec
=
13689 libname_spec
='lib$name'
13693 postuninstall_cmds
=
13697 shlibpath_overrides_runpath
=unknown
13699 dynamic_linker
="$host_os ld.so"
13700 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13701 need_lib_prefix
=unknown
13702 hardcode_into_libs
=no
13704 # when you set need_version to no, make sure it does not cause -set_version
13705 # flags to be left without arguments
13706 need_version
=unknown
13711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13712 shlibpath_var
=LIBPATH
13714 # AIX 3 has no versioning support, so we append a major version to the name.
13715 soname_spec
='${libname}${release}${shared_ext}$major'
13722 hardcode_into_libs
=yes
13723 if test "$host_cpu" = ia64
; then
13724 # AIX 5 supports IA64
13725 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13726 shlibpath_var
=LD_LIBRARY_PATH
13728 # With GCC up to 2.95.x, collect2 would create an import file
13729 # for dependence libraries. The import file would start with
13730 # the line `#! .'. This would cause the generated library to
13731 # depend on `.', always an invalid library. This was fixed in
13732 # development snapshots of GCC prior to 3.0.
13734 aix4
| aix4.
[01] | aix4.
[01].
*)
13735 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13737 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13740 can_build_shared
=no
13744 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13745 # soname into executable. Probably we can add versioning support to
13746 # collect2, so additional links can be useful in future.
13747 if test "$aix_use_runtimelinking" = yes; then
13748 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13749 # instead of lib<name>.a to let people know that these are not
13750 # typical AIX shared libraries.
13751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13753 # We preserve .a as extension for shared libraries through AIX4.2
13754 # and later when we are not doing run time linking.
13755 library_names_spec
='${libname}${release}.a $libname.a'
13756 soname_spec
='${libname}${release}${shared_ext}$major'
13758 shlibpath_var
=LIBPATH
13765 # Since July 2007 AmigaOS4 officially supports .so libraries.
13766 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13770 library_names_spec
='$libname.ixlibrary $libname.a'
13771 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13772 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'
13778 library_names_spec
='${libname}${shared_ext}'
13779 dynamic_linker
="$host_os ld.so"
13780 shlibpath_var
=LIBRARY_PATH
13786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13787 soname_spec
='${libname}${release}${shared_ext}$major'
13788 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13789 shlibpath_var
=LD_LIBRARY_PATH
13790 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13791 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13792 # the default ld.so.conf also contains /usr/contrib/lib and
13793 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13794 # libtool to hard-code these into programs
13797 cygwin
* | mingw
* | pw32
* | cegcc
*)
13798 version_type
=windows
13803 case $GCC,$host_os in
13804 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13805 library_names_spec
='$libname.dll.a'
13806 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13807 postinstall_cmds
='base_file=`basename \${file}`~
13808 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13809 dldir=$destdir/`dirname \$dlpath`~
13810 test -d \$dldir || mkdir -p \$dldir~
13811 $install_prog $dir/$dlname \$dldir/$dlname~
13812 chmod a+x \$dldir/$dlname~
13813 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13814 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13816 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13817 dlpath=$dir/\$dldll~
13819 shlibpath_overrides_runpath
=yes
13823 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13824 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13825 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13828 # MinGW DLLs use traditional 'lib' prefix
13829 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13830 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13831 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13832 # It is most probably a Windows format PATH printed by
13833 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13834 # path with ; separators, and with drive letters. We can handle the
13835 # drive letters (cygwin fileutils understands them), so leave them,
13836 # especially as we might pass files found there to a mingw objdump,
13837 # which wouldn't understand a cygwinified path. Ahh.
13838 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13840 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13844 # pw32 DLLs use 'pw' prefix rather than 'lib'
13845 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13851 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13854 dynamic_linker
='Win32 ld.exe'
13855 # FIXME: first we should search . and the directory the executable is in
13859 darwin
* | rhapsody
*)
13860 dynamic_linker
="$host_os dyld"
13861 version_type
=darwin
13864 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13865 soname_spec
='${libname}${release}${major}$shared_ext'
13866 shlibpath_overrides_runpath
=yes
13867 shlibpath_var
=DYLD_LIBRARY_PATH
13868 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13870 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13878 soname_spec
='${libname}${release}${shared_ext}$major'
13879 shlibpath_var
=LD_LIBRARY_PATH
13886 freebsd
* | dragonfly
*)
13887 # DragonFly does not have aout. When/if they implement a new
13888 # versioning mechanism, adjust this.
13889 if test -x /usr
/bin
/objformat
; then
13890 objformat
=`/usr/bin/objformat`
13893 freebsd
[123]*) objformat
=aout
;;
13894 *) objformat
=elf
;;
13897 version_type
=freebsd
-$objformat
13898 case $version_type in
13900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13905 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13909 shlibpath_var
=LD_LIBRARY_PATH
13912 shlibpath_overrides_runpath
=yes
13914 freebsd3.
[01]* | freebsdelf3.
[01]*)
13915 shlibpath_overrides_runpath
=yes
13916 hardcode_into_libs
=yes
13918 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13919 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13920 shlibpath_overrides_runpath
=no
13921 hardcode_into_libs
=yes
13923 *) # from 4.6 on, and DragonFly
13924 shlibpath_overrides_runpath
=yes
13925 hardcode_into_libs
=yes
13934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13935 soname_spec
='${libname}${release}${shared_ext}$major'
13936 shlibpath_var
=LD_LIBRARY_PATH
13937 hardcode_into_libs
=yes
13940 hpux9
* | hpux10
* | hpux11
*)
13941 # Give a soname corresponding to the major version so that dld.sl refuses to
13942 # link against other versions.
13949 hardcode_into_libs
=yes
13950 dynamic_linker
="$host_os dld.so"
13951 shlibpath_var
=LD_LIBRARY_PATH
13952 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13954 soname_spec
='${libname}${release}${shared_ext}$major'
13955 if test "X$HPUX_IA64_MODE" = X32
; then
13956 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13958 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13960 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13964 hardcode_into_libs
=yes
13965 dynamic_linker
="$host_os dld.sl"
13966 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13967 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13969 soname_spec
='${libname}${release}${shared_ext}$major'
13970 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13971 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13975 dynamic_linker
="$host_os dld.sl"
13976 shlibpath_var
=SHLIB_PATH
13977 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec
='${libname}${release}${shared_ext}$major'
13982 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13983 postinstall_cmds
='chmod 555 $lib'
13990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13991 soname_spec
='${libname}${release}${shared_ext}$major'
13992 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13993 shlibpath_var
=LD_LIBRARY_PATH
13994 shlibpath_overrides_runpath
=no
13995 hardcode_into_libs
=yes
13998 irix5
* | irix6
* | nonstopux
*)
14000 nonstopux
*) version_type
=nonstopux
;;
14002 if test "$lt_cv_prog_gnu_ld" = yes; then
14010 soname_spec
='${libname}${release}${shared_ext}$major'
14011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14013 irix5
* | nonstopux
*)
14014 libsuff
= shlibsuff
=
14017 case $LD in # libtool.m4 will add one of these switches to LD
14018 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14019 libsuff
= shlibsuff
= libmagic
=32-bit;;
14020 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14021 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14022 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14023 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14024 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
14028 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14029 shlibpath_overrides_runpath
=no
14030 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14031 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14032 hardcode_into_libs
=yes
14035 # No shared lib support for Linux oldld, aout, or coff.
14036 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14040 # This must be Linux ELF.
14041 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14046 soname_spec
='${libname}${release}${shared_ext}$major'
14047 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14048 shlibpath_var
=LD_LIBRARY_PATH
14049 shlibpath_overrides_runpath
=no
14050 # Some binutils ld are patched to set DT_RUNPATH
14051 save_LDFLAGS
=$LDFLAGS
14052 save_libdir
=$libdir
14053 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14054 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14066 if ac_fn_cxx_try_link
"$LINENO"; then :
14067 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
14068 shlibpath_overrides_runpath
=yes
14071 rm -f core conftest.err conftest.
$ac_objext \
14072 conftest
$ac_exeext conftest.
$ac_ext
14073 LDFLAGS
=$save_LDFLAGS
14074 libdir
=$save_libdir
14076 # This implies no fast_install, which is unacceptable.
14077 # Some rework will be needed to allow for fast_install
14078 # before this can be enabled.
14079 hardcode_into_libs
=yes
14081 # Append ld.so.conf contents to the search path
14082 if test -f /etc
/ld.so.conf
; then
14083 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' ' '`
14084 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14087 # We used to test for /lib/ld.so.1 and disable shared libraries on
14088 # powerpc, because MkLinux only supported shared libraries with the
14089 # GNU dynamic linker. Since this was broken with cross compilers,
14090 # most powerpc-linux boxes support dynamic linking these days and
14091 # people can always --disable-shared, the test was removed, and we
14092 # assume the GNU/Linux dynamic linker is in use.
14093 dynamic_linker
='GNU/Linux ld.so'
14100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14101 soname_spec
='${libname}${release}${shared_ext}$major'
14102 shlibpath_var
=LD_LIBRARY_PATH
14103 shlibpath_overrides_runpath
=no
14104 hardcode_into_libs
=yes
14105 dynamic_linker
='NetBSD ld.elf_so'
14112 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
14113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14115 dynamic_linker
='NetBSD (a.out) ld.so'
14117 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14118 soname_spec
='${libname}${release}${shared_ext}$major'
14119 dynamic_linker
='NetBSD ld.elf_so'
14121 shlibpath_var
=LD_LIBRARY_PATH
14122 shlibpath_overrides_runpath
=yes
14123 hardcode_into_libs
=yes
14128 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14129 shlibpath_var
=LD_LIBRARY_PATH
14130 shlibpath_overrides_runpath
=yes
14137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14138 soname_spec
='${libname}${release}${shared_ext}$major'
14139 shlibpath_var
=LD_LIBRARY_PATH
14140 shlibpath_overrides_runpath
=no
14141 hardcode_into_libs
=yes
14142 dynamic_linker
='ldqnx.so'
14147 sys_lib_dlsearch_path_spec
="/usr/lib"
14149 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14151 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
14152 *) need_version
=no
;;
14154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14155 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14156 shlibpath_var
=LD_LIBRARY_PATH
14157 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14159 openbsd2.
[89] | openbsd2.
[89].
*)
14160 shlibpath_overrides_runpath
=no
14163 shlibpath_overrides_runpath
=yes
14167 shlibpath_overrides_runpath
=yes
14172 libname_spec
='$name'
14175 library_names_spec
='$libname${shared_ext} $libname.a'
14176 dynamic_linker
='OS/2 ld.exe'
14177 shlibpath_var
=LIBPATH
14180 osf3
* | osf4
* | osf5
*)
14184 soname_spec
='${libname}${release}${shared_ext}$major'
14185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14186 shlibpath_var
=LD_LIBRARY_PATH
14187 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14188 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14200 soname_spec
='${libname}${release}${shared_ext}$major'
14201 shlibpath_var
=LD_LIBRARY_PATH
14202 shlibpath_overrides_runpath
=yes
14203 hardcode_into_libs
=yes
14204 # ldd complains unless libraries are executable
14205 postinstall_cmds
='chmod +x $lib'
14210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14211 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14212 shlibpath_var
=LD_LIBRARY_PATH
14213 shlibpath_overrides_runpath
=yes
14214 if test "$with_gnu_ld" = yes; then
14222 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 soname_spec
='${libname}${release}${shared_ext}$major'
14224 shlibpath_var
=LD_LIBRARY_PATH
14225 case $host_vendor in
14227 shlibpath_overrides_runpath
=no
14229 runpath_var
=LD_RUN_PATH
14237 shlibpath_overrides_runpath
=no
14238 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14244 if test -d /usr
/nec
;then
14246 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14247 soname_spec
='$libname${shared_ext}.$major'
14248 shlibpath_var
=LD_LIBRARY_PATH
14252 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14253 version_type
=freebsd
-elf
14256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14257 soname_spec
='${libname}${release}${shared_ext}$major'
14258 shlibpath_var
=LD_LIBRARY_PATH
14259 shlibpath_overrides_runpath
=yes
14260 hardcode_into_libs
=yes
14261 if test "$with_gnu_ld" = yes; then
14262 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14264 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14267 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14271 sys_lib_dlsearch_path_spec
='/usr/lib'
14275 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14280 shlibpath_var
=LD_LIBRARY_PATH
14281 shlibpath_overrides_runpath
=no
14282 hardcode_into_libs
=yes
14287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 soname_spec
='${libname}${release}${shared_ext}$major'
14289 shlibpath_var
=LD_LIBRARY_PATH
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14297 $as_echo "$dynamic_linker" >&6; }
14298 test "$dynamic_linker" = no
&& can_build_shared
=no
14300 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14301 if test "$GCC" = yes; then
14302 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14305 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14306 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14308 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14309 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14348 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14349 hardcode_action_CXX
=
14350 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14351 test -n "$runpath_var_CXX" ||
14352 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14354 # We can hardcode non-existent directories.
14355 if test "$hardcode_direct_CXX" != no
&&
14356 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14357 # have to relink, otherwise we might link with an installed library
14358 # when we should be linking with a yet-to-be-installed one
14359 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14360 test "$hardcode_minus_L_CXX" != no
; then
14361 # Linking always hardcodes the temporary library directory.
14362 hardcode_action_CXX
=relink
14364 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14365 hardcode_action_CXX
=immediate
14368 # We cannot hardcode anything, or else we can only hardcode existing
14370 hardcode_action_CXX
=unsupported
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14373 $as_echo "$hardcode_action_CXX" >&6; }
14375 if test "$hardcode_action_CXX" = relink
||
14376 test "$inherit_rpath_CXX" = yes; then
14377 # Fast installation is not supported
14378 enable_fast_install
=no
14379 elif test "$shlibpath_overrides_runpath" = yes ||
14380 test "$enable_shared" = no
; then
14381 # Fast installation is not necessary
14382 enable_fast_install
=needless
14391 fi # test -n "$compiler"
14397 with_gnu_ld
=$lt_save_with_gnu_ld
14398 lt_cv_path_LDCXX
=$lt_cv_path_LD
14399 lt_cv_path_LD
=$lt_save_path_LD
14400 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14401 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14402 fi # test "$_lt_caught_CXX_error" != yes
14405 ac_cpp
='$CPP $CPPFLAGS'
14406 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14407 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14408 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14411 # Find a good install program. We prefer a C program (faster),
14412 # so one script is as good as another. But avoid the broken or
14413 # incompatible versions:
14414 # SysV /etc/install, /usr/sbin/install
14415 # SunOS /usr/etc/install
14416 # IRIX /sbin/install
14418 # AmigaOS /C/install, which installs bootblocks on floppy discs
14419 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14420 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14421 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14422 # OS/2's system install, which has a completely different semantic
14423 # ./install, which can be erroneously created by make from ./install.sh.
14424 # Reject install programs that cannot install multiple files.
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14426 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14427 if test -z "$INSTALL"; then
14428 if test "${ac_cv_path_install+set}" = set; then :
14429 $as_echo_n "(cached) " >&6
14431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14432 for as_dir
in $PATH
14435 test -z "$as_dir" && as_dir
=.
14436 # Account for people who put trailing slashes in PATH elements.
14437 case $as_dir/ in #((
14438 .
/ | .
// | /[cC
]/* | \
14439 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14440 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14443 # OSF1 and SCO ODT 3.0 have their own names for install.
14444 # Don't use installbsd from OSF since it installs stuff as root
14446 for ac_prog
in ginstall scoinst
install; do
14447 for ac_exec_ext
in '' $ac_executable_extensions; do
14448 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14449 if test $ac_prog = install &&
14450 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14451 # AIX install. It has an incompatible calling convention.
14453 elif test $ac_prog = install &&
14454 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14455 # program-specific install script used by HP pwplus--don't use.
14458 rm -rf conftest.one conftest.two conftest.dir
14459 echo one
> conftest.one
14460 echo two
> conftest.two
14462 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14463 test -s conftest.one
&& test -s conftest.two
&&
14464 test -s conftest.dir
/conftest.one
&&
14465 test -s conftest.dir
/conftest.two
14467 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14480 rm -rf conftest.one conftest.two conftest.dir
14483 if test "${ac_cv_path_install+set}" = set; then
14484 INSTALL
=$ac_cv_path_install
14486 # As a last resort, use the slow shell script. Don't cache a
14487 # value for INSTALL within a source directory, because that will
14488 # break other packages using the cache if that directory is
14489 # removed, or if the value is a relative name.
14490 INSTALL
=$ac_install_sh
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14494 $as_echo "$INSTALL" >&6; }
14496 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14497 # It thinks the first close brace ends the variable substitution.
14498 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14500 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14502 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14505 if test "X$prefix" = "XNONE"; then
14506 acl_final_prefix
="$ac_default_prefix"
14508 acl_final_prefix
="$prefix"
14510 if test "X$exec_prefix" = "XNONE"; then
14511 acl_final_exec_prefix
='${prefix}'
14513 acl_final_exec_prefix
="$exec_prefix"
14515 acl_save_prefix
="$prefix"
14516 prefix
="$acl_final_prefix"
14517 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
14518 prefix
="$acl_save_prefix"
14521 # Check whether --with-gnu-ld was given.
14522 if test "${with_gnu_ld+set}" = set; then :
14523 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
14528 # Prepare PATH_SEPARATOR.
14529 # The user is always right.
14530 if test "${PATH_SEPARATOR+set}" != set; then
14531 echo "#! /bin/sh" >conf$$.sh
14532 echo "exit 0" >>conf$$.sh
14534 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14542 if test "$GCC" = yes; then
14543 # Check if gcc -print-prog-name=ld gives a path.
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14545 $as_echo_n "checking for ld used by GCC... " >&6; }
14548 # gcc leaves a trailing carriage return which upsets mingw
14549 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14551 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
14554 # Accept absolute paths.
14555 [\\/]* | [A
-Za-z]:[\\/]*)
14556 re_direlt
='/[^/][^/]*/\.\./'
14557 # Canonicalize the path of ld
14558 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
14559 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
14560 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
14562 test -z "$LD" && LD
="$ac_prog"
14565 # If it fails, then pretend we aren't using GCC.
14569 # If it is relative, then search for the first ld in PATH.
14570 with_gnu_ld
=unknown
14573 elif test "$with_gnu_ld" = yes; then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14575 $as_echo_n "checking for GNU ld... " >&6; }
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14578 $as_echo_n "checking for non-GNU ld... " >&6; }
14580 if test "${acl_cv_path_LD+set}" = set; then :
14581 $as_echo_n "(cached) " >&6
14583 if test -z "$LD"; then
14584 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
14585 for ac_dir
in $PATH; do
14586 test -z "$ac_dir" && ac_dir
=.
14587 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14588 acl_cv_path_LD
="$ac_dir/$ac_prog"
14589 # Check to see if the program is GNU ld. I'd rather use --version,
14590 # but apparently some GNU ld's only accept -v.
14591 # Break only if it was the GNU/non-GNU ld that we prefer.
14592 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14593 *GNU
* | *'with BFD'*)
14594 test "$with_gnu_ld" != no
&& break ;;
14596 test "$with_gnu_ld" != yes && break ;;
14602 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
14606 LD
="$acl_cv_path_LD"
14607 if test -n "$LD"; then
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14609 $as_echo "$LD" >&6; }
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14612 $as_echo "no" >&6; }
14614 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14616 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14617 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14618 $as_echo_n "(cached) " >&6
14620 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14621 case `$LD -v 2>&1 </dev/null` in
14622 *GNU
* | *'with BFD'*)
14623 acl_cv_prog_gnu_ld
=yes ;;
14625 acl_cv_prog_gnu_ld
=no
;;
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14629 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14630 with_gnu_ld
=$acl_cv_prog_gnu_ld
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14636 $as_echo_n "checking for shared library run path origin... " >&6; }
14637 if test "${acl_cv_rpath+set}" = set; then :
14638 $as_echo_n "(cached) " >&6
14641 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
14642 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14644 rm -f .
/conftest.sh
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14649 $as_echo "$acl_cv_rpath" >&6; }
14651 acl_libext
="$acl_cv_libext"
14652 acl_shlibext
="$acl_cv_shlibext"
14653 acl_libname_spec
="$acl_cv_libname_spec"
14654 acl_library_names_spec
="$acl_cv_library_names_spec"
14655 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
14656 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
14657 acl_hardcode_direct
="$acl_cv_hardcode_direct"
14658 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
14659 # Check whether --enable-rpath was given.
14660 if test "${enable_rpath+set}" = set; then :
14661 enableval
=$enable_rpath; :
14669 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14670 if test -n "$searchpath"; then
14671 acl_save_IFS
="${IFS= }"; IFS
=":"
14672 for searchdir
in $searchpath; do
14673 if test -d "$searchdir"; then
14674 case "$searchdir" in
14675 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
14676 *) searchdir
=`cd "$searchdir" && pwd`
14677 case "$searchdir" in
14678 */lib64
) acl_libdirstem
=lib64
;;
14683 IFS
="$acl_save_IFS"
14696 acl_save_prefix
="$prefix"
14697 prefix
="$acl_final_prefix"
14698 acl_save_exec_prefix
="$exec_prefix"
14699 exec_prefix
="$acl_final_exec_prefix"
14701 eval additional_includedir
=\"$includedir\"
14702 eval additional_libdir
=\"$libdir\"
14704 exec_prefix
="$acl_save_exec_prefix"
14705 prefix
="$acl_save_prefix"
14708 # Check whether --with-libiconv-prefix was given.
14709 if test "${with_libiconv_prefix+set}" = set; then :
14710 withval
=$with_libiconv_prefix;
14711 if test "X$withval" = "Xno"; then
14714 if test "X$withval" = "X"; then
14716 acl_save_prefix
="$prefix"
14717 prefix
="$acl_final_prefix"
14718 acl_save_exec_prefix
="$exec_prefix"
14719 exec_prefix
="$acl_final_exec_prefix"
14721 eval additional_includedir
=\"$includedir\"
14722 eval additional_libdir
=\"$libdir\"
14724 exec_prefix
="$acl_save_exec_prefix"
14725 prefix
="$acl_save_prefix"
14728 additional_includedir
="$withval/include"
14729 additional_libdir
="$withval/$acl_libdirstem"
14741 names_already_handled
=
14742 names_next_round
='iconv '
14743 while test -n "$names_next_round"; do
14744 names_this_round
="$names_next_round"
14746 for name
in $names_this_round; do
14748 for n
in $names_already_handled; do
14749 if test "$n" = "$name"; then
14750 already_handled
=yes
14754 if test -z "$already_handled"; then
14755 names_already_handled
="$names_already_handled $name"
14756 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14757 eval value
=\"\
$HAVE_LIB$uppername\"
14758 if test -n "$value"; then
14759 if test "$value" = yes; then
14760 eval value
=\"\
$LIB$uppername\"
14761 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14762 eval value
=\"\
$LTLIB$uppername\"
14763 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14772 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
14773 if test -n "$acl_shlibext"; then
14774 shrext
=".$acl_shlibext" # typically: shrext=.so
14778 if test $use_additional = yes; then
14779 dir
="$additional_libdir"
14780 if test -n "$acl_shlibext"; then
14781 if test -f "$dir/$libname$shrext"; then
14783 found_so
="$dir/$libname$shrext"
14785 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14786 ver
=`(cd "$dir" && \
14787 for f in "$libname$shrext".*; do echo "$f"; done \
14788 | sed -e "s,^$libname$shrext\\\\.,," \
14789 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14790 | sed 1q ) 2>/dev/null`
14791 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14793 found_so
="$dir/$libname$shrext.$ver"
14796 eval library_names
=\"$acl_library_names_spec\"
14797 for f
in $library_names; do
14798 if test -f "$dir/$f"; then
14807 if test "X$found_dir" = "X"; then
14808 if test -f "$dir/$libname.$acl_libext"; then
14810 found_a
="$dir/$libname.$acl_libext"
14813 if test "X$found_dir" != "X"; then
14814 if test -f "$dir/$libname.la"; then
14815 found_la
="$dir/$libname.la"
14819 if test "X$found_dir" = "X"; then
14820 for x
in $LDFLAGS $LTLIBICONV; do
14822 acl_save_prefix
="$prefix"
14823 prefix
="$acl_final_prefix"
14824 acl_save_exec_prefix
="$exec_prefix"
14825 exec_prefix
="$acl_final_exec_prefix"
14827 exec_prefix
="$acl_save_exec_prefix"
14828 prefix
="$acl_save_prefix"
14832 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14833 if test -n "$acl_shlibext"; then
14834 if test -f "$dir/$libname$shrext"; then
14836 found_so
="$dir/$libname$shrext"
14838 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14839 ver
=`(cd "$dir" && \
14840 for f in "$libname$shrext".*; do echo "$f"; done \
14841 | sed -e "s,^$libname$shrext\\\\.,," \
14842 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14843 | sed 1q ) 2>/dev/null`
14844 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14846 found_so
="$dir/$libname$shrext.$ver"
14849 eval library_names
=\"$acl_library_names_spec\"
14850 for f
in $library_names; do
14851 if test -f "$dir/$f"; then
14860 if test "X$found_dir" = "X"; then
14861 if test -f "$dir/$libname.$acl_libext"; then
14863 found_a
="$dir/$libname.$acl_libext"
14866 if test "X$found_dir" != "X"; then
14867 if test -f "$dir/$libname.la"; then
14868 found_la
="$dir/$libname.la"
14873 if test "X$found_dir" != "X"; then
14878 if test "X$found_dir" != "X"; then
14879 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14880 if test "X$found_so" != "X"; then
14881 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14882 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14885 for x
in $ltrpathdirs; do
14886 if test "X$x" = "X$found_dir"; then
14891 if test -z "$haveit"; then
14892 ltrpathdirs
="$ltrpathdirs $found_dir"
14894 if test "$acl_hardcode_direct" = yes; then
14895 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14897 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
14898 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14900 for x
in $rpathdirs; do
14901 if test "X$x" = "X$found_dir"; then
14906 if test -z "$haveit"; then
14907 rpathdirs
="$rpathdirs $found_dir"
14911 for x
in $LDFLAGS $LIBICONV; do
14913 acl_save_prefix
="$prefix"
14914 prefix
="$acl_final_prefix"
14915 acl_save_exec_prefix
="$exec_prefix"
14916 exec_prefix
="$acl_final_exec_prefix"
14918 exec_prefix
="$acl_save_exec_prefix"
14919 prefix
="$acl_save_prefix"
14921 if test "X$x" = "X-L$found_dir"; then
14926 if test -z "$haveit"; then
14927 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14929 if test "$acl_hardcode_minus_L" != no
; then
14930 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14932 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14938 if test "X$found_a" != "X"; then
14939 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14941 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14944 additional_includedir
=
14945 case "$found_dir" in
14946 */$acl_libdirstem | */$acl_libdirstem/)
14947 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14948 LIBICONV_PREFIX
="$basedir"
14949 additional_includedir
="$basedir/include"
14952 if test "X$additional_includedir" != "X"; then
14953 if test "X$additional_includedir" != "X/usr/include"; then
14955 if test "X$additional_includedir" = "X/usr/local/include"; then
14956 if test -n "$GCC"; then
14958 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14962 if test -z "$haveit"; then
14963 for x
in $CPPFLAGS $INCICONV; do
14965 acl_save_prefix
="$prefix"
14966 prefix
="$acl_final_prefix"
14967 acl_save_exec_prefix
="$exec_prefix"
14968 exec_prefix
="$acl_final_exec_prefix"
14970 exec_prefix
="$acl_save_exec_prefix"
14971 prefix
="$acl_save_prefix"
14973 if test "X$x" = "X-I$additional_includedir"; then
14978 if test -z "$haveit"; then
14979 if test -d "$additional_includedir"; then
14980 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14986 if test -n "$found_la"; then
14987 save_libdir
="$libdir"
14988 case "$found_la" in
14989 */* | *\\*) .
"$found_la" ;;
14990 *) .
"./$found_la" ;;
14992 libdir
="$save_libdir"
14993 for dep
in $dependency_libs; do
14996 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14997 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14999 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15000 if test -n "$GCC"; then
15002 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15006 if test -z "$haveit"; then
15008 for x
in $LDFLAGS $LIBICONV; do
15010 acl_save_prefix
="$prefix"
15011 prefix
="$acl_final_prefix"
15012 acl_save_exec_prefix
="$exec_prefix"
15013 exec_prefix
="$acl_final_exec_prefix"
15015 exec_prefix
="$acl_save_exec_prefix"
15016 prefix
="$acl_save_prefix"
15018 if test "X$x" = "X-L$additional_libdir"; then
15023 if test -z "$haveit"; then
15024 if test -d "$additional_libdir"; then
15025 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15029 for x
in $LDFLAGS $LTLIBICONV; do
15031 acl_save_prefix
="$prefix"
15032 prefix
="$acl_final_prefix"
15033 acl_save_exec_prefix
="$exec_prefix"
15034 exec_prefix
="$acl_final_exec_prefix"
15036 exec_prefix
="$acl_save_exec_prefix"
15037 prefix
="$acl_save_prefix"
15039 if test "X$x" = "X-L$additional_libdir"; then
15044 if test -z "$haveit"; then
15045 if test -d "$additional_libdir"; then
15046 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15053 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15054 if test "$enable_rpath" != no
; then
15056 for x
in $rpathdirs; do
15057 if test "X$x" = "X$dir"; then
15062 if test -z "$haveit"; then
15063 rpathdirs
="$rpathdirs $dir"
15066 for x
in $ltrpathdirs; do
15067 if test "X$x" = "X$dir"; then
15072 if test -z "$haveit"; then
15073 ltrpathdirs
="$ltrpathdirs $dir"
15078 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15081 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15084 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15085 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15091 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15092 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15098 if test "X$rpathdirs" != "X"; then
15099 if test -n "$acl_hardcode_libdir_separator"; then
15101 for found_dir
in $rpathdirs; do
15102 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15104 acl_save_libdir
="$libdir"
15106 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15107 libdir
="$acl_save_libdir"
15108 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15110 for found_dir
in $rpathdirs; do
15111 acl_save_libdir
="$libdir"
15112 libdir
="$found_dir"
15113 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15114 libdir
="$acl_save_libdir"
15115 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15119 if test "X$ltrpathdirs" != "X"; then
15120 for found_dir
in $ltrpathdirs; do
15121 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15131 am_save_CPPFLAGS
="$CPPFLAGS"
15133 for element
in $INCICONV; do
15135 for x
in $CPPFLAGS; do
15137 acl_save_prefix
="$prefix"
15138 prefix
="$acl_final_prefix"
15139 acl_save_exec_prefix
="$exec_prefix"
15140 exec_prefix
="$acl_final_exec_prefix"
15142 exec_prefix
="$acl_save_exec_prefix"
15143 prefix
="$acl_save_prefix"
15145 if test "X$x" = "X$element"; then
15150 if test -z "$haveit"; then
15151 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15157 $as_echo_n "checking for iconv... " >&6; }
15158 if test "${am_cv_func_iconv+set}" = set; then :
15159 $as_echo_n "(cached) " >&6
15162 am_cv_func_iconv
="no, consider installing GNU libiconv"
15164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <stdlib.h>
15171 iconv_t cd = iconv_open("","");
15172 iconv(cd,NULL,NULL,NULL,NULL);
15178 if ac_fn_c_try_link
"$LINENO"; then :
15179 am_cv_func_iconv
=yes
15181 rm -f core conftest.err conftest.
$ac_objext \
15182 conftest
$ac_exeext conftest.
$ac_ext
15183 if test "$am_cv_func_iconv" != yes; then
15184 am_save_LIBS
="$LIBS"
15185 LIBS
="$LIBS $LIBICONV"
15186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <stdlib.h>
15193 iconv_t cd = iconv_open("","");
15194 iconv(cd,NULL,NULL,NULL,NULL);
15200 if ac_fn_c_try_link
"$LINENO"; then :
15201 am_cv_lib_iconv
=yes
15202 am_cv_func_iconv
=yes
15204 rm -f core conftest.err conftest.
$ac_objext \
15205 conftest
$ac_exeext conftest.
$ac_ext
15206 LIBS
="$am_save_LIBS"
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15211 $as_echo "$am_cv_func_iconv" >&6; }
15212 if test "$am_cv_func_iconv" = yes; then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15214 $as_echo_n "checking for working iconv... " >&6; }
15215 if test "${am_cv_func_iconv_works+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15219 am_save_LIBS
="$LIBS"
15220 if test $am_cv_lib_iconv = yes; then
15221 LIBS
="$LIBS $LIBICONV"
15223 if test "$cross_compiling" = yes; then :
15225 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15226 *) am_cv_func_iconv_works
="guessing yes" ;;
15229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15233 #include <string.h>
15236 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15239 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15240 if (cd_utf8_to_88591 != (iconv_t)(-1))
15242 static const char input[] = "\342\202\254"; /* EURO SIGN */
15244 const char *inptr = input;
15245 size_t inbytesleft = strlen (input);
15246 char *outptr = buf;
15247 size_t outbytesleft = sizeof (buf);
15248 size_t res = iconv (cd_utf8_to_88591,
15249 (char **) &inptr, &inbytesleft,
15250 &outptr, &outbytesleft);
15255 #if 0 /* This bug could be worked around by the caller. */
15256 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15258 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15259 if (cd_88591_to_utf8 != (iconv_t)(-1))
15261 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15263 const char *inptr = input;
15264 size_t inbytesleft = strlen (input);
15265 char *outptr = buf;
15266 size_t outbytesleft = sizeof (buf);
15267 size_t res = iconv (cd_88591_to_utf8,
15268 (char **) &inptr, &inbytesleft,
15269 &outptr, &outbytesleft);
15275 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15277 if (/* Try standardized names. */
15278 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15279 /* Try IRIX, OSF/1 names. */
15280 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15281 /* Try AIX names. */
15282 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15283 /* Try HP-UX names. */
15284 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15289 if ac_fn_c_try_run
"$LINENO"; then :
15290 am_cv_func_iconv_works
=yes
15292 am_cv_func_iconv_works
=no
15294 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15295 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15298 LIBS
="$am_save_LIBS"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15302 $as_echo "$am_cv_func_iconv_works" >&6; }
15303 case "$am_cv_func_iconv_works" in
15304 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15305 *) am_func_iconv
=yes ;;
15308 am_func_iconv
=no am_cv_lib_iconv
=no
15310 if test "$am_func_iconv" = yes; then
15312 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15315 if test "$am_cv_lib_iconv" = yes; then
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15317 $as_echo_n "checking how to link with libiconv... " >&6; }
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15319 $as_echo "$LIBICONV" >&6; }
15321 CPPFLAGS
="$am_save_CPPFLAGS"
15328 if test "$am_cv_func_iconv" = yes; then
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15330 $as_echo_n "checking for iconv declaration... " >&6; }
15331 if test "${am_cv_proto_iconv+set}" = set; then :
15332 $as_echo_n "(cached) " >&6
15335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 #include <stdlib.h>
15344 #if defined(__STDC__) || defined(__cplusplus)
15345 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15358 if ac_fn_c_try_compile
"$LINENO"; then :
15359 am_cv_proto_iconv_arg1
=""
15361 am_cv_proto_iconv_arg1
="const"
15363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15364 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);"
15367 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15369 }$am_cv_proto_iconv" >&5
15371 }$am_cv_proto_iconv" >&6; }
15373 cat >>confdefs.h
<<_ACEOF
15374 #define ICONV_CONST $am_cv_proto_iconv_arg1
15379 case $am_cv_func_iconv in #(
15383 as_fn_error
"You need iconv" "$LINENO" 5 ;;
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15388 $as_echo_n "checking for WEBKIT... " >&6; }
15390 if test -n "$PKG_CONFIG"; then
15391 if test -n "$WEBKIT_CFLAGS"; then
15392 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15394 if test -n "$PKG_CONFIG" && \
15395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15396 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15399 test $ac_status = 0; }; then
15400 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
15408 if test -n "$PKG_CONFIG"; then
15409 if test -n "$WEBKIT_LIBS"; then
15410 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15412 if test -n "$PKG_CONFIG" && \
15413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15414 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417 test $ac_status = 0; }; then
15418 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
15429 if test $pkg_failed = yes; then
15431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15432 _pkg_short_errors_supported
=yes
15434 _pkg_short_errors_supported
=no
15436 if test $_pkg_short_errors_supported = yes; then
15437 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15439 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15441 # Put the nasty error message in config.log where it belongs
15442 echo "$WEBKIT_PKG_ERRORS" >&5
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15445 $as_echo "no" >&6; }
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15450 $as_echo_n "checking for WEBKIT... " >&6; }
15452 if test -n "$PKG_CONFIG"; then
15453 if test -n "$WEBKIT_CFLAGS"; then
15454 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15456 if test -n "$PKG_CONFIG" && \
15457 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15458 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15461 test $ac_status = 0; }; then
15462 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15470 if test -n "$PKG_CONFIG"; then
15471 if test -n "$WEBKIT_LIBS"; then
15472 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15474 if test -n "$PKG_CONFIG" && \
15475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15476 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479 test $ac_status = 0; }; then
15480 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15491 if test $pkg_failed = yes; then
15493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15494 _pkg_short_errors_supported
=yes
15496 _pkg_short_errors_supported
=no
15498 if test $_pkg_short_errors_supported = yes; then
15499 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15501 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15503 # Put the nasty error message in config.log where it belongs
15504 echo "$WEBKIT_PKG_ERRORS" >&5
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15507 $as_echo "no" >&6; }
15509 elif test $pkg_failed = untried
; then
15512 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15513 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15515 $as_echo "yes" >&6; }
15519 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
15521 for x
in $CXXFLAGS; do
15523 acl_save_prefix
="$prefix"
15524 prefix
="$acl_final_prefix"
15525 acl_save_exec_prefix
="$exec_prefix"
15526 exec_prefix
="$acl_final_exec_prefix"
15528 exec_prefix
="$acl_save_exec_prefix"
15529 prefix
="$acl_save_prefix"
15531 if test "X$x" = "X$element"; then
15536 if test -z "$haveit"; then
15537 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
15542 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
15546 acl_save_prefix
="$prefix"
15547 prefix
="$acl_final_prefix"
15548 acl_save_exec_prefix
="$exec_prefix"
15549 exec_prefix
="$acl_final_exec_prefix"
15551 exec_prefix
="$acl_save_exec_prefix"
15552 prefix
="$acl_save_prefix"
15554 if test "X$x" = "X$element"; then
15559 if test -z "$haveit"; then
15560 LIBS
="${LIBS}${LIBS:+ }$element"
15567 elif test $pkg_failed = untried
; then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15572 $as_echo_n "checking for WEBKIT... " >&6; }
15574 if test -n "$PKG_CONFIG"; then
15575 if test -n "$WEBKIT_CFLAGS"; then
15576 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15578 if test -n "$PKG_CONFIG" && \
15579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15580 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15583 test $ac_status = 0; }; then
15584 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15592 if test -n "$PKG_CONFIG"; then
15593 if test -n "$WEBKIT_LIBS"; then
15594 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15596 if test -n "$PKG_CONFIG" && \
15597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15598 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15601 test $ac_status = 0; }; then
15602 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15613 if test $pkg_failed = yes; then
15615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15616 _pkg_short_errors_supported
=yes
15618 _pkg_short_errors_supported
=no
15620 if test $_pkg_short_errors_supported = yes; then
15621 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15623 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15625 # Put the nasty error message in config.log where it belongs
15626 echo "$WEBKIT_PKG_ERRORS" >&5
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15629 $as_echo "no" >&6; }
15631 elif test $pkg_failed = untried
; then
15634 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15635 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15637 $as_echo "yes" >&6; }
15641 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
15643 for x
in $CXXFLAGS; do
15645 acl_save_prefix
="$prefix"
15646 prefix
="$acl_final_prefix"
15647 acl_save_exec_prefix
="$exec_prefix"
15648 exec_prefix
="$acl_final_exec_prefix"
15650 exec_prefix
="$acl_save_exec_prefix"
15651 prefix
="$acl_save_prefix"
15653 if test "X$x" = "X$element"; then
15658 if test -z "$haveit"; then
15659 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
15664 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
15668 acl_save_prefix
="$prefix"
15669 prefix
="$acl_final_prefix"
15670 acl_save_exec_prefix
="$exec_prefix"
15671 exec_prefix
="$acl_final_exec_prefix"
15673 exec_prefix
="$acl_save_exec_prefix"
15674 prefix
="$acl_save_prefix"
15676 if test "X$x" = "X$element"; then
15681 if test -z "$haveit"; then
15682 LIBS
="${LIBS}${LIBS:+ }$element"
15690 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
15691 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15693 $as_echo "yes" >&6; }
15697 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
15699 for x
in $CXXFLAGS; do
15701 acl_save_prefix
="$prefix"
15702 prefix
="$acl_final_prefix"
15703 acl_save_exec_prefix
="$exec_prefix"
15704 exec_prefix
="$acl_final_exec_prefix"
15706 exec_prefix
="$acl_save_exec_prefix"
15707 prefix
="$acl_save_prefix"
15709 if test "X$x" = "X$element"; then
15714 if test -z "$haveit"; then
15715 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
15720 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
15724 acl_save_prefix
="$prefix"
15725 prefix
="$acl_final_prefix"
15726 acl_save_exec_prefix
="$exec_prefix"
15727 exec_prefix
="$acl_final_exec_prefix"
15729 exec_prefix
="$acl_save_exec_prefix"
15730 prefix
="$acl_save_prefix"
15732 if test "X$x" = "X$element"; then
15737 if test -z "$haveit"; then
15738 LIBS
="${LIBS}${LIBS:+ }$element"
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
15752 $as_echo_n "checking for LIBFFI... " >&6; }
15754 if test -n "$PKG_CONFIG"; then
15755 if test -n "$LIBFFI_CFLAGS"; then
15756 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
15758 if test -n "$PKG_CONFIG" && \
15759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15760 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15763 test $ac_status = 0; }; then
15764 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
15772 if test -n "$PKG_CONFIG"; then
15773 if test -n "$LIBFFI_LIBS"; then
15774 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
15776 if test -n "$PKG_CONFIG" && \
15777 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15778 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15781 test $ac_status = 0; }; then
15782 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
15793 if test $pkg_failed = yes; then
15795 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15796 _pkg_short_errors_supported
=yes
15798 _pkg_short_errors_supported
=no
15800 if test $_pkg_short_errors_supported = yes; then
15801 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
15803 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
15805 # Put the nasty error message in config.log where it belongs
15806 echo "$LIBFFI_PKG_ERRORS" >&5
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15809 $as_echo "no" >&6; }
15811 for ac_header
in ffi.h ffi
/ffi.h
15813 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15814 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15815 eval as_val
=\$
$as_ac_Header
15816 if test "x$as_val" = x
""yes; then :
15817 cat >>confdefs.h
<<_ACEOF
15818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15825 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
15827 as_fn_error
"You need libffi" "$LINENO" 5
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15831 $as_echo_n "checking for library containing ffi_call... " >&6; }
15832 if test "${ac_cv_search_ffi_call+set}" = set; then :
15833 $as_echo_n "(cached) " >&6
15835 ac_func_search_save_LIBS
=$LIBS
15836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15849 return ffi_call ();
15854 for ac_lib
in '' ffi
; do
15855 if test -z "$ac_lib"; then
15856 ac_res
="none required"
15859 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15861 if ac_fn_c_try_link
"$LINENO"; then :
15862 ac_cv_search_ffi_call
=$ac_res
15864 rm -f core conftest.err conftest.
$ac_objext \
15866 if test "${ac_cv_search_ffi_call+set}" = set; then :
15870 if test "${ac_cv_search_ffi_call+set}" = set; then :
15873 ac_cv_search_ffi_call
=no
15875 rm conftest.
$ac_ext
15876 LIBS
=$ac_func_search_save_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15879 $as_echo "$ac_cv_search_ffi_call" >&6; }
15880 ac_res
=$ac_cv_search_ffi_call
15881 if test "$ac_res" != no
; then :
15882 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15886 case $ac_cv_search_ffi_call in #(
15889 as_fn_error
"You need libffi" "$LINENO" 5
15895 elif test $pkg_failed = untried
; then
15897 for ac_header
in ffi.h ffi
/ffi.h
15899 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15900 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15901 eval as_val
=\$
$as_ac_Header
15902 if test "x$as_val" = x
""yes; then :
15903 cat >>confdefs.h
<<_ACEOF
15904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15911 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
15913 as_fn_error
"You need libffi" "$LINENO" 5
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15917 $as_echo_n "checking for library containing ffi_call... " >&6; }
15918 if test "${ac_cv_search_ffi_call+set}" = set; then :
15919 $as_echo_n "(cached) " >&6
15921 ac_func_search_save_LIBS
=$LIBS
15922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15925 /* Override any GCC internal prototype to avoid an error.
15926 Use char because int might match the return type of a GCC
15927 builtin and then its argument prototype would still apply. */
15935 return ffi_call ();
15940 for ac_lib
in '' ffi
; do
15941 if test -z "$ac_lib"; then
15942 ac_res
="none required"
15945 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15947 if ac_fn_c_try_link
"$LINENO"; then :
15948 ac_cv_search_ffi_call
=$ac_res
15950 rm -f core conftest.err conftest.
$ac_objext \
15952 if test "${ac_cv_search_ffi_call+set}" = set; then :
15956 if test "${ac_cv_search_ffi_call+set}" = set; then :
15959 ac_cv_search_ffi_call
=no
15961 rm conftest.
$ac_ext
15962 LIBS
=$ac_func_search_save_LIBS
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15965 $as_echo "$ac_cv_search_ffi_call" >&6; }
15966 ac_res
=$ac_cv_search_ffi_call
15967 if test "$ac_res" != no
; then :
15968 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15972 case $ac_cv_search_ffi_call in #(
15975 as_fn_error
"You need libffi" "$LINENO" 5
15982 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
15983 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15985 $as_echo "yes" >&6; }
15988 for element
in `$PKG_CONFIG --cflags libffi`; do
15990 for x
in $CXXFLAGS; do
15992 acl_save_prefix
="$prefix"
15993 prefix
="$acl_final_prefix"
15994 acl_save_exec_prefix
="$exec_prefix"
15995 exec_prefix
="$acl_final_exec_prefix"
15997 exec_prefix
="$acl_save_exec_prefix"
15998 prefix
="$acl_save_prefix"
16000 if test "X$x" = "X$element"; then
16005 if test -z "$haveit"; then
16006 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16011 for element
in `$PKG_CONFIG --libs libffi`; do
16015 acl_save_prefix
="$prefix"
16016 prefix
="$acl_final_prefix"
16017 acl_save_exec_prefix
="$exec_prefix"
16018 exec_prefix
="$acl_final_exec_prefix"
16020 exec_prefix
="$acl_save_exec_prefix"
16021 prefix
="$acl_save_prefix"
16023 if test "X$x" = "X$element"; then
16028 if test -z "$haveit"; then
16029 LIBS
="${LIBS}${LIBS:+ }$element"
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
16041 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
16045 $as_echo_n "checking for GNU make... " >&6; }
16046 if test "${_cv_gnu_make_command+set}" = set; then :
16047 $as_echo_n "(cached) " >&6
16049 _cv_gnu_make_command
='' ;
16050 for a
in "$MAKE" make gmake gnumake
; do
16051 if test -z "$a" ; then continue ; fi ;
16052 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
16053 _cv_gnu_make_command
=$a ;
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
16060 $as_echo "$_cv_gnu_make_command" >&6; } ;
16061 if test "x$_cv_gnu_make_command" != "x" ; then
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
16066 $as_echo "\"Not found\"" >&6; };
16070 if test "x$_cv_gnu_make_command" = x
; then :
16071 as_fn_error
"You need GNU make" "$LINENO" 5
16075 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16076 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16079 if test -n "$ac_tool_prefix"; then
16080 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
16082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16083 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16085 $as_echo_n "checking for $ac_word... " >&6; }
16086 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
16087 $as_echo_n "(cached) " >&6
16089 if test -n "$OBJCXX"; then
16090 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
16092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16093 for as_dir
in $PATH
16096 test -z "$as_dir" && as_dir
=.
16097 for ac_exec_ext
in '' $ac_executable_extensions; do
16098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16099 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
16100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16109 OBJCXX
=$ac_cv_prog_OBJCXX
16110 if test -n "$OBJCXX"; then
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
16112 $as_echo "$OBJCXX" >&6; }
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16115 $as_echo "no" >&6; }
16119 test -n "$OBJCXX" && break
16122 if test -z "$OBJCXX"; then
16123 ac_ct_OBJCXX
=$OBJCXX
16124 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
16126 # Extract the first word of "$ac_prog", so it can be a program name with args.
16127 set dummy
$ac_prog; ac_word
=$2
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16129 $as_echo_n "checking for $ac_word... " >&6; }
16130 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
16131 $as_echo_n "(cached) " >&6
16133 if test -n "$ac_ct_OBJCXX"; then
16134 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
16136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16137 for as_dir
in $PATH
16140 test -z "$as_dir" && as_dir
=.
16141 for ac_exec_ext
in '' $ac_executable_extensions; do
16142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16143 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
16144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16153 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
16154 if test -n "$ac_ct_OBJCXX"; then
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
16156 $as_echo "$ac_ct_OBJCXX" >&6; }
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16159 $as_echo "no" >&6; }
16163 test -n "$ac_ct_OBJCXX" && break
16166 if test "x$ac_ct_OBJCXX" = x
; then
16169 case $cross_compiling:$ac_tool_warned in
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16173 ac_tool_warned
=yes ;;
16175 OBJCXX
=$ac_ct_OBJCXX
16179 # Provide some information about the compiler.
16180 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
16183 for ac_option
in --version -v -V -qversion; do
16184 { { ac_try
="$ac_compiler $ac_option >&5"
16185 case "(($ac_try" in
16186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16187 *) ac_try_echo=$ac_try;;
16189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16190 $as_echo "$ac_try_echo"; } >&5
16191 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16193 if test -s conftest.err; then
16195 ... rest of stderr output deleted ...
16196 10q' conftest.err >conftest.er1
16197 cat conftest.er1 >&5
16199 rm -f conftest.er1 conftest.err
16200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16201 test $ac_status = 0; }
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
16205 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
16206 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
16207 $as_echo_n "(cached) " >&6
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16223 if ac_fn_objcxx_try_compile "$LINENO"; then :
16224 ac_compiler_gnu=yes
16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16229 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16233 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16234 if test $ac_compiler_gnu = yes; then
16239 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
16240 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16242 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16243 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
16244 $as_echo_n "(cached) " >&6
16246 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
16247 ac_objcxx_werror_flag=yes
16248 ac_cv_prog_objcxx_g=no
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16261 if ac_fn_objcxx_try_compile "$LINENO"; then :
16262 ac_cv_prog_objcxx_g=yes
16265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16276 if ac_fn_objcxx_try_compile "$LINENO"; then :
16279 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
16281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16282 /* end confdefs.h. */
16292 if ac_fn_objcxx_try_compile "$LINENO"; then :
16293 ac_cv_prog_objcxx_g=yes
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16300 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16303 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16304 if test "$ac_test_OBJCXXFLAGS" = set; then
16305 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
16306 elif test $ac_cv_prog_objcxx_g = yes; then
16307 if test "$GOBJCXX" = yes; then
16308 OBJCXXFLAGS="-g -O2"
16313 if test "$GOBJCXX" = yes; then
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16325 ac_config_files="$ac_config_files GNUmakefile"
16327 cat >confcache <<\_ACEOF
16328 # This file is a shell script that caches the results of configure
16329 # tests run on this system so they can be shared between configure
16330 # scripts and configure runs, see configure's option --config-cache.
16331 # It is not useful on other systems. If it contains results you don't
16332 # want to keep, you may remove or edit it.
16334 # config.status only pays attention to the cache file if you give it
16335 # the --recheck option to rerun configure.
16337 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16339 # following values.
16343 # The following way of writing the cache mishandles newlines in values,
16344 # but we know of no workaround that is simple, portable, and efficient.
16345 # So, we kill variables containing newlines.
16346 # Ultrix sh set writes to stderr and can't be redirected directly,
16347 # and sets the high bit in the cache file unless we assign to the vars.
16349 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16350 eval ac_val
=\$
$ac_var
16354 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16355 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16358 _
| IFS
| as_nl
) ;; #(
16359 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16360 *) { eval $ac_var=; unset $ac_var;} ;;
16366 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16367 *${as_nl}ac_space
=\
*)
16368 # `set' does not quote correctly, so add quotes: double-quote
16369 # substitution turns \\\\ into \\, and sed turns \\ into \.
16372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16375 # `set' quotes correctly as required by POSIX, so do not add quotes.
16376 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16387 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16389 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16390 if test -w "$cache_file"; then
16391 test "x$cache_file" != "x/dev/null" &&
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16393 $as_echo "$as_me: updating cache $cache_file" >&6;}
16394 cat confcache
>$cache_file
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16397 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16402 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16403 # Let make expand exec_prefix.
16404 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16406 # Transform confdefs.h into DEFS.
16407 # Protect against shell expansion while executing Makefile rules.
16408 # Protect against Makefile macro expansion.
16410 # If the first sed substitution is executed (which looks for macros that
16411 # take arguments), then branch to the quote section. Otherwise,
16412 # look for a macro that doesn't take arguments.
16422 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16424 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16428 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16441 DEFS
=`sed -n "$ac_script" confdefs.h`
16446 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16447 # 1. Remove the extension, and $U if already installed.
16448 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16449 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16450 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16451 # will be set to the directory where LIBOBJS objects are built.
16452 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16453 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16455 LIBOBJS
=$ac_libobjs
16457 LTLIBOBJS
=$ac_ltlibobjs
16461 : ${CONFIG_STATUS=./config.status}
16463 ac_clean_files_save
=$ac_clean_files
16464 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16466 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16468 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16470 # Generated by $as_me.
16471 # Run this file to recreate the current configuration.
16472 # Compiler output produced by configure, useful for debugging
16473 # configure, is in config.log if it exists.
16476 ac_cs_recheck=false
16479 SHELL=\${CONFIG_SHELL-$SHELL}
16482 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
16483 ## -------------------- ##
16484 ## M4sh Initialization. ##
16485 ## -------------------- ##
16487 # Be more Bourne compatible
16488 DUALCASE
=1; export DUALCASE
# for MKS sh
16489 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16492 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16493 # is contrary to our usage. Disable this feature.
16494 alias -g '${1+"$@"}'='"$@"'
16495 setopt NO_GLOB_SUBST
16497 case `(set -o) 2>/dev/null` in #(
16509 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16510 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16511 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16512 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16513 # Prefer a ksh shell builtin over an external printf program on Solaris,
16514 # but without wasting forks for bash or zsh.
16515 if test -z "$BASH_VERSION$ZSH_VERSION" \
16516 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16517 as_echo='print
-r --'
16518 as_echo_n='print
-rn --'
16519 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16520 as_echo='printf %s
\n'
16521 as_echo_n='printf %s
'
16523 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16524 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16525 as_echo_n='/usr
/ucb
/echo -n'
16527 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16528 as_echo_n_body='eval
16532 expr "X$arg" : "X\\(.*\\)$as_nl";
16533 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16535 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16537 export as_echo_n_body
16538 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16540 export as_echo_body
16541 as_echo='sh
-c $as_echo_body as_echo
'
16544 # The user is always right.
16545 if test "${PATH_SEPARATOR+set}" != set; then
16547 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16548 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16555 # We need space, tab and new line, in precisely that order. Quoting is
16556 # there to prevent editors from complaining about space-tab.
16557 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16558 # splitting by setting IFS to empty value.)
16561 # Find who we are. Look in the path if we contain no directory separator.
16563 *[\\/]* ) as_myself=$0 ;;
16564 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16565 for as_dir in $PATH
16568 test -z "$as_dir" && as_dir=.
16569 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16575 # We did not find ourselves, most probably we were run as `sh COMMAND'
16576 # in which case we are not to be found in the path.
16577 if test "x$as_myself" = x
; then
16580 if test ! -f "$as_myself"; then
16581 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16585 # Unset variables that we do not need and which cause bugs (e.g. in
16586 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16587 # suppresses any "Segmentation fault" message there. '((' could
16588 # trigger a bug in pdksh 5.2.14.
16589 for as_var
in BASH_ENV ENV MAIL MAILPATH
16590 do eval test x\
${$as_var+set} = xset \
16591 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
16604 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16607 # as_fn_error ERROR [LINENO LOG_FD]
16608 # ---------------------------------
16609 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16610 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16611 # script with status $?, using 1 if that was 0.
16614 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16616 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16617 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16619 $as_echo "$as_me: error: $1" >&2
16620 as_fn_exit
$as_status
16624 # as_fn_set_status STATUS
16625 # -----------------------
16626 # Set $? to STATUS, without forking.
16627 as_fn_set_status
()
16630 } # as_fn_set_status
16632 # as_fn_exit STATUS
16633 # -----------------
16634 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16638 as_fn_set_status
$1
16644 # Portably unset VAR.
16647 { eval $1=; unset $1;}
16649 as_unset
=as_fn_unset
16650 # as_fn_append VAR VALUE
16651 # ----------------------
16652 # Append the text in VALUE to the end of the definition contained in VAR. Take
16653 # advantage of any shell optimizations that allow amortized linear growth over
16654 # repeated appends, instead of the typical quadratic growth present in naive
16656 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16657 eval 'as_fn_append ()
16668 # as_fn_arith ARG...
16669 # ------------------
16670 # Perform arithmetic evaluation on the ARGs, and store the result in the
16671 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16672 # must be portable across $(()) and expr.
16673 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16674 eval 'as_fn_arith ()
16681 as_val
=`expr "$@" || test $? -eq 1`
16686 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16687 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16693 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16694 as_basename
=basename
16699 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16705 as_me
=`$as_basename -- "$0" ||
16706 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16707 X"$0" : 'X\(//\)$' \| \
16708 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16710 sed '/^.*\/\([^/][^/]*\)\/*$/{
16724 # Avoid depending upon Character Ranges.
16725 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16726 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16727 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16728 as_cr_digits
='0123456789'
16729 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16731 ECHO_C
= ECHO_N
= ECHO_T
=
16732 case `echo -n x` in #(((((
16734 case `echo 'xy\c'` in
16735 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16737 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16744 rm -f conf$$ conf$$.exe conf$$.
file
16745 if test -d conf$$.dir
; then
16746 rm -f conf$$.dir
/conf$$.
file
16749 mkdir conf$$.dir
2>/dev
/null
16751 if (echo >conf$$.
file) 2>/dev
/null
; then
16752 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16754 # ... but there are two gotchas:
16755 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16756 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16757 # In both cases, we have to default to `cp -p'.
16758 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
16760 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16768 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16769 rmdir conf$$.dir
2>/dev
/null
16774 # Create "$as_dir" as a directory, including parents if necessary.
16779 -*) as_dir
=.
/$as_dir;;
16781 test -d "$as_dir" || eval $as_mkdir_p || {
16785 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16786 *) as_qdir
=$as_dir;;
16788 as_dirs
="'$as_qdir' $as_dirs"
16789 as_dir
=`$as_dirname -- "$as_dir" ||
16790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16791 X"$as_dir" : 'X\(//\)[^/]' \| \
16792 X"$as_dir" : 'X\(//\)$' \| \
16793 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16794 $as_echo X"$as_dir" |
16795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16799 /^X\(\/\/\)[^/].*/{
16812 test -d "$as_dir" && break
16814 test -z "$as_dirs" || eval "mkdir $as_dirs"
16815 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16819 if mkdir -p .
2>/dev
/null
; then
16820 as_mkdir_p
='mkdir -p "$as_dir"'
16822 test -d .
/-p && rmdir .
/-p
16826 if test -x / >/dev
/null
2>&1; then
16827 as_test_x
='test -x'
16829 if ls -dL / >/dev
/null
2>&1; then
16836 if test -d "$1"; then
16842 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16843 ???[sx]*):;;*)false;;esac;fi
16847 as_executable_p
=$as_test_x
16849 # Sed expression to map a string onto a valid CPP name.
16850 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16852 # Sed expression to map a string onto a valid variable name.
16853 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16857 ## ----------------------------------- ##
16858 ## Main body of $CONFIG_STATUS script. ##
16859 ## ----------------------------------- ##
16861 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16863 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16864 # Save the log message, to keep $0 and so on meaningful, and to
16865 # report actual input values of CONFIG_FILES etc. instead of their
16866 # values after options handling.
16868 This file was extended by Cycript $as_me 0.9, which was
16869 generated by GNU Autoconf 2.65. Invocation command line was
16871 CONFIG_FILES = $CONFIG_FILES
16872 CONFIG_HEADERS = $CONFIG_HEADERS
16873 CONFIG_LINKS = $CONFIG_LINKS
16874 CONFIG_COMMANDS = $CONFIG_COMMANDS
16877 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16882 case $ac_config_files in *"
16883 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16889 # Files that config.status was made for.
16890 config_files="$ac_config_files"
16891 config_commands="$ac_config_commands"
16895 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16897 \`$as_me' instantiates files and other configuration actions
16898 from templates according to the current configuration. Unless the files
16899 and actions are specified as TAGs, all are instantiated by default.
16901 Usage: $0 [OPTION]... [TAG]...
16903 -h, --help print this help, then exit
16904 -V, --version print version number and configuration settings, then exit
16905 --config print configuration, then exit
16906 -q, --quiet, --silent
16907 do not print progress messages
16908 -d, --debug don't remove temporary files
16909 --recheck update $as_me by reconfiguring in the same conditions
16910 --file=FILE[:TEMPLATE]
16911 instantiate the configuration file FILE
16913 Configuration files:
16916 Configuration commands:
16919 Report bugs to <saurik@saurik.com>.
16920 Cycript home page: <http://www.cycript.org/>."
16923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16924 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16926 Cycript config.status 0.9
16927 configured by $0, generated by GNU Autoconf 2.65,
16928 with options \\"\$ac_cs_config\\"
16930 Copyright (C) 2009 Free Software Foundation, Inc.
16931 This config.status script is free software; the Free Software Foundation
16932 gives unlimited permission to copy, distribute and modify it."
16938 test -n "\$AWK" || AWK=awk
16941 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16942 # The default lists apply if the user does not specify any file.
16948 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16949 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16960 # Handling of the options.
16961 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16963 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16964 $as_echo "$ac_cs_version"; exit ;;
16965 --config | --confi | --conf | --con | --co | --c )
16966 $as_echo "$ac_cs_config"; exit ;;
16967 --debug | --debu | --deb | --de | --d | -d )
16969 --file | --fil | --fi | --f )
16972 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16974 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16975 ac_need_defaults
=false
;;
16976 --he | --h | --help | --hel | -h )
16977 $as_echo "$ac_cs_usage"; exit ;;
16978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16982 # This is an error.
16983 -*) as_fn_error
"unrecognized option: \`$1'
16984 Try \`$0 --help' for more information." ;;
16986 *) as_fn_append ac_config_targets
" $1"
16987 ac_need_defaults
=false
;;
16993 ac_configure_extra_args
=
16995 if $ac_cs_silent; then
16997 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17002 if \$ac_cs_recheck; then
17003 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17005 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17006 CONFIG_SHELL='$SHELL'
17007 export CONFIG_SHELL
17012 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17017 ## Running $as_me. ##
17023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17029 # The HP-UX ksh and POSIX shell print the target directory to stdout
17030 # if CDPATH is set.
17031 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17033 sed_quote_subst='$sed_quote_subst'
17034 double_quote_subst='$double_quote_subst'
17035 delay_variable_subst='$delay_variable_subst'
17036 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17037 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17038 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17039 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17040 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17041 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17042 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17043 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17044 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17045 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17046 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17047 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17048 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17049 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17050 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17051 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17052 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17053 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17054 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17055 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17056 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17057 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17058 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17059 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17060 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17061 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17062 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17063 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17064 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17065 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17066 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17067 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17068 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17069 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17070 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17071 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17072 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17073 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17074 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17075 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17076 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17077 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17078 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17079 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17080 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"`'
17081 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"`'
17082 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17083 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17084 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17085 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17086 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17087 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17088 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17089 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17090 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17091 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17092 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17093 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17094 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17095 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17096 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17097 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17098 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17099 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17100 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17101 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17102 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17103 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17104 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17105 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17106 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17107 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17108 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17109 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17110 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17111 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17112 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17113 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17114 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17115 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17116 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17117 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17118 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17119 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17120 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17121 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17122 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17123 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17124 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17125 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17126 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17127 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17128 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17129 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17130 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17131 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17132 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17133 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17134 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17135 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17136 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17137 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17138 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17139 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17140 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17141 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17142 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17143 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17144 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17145 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17146 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17147 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17148 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17149 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17150 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17151 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17152 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17153 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17154 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17155 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17156 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17157 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17158 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17159 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17160 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17161 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17162 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17163 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17164 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17165 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17166 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17167 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17168 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17169 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17170 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17171 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17172 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17173 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17174 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17175 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17176 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17177 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17178 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17179 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17180 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17181 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17182 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17183 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17184 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17185 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17186 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17187 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17188 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17189 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17190 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17191 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17192 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17193 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17194 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17195 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17196 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17197 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17198 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17199 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17200 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17201 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17202 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17206 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17209 LTCFLAGS='$LTCFLAGS'
17210 compiler='$compiler_DEFAULT'
17212 # Quote evaled strings.
17224 deplibs_check_method \
17233 lt_cv_sys_global_symbol_pipe \
17234 lt_cv_sys_global_symbol_to_cdecl \
17235 lt_cv_sys_global_symbol_to_c_name_address \
17236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17239 lt_prog_compiler_no_builtin_flag \
17240 lt_prog_compiler_wl \
17241 lt_prog_compiler_pic \
17242 lt_prog_compiler_static \
17243 lt_cv_prog_compiler_c_o \
17251 export_dynamic_flag_spec \
17252 whole_archive_flag_spec \
17253 compiler_needs_object \
17255 allow_undefined_flag \
17256 no_undefined_flag \
17257 hardcode_libdir_flag_spec \
17258 hardcode_libdir_flag_spec_ld \
17259 hardcode_libdir_separator \
17264 variables_saved_for_relink \
17266 library_names_spec \
17271 compiler_lib_search_dirs \
17276 compiler_lib_search_path \
17279 lt_prog_compiler_no_builtin_flag_CXX \
17280 lt_prog_compiler_wl_CXX \
17281 lt_prog_compiler_pic_CXX \
17282 lt_prog_compiler_static_CXX \
17283 lt_cv_prog_compiler_c_o_CXX \
17284 export_dynamic_flag_spec_CXX \
17285 whole_archive_flag_spec_CXX \
17286 compiler_needs_object_CXX \
17288 allow_undefined_flag_CXX \
17289 no_undefined_flag_CXX \
17290 hardcode_libdir_flag_spec_CXX \
17291 hardcode_libdir_flag_spec_ld_CXX \
17292 hardcode_libdir_separator_CXX \
17293 fix_srcfile_path_CXX \
17294 exclude_expsyms_CXX \
17295 include_expsyms_CXX \
17296 file_list_spec_CXX \
17297 compiler_lib_search_dirs_CXX \
17298 predep_objects_CXX \
17299 postdep_objects_CXX \
17302 compiler_lib_search_path_CXX; do
17303 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17304 *[\\\\\\\`\\"\\\$]*)
17305 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17308 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17313 # Double-quote double-evaled strings.
17314 for var in reload_cmds \
17315 old_postinstall_cmds \
17316 old_postuninstall_cmds \
17318 extract_expsyms_cmds \
17319 old_archive_from_new_cmds \
17320 old_archive_from_expsyms_cmds \
17322 archive_expsym_cmds \
17324 module_expsym_cmds \
17325 export_symbols_cmds \
17328 postuninstall_cmds \
17330 sys_lib_search_path_spec \
17331 sys_lib_dlsearch_path_spec \
17332 old_archive_cmds_CXX \
17333 old_archive_from_new_cmds_CXX \
17334 old_archive_from_expsyms_cmds_CXX \
17336 archive_expsym_cmds_CXX \
17338 module_expsym_cmds_CXX \
17339 export_symbols_cmds_CXX \
17340 prelink_cmds_CXX; do
17341 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17342 *[\\\\\\\`\\"\\\$]*)
17343 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17346 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17351 # Fix-up fallback echo if it was mangled by the above quoting rules.
17353 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17357 ac_aux_dir='$ac_aux_dir'
17358 xsi_shell='$xsi_shell'
17359 lt_shell_append='$lt_shell_append'
17361 # See if we are running on zsh, and set the options which allow our
17362 # commands through without removal of \ escapes INIT.
17363 if test -n "\${ZSH_VERSION+set}" ; then
17364 setopt NO_GLOB_SUBST
17370 TIMESTAMP='$TIMESTAMP'
17381 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17383 # Handling of arguments.
17384 for ac_config_target
in $ac_config_targets
17386 case $ac_config_target in
17387 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17388 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
17390 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17395 # If the user did not use the arguments to specify the items to instantiate,
17396 # then the envvar interface is used. Set only those that are not.
17397 # We use the long form for the default assignment because of an extremely
17398 # bizarre bug on SunOS 4.1.3.
17399 if $ac_need_defaults; then
17400 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17401 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17404 # Have a temporary directory for convenience. Make it in the build tree
17405 # simply because there is no reason against having it here, and in addition,
17406 # creating and moving files from /tmp can sometimes cause problems.
17407 # Hook for its removal unless debugging.
17408 # Note that there is a small window in which the directory will not be cleaned:
17409 # after its creation but before its name has been assigned to `$tmp'.
17413 trap 'exit_status=$?
17414 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17416 trap 'as_fn_exit 1' 1 2 13 15
17418 # Create a (secure) tmp directory for tmp files.
17421 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17422 test -n "$tmp" && test -d "$tmp"
17425 tmp
=.
/conf$$
-$RANDOM
17426 (umask 077 && mkdir "$tmp")
17427 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17429 # Set up the scripts for CONFIG_FILES section.
17430 # No need to generate them if there are no CONFIG_FILES.
17431 # This happens for instance with `./config.status config.h'.
17432 if test -n "$CONFIG_FILES"; then
17435 ac_cr
=`echo X | tr X '\015'`
17436 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17437 # But we know of no other shell where ac_cr would be empty at this
17438 # point, so we can use a bashism as a fallback.
17439 if test "x$ac_cr" = x
; then
17440 eval ac_cr
=\$
\'\\r
\'
17442 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17443 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17446 ac_cs_awk_cr
=$ac_cr
17449 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17454 echo "cat >conf$$subs.awk <<_ACEOF" &&
17455 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17457 } >conf$$subs.sh ||
17458 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17459 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17461 for ac_last_try in false false false false false :; do
17462 . ./conf$$subs.sh ||
17463 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17465 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17466 if test $ac_delim_n = $ac_delim_num; then
17468 elif $ac_last_try; then
17469 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17471 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17474 rm -f conf$$subs.sh
17476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17477 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17481 s/^/S["/; s
/!.
*/"]=/
17491 s/\(.\{148\}\)..*/\1/
17493 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17498 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17505 s/\(.\{148\}\)..*/\1/
17507 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17511 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17516 ' <conf$$subs.awk | sed '
17521 ' >>$CONFIG_STATUS || ac_write_fail=1
17522 rm -f conf$$subs.awk
17523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17525 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17526 for (key in S) S_is_set[key] = 1
17532 nfields = split(line, field, "@
")
17534 len = length(field[1])
17535 for (i = 2; i < nfields; i++) {
17537 keylen = length(key)
17538 if (S_is_set[key]) {
17540 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17541 len += length(value) + length(field[++i])
17552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17553 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17554 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17557 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17558 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17561 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17562 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17563 # trailing colons and then remove the whole line if VPATH becomes empty
17564 # (actually we leave an empty line to preserve line numbers).
17565 if test "x
$srcdir" = x.; then
17566 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17567 s/:*\$(srcdir):*/:/
17568 s/:*\${srcdir}:*/:/
17570 s/^\([^=]*=[ ]*\):*/\1/
17576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17577 fi # test -n "$CONFIG_FILES"
17580 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17585 :[FHLC]) ac_mode=$ac_tag; continue;;
17587 case $ac_mode$ac_tag in
17589 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17590 :[FH]-) ac_tag=-:-;;
17591 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17608 -) ac_f="$tmp/stdin";;
17609 *) # Look for the file first in the build tree, then in the source tree
17610 # (if the path is not absolute). The absolute path cannot be DOS-style,
17611 # because $ac_f cannot contain `:'.
17615 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17617 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17619 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17620 as_fn_append ac_file_inputs " '$ac_f'"
17623 # Let's still pretend it is `configure' which instantiates (i.e., don't
17624 # use $as_me), people would be surprised to read:
17625 # /* config.h. Generated by config.status. */
17626 configure_input='Generated from '`
17627 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17629 if test x"$ac_file" != x-; then
17630 configure_input="$ac_file.
$configure_input"
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17632 $as_echo "$as_me: creating
$ac_file" >&6;}
17634 # Neutralize special characters interpreted by sed in replacement strings.
17635 case $configure_input in #(
17636 *\&* | *\|* | *\\* )
17637 ac_sed_conf_input=`$as_echo "$configure_input" |
17638 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17639 *) ac_sed_conf_input=$configure_input;;
17643 *:-:* | *:-) cat >"$tmp/stdin
" \
17644 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
17649 ac_dir=`$as_dirname -- "$ac_file" ||
17650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17651 X"$ac_file" : 'X\(//\)[^/]' \| \
17652 X"$ac_file" : 'X\(//\)$' \| \
17653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17654 $as_echo X"$ac_file" |
17655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17659 /^X\(\/\/\)[^/].*/{
17672 as_dir="$ac_dir"; as_fn_mkdir_p
17676 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17678 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17679 # A "..
" for each directory in $ac_dir_suffix.
17680 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17681 case $ac_top_builddir_sub in
17682 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17683 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17686 ac_abs_top_builddir=$ac_pwd
17687 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17688 # for backward compatibility:
17689 ac_top_builddir=$ac_top_build_prefix
17692 .) # We are building in place.
17694 ac_top_srcdir=$ac_top_builddir_sub
17695 ac_abs_top_srcdir=$ac_pwd ;;
17696 [\\/]* | ?:[\\/]* ) # Absolute name.
17697 ac_srcdir=$srcdir$ac_dir_suffix;
17698 ac_top_srcdir=$srcdir
17699 ac_abs_top_srcdir=$srcdir ;;
17700 *) # Relative name.
17701 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17702 ac_top_srcdir=$ac_top_build_prefix$srcdir
17703 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17705 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17715 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17716 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17721 # If the template does not know about datarootdir, expand it.
17722 # FIXME: This hack should be removed a few years after 2.60.
17723 ac_datarootdir_hack=; ac_datarootdir_seen=
17734 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17735 *datarootdir*) ac_datarootdir_seen=yes;;
17736 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17738 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17741 ac_datarootdir_hack='
17742 s&@datadir@&$datadir&g
17743 s&@docdir@&$docdir&g
17744 s&@infodir@&$infodir&g
17745 s&@localedir@&$localedir&g
17746 s&@mandir@&$mandir&g
17747 s&\\\${datarootdir}&$datarootdir&g' ;;
17751 # Neutralize VPATH when `$srcdir' = `.'.
17752 # Shell code in configure.ac might set extrasub.
17753 # FIXME: do we really want to maintain this feature?
17754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17755 ac_sed_extra="$ac_vpsub
17758 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17760 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17761 s
|@configure_input@
|$ac_sed_conf_input|;t t
17762 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17763 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17764 s
&@srcdir@
&$ac_srcdir&;t t
17765 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17766 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17767 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17768 s
&@builddir@
&$ac_builddir&;t t
17769 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17770 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17771 s
&@INSTALL@
&$ac_INSTALL&;t t
17772 $ac_datarootdir_hack
17774 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17775 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17777 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17778 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17779 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17781 which seems to be undefined. Please make sure it is defined." >&5
17782 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17783 which seems to be undefined. Please make sure it is defined." >&2;}
17787 -) cat "$tmp/out" && rm -f "$tmp/out";;
17788 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17790 || as_fn_error "could not create $ac_file" "$LINENO" 5
17794 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17795 $as_echo "$as_me: executing $ac_file commands" >&6;}
17800 case $ac_file$ac_mode in
17803 # See if we are running on zsh, and set the options which allow our
17804 # commands through without removal of \ escapes.
17805 if test -n "${ZSH_VERSION+set}" ; then
17806 setopt NO_GLOB_SUBST
17809 cfgfile="${ofile}T"
17810 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17813 cat <<_LT_EOF >> "$cfgfile"
17816 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17817 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17818 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17822 # 2006, 2007, 2008 Free Software Foundation, Inc.
17823 # Written by Gordon Matzigkeit, 1996
17825 # This file is part of GNU Libtool.
17827 # GNU Libtool is free software; you can redistribute it and/or
17828 # modify it under the terms of the GNU General Public License as
17829 # published by the Free Software Foundation; either version 2 of
17830 # the License, or (at your option) any later version.
17832 # As a special exception to the GNU General Public License,
17833 # if you distribute this file as part of a program or library that
17834 # is built using GNU Libtool, you may include this file under the
17835 # same distribution terms that you use for the rest of that program.
17837 # GNU Libtool is distributed in the hope that it will be useful,
17838 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17840 # GNU General Public License for more details.
17842 # You should have received a copy of the GNU General Public License
17843 # along with GNU Libtool; see the file COPYING. If not, a copy
17844 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17845 # obtained by writing to the Free Software Foundation, Inc.,
17846 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17849 # The names of the tagged configurations supported by this script.
17850 available_tags="CXX "
17852 # ### BEGIN LIBTOOL CONFIG
17854 # Which release of libtool.m4 was used?
17855 macro_version=$macro_version
17856 macro_revision=$macro_revision
17858 # Whether or not to build static libraries.
17859 build_old_libs=$enable_static
17861 # Whether or not to build shared libraries.
17862 build_libtool_libs=$enable_shared
17864 # What type of objects to build.
17867 # Whether or not to optimize for fast installation.
17868 fast_install=$enable_fast_install
17871 host_alias=$host_alias
17875 # The build system.
17876 build_alias=$build_alias
17880 # A sed program that does not truncate output.
17883 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17884 Xsed="\$SED -e 1s/^X//"
17886 # A grep program that handles long lines.
17892 # A literal string matcher.
17895 # A BSD- or MS-compatible name lister.
17898 # Whether we need soft or hard links.
17901 # What is the maximum length of a command?
17902 max_cmd_len=$max_cmd_len
17904 # Object file suffix (normally "o").
17907 # Executable file suffix (normally "").
17910 # whether the shell understands "unset".
17913 # turn spaces into newlines.
17916 # turn newlines into spaces.
17919 # How to create reloadable object files.
17920 reload_flag=$lt_reload_flag
17921 reload_cmds=$lt_reload_cmds
17923 # An object symbol dumper.
17924 OBJDUMP=$lt_OBJDUMP
17926 # Method to check whether dependent libraries are shared objects.
17927 deplibs_check_method=$lt_deplibs_check_method
17929 # Command to use when deplibs_check_method == "file_magic".
17930 file_magic_cmd=$lt_file_magic_cmd
17934 AR_FLAGS=$lt_AR_FLAGS
17936 # A symbol stripping program.
17939 # Commands used to install an old-style archive.
17941 old_postinstall_cmds=$lt_old_postinstall_cmds
17942 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17947 # LTCC compiler flags.
17948 LTCFLAGS=$lt_CFLAGS
17950 # Take the output of nm and produce a listing of raw symbols and C names.
17951 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17953 # Transform the output of nm in a proper C declaration.
17954 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17956 # Transform the output of nm in a C name address pair.
17957 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17959 # Transform the output of nm in a C name address pair when lib prefix is needed.
17960 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17962 # The name of the directory that contains temporary libtool files.
17965 # Shell to use when invoking shell scripts.
17968 # An echo program that does not interpret backslashes.
17971 # Used to examine libraries when file_magic_cmd begins with "file".
17972 MAGIC_CMD=$MAGIC_CMD
17974 # Must we lock files when doing compilation?
17975 need_locks=$lt_need_locks
17977 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17978 DSYMUTIL=$lt_DSYMUTIL
17980 # Tool to change global to local symbols on Mac OS X.
17983 # Tool to manipulate fat objects and archives on Mac OS X.
17986 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17989 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17990 OTOOL64=$lt_OTOOL64
17992 # Old archive suffix (normally "a").
17995 # Shared library suffix (normally ".so").
17996 shrext_cmds=$lt_shrext_cmds
17998 # The commands to extract the exported symbol list from a shared archive.
17999 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18001 # Variables whose values should be saved in libtool wrapper scripts and
18002 # restored at link time.
18003 variables_saved_for_relink=$lt_variables_saved_for_relink
18005 # Do we need the "lib" prefix for modules?
18006 need_lib_prefix=$need_lib_prefix
18008 # Do we need a version for libraries?
18009 need_version=$need_version
18011 # Library versioning type.
18012 version_type=$version_type
18014 # Shared library runtime path variable.
18015 runpath_var=$runpath_var
18017 # Shared library path variable.
18018 shlibpath_var=$shlibpath_var
18020 # Is shlibpath searched before the hard-coded library search path?
18021 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18023 # Format of library name prefix.
18024 libname_spec=$lt_libname_spec
18026 # List of archive names. First name is the real one, the rest are links.
18027 # The last name is the one that the linker finds with -lNAME
18028 library_names_spec=$lt_library_names_spec
18030 # The coded name of the library, if different from the real name.
18031 soname_spec=$lt_soname_spec
18033 # Command to use after installation of a shared archive.
18034 postinstall_cmds=$lt_postinstall_cmds
18036 # Command to use after uninstallation of a shared archive.
18037 postuninstall_cmds=$lt_postuninstall_cmds
18039 # Commands used to finish a libtool library installation in a directory.
18040 finish_cmds=$lt_finish_cmds
18042 # As "finish_cmds", except a single script fragment to be evaled but
18044 finish_eval=$lt_finish_eval
18046 # Whether we should hardcode library paths into libraries.
18047 hardcode_into_libs=$hardcode_into_libs
18049 # Compile-time system search path for libraries.
18050 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18052 # Run-time system search path for libraries.
18053 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18055 # Whether dlopen is supported.
18056 dlopen_support=$enable_dlopen
18058 # Whether dlopen of programs is supported.
18059 dlopen_self=$enable_dlopen_self
18061 # Whether dlopen of statically linked programs is supported.
18062 dlopen_self_static=$enable_dlopen_self_static
18064 # Commands to strip libraries.
18065 old_striplib=$lt_old_striplib
18066 striplib=$lt_striplib
18069 # The linker used to build libraries.
18072 # Commands used to build an old-style archive.
18073 old_archive_cmds=$lt_old_archive_cmds
18075 # A language specific compiler.
18078 # Is the compiler the GNU compiler?
18081 # Compiler flag to turn off builtin functions.
18082 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18084 # How to pass a linker flag through the compiler.
18085 wl=$lt_lt_prog_compiler_wl
18087 # Additional compiler flags for building library objects.
18088 pic_flag=$lt_lt_prog_compiler_pic
18090 # Compiler flag to prevent dynamic linking.
18091 link_static_flag=$lt_lt_prog_compiler_static
18093 # Does compiler simultaneously support -c and -o options?
18094 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18096 # Whether or not to add -lc for building shared libraries.
18097 build_libtool_need_lc=$archive_cmds_need_lc
18099 # Whether or not to disallow shared libs when runtime libs are static.
18100 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18102 # Compiler flag to allow reflexive dlopens.
18103 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18105 # Compiler flag to generate shared objects directly from archives.
18106 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18108 # Whether the compiler copes with passing no objects directly.
18109 compiler_needs_object=$lt_compiler_needs_object
18111 # Create an old-style archive from a shared archive.
18112 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18114 # Create a temporary old-style archive to link instead of a shared archive.
18115 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18117 # Commands used to build a shared archive.
18118 archive_cmds=$lt_archive_cmds
18119 archive_expsym_cmds=$lt_archive_expsym_cmds
18121 # Commands used to build a loadable module if different from building
18122 # a shared archive.
18123 module_cmds=$lt_module_cmds
18124 module_expsym_cmds=$lt_module_expsym_cmds
18126 # Whether we are building with GNU ld or not.
18127 with_gnu_ld=$lt_with_gnu_ld
18129 # Flag that allows shared libraries with undefined symbols to be built.
18130 allow_undefined_flag=$lt_allow_undefined_flag
18132 # Flag that enforces no undefined symbols.
18133 no_undefined_flag=$lt_no_undefined_flag
18135 # Flag to hardcode \$libdir into a binary during linking.
18136 # This must work even if \$libdir does not exist
18137 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18139 # If ld is used when linking, flag to hardcode \$libdir into a binary
18140 # during linking. This must work even if \$libdir does not exist.
18141 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18143 # Whether we need a single "-rpath" flag with a separated argument.
18144 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18147 # DIR into the resulting binary.
18148 hardcode_direct=$hardcode_direct
18150 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18151 # DIR into the resulting binary and the resulting library dependency is
18152 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18153 # library is relocated.
18154 hardcode_direct_absolute=$hardcode_direct_absolute
18156 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18157 # into the resulting binary.
18158 hardcode_minus_L=$hardcode_minus_L
18160 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18161 # into the resulting binary.
18162 hardcode_shlibpath_var=$hardcode_shlibpath_var
18164 # Set to "yes" if building a shared library automatically hardcodes DIR
18165 # into the library and all subsequent libraries and executables linked
18167 hardcode_automatic=$hardcode_automatic
18169 # Set to yes if linker adds runtime paths of dependent libraries
18170 # to runtime path list.
18171 inherit_rpath=$inherit_rpath
18173 # Whether libtool must link a program against all its dependency libraries.
18174 link_all_deplibs=$link_all_deplibs
18176 # Fix the shell variable \$srcfile for the compiler.
18177 fix_srcfile_path=$lt_fix_srcfile_path
18179 # Set to "yes" if exported symbols are required.
18180 always_export_symbols=$always_export_symbols
18182 # The commands to list exported symbols.
18183 export_symbols_cmds=$lt_export_symbols_cmds
18185 # Symbols that should not be listed in the preloaded symbols.
18186 exclude_expsyms=$lt_exclude_expsyms
18188 # Symbols that must always be exported.
18189 include_expsyms=$lt_include_expsyms
18191 # Commands necessary for linking programs (against libraries) with templates.
18192 prelink_cmds=$lt_prelink_cmds
18194 # Specify filename containing input files.
18195 file_list_spec=$lt_file_list_spec
18197 # How to hardcode a shared library path into an executable.
18198 hardcode_action=$hardcode_action
18200 # The directories searched by this compiler when creating a shared library.
18201 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18203 # Dependencies to place before and after the objects being linked to
18204 # create a shared library.
18205 predep_objects=$lt_predep_objects
18206 postdep_objects=$lt_postdep_objects
18207 predeps=$lt_predeps
18208 postdeps=$lt_postdeps
18210 # The library search path used internally by the compiler when linking
18211 # a shared library.
18212 compiler_lib_search_path=$lt_compiler_lib_search_path
18214 # ### END LIBTOOL CONFIG
18220 cat <<\_LT_EOF >> "$cfgfile"
18221 # AIX sometimes has problems with the GCC collect2 program. For some
18222 # reason, if we set the COLLECT_NAMES environment variable, the problems
18223 # vanish in a puff of smoke.
18224 if test "X${COLLECT_NAMES+set}" != Xset; then
18226 export COLLECT_NAMES
18233 ltmain="$ac_aux_dir/ltmain.sh"
18236 # We use sed instead of cat because bash on DJGPP gets confused if
18237 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18238 # text mode, it properly converts lines to CR/LF. This bash problem
18239 # is reportedly fixed, but why not run on old versions too?
18240 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18241 || (rm -f "$cfgfile"; exit 1)
18245 cat << \_LT_EOF
>> "$cfgfile"
18247 # func_dirname file append nondir_replacement
18248 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18249 # otherwise set result to NONDIR_REPLACEMENT.
18253 */*) func_dirname_result
="${1%/*}${2}" ;;
18254 * ) func_dirname_result
="${3}" ;;
18258 # func_basename file
18261 func_basename_result
="${1##*/}"
18264 # func_dirname_and_basename file append nondir_replacement
18265 # perform func_basename and func_dirname in a single function
18267 # dirname: Compute the dirname of FILE. If nonempty,
18268 # add APPEND to the result, otherwise set result
18269 # to NONDIR_REPLACEMENT.
18270 # value returned in "$func_dirname_result"
18271 # basename: Compute filename of FILE.
18272 # value retuned in "$func_basename_result"
18273 # Implementation must be kept synchronized with func_dirname
18274 # and func_basename. For efficiency, we do not delegate to
18275 # those functions but instead duplicate the functionality here.
18276 func_dirname_and_basename
()
18279 */*) func_dirname_result
="${1%/*}${2}" ;;
18280 * ) func_dirname_result
="${3}" ;;
18282 func_basename_result
="${1##*/}"
18285 # func_stripname prefix suffix name
18286 # strip PREFIX and SUFFIX off of NAME.
18287 # PREFIX and SUFFIX must not contain globbing or regex special
18288 # characters, hashes, percent signs, but SUFFIX may contain a leading
18289 # dot (in which case that matches only a dot).
18292 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18293 # positional parameters, so assign one to ordinary parameter first.
18294 func_stripname_result
=${3}
18295 func_stripname_result
=${func_stripname_result#"${1}"}
18296 func_stripname_result
=${func_stripname_result%"${2}"}
18302 func_opt_split_opt
=${1%%=*}
18303 func_opt_split_arg
=${1#*=}
18310 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18311 *) func_lo2o_result
=${1} ;;
18315 # func_xform libobj-or-source
18318 func_xform_result
=${1%.*}.lo
18321 # func_arith arithmetic-term...
18324 func_arith_result
=$(( $* ))
18328 # STRING may not start with a hyphen.
18331 func_len_result
=${#1}
18336 *) # Bourne compatible functions.
18337 cat << \_LT_EOF
>> "$cfgfile"
18339 # func_dirname file append nondir_replacement
18340 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18341 # otherwise set result to NONDIR_REPLACEMENT.
18344 # Extract subdirectory from the argument.
18345 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18346 if test "X$func_dirname_result" = "X${1}"; then
18347 func_dirname_result
="${3}"
18349 func_dirname_result
="$func_dirname_result${2}"
18353 # func_basename file
18356 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18360 # func_stripname prefix suffix name
18361 # strip PREFIX and SUFFIX off of NAME.
18362 # PREFIX and SUFFIX must not contain globbing or regex special
18363 # characters, hashes, percent signs, but SUFFIX may contain a leading
18364 # dot (in which case that matches only a dot).
18365 # func_strip_suffix prefix name
18369 .
*) func_stripname_result
=`$ECHO "X${3}" \
18370 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18371 *) func_stripname_result
=`$ECHO "X${3}" \
18372 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18377 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18378 my_sed_long_arg
='1s/^-[^=]*=//'
18383 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18384 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18390 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18393 # func_xform libobj-or-source
18396 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18399 # func_arith arithmetic-term...
18402 func_arith_result
=`expr "$@"`
18406 # STRING may not start with a hyphen.
18409 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18415 case $lt_shell_append in
18417 cat << \_LT_EOF
>> "$cfgfile"
18419 # func_append var value
18420 # Append VALUE to the end of shell variable VAR.
18428 cat << \_LT_EOF
>> "$cfgfile"
18430 # func_append var value
18431 # Append VALUE to the end of shell variable VAR.
18442 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18443 || (rm -f "$cfgfile"; exit 1)
18445 mv -f "$cfgfile" "$ofile" ||
18446 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18450 cat <<_LT_EOF >> "$ofile"
18452 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18454 # The linker used to build libraries.
18457 # Commands used to build an old-style archive.
18458 old_archive_cmds=$lt_old_archive_cmds_CXX
18460 # A language specific compiler.
18461 CC=$lt_compiler_CXX
18463 # Is the compiler the GNU compiler?
18466 # Compiler flag to turn off builtin functions.
18467 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18469 # How to pass a linker flag through the compiler.
18470 wl=$lt_lt_prog_compiler_wl_CXX
18472 # Additional compiler flags for building library objects.
18473 pic_flag=$lt_lt_prog_compiler_pic_CXX
18475 # Compiler flag to prevent dynamic linking.
18476 link_static_flag=$lt_lt_prog_compiler_static_CXX
18478 # Does compiler simultaneously support -c and -o options?
18479 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18481 # Whether or not to add -lc for building shared libraries.
18482 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18484 # Whether or not to disallow shared libs when runtime libs are static.
18485 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18487 # Compiler flag to allow reflexive dlopens.
18488 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18490 # Compiler flag to generate shared objects directly from archives.
18491 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18493 # Whether the compiler copes with passing no objects directly.
18494 compiler_needs_object=$lt_compiler_needs_object_CXX
18496 # Create an old-style archive from a shared archive.
18497 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18499 # Create a temporary old-style archive to link instead of a shared archive.
18500 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18502 # Commands used to build a shared archive.
18503 archive_cmds=$lt_archive_cmds_CXX
18504 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18506 # Commands used to build a loadable module if different from building
18507 # a shared archive.
18508 module_cmds=$lt_module_cmds_CXX
18509 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18511 # Whether we are building with GNU ld or not.
18512 with_gnu_ld=$lt_with_gnu_ld_CXX
18514 # Flag that allows shared libraries with undefined symbols to be built.
18515 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18517 # Flag that enforces no undefined symbols.
18518 no_undefined_flag=$lt_no_undefined_flag_CXX
18520 # Flag to hardcode \$libdir into a binary during linking.
18521 # This must work even if \$libdir does not exist
18522 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18524 # If ld is used when linking, flag to hardcode \$libdir into a binary
18525 # during linking. This must work even if \$libdir does not exist.
18526 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18528 # Whether we need a single "-rpath" flag with a separated argument.
18529 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18531 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18532 # DIR into the resulting binary.
18533 hardcode_direct=$hardcode_direct_CXX
18535 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18536 # DIR into the resulting binary and the resulting library dependency is
18537 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18538 # library is relocated.
18539 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18541 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18542 # into the resulting binary.
18543 hardcode_minus_L=$hardcode_minus_L_CXX
18545 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18546 # into the resulting binary.
18547 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18549 # Set to "yes" if building a shared library automatically hardcodes DIR
18550 # into the library and all subsequent libraries and executables linked
18552 hardcode_automatic=$hardcode_automatic_CXX
18554 # Set to yes if linker adds runtime paths of dependent libraries
18555 # to runtime path list.
18556 inherit_rpath=$inherit_rpath_CXX
18558 # Whether libtool must link a program against all its dependency libraries.
18559 link_all_deplibs=$link_all_deplibs_CXX
18561 # Fix the shell variable \$srcfile for the compiler.
18562 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18564 # Set to "yes" if exported symbols are required.
18565 always_export_symbols=$always_export_symbols_CXX
18567 # The commands to list exported symbols.
18568 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18570 # Symbols that should not be listed in the preloaded symbols.
18571 exclude_expsyms=$lt_exclude_expsyms_CXX
18573 # Symbols that must always be exported.
18574 include_expsyms=$lt_include_expsyms_CXX
18576 # Commands necessary for linking programs (against libraries) with templates.
18577 prelink_cmds=$lt_prelink_cmds_CXX
18579 # Specify filename containing input files.
18580 file_list_spec=$lt_file_list_spec_CXX
18582 # How to hardcode a shared library path into an executable.
18583 hardcode_action=$hardcode_action_CXX
18585 # The directories searched by this compiler when creating a shared library.
18586 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18588 # Dependencies to place before and after the objects being linked to
18589 # create a shared library.
18590 predep_objects=$lt_predep_objects_CXX
18591 postdep_objects=$lt_postdep_objects_CXX
18592 predeps=$lt_predeps_CXX
18593 postdeps=$lt_postdeps_CXX
18595 # The library search path used internally by the compiler when linking
18596 # a shared library.
18597 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18599 # ### END LIBTOOL TAG CONFIG: CXX
18610 ac_clean_files
=$ac_clean_files_save
18612 test $ac_write_fail = 0 ||
18613 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18616 # configure is writing to config.log, and then calls config.status.
18617 # config.status does its own redirection, appending to config.log.
18618 # Unfortunately, on DOS this fails, as config.log is still kept open
18619 # by configure, so config.status won't be able to write to it; its
18620 # output is simply discarded. So we exec the FD to /dev/null,
18621 # effectively closing config.log, so it can be properly (re)opened and
18622 # appended to by config.status. When coming back to configure, we
18623 # need to make the FD available again.
18624 if test "$no_create" != yes; then
18626 ac_config_status_args
=
18627 test "$silent" = yes &&
18628 ac_config_status_args
="$ac_config_status_args --quiet"
18630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18633 # would make configure fail if this is the last instruction.
18634 $ac_cs_success || as_fn_exit $?
18636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18638 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}