2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir -p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X
--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X
--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X
--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 # Use only awk features that work with 7th edition Unix awk (1978).
682 # My, what an old awk you have, Mr. Solaris!
684 while (length(v1) && length(v2)) {
685 # Set d1 to be the next thing to compare from v1, and likewise for d2.
686 # Normally this is a single character, but if v1 and v2 contain digits,
687 # compare them as integers and fractions as strverscmp does.
688 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
689 # Split v1 and v2 into their leading digit string components d1 and d2,
690 # and advance v1 and v2 past the leading digit strings.
691 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
692 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
693 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
694 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
697 # Compare two fractions.
698 while (d1 ~ /^0/ && d2 ~ /^0/) {
699 d1 = substr(d1, 2); len1--
700 d2 = substr(d2, 2); len2--
702 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
703 # The two components differ in length, and the common prefix
704 # contains only leading zeros. Consider the longer to be less.
708 # Otherwise, compare as strings.
713 # A fraction is less than an integer.
718 # An integer is greater than a fraction.
721 # Compare two integers.
727 # The normal case, without worrying about digits.
728 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
729 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
734 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
735 # which mishandles some comparisons of empty strings to integers.
736 if (length(v2)) exit 1
737 if (length(v1)) exit 2
741 test -n "$DJDIR" || exec 7<&0 </dev
/null
745 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
746 # so uname gets run too.
747 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
752 ac_default_prefix
=/usr
/local
754 ac_config_libobj_dir
=.
761 # Identity of this package.
762 PACKAGE_NAME
='Cycript'
763 PACKAGE_TARNAME
='cycript'
764 PACKAGE_VERSION
='0.9'
765 PACKAGE_STRING
='Cycript 0.9'
766 PACKAGE_BUGREPORT
='saurik@saurik.com'
767 PACKAGE_URL
='http://www.cycript.org/'
769 ac_unique_file
="Console.cpp"
770 # Factoring default headers for most tests.
771 ac_includes_default
="\
773 #ifdef HAVE_SYS_TYPES_H
774 # include <sys/types.h>
776 #ifdef HAVE_SYS_STAT_H
777 # include <sys/stat.h>
783 # ifdef HAVE_STDLIB_H
788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
793 #ifdef HAVE_STRINGS_H
794 # include <strings.h>
796 #ifdef HAVE_INTTYPES_H
797 # include <inttypes.h>
806 ac_subst_vars
='LTLIBOBJS
904 program_transform_name
917 enable_option_checking
928 ac_precious_vars
='build_alias
952 # Initialize some variables set by options.
954 ac_init_version
=false
955 ac_unrecognized_opts
=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
966 program_transform_name
=s
,x
,x
,
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir
='${exec_prefix}/bin'
981 sbindir
='${exec_prefix}/sbin'
982 libexecdir
='${exec_prefix}/libexec'
983 datarootdir
='${prefix}/share'
984 datadir
='${datarootdir}'
985 sysconfdir
='${prefix}/etc'
986 sharedstatedir
='${prefix}/com'
987 localstatedir
='${prefix}/var'
988 includedir
='${prefix}/include'
989 oldincludedir
='/usr/include'
990 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
991 infodir
='${datarootdir}/info'
996 libdir
='${exec_prefix}/lib'
997 localedir
='${datarootdir}/locale'
998 mandir
='${datarootdir}/man'
1004 # If the previous option needs an argument, assign it.
1005 if test -n "$ac_prev"; then
1006 eval $ac_prev=\
$ac_option
1012 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1016 # Accept the important Cygnus configure options, so we can diagnose typos.
1018 case $ac_dashdash$ac_option in
1022 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1024 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1025 bindir
=$ac_optarg ;;
1027 -build | --build | --buil | --bui | --bu)
1028 ac_prev
=build_alias
;;
1029 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1030 build_alias
=$ac_optarg ;;
1032 -cache-file | --cache-file | --cache-fil | --cache-fi \
1033 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1034 ac_prev
=cache_file
;;
1035 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1036 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1037 cache_file
=$ac_optarg ;;
1039 --config-cache | -C)
1040 cache_file
=config.cache
;;
1042 -datadir | --datadir | --datadi | --datad)
1044 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1045 datadir
=$ac_optarg ;;
1047 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1048 | --dataroo | --dataro | --datar)
1049 ac_prev
=datarootdir
;;
1050 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1051 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1052 datarootdir
=$ac_optarg ;;
1054 -disable-* | --disable-*)
1055 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1056 # Reject names that are not valid shell variable names.
1057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1058 as_fn_error
"invalid feature name: $ac_useropt"
1059 ac_useropt_orig
=$ac_useropt
1060 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1061 case $ac_user_opts in
1063 "enable_
$ac_useropt"
1065 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1066 ac_unrecognized_sep
=', ';;
1068 eval enable_
$ac_useropt=no
;;
1070 -docdir | --docdir | --docdi | --doc | --do)
1072 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1073 docdir
=$ac_optarg ;;
1075 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1077 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1078 dvidir
=$ac_optarg ;;
1080 -enable-* | --enable-*)
1081 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1084 as_fn_error
"invalid feature name: $ac_useropt"
1085 ac_useropt_orig
=$ac_useropt
1086 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1089 "enable_
$ac_useropt"
1091 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1092 ac_unrecognized_sep
=', ';;
1094 eval enable_
$ac_useropt=\
$ac_optarg ;;
1096 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1097 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1098 | --exec | --exe | --ex)
1099 ac_prev
=exec_prefix
;;
1100 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1101 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1102 | --exec=* | --exe=* | --ex=*)
1103 exec_prefix
=$ac_optarg ;;
1105 -gas | --gas | --ga | --g)
1106 # Obsolete; use --with-gas.
1109 -help | --help | --hel | --he | -h)
1110 ac_init_help
=long
;;
1111 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1112 ac_init_help
=recursive
;;
1113 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1114 ac_init_help
=short
;;
1116 -host | --host | --hos | --ho)
1117 ac_prev
=host_alias
;;
1118 -host=* | --host=* | --hos=* | --ho=*)
1119 host_alias
=$ac_optarg ;;
1121 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1123 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1125 htmldir
=$ac_optarg ;;
1127 -includedir | --includedir | --includedi | --included | --include \
1128 | --includ | --inclu | --incl | --inc)
1129 ac_prev
=includedir
;;
1130 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1131 | --includ=* | --inclu=* | --incl=* | --inc=*)
1132 includedir
=$ac_optarg ;;
1134 -infodir | --infodir | --infodi | --infod | --info | --inf)
1136 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1137 infodir
=$ac_optarg ;;
1139 -libdir | --libdir | --libdi | --libd)
1141 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1142 libdir
=$ac_optarg ;;
1144 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1145 | --libexe | --libex | --libe)
1146 ac_prev
=libexecdir
;;
1147 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1148 | --libexe=* | --libex=* | --libe=*)
1149 libexecdir
=$ac_optarg ;;
1151 -localedir | --localedir | --localedi | --localed | --locale)
1152 ac_prev
=localedir
;;
1153 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1154 localedir
=$ac_optarg ;;
1156 -localstatedir | --localstatedir | --localstatedi | --localstated \
1157 | --localstate | --localstat | --localsta | --localst | --locals)
1158 ac_prev
=localstatedir
;;
1159 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1160 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1161 localstatedir
=$ac_optarg ;;
1163 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1165 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1166 mandir
=$ac_optarg ;;
1168 -nfp | --nfp | --nf)
1169 # Obsolete; use --without-fp.
1172 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1173 | --no-cr | --no-c | -n)
1176 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1177 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1180 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1181 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1182 | --oldin | --oldi | --old | --ol | --o)
1183 ac_prev
=oldincludedir
;;
1184 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1185 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1186 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1187 oldincludedir
=$ac_optarg ;;
1189 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1191 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1192 prefix
=$ac_optarg ;;
1194 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1195 | --program-pre | --program-pr | --program-p)
1196 ac_prev
=program_prefix
;;
1197 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1198 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1199 program_prefix
=$ac_optarg ;;
1201 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1202 | --program-suf | --program-su | --program-s)
1203 ac_prev
=program_suffix
;;
1204 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1205 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1206 program_suffix
=$ac_optarg ;;
1208 -program-transform-name | --program-transform-name \
1209 | --program-transform-nam | --program-transform-na \
1210 | --program-transform-n | --program-transform- \
1211 | --program-transform | --program-transfor \
1212 | --program-transfo | --program-transf \
1213 | --program-trans | --program-tran \
1214 | --progr-tra | --program-tr | --program-t)
1215 ac_prev
=program_transform_name
;;
1216 -program-transform-name=* | --program-transform-name=* \
1217 | --program-transform-nam=* | --program-transform-na=* \
1218 | --program-transform-n=* | --program-transform-=* \
1219 | --program-transform=* | --program-transfor=* \
1220 | --program-transfo=* | --program-transf=* \
1221 | --program-trans=* | --program-tran=* \
1222 | --progr-tra=* | --program-tr=* | --program-t=*)
1223 program_transform_name
=$ac_optarg ;;
1225 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1227 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1228 pdfdir
=$ac_optarg ;;
1230 -psdir | --psdir | --psdi | --psd | --ps)
1232 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1236 | -silent | --silent | --silen | --sile | --sil)
1239 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1241 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1243 sbindir
=$ac_optarg ;;
1245 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1246 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1247 | --sharedst | --shareds | --shared | --share | --shar \
1249 ac_prev
=sharedstatedir
;;
1250 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1251 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1252 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1254 sharedstatedir
=$ac_optarg ;;
1256 -site | --site | --sit)
1258 -site=* | --site=* | --sit=*)
1261 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1263 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1264 srcdir
=$ac_optarg ;;
1266 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1267 | --syscon | --sysco | --sysc | --sys | --sy)
1268 ac_prev
=sysconfdir
;;
1269 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1270 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1271 sysconfdir
=$ac_optarg ;;
1273 -target | --target | --targe | --targ | --tar | --ta | --t)
1274 ac_prev
=target_alias
;;
1275 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1276 target_alias
=$ac_optarg ;;
1278 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1281 -version | --version | --versio | --versi | --vers | -V)
1282 ac_init_version
=: ;;
1285 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 as_fn_error
"invalid package name: $ac_useropt"
1289 ac_useropt_orig
=$ac_useropt
1290 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1296 ac_unrecognized_sep
=', ';;
1298 eval with_
$ac_useropt=\
$ac_optarg ;;
1300 -without-* | --without-*)
1301 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1302 # Reject names that are not valid shell variable names.
1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1304 as_fn_error
"invalid package name: $ac_useropt"
1305 ac_useropt_orig
=$ac_useropt
1306 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1307 case $ac_user_opts in
1311 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1312 ac_unrecognized_sep
=', ';;
1314 eval with_
$ac_useropt=no
;;
1317 # Obsolete; use --with-x.
1320 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1321 | --x-incl | --x-inc | --x-in | --x-i)
1322 ac_prev
=x_includes
;;
1323 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1324 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1325 x_includes
=$ac_optarg ;;
1327 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1328 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1329 ac_prev
=x_libraries
;;
1330 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1331 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1332 x_libraries
=$ac_optarg ;;
1334 -*) as_fn_error
"unrecognized option: \`$ac_option'
1335 Try \`$0 --help' for more information."
1339 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1340 # Reject names that are not valid shell variable names.
1341 case $ac_envvar in #(
1342 '' | [0-9]* | *[!_$as_cr_alnum]* )
1343 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1345 eval $ac_envvar=\
$ac_optarg
1346 export $ac_envvar ;;
1349 # FIXME: should be removed in autoconf 3.0.
1350 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1351 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1352 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1353 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359 if test -n "$ac_prev"; then
1360 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1361 as_fn_error
"missing argument to $ac_option"
1364 if test -n "$ac_unrecognized_opts"; then
1365 case $enable_option_checking in
1367 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1368 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1372 # Check all directory arguments for consistency.
1373 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1374 datadir sysconfdir sharedstatedir localstatedir includedir \
1375 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1376 libdir localedir mandir
1378 eval ac_val
=\$
$ac_var
1379 # Remove trailing slashes.
1382 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1383 eval $ac_var=\
$ac_val;;
1385 # Be sure to have absolute directory names.
1387 [\\/$
]* | ?
:[\\/]* ) continue;;
1388 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1390 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1393 # There might be people who depend on the old broken behavior: `$host'
1394 # used to hold the argument of --host etc.
1395 # FIXME: To remove some day.
1398 target
=$target_alias
1400 # FIXME: To remove some day.
1401 if test "x$host_alias" != x
; then
1402 if test "x$build_alias" = x
; then
1403 cross_compiling
=maybe
1404 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1405 If a cross compiler is detected then cross compile mode will be used." >&2
1406 elif test "x$build_alias" != "x$host_alias"; then
1412 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1414 test "$silent" = yes && exec 6>/dev
/null
1417 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1418 ac_ls_di
=`ls -di .` &&
1419 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1420 as_fn_error
"working directory cannot be determined"
1421 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1422 as_fn_error
"pwd does not report name of working directory"
1425 # Find the source files, if location was not specified.
1426 if test -z "$srcdir"; then
1427 ac_srcdir_defaulted
=yes
1428 # Try the directory containing this script, then the parent directory.
1429 ac_confdir
=`$as_dirname -- "$as_myself" ||
1430 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1431 X"$as_myself" : 'X\(//\)[^/]' \| \
1432 X"$as_myself" : 'X\(//\)$' \| \
1433 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1434 $as_echo X"$as_myself" |
1435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1453 if test ! -r "$srcdir/$ac_unique_file"; then
1457 ac_srcdir_defaulted
=no
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1460 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1461 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1463 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1465 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1467 # When building in place, set srcdir=.
1468 if test "$ac_abs_confdir" = "$ac_pwd"; then
1471 # Remove unnecessary trailing slashes from srcdir.
1472 # Double slashes in file names in object file debugging info
1473 # mess up M-x gdb in Emacs.
1475 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1477 for ac_var
in $ac_precious_vars; do
1478 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1479 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1480 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1481 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1485 # Report the --help message.
1487 if test "$ac_init_help" = "long"; then
1488 # Omit some internal or obsolete options to make the list less imposing.
1489 # This message is too long to be a string in the A/UX 3.1 sh.
1491 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1493 Usage: $0 [OPTION]... [VAR=VALUE]...
1495 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1496 VAR=VALUE. See below for descriptions of some of the useful variables.
1498 Defaults for the options are specified in brackets.
1501 -h, --help display this help and exit
1502 --help=short display options specific to this package
1503 --help=recursive display the short help of all the included packages
1504 -V, --version display version information and exit
1505 -q, --quiet, --silent do not print \`checking...' messages
1506 --cache-file=FILE cache test results in FILE [disabled]
1507 -C, --config-cache alias for \`--cache-file=config.cache'
1508 -n, --no-create do not create output files
1509 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1511 Installation directories:
1512 --prefix=PREFIX install architecture-independent files in PREFIX
1513 [$ac_default_prefix]
1514 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1517 By default, \`make install' will install all the files in
1518 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1519 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1520 for instance \`--prefix=\$HOME'.
1522 For better control, use the options below.
1524 Fine tuning of the installation directories:
1525 --bindir=DIR user executables [EPREFIX/bin]
1526 --sbindir=DIR system admin executables [EPREFIX/sbin]
1527 --libexecdir=DIR program executables [EPREFIX/libexec]
1528 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1529 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1530 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1531 --libdir=DIR object code libraries [EPREFIX/lib]
1532 --includedir=DIR C header files [PREFIX/include]
1533 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1534 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1535 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1536 --infodir=DIR info documentation [DATAROOTDIR/info]
1537 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1538 --mandir=DIR man documentation [DATAROOTDIR/man]
1539 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1540 --htmldir=DIR html documentation [DOCDIR]
1541 --dvidir=DIR dvi documentation [DOCDIR]
1542 --pdfdir=DIR pdf documentation [DOCDIR]
1543 --psdir=DIR ps documentation [DOCDIR]
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-static[=PKGS
] build static libraries
[default
=no
]
1565 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1566 --enable-fast-install[=PKGS
]
1567 optimize
for fast installation
[default
=yes]
1568 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1569 --disable-rpath do not hardcode runtime library paths
1572 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1573 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1574 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1576 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1577 --with-apr=PATH prefix
for installed APR or the full path to
1579 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1580 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1581 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1583 Some influential environment variables:
1584 CC C compiler command
1585 CFLAGS C compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1592 PKG_CONFIG path to pkg-config utility
1593 CXX C++ compiler command
1594 CXXFLAGS C++ compiler flags
1595 CXXCPP C++ preprocessor
1596 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1597 the first program found out of
: `bison -y', `byacc
', `yacc'.
1598 YFLAGS The list of arguments that will be passed by default to
$YACC.
1599 This
script will default YFLAGS to the empty string to avoid a
1600 default value of
`-d' given by some make applications.
1602 C compiler flags for WEBKIT, overriding pkg-config
1603 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1605 C compiler flags for LIBFFI, overriding pkg-config
1606 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1607 OBJCXX Objective C++ compiler command
1608 OBJCXXFLAGS Objective C++ compiler flags
1610 Use these variables to override the choices made by `configure
' or to help
1611 it to find libraries and programs with nonstandard names/locations.
1613 Report bugs to <saurik@saurik.com>.
1614 Cycript home page: <http://www.cycript.org/>.
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1644 .) # We are building in place.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1677 Cycript configure 0.9
1678 generated by GNU Autoconf 2.65
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^
*+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's
/^
/| /' conftest.$ac_ext >&5
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 as_fn_set_status $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^
*+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 $as_test_x conftest$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's
/^
/| /' conftest.$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We
do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1771 as_fn_set_status
$ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists and can be compiled using the include files in
1778 # INCLUDES, setting the cache variable VAR accordingly.
1779 ac_fn_c_check_header_compile
()
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1785 $as_echo_n "(cached) " >&6
1787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1788 /* end confdefs.h. */
1792 if ac_fn_c_try_compile
"$LINENO"; then :
1797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1804 } # ac_fn_c_check_header_compile
1806 # ac_fn_c_try_cpp LINENO
1807 # ----------------------
1808 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1812 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } >/dev/null && {
1828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 as_fn_set_status $ac_retval
1843 # ac_fn_c_try_run LINENO
1844 # ----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1846 # that executables *can* be run.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_link"
1852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1853 *) ac_try_echo
=$ac_try;;
1855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_link") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1861 { { case "(($ac_try" in
1862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_try") 2>&5
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; }; }; then :
1873 $as_echo "$as_me: program exited with status $ac_status" >&5
1874 $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1877 ac_retval=$ac_status
1879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1880 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1881 as_fn_set_status $ac_retval
1885 # ac_fn_c_check_func LINENO FUNC VAR
1886 # ----------------------------------
1887 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1888 ac_fn_c_check_func ()
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892 $as_echo_n "checking for $2... " >&6; }
1893 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1894 $as_echo_n "(cached) " >&6
1896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 /* end confdefs.h. */
1898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900 #define $2 innocuous_$2
1902 /* System header to define __stub macros and hopefully few prototypes,
1903 which can conflict with char $2 (); below.
1904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905 <limits.h> exists even on freestanding compilers. */
1908 # include <limits.h>
1910 # include <assert.h>
1915 /* Override any GCC internal prototype to avoid an error.
1916 Use char because int might match the return type of a GCC
1917 builtin and then its argument prototype would still apply. */
1922 /* The GNU C library defines this for functions which it implements
1923 to always fail with ENOSYS. Some functions are actually named
1924 something starting with __ and the normal name is an alias. */
1925 #if defined __stub_$2 || defined __stub___$2
1937 if ac_fn_c_try_link "$LINENO"; then :
1942 rm -f core conftest.err conftest.$ac_objext \
1943 conftest$ac_exeext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 $as_echo "$ac_res" >&6; }
1948 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1950 } # ac_fn_c_check_func
1952 # ac_fn_cxx_try_compile LINENO
1953 # ----------------------------
1954 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1955 ac_fn_cxx_try_compile ()
1957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1958 rm -f conftest.$ac_objext
1959 if { { ac_try="$ac_compile"
1961 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1962 *) ac_try_echo
=$ac_try;;
1964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_compile") 2>conftest.err
1968 if test -s conftest.err
; then
1969 grep -v '^ *+' conftest.err
>conftest.er1
1970 cat conftest.er1
>&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && {
1975 test -z "$ac_cxx_werror_flag" ||
1976 test ! -s conftest.err
1977 } && test -s conftest.
$ac_objext; then :
1980 $as_echo "$as_me: failed program was:" >&5
1981 sed 's/^/| /' conftest.
$ac_ext >&5
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1986 as_fn_set_status
$ac_retval
1988 } # ac_fn_cxx_try_compile
1990 # ac_fn_cxx_try_cpp LINENO
1991 # ------------------------
1992 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1993 ac_fn_cxx_try_cpp
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1998 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1999 *) ac_try_echo=$ac_try;;
2001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2002 $as_echo "$ac_try_echo"; } >&5
2003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2005 if test -s conftest.err; then
2006 grep -v '^ *+' conftest.err >conftest.er1
2007 cat conftest.er1 >&5
2008 mv -f conftest.er1 conftest.err
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; } >/dev/null && {
2012 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2013 test ! -s conftest.err
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2023 as_fn_set_status $ac_retval
2025 } # ac_fn_cxx_try_cpp
2027 # ac_fn_cxx_try_link LINENO
2028 # -------------------------
2029 # Try to link conftest.$ac_ext, and return whether this succeeded.
2030 ac_fn_cxx_try_link ()
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 rm -f conftest.$ac_objext conftest$ac_exeext
2034 if { { ac_try="$ac_link"
2036 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2037 *) ac_try_echo
=$ac_try;;
2039 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2040 $as_echo "$ac_try_echo"; } >&5
2041 (eval "$ac_link") 2>conftest.err
2043 if test -s conftest.err
; then
2044 grep -v '^ *+' conftest.err
>conftest.er1
2045 cat conftest.er1
>&5
2046 mv -f conftest.er1 conftest.err
2048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2049 test $ac_status = 0; } && {
2050 test -z "$ac_cxx_werror_flag" ||
2051 test ! -s conftest.err
2052 } && test -s conftest
$ac_exeext && {
2053 test "$cross_compiling" = yes ||
2054 $as_test_x conftest
$ac_exeext
2058 $as_echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.
$ac_ext >&5
2063 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2064 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2065 # interfere with the next link command; also delete a directory that is
2066 # left behind by Apple's compiler. We do this before executing the actions.
2067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2068 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2069 as_fn_set_status
$ac_retval
2071 } # ac_fn_cxx_try_link
2073 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # ---------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2078 ac_fn_cxx_check_header_mongrel
()
2080 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2081 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 $as_echo_n "(cached) " >&6
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2091 # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2099 if ac_fn_cxx_try_compile
"$LINENO"; then :
2100 ac_header_compiler
=yes
2102 ac_header_compiler
=no
2104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2115 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2116 ac_header_preproc
=yes
2118 ac_header_preproc
=no
2120 rm -f conftest.err conftest.
$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2124 # So? What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2144 ## -------------------------------- ##
2145 ## Report this to saurik@saurik.com ##
2146 ## -------------------------------- ##
2148 ) | sed "s/^/$as_me: WARNING: /" >&2
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2152 $as_echo_n "checking for $2... " >&6; }
2153 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 $as_echo_n "(cached) " >&6
2156 eval "$3=\$ac_header_compiler"
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2160 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2164 } # ac_fn_cxx_check_header_mongrel
2166 # ac_fn_objcxx_try_compile LINENO
2167 # -------------------------------
2168 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2169 ac_fn_objcxx_try_compile
()
2171 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2172 rm -f conftest.
$ac_objext
2173 if { { ac_try
="$ac_compile"
2175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2176 *) ac_try_echo=$ac_try;;
2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179 $as_echo "$ac_try_echo"; } >&5
2180 (eval "$ac_compile") 2>conftest.err
2182 if test -s conftest.err; then
2183 grep -v '^ *+' conftest.err >conftest.er1
2184 cat conftest.er1 >&5
2185 mv -f conftest.er1 conftest.err
2187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2188 test $ac_status = 0; } && {
2189 test -z "$ac_objcxx_werror_flag" ||
2190 test ! -s conftest.err
2191 } && test -s conftest.$ac_objext; then :
2194 $as_echo "$as_me: failed program was:" >&5
2195 sed 's/^/| /' conftest.$ac_ext >&5
2199 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2200 as_fn_set_status $ac_retval
2202 } # ac_fn_objcxx_try_compile
2203 cat >config.log <<_ACEOF
2204 This file contains any messages produced by compilers while
2205 running configure, to aid debugging if configure makes a mistake.
2207 It was created by Cycript $as_me 0.9, which was
2208 generated by GNU Autoconf 2.65. Invocation command line was
2220 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
2221 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
2222 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
2223 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
2224 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
2226 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
2227 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
2229 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
2230 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
2231 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
2232 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
2233 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
2234 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
2235 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 $as_echo "PATH: $as_dir"
2260 # Keep a trace of the command line.
2261 # Strip out --no-create and --no-recursion so they do not pile up.
2262 # Strip out --silent because we don't want to record it for future runs.
2263 # Also quote any args containing shell meta-characters.
2264 # Make two passes to allow for proper duplicate-argument suppression.
2268 ac_must_keep_next=false
2274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2276 | -silent | --silent | --silen | --sile | --sil)
2279 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2282 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2284 as_fn_append ac_configure_args1 " '$ac_arg'"
2285 if test $ac_must_keep_next = true; then
2286 ac_must_keep_next=false # Got value, back to normal.
2289 *=* | --config-cache | -C | -disable-* | --disable-* \
2290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2292 | -with-* | --with-* | -without-* | --without-* | --x)
2293 case "$ac_configure_args0 " in
2294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2297 -* ) ac_must_keep_next=true ;;
2300 as_fn_append ac_configure_args " '$ac_arg'"
2305 { ac_configure_args0=; unset ac_configure_args0;}
2306 { ac_configure_args1=; unset ac_configure_args1;}
2308 # When interrupted or exit'd, cleanup temporary files, and complete
2309 # config.log. We remove comments because anyway the quotes in there
2310 # would cause problems or look ugly.
2311 # WARNING: Use '\'' to represent an apostrophe within the trap.
2312 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2313 trap 'exit_status=$?
2314 # Save into config.log some information that might help in debugging.
2319 ## ---------------- ##
2320 ## Cache variables. ##
2321 ## ---------------- ##
2324 # The following way of writing the cache mishandles newlines in values,
2326 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
2327 eval ac_val=\$$ac_var
2331 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2332 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2335 _ | IFS | as_nl) ;; #(
2336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2337 *) { eval $ac_var=; unset $ac_var;} ;;
2342 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2343 *${as_nl}ac_space=\ *)
2345 "s/'\''/'\''\\\\'\'''\''/g;
2346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2349 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2357 ## ----------------- ##
2358 ## Output variables. ##
2359 ## ----------------- ##
2362 for ac_var in $ac_subst_vars
2364 eval ac_val=\$$ac_var
2366 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2368 $as_echo "$ac_var='\''$ac_val'\''"
2372 if test -n "$ac_subst_files"; then
2374 ## ------------------- ##
2375 ## File substitutions. ##
2376 ## ------------------- ##
2379 for ac_var in $ac_subst_files
2381 eval ac_val=\$$ac_var
2383 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2385 $as_echo "$ac_var='\''$ac_val'\''"
2390 if test -s confdefs.h; then
2400 test "$ac_signal" != 0 &&
2401 $as_echo "$as_me: caught signal $ac_signal"
2402 $as_echo "$as_me: exit $exit_status"
2404 rm -f core *.core core.conftest.* &&
2405 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2408 for ac_signal in 1 2 13 15; do
2409 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2413 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2414 rm -f -r conftest* confdefs.h
2416 $as_echo "/* confdefs.h */" > confdefs.h
2418 # Predefined preprocessor variables.
2420 cat >>confdefs.h <<_ACEOF
2421 #define PACKAGE_NAME "$PACKAGE_NAME"
2424 cat >>confdefs.h <<_ACEOF
2425 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2432 cat >>confdefs.h <<_ACEOF
2433 #define PACKAGE_STRING "$PACKAGE_STRING"
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_URL "$PACKAGE_URL"
2445 # Let the site file select an alternate cache file if it wants to.
2446 # Prefer an explicitly selected file to automatically selected ones.
2449 if test -n "$CONFIG_SITE"; then
2450 ac_site_file1=$CONFIG_SITE
2451 elif test "x$prefix" != xNONE; then
2452 ac_site_file1=$prefix/share/config.site
2453 ac_site_file2=$prefix/etc/config.site
2455 ac_site_file1=$ac_default_prefix/share/config.site
2456 ac_site_file2=$ac_default_prefix/etc/config.site
2458 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2460 test "x$ac_site_file" = xNONE && continue
2461 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2463 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2464 sed 's/^/| /' "$ac_site_file" >&5
2469 if test -r "$cache_file"; then
2470 # Some versions of bash will fail to source /dev/null (special files
2471 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2472 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2474 $as_echo "$as_me: loading cache $cache_file" >&6;}
2476 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2477 *) . "./$cache_file";;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2482 $as_echo "$as_me: creating cache $cache_file" >&6;}
2486 # Check that the precious variables saved in the cache have kept the same
2488 ac_cache_corrupted=false
2489 for ac_var in $ac_precious_vars; do
2490 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2491 eval ac_new_set=\$ac_env_${ac_var}_set
2492 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2493 eval ac_new_val=\$ac_env_${ac_var}_value
2494 case $ac_old_set,$ac_new_set in
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2497 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2498 ac_cache_corrupted=: ;;
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2501 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2502 ac_cache_corrupted=: ;;
2505 if test "x$ac_old_val" != "x$ac_new_val"; then
2506 # differences in whitespace do not lead to failure.
2507 ac_old_val_w=`echo x
$ac_old_val`
2508 ac_new_val_w=`echo x
$ac_new_val`
2509 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2511 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2512 ac_cache_corrupted=:
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2515 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2516 eval $ac_var=\$ac_old_val
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2519 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2521 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2524 # Pass precious variables to config.status.
2525 if test "$ac_new_set" = set; then
2527 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2528 *) ac_arg=$ac_var=$ac_new_val ;;
2530 case " $ac_configure_args " in
2531 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2532 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2536 if $ac_cache_corrupted; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2540 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2541 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2543 ## -------------------- ##
2544 ## Main body of script. ##
2545 ## -------------------- ##
2548 ac_cpp='$CPP $CPPFLAGS'
2549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2556 for ac_dir in . "$srcdir"/.; do
2557 for ac_t in install-sh install.sh shtool; do
2558 if test -f "$ac_dir/$ac_t"; then
2560 ac_install_sh="$ac_aux_dir/$ac_t -c"
2565 if test -z "$ac_aux_dir"; then
2566 as_fn_error "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2569 # These three variables are undocumented and unsupported,
2570 # and are intended to be withdrawn in a future Autoconf release.
2571 # They can cause serious problems if a builder's source tree is in a directory
2572 # whose full name contains unusual characters.
2573 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2574 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2575 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
2581 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
2586 macro_version='2.2.6b'
2587 macro_revision='1.3017'
2601 ltmain="$ac_aux_dir/ltmain.sh"
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2605 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if test "${ac_cv_build+set}" = set; then :
2610 $as_echo_n "(cached) " >&6
2612 ac_build_alias=$build_alias
2613 test "x$ac_build_alias" = x &&
2614 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x &&
2616 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2625 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2628 ac_save_IFS=$IFS; IFS='-'
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2642 $as_echo_n "checking host system type... " >&6; }
2643 if test "${ac_cv_host+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 if test "x$host_alias" = x; then
2647 ac_cv_host=$ac_cv_build
2649 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2650 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2655 $as_echo "$ac_cv_host" >&6; }
2658 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2661 ac_save_IFS=$IFS; IFS='-'
2667 # Remember, the first character of IFS is used to create $*,
2668 # except with old shells:
2671 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then :
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$CC"; then
2688 ac_cv_prog_CC="$CC" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$CC"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2710 $as_echo "$CC" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2718 if test -z "$ac_cv_prog_CC"; then
2720 # Extract the first word of "gcc", so it can be a program name with args.
2721 set dummy gcc; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$ac_ct_CC"; then
2728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_CC="gcc"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2748 if test -n "$ac_ct_CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2750 $as_echo "$ac_ct_CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2756 if test "x$ac_ct_CC" = x; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2763 ac_tool_warned=yes ;;
2771 if test -z "$CC"; then
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2774 set dummy ${ac_tool_prefix}cc; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_CC+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC="$CC" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CC="${ac_tool_prefix}cc"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2812 if test -z "$CC"; then
2813 # Extract the first word of "cc", so it can be a program name with args.
2814 set dummy cc; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2832 ac_prog_rejected=yes
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test $ac_prog_rejected = yes; then
2844 # We found a bogon in the path, so make sure we never use it.
2845 set dummy $ac_cv_prog_CC
2847 if test $# != 0; then
2848 # We chose a different compiler from the bogus one.
2849 # However, it has the same basename, so the bogon will be chosen
2850 # first if we set CC to just the basename; use the full file name.
2852 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2858 if test -n "$CC"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2860 $as_echo "$CC" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2868 if test -z "$CC"; then
2869 if test -n "$ac_tool_prefix"; then
2870 for ac_prog in cl.exe
2872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if test "${ac_cv_prog_CC+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2909 test -n "$CC" && break
2912 if test -z "$CC"; then
2914 for ac_prog in cl.exe
2916 # Extract the first word of "$ac_prog", so it can be a program name with args.
2917 set dummy $ac_prog; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$ac_ct_CC"; then
2924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 for ac_exec_ext in '' $ac_executable_extensions; do
2932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2933 ac_cv_prog_ac_ct_CC="$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2944 if test -n "$ac_ct_CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2946 $as_echo "$ac_ct_CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$ac_ct_CC" && break
2956 if test "x$ac_ct_CC" = x; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2972 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error "no acceptable C compiler found
in \
$PATH
2975 See \
`config.log' for more details." "$LINENO" 5; }
2977 # Provide some information about the compiler.
2978 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2981 for ac_option in --version -v -V -qversion; do
2982 { { ac_try="$ac_compiler $ac_option >&5"
2984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2991 if test -s conftest.err
; then
2993 ... rest of stderr output deleted ...
2994 10q' conftest.err
>conftest.er1
2995 cat conftest.er1
>&5
2997 rm -f conftest.er1 conftest.err
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; }
3002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3013 ac_clean_files_save
=$ac_clean_files
3014 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3015 # Try to create an executable without -o first, disregard a.out.
3016 # It will help us diagnose broken compilers, and finding out an intuition
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3019 $as_echo_n "checking whether the C compiler works... " >&6; }
3020 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3022 # The possible output files:
3023 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3026 for ac_file
in $ac_files
3029 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3030 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3035 if { { ac_try
="$ac_link_default"
3037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_link_default") 2>&5
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }; then :
3046 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3047 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3048 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3049 # so that the user can short-circuit this test for compilers unknown to
3051 for ac_file in $ac_files ''
3053 test -f "$ac_file" || continue
3055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3058 # We found the default executable, but exeext='' is most
3062 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3064 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3066 # We set ac_cv_exeext here because the later test for it is not
3067 # safe: cross compilers may not add the suffix if given an `-o'
3068 # argument, so we may need to know it at that point already.
3069 # Even if this section looks crufty: it has the advantage of
3076 test "$ac_cv_exeext" = no && ac_cv_exeext=
3081 if test -z "$ac_file"; then :
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 $as_echo "$as_me: failed program was:" >&5
3085 sed 's
/^
/| /' conftest.$ac_ext >&5
3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3089 { as_fn_set_status 77
3090 as_fn_error "C compiler cannot create executables
3091 See \`config.log
' for more details." "$LINENO" 5; }; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3097 $as_echo_n "checking for C compiler default output file name... " >&6; }
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3099 $as_echo "$ac_file" >&6; }
3100 ac_exeext=$ac_cv_exeext
3102 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3103 ac_clean_files=$ac_clean_files_save
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3105 $as_echo_n "checking for suffix of executables... " >&6; }
3106 if { { ac_try="$ac_link"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_link") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }; then :
3117 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3118 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3119 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3121 for ac_file
in conftest.exe conftest conftest.
*; do
3122 test -f "$ac_file" || continue
3124 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3125 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3133 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3134 See \`config.log' for more details." "$LINENO" 5; }
3136 rm -f conftest conftest
$ac_cv_exeext
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3138 $as_echo "$ac_cv_exeext" >&6; }
3140 rm -f conftest.
$ac_ext
3141 EXEEXT
=$ac_cv_exeext
3143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3149 FILE *f = fopen ("conftest.out", "w");
3150 return ferror (f) || fclose (f) != 0;
3156 ac_clean_files
="$ac_clean_files conftest.out"
3157 # Check that the compiler produces executables we can run. If not, either
3158 # the compiler is broken, or we cross compile.
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3160 $as_echo_n "checking whether we are cross compiling... " >&6; }
3161 if test "$cross_compiling" != yes; then
3162 { { ac_try
="$ac_link"
3164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3165 *) ac_try_echo=$ac_try;;
3167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_link") 2>&5
3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172 test $ac_status = 0; }
3173 if { ac_try='./conftest$ac_cv_exeext'
3174 { { case "(($ac_try" in
3175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3176 *) ac_try_echo
=$ac_try;;
3178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 $as_echo "$ac_try_echo"; } >&5
3180 (eval "$ac_try") 2>&5
3182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }; }; then
3186 if test "$cross_compiling" = maybe
; then
3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error
"cannot run C compiled programs.
3192 If you meant to cross compile, use \`--host'.
3193 See \`config.log' for more details." "$LINENO" 5; }
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3198 $as_echo "$cross_compiling" >&6; }
3200 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3201 ac_clean_files
=$ac_clean_files_save
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3203 $as_echo_n "checking for suffix of object files... " >&6; }
3204 if test "${ac_cv_objext+set}" = set; then :
3205 $as_echo_n "(cached) " >&6
3207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3218 rm -f conftest.o conftest.obj
3219 if { { ac_try
="$ac_compile"
3221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226 (eval "$ac_compile") 2>&5
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; }; then :
3230 for ac_file in conftest.o conftest.obj conftest.*; do
3231 test -f "$ac_file" || continue;
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3234 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3239 $as_echo "$as_me: failed program was:" >&5
3240 sed 's/^/| /' conftest.$ac_ext >&5
3242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 as_fn_error "cannot compute suffix of object files
: cannot compile
3245 See \
`config.log' for more details." "$LINENO" 5; }
3247 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3250 $as_echo "$ac_cv_objext" >&6; }
3251 OBJEXT=$ac_cv_objext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3254 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3255 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3256 $as_echo_n "(cached) " >&6
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3272 if ac_fn_c_try_compile "$LINENO"; then :
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3282 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3283 if test $ac_compiler_gnu = yes; then
3288 ac_test_CFLAGS=${CFLAGS+set}
3289 ac_save_CFLAGS=$CFLAGS
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3291 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3292 if test "${ac_cv_prog_cc_g+set}" = set; then :
3293 $as_echo_n "(cached) " >&6
3295 ac_save_c_werror_flag=$ac_c_werror_flag
3296 ac_c_werror_flag=yes
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3310 if ac_fn_c_try_compile "$LINENO"; then :
3314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3315 /* end confdefs.h. */
3325 if ac_fn_c_try_compile "$LINENO"; then :
3328 ac_c_werror_flag=$ac_save_c_werror_flag
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 ac_c_werror_flag=$ac_save_c_werror_flag
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3352 $as_echo "$ac_cv_prog_cc_g" >&6; }
3353 if test "$ac_test_CFLAGS" = set; then
3354 CFLAGS=$ac_save_CFLAGS
3355 elif test $ac_cv_prog_cc_g = yes; then
3356 if test "$GCC" = yes; then
3362 if test "$GCC" = yes; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3369 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3370 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3373 ac_cv_prog_cc_c89=no
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3379 #include <sys/types.h>
3380 #include <sys/stat.h>
3381 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3382 struct buf { int x; };
3383 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3384 static char *e (p, i)
3390 static char *f (char * (*g) (char **, int), char **p, ...)
3395 s = g (p, va_arg (v,int));
3400 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3401 function prototypes and stuff, but not '\xHH' hex character constants.
3402 These don't provoke an error unfortunately, instead are silently treated
3403 as 'x'. The following induces an error, until -std is added to get
3404 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3405 array size at least. It's necessary to write '\x00'==0 to get something
3406 that's true only with -std. */
3407 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3409 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3410 inside strings and character constants. */
3412 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3414 int test (int i, double x);
3415 struct s1 {int (*f) (int a);};
3416 struct s2 {int (*f) (double a);};
3417 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3423 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3428 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3429 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3431 CC="$ac_save_CC $ac_arg"
3432 if ac_fn_c_try_compile "$LINENO"; then :
3433 ac_cv_prog_cc_c89=$ac_arg
3435 rm -f core conftest.err conftest.$ac_objext
3436 test "x$ac_cv_prog_cc_c89" != "xno" && break
3438 rm -f conftest.$ac_ext
3443 case "x$ac_cv_prog_cc_c89" in
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3446 $as_echo "none needed" >&6; } ;;
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3449 $as_echo "unsupported" >&6; } ;;
3451 CC="$CC $ac_cv_prog_cc_c89"
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3453 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3455 if test "x$ac_cv_prog_cc_c89" != xno; then :
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3466 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3467 if test "${ac_cv_path_SED+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3470 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3471 for ac_i in 1 2 3 4 5 6 7; do
3472 ac_script="$ac_script$as_nl$ac_script"
3474 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3475 { ac_script=; unset ac_script;}
3476 if test -z "$SED"; then
3477 ac_path_SED_found=false
3478 # Loop through the user's path and test for each of PROGNAME-LIST
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir=.
3484 for ac_prog in sed gsed; do
3485 for ac_exec_ext in '' $ac_executable_extensions; do
3486 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3487 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3488 # Check for GNU ac_path_SED and select it if it is found.
3489 # Check for GNU $ac_path_SED
3490 case `"$ac_path_SED" --version 2>&1` in
3492 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3495 $as_echo_n 0123456789 >"conftest.in"
3498 cat "conftest.in" "conftest.in" >"conftest.tmp"
3499 mv "conftest.tmp" "conftest.in"
3500 cp "conftest.in" "conftest.nl"
3501 $as_echo '' >> "conftest.nl"
3502 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3504 as_fn_arith $ac_count + 1 && ac_count=$as_val
3505 if test $ac_count -gt ${ac_path_SED_max-0}; then
3506 # Best one so far, save it but keep looking for a better one
3507 ac_cv_path_SED="$ac_path_SED"
3508 ac_path_SED_max=$ac_count
3510 # 10*(2^10) chars as input seems more than enough
3511 test $ac_count -gt 10 && break
3513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3516 $ac_path_SED_found && break 3
3521 if test -z "$ac_cv_path_SED"; then
3522 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3530 $as_echo "$ac_cv_path_SED" >&6; }
3531 SED="$ac_cv_path_SED"
3534 test -z "$SED" && SED=sed
3535 Xsed="$SED -e 1s/^X//"
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3548 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3549 if test "${ac_cv_path_GREP+set}" = set; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -z "$GREP"; then
3553 ac_path_GREP_found=false
3554 # Loop through the user's path and test for each of PROGNAME-LIST
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3559 test -z "$as_dir" && as_dir=.
3560 for ac_prog in grep ggrep; do
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3563 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3564 # Check for GNU ac_path_GREP and select it if it is found.
3565 # Check for GNU $ac_path_GREP
3566 case `"$ac_path_GREP" --version 2>&1` in
3568 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3571 $as_echo_n 0123456789 >"conftest.in"
3574 cat "conftest.in" "conftest.in" >"conftest.tmp"
3575 mv "conftest.tmp" "conftest.in"
3576 cp "conftest.in" "conftest.nl"
3577 $as_echo 'GREP' >> "conftest.nl"
3578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3580 as_fn_arith $ac_count + 1 && ac_count=$as_val
3581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3582 # Best one so far, save it but keep looking for a better one
3583 ac_cv_path_GREP="$ac_path_GREP"
3584 ac_path_GREP_max=$ac_count
3586 # 10*(2^10) chars as input seems more than enough
3587 test $ac_count -gt 10 && break
3589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3592 $ac_path_GREP_found && break 3
3597 if test -z "$ac_cv_path_GREP"; then
3598 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3601 ac_cv_path_GREP=$GREP
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3606 $as_echo "$ac_cv_path_GREP" >&6; }
3607 GREP="$ac_cv_path_GREP"
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3611 $as_echo_n "checking for egrep... " >&6; }
3612 if test "${ac_cv_path_EGREP+set}" = set; then :
3613 $as_echo_n "(cached) " >&6
3615 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3616 then ac_cv_path_EGREP="$GREP -E"
3618 if test -z "$EGREP"; then
3619 ac_path_EGREP_found=false
3620 # Loop through the user's path and test for each of PROGNAME-LIST
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3625 test -z "$as_dir" && as_dir=.
3626 for ac_prog in egrep; do
3627 for ac_exec_ext in '' $ac_executable_extensions; do
3628 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3629 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3630 # Check for GNU ac_path_EGREP and select it if it is found.
3631 # Check for GNU $ac_path_EGREP
3632 case `"$ac_path_EGREP" --version 2>&1` in
3634 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3637 $as_echo_n 0123456789 >"conftest.in"
3640 cat "conftest.in" "conftest.in" >"conftest.tmp"
3641 mv "conftest.tmp" "conftest.in"
3642 cp "conftest.in" "conftest.nl"
3643 $as_echo 'EGREP' >> "conftest.nl"
3644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3646 as_fn_arith $ac_count + 1 && ac_count=$as_val
3647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3648 # Best one so far, save it but keep looking for a better one
3649 ac_cv_path_EGREP="$ac_path_EGREP"
3650 ac_path_EGREP_max=$ac_count
3652 # 10*(2^10) chars as input seems more than enough
3653 test $ac_count -gt 10 && break
3655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3658 $ac_path_EGREP_found && break 3
3663 if test -z "$ac_cv_path_EGREP"; then
3664 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3667 ac_cv_path_EGREP=$EGREP
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3673 $as_echo "$ac_cv_path_EGREP" >&6; }
3674 EGREP="$ac_cv_path_EGREP"
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3678 $as_echo_n "checking for fgrep... " >&6; }
3679 if test "${ac_cv_path_FGREP+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3683 then ac_cv_path_FGREP="$GREP -F"
3685 if test -z "$FGREP"; then
3686 ac_path_FGREP_found=false
3687 # Loop through the user's path and test for each of PROGNAME-LIST
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3692 test -z "$as_dir" && as_dir=.
3693 for ac_prog in fgrep; do
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3696 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3697 # Check for GNU ac_path_FGREP and select it if it is found.
3698 # Check for GNU $ac_path_FGREP
3699 case `"$ac_path_FGREP" --version 2>&1` in
3701 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3704 $as_echo_n 0123456789 >"conftest.in"
3707 cat "conftest.in" "conftest.in" >"conftest.tmp"
3708 mv "conftest.tmp" "conftest.in"
3709 cp "conftest.in" "conftest.nl"
3710 $as_echo 'FGREP' >> "conftest.nl"
3711 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3712 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3713 as_fn_arith $ac_count + 1 && ac_count=$as_val
3714 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3715 # Best one so far, save it but keep looking for a better one
3716 ac_cv_path_FGREP="$ac_path_FGREP"
3717 ac_path_FGREP_max=$ac_count
3719 # 10*(2^10) chars as input seems more than enough
3720 test $ac_count -gt 10 && break
3722 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3725 $ac_path_FGREP_found && break 3
3730 if test -z "$ac_cv_path_FGREP"; then
3731 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3734 ac_cv_path_FGREP=$FGREP
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3740 $as_echo "$ac_cv_path_FGREP" >&6; }
3741 FGREP="$ac_cv_path_FGREP"
3744 test -z "$GREP" && GREP=grep
3764 # Check whether --with-gnu-ld was given.
3765 if test "${with_gnu_ld+set}" = set; then :
3766 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3772 if test "$GCC" = yes; then
3773 # Check if gcc -print-prog-name=ld gives a path.
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3775 $as_echo_n "checking for ld used by $CC... " >&6; }
3778 # gcc leaves a trailing carriage return which upsets mingw
3779 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3781 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3784 # Accept absolute paths.
3786 re_direlt='/[^/][^/]*/\.\./'
3787 # Canonicalize the pathname of ld
3788 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3789 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3790 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3792 test -z "$LD" && LD="$ac_prog"
3795 # If it fails, then pretend we aren't using GCC.
3799 # If it is relative, then search for the first ld in PATH.
3803 elif test "$with_gnu_ld" = yes; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3805 $as_echo_n "checking for GNU ld... " >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3808 $as_echo_n "checking for non-GNU ld... " >&6; }
3810 if test "${lt_cv_path_LD+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 if test -z "$LD"; then
3814 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3815 for ac_dir in $PATH; do
3817 test -z "$ac_dir" && ac_dir=.
3818 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3819 lt_cv_path_LD="$ac_dir/$ac_prog"
3820 # Check to see if the program is GNU ld. I'd rather use --version,
3821 # but apparently some variants of GNU ld only accept -v.
3822 # Break only if it was the GNU/non-GNU ld that we prefer.
3823 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3824 *GNU* | *'with BFD'*)
3825 test "$with_gnu_ld" != no && break
3828 test "$with_gnu_ld" != yes && break
3835 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3840 if test -n "$LD"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3842 $as_echo "$LD" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3847 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3849 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3850 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3851 $as_echo_n "(cached) " >&6
3853 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3854 case `$LD -v 2>&1 </dev
/null
` in
3855 *GNU* | *'with BFD'*)
3856 lt_cv_prog_gnu_ld=yes
3859 lt_cv_prog_gnu_ld=no
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3864 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3865 with_gnu_ld=$lt_cv_prog_gnu_ld
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3876 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3877 if test "${lt_cv_path_NM+set}" = set; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$NM"; then
3881 # Let the user override the test.
3884 lt_nm_to_check="${ac_tool_prefix}nm"
3885 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3886 lt_nm_to_check="$lt_nm_to_check nm"
3888 for lt_tmp_nm in $lt_nm_to_check; do
3889 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3890 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3892 test -z "$ac_dir" && ac_dir=.
3893 tmp_nm="$ac_dir/$lt_tmp_nm"
3894 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3895 # Check to see if the nm accepts a BSD-compat flag.
3896 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3897 # nm: unknown option "B" ignored
3898 # Tru64's nm complains that
/dev
/null is an invalid object
file
3899 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3900 */dev
/null
* | *'Invalid file or object type'*)
3901 lt_cv_path_NM
="$tmp_nm -B"
3905 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3907 lt_cv_path_NM
="$tmp_nm -p"
3911 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3912 continue # so that we can try to find one that supports BSD flags
3921 : ${lt_cv_path_NM=no}
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3925 $as_echo "$lt_cv_path_NM" >&6; }
3926 if test "$lt_cv_path_NM" != "no"; then
3929 # Didn't find any BSD compatible name lister, look for dumpbin.
3930 if test -n "$ac_tool_prefix"; then
3931 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3933 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3934 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -n "$DUMPBIN"; then
3941 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 DUMPBIN
=$ac_cv_prog_DUMPBIN
3961 if test -n "$DUMPBIN"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3963 $as_echo "$DUMPBIN" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3970 test -n "$DUMPBIN" && break
3973 if test -z "$DUMPBIN"; then
3974 ac_ct_DUMPBIN
=$DUMPBIN
3975 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3977 # Extract the first word of "$ac_prog", so it can be a program name with args.
3978 set dummy
$ac_prog; ac_word
=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$ac_ct_DUMPBIN"; then
3985 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4005 if test -n "$ac_ct_DUMPBIN"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4007 $as_echo "$ac_ct_DUMPBIN" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4014 test -n "$ac_ct_DUMPBIN" && break
4017 if test "x$ac_ct_DUMPBIN" = x
; then
4020 case $cross_compiling:$ac_tool_warned in
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4024 ac_tool_warned
=yes ;;
4026 DUMPBIN
=$ac_ct_DUMPBIN
4031 if test "$DUMPBIN" != ":"; then
4035 test -z "$NM" && NM
=nm
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4043 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4044 if test "${lt_cv_nm_interface+set}" = set; then :
4045 $as_echo_n "(cached) " >&6
4047 lt_cv_nm_interface
="BSD nm"
4048 echo "int some_variable = 0;" > conftest.
$ac_ext
4049 (eval echo "\"\$as_me:4049: $ac_compile\"" >&5)
4050 (eval "$ac_compile" 2>conftest.err
)
4051 cat conftest.err
>&5
4052 (eval echo "\"\$as_me:4052: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4053 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4054 cat conftest.err
>&5
4055 (eval echo "\"\$as_me:4055: output\"" >&5)
4056 cat conftest.out
>&5
4057 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4058 lt_cv_nm_interface
="MS dumpbin"
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4063 $as_echo "$lt_cv_nm_interface" >&6; }
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4066 $as_echo_n "checking whether ln -s works... " >&6; }
4068 if test "$LN_S" = "ln -s"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4070 $as_echo "yes" >&6; }
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4073 $as_echo "no, using $LN_S" >&6; }
4076 # find the maximum length of command line arguments
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4078 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4079 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4087 # On DJGPP, this test can blow up pretty badly due to problems in libc
4088 # (any single argument exceeding 2000 bytes causes a buffer overrun
4089 # during glob expansion). Even if it were fixed, the result of this
4090 # check would be larger than it should be.
4091 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4095 # Under GNU Hurd, this test is not required because there is
4096 # no limit to the length of command line arguments.
4097 # Libtool will interpret -1 as no limit whatsoever
4098 lt_cv_sys_max_cmd_len
=-1;
4101 cygwin
* | mingw
* | cegcc
*)
4102 # On Win9x/ME, this test blows up -- it succeeds, but takes
4103 # about 5 minutes as the teststring grows exponentially.
4104 # Worse, since 9x/ME are not pre-emptively multitasking,
4105 # you end up with a "frozen" computer, even though with patience
4106 # the test eventually succeeds (with a max line length of 256k).
4107 # Instead, let's just punt: use the minimum linelength reported by
4108 # all of the supported platforms: 8192 (on NT/2K/XP).
4109 lt_cv_sys_max_cmd_len
=8192;
4113 # On AmigaOS with pdksh, this test takes hours, literally.
4114 # So we just punt and use a minimum line length of 8192.
4115 lt_cv_sys_max_cmd_len
=8192;
4118 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4119 # This has been around since 386BSD, at least. Likely further.
4120 if test -x /sbin
/sysctl
; then
4121 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4122 elif test -x /usr
/sbin
/sysctl
; then
4123 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4125 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4127 # And add a safety zone
4128 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4129 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4133 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4134 lt_cv_sys_max_cmd_len
=196608
4138 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4139 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4140 # nice to cause kernel panics so lets avoid the loop below.
4141 # First set a reasonable default.
4142 lt_cv_sys_max_cmd_len
=16384
4144 if test -x /sbin
/sysconfig
; then
4145 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4146 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4151 lt_cv_sys_max_cmd_len
=102400
4153 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4154 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4155 if test -n "$kargmax"; then
4156 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4158 lt_cv_sys_max_cmd_len
=32768
4162 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4163 if test -n "$lt_cv_sys_max_cmd_len"; then
4164 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4165 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4167 # Make teststring a little bigger before we do anything with it.
4168 # a 1K string should be a reasonable start.
4169 for i
in 1 2 3 4 5 6 7 8 ; do
4170 teststring
=$teststring$teststring
4172 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4173 # If test is not a shell built-in, we'll probably end up computing a
4174 # maximum length that is only half of the actual maximum length, but
4176 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4177 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4178 test $i != 17 # 1/2 MB should be enough
4181 teststring
=$teststring$teststring
4183 # Only check the string length outside the loop.
4184 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4186 # Add a significant safety factor because C++ compilers can tack on
4187 # massive amounts of additional arguments before passing them to the
4188 # linker. It appears as though 1/2 is a usable value.
4189 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4196 if test -n $lt_cv_sys_max_cmd_len ; then
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4198 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4201 $as_echo "none" >&6; }
4203 max_cmd_len
=$lt_cv_sys_max_cmd_len
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4215 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4216 # Try some XSI features
4219 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4221 && eval 'test $(( 1 + 1 )) -eq 2 \
4222 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4225 $as_echo "$xsi_shell" >&6; }
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4229 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4231 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4233 && lt_shell_append
=yes
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4235 $as_echo "$lt_shell_append" >&6; }
4238 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4248 # test EBCDIC or ASCII
4249 case `echo X|tr X '\101'` in
4250 A
) # ASCII based system
4251 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4252 lt_SP2NL
='tr \040 \012'
4253 lt_NL2SP
='tr \015\012 \040\040'
4255 *) # EBCDIC based system
4256 lt_SP2NL
='tr \100 \n'
4257 lt_NL2SP
='tr \r\n \100\100'
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4270 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4271 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 lt_cv_ld_reload_flag
='-r'
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4277 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4278 reload_flag
=$lt_cv_ld_reload_flag
4279 case $reload_flag in
4281 *) reload_flag
=" $reload_flag" ;;
4283 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4286 if test "$GCC" = yes; then
4287 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4289 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4302 if test -n "$ac_tool_prefix"; then
4303 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4304 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$OBJDUMP"; then
4311 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 OBJDUMP
=$ac_cv_prog_OBJDUMP
4331 if test -n "$OBJDUMP"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4333 $as_echo "$OBJDUMP" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4341 if test -z "$ac_cv_prog_OBJDUMP"; then
4342 ac_ct_OBJDUMP
=$OBJDUMP
4343 # Extract the first word of "objdump", so it can be a program name with args.
4344 set dummy objdump
; ac_word
=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_OBJDUMP"; then
4351 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4371 if test -n "$ac_ct_OBJDUMP"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4373 $as_echo "$ac_ct_OBJDUMP" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4379 if test "x$ac_ct_OBJDUMP" = x
; then
4382 case $cross_compiling:$ac_tool_warned in
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned
=yes ;;
4388 OBJDUMP
=$ac_ct_OBJDUMP
4391 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4394 test -z "$OBJDUMP" && OBJDUMP
=objdump
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4405 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4406 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4407 $as_echo_n "(cached) " >&6
4409 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4410 lt_cv_file_magic_test_file
=
4411 lt_cv_deplibs_check_method
='unknown'
4412 # Need to set the preceding variable on all platforms that support
4413 # interlibrary dependencies.
4414 # 'none' -- dependencies not supported.
4415 # `unknown' -- same as none, but documents that we really don't know.
4416 # 'pass_all' -- all dependencies passed with no checks.
4417 # 'test_compile' -- check by making test program.
4418 # 'file_magic [[regex]]' -- check by looking for files in library path
4419 # which responds to the $file_magic_cmd with a given extended regex.
4420 # If you have `file' or equivalent on your system and you're not sure
4421 # whether `pass_all' will *always* work, you probably want this one.
4425 lt_cv_deplibs_check_method
=pass_all
4429 lt_cv_deplibs_check_method
=pass_all
4433 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4434 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4435 lt_cv_file_magic_test_file
=/shlib
/libc.so
4439 # func_win32_libid is a shell function defined in ltmain.sh
4440 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4441 lt_cv_file_magic_cmd
='func_win32_libid'
4445 # Base MSYS/MinGW do not provide the 'file' command needed by
4446 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4447 # unless we find 'file', for example because we are cross-compiling.
4448 if ( file / ) >/dev
/null
2>&1; then
4449 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4450 lt_cv_file_magic_cmd
='func_win32_libid'
4452 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4453 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4458 # use the weaker test based on 'objdump'. See mingw*.
4459 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4460 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4463 darwin
* | rhapsody
*)
4464 lt_cv_deplibs_check_method
=pass_all
4467 freebsd
* | dragonfly
*)
4468 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4471 # Not sure whether the presence of OpenBSD here was a mistake.
4472 # Let's accept both of them until this is cleared up.
4473 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4474 lt_cv_file_magic_cmd
=/usr
/bin
/file
4475 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4479 lt_cv_deplibs_check_method
=pass_all
4484 lt_cv_deplibs_check_method
=pass_all
4487 hpux10.20
* | hpux11
*)
4488 lt_cv_file_magic_cmd
=/usr
/bin
/file
4491 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4492 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4495 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]'
4496 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4499 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4500 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4506 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4507 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4510 irix5
* | irix6
* | nonstopux
*)
4512 *-32|*"-32 ") libmagic
=32-bit;;
4513 *-n32|*"-n32 ") libmagic
=N32
;;
4514 *-64|*"-64 ") libmagic
=64-bit;;
4515 *) libmagic
=never
-match;;
4517 lt_cv_deplibs_check_method
=pass_all
4520 # This must be Linux ELF.
4521 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4522 lt_cv_deplibs_check_method
=pass_all
4525 netbsd
* | netbsdelf
*-gnu)
4526 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4527 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4529 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4534 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4535 lt_cv_file_magic_cmd
=/usr
/bin
/file
4536 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4540 lt_cv_deplibs_check_method
=pass_all
4544 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4545 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4547 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4551 osf3
* | osf4
* | osf5
*)
4552 lt_cv_deplibs_check_method
=pass_all
4556 lt_cv_deplibs_check_method
=pass_all
4560 lt_cv_deplibs_check_method
=pass_all
4563 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4564 lt_cv_deplibs_check_method
=pass_all
4568 case $host_vendor in
4570 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]'
4571 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4574 lt_cv_deplibs_check_method
=pass_all
4577 lt_cv_file_magic_cmd
='/bin/file'
4578 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4581 lt_cv_file_magic_cmd
='/bin/file'
4582 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4583 lt_cv_file_magic_test_file
=/lib
/libc.so
4586 lt_cv_deplibs_check_method
=pass_all
4589 lt_cv_deplibs_check_method
=pass_all
4595 lt_cv_deplibs_check_method
=pass_all
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4601 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4602 file_magic_cmd
=$lt_cv_file_magic_cmd
4603 deplibs_check_method
=$lt_cv_deplibs_check_method
4604 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4617 if test -n "$ac_tool_prefix"; then
4618 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4619 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if test "${ac_cv_prog_AR+set}" = set; then :
4623 $as_echo_n "(cached) " >&6
4625 if test -n "$AR"; then
4626 ac_cv_prog_AR
="$AR" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4635 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 if test -n "$AR"; then
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4648 $as_echo "$AR" >&6; }
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651 $as_echo "no" >&6; }
4656 if test -z "$ac_cv_prog_AR"; then
4658 # Extract the first word of "ar", so it can be a program name with args.
4659 set dummy
ar; ac_word
=$2
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661 $as_echo_n "checking for $ac_word... " >&6; }
4662 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 if test -n "$ac_ct_AR"; then
4666 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4675 ac_cv_prog_ac_ct_AR
="ar"
4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4686 if test -n "$ac_ct_AR"; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4688 $as_echo "$ac_ct_AR" >&6; }
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 $as_echo "no" >&6; }
4694 if test "x$ac_ct_AR" = x
; then
4697 case $cross_compiling:$ac_tool_warned in
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701 ac_tool_warned
=yes ;;
4709 test -z "$AR" && AR
=ar
4710 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4722 if test -n "$ac_tool_prefix"; then
4723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4724 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_STRIP+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 if test -n "$STRIP"; then
4731 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir
=.
4738 for ac_exec_ext
in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4750 STRIP
=$ac_cv_prog_STRIP
4751 if test -n "$STRIP"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4753 $as_echo "$STRIP" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4761 if test -z "$ac_cv_prog_STRIP"; then
4763 # Extract the first word of "strip", so it can be a program name with args.
4764 set dummy strip
; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$ac_ct_STRIP"; then
4771 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_ac_ct_STRIP
="strip"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4791 if test -n "$ac_ct_STRIP"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4793 $as_echo "$ac_ct_STRIP" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4799 if test "x$ac_ct_STRIP" = x
; then
4802 case $cross_compiling:$ac_tool_warned in
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4806 ac_tool_warned
=yes ;;
4811 STRIP
="$ac_cv_prog_STRIP"
4814 test -z "$STRIP" && STRIP
=:
4821 if test -n "$ac_tool_prefix"; then
4822 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4823 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4825 $as_echo_n "checking for $ac_word... " >&6; }
4826 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4827 $as_echo_n "(cached) " >&6
4829 if test -n "$RANLIB"; then
4830 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4836 test -z "$as_dir" && as_dir
=.
4837 for ac_exec_ext
in '' $ac_executable_extensions; do
4838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4839 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 RANLIB
=$ac_cv_prog_RANLIB
4850 if test -n "$RANLIB"; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4852 $as_echo "$RANLIB" >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4855 $as_echo "no" >&6; }
4860 if test -z "$ac_cv_prog_RANLIB"; then
4861 ac_ct_RANLIB
=$RANLIB
4862 # Extract the first word of "ranlib", so it can be a program name with args.
4863 set dummy ranlib
; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$ac_ct_RANLIB"; then
4870 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4890 if test -n "$ac_ct_RANLIB"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4892 $as_echo "$ac_ct_RANLIB" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4898 if test "x$ac_ct_RANLIB" = x
; then
4901 case $cross_compiling:$ac_tool_warned in
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4905 ac_tool_warned
=yes ;;
4907 RANLIB
=$ac_ct_RANLIB
4910 RANLIB
="$ac_cv_prog_RANLIB"
4913 test -z "$RANLIB" && RANLIB
=:
4920 # Determine commands to create old-style static archives.
4921 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4922 old_postinstall_cmds
='chmod 644 $oldlib'
4923 old_postuninstall_cmds
=
4925 if test -n "$RANLIB"; then
4928 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4931 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4934 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4970 # If no C compiler was specified, use CC.
4973 # If no C compiler flags were specified, use CFLAGS.
4974 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4976 # Allow CC to be a program name with arguments.
4980 # Check for command to grab the raw symbol name followed by C symbol from nm.
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4982 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4983 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4984 $as_echo_n "(cached) " >&6
4987 # These are sane defaults that work on at least a few old systems.
4988 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4990 # Character class describing NM global symbol codes.
4991 symcode
='[BCDEGRST]'
4993 # Regexp to match symbols that can be accessed directly from C.
4994 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4996 # Define system-specific variables.
5001 cygwin
* | mingw
* | pw32
* | cegcc
*)
5002 symcode
='[ABCDGISTW]'
5005 if test "$host_cpu" = ia64
; then
5006 symcode
='[ABCDEGRST]'
5010 symcode
='[BCDEGRST]'
5013 symcode
='[BCDEGQRST]'
5024 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5032 # If we're using GNU nm, then use its standard symbol codes.
5033 case `$NM -V 2>&1` in
5034 *GNU
* | *'with BFD'*)
5035 symcode
='[ABCDGIRSTW]' ;;
5038 # Transform an extracted symbol line into a proper C declaration.
5039 # Some systems (esp. on ia64) link data and code symbols differently,
5040 # so use this general approach.
5041 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5043 # Transform an extracted symbol line into symbol name and symbol address
5044 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5045 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'"
5047 # Handle CRLF in mingw tool chain
5051 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5055 # Try without a prefix underscore, then with it.
5056 for ac_symprfx
in "" "_"; do
5058 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5059 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5061 # Write the raw and C identifiers.
5062 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5063 # Fake it for dumpbin and say T for any non-static function
5064 # and D for any global variable.
5065 # Also find C++ and __fastcall symbols from MSVC++,
5066 # which start with @ or ?.
5067 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5068 " {last_section=section; section=\$ 3};"\
5069 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5070 " \$ 0!~/External *\|/{next};"\
5071 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5072 " {if(hide[section]) next};"\
5073 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5074 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5075 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5076 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5077 " ' prfx=^$ac_symprfx"
5079 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5082 # Check to see that the pipe works correctly.
5086 cat > conftest.
$ac_ext <<_LT_EOF
5091 void nm_test_func(void);
5092 void nm_test_func(void){}
5096 int main(){nm_test_var='a';nm_test_func();return(0);}
5099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5100 (eval $ac_compile) 2>&5
5102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5103 test $ac_status = 0; }; then
5104 # Now try to grab the symbols.
5106 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5107 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; } && test -s "$nlist"; then
5111 # Try sorting and uniquifying the output.
5112 if sort "$nlist" | uniq > "$nlist"T
; then
5113 mv -f "$nlist"T
"$nlist"
5118 # Make sure that we snagged all the symbols we need.
5119 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5120 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5121 cat <<_LT_EOF > conftest.$ac_ext
5127 # Now generate the symbol file.
5128 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5130 cat <<_LT_EOF >> conftest.$ac_ext
5132 /* The mapping between symbol names and symbols. */
5137 lt__PROGRAM__LTX_preloaded_symbols[] =
5139 { "@PROGRAM@", (void *) 0 },
5141 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5142 cat <<\_LT_EOF
>> conftest.
$ac_ext
5146 /* This works around a problem
in FreeBSD linker
*/
5147 #ifdef FREEBSD_WORKAROUND
5148 static const void
*lt_preloaded_setup
() {
5149 return lt__PROGRAM__LTX_preloaded_symbols
;
5157 # Now try linking the two files.
5158 mv conftest.
$ac_objext conftstm.
$ac_objext
5159 lt_save_LIBS
="$LIBS"
5160 lt_save_CFLAGS
="$CFLAGS"
5161 LIBS
="conftstm.$ac_objext"
5162 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5164 (eval $ac_link) 2>&5
5166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5167 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5170 LIBS
="$lt_save_LIBS"
5171 CFLAGS
="$lt_save_CFLAGS"
5173 echo "cannot find nm_test_func in $nlist" >&5
5176 echo "cannot find nm_test_var in $nlist" >&5
5179 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5182 echo "$progname: failed program was:" >&5
5183 cat conftest.
$ac_ext >&5
5185 rm -rf conftest
* conftst
*
5187 # Do not use the global_symbol_pipe unless it works.
5188 if test "$pipe_works" = yes; then
5191 lt_cv_sys_global_symbol_pipe
=
5197 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5198 lt_cv_sys_global_symbol_to_cdecl
=
5200 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5202 $as_echo "failed" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5205 $as_echo "ok" >&6; }
5230 # Check whether --enable-libtool-lock was given.
5231 if test "${enable_libtool_lock+set}" = set; then :
5232 enableval
=$enable_libtool_lock;
5235 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5237 # Some flags need to be propagated to the compiler or linker for good
5241 # Find out which ABI we are using.
5242 echo 'int i;' > conftest.
$ac_ext
5243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5244 (eval $ac_compile) 2>&5
5246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }; then
5248 case `/usr/bin/file conftest.$ac_objext` in
5260 # Find out which ABI we are using.
5261 echo '#line 5261 "configure"' > conftest.
$ac_ext
5262 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5263 (eval $ac_compile) 2>&5
5265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5266 test $ac_status = 0; }; then
5267 if test "$lt_cv_prog_gnu_ld" = yes; then
5268 case `/usr/bin/file conftest.$ac_objext` in
5270 LD
="${LD-ld} -melf32bsmip"
5273 LD
="${LD-ld} -melf32bmipn32"
5276 LD
="${LD-ld} -melf64bmip"
5280 case `/usr/bin/file conftest.$ac_objext` in
5296 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5297 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5298 # Find out which ABI we are using.
5299 echo 'int i;' > conftest.
$ac_ext
5300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5301 (eval $ac_compile) 2>&5
5303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }; then
5305 case `/usr/bin/file conftest.o` in
5308 x86_64
-*kfreebsd
*-gnu)
5309 LD
="${LD-ld} -m elf_i386_fbsd"
5312 LD
="${LD-ld} -m elf_i386"
5314 ppc64
-*linux
*|powerpc64
-*linux
*)
5315 LD
="${LD-ld} -m elf32ppclinux"
5318 LD
="${LD-ld} -m elf_s390"
5321 LD
="${LD-ld} -m elf32_sparc"
5327 x86_64
-*kfreebsd
*-gnu)
5328 LD
="${LD-ld} -m elf_x86_64_fbsd"
5331 LD
="${LD-ld} -m elf_x86_64"
5333 ppc
*-*linux
*|powerpc
*-*linux
*)
5334 LD
="${LD-ld} -m elf64ppc"
5336 s390
*-*linux
*|s390
*-*tpf
*)
5337 LD
="${LD-ld} -m elf64_s390"
5340 LD
="${LD-ld} -m elf64_sparc"
5350 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5351 SAVE_CFLAGS
="$CFLAGS"
5352 CFLAGS
="$CFLAGS -belf"
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5354 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5355 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5356 $as_echo_n "(cached) " >&6
5359 ac_cpp
='$CPP $CPPFLAGS'
5360 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5361 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5362 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5375 if ac_fn_c_try_link
"$LINENO"; then :
5376 lt_cv_cc_needs_belf
=yes
5378 lt_cv_cc_needs_belf
=no
5380 rm -f core conftest.err conftest.
$ac_objext \
5381 conftest
$ac_exeext conftest.
$ac_ext
5383 ac_cpp
='$CPP $CPPFLAGS'
5384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5390 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5391 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5392 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5393 CFLAGS
="$SAVE_CFLAGS"
5397 # Find out which ABI we are using.
5398 echo 'int i;' > conftest.
$ac_ext
5399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5400 (eval $ac_compile) 2>&5
5402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5403 test $ac_status = 0; }; then
5404 case `/usr/bin/file conftest.o` in
5406 case $lt_cv_prog_gnu_ld in
5407 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5409 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5421 need_locks
="$enable_libtool_lock"
5425 rhapsody
* | darwin
*)
5426 if test -n "$ac_tool_prefix"; then
5427 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5428 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5430 $as_echo_n "checking for $ac_word... " >&6; }
5431 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -n "$DSYMUTIL"; then
5435 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5441 test -z "$as_dir" && as_dir
=.
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5444 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5455 if test -n "$DSYMUTIL"; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5457 $as_echo "$DSYMUTIL" >&6; }
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5460 $as_echo "no" >&6; }
5465 if test -z "$ac_cv_prog_DSYMUTIL"; then
5466 ac_ct_DSYMUTIL
=$DSYMUTIL
5467 # Extract the first word of "dsymutil", so it can be a program name with args.
5468 set dummy dsymutil
; ac_word
=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5474 if test -n "$ac_ct_DSYMUTIL"; then
5475 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir
=.
5482 for ac_exec_ext
in '' $ac_executable_extensions; do
5483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5484 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5495 if test -n "$ac_ct_DSYMUTIL"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5497 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5503 if test "x$ac_ct_DSYMUTIL" = x
; then
5506 case $cross_compiling:$ac_tool_warned in
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5510 ac_tool_warned
=yes ;;
5512 DSYMUTIL
=$ac_ct_DSYMUTIL
5515 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5518 if test -n "$ac_tool_prefix"; then
5519 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5520 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$NMEDIT"; then
5527 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5536 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 NMEDIT
=$ac_cv_prog_NMEDIT
5547 if test -n "$NMEDIT"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5549 $as_echo "$NMEDIT" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test -z "$ac_cv_prog_NMEDIT"; then
5558 ac_ct_NMEDIT
=$NMEDIT
5559 # Extract the first word of "nmedit", so it can be a program name with args.
5560 set dummy nmedit
; ac_word
=$2
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5562 $as_echo_n "checking for $ac_word... " >&6; }
5563 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5566 if test -n "$ac_ct_NMEDIT"; then
5567 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 test -z "$as_dir" && as_dir
=.
5574 for ac_exec_ext
in '' $ac_executable_extensions; do
5575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5576 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5586 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5587 if test -n "$ac_ct_NMEDIT"; then
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5589 $as_echo "$ac_ct_NMEDIT" >&6; }
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5592 $as_echo "no" >&6; }
5595 if test "x$ac_ct_NMEDIT" = x
; then
5598 case $cross_compiling:$ac_tool_warned in
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5602 ac_tool_warned
=yes ;;
5604 NMEDIT
=$ac_ct_NMEDIT
5607 NMEDIT
="$ac_cv_prog_NMEDIT"
5610 if test -n "$ac_tool_prefix"; then
5611 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5612 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if test "${ac_cv_prog_LIPO+set}" = set; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$LIPO"; then
5619 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir
=.
5626 for ac_exec_ext
in '' $ac_executable_extensions; do
5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5628 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 LIPO
=$ac_cv_prog_LIPO
5639 if test -n "$LIPO"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5641 $as_echo "$LIPO" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5649 if test -z "$ac_cv_prog_LIPO"; then
5651 # Extract the first word of "lipo", so it can be a program name with args.
5652 set dummy lipo
; ac_word
=$2
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5654 $as_echo_n "checking for $ac_word... " >&6; }
5655 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5656 $as_echo_n "(cached) " >&6
5658 if test -n "$ac_ct_LIPO"; then
5659 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5665 test -z "$as_dir" && as_dir
=.
5666 for ac_exec_ext
in '' $ac_executable_extensions; do
5667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5668 ac_cv_prog_ac_ct_LIPO
="lipo"
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5679 if test -n "$ac_ct_LIPO"; then
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5681 $as_echo "$ac_ct_LIPO" >&6; }
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 $as_echo "no" >&6; }
5687 if test "x$ac_ct_LIPO" = x
; then
5690 case $cross_compiling:$ac_tool_warned in
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5694 ac_tool_warned
=yes ;;
5699 LIPO
="$ac_cv_prog_LIPO"
5702 if test -n "$ac_tool_prefix"; then
5703 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5704 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706 $as_echo_n "checking for $ac_word... " >&6; }
5707 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$OTOOL"; then
5711 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir
=.
5718 for ac_exec_ext
in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 OTOOL
=$ac_cv_prog_OTOOL
5731 if test -n "$OTOOL"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5733 $as_echo "$OTOOL" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5741 if test -z "$ac_cv_prog_OTOOL"; then
5743 # Extract the first word of "otool", so it can be a program name with args.
5744 set dummy otool
; ac_word
=$2
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746 $as_echo_n "checking for $ac_word... " >&6; }
5747 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$ac_ct_OTOOL"; then
5751 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5757 test -z "$as_dir" && as_dir
=.
5758 for ac_exec_ext
in '' $ac_executable_extensions; do
5759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5760 ac_cv_prog_ac_ct_OTOOL
="otool"
5761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5771 if test -n "$ac_ct_OTOOL"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5773 $as_echo "$ac_ct_OTOOL" >&6; }
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776 $as_echo "no" >&6; }
5779 if test "x$ac_ct_OTOOL" = x
; then
5782 case $cross_compiling:$ac_tool_warned in
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786 ac_tool_warned
=yes ;;
5791 OTOOL
="$ac_cv_prog_OTOOL"
5794 if test -n "$ac_tool_prefix"; then
5795 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5796 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$OTOOL64"; then
5803 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5809 test -z "$as_dir" && as_dir
=.
5810 for ac_exec_ext
in '' $ac_executable_extensions; do
5811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5812 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 OTOOL64
=$ac_cv_prog_OTOOL64
5823 if test -n "$OTOOL64"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5825 $as_echo "$OTOOL64" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5833 if test -z "$ac_cv_prog_OTOOL64"; then
5834 ac_ct_OTOOL64
=$OTOOL64
5835 # Extract the first word of "otool64", so it can be a program name with args.
5836 set dummy otool64
; ac_word
=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 if test -n "$ac_ct_OTOOL64"; then
5843 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5852 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5862 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5863 if test -n "$ac_ct_OTOOL64"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5865 $as_echo "$ac_ct_OTOOL64" >&6; }
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5871 if test "x$ac_ct_OTOOL64" = x
; then
5874 case $cross_compiling:$ac_tool_warned in
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned
=yes ;;
5880 OTOOL64
=$ac_ct_OTOOL64
5883 OTOOL64
="$ac_cv_prog_OTOOL64"
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5913 $as_echo_n "checking for -single_module linker flag... " >&6; }
5914 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5915 $as_echo_n "(cached) " >&6
5917 lt_cv_apple_cc_single_mod
=no
5918 if test -z "${LT_MULTI_MODULE}"; then
5919 # By default we will add the -single_module flag. You can override
5920 # by either setting the environment variable LT_MULTI_MODULE
5921 # non-empty at configure time, or by adding -multi_module to the
5923 rm -rf libconftest.dylib
*
5924 echo "int foo(void){return 1;}" > conftest.c
5925 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5926 -dynamiclib -Wl,-single_module conftest.c" >&5
5927 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5928 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5930 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5931 lt_cv_apple_cc_single_mod
=yes
5933 cat conftest.err
>&5
5935 rm -rf libconftest.dylib
*
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5940 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5942 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5943 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5944 $as_echo_n "(cached) " >&6
5946 lt_cv_ld_exported_symbols_list
=no
5947 save_LDFLAGS
=$LDFLAGS
5948 echo "_main" > conftest.sym
5949 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5961 if ac_fn_c_try_link
"$LINENO"; then :
5962 lt_cv_ld_exported_symbols_list
=yes
5964 lt_cv_ld_exported_symbols_list
=no
5966 rm -f core conftest.err conftest.
$ac_objext \
5967 conftest
$ac_exeext conftest.
$ac_ext
5968 LDFLAGS
="$save_LDFLAGS"
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5972 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5974 rhapsody
* | darwin1.
[012])
5975 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5977 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5978 darwin
*) # darwin 5.x on
5979 # if running on 10.5 or later, the deployment target defaults
5980 # to the OS version, if on x86, and 10.4, the deployment
5981 # target defaults to 10.4. Don't you love it?
5982 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5983 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5984 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5986 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5988 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5992 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5993 _lt_dar_single_mod
='$single_module'
5995 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5996 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5998 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6000 if test "$DSYMUTIL" != ":"; then
6001 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6009 ac_cpp
='$CPP $CPPFLAGS'
6010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6014 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6015 # On Suns, sometimes $CPP names a directory.
6016 if test -n "$CPP" && test -d "$CPP"; then
6019 if test -z "$CPP"; then
6020 if test "${ac_cv_prog_CPP+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6023 # Double quotes because CPP needs to be expanded
6024 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6027 for ac_c_preproc_warn_flag
in '' yes
6029 # Use a header file that comes with gcc, so configuring glibc
6030 # with a fresh cross-compiler works.
6031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6032 # <limits.h> exists even on freestanding compilers.
6033 # On the NeXT, cc -E runs the code through the compiler's parser,
6034 # not just through cpp. "Syntax error" is here to catch this case.
6035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6038 # include <limits.h>
6040 # include <assert.h>
6044 if ac_fn_c_try_cpp
"$LINENO"; then :
6047 # Broken: fails on valid input.
6050 rm -f conftest.err conftest.
$ac_ext
6052 # OK, works on sane cases. Now check whether nonexistent headers
6053 # can be detected and how.
6054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6056 #include <ac_nonexistent.h>
6058 if ac_fn_c_try_cpp
"$LINENO"; then :
6059 # Broken: success on invalid input.
6062 # Passes both tests.
6066 rm -f conftest.err conftest.
$ac_ext
6069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6070 rm -f conftest.err conftest.
$ac_ext
6071 if $ac_preproc_ok; then :
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6084 $as_echo "$CPP" >&6; }
6086 for ac_c_preproc_warn_flag
in '' yes
6088 # Use a header file that comes with gcc, so configuring glibc
6089 # with a fresh cross-compiler works.
6090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6091 # <limits.h> exists even on freestanding compilers.
6092 # On the NeXT, cc -E runs the code through the compiler's parser,
6093 # not just through cpp. "Syntax error" is here to catch this case.
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6097 # include <limits.h>
6099 # include <assert.h>
6103 if ac_fn_c_try_cpp
"$LINENO"; then :
6106 # Broken: fails on valid input.
6109 rm -f conftest.err conftest.
$ac_ext
6111 # OK, works on sane cases. Now check whether nonexistent headers
6112 # can be detected and how.
6113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #include <ac_nonexistent.h>
6117 if ac_fn_c_try_cpp
"$LINENO"; then :
6118 # Broken: success on invalid input.
6121 # Passes both tests.
6125 rm -f conftest.err conftest.
$ac_ext
6128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6129 rm -f conftest.err conftest.
$ac_ext
6130 if $ac_preproc_ok; then :
6133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6135 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6136 See \`config.log' for more details." "$LINENO" 5; }
6140 ac_cpp
='$CPP $CPPFLAGS'
6141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6147 $as_echo_n "checking for ANSI C header files... " >&6; }
6148 if test "${ac_cv_header_stdc+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */
6166 if ac_fn_c_try_compile
"$LINENO"; then :
6167 ac_cv_header_stdc
=yes
6169 ac_cv_header_stdc
=no
6171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6173 if test $ac_cv_header_stdc = yes; then
6174 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6181 $EGREP "memchr" >/dev
/null
2>&1; then :
6184 ac_cv_header_stdc
=no
6190 if test $ac_cv_header_stdc = yes; then
6191 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6193 /* end confdefs.h. */
6197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6198 $EGREP "free" >/dev
/null
2>&1; then :
6201 ac_cv_header_stdc
=no
6207 if test $ac_cv_header_stdc = yes; then
6208 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6209 if test "$cross_compiling" = yes; then :
6212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6213 /* end confdefs.h. */
6216 #if ((' ' & 0x0FF) == 0x020)
6217 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6218 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6220 # define ISLOWER(c) \
6221 (('a' <= (c) && (c) <= 'i') \
6222 || ('j' <= (c) && (c) <= 'r') \
6223 || ('s' <= (c) && (c) <= 'z'))
6224 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6227 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6232 for (i = 0; i < 256; i++)
6233 if (XOR (islower (i), ISLOWER (i))
6234 || toupper (i) != TOUPPER (i))
6239 if ac_fn_c_try_run
"$LINENO"; then :
6242 ac_cv_header_stdc
=no
6244 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6245 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6251 $as_echo "$ac_cv_header_stdc" >&6; }
6252 if test $ac_cv_header_stdc = yes; then
6254 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6258 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6259 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6260 inttypes.h stdint.h unistd.h
6262 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6263 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6265 eval as_val
=\$
$as_ac_Header
6266 if test "x$as_val" = x
""yes; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6276 for ac_header
in dlfcn.h
6278 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6280 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6281 cat >>confdefs.h
<<_ACEOF
6282 #define HAVE_DLFCN_H 1
6292 # Check whether --enable-static was given.
6293 if test "${enable_static+set}" = set; then :
6294 enableval
=$enable_static; p
=${PACKAGE-default}
6296 yes) enable_static
=yes ;;
6297 no
) enable_static
=no
;;
6300 # Look at the argument we got. We use all the common list separators.
6301 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6302 for pkg
in $enableval; do
6304 if test "X$pkg" = "X$p"; then
6330 # Check whether --enable-shared was given.
6331 if test "${enable_shared+set}" = set; then :
6332 enableval
=$enable_shared; p
=${PACKAGE-default}
6334 yes) enable_shared
=yes ;;
6335 no
) enable_shared
=no
;;
6338 # Look at the argument we got. We use all the common list separators.
6339 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6340 for pkg
in $enableval; do
6342 if test "X$pkg" = "X$p"; then
6363 # Check whether --with-pic was given.
6364 if test "${with_pic+set}" = set; then :
6365 withval
=$with_pic; pic_mode
="$withval"
6371 test -z "$pic_mode" && pic_mode
=default
6379 # Check whether --enable-fast-install was given.
6380 if test "${enable_fast_install+set}" = set; then :
6381 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6383 yes) enable_fast_install
=yes ;;
6384 no
) enable_fast_install
=no
;;
6386 enable_fast_install
=no
6387 # Look at the argument we got. We use all the common list separators.
6388 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6389 for pkg
in $enableval; do
6391 if test "X$pkg" = "X$p"; then
6392 enable_fast_install
=yes
6399 enable_fast_install
=yes
6412 # This can be used to rebuild libtool when needed
6413 LIBTOOL_DEPS
="$ltmain"
6415 # Always use our own libtool.
6416 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6442 test -z "$LN_S" && LN_S
="ln -s"
6457 if test -n "${ZSH_VERSION+set}" ; then
6458 setopt NO_GLOB_SUBST
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6462 $as_echo_n "checking for objdir... " >&6; }
6463 if test "${lt_cv_objdir+set}" = set; then :
6464 $as_echo_n "(cached) " >&6
6466 rm -f .libs
2>/dev
/null
6467 mkdir .libs
2>/dev
/null
6468 if test -d .libs
; then
6471 # MS-DOS does not allow filenames that begin with a dot.
6474 rmdir .libs
2>/dev
/null
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6477 $as_echo "$lt_cv_objdir" >&6; }
6478 objdir
=$lt_cv_objdir
6484 cat >>confdefs.h
<<_ACEOF
6485 #define LT_OBJDIR "$lt_cv_objdir/"
6506 # AIX sometimes has problems with the GCC collect2 program. For some
6507 # reason, if we set the COLLECT_NAMES environment variable, the problems
6508 # vanish in a puff of smoke.
6509 if test "X${COLLECT_NAMES+set}" != Xset
; then
6511 export COLLECT_NAMES
6516 # Sed substitution that helps us do robust quoting. It backslashifies
6517 # metacharacters that are still active within double-quoted strings.
6518 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6520 # Same as above, but do not quote variable references.
6521 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6523 # Sed substitution to delay expansion of an escaped shell variable in a
6524 # double_quote_subst'ed string.
6525 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6527 # Sed substitution to delay expansion of an escaped single quote.
6528 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6530 # Sed substitution to avoid accidental globbing in evaled expressions
6531 no_glob_subst
='s/\*/\\\*/g'
6535 can_build_shared
=yes
6537 # All known linkers require a `.a' archive for static linking (except MSVC,
6538 # which needs '.lib').
6541 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6544 old_CFLAGS
="$CFLAGS"
6546 # Set sane defaults for various variables
6547 test -z "$CC" && CC
=cc
6548 test -z "$LTCC" && LTCC
=$CC
6549 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6550 test -z "$LD" && LD
=ld
6551 test -z "$ac_objext" && ac_objext
=o
6553 for cc_temp
in $compiler""; do
6555 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6556 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6561 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6564 # Only perform the check for file, if the check method requires it
6565 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6566 case $deplibs_check_method in
6568 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6570 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6571 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6572 $as_echo_n "(cached) " >&6
6576 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6579 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6580 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6581 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6582 for ac_dir
in $ac_dummy; do
6584 test -z "$ac_dir" && ac_dir
=.
6585 if test -f $ac_dir/${ac_tool_prefix}file; then
6586 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6587 if test -n "$file_magic_test_file"; then
6588 case $deplibs_check_method in
6590 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6591 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6592 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6593 $EGREP "$file_magic_regex" > /dev
/null
; then
6598 *** Warning: the command libtool uses to detect shared libraries,
6599 *** $file_magic_cmd, produces output that libtool cannot recognize.
6600 *** The result is that libtool may fail to recognize shared libraries
6601 *** as such. This will affect the creation of libtool libraries that
6602 *** depend on shared libraries, but programs linked with such libtool
6603 *** libraries will work regardless of this problem. Nevertheless, you
6604 *** may want to report the problem to your system manager and/or to
6605 *** bug-libtool@gnu.org
6615 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6620 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6621 if test -n "$MAGIC_CMD"; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6623 $as_echo "$MAGIC_CMD" >&6; }
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626 $as_echo "no" >&6; }
6633 if test -z "$lt_cv_path_MAGIC_CMD"; then
6634 if test -n "$ac_tool_prefix"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6636 $as_echo_n "checking for file... " >&6; }
6637 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6638 $as_echo_n "(cached) " >&6
6642 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6645 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6646 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6647 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6648 for ac_dir
in $ac_dummy; do
6650 test -z "$ac_dir" && ac_dir
=.
6651 if test -f $ac_dir/file; then
6652 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6653 if test -n "$file_magic_test_file"; then
6654 case $deplibs_check_method in
6656 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6657 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6658 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6659 $EGREP "$file_magic_regex" > /dev
/null
; then
6664 *** Warning: the command libtool uses to detect shared libraries,
6665 *** $file_magic_cmd, produces output that libtool cannot recognize.
6666 *** The result is that libtool may fail to recognize shared libraries
6667 *** as such. This will affect the creation of libtool libraries that
6668 *** depend on shared libraries, but programs linked with such libtool
6669 *** libraries will work regardless of this problem. Nevertheless, you
6670 *** may want to report the problem to your system manager and/or to
6671 *** bug-libtool@gnu.org
6681 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6686 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6687 if test -n "$MAGIC_CMD"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6689 $as_echo "$MAGIC_CMD" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6705 # Use C for the default configuration in the libtool script
6709 ac_cpp
='$CPP $CPPFLAGS'
6710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6715 # Source file extension for C test sources.
6718 # Object file extension for compiled C test sources.
6722 # Code to be used in simple compile tests
6723 lt_simple_compile_test_code
="int some_variable = 0;"
6725 # Code to be used in simple link tests
6726 lt_simple_link_test_code
='int main(){return(0);}'
6734 # If no C compiler was specified, use CC.
6737 # If no C compiler flags were specified, use CFLAGS.
6738 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6740 # Allow CC to be a program name with arguments.
6743 # Save the default compiler, since it gets overwritten when the other
6744 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6745 compiler_DEFAULT
=$CC
6747 # save warnings/boilerplate of simple test code
6748 ac_outfile
=conftest.
$ac_objext
6749 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6750 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6751 _lt_compiler_boilerplate
=`cat conftest.err`
6754 ac_outfile
=conftest.
$ac_objext
6755 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6756 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6757 _lt_linker_boilerplate
=`cat conftest.err`
6761 if test -n "$compiler"; then
6763 lt_prog_compiler_no_builtin_flag
=
6765 if test "$GCC" = yes; then
6766 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6769 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6770 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6771 $as_echo_n "(cached) " >&6
6773 lt_cv_prog_compiler_rtti_exceptions
=no
6774 ac_outfile
=conftest.
$ac_objext
6775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6776 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6777 # Insert the option either (1) after the last *FLAGS variable, or
6778 # (2) before a word containing "conftest.", or (3) at the end.
6779 # Note that $ac_compile itself does not contain backslashes and begins
6780 # with a dollar sign (not a hyphen), so the echo should work correctly.
6781 # The option is referenced via a variable to avoid confusing sed.
6782 lt_compile
=`echo "$ac_compile" | $SED \
6783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6785 -e 's:$: $lt_compiler_flag:'`
6786 (eval echo "\"\$as_me:6786: $lt_compile\"" >&5)
6787 (eval "$lt_compile" 2>conftest.err
)
6789 cat conftest.err
>&5
6790 echo "$as_me:6790: \$? = $ac_status" >&5
6791 if (exit $ac_status) && test -s "$ac_outfile"; then
6792 # The compiler can only warn and ignore the option if not recognized
6793 # So say no if there are warnings other than the usual output.
6794 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6795 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6796 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6797 lt_cv_prog_compiler_rtti_exceptions
=yes
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6804 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6806 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6807 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6819 lt_prog_compiler_wl
=
6820 lt_prog_compiler_pic
=
6821 lt_prog_compiler_static
=
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6824 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6826 if test "$GCC" = yes; then
6827 lt_prog_compiler_wl
='-Wl,'
6828 lt_prog_compiler_static
='-static'
6832 # All AIX code is PIC.
6833 if test "$host_cpu" = ia64
; then
6834 # AIX 5 now supports IA64 processor
6835 lt_prog_compiler_static
='-Bstatic'
6842 # see comment about AmigaOS4 .so support
6843 lt_prog_compiler_pic
='-fPIC'
6846 # FIXME: we need at least 68020 code to build shared libraries, but
6847 # adding the `-m68020' flag to GCC prevents building anything better,
6849 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6854 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6855 # PIC is the default for these OSes.
6858 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6859 # This hack is so that the source file can tell whether it is being
6860 # built for inclusion in a dll (and should export symbols for example).
6861 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6862 # (--disable-auto-import) libraries
6863 lt_prog_compiler_pic
='-DDLL_EXPORT'
6866 darwin
* | rhapsody
*)
6867 # PIC is the default on this platform
6868 # Common symbols not allowed in MH_DYLIB files
6869 lt_prog_compiler_pic
='-fno-common'
6873 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6874 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6875 # sets the default TLS model and affects inlining.
6881 lt_prog_compiler_pic
='-fPIC'
6887 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6888 # Instead, we relocate shared libraries at runtime.
6892 # Just because we use GCC doesn't mean we suddenly get shared libraries
6893 # on systems that don't support them.
6894 lt_prog_compiler_can_build_shared
=no
6899 # QNX uses GNU C++, but need to define -shared option too, otherwise
6901 lt_prog_compiler_pic
='-fPIC -shared'
6905 if test -d /usr
/nec
; then
6906 lt_prog_compiler_pic
=-Kconform_pic
6911 lt_prog_compiler_pic
='-fPIC'
6915 # PORTME Check for flag to pass linker flags through the system compiler.
6918 lt_prog_compiler_wl
='-Wl,'
6919 if test "$host_cpu" = ia64
; then
6920 # AIX 5 now supports IA64 processor
6921 lt_prog_compiler_static
='-Bstatic'
6923 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6927 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6928 # This hack is so that the source file can tell whether it is being
6929 # built for inclusion in a dll (and should export symbols for example).
6930 lt_prog_compiler_pic
='-DDLL_EXPORT'
6933 hpux9
* | hpux10
* | hpux11
*)
6934 lt_prog_compiler_wl
='-Wl,'
6935 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6942 lt_prog_compiler_pic
='+Z'
6945 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6946 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6949 irix5
* | irix6
* | nonstopux
*)
6950 lt_prog_compiler_wl
='-Wl,'
6951 # PIC (with -KPIC) is the default.
6952 lt_prog_compiler_static
='-non_shared'
6955 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6956 case $cc_basename in
6957 # old Intel for x86_64 which still supported -KPIC.
6959 lt_prog_compiler_wl
='-Wl,'
6960 lt_prog_compiler_pic
='-KPIC'
6961 lt_prog_compiler_static
='-static'
6963 # icc used to be incompatible with GCC.
6964 # ICC 10 doesn't accept -KPIC any more.
6966 lt_prog_compiler_wl
='-Wl,'
6967 lt_prog_compiler_pic
='-fPIC'
6968 lt_prog_compiler_static
='-static'
6970 # Lahey Fortran 8.1.
6972 lt_prog_compiler_wl
='-Wl,'
6973 lt_prog_compiler_pic
='--shared'
6974 lt_prog_compiler_static
='--static'
6976 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6977 # Portland Group compilers (*not* the Pentium gcc compiler,
6978 # which looks to be a dead project)
6979 lt_prog_compiler_wl
='-Wl,'
6980 lt_prog_compiler_pic
='-fpic'
6981 lt_prog_compiler_static
='-Bstatic'
6984 lt_prog_compiler_wl
='-Wl,'
6985 # All Alpha code is PIC.
6986 lt_prog_compiler_static
='-non_shared'
6989 # IBM XL C 8.0/Fortran 10.1 on PPC
6990 lt_prog_compiler_wl
='-Wl,'
6991 lt_prog_compiler_pic
='-qpic'
6992 lt_prog_compiler_static
='-qstaticlink'
6995 case `$CC -V 2>&1 | sed 5q` in
6998 lt_prog_compiler_pic
='-KPIC'
6999 lt_prog_compiler_static
='-Bstatic'
7000 lt_prog_compiler_wl
='-Wl,'
7003 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7004 lt_prog_compiler_pic
='-KPIC'
7005 lt_prog_compiler_static
='-Bstatic'
7006 lt_prog_compiler_wl
=''
7014 lt_prog_compiler_pic
='-KPIC'
7015 lt_prog_compiler_static
='-Bstatic'
7019 # QNX uses GNU C++, but need to define -shared option too, otherwise
7021 lt_prog_compiler_pic
='-fPIC -shared'
7024 osf3
* | osf4
* | osf5
*)
7025 lt_prog_compiler_wl
='-Wl,'
7026 # All OSF/1 code is PIC.
7027 lt_prog_compiler_static
='-non_shared'
7031 lt_prog_compiler_static
='-non_shared'
7035 lt_prog_compiler_pic
='-KPIC'
7036 lt_prog_compiler_static
='-Bstatic'
7037 case $cc_basename in
7039 lt_prog_compiler_wl
='-Qoption ld ';;
7041 lt_prog_compiler_wl
='-Wl,';;
7046 lt_prog_compiler_wl
='-Qoption ld '
7047 lt_prog_compiler_pic
='-PIC'
7048 lt_prog_compiler_static
='-Bstatic'
7051 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7052 lt_prog_compiler_wl
='-Wl,'
7053 lt_prog_compiler_pic
='-KPIC'
7054 lt_prog_compiler_static
='-Bstatic'
7058 if test -d /usr
/nec
;then
7059 lt_prog_compiler_pic
='-Kconform_pic'
7060 lt_prog_compiler_static
='-Bstatic'
7064 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7065 lt_prog_compiler_wl
='-Wl,'
7066 lt_prog_compiler_pic
='-KPIC'
7067 lt_prog_compiler_static
='-Bstatic'
7071 lt_prog_compiler_wl
='-Wl,'
7072 lt_prog_compiler_can_build_shared
=no
7076 lt_prog_compiler_pic
='-pic'
7077 lt_prog_compiler_static
='-Bstatic'
7081 lt_prog_compiler_can_build_shared
=no
7087 # For platforms which do not support PIC, -DPIC is meaningless:
7089 lt_prog_compiler_pic
=
7092 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7096 $as_echo "$lt_prog_compiler_pic" >&6; }
7104 # Check to make sure the PIC flag actually works.
7106 if test -n "$lt_prog_compiler_pic"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7108 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7109 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7110 $as_echo_n "(cached) " >&6
7112 lt_cv_prog_compiler_pic_works
=no
7113 ac_outfile
=conftest.
$ac_objext
7114 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7115 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7116 # Insert the option either (1) after the last *FLAGS variable, or
7117 # (2) before a word containing "conftest.", or (3) at the end.
7118 # Note that $ac_compile itself does not contain backslashes and begins
7119 # with a dollar sign (not a hyphen), so the echo should work correctly.
7120 # The option is referenced via a variable to avoid confusing sed.
7121 lt_compile
=`echo "$ac_compile" | $SED \
7122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7124 -e 's:$: $lt_compiler_flag:'`
7125 (eval echo "\"\$as_me:7125: $lt_compile\"" >&5)
7126 (eval "$lt_compile" 2>conftest.err
)
7128 cat conftest.err
>&5
7129 echo "$as_me:7129: \$? = $ac_status" >&5
7130 if (exit $ac_status) && test -s "$ac_outfile"; then
7131 # The compiler can only warn and ignore the option if not recognized
7132 # So say no if there are warnings other than the usual output.
7133 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7134 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7135 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7136 lt_cv_prog_compiler_pic_works
=yes
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7143 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7145 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7146 case $lt_prog_compiler_pic in
7148 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7151 lt_prog_compiler_pic
=
7152 lt_prog_compiler_can_build_shared
=no
7163 # Check to make sure the static flag actually works.
7165 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7167 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7168 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
7171 lt_cv_prog_compiler_static_works
=no
7172 save_LDFLAGS
="$LDFLAGS"
7173 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7174 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7175 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7176 # The linker can only warn and ignore the option if not recognized
7177 # So say no if there are warnings
7178 if test -s conftest.err
; then
7179 # Append any errors to the config.log.
7180 cat conftest.err
1>&5
7181 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7182 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7183 if diff conftest.exp conftest.er2
>/dev
/null
; then
7184 lt_cv_prog_compiler_static_works
=yes
7187 lt_cv_prog_compiler_static_works
=yes
7191 LDFLAGS
="$save_LDFLAGS"
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7195 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7197 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7200 lt_prog_compiler_static
=
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7210 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7211 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7212 $as_echo_n "(cached) " >&6
7214 lt_cv_prog_compiler_c_o
=no
7215 $RM -r conftest
2>/dev
/null
7219 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7221 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7222 # Insert the option either (1) after the last *FLAGS variable, or
7223 # (2) before a word containing "conftest.", or (3) at the end.
7224 # Note that $ac_compile itself does not contain backslashes and begins
7225 # with a dollar sign (not a hyphen), so the echo should work correctly.
7226 lt_compile
=`echo "$ac_compile" | $SED \
7227 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7229 -e 's:$: $lt_compiler_flag:'`
7230 (eval echo "\"\$as_me:7230: $lt_compile\"" >&5)
7231 (eval "$lt_compile" 2>out
/conftest.err
)
7233 cat out
/conftest.err
>&5
7234 echo "$as_me:7234: \$? = $ac_status" >&5
7235 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7237 # The compiler can only warn and ignore the option if not recognized
7238 # So say no if there are warnings
7239 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7240 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7241 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7242 lt_cv_prog_compiler_c_o
=yes
7247 # SGI C++ compiler will create directory out/ii_files/ for
7248 # template instantiation
7249 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7250 $RM out
/* && rmdir out
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7257 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7265 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7266 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7267 $as_echo_n "(cached) " >&6
7269 lt_cv_prog_compiler_c_o
=no
7270 $RM -r conftest
2>/dev
/null
7274 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7276 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7277 # Insert the option either (1) after the last *FLAGS variable, or
7278 # (2) before a word containing "conftest.", or (3) at the end.
7279 # Note that $ac_compile itself does not contain backslashes and begins
7280 # with a dollar sign (not a hyphen), so the echo should work correctly.
7281 lt_compile
=`echo "$ac_compile" | $SED \
7282 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7284 -e 's:$: $lt_compiler_flag:'`
7285 (eval echo "\"\$as_me:7285: $lt_compile\"" >&5)
7286 (eval "$lt_compile" 2>out
/conftest.err
)
7288 cat out
/conftest.err
>&5
7289 echo "$as_me:7289: \$? = $ac_status" >&5
7290 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7292 # The compiler can only warn and ignore the option if not recognized
7293 # So say no if there are warnings
7294 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7295 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7296 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7297 lt_cv_prog_compiler_c_o
=yes
7302 # SGI C++ compiler will create directory out/ii_files/ for
7303 # template instantiation
7304 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7305 $RM out
/* && rmdir out
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7312 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7317 hard_links
="nottested"
7318 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7319 # do not overwrite the value of need_locks provided by the user
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7321 $as_echo_n "checking if we can lock with hard links... " >&6; }
7324 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7326 ln conftest.a conftest.b
2>&5 || hard_links
=no
7327 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7329 $as_echo "$hard_links" >&6; }
7330 if test "$hard_links" = no
; then
7331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7332 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7345 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7348 allow_undefined_flag
=
7349 always_export_symbols
=no
7351 archive_expsym_cmds
=
7352 compiler_needs_object
=no
7353 enable_shared_with_static_runtimes
=no
7354 export_dynamic_flag_spec
=
7355 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7356 hardcode_automatic
=no
7358 hardcode_direct_absolute
=no
7359 hardcode_libdir_flag_spec
=
7360 hardcode_libdir_flag_spec_ld
=
7361 hardcode_libdir_separator
=
7363 hardcode_shlibpath_var
=unsupported
7365 link_all_deplibs
=unknown
7368 old_archive_from_new_cmds
=
7369 old_archive_from_expsyms_cmds
=
7370 thread_safe_flag_spec
=
7371 whole_archive_flag_spec
=
7372 # include_expsyms should be a list of space-separated symbols to be *always*
7373 # included in the symbol list
7375 # exclude_expsyms can be an extended regexp of symbols to exclude
7376 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7377 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7378 # as well as any symbol that contains `d'.
7379 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7380 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7381 # platforms (ab)use it in PIC code, but their linkers get confused if
7382 # the symbol is explicitly referenced. Since portable code cannot
7383 # rely on this symbol name, it's probably fine to never include it in
7384 # preloaded symbol tables.
7385 # Exclude shared library initialization/finalization symbols.
7386 extract_expsyms_cmds
=
7389 cygwin
* | mingw
* | pw32
* | cegcc
*)
7390 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7391 # When not using gcc, we currently assume that we are using
7392 # Microsoft Visual C++.
7393 if test "$GCC" != yes; then
7398 # we just hope/assume this is gcc and not c89 (= MSVC++)
7404 linux
* | k
*bsd
*-gnu)
7410 if test "$with_gnu_ld" = yes; then
7411 # If archive_cmds runs LD, not CC, wlarc should be empty
7414 # Set some defaults for GNU ld with shared library support. These
7415 # are reset later if shared libraries are not supported. Putting them
7416 # here allows them to be overridden if necessary.
7417 runpath_var
=LD_RUN_PATH
7418 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7419 export_dynamic_flag_spec
='${wl}--export-dynamic'
7420 # ancient GNU ld didn't support --whole-archive et. al.
7421 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7422 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7424 whole_archive_flag_spec
=
7426 supports_anon_versioning
=no
7427 case `$LD -v 2>&1` in
7428 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7429 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7430 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7431 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7432 *\
2.11.
*) ;; # other 2.11 versions
7433 *) supports_anon_versioning
=yes ;;
7436 # See if GNU ld supports shared libraries.
7439 # On AIX/PPC, the GNU linker is very broken
7440 if test "$host_cpu" != ia64
; then
7444 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7445 *** to be unable to reliably create shared libraries on AIX.
7446 *** Therefore, libtool is disabling shared libraries support. If you
7447 *** really care for shared libraries, you may want to modify your PATH
7448 *** so that a non-GNU linker is found, and then restart.
7457 # see comment about AmigaOS4 .so support
7458 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7459 archive_expsym_cmds
=''
7462 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)'
7463 hardcode_libdir_flag_spec
='-L$libdir'
7464 hardcode_minus_L
=yes
7470 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7471 allow_undefined_flag
=unsupported
7472 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7473 # support --undefined. This deserves some investigation. FIXME
7474 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7480 cygwin
* | mingw
* | pw32
* | cegcc
*)
7481 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7482 # as there is no search path for DLLs.
7483 hardcode_libdir_flag_spec
='-L$libdir'
7484 allow_undefined_flag
=unsupported
7485 always_export_symbols
=no
7486 enable_shared_with_static_runtimes
=yes
7487 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7489 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7490 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7491 # If the export-symbols file already is a .def file (1st line
7492 # is EXPORTS), use it as is; otherwise, prepend...
7493 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7494 cp $export_symbols $output_objdir/$soname.def;
7496 echo EXPORTS > $output_objdir/$soname.def;
7497 cat $export_symbols >> $output_objdir/$soname.def;
7499 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7507 hardcode_shlibpath_var
=no
7508 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7509 export_dynamic_flag_spec
='${wl}-E'
7510 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7511 # Instead, shared libraries are loaded at an image base (0x10000000 by
7512 # default) and relocated if they conflict, which is a slow very memory
7513 # consuming and fragmenting process. To avoid this, we pick a random,
7514 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7515 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7516 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7517 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'
7520 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7522 if test "$host_os" = linux
-dietlibc; then
7523 case $cc_basename in
7524 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7527 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7528 && test "$tmp_diet" = no
7531 tmp_sharedflag
='-shared'
7532 case $cc_basename,$host_cpu in
7533 pgcc
*) # Portland Group C compiler
7534 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7535 tmp_addflag
=' $pic_flag'
7537 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7538 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'
7539 tmp_addflag
=' $pic_flag -Mnomain' ;;
7540 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7541 tmp_addflag
=' -i_dynamic' ;;
7542 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7543 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7544 ifc
* | ifort
*) # Intel Fortran compiler
7545 tmp_addflag
=' -nofor_main' ;;
7546 lf95
*) # Lahey Fortran 8.1
7547 whole_archive_flag_spec
=
7548 tmp_sharedflag
='--shared' ;;
7549 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7550 tmp_sharedflag
='-qmkshrobj'
7553 case `$CC -V 2>&1 | sed 5q` in
7554 *Sun\ C
*) # Sun C 5.9
7555 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'
7556 compiler_needs_object
=yes
7557 tmp_sharedflag
='-G' ;;
7558 *Sun\ F
*) # Sun Fortran 8.3
7559 tmp_sharedflag
='-G' ;;
7561 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7563 if test "x$supports_anon_versioning" = xyes
; then
7564 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7565 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7566 echo "local: *; };" >> $output_objdir/$libname.ver~
7567 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7570 case $cc_basename in
7572 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7573 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7574 hardcode_libdir_flag_spec
=
7575 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7576 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7577 if test "x$supports_anon_versioning" = xyes
; then
7578 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7579 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7580 echo "local: *; };" >> $output_objdir/$libname.ver~
7581 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7590 netbsd
* | netbsdelf
*-gnu)
7591 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7592 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7595 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7596 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7601 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7605 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7606 *** create shared libraries on Solaris systems. Therefore, libtool
7607 *** is disabling shared libraries support. We urge you to upgrade GNU
7608 *** binutils to release 2.9.1 or newer. Another option is to modify
7609 *** your PATH or compiler configuration so that the native linker is
7610 *** used, and then restart.
7613 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7614 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7615 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7621 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7622 case `$LD -v 2>&1` in
7623 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7627 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7628 *** reliably create shared libraries on SCO systems. Therefore, libtool
7629 *** is disabling shared libraries support. We urge you to upgrade GNU
7630 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7631 *** your PATH or compiler configuration so that the native linker is
7632 *** used, and then restart.
7637 # For security reasons, it is highly recommended that you always
7638 # use absolute paths for naming shared libraries, and exclude the
7639 # DT_RUNPATH tag from executables and libraries. But doing so
7640 # requires that you compile everything twice, which is a pain.
7641 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7642 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7643 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7644 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7653 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7656 hardcode_shlibpath_var
=no
7660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7661 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7662 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7669 if test "$ld_shlibs" = no
; then
7671 hardcode_libdir_flag_spec
=
7672 export_dynamic_flag_spec
=
7673 whole_archive_flag_spec
=
7676 # PORTME fill in a description of your system's linker (not GNU ld)
7679 allow_undefined_flag
=unsupported
7680 always_export_symbols
=yes
7681 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'
7682 # Note: this linker hardcodes the directories in LIBPATH if there
7683 # are no directories specified by -L.
7684 hardcode_minus_L
=yes
7685 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7686 # Neither direct hardcoding nor static linking is supported with a
7688 hardcode_direct
=unsupported
7693 if test "$host_cpu" = ia64
; then
7694 # On IA64, the linker does run time linking by default, so we don't
7695 # have to do anything special.
7696 aix_use_runtimelinking
=no
7697 exp_sym_flag
='-Bexport'
7700 # If we're using GNU nm, then we don't want the "-C" option.
7701 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7702 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7703 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'
7705 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'
7707 aix_use_runtimelinking
=no
7709 # Test if we are trying to use run time linking or normal
7710 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7711 # need to do runtime linking.
7712 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7713 for ld_flag
in $LDFLAGS; do
7714 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7715 aix_use_runtimelinking
=yes
7722 exp_sym_flag
='-bexport'
7723 no_entry_flag
='-bnoentry'
7726 # When large executables or shared objects are built, AIX ld can
7727 # have problems creating the table of contents. If linking a library
7728 # or program results in "error TOC overflow" add -mminimal-toc to
7729 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7730 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7734 hardcode_direct_absolute
=yes
7735 hardcode_libdir_separator
=':'
7736 link_all_deplibs
=yes
7737 file_list_spec
='${wl}-f,'
7739 if test "$GCC" = yes; then
7740 case $host_os in aix4.
[012]|aix4.
[012].
*)
7741 # We only want to do this on AIX 4.2 and lower, the check
7742 # below for broken collect2 doesn't work under 4.3+
7743 collect2name
=`${CC} -print-prog-name=collect2`
7744 if test -f "$collect2name" &&
7745 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7747 # We have reworked collect2
7750 # We have old collect2
7751 hardcode_direct
=unsupported
7752 # It fails to find uninstalled libraries when the uninstalled
7753 # path is not listed in the libpath. Setting hardcode_minus_L
7754 # to unsupported forces relinking
7755 hardcode_minus_L
=yes
7756 hardcode_libdir_flag_spec
='-L$libdir'
7757 hardcode_libdir_separator
=
7761 shared_flag
='-shared'
7762 if test "$aix_use_runtimelinking" = yes; then
7763 shared_flag
="$shared_flag "'${wl}-G'
7768 if test "$host_cpu" = ia64
; then
7769 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7770 # chokes on -Wl,-G. The following line is correct:
7773 if test "$aix_use_runtimelinking" = yes; then
7774 shared_flag
='${wl}-G'
7776 shared_flag
='${wl}-bM:SRE'
7781 export_dynamic_flag_spec
='${wl}-bexpall'
7782 # It seems that -bexpall does not export symbols beginning with
7783 # underscore (_), so it is better to generate a list of symbols to export.
7784 always_export_symbols
=yes
7785 if test "$aix_use_runtimelinking" = yes; then
7786 # Warning - without using the other runtime loading flags (-brtl),
7787 # -berok will link without error, but may produce a broken library.
7788 allow_undefined_flag
='-berok'
7789 # Determine the default libpath from the value encoded in an
7791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7792 /* end confdefs.h. */
7802 if ac_fn_c_try_link
"$LINENO"; then :
7804 lt_aix_libpath_sed
='
7805 /Import File Strings/,/^$/ {
7811 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7812 # Check for a 64-bit object if we didn't find anything.
7813 if test -z "$aix_libpath"; then
7814 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7817 rm -f core conftest.err conftest.
$ac_objext \
7818 conftest
$ac_exeext conftest.
$ac_ext
7819 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7821 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7822 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"
7824 if test "$host_cpu" = ia64
; then
7825 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7826 allow_undefined_flag
="-z nodefs"
7827 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"
7829 # Determine the default libpath from the value encoded in an
7831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7842 if ac_fn_c_try_link
"$LINENO"; then :
7844 lt_aix_libpath_sed
='
7845 /Import File Strings/,/^$/ {
7851 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7852 # Check for a 64-bit object if we didn't find anything.
7853 if test -z "$aix_libpath"; then
7854 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7857 rm -f core conftest.err conftest.
$ac_objext \
7858 conftest
$ac_exeext conftest.
$ac_ext
7859 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7861 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7862 # Warning - without using the other run time loading flags,
7863 # -berok will link without error, but may produce a broken library.
7864 no_undefined_flag
=' ${wl}-bernotok'
7865 allow_undefined_flag
=' ${wl}-berok'
7866 # Exported symbols can be pulled into shared objects from archives
7867 whole_archive_flag_spec
='$convenience'
7868 archive_cmds_need_lc
=yes
7869 # This is similar to how AIX traditionally builds its shared libraries.
7870 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'
7878 # see comment about AmigaOS4 .so support
7879 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7880 archive_expsym_cmds
=''
7883 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)'
7884 hardcode_libdir_flag_spec
='-L$libdir'
7885 hardcode_minus_L
=yes
7891 export_dynamic_flag_spec
=-rdynamic
7894 cygwin
* | mingw
* | pw32
* | cegcc
*)
7895 # When not using gcc, we currently assume that we are using
7896 # Microsoft Visual C++.
7897 # hardcode_libdir_flag_spec is actually meaningless, as there is
7898 # no search path for DLLs.
7899 hardcode_libdir_flag_spec
=' '
7900 allow_undefined_flag
=unsupported
7901 # Tell ltmain to make .lib files, not .a files.
7903 # Tell ltmain to make .dll files, not .so files.
7905 # FIXME: Setting linknames here is a bad hack.
7906 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7907 # The linker will automatically build a .lib file if we build a DLL.
7908 old_archive_from_new_cmds
='true'
7909 # FIXME: Should let the user specify the lib program.
7910 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7911 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7912 enable_shared_with_static_runtimes
=yes
7915 darwin
* | rhapsody
*)
7918 archive_cmds_need_lc
=no
7920 hardcode_automatic
=yes
7921 hardcode_shlibpath_var
=unsupported
7922 whole_archive_flag_spec
=''
7923 link_all_deplibs
=yes
7924 allow_undefined_flag
="$_lt_dar_allow_undefined"
7925 case $cc_basename in
7926 ifort
*) _lt_dar_can_shared
=yes ;;
7927 *) _lt_dar_can_shared
=$GCC ;;
7929 if test "$_lt_dar_can_shared" = "yes"; then
7930 output_verbose_link_cmd
=echo
7931 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7932 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7933 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}"
7934 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}"
7943 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7944 hardcode_libdir_flag_spec
='-L$libdir'
7945 hardcode_shlibpath_var
=no
7952 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7953 # support. Future versions do this automatically, but an explicit c++rt0.o
7954 # does not break anything, and helps significantly (at the cost of a little
7957 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7958 hardcode_libdir_flag_spec
='-R$libdir'
7960 hardcode_shlibpath_var
=no
7963 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7965 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7967 hardcode_minus_L
=yes
7968 hardcode_shlibpath_var
=no
7971 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7972 freebsd
* | dragonfly
*)
7973 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7974 hardcode_libdir_flag_spec
='-R$libdir'
7976 hardcode_shlibpath_var
=no
7980 if test "$GCC" = yes; then
7981 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'
7983 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'
7985 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7986 hardcode_libdir_separator
=:
7989 # hardcode_minus_L: Not really in the search PATH,
7990 # but as the default location of the library.
7991 hardcode_minus_L
=yes
7992 export_dynamic_flag_spec
='${wl}-E'
7996 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7997 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7999 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8001 if test "$with_gnu_ld" = no
; then
8002 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8003 hardcode_libdir_flag_spec_ld
='+b $libdir'
8004 hardcode_libdir_separator
=:
8006 hardcode_direct_absolute
=yes
8007 export_dynamic_flag_spec
='${wl}-E'
8008 # hardcode_minus_L: Not really in the search PATH,
8009 # but as the default location of the library.
8010 hardcode_minus_L
=yes
8015 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8018 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8021 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8024 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8030 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8033 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8036 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8040 if test "$with_gnu_ld" = no
; then
8041 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8042 hardcode_libdir_separator
=:
8047 hardcode_shlibpath_var
=no
8051 hardcode_direct_absolute
=yes
8052 export_dynamic_flag_spec
='${wl}-E'
8054 # hardcode_minus_L: Not really in the search PATH,
8055 # but as the default location of the library.
8056 hardcode_minus_L
=yes
8062 irix5
* | irix6
* | nonstopux
*)
8063 if test "$GCC" = yes; then
8064 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'
8065 # Try to use the -exported_symbol ld option, if it does not
8066 # work, assume that -exports_file does not work either and
8067 # implicitly export all symbols.
8068 save_LDFLAGS
="$LDFLAGS"
8069 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8074 if ac_fn_c_try_link
"$LINENO"; then :
8075 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'
8078 rm -f core conftest.err conftest.
$ac_objext \
8079 conftest
$ac_exeext conftest.
$ac_ext
8080 LDFLAGS
="$save_LDFLAGS"
8082 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'
8083 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'
8085 archive_cmds_need_lc
='no'
8086 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8087 hardcode_libdir_separator
=:
8089 link_all_deplibs
=yes
8092 netbsd
* | netbsdelf
*-gnu)
8093 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8094 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8096 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8098 hardcode_libdir_flag_spec
='-R$libdir'
8100 hardcode_shlibpath_var
=no
8104 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8106 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8107 hardcode_libdir_separator
=:
8108 hardcode_shlibpath_var
=no
8115 if test -f /usr
/libexec
/ld.so
; then
8117 hardcode_shlibpath_var
=no
8118 hardcode_direct_absolute
=yes
8119 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8120 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8121 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8122 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8123 export_dynamic_flag_spec
='${wl}-E'
8126 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8127 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8128 hardcode_libdir_flag_spec
='-R$libdir'
8131 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8132 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8142 hardcode_libdir_flag_spec
='-L$libdir'
8143 hardcode_minus_L
=yes
8144 allow_undefined_flag
=unsupported
8145 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'
8146 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8150 if test "$GCC" = yes; then
8151 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8152 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'
8154 allow_undefined_flag
=' -expect_unresolved \*'
8155 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'
8157 archive_cmds_need_lc
='no'
8158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8159 hardcode_libdir_separator
=:
8162 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8163 if test "$GCC" = yes; then
8164 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8165 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'
8166 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8168 allow_undefined_flag
=' -expect_unresolved \*'
8169 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'
8170 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~
8171 $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'
8173 # Both c and cxx compiler support -rpath directly
8174 hardcode_libdir_flag_spec
='-rpath $libdir'
8176 archive_cmds_need_lc
='no'
8177 hardcode_libdir_separator
=:
8181 no_undefined_flag
=' -z defs'
8182 if test "$GCC" = yes; then
8184 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8185 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8186 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8188 case `$CC -V 2>&1` in
8191 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8192 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8193 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8197 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8198 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8199 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8203 hardcode_libdir_flag_spec
='-R$libdir'
8204 hardcode_shlibpath_var
=no
8206 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8208 # The compiler driver will combine and reorder linker options,
8209 # but understands `-z linker_flag'. GCC discards it without `$wl',
8210 # but is careful enough not to reorder.
8211 # Supported since Solaris 2.6 (maybe 2.5.1?)
8212 if test "$GCC" = yes; then
8213 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8215 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8219 link_all_deplibs
=yes
8223 if test "x$host_vendor" = xsequent
; then
8224 # Use $CC to link under sequent, because it throws in some extra .o
8225 # files that make .init and .fini sections work.
8226 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8228 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8230 hardcode_libdir_flag_spec
='-L$libdir'
8232 hardcode_minus_L
=yes
8233 hardcode_shlibpath_var
=no
8237 case $host_vendor in
8239 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8240 hardcode_direct
=yes # is this really true???
8243 ## LD is ld it makes a PLAMLIB
8244 ## CC just makes a GrossModule.
8245 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8246 reload_cmds
='$CC -r -o $output$reload_objs'
8250 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8251 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8254 runpath_var
='LD_RUN_PATH'
8255 hardcode_shlibpath_var
=no
8259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8260 hardcode_shlibpath_var
=no
8261 export_dynamic_flag_spec
='-Bexport'
8265 if test -d /usr
/nec
; then
8266 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8267 hardcode_shlibpath_var
=no
8268 runpath_var
=LD_RUN_PATH
8269 hardcode_runpath_var
=yes
8274 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8275 no_undefined_flag
='${wl}-z,text'
8276 archive_cmds_need_lc
=no
8277 hardcode_shlibpath_var
=no
8278 runpath_var
='LD_RUN_PATH'
8280 if test "$GCC" = yes; then
8281 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8284 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8285 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8289 sysv5
* | sco3.2v5
* | sco5v6
*)
8290 # Note: We can NOT use -z defs as we might desire, because we do not
8291 # link with -lc, and that would cause any symbols used from libc to
8292 # always be unresolved, which means just about no library would
8293 # ever link correctly. If we're not using GNU ld we use -z text
8294 # though, which does catch some bad symbols but isn't as heavy-handed
8296 no_undefined_flag
='${wl}-z,text'
8297 allow_undefined_flag
='${wl}-z,nodefs'
8298 archive_cmds_need_lc
=no
8299 hardcode_shlibpath_var
=no
8300 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8301 hardcode_libdir_separator
=':'
8302 link_all_deplibs
=yes
8303 export_dynamic_flag_spec
='${wl}-Bexport'
8304 runpath_var
='LD_RUN_PATH'
8306 if test "$GCC" = yes; then
8307 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8308 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8310 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8311 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8316 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8317 hardcode_libdir_flag_spec
='-L$libdir'
8318 hardcode_shlibpath_var
=no
8326 if test x
$host_vendor = xsni
; then
8328 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8329 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8336 $as_echo "$ld_shlibs" >&6; }
8337 test "$ld_shlibs" = no
&& can_build_shared
=no
8339 with_gnu_ld
=$with_gnu_ld
8356 # Do we need to explicitly link libc?
8358 case "x$archive_cmds_need_lc" in
8360 # Assume -lc should be added
8361 archive_cmds_need_lc
=yes
8363 if test "$enable_shared" = yes && test "$GCC" = yes; then
8364 case $archive_cmds in
8366 # FIXME: we may have to deal with multi-command sequences.
8369 # Test whether the compiler implicitly links with -lc since on some
8370 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8371 # to ld, don't add -lc before -lgcc.
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8373 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8375 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8378 (eval $ac_compile) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381 test $ac_status = 0; } 2>conftest.err
; then
8384 libobjs
=conftest.
$ac_objext
8386 wl
=$lt_prog_compiler_wl
8387 pic_flag
=$lt_prog_compiler_pic
8393 lt_save_allow_undefined_flag
=$allow_undefined_flag
8394 allow_undefined_flag
=
8395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8396 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8399 test $ac_status = 0; }
8401 archive_cmds_need_lc
=no
8403 archive_cmds_need_lc
=yes
8405 allow_undefined_flag
=$lt_save_allow_undefined_flag
8407 cat conftest.err
1>&5
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8411 $as_echo "$archive_cmds_need_lc" >&6; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8575 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8577 if test "$GCC" = yes; then
8579 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8580 *) lt_awk_arg
="/^libraries:/" ;;
8582 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8583 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8584 # if the path contains ";" then we assume it to be the separator
8585 # otherwise default to the standard path separator (i.e. ":") - it is
8586 # assumed that no part of a normal pathname contains ";" but that should
8587 # okay in the real world where ";" in dirpaths is itself problematic.
8588 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8590 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8592 # Ok, now we have the path, separated by spaces, we can step through it
8593 # and add multilib dir if necessary.
8594 lt_tmp_lt_search_path_spec
=
8595 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8596 for lt_sys_path
in $lt_search_path_spec; do
8597 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8598 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8600 test -d "$lt_sys_path" && \
8601 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8604 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8605 BEGIN {RS=" "; FS="/|\n";} {
8608 for (lt_i = NF; lt_i > 0; lt_i--) {
8609 if ($lt_i != "" && $lt_i != ".") {
8610 if ($lt_i == "..") {
8613 if (lt_count == 0) {
8614 lt_foo="/" $lt_i lt_foo;
8621 if (lt_foo != "") { lt_freq[lt_foo]++; }
8622 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8624 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8626 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8629 libname_spec
='lib$name'
8637 shlibpath_overrides_runpath
=unknown
8639 dynamic_linker
="$host_os ld.so"
8640 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8641 need_lib_prefix
=unknown
8642 hardcode_into_libs
=no
8644 # when you set need_version to no, make sure it does not cause -set_version
8645 # flags to be left without arguments
8646 need_version
=unknown
8651 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8652 shlibpath_var
=LIBPATH
8654 # AIX 3 has no versioning support, so we append a major version to the name.
8655 soname_spec
='${libname}${release}${shared_ext}$major'
8662 hardcode_into_libs
=yes
8663 if test "$host_cpu" = ia64
; then
8664 # AIX 5 supports IA64
8665 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8666 shlibpath_var
=LD_LIBRARY_PATH
8668 # With GCC up to 2.95.x, collect2 would create an import file
8669 # for dependence libraries. The import file would start with
8670 # the line `#! .'. This would cause the generated library to
8671 # depend on `.', always an invalid library. This was fixed in
8672 # development snapshots of GCC prior to 3.0.
8674 aix4
| aix4.
[01] | aix4.
[01].
*)
8675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8677 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8685 # soname into executable. Probably we can add versioning support to
8686 # collect2, so additional links can be useful in future.
8687 if test "$aix_use_runtimelinking" = yes; then
8688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8689 # instead of lib<name>.a to let people know that these are not
8690 # typical AIX shared libraries.
8691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8693 # We preserve .a as extension for shared libraries through AIX4.2
8694 # and later when we are not doing run time linking.
8695 library_names_spec
='${libname}${release}.a $libname.a'
8696 soname_spec
='${libname}${release}${shared_ext}$major'
8698 shlibpath_var
=LIBPATH
8705 # Since July 2007 AmigaOS4 officially supports .so libraries.
8706 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8707 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8710 library_names_spec
='$libname.ixlibrary $libname.a'
8711 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8712 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'
8718 library_names_spec
='${libname}${shared_ext}'
8719 dynamic_linker
="$host_os ld.so"
8720 shlibpath_var
=LIBRARY_PATH
8726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8727 soname_spec
='${libname}${release}${shared_ext}$major'
8728 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8729 shlibpath_var
=LD_LIBRARY_PATH
8730 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8731 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8732 # the default ld.so.conf also contains /usr/contrib/lib and
8733 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8734 # libtool to hard-code these into programs
8737 cygwin
* | mingw
* | pw32
* | cegcc
*)
8738 version_type
=windows
8743 case $GCC,$host_os in
8744 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8745 library_names_spec
='$libname.dll.a'
8746 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8747 postinstall_cmds
='base_file=`basename \${file}`~
8748 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8749 dldir=$destdir/`dirname \$dlpath`~
8750 test -d \$dldir || mkdir -p \$dldir~
8751 $install_prog $dir/$dlname \$dldir/$dlname~
8752 chmod a+x \$dldir/$dlname~
8753 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8754 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8756 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8757 dlpath=$dir/\$dldll~
8759 shlibpath_overrides_runpath
=yes
8763 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8764 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8765 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8768 # MinGW DLLs use traditional 'lib' prefix
8769 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8770 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8771 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8772 # It is most probably a Windows format PATH printed by
8773 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8774 # path with ; separators, and with drive letters. We can handle the
8775 # drive letters (cygwin fileutils understands them), so leave them,
8776 # especially as we might pass files found there to a mingw objdump,
8777 # which wouldn't understand a cygwinified path. Ahh.
8778 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8780 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8784 # pw32 DLLs use 'pw' prefix rather than 'lib'
8785 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8791 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8794 dynamic_linker
='Win32 ld.exe'
8795 # FIXME: first we should search . and the directory the executable is in
8799 darwin
* | rhapsody
*)
8800 dynamic_linker
="$host_os dyld"
8804 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8805 soname_spec
='${libname}${release}${major}$shared_ext'
8806 shlibpath_overrides_runpath
=yes
8807 shlibpath_var
=DYLD_LIBRARY_PATH
8808 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8810 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8811 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8819 soname_spec
='${libname}${release}${shared_ext}$major'
8820 shlibpath_var
=LD_LIBRARY_PATH
8827 freebsd
* | dragonfly
*)
8828 # DragonFly does not have aout. When/if they implement a new
8829 # versioning mechanism, adjust this.
8830 if test -x /usr
/bin
/objformat
; then
8831 objformat
=`/usr/bin/objformat`
8834 freebsd
[123]*) objformat
=aout
;;
8838 version_type
=freebsd
-$objformat
8839 case $version_type in
8841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8846 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8850 shlibpath_var
=LD_LIBRARY_PATH
8853 shlibpath_overrides_runpath
=yes
8855 freebsd3.
[01]* | freebsdelf3.
[01]*)
8856 shlibpath_overrides_runpath
=yes
8857 hardcode_into_libs
=yes
8859 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8860 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8861 shlibpath_overrides_runpath
=no
8862 hardcode_into_libs
=yes
8864 *) # from 4.6 on, and DragonFly
8865 shlibpath_overrides_runpath
=yes
8866 hardcode_into_libs
=yes
8875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8876 soname_spec
='${libname}${release}${shared_ext}$major'
8877 shlibpath_var
=LD_LIBRARY_PATH
8878 hardcode_into_libs
=yes
8881 hpux9
* | hpux10
* | hpux11
*)
8882 # Give a soname corresponding to the major version so that dld.sl refuses to
8883 # link against other versions.
8890 hardcode_into_libs
=yes
8891 dynamic_linker
="$host_os dld.so"
8892 shlibpath_var
=LD_LIBRARY_PATH
8893 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 if test "X$HPUX_IA64_MODE" = X32
; then
8897 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8899 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8901 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8905 hardcode_into_libs
=yes
8906 dynamic_linker
="$host_os dld.sl"
8907 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8908 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8910 soname_spec
='${libname}${release}${shared_ext}$major'
8911 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8912 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8916 dynamic_linker
="$host_os dld.sl"
8917 shlibpath_var
=SHLIB_PATH
8918 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8920 soname_spec
='${libname}${release}${shared_ext}$major'
8923 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8924 postinstall_cmds
='chmod 555 $lib'
8931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8932 soname_spec
='${libname}${release}${shared_ext}$major'
8933 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8934 shlibpath_var
=LD_LIBRARY_PATH
8935 shlibpath_overrides_runpath
=no
8936 hardcode_into_libs
=yes
8939 irix5
* | irix6
* | nonstopux
*)
8941 nonstopux
*) version_type
=nonstopux
;;
8943 if test "$lt_cv_prog_gnu_ld" = yes; then
8951 soname_spec
='${libname}${release}${shared_ext}$major'
8952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8954 irix5
* | nonstopux
*)
8958 case $LD in # libtool.m4 will add one of these switches to LD
8959 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8960 libsuff
= shlibsuff
= libmagic
=32-bit;;
8961 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8962 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8963 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8964 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8965 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8969 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8970 shlibpath_overrides_runpath
=no
8971 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8972 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8973 hardcode_into_libs
=yes
8976 # No shared lib support for Linux oldld, aout, or coff.
8977 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8981 # This must be Linux ELF.
8982 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8987 soname_spec
='${libname}${release}${shared_ext}$major'
8988 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8989 shlibpath_var
=LD_LIBRARY_PATH
8990 shlibpath_overrides_runpath
=no
8991 # Some binutils ld are patched to set DT_RUNPATH
8992 save_LDFLAGS
=$LDFLAGS
8994 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8995 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
9007 if ac_fn_c_try_link
"$LINENO"; then :
9008 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9009 shlibpath_overrides_runpath
=yes
9012 rm -f core conftest.err conftest.
$ac_objext \
9013 conftest
$ac_exeext conftest.
$ac_ext
9014 LDFLAGS
=$save_LDFLAGS
9017 # This implies no fast_install, which is unacceptable.
9018 # Some rework will be needed to allow for fast_install
9019 # before this can be enabled.
9020 hardcode_into_libs
=yes
9022 # Append ld.so.conf contents to the search path
9023 if test -f /etc
/ld.so.conf
; then
9024 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' ' '`
9025 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9028 # We used to test for /lib/ld.so.1 and disable shared libraries on
9029 # powerpc, because MkLinux only supported shared libraries with the
9030 # GNU dynamic linker. Since this was broken with cross compilers,
9031 # most powerpc-linux boxes support dynamic linking these days and
9032 # people can always --disable-shared, the test was removed, and we
9033 # assume the GNU/Linux dynamic linker is in use.
9034 dynamic_linker
='GNU/Linux ld.so'
9041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9042 soname_spec
='${libname}${release}${shared_ext}$major'
9043 shlibpath_var
=LD_LIBRARY_PATH
9044 shlibpath_overrides_runpath
=no
9045 hardcode_into_libs
=yes
9046 dynamic_linker
='NetBSD ld.elf_so'
9053 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9055 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9056 dynamic_linker
='NetBSD (a.out) ld.so'
9058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9059 soname_spec
='${libname}${release}${shared_ext}$major'
9060 dynamic_linker
='NetBSD ld.elf_so'
9062 shlibpath_var
=LD_LIBRARY_PATH
9063 shlibpath_overrides_runpath
=yes
9064 hardcode_into_libs
=yes
9069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9070 shlibpath_var
=LD_LIBRARY_PATH
9071 shlibpath_overrides_runpath
=yes
9078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9079 soname_spec
='${libname}${release}${shared_ext}$major'
9080 shlibpath_var
=LD_LIBRARY_PATH
9081 shlibpath_overrides_runpath
=no
9082 hardcode_into_libs
=yes
9083 dynamic_linker
='ldqnx.so'
9088 sys_lib_dlsearch_path_spec
="/usr/lib"
9090 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9092 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9093 *) need_version
=no
;;
9095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9097 shlibpath_var
=LD_LIBRARY_PATH
9098 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9100 openbsd2.
[89] | openbsd2.
[89].
*)
9101 shlibpath_overrides_runpath
=no
9104 shlibpath_overrides_runpath
=yes
9108 shlibpath_overrides_runpath
=yes
9113 libname_spec
='$name'
9116 library_names_spec
='$libname${shared_ext} $libname.a'
9117 dynamic_linker
='OS/2 ld.exe'
9118 shlibpath_var
=LIBPATH
9121 osf3
* | osf4
* | osf5
*)
9125 soname_spec
='${libname}${release}${shared_ext}$major'
9126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9127 shlibpath_var
=LD_LIBRARY_PATH
9128 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9129 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9141 soname_spec
='${libname}${release}${shared_ext}$major'
9142 shlibpath_var
=LD_LIBRARY_PATH
9143 shlibpath_overrides_runpath
=yes
9144 hardcode_into_libs
=yes
9145 # ldd complains unless libraries are executable
9146 postinstall_cmds
='chmod +x $lib'
9151 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9152 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9153 shlibpath_var
=LD_LIBRARY_PATH
9154 shlibpath_overrides_runpath
=yes
9155 if test "$with_gnu_ld" = yes; then
9163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9164 soname_spec
='${libname}${release}${shared_ext}$major'
9165 shlibpath_var
=LD_LIBRARY_PATH
9166 case $host_vendor in
9168 shlibpath_overrides_runpath
=no
9170 runpath_var
=LD_RUN_PATH
9178 shlibpath_overrides_runpath
=no
9179 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9185 if test -d /usr
/nec
;then
9187 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9188 soname_spec
='$libname${shared_ext}.$major'
9189 shlibpath_var
=LD_LIBRARY_PATH
9193 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9194 version_type
=freebsd
-elf
9197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9198 soname_spec
='${libname}${release}${shared_ext}$major'
9199 shlibpath_var
=LD_LIBRARY_PATH
9200 shlibpath_overrides_runpath
=yes
9201 hardcode_into_libs
=yes
9202 if test "$with_gnu_ld" = yes; then
9203 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9205 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9208 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9212 sys_lib_dlsearch_path_spec
='/usr/lib'
9216 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9221 shlibpath_var
=LD_LIBRARY_PATH
9222 shlibpath_overrides_runpath
=no
9223 hardcode_into_libs
=yes
9228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9229 soname_spec
='${libname}${release}${shared_ext}$major'
9230 shlibpath_var
=LD_LIBRARY_PATH
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9238 $as_echo "$dynamic_linker" >&6; }
9239 test "$dynamic_linker" = no
&& can_build_shared
=no
9241 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9242 if test "$GCC" = yes; then
9243 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9246 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9247 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9249 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9250 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9340 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9342 if test -n "$hardcode_libdir_flag_spec" ||
9343 test -n "$runpath_var" ||
9344 test "X$hardcode_automatic" = "Xyes" ; then
9346 # We can hardcode non-existent directories.
9347 if test "$hardcode_direct" != no
&&
9348 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9349 # have to relink, otherwise we might link with an installed library
9350 # when we should be linking with a yet-to-be-installed one
9351 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9352 test "$hardcode_minus_L" != no
; then
9353 # Linking always hardcodes the temporary library directory.
9354 hardcode_action
=relink
9356 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9357 hardcode_action
=immediate
9360 # We cannot hardcode anything, or else we can only hardcode existing
9362 hardcode_action
=unsupported
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9365 $as_echo "$hardcode_action" >&6; }
9367 if test "$hardcode_action" = relink
||
9368 test "$inherit_rpath" = yes; then
9369 # Fast installation is not supported
9370 enable_fast_install
=no
9371 elif test "$shlibpath_overrides_runpath" = yes ||
9372 test "$enable_shared" = no
; then
9373 # Fast installation is not necessary
9374 enable_fast_install
=needless
9382 if test "x$enable_dlopen" != xyes
; then
9383 enable_dlopen
=unknown
9384 enable_dlopen_self
=unknown
9385 enable_dlopen_self_static
=unknown
9392 lt_cv_dlopen
="load_add_on"
9394 lt_cv_dlopen_self
=yes
9397 mingw
* | pw32
* | cegcc
*)
9398 lt_cv_dlopen
="LoadLibrary"
9403 lt_cv_dlopen
="dlopen"
9408 # if libdl is installed we need to link against it
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9410 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9411 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9412 $as_echo_n "(cached) " >&6
9414 ac_check_lib_save_LIBS
=$LIBS
9416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9434 if ac_fn_c_try_link
"$LINENO"; then :
9435 ac_cv_lib_dl_dlopen
=yes
9437 ac_cv_lib_dl_dlopen
=no
9439 rm -f core conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 LIBS
=$ac_check_lib_save_LIBS
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9444 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9445 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9446 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9451 lt_cv_dlopen_self
=yes
9458 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9459 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9460 lt_cv_dlopen
="shl_load"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9463 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9464 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9465 $as_echo_n "(cached) " >&6
9467 ac_check_lib_save_LIBS
=$LIBS
9469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9487 if ac_fn_c_try_link
"$LINENO"; then :
9488 ac_cv_lib_dld_shl_load
=yes
9490 ac_cv_lib_dld_shl_load
=no
9492 rm -f core conftest.err conftest.
$ac_objext \
9493 conftest
$ac_exeext conftest.
$ac_ext
9494 LIBS
=$ac_check_lib_save_LIBS
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9497 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9498 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9499 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9501 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9502 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9503 lt_cv_dlopen
="dlopen"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9506 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9507 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9508 $as_echo_n "(cached) " >&6
9510 ac_check_lib_save_LIBS
=$LIBS
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9530 if ac_fn_c_try_link
"$LINENO"; then :
9531 ac_cv_lib_dl_dlopen
=yes
9533 ac_cv_lib_dl_dlopen
=no
9535 rm -f core conftest.err conftest.
$ac_objext \
9536 conftest
$ac_exeext conftest.
$ac_ext
9537 LIBS
=$ac_check_lib_save_LIBS
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9540 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9541 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9542 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9545 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9546 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9547 $as_echo_n "(cached) " >&6
9549 ac_check_lib_save_LIBS
=$LIBS
9551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9569 if ac_fn_c_try_link
"$LINENO"; then :
9570 ac_cv_lib_svld_dlopen
=yes
9572 ac_cv_lib_svld_dlopen
=no
9574 rm -f core conftest.err conftest.
$ac_objext \
9575 conftest
$ac_exeext conftest.
$ac_ext
9576 LIBS
=$ac_check_lib_save_LIBS
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9579 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9580 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9581 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9584 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9585 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9586 $as_echo_n "(cached) " >&6
9588 ac_check_lib_save_LIBS
=$LIBS
9590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9608 if ac_fn_c_try_link
"$LINENO"; then :
9609 ac_cv_lib_dld_dld_link
=yes
9611 ac_cv_lib_dld_dld_link
=no
9613 rm -f core conftest.err conftest.
$ac_objext \
9614 conftest
$ac_exeext conftest.
$ac_ext
9615 LIBS
=$ac_check_lib_save_LIBS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9618 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9619 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9620 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9641 if test "x$lt_cv_dlopen" != xno
; then
9647 case $lt_cv_dlopen in
9649 save_CPPFLAGS
="$CPPFLAGS"
9650 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9652 save_LDFLAGS
="$LDFLAGS"
9653 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9656 LIBS
="$lt_cv_dlopen_libs $LIBS"
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9659 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9660 if test "${lt_cv_dlopen_self+set}" = set; then :
9661 $as_echo_n "(cached) " >&6
9663 if test "$cross_compiling" = yes; then :
9664 lt_cv_dlopen_self
=cross
9666 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9667 lt_status
=$lt_dlunknown
9668 cat > conftest.
$ac_ext <<_LT_EOF
9669 #line 9669 "configure"
9670 #include "confdefs.h"
9679 # define LT_DLGLOBAL RTLD_GLOBAL
9682 # define LT_DLGLOBAL DL_GLOBAL
9684 # define LT_DLGLOBAL 0
9688 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9689 find out it does not work in some platform. */
9690 #ifndef LT_DLLAZY_OR_NOW
9692 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9695 # define LT_DLLAZY_OR_NOW DL_LAZY
9698 # define LT_DLLAZY_OR_NOW RTLD_NOW
9701 # define LT_DLLAZY_OR_NOW DL_NOW
9703 # define LT_DLLAZY_OR_NOW 0
9710 void fnord() { int i=42;}
9713 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9714 int status = $lt_dlunknown;
9718 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9719 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9720 /* dlclose (self); */
9728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9729 (eval $ac_link) 2>&5
9731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9732 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9733 (.
/conftest
; exit; ) >&5 2>/dev
/null
9736 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9737 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9738 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9741 # compilation failed
9742 lt_cv_dlopen_self
=no
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9750 $as_echo "$lt_cv_dlopen_self" >&6; }
9752 if test "x$lt_cv_dlopen_self" = xyes
; then
9753 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9755 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9756 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9757 $as_echo_n "(cached) " >&6
9759 if test "$cross_compiling" = yes; then :
9760 lt_cv_dlopen_self_static
=cross
9762 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9763 lt_status
=$lt_dlunknown
9764 cat > conftest.
$ac_ext <<_LT_EOF
9765 #line 9765 "configure"
9766 #include "confdefs.h"
9775 # define LT_DLGLOBAL RTLD_GLOBAL
9778 # define LT_DLGLOBAL DL_GLOBAL
9780 # define LT_DLGLOBAL 0
9784 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9785 find out it does not work in some platform. */
9786 #ifndef LT_DLLAZY_OR_NOW
9788 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9791 # define LT_DLLAZY_OR_NOW DL_LAZY
9794 # define LT_DLLAZY_OR_NOW RTLD_NOW
9797 # define LT_DLLAZY_OR_NOW DL_NOW
9799 # define LT_DLLAZY_OR_NOW 0
9806 void fnord() { int i=42;}
9809 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9810 int status = $lt_dlunknown;
9814 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9815 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9816 /* dlclose (self); */
9824 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9825 (eval $ac_link) 2>&5
9827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9828 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9829 (.
/conftest
; exit; ) >&5 2>/dev
/null
9832 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9833 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9834 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9837 # compilation failed
9838 lt_cv_dlopen_self_static
=no
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9846 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9849 CPPFLAGS
="$save_CPPFLAGS"
9850 LDFLAGS
="$save_LDFLAGS"
9855 case $lt_cv_dlopen_self in
9856 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9857 *) enable_dlopen_self
=unknown
;;
9860 case $lt_cv_dlopen_self_static in
9861 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9862 *) enable_dlopen_self_static
=unknown
;;
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9885 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9886 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9887 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9888 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9890 $as_echo "yes" >&6; }
9892 # FIXME - insert some real tests, host_os isn't really good enough
9895 if test -n "$STRIP" ; then
9896 striplib
="$STRIP -x"
9897 old_striplib
="$STRIP -S"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9899 $as_echo "yes" >&6; }
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9902 $as_echo "no" >&6; }
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 $as_echo "no" >&6; }
9923 # Report which library types will actually be built
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9925 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9927 $as_echo "$can_build_shared" >&6; }
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9930 $as_echo_n "checking whether to build shared libraries... " >&6; }
9931 test "$can_build_shared" = "no" && enable_shared
=no
9933 # On AIX, shared libraries and static libraries use the same namespace, and
9934 # are all built from PIC.
9937 test "$enable_shared" = yes && enable_static
=no
9938 if test -n "$RANLIB"; then
9939 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9940 postinstall_cmds
='$RANLIB $lib'
9945 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9946 test "$enable_shared" = yes && enable_static
=no
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9951 $as_echo "$enable_shared" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9954 $as_echo_n "checking whether to build static libraries... " >&6; }
9955 # Make sure either enable_shared or enable_static is yes.
9956 test "$enable_shared" = yes || enable_static
=yes
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9958 $as_echo "$enable_static" >&6; }
9965 ac_cpp
='$CPP $CPPFLAGS'
9966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9984 ac_config_commands
="$ac_config_commands libtool"
9994 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9995 if test -n "$ac_tool_prefix"; then
9996 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9997 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9999 $as_echo_n "checking for $ac_word... " >&6; }
10000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10001 $as_echo_n "(cached) " >&6
10003 case $PKG_CONFIG in
10005 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10009 for as_dir
in $PATH
10012 test -z "$as_dir" && as_dir
=.
10013 for ac_exec_ext
in '' $ac_executable_extensions; do
10014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10015 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10026 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10027 if test -n "$PKG_CONFIG"; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10029 $as_echo "$PKG_CONFIG" >&6; }
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10032 $as_echo "no" >&6; }
10037 if test -z "$ac_cv_path_PKG_CONFIG"; then
10038 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10039 # Extract the first word of "pkg-config", so it can be a program name with args.
10040 set dummy pkg
-config; ac_word
=$2
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10042 $as_echo_n "checking for $ac_word... " >&6; }
10043 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10044 $as_echo_n "(cached) " >&6
10046 case $ac_pt_PKG_CONFIG in
10048 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10052 for as_dir
in $PATH
10055 test -z "$as_dir" && as_dir
=.
10056 for ac_exec_ext
in '' $ac_executable_extensions; do
10057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10058 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10069 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10070 if test -n "$ac_pt_PKG_CONFIG"; then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10072 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10075 $as_echo "no" >&6; }
10078 if test "x$ac_pt_PKG_CONFIG" = x
; then
10081 case $cross_compiling:$ac_tool_warned in
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10085 ac_tool_warned
=yes ;;
10087 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10090 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10094 if test -n "$PKG_CONFIG"; then
10095 _pkg_min_version
=0.22
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10097 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10098 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10100 $as_echo "yes" >&6; }
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10103 $as_echo "no" >&6; }
10109 ac_cpp
='$CXXCPP $CPPFLAGS'
10110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10113 if test -z "$CXX"; then
10114 if test -n "$CCC"; then
10117 if test -n "$ac_tool_prefix"; then
10118 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10121 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10123 $as_echo_n "checking for $ac_word... " >&6; }
10124 if test "${ac_cv_prog_CXX+set}" = set; then :
10125 $as_echo_n "(cached) " >&6
10127 if test -n "$CXX"; then
10128 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10131 for as_dir
in $PATH
10134 test -z "$as_dir" && as_dir
=.
10135 for ac_exec_ext
in '' $ac_executable_extensions; do
10136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10137 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10147 CXX
=$ac_cv_prog_CXX
10148 if test -n "$CXX"; then
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10150 $as_echo "$CXX" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10153 $as_echo "no" >&6; }
10157 test -n "$CXX" && break
10160 if test -z "$CXX"; then
10162 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10164 # Extract the first word of "$ac_prog", so it can be a program name with args.
10165 set dummy
$ac_prog; ac_word
=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10167 $as_echo_n "checking for $ac_word... " >&6; }
10168 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10169 $as_echo_n "(cached) " >&6
10171 if test -n "$ac_ct_CXX"; then
10172 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10175 for as_dir
in $PATH
10178 test -z "$as_dir" && as_dir
=.
10179 for ac_exec_ext
in '' $ac_executable_extensions; do
10180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10181 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10191 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10192 if test -n "$ac_ct_CXX"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10194 $as_echo "$ac_ct_CXX" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10197 $as_echo "no" >&6; }
10201 test -n "$ac_ct_CXX" && break
10204 if test "x$ac_ct_CXX" = x
; then
10207 case $cross_compiling:$ac_tool_warned in
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10211 ac_tool_warned
=yes ;;
10219 # Provide some information about the compiler.
10220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10223 for ac_option
in --version -v -V -qversion; do
10224 { { ac_try
="$ac_compiler $ac_option >&5"
10225 case "(($ac_try" in
10226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10227 *) ac_try_echo=$ac_try;;
10229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10230 $as_echo "$ac_try_echo"; } >&5
10231 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10233 if test -s conftest.err; then
10235 ... rest of stderr output deleted ...
10236 10q' conftest.err >conftest.er1
10237 cat conftest.er1 >&5
10239 rm -f conftest.er1 conftest.err
10240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10241 test $ac_status = 0; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10245 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10246 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10247 $as_echo_n "(cached) " >&6
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10263 if ac_fn_cxx_try_compile "$LINENO"; then :
10264 ac_compiler_gnu=yes
10268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10269 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10273 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10274 if test $ac_compiler_gnu = yes; then
10279 ac_test_CXXFLAGS=${CXXFLAGS+set}
10280 ac_save_CXXFLAGS=$CXXFLAGS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10282 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10283 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10284 $as_echo_n "(cached) " >&6
10286 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10287 ac_cxx_werror_flag=yes
10288 ac_cv_prog_cxx_g=no
10290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10301 if ac_fn_cxx_try_compile "$LINENO"; then :
10302 ac_cv_prog_cxx_g=yes
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10316 if ac_fn_cxx_try_compile "$LINENO"; then :
10319 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10332 if ac_fn_cxx_try_compile "$LINENO"; then :
10333 ac_cv_prog_cxx_g=yes
10335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10340 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10343 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10344 if test "$ac_test_CXXFLAGS" = set; then
10345 CXXFLAGS=$ac_save_CXXFLAGS
10346 elif test $ac_cv_prog_cxx_g = yes; then
10347 if test "$GXX" = yes; then
10353 if test "$GXX" = yes; then
10360 ac_cpp='$CPP $CPPFLAGS'
10361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10367 ac_cpp='$CXXCPP $CPPFLAGS'
10368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10371 if test -z "$CXX"; then
10372 if test -n "$CCC"; then
10375 if test -n "$ac_tool_prefix"; then
10376 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10381 $as_echo_n "checking for $ac_word... " >&6; }
10382 if test "${ac_cv_prog_CXX+set}" = set; then :
10383 $as_echo_n "(cached) " >&6
10385 if test -n "$CXX"; then
10386 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10389 for as_dir in $PATH
10392 test -z "$as_dir" && as_dir=.
10393 for ac_exec_ext in '' $ac_executable_extensions; do
10394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10395 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10405 CXX=$ac_cv_prog_CXX
10406 if test -n "$CXX"; then
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10408 $as_echo "$CXX" >&6; }
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411 $as_echo "no" >&6; }
10415 test -n "$CXX" && break
10418 if test -z "$CXX"; then
10420 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10422 # Extract the first word of "$ac_prog", so it can be a program name with args.
10423 set dummy $ac_prog; ac_word=$2
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10425 $as_echo_n "checking for $ac_word... " >&6; }
10426 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10427 $as_echo_n "(cached) " >&6
10429 if test -n "$ac_ct_CXX"; then
10430 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10433 for as_dir in $PATH
10436 test -z "$as_dir" && as_dir=.
10437 for ac_exec_ext in '' $ac_executable_extensions; do
10438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10439 ac_cv_prog_ac_ct_CXX="$ac_prog"
10440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10449 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10450 if test -n "$ac_ct_CXX"; then
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10452 $as_echo "$ac_ct_CXX" >&6; }
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 $as_echo "no" >&6; }
10459 test -n "$ac_ct_CXX" && break
10462 if test "x$ac_ct_CXX" = x; then
10465 case $cross_compiling:$ac_tool_warned in
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10469 ac_tool_warned=yes ;;
10477 # Provide some information about the compiler.
10478 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10481 for ac_option in --version -v -V -qversion; do
10482 { { ac_try="$ac_compiler $ac_option >&5"
10483 case "(($ac_try" in
10484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10485 *) ac_try_echo
=$ac_try;;
10487 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10488 $as_echo "$ac_try_echo"; } >&5
10489 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10491 if test -s conftest.err
; then
10493 ... rest of stderr output deleted ...
10494 10q' conftest.err
>conftest.er1
10495 cat conftest.er1
>&5
10497 rm -f conftest.er1 conftest.err
10498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10499 test $ac_status = 0; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10503 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10504 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10505 $as_echo_n "(cached) " >&6
10507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10521 if ac_fn_cxx_try_compile
"$LINENO"; then :
10522 ac_compiler_gnu
=yes
10526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10527 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10531 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10532 if test $ac_compiler_gnu = yes; then
10537 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10538 ac_save_CXXFLAGS
=$CXXFLAGS
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10540 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10541 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10542 $as_echo_n "(cached) " >&6
10544 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10545 ac_cxx_werror_flag
=yes
10546 ac_cv_prog_cxx_g
=no
10548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10549 /* end confdefs.h. */
10559 if ac_fn_cxx_try_compile
"$LINENO"; then :
10560 ac_cv_prog_cxx_g
=yes
10563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h. */
10574 if ac_fn_cxx_try_compile
"$LINENO"; then :
10577 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10590 if ac_fn_cxx_try_compile
"$LINENO"; then :
10591 ac_cv_prog_cxx_g
=yes
10593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10598 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10601 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10602 if test "$ac_test_CXXFLAGS" = set; then
10603 CXXFLAGS
=$ac_save_CXXFLAGS
10604 elif test $ac_cv_prog_cxx_g = yes; then
10605 if test "$GXX" = yes; then
10611 if test "$GXX" = yes; then
10618 ac_cpp
='$CPP $CPPFLAGS'
10619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10623 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10624 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10625 (test "X$CXX" != "Xg++"))) ; then
10627 ac_cpp
='$CXXCPP $CPPFLAGS'
10628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10632 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10633 if test -z "$CXXCPP"; then
10634 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10635 $as_echo_n "(cached) " >&6
10637 # Double quotes because CXXCPP needs to be expanded
10638 for CXXCPP
in "$CXX -E" "/lib/cpp"
10640 ac_preproc_ok
=false
10641 for ac_cxx_preproc_warn_flag
in '' yes
10643 # Use a header file that comes with gcc, so configuring glibc
10644 # with a fresh cross-compiler works.
10645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10646 # <limits.h> exists even on freestanding compilers.
10647 # On the NeXT, cc -E runs the code through the compiler's parser,
10648 # not just through cpp. "Syntax error" is here to catch this case.
10649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10652 # include <limits.h>
10654 # include <assert.h>
10658 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10661 # Broken: fails on valid input.
10664 rm -f conftest.err conftest.
$ac_ext
10666 # OK, works on sane cases. Now check whether nonexistent headers
10667 # can be detected and how.
10668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 #include <ac_nonexistent.h>
10672 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10673 # Broken: success on invalid input.
10676 # Passes both tests.
10680 rm -f conftest.err conftest.
$ac_ext
10683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10684 rm -f conftest.err conftest.
$ac_ext
10685 if $ac_preproc_ok; then :
10690 ac_cv_prog_CXXCPP
=$CXXCPP
10693 CXXCPP
=$ac_cv_prog_CXXCPP
10695 ac_cv_prog_CXXCPP
=$CXXCPP
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10698 $as_echo "$CXXCPP" >&6; }
10699 ac_preproc_ok
=false
10700 for ac_cxx_preproc_warn_flag
in '' yes
10702 # Use a header file that comes with gcc, so configuring glibc
10703 # with a fresh cross-compiler works.
10704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10705 # <limits.h> exists even on freestanding compilers.
10706 # On the NeXT, cc -E runs the code through the compiler's parser,
10707 # not just through cpp. "Syntax error" is here to catch this case.
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 # include <limits.h>
10713 # include <assert.h>
10717 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10720 # Broken: fails on valid input.
10723 rm -f conftest.err conftest.
$ac_ext
10725 # OK, works on sane cases. Now check whether nonexistent headers
10726 # can be detected and how.
10727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10728 /* end confdefs.h. */
10729 #include <ac_nonexistent.h>
10731 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10732 # Broken: success on invalid input.
10735 # Passes both tests.
10739 rm -f conftest.err conftest.
$ac_ext
10742 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10743 rm -f conftest.err conftest.
$ac_ext
10744 if $ac_preproc_ok; then :
10747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10749 _lt_caught_CXX_error
=yes; }
10753 ac_cpp
='$CPP $CPPFLAGS'
10754 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10755 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10756 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10759 _lt_caught_CXX_error
=yes
10766 ac_cpp
='$CXXCPP $CPPFLAGS'
10767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10771 archive_cmds_need_lc_CXX
=no
10772 allow_undefined_flag_CXX
=
10773 always_export_symbols_CXX
=no
10774 archive_expsym_cmds_CXX
=
10775 compiler_needs_object_CXX
=no
10776 export_dynamic_flag_spec_CXX
=
10777 hardcode_direct_CXX
=no
10778 hardcode_direct_absolute_CXX
=no
10779 hardcode_libdir_flag_spec_CXX
=
10780 hardcode_libdir_flag_spec_ld_CXX
=
10781 hardcode_libdir_separator_CXX
=
10782 hardcode_minus_L_CXX
=no
10783 hardcode_shlibpath_var_CXX
=unsupported
10784 hardcode_automatic_CXX
=no
10785 inherit_rpath_CXX
=no
10787 module_expsym_cmds_CXX
=
10788 link_all_deplibs_CXX
=unknown
10789 old_archive_cmds_CXX
=$old_archive_cmds
10790 no_undefined_flag_CXX
=
10791 whole_archive_flag_spec_CXX
=
10792 enable_shared_with_static_runtimes_CXX
=no
10794 # Source file extension for C++ test sources.
10797 # Object file extension for compiled C++ test sources.
10801 # No sense in running all these tests if we already determined that
10802 # the CXX compiler isn't working. Some variables (like enable_shared)
10803 # are currently assumed to apply to all compilers on this platform,
10804 # and will be corrupted by setting them based on a non-working compiler.
10805 if test "$_lt_caught_CXX_error" != yes; then
10806 # Code to be used in simple compile tests
10807 lt_simple_compile_test_code
="int some_variable = 0;"
10809 # Code to be used in simple link tests
10810 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10812 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10819 # If no C compiler was specified, use CC.
10822 # If no C compiler flags were specified, use CFLAGS.
10823 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10825 # Allow CC to be a program name with arguments.
10829 # save warnings/boilerplate of simple test code
10830 ac_outfile
=conftest.
$ac_objext
10831 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10832 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10833 _lt_compiler_boilerplate
=`cat conftest.err`
10836 ac_outfile
=conftest.
$ac_objext
10837 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10838 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10839 _lt_linker_boilerplate
=`cat conftest.err`
10843 # Allow CC to be a program name with arguments.
10848 lt_save_with_gnu_ld
=$with_gnu_ld
10849 lt_save_path_LD
=$lt_cv_path_LD
10850 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10851 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10853 $as_unset lt_cv_prog_gnu_ld
10855 if test -n "${lt_cv_path_LDCXX+set}"; then
10856 lt_cv_path_LD
=$lt_cv_path_LDCXX
10858 $as_unset lt_cv_path_LD
10860 test -z "${LDCXX+set}" || LD
=$LDCXX
10864 for cc_temp
in $compiler""; do
10866 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10867 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10872 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10875 if test -n "$compiler"; then
10876 # We don't want -fno-exception when compiling C++ code, so set the
10877 # no_builtin_flag separately
10878 if test "$GXX" = yes; then
10879 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10881 lt_prog_compiler_no_builtin_flag_CXX
=
10884 if test "$GXX" = yes; then
10885 # Set up default GNU C++ configuration
10889 # Check whether --with-gnu-ld was given.
10890 if test "${with_gnu_ld+set}" = set; then :
10891 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10897 if test "$GCC" = yes; then
10898 # Check if gcc -print-prog-name=ld gives a path.
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10900 $as_echo_n "checking for ld used by $CC... " >&6; }
10903 # gcc leaves a trailing carriage return which upsets mingw
10904 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10906 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10909 # Accept absolute paths.
10911 re_direlt
='/[^/][^/]*/\.\./'
10912 # Canonicalize the pathname of ld
10913 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10914 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
10915 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10917 test -z "$LD" && LD
="$ac_prog"
10920 # If it fails, then pretend we aren't using GCC.
10924 # If it is relative, then search for the first ld in PATH.
10925 with_gnu_ld
=unknown
10928 elif test "$with_gnu_ld" = yes; then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10930 $as_echo_n "checking for GNU ld... " >&6; }
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10933 $as_echo_n "checking for non-GNU ld... " >&6; }
10935 if test "${lt_cv_path_LD+set}" = set; then :
10936 $as_echo_n "(cached) " >&6
10938 if test -z "$LD"; then
10939 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10940 for ac_dir
in $PATH; do
10942 test -z "$ac_dir" && ac_dir
=.
10943 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10944 lt_cv_path_LD
="$ac_dir/$ac_prog"
10945 # Check to see if the program is GNU ld. I'd rather use --version,
10946 # but apparently some variants of GNU ld only accept -v.
10947 # Break only if it was the GNU/non-GNU ld that we prefer.
10948 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10949 *GNU
* | *'with BFD'*)
10950 test "$with_gnu_ld" != no
&& break
10953 test "$with_gnu_ld" != yes && break
10960 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
10964 LD
="$lt_cv_path_LD"
10965 if test -n "$LD"; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10967 $as_echo "$LD" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10972 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10974 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10975 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
10976 $as_echo_n "(cached) " >&6
10978 # I'd rather use --version here, but apparently some GNU lds only accept -v.
10979 case `$LD -v 2>&1 </dev/null` in
10980 *GNU
* | *'with BFD'*)
10981 lt_cv_prog_gnu_ld
=yes
10984 lt_cv_prog_gnu_ld
=no
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10989 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
10990 with_gnu_ld
=$lt_cv_prog_gnu_ld
10998 # Check if GNU C++ uses GNU ld as the underlying linker, since the
10999 # archiving commands below assume that GNU ld is being used.
11000 if test "$with_gnu_ld" = yes; then
11001 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11002 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'
11004 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11005 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11007 # If archive_cmds runs LD, not CC, wlarc should be empty
11008 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11009 # investigate it a little bit more. (MM)
11012 # ancient GNU ld didn't support --whole-archive et. al.
11013 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11014 $GREP 'no-whole-archive' > /dev
/null
; then
11015 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11017 whole_archive_flag_spec_CXX
=
11023 # A generic and very simple default shared library creation
11024 # command for GNU C++ for the case where it uses the native
11025 # linker, instead of GNU ld. If possible, this setting should
11026 # overridden to take advantage of the native linker features on
11027 # the platform it is being used on.
11028 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11031 # Commands to make compiler produce verbose output that lists
11032 # what "hidden" libraries, object files and flags are used when
11033 # linking a shared library.
11034 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11042 # PORTME: fill in a description of your system's C++ link characteristics
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11044 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11048 # FIXME: insert proper C++ library support
11052 if test "$host_cpu" = ia64
; then
11053 # On IA64, the linker does run time linking by default, so we don't
11054 # have to do anything special.
11055 aix_use_runtimelinking
=no
11056 exp_sym_flag
='-Bexport'
11059 aix_use_runtimelinking
=no
11061 # Test if we are trying to use run time linking or normal
11062 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11063 # need to do runtime linking.
11064 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11065 for ld_flag
in $LDFLAGS; do
11068 aix_use_runtimelinking
=yes
11076 exp_sym_flag
='-bexport'
11077 no_entry_flag
='-bnoentry'
11080 # When large executables or shared objects are built, AIX ld can
11081 # have problems creating the table of contents. If linking a library
11082 # or program results in "error TOC overflow" add -mminimal-toc to
11083 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11084 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11086 archive_cmds_CXX
=''
11087 hardcode_direct_CXX
=yes
11088 hardcode_direct_absolute_CXX
=yes
11089 hardcode_libdir_separator_CXX
=':'
11090 link_all_deplibs_CXX
=yes
11091 file_list_spec_CXX
='${wl}-f,'
11093 if test "$GXX" = yes; then
11094 case $host_os in aix4.
[012]|aix4.
[012].
*)
11095 # We only want to do this on AIX 4.2 and lower, the check
11096 # below for broken collect2 doesn't work under 4.3+
11097 collect2name
=`${CC} -print-prog-name=collect2`
11098 if test -f "$collect2name" &&
11099 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11101 # We have reworked collect2
11104 # We have old collect2
11105 hardcode_direct_CXX
=unsupported
11106 # It fails to find uninstalled libraries when the uninstalled
11107 # path is not listed in the libpath. Setting hardcode_minus_L
11108 # to unsupported forces relinking
11109 hardcode_minus_L_CXX
=yes
11110 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11111 hardcode_libdir_separator_CXX
=
11114 shared_flag
='-shared'
11115 if test "$aix_use_runtimelinking" = yes; then
11116 shared_flag
="$shared_flag "'${wl}-G'
11120 if test "$host_cpu" = ia64
; then
11121 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11122 # chokes on -Wl,-G. The following line is correct:
11125 if test "$aix_use_runtimelinking" = yes; then
11126 shared_flag
='${wl}-G'
11128 shared_flag
='${wl}-bM:SRE'
11133 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11134 # It seems that -bexpall does not export symbols beginning with
11135 # underscore (_), so it is better to generate a list of symbols to
11137 always_export_symbols_CXX
=yes
11138 if test "$aix_use_runtimelinking" = yes; then
11139 # Warning - without using the other runtime loading flags (-brtl),
11140 # -berok will link without error, but may produce a broken library.
11141 allow_undefined_flag_CXX
='-berok'
11142 # Determine the default libpath from the value encoded in an empty
11144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11145 /* end confdefs.h. */
11155 if ac_fn_cxx_try_link
"$LINENO"; then :
11157 lt_aix_libpath_sed
='
11158 /Import File Strings/,/^$/ {
11164 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11165 # Check for a 64-bit object if we didn't find anything.
11166 if test -z "$aix_libpath"; then
11167 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11170 rm -f core conftest.err conftest.
$ac_objext \
11171 conftest
$ac_exeext conftest.
$ac_ext
11172 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11174 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11176 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"
11178 if test "$host_cpu" = ia64
; then
11179 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11180 allow_undefined_flag_CXX
="-z nodefs"
11181 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"
11183 # Determine the default libpath from the value encoded in an
11184 # empty executable.
11185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11196 if ac_fn_cxx_try_link
"$LINENO"; then :
11198 lt_aix_libpath_sed
='
11199 /Import File Strings/,/^$/ {
11205 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11206 # Check for a 64-bit object if we didn't find anything.
11207 if test -z "$aix_libpath"; then
11208 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11211 rm -f core conftest.err conftest.
$ac_objext \
11212 conftest
$ac_exeext conftest.
$ac_ext
11213 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11215 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11216 # Warning - without using the other run time loading flags,
11217 # -berok will link without error, but may produce a broken library.
11218 no_undefined_flag_CXX
=' ${wl}-bernotok'
11219 allow_undefined_flag_CXX
=' ${wl}-berok'
11220 # Exported symbols can be pulled into shared objects from archives
11221 whole_archive_flag_spec_CXX
='$convenience'
11222 archive_cmds_need_lc_CXX
=yes
11223 # This is similar to how AIX traditionally builds its shared
11225 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'
11231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11232 allow_undefined_flag_CXX
=unsupported
11233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11234 # support --undefined. This deserves some investigation. FIXME
11235 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11242 case $cc_basename in
11244 # FIXME: insert proper C++ library support
11250 cygwin
* | mingw
* | pw32
* | cegcc
*)
11251 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11252 # as there is no search path for DLLs.
11253 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11254 allow_undefined_flag_CXX
=unsupported
11255 always_export_symbols_CXX
=no
11256 enable_shared_with_static_runtimes_CXX
=yes
11258 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11259 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'
11260 # If the export-symbols file already is a .def file (1st line
11261 # is EXPORTS), use it as is; otherwise, prepend...
11262 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11263 cp $export_symbols $output_objdir/$soname.def;
11265 echo EXPORTS > $output_objdir/$soname.def;
11266 cat $export_symbols >> $output_objdir/$soname.def;
11268 $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'
11273 darwin
* | rhapsody
*)
11276 archive_cmds_need_lc_CXX
=no
11277 hardcode_direct_CXX
=no
11278 hardcode_automatic_CXX
=yes
11279 hardcode_shlibpath_var_CXX
=unsupported
11280 whole_archive_flag_spec_CXX
=''
11281 link_all_deplibs_CXX
=yes
11282 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11283 case $cc_basename in
11284 ifort
*) _lt_dar_can_shared
=yes ;;
11285 *) _lt_dar_can_shared
=$GCC ;;
11287 if test "$_lt_dar_can_shared" = "yes"; then
11288 output_verbose_link_cmd
=echo
11289 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}"
11290 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11291 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}"
11292 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}"
11293 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11294 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}"
11295 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}"
11305 case $cc_basename in
11307 # FIXME: insert proper C++ library support
11311 # Green Hills C++ Compiler
11312 # FIXME: insert proper C++ library support
11316 # FIXME: insert proper C++ library support
11323 # C++ shared libraries reported to be fairly broken before
11329 archive_cmds_need_lc_CXX
=no
11332 freebsd
* | dragonfly
*)
11333 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11342 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11343 hardcode_libdir_separator_CXX
=:
11344 export_dynamic_flag_spec_CXX
='${wl}-E'
11345 hardcode_direct_CXX
=yes
11346 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11347 # but as the default
11348 # location of the library.
11350 case $cc_basename in
11352 # FIXME: insert proper C++ library support
11356 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'
11357 # Commands to make compiler produce verbose output that lists
11358 # what "hidden" libraries, object files and flags are used when
11359 # linking a shared library.
11361 # There doesn't appear to be a way to prevent this compiler from
11362 # explicitly linking system object files so we need to strip them
11363 # from the output so that they don't get included in the library
11365 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'
11368 if test "$GXX" = yes; then
11369 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'
11371 # FIXME: insert proper C++ library support
11379 if test $with_gnu_ld = no
; then
11380 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11381 hardcode_libdir_separator_CXX
=:
11387 export_dynamic_flag_spec_CXX
='${wl}-E'
11393 hardcode_direct_CXX
=no
11394 hardcode_shlibpath_var_CXX
=no
11397 hardcode_direct_CXX
=yes
11398 hardcode_direct_absolute_CXX
=yes
11399 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11400 # but as the default
11401 # location of the library.
11405 case $cc_basename in
11407 # FIXME: insert proper C++ library support
11413 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11416 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11419 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11422 # Commands to make compiler produce verbose output that lists
11423 # what "hidden" libraries, object files and flags are used when
11424 # linking a shared library.
11426 # There doesn't appear to be a way to prevent this compiler from
11427 # explicitly linking system object files so we need to strip them
11428 # from the output so that they don't get included in the library
11430 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'
11433 if test "$GXX" = yes; then
11434 if test $with_gnu_ld = no
; then
11437 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11440 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11443 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'
11448 # FIXME: insert proper C++ library support
11456 hardcode_direct_CXX
=no
11457 hardcode_shlibpath_var_CXX
=no
11458 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11459 export_dynamic_flag_spec_CXX
='${wl}-E'
11460 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11461 # Instead, shared libraries are loaded at an image base (0x10000000 by
11462 # default) and relocated if they conflict, which is a slow very memory
11463 # consuming and fragmenting process. To avoid this, we pick a random,
11464 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11465 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11466 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'
11467 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'
11470 case $cc_basename in
11473 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'
11475 # Archives containing C++ object files must be created using
11476 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11477 # necessary to make sure instantiated templates are included
11479 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11482 if test "$GXX" = yes; then
11483 if test "$with_gnu_ld" = no
; then
11484 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'
11486 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'
11489 link_all_deplibs_CXX
=yes
11492 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11493 hardcode_libdir_separator_CXX
=:
11494 inherit_rpath_CXX
=yes
11497 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11498 case $cc_basename in
11500 # Kuck and Associates, Inc. (KAI) C++ Compiler
11502 # KCC will only create a shared library if the output file
11503 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11504 # to its proper name (with version) after linking.
11505 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'
11506 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'
11507 # Commands to make compiler produce verbose output that lists
11508 # what "hidden" libraries, object files and flags are used when
11509 # linking a shared library.
11511 # There doesn't appear to be a way to prevent this compiler from
11512 # explicitly linking system object files so we need to strip them
11513 # from the output so that they don't get included in the library
11515 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'
11517 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11518 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11520 # Archives containing C++ object files must be created using
11521 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11522 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11527 # version 8.0 and above of icpc choke on multiply defined symbols
11528 # if we add $predep_objects and $postdep_objects, however 7.1 and
11529 # earlier do not add the objects themselves.
11530 case `$CC -V 2>&1` in
11532 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11533 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'
11535 *) # Version 8.0 or newer
11538 ia64
*) tmp_idyn
=' -i_dynamic';;
11540 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11541 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'
11544 archive_cmds_need_lc_CXX
=no
11545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11546 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11547 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11550 # Portland Group C++ compiler
11552 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11553 prelink_cmds_CXX
='tpldir=Template.dir~
11555 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11556 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11557 old_archive_cmds_CXX
='tpldir=Template.dir~
11559 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11560 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11562 archive_cmds_CXX
='tpldir=Template.dir~
11564 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11565 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11566 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11568 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11569 $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'
11571 *) # Version 6 will use weak symbols
11572 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11573 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'
11577 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11578 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11579 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'
11583 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11584 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'
11586 runpath_var
=LD_RUN_PATH
11587 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11588 hardcode_libdir_separator_CXX
=:
11590 # Commands to make compiler produce verbose output that lists
11591 # what "hidden" libraries, object files and flags are used when
11592 # linking a shared library.
11594 # There doesn't appear to be a way to prevent this compiler from
11595 # explicitly linking system object files so we need to strip them
11596 # from the output so that they don't get included in the library
11598 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'
11601 # IBM XL 8.0 on PPC, with GNU ld
11602 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11603 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11604 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11605 if test "x$supports_anon_versioning" = xyes
; then
11606 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11607 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11608 echo "local: *; };" >> $output_objdir/$libname.ver~
11609 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11613 case `$CC -V 2>&1 | sed 5q` in
11616 no_undefined_flag_CXX
=' -zdefs'
11617 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11618 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'
11619 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11620 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'
11621 compiler_needs_object_CXX
=yes
11623 # Not sure whether something based on
11624 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11626 output_verbose_link_cmd
='echo'
11628 # Archives containing C++ object files must be created using
11629 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11630 # necessary to make sure instantiated templates are included
11632 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11640 # FIXME: insert proper C++ library support
11645 # FIXME: insert proper C++ library support
11650 case $cc_basename in
11652 # FIXME: insert proper C++ library support
11656 # FIXME: insert proper C++ library support
11663 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11664 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11666 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11667 hardcode_direct_CXX
=yes
11668 hardcode_shlibpath_var_CXX
=no
11670 # Workaround some broken pre-1.5 toolchains
11671 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11679 # C++ shared libraries are fairly broken
11684 if test -f /usr
/libexec
/ld.so
; then
11685 hardcode_direct_CXX
=yes
11686 hardcode_shlibpath_var_CXX
=no
11687 hardcode_direct_absolute_CXX
=yes
11688 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11689 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11690 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11691 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11692 export_dynamic_flag_spec_CXX
='${wl}-E'
11693 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11695 output_verbose_link_cmd
=echo
11701 osf3
* | osf4
* | osf5
*)
11702 case $cc_basename in
11704 # Kuck and Associates, Inc. (KAI) C++ Compiler
11706 # KCC will only create a shared library if the output file
11707 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11708 # to its proper name (with version) after linking.
11709 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'
11711 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11712 hardcode_libdir_separator_CXX
=:
11714 # Archives containing C++ object files must be created using
11715 # the KAI C++ compiler.
11717 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11718 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11722 # Rational C++ 2.4.1
11723 # FIXME: insert proper C++ library support
11729 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11730 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'
11731 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11734 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11735 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'
11736 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11737 echo "-hidden">> $lib.exp~
11738 $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~
11740 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11744 hardcode_libdir_separator_CXX
=:
11746 # Commands to make compiler produce verbose output that lists
11747 # what "hidden" libraries, object files and flags are used when
11748 # linking a shared library.
11750 # There doesn't appear to be a way to prevent this compiler from
11751 # explicitly linking system object files so we need to strip them
11752 # from the output so that they don't get included in the library
11754 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'
11757 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11758 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11761 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'
11764 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'
11768 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11769 hardcode_libdir_separator_CXX
=:
11771 # Commands to make compiler produce verbose output that lists
11772 # what "hidden" libraries, object files and flags are used when
11773 # linking a shared library.
11774 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11777 # FIXME: insert proper C++ library support
11785 # FIXME: insert proper C++ library support
11790 case $cc_basename in
11793 # FIXME: insert proper C++ library support
11798 # FIXME: insert proper C++ library support
11802 # FIXME: insert proper C++ library support
11809 case $cc_basename in
11811 # Sun C++ 4.2, 5.x and Centerline C++
11812 archive_cmds_need_lc_CXX
=yes
11813 no_undefined_flag_CXX
=' -zdefs'
11814 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11815 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11816 $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'
11818 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11819 hardcode_shlibpath_var_CXX
=no
11821 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11823 # The compiler driver will combine and reorder linker options,
11824 # but understands `-z linker_flag'.
11825 # Supported since Solaris 2.6 (maybe 2.5.1?)
11826 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11829 link_all_deplibs_CXX
=yes
11831 output_verbose_link_cmd
='echo'
11833 # Archives containing C++ object files must be created using
11834 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11835 # necessary to make sure instantiated templates are included
11837 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11840 # Green Hills C++ Compiler
11841 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11843 # The C++ compiler must be used to create the archive.
11844 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11847 # GNU C++ compiler with Solaris linker
11848 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11849 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11850 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11851 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11852 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11853 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11855 # Commands to make compiler produce verbose output that lists
11856 # what "hidden" libraries, object files and flags are used when
11857 # linking a shared library.
11858 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11860 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11862 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11863 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11864 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11866 # Commands to make compiler produce verbose output that lists
11867 # what "hidden" libraries, object files and flags are used when
11868 # linking a shared library.
11869 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11872 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11874 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11876 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11884 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11885 no_undefined_flag_CXX
='${wl}-z,text'
11886 archive_cmds_need_lc_CXX
=no
11887 hardcode_shlibpath_var_CXX
=no
11888 runpath_var
='LD_RUN_PATH'
11890 case $cc_basename in
11892 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11893 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11896 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11897 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11902 sysv5
* | sco3.2v5
* | sco5v6
*)
11903 # Note: We can NOT use -z defs as we might desire, because we do not
11904 # link with -lc, and that would cause any symbols used from libc to
11905 # always be unresolved, which means just about no library would
11906 # ever link correctly. If we're not using GNU ld we use -z text
11907 # though, which does catch some bad symbols but isn't as heavy-handed
11909 no_undefined_flag_CXX
='${wl}-z,text'
11910 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11911 archive_cmds_need_lc_CXX
=no
11912 hardcode_shlibpath_var_CXX
=no
11913 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
11914 hardcode_libdir_separator_CXX
=':'
11915 link_all_deplibs_CXX
=yes
11916 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11917 runpath_var
='LD_RUN_PATH'
11919 case $cc_basename in
11921 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11922 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11925 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11926 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11932 case $cc_basename in
11934 # NonStop-UX NCC 3.20
11935 # FIXME: insert proper C++ library support
11939 # FIXME: insert proper C++ library support
11946 # FIXME: insert proper C++ library support
11951 # FIXME: insert proper C++ library support
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
11957 $as_echo "$ld_shlibs_CXX" >&6; }
11958 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
11964 ## There is no encapsulation within the following macros, do not change
11965 ## the running order or otherwise move them around unless you know exactly
11966 ## what you are doing...
11967 # Dependencies to place before and after the object being linked:
11968 predep_objects_CXX
=
11969 postdep_objects_CXX
=
11972 compiler_lib_search_path_CXX
=
11974 cat > conftest.
$ac_ext <<_LT_EOF
11978 Foo (void) { a = 0; }
11984 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11985 (eval $ac_compile) 2>&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11988 test $ac_status = 0; }; then
11989 # Parse the compiler output and extract the necessary
11990 # objects, libraries and library flags.
11992 # Sentinel used to keep track of whether or not we are before
11993 # the conftest object file.
11994 pre_test_object_deps_done
=no
11996 for p
in `eval "$output_verbose_link_cmd"`; do
12000 # Some compilers place space between "-{L,R}" and the path.
12001 # Remove the space.
12002 if test $p = "-L" ||
12003 test $p = "-R"; then
12010 if test "$pre_test_object_deps_done" = no
; then
12013 # Internal compiler library paths should come after those
12014 # provided the user. The postdeps already come after the
12015 # user supplied libs so there is no need to process them.
12016 if test -z "$compiler_lib_search_path_CXX"; then
12017 compiler_lib_search_path_CXX
="${prev}${p}"
12019 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12022 # The "-l" case would never come before the object being
12023 # linked, so don't bother handling this case.
12026 if test -z "$postdeps_CXX"; then
12027 postdeps_CXX
="${prev}${p}"
12029 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12035 # This assumes that the test object file only shows up
12036 # once in the compiler output.
12037 if test "$p" = "conftest.$objext"; then
12038 pre_test_object_deps_done
=yes
12042 if test "$pre_test_object_deps_done" = no
; then
12043 if test -z "$predep_objects_CXX"; then
12044 predep_objects_CXX
="$p"
12046 predep_objects_CXX
="$predep_objects_CXX $p"
12049 if test -z "$postdep_objects_CXX"; then
12050 postdep_objects_CXX
="$p"
12052 postdep_objects_CXX
="$postdep_objects_CXX $p"
12057 *) ;; # Ignore the rest.
12065 echo "libtool.m4: error: problem compiling CXX test program"
12068 $RM -f confest.
$objext
12070 # PORTME: override above test on systems where it is broken
12073 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12074 # hack all around it, let's just trust "g++" to DTRT.
12075 predep_objects_CXX
=
12076 postdep_objects_CXX
=
12081 case `$CC -V 2>&1 | sed 5q` in
12085 # The more standards-conforming stlport4 library is
12086 # incompatible with the Cstd library. Avoid specifying
12087 # it if it's in CXXFLAGS. Ignore libCrun as
12088 # -library=stlport4 depends on it.
12089 case " $CXX $CXXFLAGS " in
12090 *" -library=stlport4 "*)
12091 solaris_use_stlport4
=yes
12095 if test "$solaris_use_stlport4" != yes; then
12096 postdeps_CXX
='-library=Cstd -library=Crun'
12103 case $cc_basename in
12105 # The more standards-conforming stlport4 library is
12106 # incompatible with the Cstd library. Avoid specifying
12107 # it if it's in CXXFLAGS. Ignore libCrun as
12108 # -library=stlport4 depends on it.
12109 case " $CXX $CXXFLAGS " in
12110 *" -library=stlport4 "*)
12111 solaris_use_stlport4
=yes
12115 # Adding this requires a known-good setup of shared libraries for
12116 # Sun compiler versions before 5.6, else PIC objects from an old
12117 # archive will be linked into the output, leading to subtle bugs.
12118 if test "$solaris_use_stlport4" != yes; then
12119 postdeps_CXX
='-library=Cstd -library=Crun'
12127 case " $postdeps_CXX " in
12128 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12130 compiler_lib_search_dirs_CXX
=
12131 if test -n "${compiler_lib_search_path_CXX}"; then
12132 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12165 lt_prog_compiler_wl_CXX
=
12166 lt_prog_compiler_pic_CXX
=
12167 lt_prog_compiler_static_CXX
=
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12170 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12172 # C++ specific cases for pic, static, wl, etc.
12173 if test "$GXX" = yes; then
12174 lt_prog_compiler_wl_CXX
='-Wl,'
12175 lt_prog_compiler_static_CXX
='-static'
12179 # All AIX code is PIC.
12180 if test "$host_cpu" = ia64
; then
12181 # AIX 5 now supports IA64 processor
12182 lt_prog_compiler_static_CXX
='-Bstatic'
12189 # see comment about AmigaOS4 .so support
12190 lt_prog_compiler_pic_CXX
='-fPIC'
12193 # FIXME: we need at least 68020 code to build shared libraries, but
12194 # adding the `-m68020' flag to GCC prevents building anything better,
12196 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12201 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12202 # PIC is the default for these OSes.
12204 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12205 # This hack is so that the source file can tell whether it is being
12206 # built for inclusion in a dll (and should export symbols for example).
12207 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12208 # (--disable-auto-import) libraries
12209 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12211 darwin
* | rhapsody
*)
12212 # PIC is the default on this platform
12213 # Common symbols not allowed in MH_DYLIB files
12214 lt_prog_compiler_pic_CXX
='-fno-common'
12217 # DJGPP does not support shared libraries at all
12218 lt_prog_compiler_pic_CXX
=
12221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12222 # Instead, we relocate shared libraries at runtime.
12225 if test -d /usr
/nec
; then
12226 lt_prog_compiler_pic_CXX
=-Kconform_pic
12230 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12231 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12232 # sets the default TLS model and affects inlining.
12237 lt_prog_compiler_pic_CXX
='-fPIC'
12242 # QNX uses GNU C++, but need to define -shared option too, otherwise
12243 # it will coredump.
12244 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12247 lt_prog_compiler_pic_CXX
='-fPIC'
12253 # All AIX code is PIC.
12254 if test "$host_cpu" = ia64
; then
12255 # AIX 5 now supports IA64 processor
12256 lt_prog_compiler_static_CXX
='-Bstatic'
12258 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12262 case $cc_basename in
12264 # Green Hills C++ Compiler
12265 # _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"
12270 case $cc_basename in
12272 lt_prog_compiler_pic_CXX
='-KPIC'
12275 # Green Hills C++ Compiler
12276 lt_prog_compiler_pic_CXX
='-pic'
12282 freebsd
* | dragonfly
*)
12283 # FreeBSD uses GNU C++
12285 hpux9
* | hpux10
* | hpux11
*)
12286 case $cc_basename in
12288 lt_prog_compiler_wl_CXX
='-Wl,'
12289 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12290 if test "$host_cpu" != ia64
; then
12291 lt_prog_compiler_pic_CXX
='+Z'
12295 lt_prog_compiler_wl_CXX
='-Wl,'
12296 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12302 lt_prog_compiler_pic_CXX
='+Z'
12311 # This is c89, which is MS Visual C++ (no shared libs)
12312 # Anyone wants to do a port?
12314 irix5
* | irix6
* | nonstopux
*)
12315 case $cc_basename in
12317 lt_prog_compiler_wl_CXX
='-Wl,'
12318 lt_prog_compiler_static_CXX
='-non_shared'
12319 # CC pic flag -KPIC is the default.
12325 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12326 case $cc_basename in
12329 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12330 lt_prog_compiler_pic_CXX
='-fPIC'
12333 # old Intel C++ for x86_64 which still supported -KPIC.
12334 lt_prog_compiler_wl_CXX
='-Wl,'
12335 lt_prog_compiler_pic_CXX
='-KPIC'
12336 lt_prog_compiler_static_CXX
='-static'
12339 # Intel C++, used to be incompatible with GCC.
12340 # ICC 10 doesn't accept -KPIC any more.
12341 lt_prog_compiler_wl_CXX
='-Wl,'
12342 lt_prog_compiler_pic_CXX
='-fPIC'
12343 lt_prog_compiler_static_CXX
='-static'
12346 # Portland Group C++ compiler
12347 lt_prog_compiler_wl_CXX
='-Wl,'
12348 lt_prog_compiler_pic_CXX
='-fpic'
12349 lt_prog_compiler_static_CXX
='-Bstatic'
12353 # Make sure the PIC flag is empty. It appears that all Alpha
12354 # Linux and Compaq Tru64 Unix objects are PIC.
12355 lt_prog_compiler_pic_CXX
=
12356 lt_prog_compiler_static_CXX
='-non_shared'
12359 # IBM XL 8.0 on PPC
12360 lt_prog_compiler_wl_CXX
='-Wl,'
12361 lt_prog_compiler_pic_CXX
='-qpic'
12362 lt_prog_compiler_static_CXX
='-qstaticlink'
12365 case `$CC -V 2>&1 | sed 5q` in
12368 lt_prog_compiler_pic_CXX
='-KPIC'
12369 lt_prog_compiler_static_CXX
='-Bstatic'
12370 lt_prog_compiler_wl_CXX
='-Qoption ld '
12381 case $cc_basename in
12383 lt_prog_compiler_pic_CXX
='-W c,exportall'
12389 netbsd
* | netbsdelf
*-gnu)
12392 # QNX uses GNU C++, but need to define -shared option too, otherwise
12393 # it will coredump.
12394 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12396 osf3
* | osf4
* | osf5
*)
12397 case $cc_basename in
12399 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12402 # Rational C++ 2.4.1
12403 lt_prog_compiler_pic_CXX
='-pic'
12406 # Digital/Compaq C++
12407 lt_prog_compiler_wl_CXX
='-Wl,'
12408 # Make sure the PIC flag is empty. It appears that all Alpha
12409 # Linux and Compaq Tru64 Unix objects are PIC.
12410 lt_prog_compiler_pic_CXX
=
12411 lt_prog_compiler_static_CXX
='-non_shared'
12420 case $cc_basename in
12422 # Sun C++ 4.2, 5.x and Centerline C++
12423 lt_prog_compiler_pic_CXX
='-KPIC'
12424 lt_prog_compiler_static_CXX
='-Bstatic'
12425 lt_prog_compiler_wl_CXX
='-Qoption ld '
12428 # Green Hills C++ Compiler
12429 lt_prog_compiler_pic_CXX
='-PIC'
12436 case $cc_basename in
12439 lt_prog_compiler_pic_CXX
='-pic'
12440 lt_prog_compiler_static_CXX
='-Bstatic'
12444 lt_prog_compiler_pic_CXX
='-pic'
12450 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12451 case $cc_basename in
12453 lt_prog_compiler_wl_CXX
='-Wl,'
12454 lt_prog_compiler_pic_CXX
='-KPIC'
12455 lt_prog_compiler_static_CXX
='-Bstatic'
12460 case $cc_basename in
12462 # NonStop-UX NCC 3.20
12463 lt_prog_compiler_pic_CXX
='-KPIC'
12472 lt_prog_compiler_can_build_shared_CXX
=no
12478 # For platforms which do not support PIC, -DPIC is meaningless:
12480 lt_prog_compiler_pic_CXX
=
12483 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12487 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12492 # Check to make sure the PIC flag actually works.
12494 if test -n "$lt_prog_compiler_pic_CXX"; then
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12496 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12497 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12498 $as_echo_n "(cached) " >&6
12500 lt_cv_prog_compiler_pic_works_CXX
=no
12501 ac_outfile
=conftest.
$ac_objext
12502 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12503 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12504 # Insert the option either (1) after the last *FLAGS variable, or
12505 # (2) before a word containing "conftest.", or (3) at the end.
12506 # Note that $ac_compile itself does not contain backslashes and begins
12507 # with a dollar sign (not a hyphen), so the echo should work correctly.
12508 # The option is referenced via a variable to avoid confusing sed.
12509 lt_compile
=`echo "$ac_compile" | $SED \
12510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12512 -e 's:$: $lt_compiler_flag:'`
12513 (eval echo "\"\$as_me:12513: $lt_compile\"" >&5)
12514 (eval "$lt_compile" 2>conftest.err
)
12516 cat conftest.err
>&5
12517 echo "$as_me:12517: \$? = $ac_status" >&5
12518 if (exit $ac_status) && test -s "$ac_outfile"; then
12519 # The compiler can only warn and ignore the option if not recognized
12520 # So say no if there are warnings other than the usual output.
12521 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12522 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12523 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12524 lt_cv_prog_compiler_pic_works_CXX
=yes
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12531 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12533 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12534 case $lt_prog_compiler_pic_CXX in
12536 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12539 lt_prog_compiler_pic_CXX
=
12540 lt_prog_compiler_can_build_shared_CXX
=no
12548 # Check to make sure the static flag actually works.
12550 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12552 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12553 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12554 $as_echo_n "(cached) " >&6
12556 lt_cv_prog_compiler_static_works_CXX
=no
12557 save_LDFLAGS
="$LDFLAGS"
12558 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12559 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12560 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12561 # The linker can only warn and ignore the option if not recognized
12562 # So say no if there are warnings
12563 if test -s conftest.err
; then
12564 # Append any errors to the config.log.
12565 cat conftest.err
1>&5
12566 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12567 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12568 if diff conftest.exp conftest.er2
>/dev
/null
; then
12569 lt_cv_prog_compiler_static_works_CXX
=yes
12572 lt_cv_prog_compiler_static_works_CXX
=yes
12576 LDFLAGS
="$save_LDFLAGS"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12580 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12582 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12585 lt_prog_compiler_static_CXX
=
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12592 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12593 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12594 $as_echo_n "(cached) " >&6
12596 lt_cv_prog_compiler_c_o_CXX
=no
12597 $RM -r conftest
2>/dev
/null
12601 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12603 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12604 # Insert the option either (1) after the last *FLAGS variable, or
12605 # (2) before a word containing "conftest.", or (3) at the end.
12606 # Note that $ac_compile itself does not contain backslashes and begins
12607 # with a dollar sign (not a hyphen), so the echo should work correctly.
12608 lt_compile
=`echo "$ac_compile" | $SED \
12609 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12610 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12611 -e 's:$: $lt_compiler_flag:'`
12612 (eval echo "\"\$as_me:12612: $lt_compile\"" >&5)
12613 (eval "$lt_compile" 2>out
/conftest.err
)
12615 cat out
/conftest.err
>&5
12616 echo "$as_me:12616: \$? = $ac_status" >&5
12617 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12619 # The compiler can only warn and ignore the option if not recognized
12620 # So say no if there are warnings
12621 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12622 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12623 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12624 lt_cv_prog_compiler_c_o_CXX
=yes
12629 # SGI C++ compiler will create directory out/ii_files/ for
12630 # template instantiation
12631 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12632 $RM out
/* && rmdir out
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12639 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12645 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12646 $as_echo_n "(cached) " >&6
12648 lt_cv_prog_compiler_c_o_CXX
=no
12649 $RM -r conftest
2>/dev
/null
12653 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12655 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12656 # Insert the option either (1) after the last *FLAGS variable, or
12657 # (2) before a word containing "conftest.", or (3) at the end.
12658 # Note that $ac_compile itself does not contain backslashes and begins
12659 # with a dollar sign (not a hyphen), so the echo should work correctly.
12660 lt_compile
=`echo "$ac_compile" | $SED \
12661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12663 -e 's:$: $lt_compiler_flag:'`
12664 (eval echo "\"\$as_me:12664: $lt_compile\"" >&5)
12665 (eval "$lt_compile" 2>out
/conftest.err
)
12667 cat out
/conftest.err
>&5
12668 echo "$as_me:12668: \$? = $ac_status" >&5
12669 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12671 # The compiler can only warn and ignore the option if not recognized
12672 # So say no if there are warnings
12673 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12674 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12675 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12676 lt_cv_prog_compiler_c_o_CXX
=yes
12681 # SGI C++ compiler will create directory out/ii_files/ for
12682 # template instantiation
12683 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12684 $RM out
/* && rmdir out
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12691 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12696 hard_links
="nottested"
12697 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12698 # do not overwrite the value of need_locks provided by the user
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12700 $as_echo_n "checking if we can lock with hard links... " >&6; }
12703 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12705 ln conftest.a conftest.b
2>&5 || hard_links
=no
12706 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12708 $as_echo "$hard_links" >&6; }
12709 if test "$hard_links" = no
; then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12721 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12723 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12726 # If we're using GNU nm, then we don't want the "-C" option.
12727 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12728 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12729 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'
12731 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'
12735 export_symbols_cmds_CXX
="$ltdll_cmds"
12737 cygwin
* | mingw
* | cegcc
*)
12738 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'
12740 linux
* | k
*bsd
*-gnu)
12741 link_all_deplibs_CXX
=no
12744 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12747 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12750 $as_echo "$ld_shlibs_CXX" >&6; }
12751 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12753 with_gnu_ld_CXX
=$with_gnu_ld
12761 # Do we need to explicitly link libc?
12763 case "x$archive_cmds_need_lc_CXX" in
12765 # Assume -lc should be added
12766 archive_cmds_need_lc_CXX
=yes
12768 if test "$enable_shared" = yes && test "$GCC" = yes; then
12769 case $archive_cmds_CXX in
12771 # FIXME: we may have to deal with multi-command sequences.
12774 # Test whether the compiler implicitly links with -lc since on some
12775 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12776 # to ld, don't add -lc before -lgcc.
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12778 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12780 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12783 (eval $ac_compile) 2>&5
12785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12786 test $ac_status = 0; } 2>conftest.err
; then
12789 libobjs
=conftest.
$ac_objext
12791 wl
=$lt_prog_compiler_wl_CXX
12792 pic_flag
=$lt_prog_compiler_pic_CXX
12798 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12799 allow_undefined_flag_CXX
=
12800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12801 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12804 test $ac_status = 0; }
12806 archive_cmds_need_lc_CXX
=no
12808 archive_cmds_need_lc_CXX
=yes
12810 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12812 cat conftest.err
1>&5
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12816 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12887 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12889 library_names_spec
=
12890 libname_spec
='lib$name'
12894 postuninstall_cmds
=
12898 shlibpath_overrides_runpath
=unknown
12900 dynamic_linker
="$host_os ld.so"
12901 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12902 need_lib_prefix
=unknown
12903 hardcode_into_libs
=no
12905 # when you set need_version to no, make sure it does not cause -set_version
12906 # flags to be left without arguments
12907 need_version
=unknown
12912 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12913 shlibpath_var
=LIBPATH
12915 # AIX 3 has no versioning support, so we append a major version to the name.
12916 soname_spec
='${libname}${release}${shared_ext}$major'
12923 hardcode_into_libs
=yes
12924 if test "$host_cpu" = ia64
; then
12925 # AIX 5 supports IA64
12926 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12927 shlibpath_var
=LD_LIBRARY_PATH
12929 # With GCC up to 2.95.x, collect2 would create an import file
12930 # for dependence libraries. The import file would start with
12931 # the line `#! .'. This would cause the generated library to
12932 # depend on `.', always an invalid library. This was fixed in
12933 # development snapshots of GCC prior to 3.0.
12935 aix4
| aix4.
[01] | aix4.
[01].
*)
12936 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12938 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
12941 can_build_shared
=no
12945 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12946 # soname into executable. Probably we can add versioning support to
12947 # collect2, so additional links can be useful in future.
12948 if test "$aix_use_runtimelinking" = yes; then
12949 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12950 # instead of lib<name>.a to let people know that these are not
12951 # typical AIX shared libraries.
12952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12954 # We preserve .a as extension for shared libraries through AIX4.2
12955 # and later when we are not doing run time linking.
12956 library_names_spec
='${libname}${release}.a $libname.a'
12957 soname_spec
='${libname}${release}${shared_ext}$major'
12959 shlibpath_var
=LIBPATH
12966 # Since July 2007 AmigaOS4 officially supports .so libraries.
12967 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12971 library_names_spec
='$libname.ixlibrary $libname.a'
12972 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12973 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'
12979 library_names_spec
='${libname}${shared_ext}'
12980 dynamic_linker
="$host_os ld.so"
12981 shlibpath_var
=LIBRARY_PATH
12987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12988 soname_spec
='${libname}${release}${shared_ext}$major'
12989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12990 shlibpath_var
=LD_LIBRARY_PATH
12991 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12992 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12993 # the default ld.so.conf also contains /usr/contrib/lib and
12994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12995 # libtool to hard-code these into programs
12998 cygwin
* | mingw
* | pw32
* | cegcc
*)
12999 version_type
=windows
13004 case $GCC,$host_os in
13005 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13006 library_names_spec
='$libname.dll.a'
13007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13008 postinstall_cmds
='base_file=`basename \${file}`~
13009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13010 dldir=$destdir/`dirname \$dlpath`~
13011 test -d \$dldir || mkdir -p \$dldir~
13012 $install_prog $dir/$dlname \$dldir/$dlname~
13013 chmod a+x \$dldir/$dlname~
13014 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13015 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13017 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13018 dlpath=$dir/\$dldll~
13020 shlibpath_overrides_runpath
=yes
13024 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13025 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13026 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13029 # MinGW DLLs use traditional 'lib' prefix
13030 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13031 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13032 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13033 # It is most probably a Windows format PATH printed by
13034 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13035 # path with ; separators, and with drive letters. We can handle the
13036 # drive letters (cygwin fileutils understands them), so leave them,
13037 # especially as we might pass files found there to a mingw objdump,
13038 # which wouldn't understand a cygwinified path. Ahh.
13039 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13041 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13045 # pw32 DLLs use 'pw' prefix rather than 'lib'
13046 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13052 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13055 dynamic_linker
='Win32 ld.exe'
13056 # FIXME: first we should search . and the directory the executable is in
13060 darwin
* | rhapsody
*)
13061 dynamic_linker
="$host_os dyld"
13062 version_type
=darwin
13065 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13066 soname_spec
='${libname}${release}${major}$shared_ext'
13067 shlibpath_overrides_runpath
=yes
13068 shlibpath_var
=DYLD_LIBRARY_PATH
13069 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13071 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13079 soname_spec
='${libname}${release}${shared_ext}$major'
13080 shlibpath_var
=LD_LIBRARY_PATH
13087 freebsd
* | dragonfly
*)
13088 # DragonFly does not have aout. When/if they implement a new
13089 # versioning mechanism, adjust this.
13090 if test -x /usr
/bin
/objformat
; then
13091 objformat
=`/usr/bin/objformat`
13094 freebsd
[123]*) objformat
=aout
;;
13095 *) objformat
=elf
;;
13098 version_type
=freebsd
-$objformat
13099 case $version_type in
13101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13106 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13110 shlibpath_var
=LD_LIBRARY_PATH
13113 shlibpath_overrides_runpath
=yes
13115 freebsd3.
[01]* | freebsdelf3.
[01]*)
13116 shlibpath_overrides_runpath
=yes
13117 hardcode_into_libs
=yes
13119 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13120 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13121 shlibpath_overrides_runpath
=no
13122 hardcode_into_libs
=yes
13124 *) # from 4.6 on, and DragonFly
13125 shlibpath_overrides_runpath
=yes
13126 hardcode_into_libs
=yes
13135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13136 soname_spec
='${libname}${release}${shared_ext}$major'
13137 shlibpath_var
=LD_LIBRARY_PATH
13138 hardcode_into_libs
=yes
13141 hpux9
* | hpux10
* | hpux11
*)
13142 # Give a soname corresponding to the major version so that dld.sl refuses to
13143 # link against other versions.
13150 hardcode_into_libs
=yes
13151 dynamic_linker
="$host_os dld.so"
13152 shlibpath_var
=LD_LIBRARY_PATH
13153 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155 soname_spec
='${libname}${release}${shared_ext}$major'
13156 if test "X$HPUX_IA64_MODE" = X32
; then
13157 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13159 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13161 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13165 hardcode_into_libs
=yes
13166 dynamic_linker
="$host_os dld.sl"
13167 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13168 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13170 soname_spec
='${libname}${release}${shared_ext}$major'
13171 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13172 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13176 dynamic_linker
="$host_os dld.sl"
13177 shlibpath_var
=SHLIB_PATH
13178 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13180 soname_spec
='${libname}${release}${shared_ext}$major'
13183 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13184 postinstall_cmds
='chmod 555 $lib'
13191 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13192 soname_spec
='${libname}${release}${shared_ext}$major'
13193 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13194 shlibpath_var
=LD_LIBRARY_PATH
13195 shlibpath_overrides_runpath
=no
13196 hardcode_into_libs
=yes
13199 irix5
* | irix6
* | nonstopux
*)
13201 nonstopux
*) version_type
=nonstopux
;;
13203 if test "$lt_cv_prog_gnu_ld" = yes; then
13211 soname_spec
='${libname}${release}${shared_ext}$major'
13212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13214 irix5
* | nonstopux
*)
13215 libsuff
= shlibsuff
=
13218 case $LD in # libtool.m4 will add one of these switches to LD
13219 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13220 libsuff
= shlibsuff
= libmagic
=32-bit;;
13221 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13222 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13223 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13224 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13225 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13229 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13230 shlibpath_overrides_runpath
=no
13231 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13232 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13233 hardcode_into_libs
=yes
13236 # No shared lib support for Linux oldld, aout, or coff.
13237 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13241 # This must be Linux ELF.
13242 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13247 soname_spec
='${libname}${release}${shared_ext}$major'
13248 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13249 shlibpath_var
=LD_LIBRARY_PATH
13250 shlibpath_overrides_runpath
=no
13251 # Some binutils ld are patched to set DT_RUNPATH
13252 save_LDFLAGS
=$LDFLAGS
13253 save_libdir
=$libdir
13254 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13255 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13267 if ac_fn_cxx_try_link
"$LINENO"; then :
13268 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13269 shlibpath_overrides_runpath
=yes
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 LDFLAGS
=$save_LDFLAGS
13275 libdir
=$save_libdir
13277 # This implies no fast_install, which is unacceptable.
13278 # Some rework will be needed to allow for fast_install
13279 # before this can be enabled.
13280 hardcode_into_libs
=yes
13282 # Append ld.so.conf contents to the search path
13283 if test -f /etc
/ld.so.conf
; then
13284 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' ' '`
13285 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13288 # We used to test for /lib/ld.so.1 and disable shared libraries on
13289 # powerpc, because MkLinux only supported shared libraries with the
13290 # GNU dynamic linker. Since this was broken with cross compilers,
13291 # most powerpc-linux boxes support dynamic linking these days and
13292 # people can always --disable-shared, the test was removed, and we
13293 # assume the GNU/Linux dynamic linker is in use.
13294 dynamic_linker
='GNU/Linux ld.so'
13301 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13302 soname_spec
='${libname}${release}${shared_ext}$major'
13303 shlibpath_var
=LD_LIBRARY_PATH
13304 shlibpath_overrides_runpath
=no
13305 hardcode_into_libs
=yes
13306 dynamic_linker
='NetBSD ld.elf_so'
13313 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13315 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13316 dynamic_linker
='NetBSD (a.out) ld.so'
13318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13319 soname_spec
='${libname}${release}${shared_ext}$major'
13320 dynamic_linker
='NetBSD ld.elf_so'
13322 shlibpath_var
=LD_LIBRARY_PATH
13323 shlibpath_overrides_runpath
=yes
13324 hardcode_into_libs
=yes
13329 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath
=yes
13338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13339 soname_spec
='${libname}${release}${shared_ext}$major'
13340 shlibpath_var
=LD_LIBRARY_PATH
13341 shlibpath_overrides_runpath
=no
13342 hardcode_into_libs
=yes
13343 dynamic_linker
='ldqnx.so'
13348 sys_lib_dlsearch_path_spec
="/usr/lib"
13350 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13352 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13353 *) need_version
=no
;;
13355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13356 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13357 shlibpath_var
=LD_LIBRARY_PATH
13358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13360 openbsd2.
[89] | openbsd2.
[89].
*)
13361 shlibpath_overrides_runpath
=no
13364 shlibpath_overrides_runpath
=yes
13368 shlibpath_overrides_runpath
=yes
13373 libname_spec
='$name'
13376 library_names_spec
='$libname${shared_ext} $libname.a'
13377 dynamic_linker
='OS/2 ld.exe'
13378 shlibpath_var
=LIBPATH
13381 osf3
* | osf4
* | osf5
*)
13385 soname_spec
='${libname}${release}${shared_ext}$major'
13386 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13387 shlibpath_var
=LD_LIBRARY_PATH
13388 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13389 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13401 soname_spec
='${libname}${release}${shared_ext}$major'
13402 shlibpath_var
=LD_LIBRARY_PATH
13403 shlibpath_overrides_runpath
=yes
13404 hardcode_into_libs
=yes
13405 # ldd complains unless libraries are executable
13406 postinstall_cmds
='chmod +x $lib'
13411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13412 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13413 shlibpath_var
=LD_LIBRARY_PATH
13414 shlibpath_overrides_runpath
=yes
13415 if test "$with_gnu_ld" = yes; then
13423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13424 soname_spec
='${libname}${release}${shared_ext}$major'
13425 shlibpath_var
=LD_LIBRARY_PATH
13426 case $host_vendor in
13428 shlibpath_overrides_runpath
=no
13430 runpath_var
=LD_RUN_PATH
13438 shlibpath_overrides_runpath
=no
13439 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13445 if test -d /usr
/nec
;then
13447 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13448 soname_spec
='$libname${shared_ext}.$major'
13449 shlibpath_var
=LD_LIBRARY_PATH
13453 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13454 version_type
=freebsd
-elf
13457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13458 soname_spec
='${libname}${release}${shared_ext}$major'
13459 shlibpath_var
=LD_LIBRARY_PATH
13460 shlibpath_overrides_runpath
=yes
13461 hardcode_into_libs
=yes
13462 if test "$with_gnu_ld" = yes; then
13463 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13465 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13468 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13472 sys_lib_dlsearch_path_spec
='/usr/lib'
13476 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13481 shlibpath_var
=LD_LIBRARY_PATH
13482 shlibpath_overrides_runpath
=no
13483 hardcode_into_libs
=yes
13488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13489 soname_spec
='${libname}${release}${shared_ext}$major'
13490 shlibpath_var
=LD_LIBRARY_PATH
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13498 $as_echo "$dynamic_linker" >&6; }
13499 test "$dynamic_linker" = no
&& can_build_shared
=no
13501 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13502 if test "$GCC" = yes; then
13503 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13506 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13507 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13509 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13510 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13549 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13550 hardcode_action_CXX
=
13551 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13552 test -n "$runpath_var_CXX" ||
13553 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13555 # We can hardcode non-existent directories.
13556 if test "$hardcode_direct_CXX" != no
&&
13557 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13558 # have to relink, otherwise we might link with an installed library
13559 # when we should be linking with a yet-to-be-installed one
13560 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13561 test "$hardcode_minus_L_CXX" != no
; then
13562 # Linking always hardcodes the temporary library directory.
13563 hardcode_action_CXX
=relink
13565 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13566 hardcode_action_CXX
=immediate
13569 # We cannot hardcode anything, or else we can only hardcode existing
13571 hardcode_action_CXX
=unsupported
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13574 $as_echo "$hardcode_action_CXX" >&6; }
13576 if test "$hardcode_action_CXX" = relink
||
13577 test "$inherit_rpath_CXX" = yes; then
13578 # Fast installation is not supported
13579 enable_fast_install
=no
13580 elif test "$shlibpath_overrides_runpath" = yes ||
13581 test "$enable_shared" = no
; then
13582 # Fast installation is not necessary
13583 enable_fast_install
=needless
13592 fi # test -n "$compiler"
13598 with_gnu_ld
=$lt_save_with_gnu_ld
13599 lt_cv_path_LDCXX
=$lt_cv_path_LD
13600 lt_cv_path_LD
=$lt_save_path_LD
13601 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13602 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13603 fi # test "$_lt_caught_CXX_error" != yes
13606 ac_cpp
='$CPP $CPPFLAGS'
13607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13613 ac_cpp
='$CXXCPP $CPPFLAGS'
13614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13618 for ac_prog
in 'bison -y' byacc
13620 # Extract the first word of "$ac_prog", so it can be a program name with args.
13621 set dummy
$ac_prog; ac_word
=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13623 $as_echo_n "checking for $ac_word... " >&6; }
13624 if test "${ac_cv_prog_YACC+set}" = set; then :
13625 $as_echo_n "(cached) " >&6
13627 if test -n "$YACC"; then
13628 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
13630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13631 for as_dir
in $PATH
13634 test -z "$as_dir" && as_dir
=.
13635 for ac_exec_ext
in '' $ac_executable_extensions; do
13636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13637 ac_cv_prog_YACC
="$ac_prog"
13638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13647 YACC
=$ac_cv_prog_YACC
13648 if test -n "$YACC"; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
13650 $as_echo "$YACC" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13657 test -n "$YACC" && break
13659 test -n "$YACC" || YACC
="yacc"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
13666 $as_echo_n "checking if bison is the parser generator... " >&6; }
13667 if test "${ax_cv_prog_bison+set}" = set; then :
13668 $as_echo_n "(cached) " >&6
13671 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
13673 ax_cv_prog_bison
=yes
13677 ax_cv_prog_bison
=no
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
13683 $as_echo "$ax_cv_prog_bison" >&6; }
13684 if test "$ax_cv_prog_bison" = yes; then :
13688 BISON
=`echo $YACC | $SED -e 's/ -y//'`
13689 BISON_VERSION
=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
13695 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
13699 for ac_prog
in gawk mawk nawk
awk
13701 # Extract the first word of "$ac_prog", so it can be a program name with args.
13702 set dummy
$ac_prog; ac_word
=$2
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13704 $as_echo_n "checking for $ac_word... " >&6; }
13705 if test "${ac_cv_prog_AWK+set}" = set; then :
13706 $as_echo_n "(cached) " >&6
13708 if test -n "$AWK"; then
13709 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
13711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13712 for as_dir
in $PATH
13715 test -z "$as_dir" && as_dir
=.
13716 for ac_exec_ext
in '' $ac_executable_extensions; do
13717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13718 ac_cv_prog_AWK
="$ac_prog"
13719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13728 AWK
=$ac_cv_prog_AWK
13729 if test -n "$AWK"; then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
13731 $as_echo "$AWK" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13734 $as_echo "no" >&6; }
13738 test -n "$AWK" && break
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.4" >&5
13742 $as_echo_n "checking if bison is >= 2.4... " >&6; }
13743 as_arg_v1
=$BISON_VERSION
13745 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13750 $as_echo "no" >&6; }
13751 as_fn_error
"You need bison 2.4 or greater" "$LINENO" 5
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13755 $as_echo "yes" >&6; } ;; #(
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13758 $as_echo "yes" >&6; } ;; #(
13763 # expand $ac_aux_dir to an absolute path
13764 am_aux_dir
=`cd $ac_aux_dir && pwd`
13766 if test x
"${MISSING+set}" != xset
; then
13767 case $am_aux_dir in
13769 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
13771 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
13774 # Use eval to expand $SHELL
13775 if eval "$MISSING --run true"; then
13776 am_missing_run
="$MISSING --run "
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
13780 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
13783 for ac_prog
in flex
lex
13785 # Extract the first word of "$ac_prog", so it can be a program name with args.
13786 set dummy
$ac_prog; ac_word
=$2
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13788 $as_echo_n "checking for $ac_word... " >&6; }
13789 if test "${ac_cv_prog_LEX+set}" = set; then :
13790 $as_echo_n "(cached) " >&6
13792 if test -n "$LEX"; then
13793 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
13795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13796 for as_dir
in $PATH
13799 test -z "$as_dir" && as_dir
=.
13800 for ac_exec_ext
in '' $ac_executable_extensions; do
13801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13802 ac_cv_prog_LEX
="$ac_prog"
13803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13812 LEX
=$ac_cv_prog_LEX
13813 if test -n "$LEX"; then
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
13815 $as_echo "$LEX" >&6; }
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13822 test -n "$LEX" && break
13824 test -n "$LEX" || LEX
=":"
13826 if test "x$LEX" != "x:"; then
13827 cat >conftest.l
<<_ACEOF
13833 e { yyless (input () != 0); }
13834 f { unput (yytext[0]); }
13835 . { BEGIN INITIAL; }
13837 #ifdef YYTEXT_POINTER
13838 extern char *yytext;
13843 return ! yylex () + ! yywrap ();
13846 { { ac_try
="$LEX conftest.l"
13847 case "(($ac_try" in
13848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13849 *) ac_try_echo=$ac_try;;
13851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13852 $as_echo "$ac_try_echo"; } >&5
13853 (eval "$LEX conftest.l") 2>&5
13855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13856 test $ac_status = 0; }
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
13858 $as_echo_n "checking lex output file root... " >&6; }
13859 if test "${ac_cv_prog_lex_root+set}" = set; then :
13860 $as_echo_n "(cached) " >&6
13863 if test -f lex.yy.c; then
13864 ac_cv_prog_lex_root=lex.yy
13865 elif test -f lexyy.c; then
13866 ac_cv_prog_lex_root=lexyy
13868 as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
13872 $as_echo "$ac_cv_prog_lex_root" >&6; }
13873 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
13875 if test -z "${LEXLIB+set}"; then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
13877 $as_echo_n "checking lex library... " >&6; }
13878 if test "${ac_cv_lib_lex+set}" = set; then :
13879 $as_echo_n "(cached) " >&6
13883 ac_cv_lib_lex='none needed'
13884 for ac_lib in '' -lfl -ll; do
13885 LIBS="$ac_lib $ac_save_LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 `cat $LEX_OUTPUT_ROOT.c
`
13890 if ac_fn_cxx_try_link "$LINENO"; then :
13891 ac_cv_lib_lex=$ac_lib
13893 rm -f core conftest.err conftest.$ac_objext \
13894 conftest$ac_exeext conftest.$ac_ext
13895 test "$ac_cv_lib_lex" != 'none needed' && break
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
13901 $as_echo "$ac_cv_lib_lex" >&6; }
13902 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
13907 $as_echo_n "checking whether yytext is a pointer... " >&6; }
13908 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
13909 $as_echo_n "(cached) " >&6
13911 # POSIX says lex can declare yytext either as a pointer or an array; the
13912 # default is implementation-dependent. Figure out which it is, since
13913 # not all implementations provide the %pointer and %array declarations.
13914 ac_cv_prog_lex_yytext_pointer=no
13916 LIBS="$LEXLIB $ac_save_LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 #define YYTEXT_POINTER 1
13920 `cat $LEX_OUTPUT_ROOT.c
`
13922 if ac_fn_cxx_try_link "$LINENO"; then :
13923 ac_cv_prog_lex_yytext_pointer=yes
13925 rm -f core conftest.err conftest.$ac_objext \
13926 conftest$ac_exeext conftest.$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
13931 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
13932 if test $ac_cv_prog_lex_yytext_pointer = yes; then
13934 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
13937 rm -f conftest.l $LEX_OUTPUT_ROOT.c
13940 if test "$LEX" = :; then
13941 LEX=${am_missing_run}flex
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
13948 $as_echo_n "checking if flex is the lexer generator... " >&6; }
13949 if test "${ax_cv_prog_flex+set}" = set; then :
13950 $as_echo_n "(cached) " >&6
13953 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
13955 ax_cv_prog_flex=yes
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
13965 $as_echo "$ax_cv_prog_flex" >&6; }
13966 if test "$ax_cv_prog_flex" = yes; then :
13971 FLEX_VERSION=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
13977 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
13982 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
13983 as_arg_v1=$FLEX_VERSION
13985 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 $as_echo "no" >&6; }
13991 as_fn_error "You need flex 2.5.33 or greater" "$LINENO" 5
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13995 $as_echo "yes" >&6; } ;; #(
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13998 $as_echo "yes" >&6; } ;; #(
14003 for ac_prog in bash
14005 # Extract the first word of "$ac_prog", so it can be a program name with args.
14006 set dummy $ac_prog; ac_word=$2
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14008 $as_echo_n "checking for $ac_word... " >&6; }
14009 if test "${ac_cv_prog__BASH+set}" = set; then :
14010 $as_echo_n "(cached) " >&6
14012 if test -n "$_BASH"; then
14013 ac_cv_prog__BASH="$_BASH" # Let the user override the test.
14015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14016 for as_dir in $PATH
14019 test -z "$as_dir" && as_dir=.
14020 for ac_exec_ext in '' $ac_executable_extensions; do
14021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14022 ac_cv_prog__BASH="$ac_prog"
14023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14032 _BASH=$ac_cv_prog__BASH
14033 if test -n "$_BASH"; then
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14035 $as_echo "$_BASH" >&6; }
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14038 $as_echo "no" >&6; }
14042 test -n "$_BASH" && break
14045 for ac_prog in gperf
14047 # Extract the first word of "$ac_prog", so it can be a program name with args.
14048 set dummy $ac_prog; ac_word=$2
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14050 $as_echo_n "checking for $ac_word... " >&6; }
14051 if test "${ac_cv_prog_GPERF+set}" = set; then :
14052 $as_echo_n "(cached) " >&6
14054 if test -n "$GPERF"; then
14055 ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
14057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14058 for as_dir in $PATH
14061 test -z "$as_dir" && as_dir=.
14062 for ac_exec_ext in '' $ac_executable_extensions; do
14063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14064 ac_cv_prog_GPERF="$ac_prog"
14065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14074 GPERF=$ac_cv_prog_GPERF
14075 if test -n "$GPERF"; then
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14077 $as_echo "$GPERF" >&6; }
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14080 $as_echo "no" >&6; }
14084 test -n "$GPERF" && break
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14088 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14089 GPERF_VERSION=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14090 as_arg_v1=$GPERF_VERSION
14092 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14097 $as_echo "no" >&6; }
14098 as_fn_error "You need gperf 3.0.3 or greater" "$LINENO" 5
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14102 $as_echo "yes" >&6; } ;; #(
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14105 $as_echo "yes" >&6; } ;; #(
14109 for ac_prog in time
14111 # Extract the first word of "$ac_prog", so it can be a program name with args.
14112 set dummy $ac_prog; ac_word=$2
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14114 $as_echo_n "checking for $ac_word... " >&6; }
14115 if test "${ac_cv_prog_TIME+set}" = set; then :
14116 $as_echo_n "(cached) " >&6
14118 if test -n "$TIME"; then
14119 ac_cv_prog_TIME="$TIME" # Let the user override the test.
14121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14122 for as_dir in $PATH
14125 test -z "$as_dir" && as_dir=.
14126 for ac_exec_ext in '' $ac_executable_extensions; do
14127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14128 ac_cv_prog_TIME="$ac_prog"
14129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14138 TIME=$ac_cv_prog_TIME
14139 if test -n "$TIME"; then
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14141 $as_echo "$TIME" >&6; }
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14144 $as_echo "no" >&6; }
14148 test -n "$TIME" && break
14154 if test "$target_os" = "os2-emx"; then
14155 # Scripts don't pass test -x on OS/2
14161 acceptable_majors="1"
14163 apr_temp_acceptable_apr_config=""
14164 for apr_temp_major in $acceptable_majors
14166 case $apr_temp_major in
14168 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14171 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14177 $as_echo_n "checking for APR... " >&6; }
14179 # Check whether --with-apr was given.
14180 if test "${with_apr+set}" = set; then :
14182 if test "$withval" = "no" || test "$withval" = "yes"; then
14183 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14186 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14188 for lookdir in "$withval/bin" "$withval"
14190 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14191 apr_config="$lookdir/$apr_temp_apr_config_file"
14199 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14200 apr_config="$withval"
14204 if test "$apr_found" != "yes"; then
14205 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
14210 if test -n "1" && test "1" = "1"; then
14211 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14213 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14214 apr_config="$apr_temp_apr_config_file"
14219 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14220 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14221 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14230 if test "$apr_found" = "no" && test -d ""; then
14231 apr_temp_abs_srcdir="`cd && pwd`"
14232 apr_found="reconfig"
14233 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14234 case $apr_bundled_major in
14236 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14239 apr_temp_apr_config_file="apr-config"
14242 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14245 if test -n ""; then
14246 apr_config="/$apr_temp_apr_config_file"
14248 apr_config="/$apr_temp_apr_config_file"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14256 $as_echo "$apr_found" >&6; }
14258 case $apr_found in #(
14262 for element in `$apr_config --includes`; do
14264 for x in $CPPFLAGS; do
14266 acl_save_prefix="$prefix"
14267 prefix="$acl_final_prefix"
14268 acl_save_exec_prefix="$exec_prefix"
14269 exec_prefix="$acl_final_exec_prefix"
14271 exec_prefix="$acl_save_exec_prefix"
14272 prefix="$acl_save_prefix"
14274 if test "X$x" = "X$element"; then
14279 if test -z "$haveit"; then
14280 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14284 LTLIBAPR=`$apr_config --link-libtool`
14288 as_fn_error "You need apr" "$LINENO" 5 ;;
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14293 $as_echo_n "checking for a readline compatible library... " >&6; }
14294 if test "${vl_cv_lib_readline+set}" = set; then :
14295 $as_echo_n "(cached) " >&6
14299 for readline_lib in readline edit editline; do
14300 for termcap_lib in "" termcap curses ncurses; do
14301 if test -z "$termcap_lib"; then
14302 TRY_LIB="-l$readline_lib"
14304 TRY_LIB="-l$readline_lib -l$termcap_lib"
14306 LIBS="$ORIG_LIBS $TRY_LIB"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14320 return readline ();
14325 if ac_fn_cxx_try_link "$LINENO"; then :
14326 vl_cv_lib_readline="$TRY_LIB"
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 if test -n "$vl_cv_lib_readline"; then
14334 if test -n "$vl_cv_lib_readline"; then
14338 if test -z "$vl_cv_lib_readline"; then
14339 vl_cv_lib_readline="no"
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14345 $as_echo "$vl_cv_lib_readline" >&6; }
14347 if test "$vl_cv_lib_readline" != "no"; then
14349 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14351 for ac_header in readline.h readline/readline.h
14353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14354 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14355 eval as_val=\$$as_ac_Header
14356 if test "x$as_val" = x""yes; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14366 $as_echo_n "checking whether readline supports history... " >&6; }
14367 if test "${vl_cv_lib_readline_history+set}" = set; then :
14368 $as_echo_n "(cached) " >&6
14371 vl_cv_lib_readline_history="no"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14381 char add_history ();
14385 return add_history ();
14390 if ac_fn_cxx_try_link "$LINENO"; then :
14391 vl_cv_lib_readline_history="yes"
14393 rm -f core conftest.err conftest.$ac_objext \
14394 conftest$ac_exeext conftest.$ac_ext
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14398 $as_echo "$vl_cv_lib_readline_history" >&6; }
14399 if test "$vl_cv_lib_readline_history" = "yes"; then
14401 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14403 for ac_header in history.h readline/history.h
14405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14406 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14407 eval as_val=\$$as_ac_Header
14408 if test "x$as_val" = x""yes; then :
14409 cat >>confdefs.h <<_ACEOF
14410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14420 # Find a good install program. We prefer a C program (faster),
14421 # so one script is as good as another. But avoid the broken or
14422 # incompatible versions:
14423 # SysV /etc/install, /usr/sbin/install
14424 # SunOS /usr/etc/install
14425 # IRIX /sbin/install
14427 # AmigaOS /C/install, which installs bootblocks on floppy discs
14428 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14429 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14430 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14431 # OS/2's system install, which has a completely different semantic
14432 # ./install, which can be erroneously created by make from ./install.sh.
14433 # Reject install programs that cannot install multiple files.
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14435 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14436 if test -z "$INSTALL"; then
14437 if test "${ac_cv_path_install+set}" = set; then :
14438 $as_echo_n "(cached) " >&6
14440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14441 for as_dir in $PATH
14444 test -z "$as_dir" && as_dir=.
14445 # Account for people who put trailing slashes in PATH elements.
14446 case $as_dir/ in #((
14447 ./ | .// | /[cC]/* | \
14448 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14449 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
14452 # OSF1 and SCO ODT 3.0 have their own names for install.
14453 # Don't use installbsd from OSF since it installs stuff as root
14455 for ac_prog in ginstall scoinst install; do
14456 for ac_exec_ext in '' $ac_executable_extensions; do
14457 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14458 if test $ac_prog = install &&
14459 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14460 # AIX install. It has an incompatible calling convention.
14462 elif test $ac_prog = install &&
14463 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14464 # program-specific install script used by HP pwplus--don't use.
14467 rm -rf conftest.one conftest.two conftest.dir
14468 echo one > conftest.one
14469 echo two > conftest.two
14471 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
14472 test -s conftest.one && test -s conftest.two &&
14473 test -s conftest.dir/conftest.one &&
14474 test -s conftest.dir/conftest.two
14476 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14489 rm -rf conftest.one conftest.two conftest.dir
14492 if test "${ac_cv_path_install+set}" = set; then
14493 INSTALL=$ac_cv_path_install
14495 # As a last resort, use the slow shell script. Don't cache a
14496 # value for INSTALL within a source directory, because that will
14497 # break other packages using the cache if that directory is
14498 # removed, or if the value is a relative name.
14499 INSTALL=$ac_install_sh
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14503 $as_echo "$INSTALL" >&6; }
14505 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14506 # It thinks the first close brace ends the variable substitution.
14507 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14509 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14511 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14514 ac_cpp='$CPP $CPPFLAGS'
14515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14520 if test "X$prefix" = "XNONE"; then
14521 acl_final_prefix="$ac_default_prefix"
14523 acl_final_prefix="$prefix"
14525 if test "X$exec_prefix" = "XNONE"; then
14526 acl_final_exec_prefix='${prefix}'
14528 acl_final_exec_prefix="$exec_prefix"
14530 acl_save_prefix="$prefix"
14531 prefix="$acl_final_prefix"
14532 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14533 prefix="$acl_save_prefix"
14536 # Check whether --with-gnu-ld was given.
14537 if test "${with_gnu_ld+set}" = set; then :
14538 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14543 # Prepare PATH_SEPARATOR.
14544 # The user is always right.
14545 if test "${PATH_SEPARATOR+set}" != set; then
14546 echo "#! /bin/sh" >conf$$.sh
14547 echo "exit 0" >>conf$$.sh
14549 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14557 if test "$GCC" = yes; then
14558 # Check if gcc -print-prog-name=ld gives a path.
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14560 $as_echo_n "checking for ld used by GCC... " >&6; }
14563 # gcc leaves a trailing carriage return which upsets mingw
14564 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
14566 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14569 # Accept absolute paths.
14570 [\\/]* | [A-Za-z]:[\\/]*)
14571 re_direlt='/[^/][^/]*/\.\./'
14572 # Canonicalize the path of ld
14573 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14574 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14575 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14577 test -z "$LD" && LD="$ac_prog"
14580 # If it fails, then pretend we aren't using GCC.
14584 # If it is relative, then search for the first ld in PATH.
14585 with_gnu_ld=unknown
14588 elif test "$with_gnu_ld" = yes; then
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14590 $as_echo_n "checking for GNU ld... " >&6; }
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14593 $as_echo_n "checking for non-GNU ld... " >&6; }
14595 if test "${acl_cv_path_LD+set}" = set; then :
14596 $as_echo_n "(cached) " >&6
14598 if test -z "$LD"; then
14599 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14600 for ac_dir in $PATH; do
14601 test -z "$ac_dir" && ac_dir=.
14602 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14603 acl_cv_path_LD="$ac_dir/$ac_prog"
14604 # Check to see if the program is GNU ld. I'd rather use --version,
14605 # but apparently some GNU ld's only accept -v.
14606 # Break only if it was the GNU/non-GNU ld that we prefer.
14607 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
14608 *GNU* | *'with BFD'*)
14609 test "$with_gnu_ld" != no && break ;;
14611 test "$with_gnu_ld" != yes && break ;;
14617 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14621 LD="$acl_cv_path_LD"
14622 if test -n "$LD"; then
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14624 $as_echo "$LD" >&6; }
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14627 $as_echo "no" >&6; }
14629 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14631 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14632 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14633 $as_echo_n "(cached) " >&6
14635 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14636 case `$LD -v 2>&1 </dev
/null
` in
14637 *GNU* | *'with BFD'*)
14638 acl_cv_prog_gnu_ld=yes ;;
14640 acl_cv_prog_gnu_ld=no ;;
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14644 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14645 with_gnu_ld=$acl_cv_prog_gnu_ld
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14651 $as_echo_n "checking for shared library run path origin... " >&6; }
14652 if test "${acl_cv_rpath+set}" = set; then :
14653 $as_echo_n "(cached) " >&6
14656 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14657 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14659 rm -f ./conftest.sh
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14664 $as_echo "$acl_cv_rpath" >&6; }
14666 acl_libext="$acl_cv_libext"
14667 acl_shlibext="$acl_cv_shlibext"
14668 acl_libname_spec="$acl_cv_libname_spec"
14669 acl_library_names_spec="$acl_cv_library_names_spec"
14670 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14671 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14672 acl_hardcode_direct="$acl_cv_hardcode_direct"
14673 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14674 # Check whether --enable-rpath was given.
14675 if test "${enable_rpath+set}" = set; then :
14676 enableval=$enable_rpath; :
14684 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14685 if test -n "$searchpath"; then
14686 acl_save_IFS="${IFS= }"; IFS=":"
14687 for searchdir in $searchpath; do
14688 if test -d "$searchdir"; then
14689 case "$searchdir" in
14690 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14691 *) searchdir=`cd "$searchdir" && pwd`
14692 case "$searchdir" in
14693 */lib64 ) acl_libdirstem=lib64 ;;
14698 IFS="$acl_save_IFS"
14711 acl_save_prefix="$prefix"
14712 prefix="$acl_final_prefix"
14713 acl_save_exec_prefix="$exec_prefix"
14714 exec_prefix="$acl_final_exec_prefix"
14716 eval additional_includedir=\"$includedir\"
14717 eval additional_libdir=\"$libdir\"
14719 exec_prefix="$acl_save_exec_prefix"
14720 prefix="$acl_save_prefix"
14723 # Check whether --with-libiconv-prefix was given.
14724 if test "${with_libiconv_prefix+set}" = set; then :
14725 withval=$with_libiconv_prefix;
14726 if test "X$withval" = "Xno"; then
14729 if test "X$withval" = "X"; then
14731 acl_save_prefix="$prefix"
14732 prefix="$acl_final_prefix"
14733 acl_save_exec_prefix="$exec_prefix"
14734 exec_prefix="$acl_final_exec_prefix"
14736 eval additional_includedir=\"$includedir\"
14737 eval additional_libdir=\"$libdir\"
14739 exec_prefix="$acl_save_exec_prefix"
14740 prefix="$acl_save_prefix"
14743 additional_includedir="$withval/include"
14744 additional_libdir="$withval/$acl_libdirstem"
14756 names_already_handled=
14757 names_next_round='iconv '
14758 while test -n "$names_next_round"; do
14759 names_this_round="$names_next_round"
14761 for name in $names_this_round; do
14763 for n in $names_already_handled; do
14764 if test "$n" = "$name"; then
14765 already_handled=yes
14769 if test -z "$already_handled"; then
14770 names_already_handled="$names_already_handled $name"
14771 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14772 eval value=\"\$HAVE_LIB$uppername\"
14773 if test -n "$value"; then
14774 if test "$value" = yes; then
14775 eval value=\"\$LIB$uppername\"
14776 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14777 eval value=\"\$LTLIB$uppername\"
14778 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14787 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14788 if test -n "$acl_shlibext"; then
14789 shrext=".$acl_shlibext" # typically: shrext=.so
14793 if test $use_additional = yes; then
14794 dir="$additional_libdir"
14795 if test -n "$acl_shlibext"; then
14796 if test -f "$dir/$libname$shrext"; then
14798 found_so="$dir/$libname$shrext"
14800 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14801 ver=`(cd "$dir" && \
14802 for f
in "$libname$shrext".
*; do echo "$f"; done \
14803 | sed -e "s,^$libname$shrext\\\\.,," \
14804 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14805 | sed 1q
) 2>/dev
/null
`
14806 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14808 found_so="$dir/$libname$shrext.$ver"
14811 eval library_names=\"$acl_library_names_spec\"
14812 for f in $library_names; do
14813 if test -f "$dir/$f"; then
14822 if test "X$found_dir" = "X"; then
14823 if test -f "$dir/$libname.$acl_libext"; then
14825 found_a="$dir/$libname.$acl_libext"
14828 if test "X$found_dir" != "X"; then
14829 if test -f "$dir/$libname.la"; then
14830 found_la="$dir/$libname.la"
14834 if test "X$found_dir" = "X"; then
14835 for x in $LDFLAGS $LTLIBICONV; do
14837 acl_save_prefix="$prefix"
14838 prefix="$acl_final_prefix"
14839 acl_save_exec_prefix="$exec_prefix"
14840 exec_prefix="$acl_final_exec_prefix"
14842 exec_prefix="$acl_save_exec_prefix"
14843 prefix="$acl_save_prefix"
14847 dir=`echo "X$x" | sed -e 's/^X-L//'`
14848 if test -n "$acl_shlibext"; then
14849 if test -f "$dir/$libname$shrext"; then
14851 found_so="$dir/$libname$shrext"
14853 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14854 ver=`(cd "$dir" && \
14855 for f
in "$libname$shrext".
*; do echo "$f"; done \
14856 | sed -e "s,^$libname$shrext\\\\.,," \
14857 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14858 | sed 1q
) 2>/dev
/null
`
14859 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14861 found_so="$dir/$libname$shrext.$ver"
14864 eval library_names=\"$acl_library_names_spec\"
14865 for f in $library_names; do
14866 if test -f "$dir/$f"; then
14875 if test "X$found_dir" = "X"; then
14876 if test -f "$dir/$libname.$acl_libext"; then
14878 found_a="$dir/$libname.$acl_libext"
14881 if test "X$found_dir" != "X"; then
14882 if test -f "$dir/$libname.la"; then
14883 found_la="$dir/$libname.la"
14888 if test "X$found_dir" != "X"; then
14893 if test "X$found_dir" != "X"; then
14894 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14895 if test "X$found_so" != "X"; then
14896 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14897 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14900 for x in $ltrpathdirs; do
14901 if test "X$x" = "X$found_dir"; then
14906 if test -z "$haveit"; then
14907 ltrpathdirs="$ltrpathdirs $found_dir"
14909 if test "$acl_hardcode_direct" = yes; then
14910 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14912 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14913 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14915 for x in $rpathdirs; do
14916 if test "X$x" = "X$found_dir"; then
14921 if test -z "$haveit"; then
14922 rpathdirs="$rpathdirs $found_dir"
14926 for x in $LDFLAGS $LIBICONV; do
14928 acl_save_prefix="$prefix"
14929 prefix="$acl_final_prefix"
14930 acl_save_exec_prefix="$exec_prefix"
14931 exec_prefix="$acl_final_exec_prefix"
14933 exec_prefix="$acl_save_exec_prefix"
14934 prefix="$acl_save_prefix"
14936 if test "X$x" = "X-L$found_dir"; then
14941 if test -z "$haveit"; then
14942 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14944 if test "$acl_hardcode_minus_L" != no; then
14945 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14947 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14953 if test "X$found_a" != "X"; then
14954 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14956 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14959 additional_includedir=
14960 case "$found_dir" in
14961 */$acl_libdirstem | */$acl_libdirstem/)
14962 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14963 LIBICONV_PREFIX="$basedir"
14964 additional_includedir="$basedir/include"
14967 if test "X$additional_includedir" != "X"; then
14968 if test "X$additional_includedir" != "X/usr/include"; then
14970 if test "X$additional_includedir" = "X/usr/local/include"; then
14971 if test -n "$GCC"; then
14973 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14977 if test -z "$haveit"; then
14978 for x in $CPPFLAGS $INCICONV; do
14980 acl_save_prefix="$prefix"
14981 prefix="$acl_final_prefix"
14982 acl_save_exec_prefix="$exec_prefix"
14983 exec_prefix="$acl_final_exec_prefix"
14985 exec_prefix="$acl_save_exec_prefix"
14986 prefix="$acl_save_prefix"
14988 if test "X$x" = "X-I$additional_includedir"; then
14993 if test -z "$haveit"; then
14994 if test -d "$additional_includedir"; then
14995 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15001 if test -n "$found_la"; then
15002 save_libdir="$libdir"
15003 case "$found_la" in
15004 */* | *\\*) . "$found_la" ;;
15005 *) . "./$found_la" ;;
15007 libdir="$save_libdir"
15008 for dep in $dependency_libs; do
15011 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15012 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15014 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15015 if test -n "$GCC"; then
15017 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15021 if test -z "$haveit"; then
15023 for x in $LDFLAGS $LIBICONV; do
15025 acl_save_prefix="$prefix"
15026 prefix="$acl_final_prefix"
15027 acl_save_exec_prefix="$exec_prefix"
15028 exec_prefix="$acl_final_exec_prefix"
15030 exec_prefix="$acl_save_exec_prefix"
15031 prefix="$acl_save_prefix"
15033 if test "X$x" = "X-L$additional_libdir"; then
15038 if test -z "$haveit"; then
15039 if test -d "$additional_libdir"; then
15040 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15044 for x in $LDFLAGS $LTLIBICONV; do
15046 acl_save_prefix="$prefix"
15047 prefix="$acl_final_prefix"
15048 acl_save_exec_prefix="$exec_prefix"
15049 exec_prefix="$acl_final_exec_prefix"
15051 exec_prefix="$acl_save_exec_prefix"
15052 prefix="$acl_save_prefix"
15054 if test "X$x" = "X-L$additional_libdir"; then
15059 if test -z "$haveit"; then
15060 if test -d "$additional_libdir"; then
15061 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15068 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15069 if test "$enable_rpath" != no; then
15071 for x in $rpathdirs; do
15072 if test "X$x" = "X$dir"; then
15077 if test -z "$haveit"; then
15078 rpathdirs="$rpathdirs $dir"
15081 for x in $ltrpathdirs; do
15082 if test "X$x" = "X$dir"; then
15087 if test -z "$haveit"; then
15088 ltrpathdirs="$ltrpathdirs $dir"
15093 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15096 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15099 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15100 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15106 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15107 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15113 if test "X$rpathdirs" != "X"; then
15114 if test -n "$acl_hardcode_libdir_separator"; then
15116 for found_dir in $rpathdirs; do
15117 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15119 acl_save_libdir="$libdir"
15121 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15122 libdir="$acl_save_libdir"
15123 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15125 for found_dir in $rpathdirs; do
15126 acl_save_libdir="$libdir"
15127 libdir="$found_dir"
15128 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15129 libdir="$acl_save_libdir"
15130 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15134 if test "X$ltrpathdirs" != "X"; then
15135 for found_dir in $ltrpathdirs; do
15136 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15146 am_save_CPPFLAGS="$CPPFLAGS"
15148 for element in $INCICONV; do
15150 for x in $CPPFLAGS; do
15152 acl_save_prefix="$prefix"
15153 prefix="$acl_final_prefix"
15154 acl_save_exec_prefix="$exec_prefix"
15155 exec_prefix="$acl_final_exec_prefix"
15157 exec_prefix="$acl_save_exec_prefix"
15158 prefix="$acl_save_prefix"
15160 if test "X$x" = "X$element"; then
15165 if test -z "$haveit"; then
15166 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15172 $as_echo_n "checking for iconv... " >&6; }
15173 if test "${am_cv_func_iconv+set}" = set; then :
15174 $as_echo_n "(cached) " >&6
15177 am_cv_func_iconv="no, consider installing GNU libiconv"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 #include <stdlib.h>
15186 iconv_t cd = iconv_open("","");
15187 iconv(cd,NULL,NULL,NULL,NULL);
15193 if ac_fn_c_try_link "$LINENO"; then :
15194 am_cv_func_iconv=yes
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 if test "$am_cv_func_iconv" != yes; then
15199 am_save_LIBS="$LIBS"
15200 LIBS="$LIBS $LIBICONV"
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15203 #include <stdlib.h>
15208 iconv_t cd = iconv_open("","");
15209 iconv(cd,NULL,NULL,NULL,NULL);
15215 if ac_fn_c_try_link "$LINENO"; then :
15216 am_cv_lib_iconv=yes
15217 am_cv_func_iconv=yes
15219 rm -f core conftest.err conftest.$ac_objext \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS="$am_save_LIBS"
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15226 $as_echo "$am_cv_func_iconv" >&6; }
15227 if test "$am_cv_func_iconv" = yes; then
15228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15229 $as_echo_n "checking for working iconv... " >&6; }
15230 if test "${am_cv_func_iconv_works+set}" = set; then :
15231 $as_echo_n "(cached) " >&6
15234 am_save_LIBS="$LIBS"
15235 if test $am_cv_lib_iconv = yes; then
15236 LIBS="$LIBS $LIBICONV"
15238 if test "$cross_compiling" = yes; then :
15240 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15241 *) am_cv_func_iconv_works="guessing yes" ;;
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15248 #include <string.h>
15251 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15254 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15255 if (cd_utf8_to_88591 != (iconv_t)(-1))
15257 static const char input[] = "\342\202\254"; /* EURO SIGN */
15259 const char *inptr = input;
15260 size_t inbytesleft = strlen (input);
15261 char *outptr = buf;
15262 size_t outbytesleft = sizeof (buf);
15263 size_t res = iconv (cd_utf8_to_88591,
15264 (char **) &inptr, &inbytesleft,
15265 &outptr, &outbytesleft);
15270 #if 0 /* This bug could be worked around by the caller. */
15271 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15273 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15274 if (cd_88591_to_utf8 != (iconv_t)(-1))
15276 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15278 const char *inptr = input;
15279 size_t inbytesleft = strlen (input);
15280 char *outptr = buf;
15281 size_t outbytesleft = sizeof (buf);
15282 size_t res = iconv (cd_88591_to_utf8,
15283 (char **) &inptr, &inbytesleft,
15284 &outptr, &outbytesleft);
15290 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15292 if (/* Try standardized names. */
15293 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15294 /* Try IRIX, OSF/1 names. */
15295 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15296 /* Try AIX names. */
15297 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15298 /* Try HP-UX names. */
15299 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15304 if ac_fn_c_try_run "$LINENO"; then :
15305 am_cv_func_iconv_works=yes
15307 am_cv_func_iconv_works=no
15309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15310 conftest.$ac_objext conftest.beam conftest.$ac_ext
15313 LIBS="$am_save_LIBS"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15317 $as_echo "$am_cv_func_iconv_works" >&6; }
15318 case "$am_cv_func_iconv_works" in
15319 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15320 *) am_func_iconv=yes ;;
15323 am_func_iconv=no am_cv_lib_iconv=no
15325 if test "$am_func_iconv" = yes; then
15327 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15330 if test "$am_cv_lib_iconv" = yes; then
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15332 $as_echo_n "checking how to link with libiconv... " >&6; }
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15334 $as_echo "$LIBICONV" >&6; }
15336 CPPFLAGS="$am_save_CPPFLAGS"
15343 if test "$am_cv_func_iconv" = yes; then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15345 $as_echo_n "checking for iconv declaration... " >&6; }
15346 if test "${am_cv_proto_iconv+set}" = set; then :
15347 $as_echo_n "(cached) " >&6
15350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15353 #include <stdlib.h>
15359 #if defined(__STDC__) || defined(__cplusplus)
15360 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15373 if ac_fn_c_try_compile "$LINENO"; then :
15374 am_cv_proto_iconv_arg1=""
15376 am_cv_proto_iconv_arg1="const"
15378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15379 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);"
15382 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15384 }$am_cv_proto_iconv" >&5
15386 }$am_cv_proto_iconv" >&6; }
15388 cat >>confdefs.h <<_ACEOF
15389 #define ICONV_CONST $am_cv_proto_iconv_arg1
15395 ac_cpp='$CXXCPP $CPPFLAGS'
15396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15400 case $am_cv_func_iconv in #(
15404 as_fn_error "You need iconv" "$LINENO" 5 ;;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15409 $as_echo_n "checking for WEBKIT... " >&6; }
15411 if test -n "$PKG_CONFIG"; then
15412 if test -n "$WEBKIT_CFLAGS"; then
15413 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15415 if test -n "$PKG_CONFIG" && \
15416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15417 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420 test $ac_status = 0; }; then
15421 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15429 if test -n "$PKG_CONFIG"; then
15430 if test -n "$WEBKIT_LIBS"; then
15431 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15433 if test -n "$PKG_CONFIG" && \
15434 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15435 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15438 test $ac_status = 0; }; then
15439 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15450 if test $pkg_failed = yes; then
15452 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15453 _pkg_short_errors_supported=yes
15455 _pkg_short_errors_supported=no
15457 if test $_pkg_short_errors_supported = yes; then
15458 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15460 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15462 # Put the nasty error message in config.log where it belongs
15463 echo "$WEBKIT_PKG_ERRORS" >&5
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15466 $as_echo "no" >&6; }
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15471 $as_echo_n "checking for WEBKIT... " >&6; }
15473 if test -n "$PKG_CONFIG"; then
15474 if test -n "$WEBKIT_CFLAGS"; then
15475 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15477 if test -n "$PKG_CONFIG" && \
15478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15479 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15482 test $ac_status = 0; }; then
15483 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15491 if test -n "$PKG_CONFIG"; then
15492 if test -n "$WEBKIT_LIBS"; then
15493 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15495 if test -n "$PKG_CONFIG" && \
15496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15497 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15500 test $ac_status = 0; }; then
15501 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15512 if test $pkg_failed = yes; then
15514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15515 _pkg_short_errors_supported=yes
15517 _pkg_short_errors_supported=no
15519 if test $_pkg_short_errors_supported = yes; then
15520 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15522 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15524 # Put the nasty error message in config.log where it belongs
15525 echo "$WEBKIT_PKG_ERRORS" >&5
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15528 $as_echo "no" >&6; }
15530 elif test $pkg_failed = untried; then
15533 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15534 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15536 $as_echo "yes" >&6; }
15540 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15542 for x in $CXXFLAGS; do
15544 acl_save_prefix="$prefix"
15545 prefix="$acl_final_prefix"
15546 acl_save_exec_prefix="$exec_prefix"
15547 exec_prefix="$acl_final_exec_prefix"
15549 exec_prefix="$acl_save_exec_prefix"
15550 prefix="$acl_save_prefix"
15552 if test "X$x" = "X$element"; then
15557 if test -z "$haveit"; then
15558 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15563 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15567 acl_save_prefix="$prefix"
15568 prefix="$acl_final_prefix"
15569 acl_save_exec_prefix="$exec_prefix"
15570 exec_prefix="$acl_final_exec_prefix"
15572 exec_prefix="$acl_save_exec_prefix"
15573 prefix="$acl_save_prefix"
15575 if test "X$x" = "X$element"; then
15580 if test -z "$haveit"; then
15581 LIBS="${LIBS}${LIBS:+ }$element"
15588 elif test $pkg_failed = untried; then
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15593 $as_echo_n "checking for WEBKIT... " >&6; }
15595 if test -n "$PKG_CONFIG"; then
15596 if test -n "$WEBKIT_CFLAGS"; then
15597 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15599 if test -n "$PKG_CONFIG" && \
15600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15601 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15604 test $ac_status = 0; }; then
15605 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15613 if test -n "$PKG_CONFIG"; then
15614 if test -n "$WEBKIT_LIBS"; then
15615 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15617 if test -n "$PKG_CONFIG" && \
15618 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15619 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15622 test $ac_status = 0; }; then
15623 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15634 if test $pkg_failed = yes; then
15636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15637 _pkg_short_errors_supported=yes
15639 _pkg_short_errors_supported=no
15641 if test $_pkg_short_errors_supported = yes; then
15642 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15644 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15646 # Put the nasty error message in config.log where it belongs
15647 echo "$WEBKIT_PKG_ERRORS" >&5
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15650 $as_echo "no" >&6; }
15652 elif test $pkg_failed = untried; then
15655 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15656 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15658 $as_echo "yes" >&6; }
15662 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15664 for x in $CXXFLAGS; do
15666 acl_save_prefix="$prefix"
15667 prefix="$acl_final_prefix"
15668 acl_save_exec_prefix="$exec_prefix"
15669 exec_prefix="$acl_final_exec_prefix"
15671 exec_prefix="$acl_save_exec_prefix"
15672 prefix="$acl_save_prefix"
15674 if test "X$x" = "X$element"; then
15679 if test -z "$haveit"; then
15680 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15685 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15689 acl_save_prefix="$prefix"
15690 prefix="$acl_final_prefix"
15691 acl_save_exec_prefix="$exec_prefix"
15692 exec_prefix="$acl_final_exec_prefix"
15694 exec_prefix="$acl_save_exec_prefix"
15695 prefix="$acl_save_prefix"
15697 if test "X$x" = "X$element"; then
15702 if test -z "$haveit"; then
15703 LIBS="${LIBS}${LIBS:+ }$element"
15711 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15712 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15714 $as_echo "yes" >&6; }
15718 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15720 for x in $CXXFLAGS; do
15722 acl_save_prefix="$prefix"
15723 prefix="$acl_final_prefix"
15724 acl_save_exec_prefix="$exec_prefix"
15725 exec_prefix="$acl_final_exec_prefix"
15727 exec_prefix="$acl_save_exec_prefix"
15728 prefix="$acl_save_prefix"
15730 if test "X$x" = "X$element"; then
15735 if test -z "$haveit"; then
15736 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15741 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15745 acl_save_prefix="$prefix"
15746 prefix="$acl_final_prefix"
15747 acl_save_exec_prefix="$exec_prefix"
15748 exec_prefix="$acl_final_exec_prefix"
15750 exec_prefix="$acl_save_exec_prefix"
15751 prefix="$acl_save_prefix"
15753 if test "X$x" = "X$element"; then
15758 if test -z "$haveit"; then
15759 LIBS="${LIBS}${LIBS:+ }$element"
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
15773 $as_echo_n "checking for LIBFFI... " >&6; }
15775 if test -n "$PKG_CONFIG"; then
15776 if test -n "$LIBFFI_CFLAGS"; then
15777 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
15779 if test -n "$PKG_CONFIG" && \
15780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15781 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15784 test $ac_status = 0; }; then
15785 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
15793 if test -n "$PKG_CONFIG"; then
15794 if test -n "$LIBFFI_LIBS"; then
15795 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
15797 if test -n "$PKG_CONFIG" && \
15798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
15799 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
15801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15802 test $ac_status = 0; }; then
15803 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
15814 if test $pkg_failed = yes; then
15816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15817 _pkg_short_errors_supported=yes
15819 _pkg_short_errors_supported=no
15821 if test $_pkg_short_errors_supported = yes; then
15822 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
15824 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
15826 # Put the nasty error message in config.log where it belongs
15827 echo "$LIBFFI_PKG_ERRORS" >&5
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15830 $as_echo "no" >&6; }
15832 for ac_header in ffi.h ffi/ffi.h
15834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15835 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15836 eval as_val=\$$as_ac_Header
15837 if test "x$as_val" = x""yes; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15846 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
15848 as_fn_error "You need libffi" "$LINENO" 5
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15852 $as_echo_n "checking for library containing ffi_call... " >&6; }
15853 if test "${ac_cv_search_ffi_call+set}" = set; then :
15854 $as_echo_n "(cached) " >&6
15856 ac_func_search_save_LIBS=$LIBS
15857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858 /* end confdefs.h. */
15860 /* Override any GCC internal prototype to avoid an error.
15861 Use char because int might match the return type of a GCC
15862 builtin and then its argument prototype would still apply. */
15870 return ffi_call ();
15875 for ac_lib in '' ffi; do
15876 if test -z "$ac_lib"; then
15877 ac_res="none required"
15880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15882 if ac_fn_cxx_try_link "$LINENO"; then :
15883 ac_cv_search_ffi_call=$ac_res
15885 rm -f core conftest.err conftest.$ac_objext \
15887 if test "${ac_cv_search_ffi_call+set}" = set; then :
15891 if test "${ac_cv_search_ffi_call+set}" = set; then :
15894 ac_cv_search_ffi_call=no
15896 rm conftest.$ac_ext
15897 LIBS=$ac_func_search_save_LIBS
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15900 $as_echo "$ac_cv_search_ffi_call" >&6; }
15901 ac_res=$ac_cv_search_ffi_call
15902 if test "$ac_res" != no; then :
15903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15907 case $ac_cv_search_ffi_call in #(
15910 as_fn_error "You need libffi" "$LINENO" 5
15916 elif test $pkg_failed = untried; then
15918 for ac_header in ffi.h ffi/ffi.h
15920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15921 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15922 eval as_val=\$$as_ac_Header
15923 if test "x$as_val" = x""yes; then :
15924 cat >>confdefs.h <<_ACEOF
15925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15932 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
15934 as_fn_error "You need libffi" "$LINENO" 5
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
15938 $as_echo_n "checking for library containing ffi_call... " >&6; }
15939 if test "${ac_cv_search_ffi_call+set}" = set; then :
15940 $as_echo_n "(cached) " >&6
15942 ac_func_search_save_LIBS=$LIBS
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15946 /* Override any GCC internal prototype to avoid an error.
15947 Use char because int might match the return type of a GCC
15948 builtin and then its argument prototype would still apply. */
15956 return ffi_call ();
15961 for ac_lib in '' ffi; do
15962 if test -z "$ac_lib"; then
15963 ac_res="none required"
15966 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15968 if ac_fn_cxx_try_link "$LINENO"; then :
15969 ac_cv_search_ffi_call=$ac_res
15971 rm -f core conftest.err conftest.$ac_objext \
15973 if test "${ac_cv_search_ffi_call+set}" = set; then :
15977 if test "${ac_cv_search_ffi_call+set}" = set; then :
15980 ac_cv_search_ffi_call=no
15982 rm conftest.$ac_ext
15983 LIBS=$ac_func_search_save_LIBS
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
15986 $as_echo "$ac_cv_search_ffi_call" >&6; }
15987 ac_res=$ac_cv_search_ffi_call
15988 if test "$ac_res" != no; then :
15989 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15993 case $ac_cv_search_ffi_call in #(
15996 as_fn_error "You need libffi" "$LINENO" 5
16003 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16004 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16006 $as_echo "yes" >&6; }
16009 for element in `$PKG_CONFIG --cflags libffi
`; do
16011 for x in $CXXFLAGS; do
16013 acl_save_prefix="$prefix"
16014 prefix="$acl_final_prefix"
16015 acl_save_exec_prefix="$exec_prefix"
16016 exec_prefix="$acl_final_exec_prefix"
16018 exec_prefix="$acl_save_exec_prefix"
16019 prefix="$acl_save_prefix"
16021 if test "X$x" = "X$element"; then
16026 if test -z "$haveit"; then
16027 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16032 for element in `$PKG_CONFIG --libs libffi
`; do
16036 acl_save_prefix="$prefix"
16037 prefix="$acl_final_prefix"
16038 acl_save_exec_prefix="$exec_prefix"
16039 exec_prefix="$acl_final_exec_prefix"
16041 exec_prefix="$acl_save_exec_prefix"
16042 prefix="$acl_save_prefix"
16044 if test "X$x" = "X$element"; then
16049 if test -z "$haveit"; then
16050 LIBS="${LIBS}${LIBS:+ }$element"
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
16060 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
16064 ac_cpp='$OBJCXXCPP $CPPFLAGS'
16065 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16066 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16067 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
16068 if test -n "$ac_tool_prefix"; then
16069 for ac_prog in g++ objc++ objcxx c++ CXX
16071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16074 $as_echo_n "checking for $ac_word... " >&6; }
16075 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
16076 $as_echo_n "(cached) " >&6
16078 if test -n "$OBJCXX"; then
16079 ac_cv_prog_OBJCXX="$OBJCXX" # Let the user override the test.
16081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16082 for as_dir in $PATH
16085 test -z "$as_dir" && as_dir=.
16086 for ac_exec_ext in '' $ac_executable_extensions; do
16087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16088 ac_cv_prog_OBJCXX="$ac_tool_prefix$ac_prog"
16089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16098 OBJCXX=$ac_cv_prog_OBJCXX
16099 if test -n "$OBJCXX"; then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
16101 $as_echo "$OBJCXX" >&6; }
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16104 $as_echo "no" >&6; }
16108 test -n "$OBJCXX" && break
16111 if test -z "$OBJCXX"; then
16112 ac_ct_OBJCXX=$OBJCXX
16113 for ac_prog in g++ objc++ objcxx c++ CXX
16115 # Extract the first word of "$ac_prog", so it can be a program name with args.
16116 set dummy $ac_prog; ac_word=$2
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16118 $as_echo_n "checking for $ac_word... " >&6; }
16119 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
16120 $as_echo_n "(cached) " >&6
16122 if test -n "$ac_ct_OBJCXX"; then
16123 ac_cv_prog_ac_ct_OBJCXX="$ac_ct_OBJCXX" # Let the user override the test.
16125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16126 for as_dir in $PATH
16129 test -z "$as_dir" && as_dir=.
16130 for ac_exec_ext in '' $ac_executable_extensions; do
16131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16132 ac_cv_prog_ac_ct_OBJCXX="$ac_prog"
16133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16142 ac_ct_OBJCXX=$ac_cv_prog_ac_ct_OBJCXX
16143 if test -n "$ac_ct_OBJCXX"; then
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
16145 $as_echo "$ac_ct_OBJCXX" >&6; }
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16148 $as_echo "no" >&6; }
16152 test -n "$ac_ct_OBJCXX" && break
16155 if test "x$ac_ct_OBJCXX" = x; then
16158 case $cross_compiling:$ac_tool_warned in
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16162 ac_tool_warned=yes ;;
16164 OBJCXX=$ac_ct_OBJCXX
16168 # Provide some information about the compiler.
16169 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
16172 for ac_option in --version -v -V -qversion; do
16173 { { ac_try="$ac_compiler $ac_option >&5"
16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16176 *) ac_try_echo
=$ac_try;;
16178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16179 $as_echo "$ac_try_echo"; } >&5
16180 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16182 if test -s conftest.err
; then
16184 ... rest of stderr output deleted ...
16185 10q' conftest.err
>conftest.er1
16186 cat conftest.er1
>&5
16188 rm -f conftest.er1 conftest.err
16189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16190 test $ac_status = 0; }
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
16194 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
16195 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
16196 $as_echo_n "(cached) " >&6
16198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16212 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16213 ac_compiler_gnu
=yes
16217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16218 ac_cv_objcxx_compiler_gnu
=$ac_compiler_gnu
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
16222 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
16223 if test $ac_compiler_gnu = yes; then
16228 ac_test_OBJCXXFLAGS
=${OBJCXXFLAGS+set}
16229 ac_save_OBJCXXFLAGS
=$OBJCXXFLAGS
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
16231 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
16232 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
16233 $as_echo_n "(cached) " >&6
16235 ac_save_objcxx_werror_flag
=$ac_objcxx_werror_flag
16236 ac_objcxx_werror_flag
=yes
16237 ac_cv_prog_objcxx_g
=no
16239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16250 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16251 ac_cv_prog_objcxx_g
=yes
16254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16265 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16268 ac_objcxx_werror_flag
=$ac_save_objcxx_werror_flag
16270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16281 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16282 ac_cv_prog_objcxx_g
=yes
16284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16289 ac_objcxx_werror_flag
=$ac_save_objcx_werror_flag
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
16292 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
16293 if test "$ac_test_OBJCXXFLAGS" = set; then
16294 OBJCXXFLAGS
=$ac_save_OBJCXXFLAGS
16295 elif test $ac_cv_prog_objcxx_g = yes; then
16296 if test "$GOBJCXX" = yes; then
16297 OBJCXXFLAGS
="-g -O2"
16302 if test "$GOBJCXX" = yes; then
16309 ac_cpp
='$CXXCPP $CPPFLAGS'
16310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16315 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16316 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
16321 $as_echo_n "checking if we really have Objective C++... " >&6; }
16323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16324 /* end confdefs.h. */
16326 // This space intentionally left blank
16329 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16333 $as_echo "yes" >&6; }
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16337 $as_echo "no" >&6; }
16339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16341 ac_cpp
='$CXXCPP $CPPFLAGS'
16342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16346 if test "x$CY_OBJECTIVEC" = x1
; then :
16349 for ac_prog
in gnustep
-config
16351 # Extract the first word of "$ac_prog", so it can be a program name with args.
16352 set dummy
$ac_prog; ac_word
=$2
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16354 $as_echo_n "checking for $ac_word... " >&6; }
16355 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
16356 $as_echo_n "(cached) " >&6
16358 if test -n "$GNUSTEP_CONFIG"; then
16359 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
16361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16362 for as_dir
in $PATH
16365 test -z "$as_dir" && as_dir
=.
16366 for ac_exec_ext
in '' $ac_executable_extensions; do
16367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16368 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
16369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16378 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
16379 if test -n "$GNUSTEP_CONFIG"; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
16381 $as_echo "$GNUSTEP_CONFIG" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16388 test -n "$GNUSTEP_CONFIG" && break
16391 if test "x$GNUSTEP_CONFIG" != x
; then :
16395 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
16397 for x
in $OBJCXXFLAGS; do
16399 acl_save_prefix
="$prefix"
16400 prefix
="$acl_final_prefix"
16401 acl_save_exec_prefix
="$exec_prefix"
16402 exec_prefix
="$acl_final_exec_prefix"
16404 exec_prefix
="$acl_save_exec_prefix"
16405 prefix
="$acl_save_prefix"
16407 if test "X$x" = "X$element"; then
16412 if test -z "$haveit"; then
16413 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
16418 for element
in `$GNUSTEP_CONFIG --base-libs`; do
16422 acl_save_prefix
="$prefix"
16423 prefix
="$acl_final_prefix"
16424 acl_save_exec_prefix
="$exec_prefix"
16425 exec_prefix
="$acl_final_exec_prefix"
16427 exec_prefix
="$acl_save_exec_prefix"
16428 prefix
="$acl_save_prefix"
16430 if test "X$x" = "X$element"; then
16435 if test -z "$haveit"; then
16436 LIBS
="${LIBS}${LIBS:+ }$element"
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
16445 $as_echo_n "checking for GNU make... " >&6; }
16446 if test "${_cv_gnu_make_command+set}" = set; then :
16447 $as_echo_n "(cached) " >&6
16449 _cv_gnu_make_command
='' ;
16450 for a
in "$MAKE" make gmake gnumake
; do
16451 if test -z "$a" ; then continue ; fi ;
16452 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
16453 _cv_gnu_make_command
=$a ;
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
16460 $as_echo "$_cv_gnu_make_command" >&6; } ;
16461 if test "x$_cv_gnu_make_command" != "x" ; then
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
16466 $as_echo "\"Not found\"" >&6; };
16470 if test "x$_cv_gnu_make_command" = x
; then :
16471 as_fn_error
"You need GNU make" "$LINENO" 5
16473 ac_config_files
="$ac_config_files GNUmakefile"
16475 cat >confcache
<<\_ACEOF
16476 # This file is a shell script that caches the results of configure
16477 # tests run on this system so they can be shared between configure
16478 # scripts and configure runs, see configure's option --config-cache.
16479 # It is not useful on other systems. If it contains results you don't
16480 # want to keep, you may remove or edit it.
16482 # config.status only pays attention to the cache file if you give it
16483 # the --recheck option to rerun configure.
16485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16487 # following values.
16491 # The following way of writing the cache mishandles newlines in values,
16492 # but we know of no workaround that is simple, portable, and efficient.
16493 # So, we kill variables containing newlines.
16494 # Ultrix sh set writes to stderr and can't be redirected directly,
16495 # and sets the high bit in the cache file unless we assign to the vars.
16497 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16498 eval ac_val
=\$
$ac_var
16502 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16506 _
| IFS
| as_nl
) ;; #(
16507 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16508 *) { eval $ac_var=; unset $ac_var;} ;;
16514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16515 *${as_nl}ac_space
=\
*)
16516 # `set' does not quote correctly, so add quotes: double-quote
16517 # substitution turns \\\\ into \\, and sed turns \\ into \.
16520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16523 # `set' quotes correctly as required by POSIX, so do not add quotes.
16524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16537 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16538 if test -w "$cache_file"; then
16539 test "x$cache_file" != "x/dev/null" &&
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16541 $as_echo "$as_me: updating cache $cache_file" >&6;}
16542 cat confcache
>$cache_file
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16545 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16550 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16551 # Let make expand exec_prefix.
16552 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16554 # Transform confdefs.h into DEFS.
16555 # Protect against shell expansion while executing Makefile rules.
16556 # Protect against Makefile macro expansion.
16558 # If the first sed substitution is executed (which looks for macros that
16559 # take arguments), then branch to the quote section. Otherwise,
16560 # look for a macro that doesn't take arguments.
16570 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
16572 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
16576 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16589 DEFS
=`sed -n "$ac_script" confdefs.h`
16594 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16595 # 1. Remove the extension, and $U if already installed.
16596 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16597 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16598 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16599 # will be set to the directory where LIBOBJS objects are built.
16600 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16601 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16603 LIBOBJS
=$ac_libobjs
16605 LTLIBOBJS
=$ac_ltlibobjs
16609 : ${CONFIG_STATUS=./config.status}
16611 ac_clean_files_save
=$ac_clean_files
16612 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16614 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16616 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16618 # Generated by $as_me.
16619 # Run this file to recreate the current configuration.
16620 # Compiler output produced by configure, useful for debugging
16621 # configure, is in config.log if it exists.
16624 ac_cs_recheck=false
16627 SHELL=\${CONFIG_SHELL-$SHELL}
16630 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
16631 ## -------------------- ##
16632 ## M4sh Initialization. ##
16633 ## -------------------- ##
16635 # Be more Bourne compatible
16636 DUALCASE
=1; export DUALCASE
# for MKS sh
16637 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16640 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16641 # is contrary to our usage. Disable this feature.
16642 alias -g '${1+"$@"}'='"$@"'
16643 setopt NO_GLOB_SUBST
16645 case `(set -o) 2>/dev/null` in #(
16657 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16658 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16661 # Prefer a ksh shell builtin over an external printf program on Solaris,
16662 # but without wasting forks for bash or zsh.
16663 if test -z "$BASH_VERSION$ZSH_VERSION" \
16664 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16665 as_echo='print
-r --'
16666 as_echo_n='print
-rn --'
16667 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16668 as_echo='printf %s
\n'
16669 as_echo_n='printf %s
'
16671 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16672 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16673 as_echo_n='/usr
/ucb
/echo -n'
16675 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16676 as_echo_n_body='eval
16680 expr "X$arg" : "X\\(.*\\)$as_nl";
16681 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16683 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16685 export as_echo_n_body
16686 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16688 export as_echo_body
16689 as_echo='sh
-c $as_echo_body as_echo
'
16692 # The user is always right.
16693 if test "${PATH_SEPARATOR+set}" != set; then
16695 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16696 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16703 # We need space, tab and new line, in precisely that order. Quoting is
16704 # there to prevent editors from complaining about space-tab.
16705 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16706 # splitting by setting IFS to empty value.)
16709 # Find who we are. Look in the path if we contain no directory separator.
16711 *[\\/]* ) as_myself=$0 ;;
16712 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16713 for as_dir in $PATH
16716 test -z "$as_dir" && as_dir=.
16717 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16723 # We did not find ourselves, most probably we were run as `sh COMMAND'
16724 # in which case we are not to be found in the path.
16725 if test "x$as_myself" = x
; then
16728 if test ! -f "$as_myself"; then
16729 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16733 # Unset variables that we do not need and which cause bugs (e.g. in
16734 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16735 # suppresses any "Segmentation fault" message there. '((' could
16736 # trigger a bug in pdksh 5.2.14.
16737 for as_var
in BASH_ENV ENV MAIL MAILPATH
16738 do eval test x\
${$as_var+set} = xset \
16739 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
16752 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16755 # as_fn_error ERROR [LINENO LOG_FD]
16756 # ---------------------------------
16757 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16758 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16759 # script with status $?, using 1 if that was 0.
16762 as_status
=$?
; test $as_status -eq 0 && as_status
=1
16764 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16765 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16767 $as_echo "$as_me: error: $1" >&2
16768 as_fn_exit
$as_status
16772 # as_fn_set_status STATUS
16773 # -----------------------
16774 # Set $? to STATUS, without forking.
16775 as_fn_set_status
()
16778 } # as_fn_set_status
16780 # as_fn_exit STATUS
16781 # -----------------
16782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16786 as_fn_set_status
$1
16792 # Portably unset VAR.
16795 { eval $1=; unset $1;}
16797 as_unset
=as_fn_unset
16798 # as_fn_append VAR VALUE
16799 # ----------------------
16800 # Append the text in VALUE to the end of the definition contained in VAR. Take
16801 # advantage of any shell optimizations that allow amortized linear growth over
16802 # repeated appends, instead of the typical quadratic growth present in naive
16804 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16805 eval 'as_fn_append ()
16816 # as_fn_arith ARG...
16817 # ------------------
16818 # Perform arithmetic evaluation on the ARGs, and store the result in the
16819 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16820 # must be portable across $(()) and expr.
16821 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16822 eval 'as_fn_arith ()
16829 as_val
=`expr "$@" || test $? -eq 1`
16834 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16835 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16841 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16842 as_basename
=basename
16847 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16853 as_me
=`$as_basename -- "$0" ||
16854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16855 X"$0" : 'X\(//\)$' \| \
16856 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16858 sed '/^.*\/\([^/][^/]*\)\/*$/{
16872 # Avoid depending upon Character Ranges.
16873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16876 as_cr_digits
='0123456789'
16877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16879 ECHO_C
= ECHO_N
= ECHO_T
=
16880 case `echo -n x` in #(((((
16882 case `echo 'xy\c'` in
16883 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16885 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16892 rm -f conf$$ conf$$.exe conf$$.
file
16893 if test -d conf$$.dir
; then
16894 rm -f conf$$.dir
/conf$$.
file
16897 mkdir conf$$.dir
2>/dev
/null
16899 if (echo >conf$$.
file) 2>/dev
/null
; then
16900 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16902 # ... but there are two gotchas:
16903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16905 # In both cases, we have to default to `cp -p'.
16906 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
16908 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16916 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16917 rmdir conf$$.dir
2>/dev
/null
16922 # Create "$as_dir" as a directory, including parents if necessary.
16927 -*) as_dir
=.
/$as_dir;;
16929 test -d "$as_dir" || eval $as_mkdir_p || {
16933 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16934 *) as_qdir
=$as_dir;;
16936 as_dirs
="'$as_qdir' $as_dirs"
16937 as_dir
=`$as_dirname -- "$as_dir" ||
16938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16939 X"$as_dir" : 'X\(//\)[^/]' \| \
16940 X"$as_dir" : 'X\(//\)$' \| \
16941 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16942 $as_echo X"$as_dir" |
16943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16947 /^X\(\/\/\)[^/].*/{
16960 test -d "$as_dir" && break
16962 test -z "$as_dirs" || eval "mkdir $as_dirs"
16963 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
16967 if mkdir -p .
2>/dev
/null
; then
16968 as_mkdir_p
='mkdir -p "$as_dir"'
16970 test -d .
/-p && rmdir .
/-p
16974 if test -x / >/dev
/null
2>&1; then
16975 as_test_x
='test -x'
16977 if ls -dL / >/dev
/null
2>&1; then
16984 if test -d "$1"; then
16990 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16991 ???[sx]*):;;*)false;;esac;fi
16995 as_executable_p
=$as_test_x
16997 # Sed expression to map a string onto a valid CPP name.
16998 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17000 # Sed expression to map a string onto a valid variable name.
17001 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17005 ## ----------------------------------- ##
17006 ## Main body of $CONFIG_STATUS script. ##
17007 ## ----------------------------------- ##
17009 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17011 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17012 # Save the log message, to keep $0 and so on meaningful, and to
17013 # report actual input values of CONFIG_FILES etc. instead of their
17014 # values after options handling.
17016 This file was extended by Cycript $as_me 0.9, which was
17017 generated by GNU Autoconf 2.65. Invocation command line was
17019 CONFIG_FILES = $CONFIG_FILES
17020 CONFIG_HEADERS = $CONFIG_HEADERS
17021 CONFIG_LINKS = $CONFIG_LINKS
17022 CONFIG_COMMANDS = $CONFIG_COMMANDS
17025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17030 case $ac_config_files in *"
17031 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17037 # Files that config.status was made for.
17038 config_files="$ac_config_files"
17039 config_commands="$ac_config_commands"
17043 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17045 \`$as_me' instantiates files and other configuration actions
17046 from templates according to the current configuration. Unless the files
17047 and actions are specified as TAGs, all are instantiated by default.
17049 Usage: $0 [OPTION]... [TAG]...
17051 -h, --help print this help, then exit
17052 -V, --version print version number and configuration settings, then exit
17053 --config print configuration, then exit
17054 -q, --quiet, --silent
17055 do not print progress messages
17056 -d, --debug don't remove temporary files
17057 --recheck update $as_me by reconfiguring in the same conditions
17058 --file=FILE[:TEMPLATE]
17059 instantiate the configuration file FILE
17061 Configuration files:
17064 Configuration commands:
17067 Report bugs to <saurik@saurik.com>.
17068 Cycript home page: <http://www.cycript.org/>."
17071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17072 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17074 Cycript config.status 0.9
17075 configured by $0, generated by GNU Autoconf 2.65,
17076 with options \\"\$ac_cs_config\\"
17078 Copyright (C) 2009 Free Software Foundation, Inc.
17079 This config.status script is free software; the Free Software Foundation
17080 gives unlimited permission to copy, distribute and modify it."
17086 test -n "\$AWK" || AWK=awk
17089 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17090 # The default lists apply if the user does not specify any file.
17096 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17097 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17108 # Handling of the options.
17109 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17111 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17112 $as_echo "$ac_cs_version"; exit ;;
17113 --config | --confi | --conf | --con | --co | --c )
17114 $as_echo "$ac_cs_config"; exit ;;
17115 --debug | --debu | --deb | --de | --d | -d )
17117 --file | --fil | --fi | --f )
17120 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17122 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17123 ac_need_defaults
=false
;;
17124 --he | --h | --help | --hel | -h )
17125 $as_echo "$ac_cs_usage"; exit ;;
17126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17127 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17130 # This is an error.
17131 -*) as_fn_error
"unrecognized option: \`$1'
17132 Try \`$0 --help' for more information." ;;
17134 *) as_fn_append ac_config_targets
" $1"
17135 ac_need_defaults
=false
;;
17141 ac_configure_extra_args
=
17143 if $ac_cs_silent; then
17145 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17150 if \$ac_cs_recheck; then
17151 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17154 CONFIG_SHELL='$SHELL'
17155 export CONFIG_SHELL
17160 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17165 ## Running $as_me. ##
17171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17177 # The HP-UX ksh and POSIX shell print the target directory to stdout
17178 # if CDPATH is set.
17179 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17181 sed_quote_subst='$sed_quote_subst'
17182 double_quote_subst='$double_quote_subst'
17183 delay_variable_subst='$delay_variable_subst'
17184 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17185 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17186 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17187 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17188 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17189 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17190 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17191 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17192 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17193 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17194 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17195 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17196 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17197 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17198 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17199 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17200 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17201 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17202 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17203 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17204 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17205 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17206 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17207 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17208 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17209 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17210 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17211 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17212 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17213 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17214 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17215 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17216 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17217 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17218 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17219 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17220 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17221 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17222 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17223 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17224 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17225 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17226 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17227 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17228 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"`'
17229 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"`'
17230 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17231 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17232 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17233 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17234 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17235 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17236 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17237 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17238 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17239 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17240 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17241 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17242 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17243 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17244 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17245 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17246 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17247 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17248 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17249 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17250 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17251 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17252 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17253 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17254 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17255 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17256 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17257 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17258 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17259 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17260 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17261 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17262 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17263 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17264 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17265 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17266 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17267 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17268 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17269 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17270 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17271 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17272 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17273 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17274 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17275 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17276 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17277 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17278 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17279 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17280 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17281 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17282 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17283 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17284 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17285 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17286 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17287 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17288 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17289 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17290 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17291 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17292 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17293 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17294 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17295 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17296 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17297 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17298 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17299 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17300 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17301 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17302 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17303 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17304 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17305 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17306 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17307 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17308 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17309 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17310 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17311 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17312 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17313 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17314 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17315 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17316 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17317 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17318 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17319 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17320 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17321 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17322 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17323 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17324 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17325 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17326 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17327 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17328 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17329 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17330 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17331 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17332 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17333 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17334 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17335 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17336 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17337 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17338 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17339 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17340 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17341 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17342 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17343 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17344 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17345 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17346 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17347 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17348 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17349 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17350 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17351 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17352 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17353 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17354 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17357 LTCFLAGS='$LTCFLAGS'
17358 compiler='$compiler_DEFAULT'
17360 # Quote evaled strings.
17372 deplibs_check_method \
17381 lt_cv_sys_global_symbol_pipe \
17382 lt_cv_sys_global_symbol_to_cdecl \
17383 lt_cv_sys_global_symbol_to_c_name_address \
17384 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17387 lt_prog_compiler_no_builtin_flag \
17388 lt_prog_compiler_wl \
17389 lt_prog_compiler_pic \
17390 lt_prog_compiler_static \
17391 lt_cv_prog_compiler_c_o \
17399 export_dynamic_flag_spec \
17400 whole_archive_flag_spec \
17401 compiler_needs_object \
17403 allow_undefined_flag \
17404 no_undefined_flag \
17405 hardcode_libdir_flag_spec \
17406 hardcode_libdir_flag_spec_ld \
17407 hardcode_libdir_separator \
17412 variables_saved_for_relink \
17414 library_names_spec \
17419 compiler_lib_search_dirs \
17424 compiler_lib_search_path \
17427 lt_prog_compiler_no_builtin_flag_CXX \
17428 lt_prog_compiler_wl_CXX \
17429 lt_prog_compiler_pic_CXX \
17430 lt_prog_compiler_static_CXX \
17431 lt_cv_prog_compiler_c_o_CXX \
17432 export_dynamic_flag_spec_CXX \
17433 whole_archive_flag_spec_CXX \
17434 compiler_needs_object_CXX \
17436 allow_undefined_flag_CXX \
17437 no_undefined_flag_CXX \
17438 hardcode_libdir_flag_spec_CXX \
17439 hardcode_libdir_flag_spec_ld_CXX \
17440 hardcode_libdir_separator_CXX \
17441 fix_srcfile_path_CXX \
17442 exclude_expsyms_CXX \
17443 include_expsyms_CXX \
17444 file_list_spec_CXX \
17445 compiler_lib_search_dirs_CXX \
17446 predep_objects_CXX \
17447 postdep_objects_CXX \
17450 compiler_lib_search_path_CXX; do
17451 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17452 *[\\\\\\\`\\"\\\$]*)
17453 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17456 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17461 # Double-quote double-evaled strings.
17462 for var in reload_cmds \
17463 old_postinstall_cmds \
17464 old_postuninstall_cmds \
17466 extract_expsyms_cmds \
17467 old_archive_from_new_cmds \
17468 old_archive_from_expsyms_cmds \
17470 archive_expsym_cmds \
17472 module_expsym_cmds \
17473 export_symbols_cmds \
17476 postuninstall_cmds \
17478 sys_lib_search_path_spec \
17479 sys_lib_dlsearch_path_spec \
17480 old_archive_cmds_CXX \
17481 old_archive_from_new_cmds_CXX \
17482 old_archive_from_expsyms_cmds_CXX \
17484 archive_expsym_cmds_CXX \
17486 module_expsym_cmds_CXX \
17487 export_symbols_cmds_CXX \
17488 prelink_cmds_CXX; do
17489 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17490 *[\\\\\\\`\\"\\\$]*)
17491 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17494 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17499 # Fix-up fallback echo if it was mangled by the above quoting rules.
17501 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17505 ac_aux_dir='$ac_aux_dir'
17506 xsi_shell='$xsi_shell'
17507 lt_shell_append='$lt_shell_append'
17509 # See if we are running on zsh, and set the options which allow our
17510 # commands through without removal of \ escapes INIT.
17511 if test -n "\${ZSH_VERSION+set}" ; then
17512 setopt NO_GLOB_SUBST
17518 TIMESTAMP='$TIMESTAMP'
17529 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17531 # Handling of arguments.
17532 for ac_config_target
in $ac_config_targets
17534 case $ac_config_target in
17535 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17536 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
17538 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17543 # If the user did not use the arguments to specify the items to instantiate,
17544 # then the envvar interface is used. Set only those that are not.
17545 # We use the long form for the default assignment because of an extremely
17546 # bizarre bug on SunOS 4.1.3.
17547 if $ac_need_defaults; then
17548 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17549 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17552 # Have a temporary directory for convenience. Make it in the build tree
17553 # simply because there is no reason against having it here, and in addition,
17554 # creating and moving files from /tmp can sometimes cause problems.
17555 # Hook for its removal unless debugging.
17556 # Note that there is a small window in which the directory will not be cleaned:
17557 # after its creation but before its name has been assigned to `$tmp'.
17561 trap 'exit_status=$?
17562 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17564 trap 'as_fn_exit 1' 1 2 13 15
17566 # Create a (secure) tmp directory for tmp files.
17569 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17570 test -n "$tmp" && test -d "$tmp"
17573 tmp
=.
/conf$$
-$RANDOM
17574 (umask 077 && mkdir "$tmp")
17575 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
17577 # Set up the scripts for CONFIG_FILES section.
17578 # No need to generate them if there are no CONFIG_FILES.
17579 # This happens for instance with `./config.status config.h'.
17580 if test -n "$CONFIG_FILES"; then
17583 ac_cr
=`echo X | tr X '\015'`
17584 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17585 # But we know of no other shell where ac_cr would be empty at this
17586 # point, so we can use a bashism as a fallback.
17587 if test "x$ac_cr" = x
; then
17588 eval ac_cr
=\$
\'\\r
\'
17590 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17591 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17594 ac_cs_awk_cr
=$ac_cr
17597 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17602 echo "cat >conf$$subs.awk <<_ACEOF" &&
17603 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17605 } >conf$$subs.sh ||
17606 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17607 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17609 for ac_last_try in false false false false false :; do
17610 . ./conf$$subs.sh ||
17611 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17613 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17614 if test $ac_delim_n = $ac_delim_num; then
17616 elif $ac_last_try; then
17617 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
17619 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17622 rm -f conf$$subs.sh
17624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17625 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17629 s/^/S["/; s
/!.
*/"]=/
17639 s/\(.\{148\}\)..*/\1/
17641 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17646 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17653 s/\(.\{148\}\)..*/\1/
17655 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17659 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17664 ' <conf$$subs.awk | sed '
17669 ' >>$CONFIG_STATUS || ac_write_fail=1
17670 rm -f conf$$subs.awk
17671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17673 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17674 for (key in S) S_is_set[key] = 1
17680 nfields = split(line, field, "@
")
17682 len = length(field[1])
17683 for (i = 2; i < nfields; i++) {
17685 keylen = length(key)
17686 if (S_is_set[key]) {
17688 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17689 len += length(value) + length(field[++i])
17700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17701 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17702 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17705 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17706 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
17709 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17710 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17711 # trailing colons and then remove the whole line if VPATH becomes empty
17712 # (actually we leave an empty line to preserve line numbers).
17713 if test "x
$srcdir" = x.; then
17714 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17715 s/:*\$(srcdir):*/:/
17716 s/:*\${srcdir}:*/:/
17718 s/^\([^=]*=[ ]*\):*/\1/
17724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17725 fi # test -n "$CONFIG_FILES"
17728 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
17733 :[FHLC]) ac_mode=$ac_tag; continue;;
17735 case $ac_mode$ac_tag in
17737 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
17738 :[FH]-) ac_tag=-:-;;
17739 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17756 -) ac_f="$tmp/stdin";;
17757 *) # Look for the file first in the build tree, then in the source tree
17758 # (if the path is not absolute). The absolute path cannot be DOS-style,
17759 # because $ac_f cannot contain `:'.
17763 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17765 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17767 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
17768 as_fn_append ac_file_inputs " '$ac_f'"
17771 # Let's still pretend it is `configure' which instantiates (i.e., don't
17772 # use $as_me), people would be surprised to read:
17773 # /* config.h. Generated by config.status. */
17774 configure_input='Generated from '`
17775 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17777 if test x"$ac_file" != x-; then
17778 configure_input="$ac_file.
$configure_input"
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
17780 $as_echo "$as_me: creating
$ac_file" >&6;}
17782 # Neutralize special characters interpreted by sed in replacement strings.
17783 case $configure_input in #(
17784 *\&* | *\|* | *\\* )
17785 ac_sed_conf_input=`$as_echo "$configure_input" |
17786 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17787 *) ac_sed_conf_input=$configure_input;;
17791 *:-:* | *:-) cat >"$tmp/stdin
" \
17792 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
17797 ac_dir=`$as_dirname -- "$ac_file" ||
17798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17799 X"$ac_file" : 'X\(//\)[^/]' \| \
17800 X"$ac_file" : 'X\(//\)$' \| \
17801 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17802 $as_echo X"$ac_file" |
17803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17807 /^X\(\/\/\)[^/].*/{
17820 as_dir="$ac_dir"; as_fn_mkdir_p
17824 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17826 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17827 # A "..
" for each directory in $ac_dir_suffix.
17828 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17829 case $ac_top_builddir_sub in
17830 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17831 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17834 ac_abs_top_builddir=$ac_pwd
17835 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17836 # for backward compatibility:
17837 ac_top_builddir=$ac_top_build_prefix
17840 .) # We are building in place.
17842 ac_top_srcdir=$ac_top_builddir_sub
17843 ac_abs_top_srcdir=$ac_pwd ;;
17844 [\\/]* | ?:[\\/]* ) # Absolute name.
17845 ac_srcdir=$srcdir$ac_dir_suffix;
17846 ac_top_srcdir=$srcdir
17847 ac_abs_top_srcdir=$srcdir ;;
17848 *) # Relative name.
17849 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17850 ac_top_srcdir=$ac_top_build_prefix$srcdir
17851 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17853 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17863 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17864 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17869 # If the template does not know about datarootdir, expand it.
17870 # FIXME: This hack should be removed a few years after 2.60.
17871 ac_datarootdir_hack=; ac_datarootdir_seen=
17882 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
17883 *datarootdir*) ac_datarootdir_seen=yes;;
17884 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
17886 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
17888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17889 ac_datarootdir_hack='
17890 s&@datadir@&$datadir&g
17891 s&@docdir@&$docdir&g
17892 s&@infodir@&$infodir&g
17893 s&@localedir@&$localedir&g
17894 s&@mandir@&$mandir&g
17895 s&\\\${datarootdir}&$datarootdir&g' ;;
17899 # Neutralize VPATH when `$srcdir' = `.'.
17900 # Shell code in configure.ac might set extrasub.
17901 # FIXME: do we really want to maintain this feature?
17902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17903 ac_sed_extra="$ac_vpsub
17906 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17908 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17909 s
|@configure_input@
|$ac_sed_conf_input|;t t
17910 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17911 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17912 s
&@srcdir@
&$ac_srcdir&;t t
17913 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17914 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17915 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17916 s
&@builddir@
&$ac_builddir&;t t
17917 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17918 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17919 s
&@INSTALL@
&$ac_INSTALL&;t t
17920 $ac_datarootdir_hack
17922 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17923 || as_fn_error "could not create
$ac_file" "$LINENO" 5
17925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17926 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17927 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17929 which seems to be undefined. Please make sure it is defined." >&5
17930 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17931 which seems to be undefined. Please make sure it is defined." >&2;}
17935 -) cat "$tmp/out" && rm -f "$tmp/out";;
17936 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17938 || as_fn_error "could not create $ac_file" "$LINENO" 5
17942 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17943 $as_echo "$as_me: executing $ac_file commands" >&6;}
17948 case $ac_file$ac_mode in
17951 # See if we are running on zsh, and set the options which allow our
17952 # commands through without removal of \ escapes.
17953 if test -n "${ZSH_VERSION+set}" ; then
17954 setopt NO_GLOB_SUBST
17957 cfgfile="${ofile}T"
17958 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17961 cat <<_LT_EOF >> "$cfgfile"
17964 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
17965 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17966 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17967 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17969 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17970 # 2006, 2007, 2008 Free Software Foundation, Inc.
17971 # Written by Gordon Matzigkeit, 1996
17973 # This file is part of GNU Libtool.
17975 # GNU Libtool is free software; you can redistribute it and/or
17976 # modify it under the terms of the GNU General Public License as
17977 # published by the Free Software Foundation; either version 2 of
17978 # the License, or (at your option) any later version.
17980 # As a special exception to the GNU General Public License,
17981 # if you distribute this file as part of a program or library that
17982 # is built using GNU Libtool, you may include this file under the
17983 # same distribution terms that you use for the rest of that program.
17985 # GNU Libtool is distributed in the hope that it will be useful,
17986 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17987 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17988 # GNU General Public License for more details.
17990 # You should have received a copy of the GNU General Public License
17991 # along with GNU Libtool; see the file COPYING. If not, a copy
17992 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17993 # obtained by writing to the Free Software Foundation, Inc.,
17994 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17997 # The names of the tagged configurations supported by this script.
17998 available_tags="CXX "
18000 # ### BEGIN LIBTOOL CONFIG
18002 # Which release of libtool.m4 was used?
18003 macro_version=$macro_version
18004 macro_revision=$macro_revision
18006 # Whether or not to build static libraries.
18007 build_old_libs=$enable_static
18009 # Whether or not to build shared libraries.
18010 build_libtool_libs=$enable_shared
18012 # What type of objects to build.
18015 # Whether or not to optimize for fast installation.
18016 fast_install=$enable_fast_install
18019 host_alias=$host_alias
18023 # The build system.
18024 build_alias=$build_alias
18028 # A sed program that does not truncate output.
18031 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18032 Xsed="\$SED -e 1s/^X//"
18034 # A grep program that handles long lines.
18040 # A literal string matcher.
18043 # A BSD- or MS-compatible name lister.
18046 # Whether we need soft or hard links.
18049 # What is the maximum length of a command?
18050 max_cmd_len=$max_cmd_len
18052 # Object file suffix (normally "o").
18055 # Executable file suffix (normally "").
18058 # whether the shell understands "unset".
18061 # turn spaces into newlines.
18064 # turn newlines into spaces.
18067 # How to create reloadable object files.
18068 reload_flag=$lt_reload_flag
18069 reload_cmds=$lt_reload_cmds
18071 # An object symbol dumper.
18072 OBJDUMP=$lt_OBJDUMP
18074 # Method to check whether dependent libraries are shared objects.
18075 deplibs_check_method=$lt_deplibs_check_method
18077 # Command to use when deplibs_check_method == "file_magic".
18078 file_magic_cmd=$lt_file_magic_cmd
18082 AR_FLAGS=$lt_AR_FLAGS
18084 # A symbol stripping program.
18087 # Commands used to install an old-style archive.
18089 old_postinstall_cmds=$lt_old_postinstall_cmds
18090 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18095 # LTCC compiler flags.
18096 LTCFLAGS=$lt_CFLAGS
18098 # Take the output of nm and produce a listing of raw symbols and C names.
18099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18101 # Transform the output of nm in a proper C declaration.
18102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18104 # Transform the output of nm in a C name address pair.
18105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18107 # Transform the output of nm in a C name address pair when lib prefix is needed.
18108 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18110 # The name of the directory that contains temporary libtool files.
18113 # Shell to use when invoking shell scripts.
18116 # An echo program that does not interpret backslashes.
18119 # Used to examine libraries when file_magic_cmd begins with "file".
18120 MAGIC_CMD=$MAGIC_CMD
18122 # Must we lock files when doing compilation?
18123 need_locks=$lt_need_locks
18125 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18126 DSYMUTIL=$lt_DSYMUTIL
18128 # Tool to change global to local symbols on Mac OS X.
18131 # Tool to manipulate fat objects and archives on Mac OS X.
18134 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18137 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18138 OTOOL64=$lt_OTOOL64
18140 # Old archive suffix (normally "a").
18143 # Shared library suffix (normally ".so").
18144 shrext_cmds=$lt_shrext_cmds
18146 # The commands to extract the exported symbol list from a shared archive.
18147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18149 # Variables whose values should be saved in libtool wrapper scripts and
18150 # restored at link time.
18151 variables_saved_for_relink=$lt_variables_saved_for_relink
18153 # Do we need the "lib" prefix for modules?
18154 need_lib_prefix=$need_lib_prefix
18156 # Do we need a version for libraries?
18157 need_version=$need_version
18159 # Library versioning type.
18160 version_type=$version_type
18162 # Shared library runtime path variable.
18163 runpath_var=$runpath_var
18165 # Shared library path variable.
18166 shlibpath_var=$shlibpath_var
18168 # Is shlibpath searched before the hard-coded library search path?
18169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18171 # Format of library name prefix.
18172 libname_spec=$lt_libname_spec
18174 # List of archive names. First name is the real one, the rest are links.
18175 # The last name is the one that the linker finds with -lNAME
18176 library_names_spec=$lt_library_names_spec
18178 # The coded name of the library, if different from the real name.
18179 soname_spec=$lt_soname_spec
18181 # Command to use after installation of a shared archive.
18182 postinstall_cmds=$lt_postinstall_cmds
18184 # Command to use after uninstallation of a shared archive.
18185 postuninstall_cmds=$lt_postuninstall_cmds
18187 # Commands used to finish a libtool library installation in a directory.
18188 finish_cmds=$lt_finish_cmds
18190 # As "finish_cmds", except a single script fragment to be evaled but
18192 finish_eval=$lt_finish_eval
18194 # Whether we should hardcode library paths into libraries.
18195 hardcode_into_libs=$hardcode_into_libs
18197 # Compile-time system search path for libraries.
18198 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18200 # Run-time system search path for libraries.
18201 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18203 # Whether dlopen is supported.
18204 dlopen_support=$enable_dlopen
18206 # Whether dlopen of programs is supported.
18207 dlopen_self=$enable_dlopen_self
18209 # Whether dlopen of statically linked programs is supported.
18210 dlopen_self_static=$enable_dlopen_self_static
18212 # Commands to strip libraries.
18213 old_striplib=$lt_old_striplib
18214 striplib=$lt_striplib
18217 # The linker used to build libraries.
18220 # Commands used to build an old-style archive.
18221 old_archive_cmds=$lt_old_archive_cmds
18223 # A language specific compiler.
18226 # Is the compiler the GNU compiler?
18229 # Compiler flag to turn off builtin functions.
18230 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18232 # How to pass a linker flag through the compiler.
18233 wl=$lt_lt_prog_compiler_wl
18235 # Additional compiler flags for building library objects.
18236 pic_flag=$lt_lt_prog_compiler_pic
18238 # Compiler flag to prevent dynamic linking.
18239 link_static_flag=$lt_lt_prog_compiler_static
18241 # Does compiler simultaneously support -c and -o options?
18242 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18244 # Whether or not to add -lc for building shared libraries.
18245 build_libtool_need_lc=$archive_cmds_need_lc
18247 # Whether or not to disallow shared libs when runtime libs are static.
18248 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18250 # Compiler flag to allow reflexive dlopens.
18251 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18253 # Compiler flag to generate shared objects directly from archives.
18254 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18256 # Whether the compiler copes with passing no objects directly.
18257 compiler_needs_object=$lt_compiler_needs_object
18259 # Create an old-style archive from a shared archive.
18260 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18262 # Create a temporary old-style archive to link instead of a shared archive.
18263 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18265 # Commands used to build a shared archive.
18266 archive_cmds=$lt_archive_cmds
18267 archive_expsym_cmds=$lt_archive_expsym_cmds
18269 # Commands used to build a loadable module if different from building
18270 # a shared archive.
18271 module_cmds=$lt_module_cmds
18272 module_expsym_cmds=$lt_module_expsym_cmds
18274 # Whether we are building with GNU ld or not.
18275 with_gnu_ld=$lt_with_gnu_ld
18277 # Flag that allows shared libraries with undefined symbols to be built.
18278 allow_undefined_flag=$lt_allow_undefined_flag
18280 # Flag that enforces no undefined symbols.
18281 no_undefined_flag=$lt_no_undefined_flag
18283 # Flag to hardcode \$libdir into a binary during linking.
18284 # This must work even if \$libdir does not exist
18285 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18287 # If ld is used when linking, flag to hardcode \$libdir into a binary
18288 # during linking. This must work even if \$libdir does not exist.
18289 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18291 # Whether we need a single "-rpath" flag with a separated argument.
18292 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18294 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18295 # DIR into the resulting binary.
18296 hardcode_direct=$hardcode_direct
18298 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18299 # DIR into the resulting binary and the resulting library dependency is
18300 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18301 # library is relocated.
18302 hardcode_direct_absolute=$hardcode_direct_absolute
18304 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18305 # into the resulting binary.
18306 hardcode_minus_L=$hardcode_minus_L
18308 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18309 # into the resulting binary.
18310 hardcode_shlibpath_var=$hardcode_shlibpath_var
18312 # Set to "yes" if building a shared library automatically hardcodes DIR
18313 # into the library and all subsequent libraries and executables linked
18315 hardcode_automatic=$hardcode_automatic
18317 # Set to yes if linker adds runtime paths of dependent libraries
18318 # to runtime path list.
18319 inherit_rpath=$inherit_rpath
18321 # Whether libtool must link a program against all its dependency libraries.
18322 link_all_deplibs=$link_all_deplibs
18324 # Fix the shell variable \$srcfile for the compiler.
18325 fix_srcfile_path=$lt_fix_srcfile_path
18327 # Set to "yes" if exported symbols are required.
18328 always_export_symbols=$always_export_symbols
18330 # The commands to list exported symbols.
18331 export_symbols_cmds=$lt_export_symbols_cmds
18333 # Symbols that should not be listed in the preloaded symbols.
18334 exclude_expsyms=$lt_exclude_expsyms
18336 # Symbols that must always be exported.
18337 include_expsyms=$lt_include_expsyms
18339 # Commands necessary for linking programs (against libraries) with templates.
18340 prelink_cmds=$lt_prelink_cmds
18342 # Specify filename containing input files.
18343 file_list_spec=$lt_file_list_spec
18345 # How to hardcode a shared library path into an executable.
18346 hardcode_action=$hardcode_action
18348 # The directories searched by this compiler when creating a shared library.
18349 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18351 # Dependencies to place before and after the objects being linked to
18352 # create a shared library.
18353 predep_objects=$lt_predep_objects
18354 postdep_objects=$lt_postdep_objects
18355 predeps=$lt_predeps
18356 postdeps=$lt_postdeps
18358 # The library search path used internally by the compiler when linking
18359 # a shared library.
18360 compiler_lib_search_path=$lt_compiler_lib_search_path
18362 # ### END LIBTOOL CONFIG
18368 cat <<\_LT_EOF >> "$cfgfile"
18369 # AIX sometimes has problems with the GCC collect2 program. For some
18370 # reason, if we set the COLLECT_NAMES environment variable, the problems
18371 # vanish in a puff of smoke.
18372 if test "X${COLLECT_NAMES+set}" != Xset; then
18374 export COLLECT_NAMES
18381 ltmain="$ac_aux_dir/ltmain.sh"
18384 # We use sed instead of cat because bash on DJGPP gets confused if
18385 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18386 # text mode, it properly converts lines to CR/LF. This bash problem
18387 # is reportedly fixed, but why not run on old versions too?
18388 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18389 || (rm -f "$cfgfile"; exit 1)
18393 cat << \_LT_EOF
>> "$cfgfile"
18395 # func_dirname file append nondir_replacement
18396 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18397 # otherwise set result to NONDIR_REPLACEMENT.
18401 */*) func_dirname_result
="${1%/*}${2}" ;;
18402 * ) func_dirname_result
="${3}" ;;
18406 # func_basename file
18409 func_basename_result
="${1##*/}"
18412 # func_dirname_and_basename file append nondir_replacement
18413 # perform func_basename and func_dirname in a single function
18415 # dirname: Compute the dirname of FILE. If nonempty,
18416 # add APPEND to the result, otherwise set result
18417 # to NONDIR_REPLACEMENT.
18418 # value returned in "$func_dirname_result"
18419 # basename: Compute filename of FILE.
18420 # value retuned in "$func_basename_result"
18421 # Implementation must be kept synchronized with func_dirname
18422 # and func_basename. For efficiency, we do not delegate to
18423 # those functions but instead duplicate the functionality here.
18424 func_dirname_and_basename
()
18427 */*) func_dirname_result
="${1%/*}${2}" ;;
18428 * ) func_dirname_result
="${3}" ;;
18430 func_basename_result
="${1##*/}"
18433 # func_stripname prefix suffix name
18434 # strip PREFIX and SUFFIX off of NAME.
18435 # PREFIX and SUFFIX must not contain globbing or regex special
18436 # characters, hashes, percent signs, but SUFFIX may contain a leading
18437 # dot (in which case that matches only a dot).
18440 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18441 # positional parameters, so assign one to ordinary parameter first.
18442 func_stripname_result
=${3}
18443 func_stripname_result
=${func_stripname_result#"${1}"}
18444 func_stripname_result
=${func_stripname_result%"${2}"}
18450 func_opt_split_opt
=${1%%=*}
18451 func_opt_split_arg
=${1#*=}
18458 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18459 *) func_lo2o_result
=${1} ;;
18463 # func_xform libobj-or-source
18466 func_xform_result
=${1%.*}.lo
18469 # func_arith arithmetic-term...
18472 func_arith_result
=$(( $* ))
18476 # STRING may not start with a hyphen.
18479 func_len_result
=${#1}
18484 *) # Bourne compatible functions.
18485 cat << \_LT_EOF
>> "$cfgfile"
18487 # func_dirname file append nondir_replacement
18488 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18489 # otherwise set result to NONDIR_REPLACEMENT.
18492 # Extract subdirectory from the argument.
18493 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18494 if test "X$func_dirname_result" = "X${1}"; then
18495 func_dirname_result
="${3}"
18497 func_dirname_result
="$func_dirname_result${2}"
18501 # func_basename file
18504 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18508 # func_stripname prefix suffix name
18509 # strip PREFIX and SUFFIX off of NAME.
18510 # PREFIX and SUFFIX must not contain globbing or regex special
18511 # characters, hashes, percent signs, but SUFFIX may contain a leading
18512 # dot (in which case that matches only a dot).
18513 # func_strip_suffix prefix name
18517 .
*) func_stripname_result
=`$ECHO "X${3}" \
18518 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18519 *) func_stripname_result
=`$ECHO "X${3}" \
18520 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18525 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18526 my_sed_long_arg
='1s/^-[^=]*=//'
18531 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18532 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18538 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18541 # func_xform libobj-or-source
18544 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18547 # func_arith arithmetic-term...
18550 func_arith_result
=`expr "$@"`
18554 # STRING may not start with a hyphen.
18557 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18563 case $lt_shell_append in
18565 cat << \_LT_EOF
>> "$cfgfile"
18567 # func_append var value
18568 # Append VALUE to the end of shell variable VAR.
18576 cat << \_LT_EOF
>> "$cfgfile"
18578 # func_append var value
18579 # Append VALUE to the end of shell variable VAR.
18590 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18591 || (rm -f "$cfgfile"; exit 1)
18593 mv -f "$cfgfile" "$ofile" ||
18594 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18598 cat <<_LT_EOF >> "$ofile"
18600 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18602 # The linker used to build libraries.
18605 # Commands used to build an old-style archive.
18606 old_archive_cmds=$lt_old_archive_cmds_CXX
18608 # A language specific compiler.
18609 CC=$lt_compiler_CXX
18611 # Is the compiler the GNU compiler?
18614 # Compiler flag to turn off builtin functions.
18615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18617 # How to pass a linker flag through the compiler.
18618 wl=$lt_lt_prog_compiler_wl_CXX
18620 # Additional compiler flags for building library objects.
18621 pic_flag=$lt_lt_prog_compiler_pic_CXX
18623 # Compiler flag to prevent dynamic linking.
18624 link_static_flag=$lt_lt_prog_compiler_static_CXX
18626 # Does compiler simultaneously support -c and -o options?
18627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18629 # Whether or not to add -lc for building shared libraries.
18630 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18632 # Whether or not to disallow shared libs when runtime libs are static.
18633 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18635 # Compiler flag to allow reflexive dlopens.
18636 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18638 # Compiler flag to generate shared objects directly from archives.
18639 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18641 # Whether the compiler copes with passing no objects directly.
18642 compiler_needs_object=$lt_compiler_needs_object_CXX
18644 # Create an old-style archive from a shared archive.
18645 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18647 # Create a temporary old-style archive to link instead of a shared archive.
18648 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18650 # Commands used to build a shared archive.
18651 archive_cmds=$lt_archive_cmds_CXX
18652 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18654 # Commands used to build a loadable module if different from building
18655 # a shared archive.
18656 module_cmds=$lt_module_cmds_CXX
18657 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18659 # Whether we are building with GNU ld or not.
18660 with_gnu_ld=$lt_with_gnu_ld_CXX
18662 # Flag that allows shared libraries with undefined symbols to be built.
18663 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18665 # Flag that enforces no undefined symbols.
18666 no_undefined_flag=$lt_no_undefined_flag_CXX
18668 # Flag to hardcode \$libdir into a binary during linking.
18669 # This must work even if \$libdir does not exist
18670 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18672 # If ld is used when linking, flag to hardcode \$libdir into a binary
18673 # during linking. This must work even if \$libdir does not exist.
18674 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18676 # Whether we need a single "-rpath" flag with a separated argument.
18677 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18679 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18680 # DIR into the resulting binary.
18681 hardcode_direct=$hardcode_direct_CXX
18683 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18684 # DIR into the resulting binary and the resulting library dependency is
18685 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18686 # library is relocated.
18687 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18689 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18690 # into the resulting binary.
18691 hardcode_minus_L=$hardcode_minus_L_CXX
18693 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18694 # into the resulting binary.
18695 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18697 # Set to "yes" if building a shared library automatically hardcodes DIR
18698 # into the library and all subsequent libraries and executables linked
18700 hardcode_automatic=$hardcode_automatic_CXX
18702 # Set to yes if linker adds runtime paths of dependent libraries
18703 # to runtime path list.
18704 inherit_rpath=$inherit_rpath_CXX
18706 # Whether libtool must link a program against all its dependency libraries.
18707 link_all_deplibs=$link_all_deplibs_CXX
18709 # Fix the shell variable \$srcfile for the compiler.
18710 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18712 # Set to "yes" if exported symbols are required.
18713 always_export_symbols=$always_export_symbols_CXX
18715 # The commands to list exported symbols.
18716 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18718 # Symbols that should not be listed in the preloaded symbols.
18719 exclude_expsyms=$lt_exclude_expsyms_CXX
18721 # Symbols that must always be exported.
18722 include_expsyms=$lt_include_expsyms_CXX
18724 # Commands necessary for linking programs (against libraries) with templates.
18725 prelink_cmds=$lt_prelink_cmds_CXX
18727 # Specify filename containing input files.
18728 file_list_spec=$lt_file_list_spec_CXX
18730 # How to hardcode a shared library path into an executable.
18731 hardcode_action=$hardcode_action_CXX
18733 # The directories searched by this compiler when creating a shared library.
18734 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18736 # Dependencies to place before and after the objects being linked to
18737 # create a shared library.
18738 predep_objects=$lt_predep_objects_CXX
18739 postdep_objects=$lt_postdep_objects_CXX
18740 predeps=$lt_predeps_CXX
18741 postdeps=$lt_postdeps_CXX
18743 # The library search path used internally by the compiler when linking
18744 # a shared library.
18745 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18747 # ### END LIBTOOL TAG CONFIG: CXX
18758 ac_clean_files
=$ac_clean_files_save
18760 test $ac_write_fail = 0 ||
18761 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18764 # configure is writing to config.log, and then calls config.status.
18765 # config.status does its own redirection, appending to config.log.
18766 # Unfortunately, on DOS this fails, as config.log is still kept open
18767 # by configure, so config.status won't be able to write to it; its
18768 # output is simply discarded. So we exec the FD to /dev/null,
18769 # effectively closing config.log, so it can be properly (re)opened and
18770 # appended to by config.status. When coming back to configure, we
18771 # need to make the FD available again.
18772 if test "$no_create" != yes; then
18774 ac_config_status_args
=
18775 test "$silent" = yes &&
18776 ac_config_status_args
="$ac_config_status_args --quiet"
18778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18781 # would make configure fail if this is the last instruction.
18782 $ac_cs_success || as_fn_exit $?
18784 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18786 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}