2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir -p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X
--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X
--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X
--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 # Use only awk features that work with 7th edition Unix awk (1978).
682 # My, what an old awk you have, Mr. Solaris!
684 while (length(v1) && length(v2)) {
685 # Set d1 to be the next thing to compare from v1, and likewise for d2.
686 # Normally this is a single character, but if v1 and v2 contain digits,
687 # compare them as integers and fractions as strverscmp does.
688 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
689 # Split v1 and v2 into their leading digit string components d1 and d2,
690 # and advance v1 and v2 past the leading digit strings.
691 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
692 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
693 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
694 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
697 # Compare two fractions.
698 while (d1 ~ /^0/ && d2 ~ /^0/) {
699 d1 = substr(d1, 2); len1--
700 d2 = substr(d2, 2); len2--
702 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
703 # The two components differ in length, and the common prefix
704 # contains only leading zeros. Consider the longer to be less.
708 # Otherwise, compare as strings.
713 # A fraction is less than an integer.
718 # An integer is greater than a fraction.
721 # Compare two integers.
727 # The normal case, without worrying about digits.
728 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
729 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
734 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
735 # which mishandles some comparisons of empty strings to integers.
736 if (length(v2)) exit 1
737 if (length(v1)) exit 2
741 test -n "$DJDIR" || exec 7<&0 </dev
/null
745 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
746 # so uname gets run too.
747 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
752 ac_default_prefix
=/usr
/local
754 ac_config_libobj_dir
=.
761 # Identity of this package.
762 PACKAGE_NAME
='Cycript'
763 PACKAGE_TARNAME
='cycript'
764 PACKAGE_VERSION
='0.9'
765 PACKAGE_STRING
='Cycript 0.9'
766 PACKAGE_BUGREPORT
='saurik@saurik.com'
767 PACKAGE_URL
='http://www.cycript.org/'
769 ac_unique_file
="Console.cpp"
770 # Factoring default headers for most tests.
771 ac_includes_default
="\
773 #ifdef HAVE_SYS_TYPES_H
774 # include <sys/types.h>
776 #ifdef HAVE_SYS_STAT_H
777 # include <sys/stat.h>
783 # ifdef HAVE_STDLIB_H
788 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
793 #ifdef HAVE_STRINGS_H
794 # include <strings.h>
796 #ifdef HAVE_INTTYPES_H
797 # include <inttypes.h>
806 ac_subst_vars
='LTLIBOBJS
905 program_transform_name
918 enable_option_checking
930 ac_precious_vars
='build_alias
955 # Initialize some variables set by options.
957 ac_init_version
=false
958 ac_unrecognized_opts
=
960 # The variables have the same names as the options, with
961 # dashes changed to underlines.
969 program_transform_name
=s
,x
,x
,
977 # Installation directory options.
978 # These are left unexpanded so users can "make install exec_prefix=/foo"
979 # and all the variables that are supposed to be based on exec_prefix
980 # by default will actually change.
981 # Use braces instead of parens because sh, perl, etc. also accept them.
982 # (The list follows the same order as the GNU Coding Standards.)
983 bindir
='${exec_prefix}/bin'
984 sbindir
='${exec_prefix}/sbin'
985 libexecdir
='${exec_prefix}/libexec'
986 datarootdir
='${prefix}/share'
987 datadir
='${datarootdir}'
988 sysconfdir
='${prefix}/etc'
989 sharedstatedir
='${prefix}/com'
990 localstatedir
='${prefix}/var'
991 includedir
='${prefix}/include'
992 oldincludedir
='/usr/include'
993 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
994 infodir
='${datarootdir}/info'
999 libdir
='${exec_prefix}/lib'
1000 localedir
='${datarootdir}/locale'
1001 mandir
='${datarootdir}/man'
1007 # If the previous option needs an argument, assign it.
1008 if test -n "$ac_prev"; then
1009 eval $ac_prev=\
$ac_option
1015 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1019 # Accept the important Cygnus configure options, so we can diagnose typos.
1021 case $ac_dashdash$ac_option in
1025 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1027 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1028 bindir
=$ac_optarg ;;
1030 -build | --build | --buil | --bui | --bu)
1031 ac_prev
=build_alias
;;
1032 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1033 build_alias
=$ac_optarg ;;
1035 -cache-file | --cache-file | --cache-fil | --cache-fi \
1036 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1037 ac_prev
=cache_file
;;
1038 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1039 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1040 cache_file
=$ac_optarg ;;
1042 --config-cache | -C)
1043 cache_file
=config.cache
;;
1045 -datadir | --datadir | --datadi | --datad)
1047 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1048 datadir
=$ac_optarg ;;
1050 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1051 | --dataroo | --dataro | --datar)
1052 ac_prev
=datarootdir
;;
1053 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1054 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1055 datarootdir
=$ac_optarg ;;
1057 -disable-* | --disable-*)
1058 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1061 as_fn_error
"invalid feature name: $ac_useropt"
1062 ac_useropt_orig
=$ac_useropt
1063 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1066 "enable_
$ac_useropt"
1068 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1069 ac_unrecognized_sep
=', ';;
1071 eval enable_
$ac_useropt=no
;;
1073 -docdir | --docdir | --docdi | --doc | --do)
1075 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1076 docdir
=$ac_optarg ;;
1078 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1080 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1081 dvidir
=$ac_optarg ;;
1083 -enable-* | --enable-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error
"invalid feature name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_
$ac_useropt"
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval enable_
$ac_useropt=\
$ac_optarg ;;
1099 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101 | --exec | --exe | --ex)
1102 ac_prev
=exec_prefix
;;
1103 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105 | --exec=* | --exe=* | --ex=*)
1106 exec_prefix
=$ac_optarg ;;
1108 -gas | --gas | --ga | --g)
1109 # Obsolete; use --with-gas.
1112 -help | --help | --hel | --he | -h)
1113 ac_init_help
=long
;;
1114 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1115 ac_init_help
=recursive
;;
1116 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1117 ac_init_help
=short
;;
1119 -host | --host | --hos | --ho)
1120 ac_prev
=host_alias
;;
1121 -host=* | --host=* | --hos=* | --ho=*)
1122 host_alias
=$ac_optarg ;;
1124 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1126 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1128 htmldir
=$ac_optarg ;;
1130 -includedir | --includedir | --includedi | --included | --include \
1131 | --includ | --inclu | --incl | --inc)
1132 ac_prev
=includedir
;;
1133 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134 | --includ=* | --inclu=* | --incl=* | --inc=*)
1135 includedir
=$ac_optarg ;;
1137 -infodir | --infodir | --infodi | --infod | --info | --inf)
1139 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140 infodir
=$ac_optarg ;;
1142 -libdir | --libdir | --libdi | --libd)
1144 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145 libdir
=$ac_optarg ;;
1147 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148 | --libexe | --libex | --libe)
1149 ac_prev
=libexecdir
;;
1150 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151 | --libexe=* | --libex=* | --libe=*)
1152 libexecdir
=$ac_optarg ;;
1154 -localedir | --localedir | --localedi | --localed | --locale)
1155 ac_prev
=localedir
;;
1156 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157 localedir
=$ac_optarg ;;
1159 -localstatedir | --localstatedir | --localstatedi | --localstated \
1160 | --localstate | --localstat | --localsta | --localst | --locals)
1161 ac_prev
=localstatedir
;;
1162 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164 localstatedir
=$ac_optarg ;;
1166 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1168 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169 mandir
=$ac_optarg ;;
1171 -nfp | --nfp | --nf)
1172 # Obsolete; use --without-fp.
1175 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176 | --no-cr | --no-c | -n)
1179 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1183 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185 | --oldin | --oldi | --old | --ol | --o)
1186 ac_prev
=oldincludedir
;;
1187 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190 oldincludedir
=$ac_optarg ;;
1192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195 prefix
=$ac_optarg ;;
1197 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198 | --program-pre | --program-pr | --program-p)
1199 ac_prev
=program_prefix
;;
1200 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202 program_prefix
=$ac_optarg ;;
1204 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205 | --program-suf | --program-su | --program-s)
1206 ac_prev
=program_suffix
;;
1207 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209 program_suffix
=$ac_optarg ;;
1211 -program-transform-name | --program-transform-name \
1212 | --program-transform-nam | --program-transform-na \
1213 | --program-transform-n | --program-transform- \
1214 | --program-transform | --program-transfor \
1215 | --program-transfo | --program-transf \
1216 | --program-trans | --program-tran \
1217 | --progr-tra | --program-tr | --program-t)
1218 ac_prev
=program_transform_name
;;
1219 -program-transform-name=* | --program-transform-name=* \
1220 | --program-transform-nam=* | --program-transform-na=* \
1221 | --program-transform-n=* | --program-transform-=* \
1222 | --program-transform=* | --program-transfor=* \
1223 | --program-transfo=* | --program-transf=* \
1224 | --program-trans=* | --program-tran=* \
1225 | --progr-tra=* | --program-tr=* | --program-t=*)
1226 program_transform_name
=$ac_optarg ;;
1228 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1230 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231 pdfdir
=$ac_optarg ;;
1233 -psdir | --psdir | --psdi | --psd | --ps)
1235 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239 | -silent | --silent | --silen | --sile | --sil)
1242 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1244 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1246 sbindir
=$ac_optarg ;;
1248 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250 | --sharedst | --shareds | --shared | --share | --shar \
1252 ac_prev
=sharedstatedir
;;
1253 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1257 sharedstatedir
=$ac_optarg ;;
1259 -site | --site | --sit)
1261 -site=* | --site=* | --sit=*)
1264 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1266 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267 srcdir
=$ac_optarg ;;
1269 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270 | --syscon | --sysco | --sysc | --sys | --sy)
1271 ac_prev
=sysconfdir
;;
1272 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274 sysconfdir
=$ac_optarg ;;
1276 -target | --target | --targe | --targ | --tar | --ta | --t)
1277 ac_prev
=target_alias
;;
1278 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279 target_alias
=$ac_optarg ;;
1281 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1284 -version | --version | --versio | --versi | --vers | -V)
1285 ac_init_version
=: ;;
1288 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 as_fn_error
"invalid package name: $ac_useropt"
1292 ac_useropt_orig
=$ac_useropt
1293 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1299 ac_unrecognized_sep
=', ';;
1301 eval with_
$ac_useropt=\
$ac_optarg ;;
1303 -without-* | --without-*)
1304 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1305 # Reject names that are not valid shell variable names.
1306 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1307 as_fn_error
"invalid package name: $ac_useropt"
1308 ac_useropt_orig
=$ac_useropt
1309 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1310 case $ac_user_opts in
1314 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1315 ac_unrecognized_sep
=', ';;
1317 eval with_
$ac_useropt=no
;;
1320 # Obsolete; use --with-x.
1323 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1324 | --x-incl | --x-inc | --x-in | --x-i)
1325 ac_prev
=x_includes
;;
1326 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1327 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1328 x_includes
=$ac_optarg ;;
1330 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1331 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1332 ac_prev
=x_libraries
;;
1333 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1334 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1335 x_libraries
=$ac_optarg ;;
1337 -*) as_fn_error
"unrecognized option: \`$ac_option'
1338 Try \`$0 --help' for more information."
1342 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1343 # Reject names that are not valid shell variable names.
1344 case $ac_envvar in #(
1345 '' | [0-9]* | *[!_$as_cr_alnum]* )
1346 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1348 eval $ac_envvar=\
$ac_optarg
1349 export $ac_envvar ;;
1352 # FIXME: should be removed in autoconf 3.0.
1353 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1354 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1355 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1356 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1362 if test -n "$ac_prev"; then
1363 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1364 as_fn_error
"missing argument to $ac_option"
1367 if test -n "$ac_unrecognized_opts"; then
1368 case $enable_option_checking in
1370 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1371 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1375 # Check all directory arguments for consistency.
1376 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1377 datadir sysconfdir sharedstatedir localstatedir includedir \
1378 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1379 libdir localedir mandir
1381 eval ac_val
=\$
$ac_var
1382 # Remove trailing slashes.
1385 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1386 eval $ac_var=\
$ac_val;;
1388 # Be sure to have absolute directory names.
1390 [\\/$
]* | ?
:[\\/]* ) continue;;
1391 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1393 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1396 # There might be people who depend on the old broken behavior: `$host'
1397 # used to hold the argument of --host etc.
1398 # FIXME: To remove some day.
1401 target
=$target_alias
1403 # FIXME: To remove some day.
1404 if test "x$host_alias" != x
; then
1405 if test "x$build_alias" = x
; then
1406 cross_compiling
=maybe
1407 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1408 If a cross compiler is detected then cross compile mode will be used." >&2
1409 elif test "x$build_alias" != "x$host_alias"; then
1415 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1417 test "$silent" = yes && exec 6>/dev
/null
1420 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1421 ac_ls_di
=`ls -di .` &&
1422 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1423 as_fn_error
"working directory cannot be determined"
1424 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1425 as_fn_error
"pwd does not report name of working directory"
1428 # Find the source files, if location was not specified.
1429 if test -z "$srcdir"; then
1430 ac_srcdir_defaulted
=yes
1431 # Try the directory containing this script, then the parent directory.
1432 ac_confdir
=`$as_dirname -- "$as_myself" ||
1433 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1434 X"$as_myself" : 'X\(//\)[^/]' \| \
1435 X"$as_myself" : 'X\(//\)$' \| \
1436 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1437 $as_echo X"$as_myself" |
1438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1456 if test ! -r "$srcdir/$ac_unique_file"; then
1460 ac_srcdir_defaulted
=no
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1464 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1466 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1468 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1470 # When building in place, set srcdir=.
1471 if test "$ac_abs_confdir" = "$ac_pwd"; then
1474 # Remove unnecessary trailing slashes from srcdir.
1475 # Double slashes in file names in object file debugging info
1476 # mess up M-x gdb in Emacs.
1478 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1480 for ac_var
in $ac_precious_vars; do
1481 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1482 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1483 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1484 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1488 # Report the --help message.
1490 if test "$ac_init_help" = "long"; then
1491 # Omit some internal or obsolete options to make the list less imposing.
1492 # This message is too long to be a string in the A/UX 3.1 sh.
1494 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1496 Usage: $0 [OPTION]... [VAR=VALUE]...
1498 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1499 VAR=VALUE. See below for descriptions of some of the useful variables.
1501 Defaults for the options are specified in brackets.
1504 -h, --help display this help and exit
1505 --help=short display options specific to this package
1506 --help=recursive display the short help of all the included packages
1507 -V, --version display version information and exit
1508 -q, --quiet, --silent do not print \`checking...' messages
1509 --cache-file=FILE cache test results in FILE [disabled]
1510 -C, --config-cache alias for \`--cache-file=config.cache'
1511 -n, --no-create do not create output files
1512 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1514 Installation directories:
1515 --prefix=PREFIX install architecture-independent files in PREFIX
1516 [$ac_default_prefix]
1517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1520 By default, \`make install' will install all the files in
1521 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1522 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1523 for instance \`--prefix=\$HOME'.
1525 For better control, use the options below.
1527 Fine tuning of the installation directories:
1528 --bindir=DIR user executables [EPREFIX/bin]
1529 --sbindir=DIR system admin executables [EPREFIX/sbin]
1530 --libexecdir=DIR program executables [EPREFIX/libexec]
1531 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1532 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1533 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1534 --libdir=DIR object code libraries [EPREFIX/lib]
1535 --includedir=DIR C header files [PREFIX/include]
1536 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1537 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1538 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1539 --infodir=DIR info documentation [DATAROOTDIR/info]
1540 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1541 --mandir=DIR man documentation [DATAROOTDIR/man]
1542 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1543 --htmldir=DIR html documentation [DOCDIR]
1544 --dvidir=DIR dvi documentation [DOCDIR]
1545 --pdfdir=DIR pdf documentation [DOCDIR]
1546 --psdir=DIR ps documentation [DOCDIR]
1552 --build=BUILD configure
for building on BUILD
[guessed
]
1553 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1557 if test -n "$ac_init_help"; then
1558 case $ac_init_help in
1559 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1564 --disable-option-checking ignore unrecognized
--enable/--with options
1565 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1566 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1567 --enable-static[=PKGS
] build static libraries
[default
=no
]
1568 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1569 --enable-fast-install[=PKGS
]
1570 optimize
for fast installation
[default
=yes]
1571 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1572 --disable-rpath do not hardcode runtime library paths
1575 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1576 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1577 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1579 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1580 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1581 path
for frameworks with
-F
1582 --with-apr=PATH prefix
for installed APR or the full path to
1584 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1585 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1586 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1588 Some influential environment variables:
1589 CC C compiler command
1590 CFLAGS C compiler flags
1591 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1592 nonstandard directory <lib dir>
1593 LIBS libraries to pass to the linker, e.g. -l<library>
1594 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1595 you have headers in a nonstandard directory <include dir>
1597 PKG_CONFIG path to pkg-config utility
1598 CXX C++ compiler command
1599 CXXFLAGS C++ compiler flags
1600 CXXCPP C++ preprocessor
1601 OBJCXX Objective C++ compiler command
1602 OBJCXXFLAGS Objective C++ compiler flags
1603 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1604 the first program found out of
: `bison -y', `byacc
', `yacc'.
1605 YFLAGS The list of arguments that will be passed by default to
$YACC.
1606 This
script will default YFLAGS to the empty string to avoid a
1607 default value of
`-d' given by some make applications.
1608 GPERF perfect hash function generator
1610 C compiler flags for WEBKIT, overriding pkg-config
1611 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1613 C compiler flags for LIBFFI, overriding pkg-config
1614 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1616 Use these variables to override the choices made by `configure
' or to help
1617 it to find libraries and programs with nonstandard names/locations.
1619 Report bugs to <saurik@saurik.com>.
1620 Cycript home page: <http://www.cycript.org/>.
1625 if test "$ac_init_help" = "recursive"; then
1626 # If there are subdirs, report their specific --help.
1627 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1628 test -d "$ac_dir" ||
1629 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1634 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's
|^\.
[\\/]||'`
1637 # A ".." for each directory in $ac_dir_suffix.
1638 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1639 case $ac_top_builddir_sub in
1640 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1644 ac_abs_top_builddir=$ac_pwd
1645 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1646 # for backward compatibility:
1647 ac_top_builddir=$ac_top_build_prefix
1650 .) # We are building in place.
1652 ac_top_srcdir=$ac_top_builddir_sub
1653 ac_abs_top_srcdir=$ac_pwd ;;
1654 [\\/]* | ?:[\\/]* ) # Absolute name.
1655 ac_srcdir=$srcdir$ac_dir_suffix;
1656 ac_top_srcdir=$srcdir
1657 ac_abs_top_srcdir=$srcdir ;;
1659 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1660 ac_top_srcdir=$ac_top_build_prefix$srcdir
1661 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665 cd "$ac_dir" || { ac_status=$?; continue; }
1666 # Check for guested configure.
1667 if test -f "$ac_srcdir/configure.gnu"; then
1669 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1670 elif test -f "$ac_srcdir/configure"; then
1672 $SHELL "$ac_srcdir/configure" --help=recursive
1674 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 cd "$ac_pwd" || { ac_status=$?; break; }
1680 test -n "$ac_init_help" && exit $ac_status
1681 if $ac_init_version; then
1683 Cycript configure 0.9
1684 generated by GNU Autoconf 2.65
1686 Copyright (C) 2009 Free Software Foundation, Inc.
1687 This configure script is free software; the Free Software Foundation
1688 gives unlimited permission to copy, distribute and modify it.
1693 ## ------------------------ ##
1694 ## Autoconf initialization. ##
1695 ## ------------------------ ##
1697 # ac_fn_c_try_compile LINENO
1698 # --------------------------
1699 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1700 ac_fn_c_try_compile ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 rm -f conftest.$ac_objext
1704 if { { ac_try="$ac_compile"
1706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707 *) ac_try_echo=$ac_try;;
1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710 $as_echo "$ac_try_echo"; } >&5
1711 (eval "$ac_compile") 2>conftest.err
1713 if test -s conftest.err; then
1714 grep -v '^
*+' conftest.err >conftest.er1
1715 cat conftest.er1 >&5
1716 mv -f conftest.er1 conftest.err
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; } && {
1720 test -z "$ac_c_werror_flag" ||
1721 test ! -s conftest.err
1722 } && test -s conftest.$ac_objext; then :
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's
/^
/| /' conftest.$ac_ext >&5
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 as_fn_set_status $ac_retval
1733 } # ac_fn_c_try_compile
1735 # ac_fn_c_try_link LINENO
1736 # -----------------------
1737 # Try to link conftest.$ac_ext, and return whether this succeeded.
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 rm -f conftest.$ac_objext conftest$ac_exeext
1742 if { { ac_try="$ac_link"
1744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1745 *) ac_try_echo=$ac_try;;
1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1748 $as_echo "$ac_try_echo"; } >&5
1749 (eval "$ac_link") 2>conftest.err
1751 if test -s conftest.err; then
1752 grep -v '^
*+' conftest.err >conftest.er1
1753 cat conftest.er1 >&5
1754 mv -f conftest.er1 conftest.err
1756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757 test $ac_status = 0; } && {
1758 test -z "$ac_c_werror_flag" ||
1759 test ! -s conftest.err
1760 } && test -s conftest$ac_exeext && {
1761 test "$cross_compiling" = yes ||
1762 $as_test_x conftest$ac_exeext
1766 $as_echo "$as_me: failed program was:" >&5
1767 sed 's
/^
/| /' conftest.$ac_ext >&5
1771 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1772 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1773 # interfere with the next link command; also delete a directory that is
1774 # left behind by Apple's compiler. We
do this before executing the actions.
1775 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1776 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1777 as_fn_set_status
$ac_retval
1779 } # ac_fn_c_try_link
1781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1782 # -------------------------------------------------------
1783 # Tests whether HEADER exists and can be compiled using the include files in
1784 # INCLUDES, setting the cache variable VAR accordingly.
1785 ac_fn_c_check_header_compile
()
1787 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1791 $as_echo_n "(cached) " >&6
1793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h. */
1798 if ac_fn_c_try_compile
"$LINENO"; then :
1803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1810 } # ac_fn_c_check_header_compile
1812 # ac_fn_c_try_cpp LINENO
1813 # ----------------------
1814 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1817 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1818 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } >/dev/null && {
1834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845 as_fn_set_status $ac_retval
1849 # ac_fn_c_try_run LINENO
1850 # ----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1852 # that executables *can* be run.
1855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856 if { { ac_try="$ac_link"
1858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1859 *) ac_try_echo
=$ac_try;;
1861 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1867 { { case "(($ac_try" in
1868 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_try") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; }; }; then :
1879 $as_echo "$as_me: program exited with status $ac_status" >&5
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1883 ac_retval=$ac_status
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1887 as_fn_set_status $ac_retval
1891 # ac_fn_c_check_func LINENO FUNC VAR
1892 # ----------------------------------
1893 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1894 ac_fn_c_check_func ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1900 $as_echo_n "(cached) " >&6
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1904 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1906 #define $2 innocuous_$2
1908 /* System header to define __stub macros and hopefully few prototypes,
1909 which can conflict with char $2 (); below.
1910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1911 <limits.h> exists even on freestanding compilers. */
1914 # include <limits.h>
1916 # include <assert.h>
1921 /* Override any GCC internal prototype to avoid an error.
1922 Use char because int might match the return type of a GCC
1923 builtin and then its argument prototype would still apply. */
1928 /* The GNU C library defines this for functions which it implements
1929 to always fail with ENOSYS. Some functions are actually named
1930 something starting with __ and the normal name is an alias. */
1931 #if defined __stub_$2 || defined __stub___$2
1943 if ac_fn_c_try_link "$LINENO"; then :
1948 rm -f core conftest.err conftest.$ac_objext \
1949 conftest$ac_exeext conftest.$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956 } # ac_fn_c_check_func
1958 # ac_fn_cxx_try_compile LINENO
1959 # ----------------------------
1960 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1961 ac_fn_cxx_try_compile ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 rm -f conftest.$ac_objext
1965 if { { ac_try="$ac_compile"
1967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1968 *) ac_try_echo
=$ac_try;;
1970 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_compile") 2>conftest.err
1974 if test -s conftest.err
; then
1975 grep -v '^ *+' conftest.err
>conftest.er1
1976 cat conftest.er1
>&5
1977 mv -f conftest.er1 conftest.err
1979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980 test $ac_status = 0; } && {
1981 test -z "$ac_cxx_werror_flag" ||
1982 test ! -s conftest.err
1983 } && test -s conftest.
$ac_objext; then :
1986 $as_echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.
$ac_ext >&5
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1992 as_fn_set_status
$ac_retval
1994 } # ac_fn_cxx_try_compile
1996 # ac_fn_cxx_try_cpp LINENO
1997 # ------------------------
1998 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1999 ac_fn_cxx_try_cpp
()
2001 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2002 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2004 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2005 *) ac_try_echo=$ac_try;;
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2011 if test -s conftest.err; then
2012 grep -v '^ *+' conftest.err >conftest.er1
2013 cat conftest.er1 >&5
2014 mv -f conftest.er1 conftest.err
2016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2017 test $ac_status = 0; } >/dev/null && {
2018 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2019 test ! -s conftest.err
2023 $as_echo "$as_me: failed program was:" >&5
2024 sed 's/^/| /' conftest.$ac_ext >&5
2028 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_cxx_try_cpp
2033 # ac_fn_cxx_try_link LINENO
2034 # -------------------------
2035 # Try to link conftest.$ac_ext, and return whether this succeeded.
2036 ac_fn_cxx_try_link ()
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 rm -f conftest.$ac_objext conftest$ac_exeext
2040 if { { ac_try="$ac_link"
2042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2043 *) ac_try_echo
=$ac_try;;
2045 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2046 $as_echo "$ac_try_echo"; } >&5
2047 (eval "$ac_link") 2>conftest.err
2049 if test -s conftest.err
; then
2050 grep -v '^ *+' conftest.err
>conftest.er1
2051 cat conftest.er1
>&5
2052 mv -f conftest.er1 conftest.err
2054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2055 test $ac_status = 0; } && {
2056 test -z "$ac_cxx_werror_flag" ||
2057 test ! -s conftest.err
2058 } && test -s conftest
$ac_exeext && {
2059 test "$cross_compiling" = yes ||
2060 $as_test_x conftest
$ac_exeext
2064 $as_echo "$as_me: failed program was:" >&5
2065 sed 's/^/| /' conftest.
$ac_ext >&5
2069 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2070 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2071 # interfere with the next link command; also delete a directory that is
2072 # left behind by Apple's compiler. We do this before executing the actions.
2073 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2074 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2075 as_fn_set_status
$ac_retval
2077 } # ac_fn_cxx_try_link
2079 # ac_fn_objcxx_try_compile LINENO
2080 # -------------------------------
2081 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2082 ac_fn_objcxx_try_compile
()
2084 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2085 rm -f conftest.
$ac_objext
2086 if { { ac_try
="$ac_compile"
2088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2089 *) ac_try_echo=$ac_try;;
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093 (eval "$ac_compile") 2>conftest.err
2095 if test -s conftest.err; then
2096 grep -v '^ *+' conftest.err >conftest.er1
2097 cat conftest.er1 >&5
2098 mv -f conftest.er1 conftest.err
2100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2101 test $ac_status = 0; } && {
2102 test -z "$ac_objcxx_werror_flag" ||
2103 test ! -s conftest.err
2104 } && test -s conftest.$ac_objext; then :
2107 $as_echo "$as_me: failed program was:" >&5
2108 sed 's/^/| /' conftest.$ac_ext >&5
2112 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2113 as_fn_set_status $ac_retval
2115 } # ac_fn_objcxx_try_compile
2117 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2118 # ---------------------------------------------------------
2119 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2120 # the include files in INCLUDES and setting the cache variable VAR
2122 ac_fn_cxx_check_header_mongrel ()
2124 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2127 $as_echo_n "checking for $2... " >&6; }
2128 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2129 $as_echo_n "(cached) " >&6
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2135 # Is the header compilable?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2137 $as_echo_n "checking $2 usability... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2143 if ac_fn_cxx_try_compile "$LINENO"; then :
2144 ac_header_compiler=yes
2146 ac_header_compiler=no
2148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2150 $as_echo "$ac_header_compiler" >&6; }
2152 # Is the header present?
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2154 $as_echo_n "checking $2 presence... " >&6; }
2155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2159 if ac_fn_cxx_try_cpp "$LINENO"; then :
2160 ac_header_preproc=yes
2162 ac_header_preproc=no
2164 rm -f conftest.err conftest.$ac_ext
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2166 $as_echo "$ac_header_preproc" >&6; }
2168 # So? What about this header?
2169 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2172 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2174 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2178 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2180 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2182 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2184 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2186 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2188 ## -------------------------------- ##
2189 ## Report this to saurik@saurik.com ##
2190 ## -------------------------------- ##
2192 ) | sed "s/^/$as_me: WARNING: /" >&2
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval "$3=\$ac_header_compiler"
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2206 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2208 } # ac_fn_cxx_check_header_mongrel
2210 # ac_fn_objcxx_try_link LINENO
2211 # ----------------------------
2212 # Try to link conftest.$ac_ext, and return whether this succeeded.
2213 ac_fn_objcxx_try_link ()
2215 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2216 rm -f conftest.$ac_objext conftest$ac_exeext
2217 if { { ac_try="$ac_link"
2219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2220 *) ac_try_echo
=$ac_try;;
2222 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2223 $as_echo "$ac_try_echo"; } >&5
2224 (eval "$ac_link") 2>conftest.err
2226 if test -s conftest.err
; then
2227 grep -v '^ *+' conftest.err
>conftest.er1
2228 cat conftest.er1
>&5
2229 mv -f conftest.er1 conftest.err
2231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2232 test $ac_status = 0; } && {
2233 test -z "$ac_objcxx_werror_flag" ||
2234 test ! -s conftest.err
2235 } && test -s conftest
$ac_exeext && {
2236 test "$cross_compiling" = yes ||
2237 $as_test_x conftest
$ac_exeext
2241 $as_echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.
$ac_ext >&5
2246 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2247 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2248 # interfere with the next link command; also delete a directory that is
2249 # left behind by Apple's compiler. We do this before executing the actions.
2250 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2251 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2252 as_fn_set_status
$ac_retval
2254 } # ac_fn_objcxx_try_link
2255 cat >config.log
<<_ACEOF
2256 This file contains any messages produced by compilers while
2257 running configure, to aid debugging if configure makes a mistake.
2259 It was created by Cycript $as_me 0.9, which was
2260 generated by GNU Autoconf 2.65. Invocation command line was
2272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir
=.
2296 $as_echo "PATH: $as_dir"
2312 # Keep a trace of the command line.
2313 # Strip out --no-create and --no-recursion so they do not pile up.
2314 # Strip out --silent because we don't want to record it for future runs.
2315 # Also quote any args containing shell meta-characters.
2316 # Make two passes to allow for proper duplicate-argument suppression.
2320 ac_must_keep_next
=false
2326 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2327 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2328 | -silent | --silent | --silen | --sile | --sil)
2331 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2336 as_fn_append ac_configure_args1
" '$ac_arg'"
2337 if test $ac_must_keep_next = true
; then
2338 ac_must_keep_next
=false
# Got value, back to normal.
2341 *=* | --config-cache | -C | -disable-* | --disable-* \
2342 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2343 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2344 | -with-* | --with-* | -without-* | --without-* | --x)
2345 case "$ac_configure_args0 " in
2346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2349 -* ) ac_must_keep_next
=true
;;
2352 as_fn_append ac_configure_args
" '$ac_arg'"
2357 { ac_configure_args0
=; unset ac_configure_args0
;}
2358 { ac_configure_args1
=; unset ac_configure_args1
;}
2360 # When interrupted or exit'd, cleanup temporary files, and complete
2361 # config.log. We remove comments because anyway the quotes in there
2362 # would cause problems or look ugly.
2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2365 trap 'exit_status=$?
2366 # Save into config.log some information that might help in debugging.
2371 ## ---------------- ##
2372 ## Cache variables. ##
2373 ## ---------------- ##
2376 # The following way of writing the cache mishandles newlines in values,
2378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 eval ac_val=\$$ac_var
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 ## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2426 ## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##
2431 for ac_var
in $ac_subst_files
2433 eval ac_val
=\$
$ac_var
2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2442 if test -s confdefs.h; then
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2460 for ac_signal
in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest
* confdefs.h
2468 $as_echo "/* confdefs.h */" > confdefs.h
2470 # Predefined preprocessor variables.
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2501 if test -n "$CONFIG_SITE"; then
2502 ac_site_file1
=$CONFIG_SITE
2503 elif test "x$prefix" != xNONE
; then
2504 ac_site_file1
=$prefix/share
/config.site
2505 ac_site_file2
=$prefix/etc
/config.site
2507 ac_site_file1
=$ac_default_prefix/share
/config.site
2508 ac_site_file2
=$ac_default_prefix/etc
/config.site
2510 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE
&& continue
2513 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special files
2523 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2524 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2528 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2529 *) .
"./$cache_file";;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2538 # Check that the precious variables saved in the cache have kept the same
2540 ac_cache_corrupted
=false
2541 for ac_var
in $ac_precious_vars; do
2542 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2543 eval ac_new_set
=\
$ac_env_${ac_var}_set
2544 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2545 eval ac_new_val
=\
$ac_env_${ac_var}_value
2546 case $ac_old_set,$ac_new_set in
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2549 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2550 ac_cache_corrupted
=: ;;
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2553 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2554 ac_cache_corrupted
=: ;;
2557 if test "x$ac_old_val" != "x$ac_new_val"; then
2558 # differences in whitespace do not lead to failure.
2559 ac_old_val_w
=`echo x $ac_old_val`
2560 ac_new_val_w
=`echo x $ac_new_val`
2561 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2563 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2564 ac_cache_corrupted
=:
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2567 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2568 eval $ac_var=\
$ac_old_val
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2571 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2573 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2576 # Pass precious variables to config.status.
2577 if test "$ac_new_set" = set; then
2579 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2580 *) ac_arg
=$ac_var=$ac_new_val ;;
2582 case " $ac_configure_args " in
2583 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2584 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2588 if $ac_cache_corrupted; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2592 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2593 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2595 ## -------------------- ##
2596 ## Main body of script. ##
2597 ## -------------------- ##
2600 ac_cpp
='$CPP $CPPFLAGS'
2601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2608 for ac_dir
in .
"$srcdir"/.
; do
2609 for ac_t
in install-sh install.sh shtool
; do
2610 if test -f "$ac_dir/$ac_t"; then
2612 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2617 if test -z "$ac_aux_dir"; then
2618 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2621 # These three variables are undocumented and unsupported,
2622 # and are intended to be withdrawn in a future Autoconf release.
2623 # They can cause serious problems if a builder's source tree is in a directory
2624 # whose full name contains unusual characters.
2625 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2626 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2627 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2633 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2638 macro_version
='2.2.6b'
2639 macro_revision
='1.3017'
2653 ltmain
="$ac_aux_dir/ltmain.sh"
2655 # Make sure we can run config.sub.
2656 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2657 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2660 $as_echo_n "checking build system type... " >&6; }
2661 if test "${ac_cv_build+set}" = set; then :
2662 $as_echo_n "(cached) " >&6
2664 ac_build_alias
=$build_alias
2665 test "x$ac_build_alias" = x
&&
2666 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2667 test "x$ac_build_alias" = x
&&
2668 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2669 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2670 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2674 $as_echo "$ac_cv_build" >&6; }
2675 case $ac_cv_build in
2677 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2680 ac_save_IFS
=$IFS; IFS
='-'
2686 # Remember, the first character of IFS is used to create $*,
2687 # except with old shells:
2690 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2694 $as_echo_n "checking host system type... " >&6; }
2695 if test "${ac_cv_host+set}" = set; then :
2696 $as_echo_n "(cached) " >&6
2698 if test "x$host_alias" = x
; then
2699 ac_cv_host
=$ac_cv_build
2701 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2702 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2707 $as_echo "$ac_cv_host" >&6; }
2710 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2713 ac_save_IFS
=$IFS; IFS
='-'
2719 # Remember, the first character of IFS is used to create $*,
2720 # except with old shells:
2723 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2727 ac_cpp
='$CPP $CPPFLAGS'
2728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2733 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC
="$CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test -n "$CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2762 $as_echo "$CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2770 if test -z "$ac_cv_prog_CC"; then
2772 # Extract the first word of "gcc", so it can be a program name with args.
2773 set dummy gcc
; ac_word
=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$ac_ct_CC"; then
2780 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2786 test -z "$as_dir" && as_dir
=.
2787 for ac_exec_ext
in '' $ac_executable_extensions; do
2788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789 ac_cv_prog_ac_ct_CC
="gcc"
2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2800 if test -n "$ac_ct_CC"; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2802 $as_echo "$ac_ct_CC" >&6; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805 $as_echo "no" >&6; }
2808 if test "x$ac_ct_CC" = x
; then
2811 case $cross_compiling:$ac_tool_warned in
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815 ac_tool_warned
=yes ;;
2823 if test -z "$CC"; then
2824 if test -n "$ac_tool_prefix"; then
2825 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2826 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2828 $as_echo_n "checking for $ac_word... " >&6; }
2829 if test "${ac_cv_prog_CC+set}" = set; then :
2830 $as_echo_n "(cached) " >&6
2832 if test -n "$CC"; then
2833 ac_cv_prog_CC
="$CC" # Let the user override the test.
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 for ac_exec_ext
in '' $ac_executable_extensions; do
2841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2842 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 if test -n "$CC"; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2855 $as_echo "$CC" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2864 if test -z "$CC"; then
2865 # Extract the first word of "cc", so it can be a program name with args.
2866 set dummy cc
; ac_word
=$2
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_CC+set}" = set; then :
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$CC"; then
2873 ac_cv_prog_CC
="$CC" # Let the user override the test.
2876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2880 test -z "$as_dir" && as_dir
=.
2881 for ac_exec_ext
in '' $ac_executable_extensions; do
2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2883 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2884 ac_prog_rejected
=yes
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test $ac_prog_rejected = yes; then
2896 # We found a bogon in the path, so make sure we never use it.
2897 set dummy
$ac_cv_prog_CC
2899 if test $# != 0; then
2900 # We chose a different compiler from the bogus one.
2901 # However, it has the same basename, so the bogon will be chosen
2902 # first if we set CC to just the basename; use the full file name.
2904 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2910 if test -n "$CC"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2912 $as_echo "$CC" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2920 if test -z "$CC"; then
2921 if test -n "$ac_tool_prefix"; then
2922 for ac_prog
in cl.exe
2924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2925 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test "${ac_cv_prog_CC+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$CC"; then
2932 ac_cv_prog_CC
="$CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 if test -n "$CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2954 $as_echo "$CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2961 test -n "$CC" && break
2964 if test -z "$CC"; then
2966 for ac_prog
in cl.exe
2968 # Extract the first word of "$ac_prog", so it can be a program name with args.
2969 set dummy
$ac_prog; ac_word
=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$ac_ct_CC"; then
2976 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir
=.
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_ac_ct_CC
="$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2996 if test -n "$ac_ct_CC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2998 $as_echo "$ac_ct_CC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3005 test -n "$ac_ct_CC" && break
3008 if test "x$ac_ct_CC" = x
; then
3011 case $cross_compiling:$ac_tool_warned in
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3015 ac_tool_warned
=yes ;;
3024 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 as_fn_error
"no acceptable C compiler found in \$PATH
3027 See \`config.log' for more details." "$LINENO" 5; }
3029 # Provide some information about the compiler.
3030 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3033 for ac_option
in --version -v -V -qversion; do
3034 { { ac_try
="$ac_compiler $ac_option >&5"
3036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3043 if test -s conftest.err; then
3045 ... rest of stderr output deleted ...
3046 10q' conftest.err >conftest.er1
3047 cat conftest.er1 >&5
3049 rm -f conftest.er1 conftest.err
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3065 ac_clean_files_save=$ac_clean_files
3066 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3067 # Try to create an executable without -o first, disregard a.out.
3068 # It will help us diagnose broken compilers, and finding out an intuition
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3071 $as_echo_n "checking whether the C compiler works... " >&6; }
3072 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3074 # The possible output files:
3075 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3078 for ac_file in $ac_files
3081 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3082 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3087 if { { ac_try="$ac_link_default"
3089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3090 *) ac_try_echo
=$ac_try;;
3092 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3093 $as_echo "$ac_try_echo"; } >&5
3094 (eval "$ac_link_default") 2>&5
3096 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3097 test $ac_status = 0; }; then :
3098 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3099 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3100 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3101 # so that the user can short-circuit this test for compilers unknown to
3103 for ac_file
in $ac_files ''
3105 test -f "$ac_file" || continue
3107 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3110 # We found the default executable, but exeext='' is most
3114 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3116 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3118 # We set ac_cv_exeext here because the later test for it is not
3119 # safe: cross compilers may not add the suffix if given an `-o'
3120 # argument, so we may need to know it at that point already.
3121 # Even if this section looks crufty: it has the advantage of
3128 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3133 if test -z "$ac_file"; then :
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 { as_fn_set_status
77
3142 as_fn_error
"C compiler cannot create executables
3143 See \`config.log' for more details." "$LINENO" 5; }; }
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3146 $as_echo "yes" >&6; }
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3149 $as_echo_n "checking for C compiler default output file name... " >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3151 $as_echo "$ac_file" >&6; }
3152 ac_exeext
=$ac_cv_exeext
3154 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3155 ac_clean_files
=$ac_clean_files_save
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3157 $as_echo_n "checking for suffix of executables... " >&6; }
3158 if { { ac_try
="$ac_link"
3160 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_link") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }; then :
3169 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3170 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3171 # work properly (i.e., refer to `conftest.exe'), while it won't with
3173 for ac_file
in conftest.exe conftest conftest.
*; do
3174 test -f "$ac_file" || continue
3176 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3177 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3186 See \`config.log' for more details." "$LINENO" 5; }
3188 rm -f conftest conftest
$ac_cv_exeext
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3190 $as_echo "$ac_cv_exeext" >&6; }
3192 rm -f conftest.
$ac_ext
3193 EXEEXT
=$ac_cv_exeext
3195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3201 FILE *f = fopen ("conftest.out", "w");
3202 return ferror (f) || fclose (f) != 0;
3208 ac_clean_files
="$ac_clean_files conftest.out"
3209 # Check that the compiler produces executables we can run. If not, either
3210 # the compiler is broken, or we cross compile.
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3212 $as_echo_n "checking whether we are cross compiling... " >&6; }
3213 if test "$cross_compiling" != yes; then
3214 { { ac_try
="$ac_link"
3216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_link") 2>&5
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }
3225 if { ac_try='./conftest$ac_cv_exeext'
3226 { { case "(($ac_try" in
3227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3228 *) ac_try_echo
=$ac_try;;
3230 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_try") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; }; then
3238 if test "$cross_compiling" = maybe
; then
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error
"cannot run C compiled programs.
3244 If you meant to cross compile, use \`--host'.
3245 See \`config.log' for more details." "$LINENO" 5; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3250 $as_echo "$cross_compiling" >&6; }
3252 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3253 ac_clean_files
=$ac_clean_files_save
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255 $as_echo_n "checking for suffix of object files... " >&6; }
3256 if test "${ac_cv_objext+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3260 /* end confdefs.h. */
3270 rm -f conftest.o conftest.obj
3271 if { { ac_try
="$ac_compile"
3273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3274 *) ac_try_echo=$ac_try;;
3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277 $as_echo "$ac_try_echo"; } >&5
3278 (eval "$ac_compile") 2>&5
3280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281 test $ac_status = 0; }; then :
3282 for ac_file in conftest.o conftest.obj conftest.*; do
3283 test -f "$ac_file" || continue;
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291 $as_echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296 as_fn_error "cannot compute suffix of object files
: cannot compile
3297 See \
`config.log' for more details." "$LINENO" 5; }
3299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3302 $as_echo "$ac_cv_objext" >&6; }
3303 OBJEXT=$ac_cv_objext
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3307 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3308 $as_echo_n "(cached) " >&6
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3324 if ac_fn_c_try_compile "$LINENO"; then :
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3334 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3335 if test $ac_compiler_gnu = yes; then
3340 ac_test_CFLAGS=${CFLAGS+set}
3341 ac_save_CFLAGS=$CFLAGS
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3343 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3344 if test "${ac_cv_prog_cc_g+set}" = set; then :
3345 $as_echo_n "(cached) " >&6
3347 ac_save_c_werror_flag=$ac_c_werror_flag
3348 ac_c_werror_flag=yes
3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352 /* end confdefs.h. */
3362 if ac_fn_c_try_compile "$LINENO"; then :
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3377 if ac_fn_c_try_compile "$LINENO"; then :
3380 ac_c_werror_flag=$ac_save_c_werror_flag
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_c_werror_flag=$ac_save_c_werror_flag
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3404 $as_echo "$ac_cv_prog_cc_g" >&6; }
3405 if test "$ac_test_CFLAGS" = set; then
3406 CFLAGS=$ac_save_CFLAGS
3407 elif test $ac_cv_prog_cc_g = yes; then
3408 if test "$GCC" = yes; then
3414 if test "$GCC" = yes; then
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3422 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 ac_cv_prog_cc_c89=no
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 #include <sys/types.h>
3432 #include <sys/stat.h>
3433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3434 struct buf { int x; };
3435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3436 static char *e (p, i)
3442 static char *f (char * (*g) (char **, int), char **p, ...)
3447 s = g (p, va_arg (v,int));
3452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3453 function prototypes and stuff, but not '\xHH' hex character constants.
3454 These don't provoke an error unfortunately, instead are silently treated
3455 as 'x'. The following induces an error, until -std is added to get
3456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3457 array size at least. It's necessary to write '\x00'==0 to get something
3458 that's true only with -std. */
3459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3462 inside strings and character constants. */
3464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3466 int test (int i, double x);
3467 struct s1 {int (*f) (int a);};
3468 struct s2 {int (*f) (double a);};
3469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3483 CC="$ac_save_CC $ac_arg"
3484 if ac_fn_c_try_compile "$LINENO"; then :
3485 ac_cv_prog_cc_c89=$ac_arg
3487 rm -f core conftest.err conftest.$ac_objext
3488 test "x$ac_cv_prog_cc_c89" != "xno" && break
3490 rm -f conftest.$ac_ext
3495 case "x$ac_cv_prog_cc_c89" in
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3498 $as_echo "none needed" >&6; } ;;
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3501 $as_echo "unsupported" >&6; } ;;
3503 CC="$CC $ac_cv_prog_cc_c89"
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3507 if test "x$ac_cv_prog_cc_c89" != xno; then :
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3518 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3519 if test "${ac_cv_path_SED+set}" = set; then :
3520 $as_echo_n "(cached) " >&6
3522 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3523 for ac_i in 1 2 3 4 5 6 7; do
3524 ac_script="$ac_script$as_nl$ac_script"
3526 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3527 { ac_script=; unset ac_script;}
3528 if test -z "$SED"; then
3529 ac_path_SED_found=false
3530 # Loop through the user's path and test for each of PROGNAME-LIST
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir=.
3536 for ac_prog in sed gsed; do
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3539 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3540 # Check for GNU ac_path_SED and select it if it is found.
3541 # Check for GNU $ac_path_SED
3542 case `"$ac_path_SED" --version 2>&1` in
3544 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3547 $as_echo_n 0123456789 >"conftest.in"
3550 cat "conftest.in" "conftest.in" >"conftest.tmp"
3551 mv "conftest.tmp" "conftest.in"
3552 cp "conftest.in" "conftest.nl"
3553 $as_echo '' >> "conftest.nl"
3554 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3556 as_fn_arith $ac_count + 1 && ac_count=$as_val
3557 if test $ac_count -gt ${ac_path_SED_max-0}; then
3558 # Best one so far, save it but keep looking for a better one
3559 ac_cv_path_SED="$ac_path_SED"
3560 ac_path_SED_max=$ac_count
3562 # 10*(2^10) chars as input seems more than enough
3563 test $ac_count -gt 10 && break
3565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3568 $ac_path_SED_found && break 3
3573 if test -z "$ac_cv_path_SED"; then
3574 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3582 $as_echo "$ac_cv_path_SED" >&6; }
3583 SED="$ac_cv_path_SED"
3586 test -z "$SED" && SED=sed
3587 Xsed="$SED -e 1s/^X//"
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3600 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3601 if test "${ac_cv_path_GREP+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -z "$GREP"; then
3605 ac_path_GREP_found=false
3606 # Loop through the user's path and test for each of PROGNAME-LIST
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3611 test -z "$as_dir" && as_dir=.
3612 for ac_prog in grep ggrep; do
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3615 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3616 # Check for GNU ac_path_GREP and select it if it is found.
3617 # Check for GNU $ac_path_GREP
3618 case `"$ac_path_GREP" --version 2>&1` in
3620 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3623 $as_echo_n 0123456789 >"conftest.in"
3626 cat "conftest.in" "conftest.in" >"conftest.tmp"
3627 mv "conftest.tmp" "conftest.in"
3628 cp "conftest.in" "conftest.nl"
3629 $as_echo 'GREP' >> "conftest.nl"
3630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3631 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3632 as_fn_arith $ac_count + 1 && ac_count=$as_val
3633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3634 # Best one so far, save it but keep looking for a better one
3635 ac_cv_path_GREP="$ac_path_GREP"
3636 ac_path_GREP_max=$ac_count
3638 # 10*(2^10) chars as input seems more than enough
3639 test $ac_count -gt 10 && break
3641 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3644 $ac_path_GREP_found && break 3
3649 if test -z "$ac_cv_path_GREP"; then
3650 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3653 ac_cv_path_GREP=$GREP
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3658 $as_echo "$ac_cv_path_GREP" >&6; }
3659 GREP="$ac_cv_path_GREP"
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3663 $as_echo_n "checking for egrep... " >&6; }
3664 if test "${ac_cv_path_EGREP+set}" = set; then :
3665 $as_echo_n "(cached) " >&6
3667 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3668 then ac_cv_path_EGREP="$GREP -E"
3670 if test -z "$EGREP"; then
3671 ac_path_EGREP_found=false
3672 # Loop through the user's path and test for each of PROGNAME-LIST
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3677 test -z "$as_dir" && as_dir=.
3678 for ac_prog in egrep; do
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3681 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3682 # Check for GNU ac_path_EGREP and select it if it is found.
3683 # Check for GNU $ac_path_EGREP
3684 case `"$ac_path_EGREP" --version 2>&1` in
3686 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3689 $as_echo_n 0123456789 >"conftest.in"
3692 cat "conftest.in" "conftest.in" >"conftest.tmp"
3693 mv "conftest.tmp" "conftest.in"
3694 cp "conftest.in" "conftest.nl"
3695 $as_echo 'EGREP' >> "conftest.nl"
3696 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3698 as_fn_arith $ac_count + 1 && ac_count=$as_val
3699 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3700 # Best one so far, save it but keep looking for a better one
3701 ac_cv_path_EGREP="$ac_path_EGREP"
3702 ac_path_EGREP_max=$ac_count
3704 # 10*(2^10) chars as input seems more than enough
3705 test $ac_count -gt 10 && break
3707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3710 $ac_path_EGREP_found && break 3
3715 if test -z "$ac_cv_path_EGREP"; then
3716 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3719 ac_cv_path_EGREP=$EGREP
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3725 $as_echo "$ac_cv_path_EGREP" >&6; }
3726 EGREP="$ac_cv_path_EGREP"
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3730 $as_echo_n "checking for fgrep... " >&6; }
3731 if test "${ac_cv_path_FGREP+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3734 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3735 then ac_cv_path_FGREP="$GREP -F"
3737 if test -z "$FGREP"; then
3738 ac_path_FGREP_found=false
3739 # Loop through the user's path and test for each of PROGNAME-LIST
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3744 test -z "$as_dir" && as_dir=.
3745 for ac_prog in fgrep; do
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3748 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3749 # Check for GNU ac_path_FGREP and select it if it is found.
3750 # Check for GNU $ac_path_FGREP
3751 case `"$ac_path_FGREP" --version 2>&1` in
3753 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3756 $as_echo_n 0123456789 >"conftest.in"
3759 cat "conftest.in" "conftest.in" >"conftest.tmp"
3760 mv "conftest.tmp" "conftest.in"
3761 cp "conftest.in" "conftest.nl"
3762 $as_echo 'FGREP' >> "conftest.nl"
3763 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3765 as_fn_arith $ac_count + 1 && ac_count=$as_val
3766 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3767 # Best one so far, save it but keep looking for a better one
3768 ac_cv_path_FGREP="$ac_path_FGREP"
3769 ac_path_FGREP_max=$ac_count
3771 # 10*(2^10) chars as input seems more than enough
3772 test $ac_count -gt 10 && break
3774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3777 $ac_path_FGREP_found && break 3
3782 if test -z "$ac_cv_path_FGREP"; then
3783 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3786 ac_cv_path_FGREP=$FGREP
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3792 $as_echo "$ac_cv_path_FGREP" >&6; }
3793 FGREP="$ac_cv_path_FGREP"
3796 test -z "$GREP" && GREP=grep
3816 # Check whether --with-gnu-ld was given.
3817 if test "${with_gnu_ld+set}" = set; then :
3818 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3824 if test "$GCC" = yes; then
3825 # Check if gcc -print-prog-name=ld gives a path.
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3827 $as_echo_n "checking for ld used by $CC... " >&6; }
3830 # gcc leaves a trailing carriage return which upsets mingw
3831 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3833 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3836 # Accept absolute paths.
3838 re_direlt='/[^/][^/]*/\.\./'
3839 # Canonicalize the pathname of ld
3840 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3841 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3842 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3844 test -z "$LD" && LD="$ac_prog"
3847 # If it fails, then pretend we aren't using GCC.
3851 # If it is relative, then search for the first ld in PATH.
3855 elif test "$with_gnu_ld" = yes; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3857 $as_echo_n "checking for GNU ld... " >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3860 $as_echo_n "checking for non-GNU ld... " >&6; }
3862 if test "${lt_cv_path_LD+set}" = set; then :
3863 $as_echo_n "(cached) " >&6
3865 if test -z "$LD"; then
3866 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3867 for ac_dir in $PATH; do
3869 test -z "$ac_dir" && ac_dir=.
3870 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3871 lt_cv_path_LD="$ac_dir/$ac_prog"
3872 # Check to see if the program is GNU ld. I'd rather use --version,
3873 # but apparently some variants of GNU ld only accept -v.
3874 # Break only if it was the GNU/non-GNU ld that we prefer.
3875 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3876 *GNU* | *'with BFD'*)
3877 test "$with_gnu_ld" != no && break
3880 test "$with_gnu_ld" != yes && break
3887 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3892 if test -n "$LD"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3894 $as_echo "$LD" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3899 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3901 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3902 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3903 $as_echo_n "(cached) " >&6
3905 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3906 case `$LD -v 2>&1 </dev
/null
` in
3907 *GNU* | *'with BFD'*)
3908 lt_cv_prog_gnu_ld=yes
3911 lt_cv_prog_gnu_ld=no
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3916 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3917 with_gnu_ld=$lt_cv_prog_gnu_ld
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3928 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3929 if test "${lt_cv_path_NM+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$NM"; then
3933 # Let the user override the test.
3936 lt_nm_to_check="${ac_tool_prefix}nm"
3937 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3938 lt_nm_to_check="$lt_nm_to_check nm"
3940 for lt_tmp_nm in $lt_nm_to_check; do
3941 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3942 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3944 test -z "$ac_dir" && ac_dir=.
3945 tmp_nm="$ac_dir/$lt_tmp_nm"
3946 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3947 # Check to see if the nm accepts a BSD-compat flag.
3948 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3949 # nm: unknown option "B" ignored
3950 # Tru64's nm complains that
/dev
/null is an invalid object
file
3951 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3952 */dev
/null
* | *'Invalid file or object type'*)
3953 lt_cv_path_NM
="$tmp_nm -B"
3957 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3959 lt_cv_path_NM
="$tmp_nm -p"
3963 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3964 continue # so that we can try to find one that supports BSD flags
3973 : ${lt_cv_path_NM=no}
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3977 $as_echo "$lt_cv_path_NM" >&6; }
3978 if test "$lt_cv_path_NM" != "no"; then
3981 # Didn't find any BSD compatible name lister, look for dumpbin.
3982 if test -n "$ac_tool_prefix"; then
3983 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3986 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$DUMPBIN"; then
3993 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 DUMPBIN
=$ac_cv_prog_DUMPBIN
4013 if test -n "$DUMPBIN"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4015 $as_echo "$DUMPBIN" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4022 test -n "$DUMPBIN" && break
4025 if test -z "$DUMPBIN"; then
4026 ac_ct_DUMPBIN
=$DUMPBIN
4027 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4029 # Extract the first word of "$ac_prog", so it can be a program name with args.
4030 set dummy
$ac_prog; ac_word
=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$ac_ct_DUMPBIN"; then
4037 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir
=.
4044 for ac_exec_ext
in '' $ac_executable_extensions; do
4045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4057 if test -n "$ac_ct_DUMPBIN"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4059 $as_echo "$ac_ct_DUMPBIN" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4066 test -n "$ac_ct_DUMPBIN" && break
4069 if test "x$ac_ct_DUMPBIN" = x
; then
4072 case $cross_compiling:$ac_tool_warned in
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4076 ac_tool_warned
=yes ;;
4078 DUMPBIN
=$ac_ct_DUMPBIN
4083 if test "$DUMPBIN" != ":"; then
4087 test -z "$NM" && NM
=nm
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4095 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4096 if test "${lt_cv_nm_interface+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4099 lt_cv_nm_interface
="BSD nm"
4100 echo "int some_variable = 0;" > conftest.
$ac_ext
4101 (eval echo "\"\$as_me:4101: $ac_compile\"" >&5)
4102 (eval "$ac_compile" 2>conftest.err
)
4103 cat conftest.err
>&5
4104 (eval echo "\"\$as_me:4104: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4105 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4106 cat conftest.err
>&5
4107 (eval echo "\"\$as_me:4107: output\"" >&5)
4108 cat conftest.out
>&5
4109 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4110 lt_cv_nm_interface
="MS dumpbin"
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4115 $as_echo "$lt_cv_nm_interface" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4118 $as_echo_n "checking whether ln -s works... " >&6; }
4120 if test "$LN_S" = "ln -s"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4122 $as_echo "yes" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4125 $as_echo "no, using $LN_S" >&6; }
4128 # find the maximum length of command line arguments
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4130 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4131 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4139 # On DJGPP, this test can blow up pretty badly due to problems in libc
4140 # (any single argument exceeding 2000 bytes causes a buffer overrun
4141 # during glob expansion). Even if it were fixed, the result of this
4142 # check would be larger than it should be.
4143 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4147 # Under GNU Hurd, this test is not required because there is
4148 # no limit to the length of command line arguments.
4149 # Libtool will interpret -1 as no limit whatsoever
4150 lt_cv_sys_max_cmd_len
=-1;
4153 cygwin
* | mingw
* | cegcc
*)
4154 # On Win9x/ME, this test blows up -- it succeeds, but takes
4155 # about 5 minutes as the teststring grows exponentially.
4156 # Worse, since 9x/ME are not pre-emptively multitasking,
4157 # you end up with a "frozen" computer, even though with patience
4158 # the test eventually succeeds (with a max line length of 256k).
4159 # Instead, let's just punt: use the minimum linelength reported by
4160 # all of the supported platforms: 8192 (on NT/2K/XP).
4161 lt_cv_sys_max_cmd_len
=8192;
4165 # On AmigaOS with pdksh, this test takes hours, literally.
4166 # So we just punt and use a minimum line length of 8192.
4167 lt_cv_sys_max_cmd_len
=8192;
4170 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4171 # This has been around since 386BSD, at least. Likely further.
4172 if test -x /sbin
/sysctl
; then
4173 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4174 elif test -x /usr
/sbin
/sysctl
; then
4175 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4177 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4179 # And add a safety zone
4180 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4181 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4185 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4186 lt_cv_sys_max_cmd_len
=196608
4190 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4191 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4192 # nice to cause kernel panics so lets avoid the loop below.
4193 # First set a reasonable default.
4194 lt_cv_sys_max_cmd_len
=16384
4196 if test -x /sbin
/sysconfig
; then
4197 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4198 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4203 lt_cv_sys_max_cmd_len
=102400
4205 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4206 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4207 if test -n "$kargmax"; then
4208 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4210 lt_cv_sys_max_cmd_len
=32768
4214 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4215 if test -n "$lt_cv_sys_max_cmd_len"; then
4216 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4217 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4219 # Make teststring a little bigger before we do anything with it.
4220 # a 1K string should be a reasonable start.
4221 for i
in 1 2 3 4 5 6 7 8 ; do
4222 teststring
=$teststring$teststring
4224 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4225 # If test is not a shell built-in, we'll probably end up computing a
4226 # maximum length that is only half of the actual maximum length, but
4228 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4229 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4230 test $i != 17 # 1/2 MB should be enough
4233 teststring
=$teststring$teststring
4235 # Only check the string length outside the loop.
4236 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4238 # Add a significant safety factor because C++ compilers can tack on
4239 # massive amounts of additional arguments before passing them to the
4240 # linker. It appears as though 1/2 is a usable value.
4241 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4248 if test -n $lt_cv_sys_max_cmd_len ; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4250 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4253 $as_echo "none" >&6; }
4255 max_cmd_len
=$lt_cv_sys_max_cmd_len
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4267 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4268 # Try some XSI features
4271 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4273 && eval 'test $(( 1 + 1 )) -eq 2 \
4274 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4277 $as_echo "$xsi_shell" >&6; }
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4281 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4283 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4285 && lt_shell_append
=yes
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4287 $as_echo "$lt_shell_append" >&6; }
4290 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4300 # test EBCDIC or ASCII
4301 case `echo X|tr X '\101'` in
4302 A
) # ASCII based system
4303 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4304 lt_SP2NL
='tr \040 \012'
4305 lt_NL2SP
='tr \015\012 \040\040'
4307 *) # EBCDIC based system
4308 lt_SP2NL
='tr \100 \n'
4309 lt_NL2SP
='tr \r\n \100\100'
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4322 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4323 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4324 $as_echo_n "(cached) " >&6
4326 lt_cv_ld_reload_flag
='-r'
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4329 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4330 reload_flag
=$lt_cv_ld_reload_flag
4331 case $reload_flag in
4333 *) reload_flag
=" $reload_flag" ;;
4335 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4338 if test "$GCC" = yes; then
4339 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4341 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4354 if test -n "$ac_tool_prefix"; then
4355 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4356 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$OBJDUMP"; then
4363 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 OBJDUMP
=$ac_cv_prog_OBJDUMP
4383 if test -n "$OBJDUMP"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4385 $as_echo "$OBJDUMP" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4393 if test -z "$ac_cv_prog_OBJDUMP"; then
4394 ac_ct_OBJDUMP
=$OBJDUMP
4395 # Extract the first word of "objdump", so it can be a program name with args.
4396 set dummy objdump
; ac_word
=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$ac_ct_OBJDUMP"; then
4403 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4412 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4423 if test -n "$ac_ct_OBJDUMP"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4425 $as_echo "$ac_ct_OBJDUMP" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4431 if test "x$ac_ct_OBJDUMP" = x
; then
4434 case $cross_compiling:$ac_tool_warned in
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4438 ac_tool_warned
=yes ;;
4440 OBJDUMP
=$ac_ct_OBJDUMP
4443 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4446 test -z "$OBJDUMP" && OBJDUMP
=objdump
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4457 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4458 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4459 $as_echo_n "(cached) " >&6
4461 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4462 lt_cv_file_magic_test_file
=
4463 lt_cv_deplibs_check_method
='unknown'
4464 # Need to set the preceding variable on all platforms that support
4465 # interlibrary dependencies.
4466 # 'none' -- dependencies not supported.
4467 # `unknown' -- same as none, but documents that we really don't know.
4468 # 'pass_all' -- all dependencies passed with no checks.
4469 # 'test_compile' -- check by making test program.
4470 # 'file_magic [[regex]]' -- check by looking for files in library path
4471 # which responds to the $file_magic_cmd with a given extended regex.
4472 # If you have `file' or equivalent on your system and you're not sure
4473 # whether `pass_all' will *always* work, you probably want this one.
4477 lt_cv_deplibs_check_method
=pass_all
4481 lt_cv_deplibs_check_method
=pass_all
4485 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4486 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4487 lt_cv_file_magic_test_file
=/shlib
/libc.so
4491 # func_win32_libid is a shell function defined in ltmain.sh
4492 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4493 lt_cv_file_magic_cmd
='func_win32_libid'
4497 # Base MSYS/MinGW do not provide the 'file' command needed by
4498 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4499 # unless we find 'file', for example because we are cross-compiling.
4500 if ( file / ) >/dev
/null
2>&1; then
4501 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4502 lt_cv_file_magic_cmd
='func_win32_libid'
4504 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4505 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4510 # use the weaker test based on 'objdump'. See mingw*.
4511 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4512 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4515 darwin
* | rhapsody
*)
4516 lt_cv_deplibs_check_method
=pass_all
4519 freebsd
* | dragonfly
*)
4520 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4523 # Not sure whether the presence of OpenBSD here was a mistake.
4524 # Let's accept both of them until this is cleared up.
4525 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4526 lt_cv_file_magic_cmd
=/usr
/bin
/file
4527 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4531 lt_cv_deplibs_check_method
=pass_all
4536 lt_cv_deplibs_check_method
=pass_all
4539 hpux10.20
* | hpux11
*)
4540 lt_cv_file_magic_cmd
=/usr
/bin
/file
4543 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4544 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4547 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]'
4548 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4551 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4552 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4558 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4559 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4562 irix5
* | irix6
* | nonstopux
*)
4564 *-32|*"-32 ") libmagic
=32-bit;;
4565 *-n32|*"-n32 ") libmagic
=N32
;;
4566 *-64|*"-64 ") libmagic
=64-bit;;
4567 *) libmagic
=never
-match;;
4569 lt_cv_deplibs_check_method
=pass_all
4572 # This must be Linux ELF.
4573 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4574 lt_cv_deplibs_check_method
=pass_all
4577 netbsd
* | netbsdelf
*-gnu)
4578 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4579 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4581 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4586 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4587 lt_cv_file_magic_cmd
=/usr
/bin
/file
4588 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4592 lt_cv_deplibs_check_method
=pass_all
4596 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4597 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4599 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4603 osf3
* | osf4
* | osf5
*)
4604 lt_cv_deplibs_check_method
=pass_all
4608 lt_cv_deplibs_check_method
=pass_all
4612 lt_cv_deplibs_check_method
=pass_all
4615 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4616 lt_cv_deplibs_check_method
=pass_all
4620 case $host_vendor in
4622 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]'
4623 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4626 lt_cv_deplibs_check_method
=pass_all
4629 lt_cv_file_magic_cmd
='/bin/file'
4630 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4633 lt_cv_file_magic_cmd
='/bin/file'
4634 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4635 lt_cv_file_magic_test_file
=/lib
/libc.so
4638 lt_cv_deplibs_check_method
=pass_all
4641 lt_cv_deplibs_check_method
=pass_all
4647 lt_cv_deplibs_check_method
=pass_all
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4653 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4654 file_magic_cmd
=$lt_cv_file_magic_cmd
4655 deplibs_check_method
=$lt_cv_deplibs_check_method
4656 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4669 if test -n "$ac_tool_prefix"; then
4670 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4671 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673 $as_echo_n "checking for $ac_word... " >&6; }
4674 if test "${ac_cv_prog_AR+set}" = set; then :
4675 $as_echo_n "(cached) " >&6
4677 if test -n "$AR"; then
4678 ac_cv_prog_AR
="$AR" # Let the user override the test.
4680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir
=.
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4687 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 if test -n "$AR"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4700 $as_echo "$AR" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4708 if test -z "$ac_cv_prog_AR"; then
4710 # Extract the first word of "ar", so it can be a program name with args.
4711 set dummy
ar; ac_word
=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$ac_ct_AR"; then
4718 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_exec_ext
in '' $ac_executable_extensions; do
4726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4727 ac_cv_prog_ac_ct_AR
="ar"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4738 if test -n "$ac_ct_AR"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4740 $as_echo "$ac_ct_AR" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4746 if test "x$ac_ct_AR" = x
; then
4749 case $cross_compiling:$ac_tool_warned in
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned
=yes ;;
4761 test -z "$AR" && AR
=ar
4762 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4776 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4779 if test "${ac_cv_prog_STRIP+set}" = set; then :
4780 $as_echo_n "(cached) " >&6
4782 if test -n "$STRIP"; then
4783 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 STRIP
=$ac_cv_prog_STRIP
4803 if test -n "$STRIP"; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4805 $as_echo "$STRIP" >&6; }
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4813 if test -z "$ac_cv_prog_STRIP"; then
4815 # Extract the first word of "strip", so it can be a program name with args.
4816 set dummy strip
; ac_word
=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4820 $as_echo_n "(cached) " >&6
4822 if test -n "$ac_ct_STRIP"; then
4823 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir
=.
4830 for ac_exec_ext
in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_ac_ct_STRIP
="strip"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4843 if test -n "$ac_ct_STRIP"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4845 $as_echo "$ac_ct_STRIP" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4851 if test "x$ac_ct_STRIP" = x
; then
4854 case $cross_compiling:$ac_tool_warned in
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned
=yes ;;
4863 STRIP
="$ac_cv_prog_STRIP"
4866 test -z "$STRIP" && STRIP
=:
4873 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4875 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$RANLIB"; then
4882 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 RANLIB
=$ac_cv_prog_RANLIB
4902 if test -n "$RANLIB"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4904 $as_echo "$RANLIB" >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4912 if test -z "$ac_cv_prog_RANLIB"; then
4913 ac_ct_RANLIB
=$RANLIB
4914 # Extract the first word of "ranlib", so it can be a program name with args.
4915 set dummy ranlib
; ac_word
=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$ac_ct_RANLIB"; then
4922 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4942 if test -n "$ac_ct_RANLIB"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4944 $as_echo "$ac_ct_RANLIB" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4950 if test "x$ac_ct_RANLIB" = x
; then
4953 case $cross_compiling:$ac_tool_warned in
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned
=yes ;;
4959 RANLIB
=$ac_ct_RANLIB
4962 RANLIB
="$ac_cv_prog_RANLIB"
4965 test -z "$RANLIB" && RANLIB
=:
4972 # Determine commands to create old-style static archives.
4973 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4974 old_postinstall_cmds
='chmod 644 $oldlib'
4975 old_postuninstall_cmds
=
4977 if test -n "$RANLIB"; then
4980 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4983 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4986 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
5022 # If no C compiler was specified, use CC.
5025 # If no C compiler flags were specified, use CFLAGS.
5026 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5028 # Allow CC to be a program name with arguments.
5032 # Check for command to grab the raw symbol name followed by C symbol from nm.
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5034 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5035 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5039 # These are sane defaults that work on at least a few old systems.
5040 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5042 # Character class describing NM global symbol codes.
5043 symcode
='[BCDEGRST]'
5045 # Regexp to match symbols that can be accessed directly from C.
5046 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5048 # Define system-specific variables.
5053 cygwin
* | mingw
* | pw32
* | cegcc
*)
5054 symcode
='[ABCDGISTW]'
5057 if test "$host_cpu" = ia64
; then
5058 symcode
='[ABCDEGRST]'
5062 symcode
='[BCDEGRST]'
5065 symcode
='[BCDEGQRST]'
5076 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5084 # If we're using GNU nm, then use its standard symbol codes.
5085 case `$NM -V 2>&1` in
5086 *GNU
* | *'with BFD'*)
5087 symcode
='[ABCDGIRSTW]' ;;
5090 # Transform an extracted symbol line into a proper C declaration.
5091 # Some systems (esp. on ia64) link data and code symbols differently,
5092 # so use this general approach.
5093 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5095 # Transform an extracted symbol line into symbol name and symbol address
5096 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5097 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'"
5099 # Handle CRLF in mingw tool chain
5103 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5107 # Try without a prefix underscore, then with it.
5108 for ac_symprfx
in "" "_"; do
5110 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5111 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5113 # Write the raw and C identifiers.
5114 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5115 # Fake it for dumpbin and say T for any non-static function
5116 # and D for any global variable.
5117 # Also find C++ and __fastcall symbols from MSVC++,
5118 # which start with @ or ?.
5119 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5120 " {last_section=section; section=\$ 3};"\
5121 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5122 " \$ 0!~/External *\|/{next};"\
5123 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5124 " {if(hide[section]) next};"\
5125 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5126 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5127 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5128 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5129 " ' prfx=^$ac_symprfx"
5131 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5134 # Check to see that the pipe works correctly.
5138 cat > conftest.
$ac_ext <<_LT_EOF
5143 void nm_test_func(void);
5144 void nm_test_func(void){}
5148 int main(){nm_test_var='a';nm_test_func();return(0);}
5151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5152 (eval $ac_compile) 2>&5
5154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5155 test $ac_status = 0; }; then
5156 # Now try to grab the symbols.
5158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5159 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5162 test $ac_status = 0; } && test -s "$nlist"; then
5163 # Try sorting and uniquifying the output.
5164 if sort "$nlist" | uniq > "$nlist"T
; then
5165 mv -f "$nlist"T
"$nlist"
5170 # Make sure that we snagged all the symbols we need.
5171 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5172 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5173 cat <<_LT_EOF > conftest.$ac_ext
5179 # Now generate the symbol file.
5180 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5182 cat <<_LT_EOF >> conftest.$ac_ext
5184 /* The mapping between symbol names and symbols. */
5189 lt__PROGRAM__LTX_preloaded_symbols[] =
5191 { "@PROGRAM@", (void *) 0 },
5193 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5194 cat <<\_LT_EOF
>> conftest.
$ac_ext
5198 /* This works around a problem
in FreeBSD linker
*/
5199 #ifdef FREEBSD_WORKAROUND
5200 static const void
*lt_preloaded_setup
() {
5201 return lt__PROGRAM__LTX_preloaded_symbols
;
5209 # Now try linking the two files.
5210 mv conftest.
$ac_objext conftstm.
$ac_objext
5211 lt_save_LIBS
="$LIBS"
5212 lt_save_CFLAGS
="$CFLAGS"
5213 LIBS
="conftstm.$ac_objext"
5214 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5215 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5216 (eval $ac_link) 2>&5
5218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5219 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5222 LIBS
="$lt_save_LIBS"
5223 CFLAGS
="$lt_save_CFLAGS"
5225 echo "cannot find nm_test_func in $nlist" >&5
5228 echo "cannot find nm_test_var in $nlist" >&5
5231 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5234 echo "$progname: failed program was:" >&5
5235 cat conftest.
$ac_ext >&5
5237 rm -rf conftest
* conftst
*
5239 # Do not use the global_symbol_pipe unless it works.
5240 if test "$pipe_works" = yes; then
5243 lt_cv_sys_global_symbol_pipe
=
5249 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5250 lt_cv_sys_global_symbol_to_cdecl
=
5252 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5254 $as_echo "failed" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5257 $as_echo "ok" >&6; }
5282 # Check whether --enable-libtool-lock was given.
5283 if test "${enable_libtool_lock+set}" = set; then :
5284 enableval
=$enable_libtool_lock;
5287 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5289 # Some flags need to be propagated to the compiler or linker for good
5293 # Find out which ABI we are using.
5294 echo 'int i;' > conftest.
$ac_ext
5295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5296 (eval $ac_compile) 2>&5
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }; then
5300 case `/usr/bin/file conftest.$ac_objext` in
5312 # Find out which ABI we are using.
5313 echo '#line 5313 "configure"' > conftest.
$ac_ext
5314 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5315 (eval $ac_compile) 2>&5
5317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5318 test $ac_status = 0; }; then
5319 if test "$lt_cv_prog_gnu_ld" = yes; then
5320 case `/usr/bin/file conftest.$ac_objext` in
5322 LD
="${LD-ld} -melf32bsmip"
5325 LD
="${LD-ld} -melf32bmipn32"
5328 LD
="${LD-ld} -melf64bmip"
5332 case `/usr/bin/file conftest.$ac_objext` in
5348 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5349 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5350 # Find out which ABI we are using.
5351 echo 'int i;' > conftest.
$ac_ext
5352 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5353 (eval $ac_compile) 2>&5
5355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }; then
5357 case `/usr/bin/file conftest.o` in
5360 x86_64
-*kfreebsd
*-gnu)
5361 LD
="${LD-ld} -m elf_i386_fbsd"
5364 LD
="${LD-ld} -m elf_i386"
5366 ppc64
-*linux
*|powerpc64
-*linux
*)
5367 LD
="${LD-ld} -m elf32ppclinux"
5370 LD
="${LD-ld} -m elf_s390"
5373 LD
="${LD-ld} -m elf32_sparc"
5379 x86_64
-*kfreebsd
*-gnu)
5380 LD
="${LD-ld} -m elf_x86_64_fbsd"
5383 LD
="${LD-ld} -m elf_x86_64"
5385 ppc
*-*linux
*|powerpc
*-*linux
*)
5386 LD
="${LD-ld} -m elf64ppc"
5388 s390
*-*linux
*|s390
*-*tpf
*)
5389 LD
="${LD-ld} -m elf64_s390"
5392 LD
="${LD-ld} -m elf64_sparc"
5402 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5403 SAVE_CFLAGS
="$CFLAGS"
5404 CFLAGS
="$CFLAGS -belf"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5406 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5407 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5408 $as_echo_n "(cached) " >&6
5411 ac_cpp
='$CPP $CPPFLAGS'
5412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5427 if ac_fn_c_try_link
"$LINENO"; then :
5428 lt_cv_cc_needs_belf
=yes
5430 lt_cv_cc_needs_belf
=no
5432 rm -f core conftest.err conftest.
$ac_objext \
5433 conftest
$ac_exeext conftest.
$ac_ext
5435 ac_cpp
='$CPP $CPPFLAGS'
5436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5442 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5443 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5444 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5445 CFLAGS
="$SAVE_CFLAGS"
5449 # Find out which ABI we are using.
5450 echo 'int i;' > conftest.
$ac_ext
5451 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5452 (eval $ac_compile) 2>&5
5454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5455 test $ac_status = 0; }; then
5456 case `/usr/bin/file conftest.o` in
5458 case $lt_cv_prog_gnu_ld in
5459 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5461 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5473 need_locks
="$enable_libtool_lock"
5477 rhapsody
* | darwin
*)
5478 if test -n "$ac_tool_prefix"; then
5479 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5480 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5484 $as_echo_n "(cached) " >&6
5486 if test -n "$DSYMUTIL"; then
5487 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 test -z "$as_dir" && as_dir
=.
5494 for ac_exec_ext
in '' $ac_executable_extensions; do
5495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5496 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5507 if test -n "$DSYMUTIL"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5509 $as_echo "$DSYMUTIL" >&6; }
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5517 if test -z "$ac_cv_prog_DSYMUTIL"; then
5518 ac_ct_DSYMUTIL
=$DSYMUTIL
5519 # Extract the first word of "dsymutil", so it can be a program name with args.
5520 set dummy dsymutil
; 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_ac_ct_DSYMUTIL+set}" = set; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$ac_ct_DSYMUTIL"; then
5527 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # 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_ac_ct_DSYMUTIL
="dsymutil"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5547 if test -n "$ac_ct_DSYMUTIL"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5549 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5555 if test "x$ac_ct_DSYMUTIL" = x
; then
5558 case $cross_compiling:$ac_tool_warned in
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5562 ac_tool_warned
=yes ;;
5564 DSYMUTIL
=$ac_ct_DSYMUTIL
5567 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5570 if test -n "$ac_tool_prefix"; then
5571 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5572 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$NMEDIT"; then
5579 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5588 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 NMEDIT
=$ac_cv_prog_NMEDIT
5599 if test -n "$NMEDIT"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5601 $as_echo "$NMEDIT" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5609 if test -z "$ac_cv_prog_NMEDIT"; then
5610 ac_ct_NMEDIT
=$NMEDIT
5611 # Extract the first word of "nmedit", so it can be a program name with args.
5612 set dummy nmedit
; 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_ac_ct_NMEDIT+set}" = set; then :
5616 $as_echo_n "(cached) " >&6
5618 if test -n "$ac_ct_NMEDIT"; then
5619 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT
="nmedit"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5639 if test -n "$ac_ct_NMEDIT"; then
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5641 $as_echo "$ac_ct_NMEDIT" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }
5647 if test "x$ac_ct_NMEDIT" = x
; then
5650 case $cross_compiling:$ac_tool_warned in
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5654 ac_tool_warned
=yes ;;
5656 NMEDIT
=$ac_ct_NMEDIT
5659 NMEDIT
="$ac_cv_prog_NMEDIT"
5662 if test -n "$ac_tool_prefix"; then
5663 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5664 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if test "${ac_cv_prog_LIPO+set}" = set; then :
5668 $as_echo_n "(cached) " >&6
5670 if test -n "$LIPO"; then
5671 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5677 test -z "$as_dir" && as_dir
=.
5678 for ac_exec_ext
in '' $ac_executable_extensions; do
5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5680 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690 LIPO
=$ac_cv_prog_LIPO
5691 if test -n "$LIPO"; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5693 $as_echo "$LIPO" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5701 if test -z "$ac_cv_prog_LIPO"; then
5703 # Extract the first word of "lipo", so it can be a program name with args.
5704 set dummy lipo
; 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_ac_ct_LIPO+set}" = set; then :
5708 $as_echo_n "(cached) " >&6
5710 if test -n "$ac_ct_LIPO"; then
5711 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # 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_ac_ct_LIPO
="lipo"
5721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5731 if test -n "$ac_ct_LIPO"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5733 $as_echo "$ac_ct_LIPO" >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736 $as_echo "no" >&6; }
5739 if test "x$ac_ct_LIPO" = x
; then
5742 case $cross_compiling:$ac_tool_warned in
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5746 ac_tool_warned
=yes ;;
5751 LIPO
="$ac_cv_prog_LIPO"
5754 if test -n "$ac_tool_prefix"; then
5755 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5756 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758 $as_echo_n "checking for $ac_word... " >&6; }
5759 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5760 $as_echo_n "(cached) " >&6
5762 if test -n "$OTOOL"; then
5763 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir
=.
5770 for ac_exec_ext
in '' $ac_executable_extensions; do
5771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5772 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 OTOOL
=$ac_cv_prog_OTOOL
5783 if test -n "$OTOOL"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5785 $as_echo "$OTOOL" >&6; }
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5793 if test -z "$ac_cv_prog_OTOOL"; then
5795 # Extract the first word of "otool", so it can be a program name with args.
5796 set dummy otool
; 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_ac_ct_OTOOL+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 if test -n "$ac_ct_OTOOL"; then
5803 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # 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_ac_ct_OTOOL
="otool"
5813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5823 if test -n "$ac_ct_OTOOL"; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5825 $as_echo "$ac_ct_OTOOL" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5831 if test "x$ac_ct_OTOOL" = x
; then
5834 case $cross_compiling:$ac_tool_warned in
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5838 ac_tool_warned
=yes ;;
5843 OTOOL
="$ac_cv_prog_OTOOL"
5846 if test -n "$ac_tool_prefix"; then
5847 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5848 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -n "$OTOOL64"; then
5855 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir
=.
5862 for ac_exec_ext
in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 OTOOL64
=$ac_cv_prog_OTOOL64
5875 if test -n "$OTOOL64"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5877 $as_echo "$OTOOL64" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5885 if test -z "$ac_cv_prog_OTOOL64"; then
5886 ac_ct_OTOOL64
=$OTOOL64
5887 # Extract the first word of "otool64", so it can be a program name with args.
5888 set dummy otool64
; ac_word
=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5892 $as_echo_n "(cached) " >&6
5894 if test -n "$ac_ct_OTOOL64"; then
5895 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5901 test -z "$as_dir" && as_dir
=.
5902 for ac_exec_ext
in '' $ac_executable_extensions; do
5903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5904 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5915 if test -n "$ac_ct_OTOOL64"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5917 $as_echo "$ac_ct_OTOOL64" >&6; }
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5923 if test "x$ac_ct_OTOOL64" = x
; then
5926 case $cross_compiling:$ac_tool_warned in
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5930 ac_tool_warned
=yes ;;
5932 OTOOL64
=$ac_ct_OTOOL64
5935 OTOOL64
="$ac_cv_prog_OTOOL64"
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5965 $as_echo_n "checking for -single_module linker flag... " >&6; }
5966 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5967 $as_echo_n "(cached) " >&6
5969 lt_cv_apple_cc_single_mod
=no
5970 if test -z "${LT_MULTI_MODULE}"; then
5971 # By default we will add the -single_module flag. You can override
5972 # by either setting the environment variable LT_MULTI_MODULE
5973 # non-empty at configure time, or by adding -multi_module to the
5975 rm -rf libconftest.dylib
*
5976 echo "int foo(void){return 1;}" > conftest.c
5977 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5978 -dynamiclib -Wl,-single_module conftest.c" >&5
5979 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5980 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5982 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5983 lt_cv_apple_cc_single_mod
=yes
5985 cat conftest.err
>&5
5987 rm -rf libconftest.dylib
*
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5992 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5994 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5995 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5996 $as_echo_n "(cached) " >&6
5998 lt_cv_ld_exported_symbols_list
=no
5999 save_LDFLAGS
=$LDFLAGS
6000 echo "_main" > conftest.sym
6001 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6013 if ac_fn_c_try_link
"$LINENO"; then :
6014 lt_cv_ld_exported_symbols_list
=yes
6016 lt_cv_ld_exported_symbols_list
=no
6018 rm -f core conftest.err conftest.
$ac_objext \
6019 conftest
$ac_exeext conftest.
$ac_ext
6020 LDFLAGS
="$save_LDFLAGS"
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6024 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6026 rhapsody
* | darwin1.
[012])
6027 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
6029 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6030 darwin
*) # darwin 5.x on
6031 # if running on 10.5 or later, the deployment target defaults
6032 # to the OS version, if on x86, and 10.4, the deployment
6033 # target defaults to 10.4. Don't you love it?
6034 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6035 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6036 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6038 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6040 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6044 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6045 _lt_dar_single_mod
='$single_module'
6047 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6048 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6050 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6052 if test "$DSYMUTIL" != ":"; then
6053 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6061 ac_cpp
='$CPP $CPPFLAGS'
6062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6066 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6067 # On Suns, sometimes $CPP names a directory.
6068 if test -n "$CPP" && test -d "$CPP"; then
6071 if test -z "$CPP"; then
6072 if test "${ac_cv_prog_CPP+set}" = set; then :
6073 $as_echo_n "(cached) " >&6
6075 # Double quotes because CPP needs to be expanded
6076 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6079 for ac_c_preproc_warn_flag
in '' yes
6081 # Use a header file that comes with gcc, so configuring glibc
6082 # with a fresh cross-compiler works.
6083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6084 # <limits.h> exists even on freestanding compilers.
6085 # On the NeXT, cc -E runs the code through the compiler's parser,
6086 # not just through cpp. "Syntax error" is here to catch this case.
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6090 # include <limits.h>
6092 # include <assert.h>
6096 if ac_fn_c_try_cpp
"$LINENO"; then :
6099 # Broken: fails on valid input.
6102 rm -f conftest.err conftest.
$ac_ext
6104 # OK, works on sane cases. Now check whether nonexistent headers
6105 # can be detected and how.
6106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6107 /* end confdefs.h. */
6108 #include <ac_nonexistent.h>
6110 if ac_fn_c_try_cpp
"$LINENO"; then :
6111 # Broken: success on invalid input.
6114 # Passes both tests.
6118 rm -f conftest.err conftest.
$ac_ext
6121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6122 rm -f conftest.err conftest.
$ac_ext
6123 if $ac_preproc_ok; then :
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6136 $as_echo "$CPP" >&6; }
6138 for ac_c_preproc_warn_flag
in '' yes
6140 # Use a header file that comes with gcc, so configuring glibc
6141 # with a fresh cross-compiler works.
6142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6143 # <limits.h> exists even on freestanding compilers.
6144 # On the NeXT, cc -E runs the code through the compiler's parser,
6145 # not just through cpp. "Syntax error" is here to catch this case.
6146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6149 # include <limits.h>
6151 # include <assert.h>
6155 if ac_fn_c_try_cpp
"$LINENO"; then :
6158 # Broken: fails on valid input.
6161 rm -f conftest.err conftest.
$ac_ext
6163 # OK, works on sane cases. Now check whether nonexistent headers
6164 # can be detected and how.
6165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6166 /* end confdefs.h. */
6167 #include <ac_nonexistent.h>
6169 if ac_fn_c_try_cpp
"$LINENO"; then :
6170 # Broken: success on invalid input.
6173 # Passes both tests.
6177 rm -f conftest.err conftest.
$ac_ext
6180 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6181 rm -f conftest.err conftest.
$ac_ext
6182 if $ac_preproc_ok; then :
6185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6187 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6188 See \`config.log' for more details." "$LINENO" 5; }
6192 ac_cpp
='$CPP $CPPFLAGS'
6193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6199 $as_echo_n "checking for ANSI C header files... " >&6; }
6200 if test "${ac_cv_header_stdc+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6218 if ac_fn_c_try_compile
"$LINENO"; then :
6219 ac_cv_header_stdc
=yes
6221 ac_cv_header_stdc
=no
6223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6225 if test $ac_cv_header_stdc = yes; then
6226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6233 $EGREP "memchr" >/dev
/null
2>&1; then :
6236 ac_cv_header_stdc
=no
6242 if test $ac_cv_header_stdc = yes; then
6243 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6250 $EGREP "free" >/dev
/null
2>&1; then :
6253 ac_cv_header_stdc
=no
6259 if test $ac_cv_header_stdc = yes; then
6260 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6261 if test "$cross_compiling" = yes; then :
6264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6265 /* end confdefs.h. */
6268 #if ((' ' & 0x0FF) == 0x020)
6269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6272 # define ISLOWER(c) \
6273 (('a' <= (c) && (c) <= 'i') \
6274 || ('j' <= (c) && (c) <= 'r') \
6275 || ('s' <= (c) && (c) <= 'z'))
6276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6284 for (i = 0; i < 256; i++)
6285 if (XOR (islower (i), ISLOWER (i))
6286 || toupper (i) != TOUPPER (i))
6291 if ac_fn_c_try_run
"$LINENO"; then :
6294 ac_cv_header_stdc
=no
6296 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6297 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6303 $as_echo "$ac_cv_header_stdc" >&6; }
6304 if test $ac_cv_header_stdc = yes; then
6306 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6311 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6312 inttypes.h stdint.h unistd.h
6314 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6315 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6317 eval as_val
=\$
$as_ac_Header
6318 if test "x$as_val" = x
""yes; then :
6319 cat >>confdefs.h
<<_ACEOF
6320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6328 for ac_header
in dlfcn.h
6330 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6332 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6333 cat >>confdefs.h
<<_ACEOF
6334 #define HAVE_DLFCN_H 1
6344 # Check whether --enable-static was given.
6345 if test "${enable_static+set}" = set; then :
6346 enableval
=$enable_static; p
=${PACKAGE-default}
6348 yes) enable_static
=yes ;;
6349 no
) enable_static
=no
;;
6352 # Look at the argument we got. We use all the common list separators.
6353 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6354 for pkg
in $enableval; do
6356 if test "X$pkg" = "X$p"; then
6382 # Check whether --enable-shared was given.
6383 if test "${enable_shared+set}" = set; then :
6384 enableval
=$enable_shared; p
=${PACKAGE-default}
6386 yes) enable_shared
=yes ;;
6387 no
) enable_shared
=no
;;
6390 # Look at the argument we got. We use all the common list separators.
6391 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6392 for pkg
in $enableval; do
6394 if test "X$pkg" = "X$p"; then
6415 # Check whether --with-pic was given.
6416 if test "${with_pic+set}" = set; then :
6417 withval
=$with_pic; pic_mode
="$withval"
6423 test -z "$pic_mode" && pic_mode
=default
6431 # Check whether --enable-fast-install was given.
6432 if test "${enable_fast_install+set}" = set; then :
6433 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6435 yes) enable_fast_install
=yes ;;
6436 no
) enable_fast_install
=no
;;
6438 enable_fast_install
=no
6439 # Look at the argument we got. We use all the common list separators.
6440 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6441 for pkg
in $enableval; do
6443 if test "X$pkg" = "X$p"; then
6444 enable_fast_install
=yes
6451 enable_fast_install
=yes
6464 # This can be used to rebuild libtool when needed
6465 LIBTOOL_DEPS
="$ltmain"
6467 # Always use our own libtool.
6468 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6494 test -z "$LN_S" && LN_S
="ln -s"
6509 if test -n "${ZSH_VERSION+set}" ; then
6510 setopt NO_GLOB_SUBST
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6514 $as_echo_n "checking for objdir... " >&6; }
6515 if test "${lt_cv_objdir+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6518 rm -f .libs
2>/dev
/null
6519 mkdir .libs
2>/dev
/null
6520 if test -d .libs
; then
6523 # MS-DOS does not allow filenames that begin with a dot.
6526 rmdir .libs
2>/dev
/null
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6529 $as_echo "$lt_cv_objdir" >&6; }
6530 objdir
=$lt_cv_objdir
6536 cat >>confdefs.h
<<_ACEOF
6537 #define LT_OBJDIR "$lt_cv_objdir/"
6558 # AIX sometimes has problems with the GCC collect2 program. For some
6559 # reason, if we set the COLLECT_NAMES environment variable, the problems
6560 # vanish in a puff of smoke.
6561 if test "X${COLLECT_NAMES+set}" != Xset
; then
6563 export COLLECT_NAMES
6568 # Sed substitution that helps us do robust quoting. It backslashifies
6569 # metacharacters that are still active within double-quoted strings.
6570 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6572 # Same as above, but do not quote variable references.
6573 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6575 # Sed substitution to delay expansion of an escaped shell variable in a
6576 # double_quote_subst'ed string.
6577 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6579 # Sed substitution to delay expansion of an escaped single quote.
6580 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6582 # Sed substitution to avoid accidental globbing in evaled expressions
6583 no_glob_subst
='s/\*/\\\*/g'
6587 can_build_shared
=yes
6589 # All known linkers require a `.a' archive for static linking (except MSVC,
6590 # which needs '.lib').
6593 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6596 old_CFLAGS
="$CFLAGS"
6598 # Set sane defaults for various variables
6599 test -z "$CC" && CC
=cc
6600 test -z "$LTCC" && LTCC
=$CC
6601 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6602 test -z "$LD" && LD
=ld
6603 test -z "$ac_objext" && ac_objext
=o
6605 for cc_temp
in $compiler""; do
6607 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6608 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6613 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6616 # Only perform the check for file, if the check method requires it
6617 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6618 case $deplibs_check_method in
6620 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6622 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6623 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6624 $as_echo_n "(cached) " >&6
6628 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6631 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6632 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6633 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6634 for ac_dir
in $ac_dummy; do
6636 test -z "$ac_dir" && ac_dir
=.
6637 if test -f $ac_dir/${ac_tool_prefix}file; then
6638 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6639 if test -n "$file_magic_test_file"; then
6640 case $deplibs_check_method in
6642 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6643 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6644 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6645 $EGREP "$file_magic_regex" > /dev
/null
; then
6650 *** Warning: the command libtool uses to detect shared libraries,
6651 *** $file_magic_cmd, produces output that libtool cannot recognize.
6652 *** The result is that libtool may fail to recognize shared libraries
6653 *** as such. This will affect the creation of libtool libraries that
6654 *** depend on shared libraries, but programs linked with such libtool
6655 *** libraries will work regardless of this problem. Nevertheless, you
6656 *** may want to report the problem to your system manager and/or to
6657 *** bug-libtool@gnu.org
6667 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6672 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6673 if test -n "$MAGIC_CMD"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6675 $as_echo "$MAGIC_CMD" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6685 if test -z "$lt_cv_path_MAGIC_CMD"; then
6686 if test -n "$ac_tool_prefix"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6688 $as_echo_n "checking for file... " >&6; }
6689 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6690 $as_echo_n "(cached) " >&6
6694 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6697 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6698 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6699 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6700 for ac_dir
in $ac_dummy; do
6702 test -z "$ac_dir" && ac_dir
=.
6703 if test -f $ac_dir/file; then
6704 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6705 if test -n "$file_magic_test_file"; then
6706 case $deplibs_check_method in
6708 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6709 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6710 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6711 $EGREP "$file_magic_regex" > /dev
/null
; then
6716 *** Warning: the command libtool uses to detect shared libraries,
6717 *** $file_magic_cmd, produces output that libtool cannot recognize.
6718 *** The result is that libtool may fail to recognize shared libraries
6719 *** as such. This will affect the creation of libtool libraries that
6720 *** depend on shared libraries, but programs linked with such libtool
6721 *** libraries will work regardless of this problem. Nevertheless, you
6722 *** may want to report the problem to your system manager and/or to
6723 *** bug-libtool@gnu.org
6733 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6738 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6739 if test -n "$MAGIC_CMD"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6741 $as_echo "$MAGIC_CMD" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6757 # Use C for the default configuration in the libtool script
6761 ac_cpp
='$CPP $CPPFLAGS'
6762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6767 # Source file extension for C test sources.
6770 # Object file extension for compiled C test sources.
6774 # Code to be used in simple compile tests
6775 lt_simple_compile_test_code
="int some_variable = 0;"
6777 # Code to be used in simple link tests
6778 lt_simple_link_test_code
='int main(){return(0);}'
6786 # If no C compiler was specified, use CC.
6789 # If no C compiler flags were specified, use CFLAGS.
6790 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6792 # Allow CC to be a program name with arguments.
6795 # Save the default compiler, since it gets overwritten when the other
6796 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6797 compiler_DEFAULT
=$CC
6799 # save warnings/boilerplate of simple test code
6800 ac_outfile
=conftest.
$ac_objext
6801 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6802 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6803 _lt_compiler_boilerplate
=`cat conftest.err`
6806 ac_outfile
=conftest.
$ac_objext
6807 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6808 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6809 _lt_linker_boilerplate
=`cat conftest.err`
6813 if test -n "$compiler"; then
6815 lt_prog_compiler_no_builtin_flag
=
6817 if test "$GCC" = yes; then
6818 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6821 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6822 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6825 lt_cv_prog_compiler_rtti_exceptions
=no
6826 ac_outfile
=conftest.
$ac_objext
6827 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6828 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6829 # Insert the option either (1) after the last *FLAGS variable, or
6830 # (2) before a word containing "conftest.", or (3) at the end.
6831 # Note that $ac_compile itself does not contain backslashes and begins
6832 # with a dollar sign (not a hyphen), so the echo should work correctly.
6833 # The option is referenced via a variable to avoid confusing sed.
6834 lt_compile
=`echo "$ac_compile" | $SED \
6835 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6836 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6837 -e 's:$: $lt_compiler_flag:'`
6838 (eval echo "\"\$as_me:6838: $lt_compile\"" >&5)
6839 (eval "$lt_compile" 2>conftest.err
)
6841 cat conftest.err
>&5
6842 echo "$as_me:6842: \$? = $ac_status" >&5
6843 if (exit $ac_status) && test -s "$ac_outfile"; then
6844 # The compiler can only warn and ignore the option if not recognized
6845 # So say no if there are warnings other than the usual output.
6846 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6847 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6848 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6849 lt_cv_prog_compiler_rtti_exceptions
=yes
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6856 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6858 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6859 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6871 lt_prog_compiler_wl
=
6872 lt_prog_compiler_pic
=
6873 lt_prog_compiler_static
=
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6876 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6878 if test "$GCC" = yes; then
6879 lt_prog_compiler_wl
='-Wl,'
6880 lt_prog_compiler_static
='-static'
6884 # All AIX code is PIC.
6885 if test "$host_cpu" = ia64
; then
6886 # AIX 5 now supports IA64 processor
6887 lt_prog_compiler_static
='-Bstatic'
6894 # see comment about AmigaOS4 .so support
6895 lt_prog_compiler_pic
='-fPIC'
6898 # FIXME: we need at least 68020 code to build shared libraries, but
6899 # adding the `-m68020' flag to GCC prevents building anything better,
6901 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6906 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6907 # PIC is the default for these OSes.
6910 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6911 # This hack is so that the source file can tell whether it is being
6912 # built for inclusion in a dll (and should export symbols for example).
6913 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6914 # (--disable-auto-import) libraries
6915 lt_prog_compiler_pic
='-DDLL_EXPORT'
6918 darwin
* | rhapsody
*)
6919 # PIC is the default on this platform
6920 # Common symbols not allowed in MH_DYLIB files
6921 lt_prog_compiler_pic
='-fno-common'
6925 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6926 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6927 # sets the default TLS model and affects inlining.
6933 lt_prog_compiler_pic
='-fPIC'
6939 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6940 # Instead, we relocate shared libraries at runtime.
6944 # Just because we use GCC doesn't mean we suddenly get shared libraries
6945 # on systems that don't support them.
6946 lt_prog_compiler_can_build_shared
=no
6951 # QNX uses GNU C++, but need to define -shared option too, otherwise
6953 lt_prog_compiler_pic
='-fPIC -shared'
6957 if test -d /usr
/nec
; then
6958 lt_prog_compiler_pic
=-Kconform_pic
6963 lt_prog_compiler_pic
='-fPIC'
6967 # PORTME Check for flag to pass linker flags through the system compiler.
6970 lt_prog_compiler_wl
='-Wl,'
6971 if test "$host_cpu" = ia64
; then
6972 # AIX 5 now supports IA64 processor
6973 lt_prog_compiler_static
='-Bstatic'
6975 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6979 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6980 # This hack is so that the source file can tell whether it is being
6981 # built for inclusion in a dll (and should export symbols for example).
6982 lt_prog_compiler_pic
='-DDLL_EXPORT'
6985 hpux9
* | hpux10
* | hpux11
*)
6986 lt_prog_compiler_wl
='-Wl,'
6987 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6994 lt_prog_compiler_pic
='+Z'
6997 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6998 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7001 irix5
* | irix6
* | nonstopux
*)
7002 lt_prog_compiler_wl
='-Wl,'
7003 # PIC (with -KPIC) is the default.
7004 lt_prog_compiler_static
='-non_shared'
7007 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7008 case $cc_basename in
7009 # old Intel for x86_64 which still supported -KPIC.
7011 lt_prog_compiler_wl
='-Wl,'
7012 lt_prog_compiler_pic
='-KPIC'
7013 lt_prog_compiler_static
='-static'
7015 # icc used to be incompatible with GCC.
7016 # ICC 10 doesn't accept -KPIC any more.
7018 lt_prog_compiler_wl
='-Wl,'
7019 lt_prog_compiler_pic
='-fPIC'
7020 lt_prog_compiler_static
='-static'
7022 # Lahey Fortran 8.1.
7024 lt_prog_compiler_wl
='-Wl,'
7025 lt_prog_compiler_pic
='--shared'
7026 lt_prog_compiler_static
='--static'
7028 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7029 # Portland Group compilers (*not* the Pentium gcc compiler,
7030 # which looks to be a dead project)
7031 lt_prog_compiler_wl
='-Wl,'
7032 lt_prog_compiler_pic
='-fpic'
7033 lt_prog_compiler_static
='-Bstatic'
7036 lt_prog_compiler_wl
='-Wl,'
7037 # All Alpha code is PIC.
7038 lt_prog_compiler_static
='-non_shared'
7041 # IBM XL C 8.0/Fortran 10.1 on PPC
7042 lt_prog_compiler_wl
='-Wl,'
7043 lt_prog_compiler_pic
='-qpic'
7044 lt_prog_compiler_static
='-qstaticlink'
7047 case `$CC -V 2>&1 | sed 5q` in
7050 lt_prog_compiler_pic
='-KPIC'
7051 lt_prog_compiler_static
='-Bstatic'
7052 lt_prog_compiler_wl
='-Wl,'
7055 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7056 lt_prog_compiler_pic
='-KPIC'
7057 lt_prog_compiler_static
='-Bstatic'
7058 lt_prog_compiler_wl
=''
7066 lt_prog_compiler_pic
='-KPIC'
7067 lt_prog_compiler_static
='-Bstatic'
7071 # QNX uses GNU C++, but need to define -shared option too, otherwise
7073 lt_prog_compiler_pic
='-fPIC -shared'
7076 osf3
* | osf4
* | osf5
*)
7077 lt_prog_compiler_wl
='-Wl,'
7078 # All OSF/1 code is PIC.
7079 lt_prog_compiler_static
='-non_shared'
7083 lt_prog_compiler_static
='-non_shared'
7087 lt_prog_compiler_pic
='-KPIC'
7088 lt_prog_compiler_static
='-Bstatic'
7089 case $cc_basename in
7091 lt_prog_compiler_wl
='-Qoption ld ';;
7093 lt_prog_compiler_wl
='-Wl,';;
7098 lt_prog_compiler_wl
='-Qoption ld '
7099 lt_prog_compiler_pic
='-PIC'
7100 lt_prog_compiler_static
='-Bstatic'
7103 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7104 lt_prog_compiler_wl
='-Wl,'
7105 lt_prog_compiler_pic
='-KPIC'
7106 lt_prog_compiler_static
='-Bstatic'
7110 if test -d /usr
/nec
;then
7111 lt_prog_compiler_pic
='-Kconform_pic'
7112 lt_prog_compiler_static
='-Bstatic'
7116 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7117 lt_prog_compiler_wl
='-Wl,'
7118 lt_prog_compiler_pic
='-KPIC'
7119 lt_prog_compiler_static
='-Bstatic'
7123 lt_prog_compiler_wl
='-Wl,'
7124 lt_prog_compiler_can_build_shared
=no
7128 lt_prog_compiler_pic
='-pic'
7129 lt_prog_compiler_static
='-Bstatic'
7133 lt_prog_compiler_can_build_shared
=no
7139 # For platforms which do not support PIC, -DPIC is meaningless:
7141 lt_prog_compiler_pic
=
7144 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7148 $as_echo "$lt_prog_compiler_pic" >&6; }
7156 # Check to make sure the PIC flag actually works.
7158 if test -n "$lt_prog_compiler_pic"; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7160 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7161 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7162 $as_echo_n "(cached) " >&6
7164 lt_cv_prog_compiler_pic_works
=no
7165 ac_outfile
=conftest.
$ac_objext
7166 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7167 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7168 # Insert the option either (1) after the last *FLAGS variable, or
7169 # (2) before a word containing "conftest.", or (3) at the end.
7170 # Note that $ac_compile itself does not contain backslashes and begins
7171 # with a dollar sign (not a hyphen), so the echo should work correctly.
7172 # The option is referenced via a variable to avoid confusing sed.
7173 lt_compile
=`echo "$ac_compile" | $SED \
7174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7176 -e 's:$: $lt_compiler_flag:'`
7177 (eval echo "\"\$as_me:7177: $lt_compile\"" >&5)
7178 (eval "$lt_compile" 2>conftest.err
)
7180 cat conftest.err
>&5
7181 echo "$as_me:7181: \$? = $ac_status" >&5
7182 if (exit $ac_status) && test -s "$ac_outfile"; then
7183 # The compiler can only warn and ignore the option if not recognized
7184 # So say no if there are warnings other than the usual output.
7185 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7186 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7187 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7188 lt_cv_prog_compiler_pic_works
=yes
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7195 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7197 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7198 case $lt_prog_compiler_pic in
7200 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7203 lt_prog_compiler_pic
=
7204 lt_prog_compiler_can_build_shared
=no
7215 # Check to make sure the static flag actually works.
7217 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7219 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7220 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7221 $as_echo_n "(cached) " >&6
7223 lt_cv_prog_compiler_static_works
=no
7224 save_LDFLAGS
="$LDFLAGS"
7225 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7226 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7227 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7228 # The linker can only warn and ignore the option if not recognized
7229 # So say no if there are warnings
7230 if test -s conftest.err
; then
7231 # Append any errors to the config.log.
7232 cat conftest.err
1>&5
7233 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7234 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7235 if diff conftest.exp conftest.er2
>/dev
/null
; then
7236 lt_cv_prog_compiler_static_works
=yes
7239 lt_cv_prog_compiler_static_works
=yes
7243 LDFLAGS
="$save_LDFLAGS"
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7247 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7249 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7252 lt_prog_compiler_static
=
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7262 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7263 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7266 lt_cv_prog_compiler_c_o
=no
7267 $RM -r conftest
2>/dev
/null
7271 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7273 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7274 # Insert the option either (1) after the last *FLAGS variable, or
7275 # (2) before a word containing "conftest.", or (3) at the end.
7276 # Note that $ac_compile itself does not contain backslashes and begins
7277 # with a dollar sign (not a hyphen), so the echo should work correctly.
7278 lt_compile
=`echo "$ac_compile" | $SED \
7279 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7281 -e 's:$: $lt_compiler_flag:'`
7282 (eval echo "\"\$as_me:7282: $lt_compile\"" >&5)
7283 (eval "$lt_compile" 2>out
/conftest.err
)
7285 cat out
/conftest.err
>&5
7286 echo "$as_me:7286: \$? = $ac_status" >&5
7287 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7289 # The compiler can only warn and ignore the option if not recognized
7290 # So say no if there are warnings
7291 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7292 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7293 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7294 lt_cv_prog_compiler_c_o
=yes
7299 # SGI C++ compiler will create directory out/ii_files/ for
7300 # template instantiation
7301 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7302 $RM out
/* && rmdir out
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7309 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7317 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7318 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7319 $as_echo_n "(cached) " >&6
7321 lt_cv_prog_compiler_c_o
=no
7322 $RM -r conftest
2>/dev
/null
7326 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7328 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7329 # Insert the option either (1) after the last *FLAGS variable, or
7330 # (2) before a word containing "conftest.", or (3) at the end.
7331 # Note that $ac_compile itself does not contain backslashes and begins
7332 # with a dollar sign (not a hyphen), so the echo should work correctly.
7333 lt_compile
=`echo "$ac_compile" | $SED \
7334 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7336 -e 's:$: $lt_compiler_flag:'`
7337 (eval echo "\"\$as_me:7337: $lt_compile\"" >&5)
7338 (eval "$lt_compile" 2>out
/conftest.err
)
7340 cat out
/conftest.err
>&5
7341 echo "$as_me:7341: \$? = $ac_status" >&5
7342 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7344 # The compiler can only warn and ignore the option if not recognized
7345 # So say no if there are warnings
7346 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7347 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7348 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7349 lt_cv_prog_compiler_c_o
=yes
7354 # SGI C++ compiler will create directory out/ii_files/ for
7355 # template instantiation
7356 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7357 $RM out
/* && rmdir out
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7364 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7369 hard_links
="nottested"
7370 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7371 # do not overwrite the value of need_locks provided by the user
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7373 $as_echo_n "checking if we can lock with hard links... " >&6; }
7376 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7378 ln conftest.a conftest.b
2>&5 || hard_links
=no
7379 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7381 $as_echo "$hard_links" >&6; }
7382 if test "$hard_links" = no
; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7384 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7397 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7400 allow_undefined_flag
=
7401 always_export_symbols
=no
7403 archive_expsym_cmds
=
7404 compiler_needs_object
=no
7405 enable_shared_with_static_runtimes
=no
7406 export_dynamic_flag_spec
=
7407 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7408 hardcode_automatic
=no
7410 hardcode_direct_absolute
=no
7411 hardcode_libdir_flag_spec
=
7412 hardcode_libdir_flag_spec_ld
=
7413 hardcode_libdir_separator
=
7415 hardcode_shlibpath_var
=unsupported
7417 link_all_deplibs
=unknown
7420 old_archive_from_new_cmds
=
7421 old_archive_from_expsyms_cmds
=
7422 thread_safe_flag_spec
=
7423 whole_archive_flag_spec
=
7424 # include_expsyms should be a list of space-separated symbols to be *always*
7425 # included in the symbol list
7427 # exclude_expsyms can be an extended regexp of symbols to exclude
7428 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7429 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7430 # as well as any symbol that contains `d'.
7431 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7432 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7433 # platforms (ab)use it in PIC code, but their linkers get confused if
7434 # the symbol is explicitly referenced. Since portable code cannot
7435 # rely on this symbol name, it's probably fine to never include it in
7436 # preloaded symbol tables.
7437 # Exclude shared library initialization/finalization symbols.
7438 extract_expsyms_cmds
=
7441 cygwin
* | mingw
* | pw32
* | cegcc
*)
7442 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7443 # When not using gcc, we currently assume that we are using
7444 # Microsoft Visual C++.
7445 if test "$GCC" != yes; then
7450 # we just hope/assume this is gcc and not c89 (= MSVC++)
7456 linux
* | k
*bsd
*-gnu)
7462 if test "$with_gnu_ld" = yes; then
7463 # If archive_cmds runs LD, not CC, wlarc should be empty
7466 # Set some defaults for GNU ld with shared library support. These
7467 # are reset later if shared libraries are not supported. Putting them
7468 # here allows them to be overridden if necessary.
7469 runpath_var
=LD_RUN_PATH
7470 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7471 export_dynamic_flag_spec
='${wl}--export-dynamic'
7472 # ancient GNU ld didn't support --whole-archive et. al.
7473 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7474 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7476 whole_archive_flag_spec
=
7478 supports_anon_versioning
=no
7479 case `$LD -v 2>&1` in
7480 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7481 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7482 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7483 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7484 *\
2.11.
*) ;; # other 2.11 versions
7485 *) supports_anon_versioning
=yes ;;
7488 # See if GNU ld supports shared libraries.
7491 # On AIX/PPC, the GNU linker is very broken
7492 if test "$host_cpu" != ia64
; then
7496 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7497 *** to be unable to reliably create shared libraries on AIX.
7498 *** Therefore, libtool is disabling shared libraries support. If you
7499 *** really care for shared libraries, you may want to modify your PATH
7500 *** so that a non-GNU linker is found, and then restart.
7509 # see comment about AmigaOS4 .so support
7510 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7511 archive_expsym_cmds
=''
7514 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)'
7515 hardcode_libdir_flag_spec
='-L$libdir'
7516 hardcode_minus_L
=yes
7522 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7523 allow_undefined_flag
=unsupported
7524 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7525 # support --undefined. This deserves some investigation. FIXME
7526 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7532 cygwin
* | mingw
* | pw32
* | cegcc
*)
7533 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7534 # as there is no search path for DLLs.
7535 hardcode_libdir_flag_spec
='-L$libdir'
7536 allow_undefined_flag
=unsupported
7537 always_export_symbols
=no
7538 enable_shared_with_static_runtimes
=yes
7539 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7541 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7542 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7543 # If the export-symbols file already is a .def file (1st line
7544 # is EXPORTS), use it as is; otherwise, prepend...
7545 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7546 cp $export_symbols $output_objdir/$soname.def;
7548 echo EXPORTS > $output_objdir/$soname.def;
7549 cat $export_symbols >> $output_objdir/$soname.def;
7551 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7559 hardcode_shlibpath_var
=no
7560 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7561 export_dynamic_flag_spec
='${wl}-E'
7562 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7563 # Instead, shared libraries are loaded at an image base (0x10000000 by
7564 # default) and relocated if they conflict, which is a slow very memory
7565 # consuming and fragmenting process. To avoid this, we pick a random,
7566 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7567 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7568 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7569 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'
7572 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7574 if test "$host_os" = linux
-dietlibc; then
7575 case $cc_basename in
7576 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7579 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7580 && test "$tmp_diet" = no
7583 tmp_sharedflag
='-shared'
7584 case $cc_basename,$host_cpu in
7585 pgcc
*) # Portland Group C compiler
7586 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'
7587 tmp_addflag
=' $pic_flag'
7589 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7590 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'
7591 tmp_addflag
=' $pic_flag -Mnomain' ;;
7592 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7593 tmp_addflag
=' -i_dynamic' ;;
7594 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7595 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7596 ifc
* | ifort
*) # Intel Fortran compiler
7597 tmp_addflag
=' -nofor_main' ;;
7598 lf95
*) # Lahey Fortran 8.1
7599 whole_archive_flag_spec
=
7600 tmp_sharedflag
='--shared' ;;
7601 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7602 tmp_sharedflag
='-qmkshrobj'
7605 case `$CC -V 2>&1 | sed 5q` in
7606 *Sun\ C
*) # Sun C 5.9
7607 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'
7608 compiler_needs_object
=yes
7609 tmp_sharedflag
='-G' ;;
7610 *Sun\ F
*) # Sun Fortran 8.3
7611 tmp_sharedflag
='-G' ;;
7613 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7615 if test "x$supports_anon_versioning" = xyes
; then
7616 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7617 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7618 echo "local: *; };" >> $output_objdir/$libname.ver~
7619 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7622 case $cc_basename in
7624 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7625 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7626 hardcode_libdir_flag_spec
=
7627 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7628 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7629 if test "x$supports_anon_versioning" = xyes
; then
7630 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7631 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7632 echo "local: *; };" >> $output_objdir/$libname.ver~
7633 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7642 netbsd
* | netbsdelf
*-gnu)
7643 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7644 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7647 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7648 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7653 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7657 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7658 *** create shared libraries on Solaris systems. Therefore, libtool
7659 *** is disabling shared libraries support. We urge you to upgrade GNU
7660 *** binutils to release 2.9.1 or newer. Another option is to modify
7661 *** your PATH or compiler configuration so that the native linker is
7662 *** used, and then restart.
7665 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7666 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7667 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7673 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7674 case `$LD -v 2>&1` in
7675 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7679 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7680 *** reliably create shared libraries on SCO systems. Therefore, libtool
7681 *** is disabling shared libraries support. We urge you to upgrade GNU
7682 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7683 *** your PATH or compiler configuration so that the native linker is
7684 *** used, and then restart.
7689 # For security reasons, it is highly recommended that you always
7690 # use absolute paths for naming shared libraries, and exclude the
7691 # DT_RUNPATH tag from executables and libraries. But doing so
7692 # requires that you compile everything twice, which is a pain.
7693 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7694 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7695 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7696 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7705 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7708 hardcode_shlibpath_var
=no
7712 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7713 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7714 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7721 if test "$ld_shlibs" = no
; then
7723 hardcode_libdir_flag_spec
=
7724 export_dynamic_flag_spec
=
7725 whole_archive_flag_spec
=
7728 # PORTME fill in a description of your system's linker (not GNU ld)
7731 allow_undefined_flag
=unsupported
7732 always_export_symbols
=yes
7733 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'
7734 # Note: this linker hardcodes the directories in LIBPATH if there
7735 # are no directories specified by -L.
7736 hardcode_minus_L
=yes
7737 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7738 # Neither direct hardcoding nor static linking is supported with a
7740 hardcode_direct
=unsupported
7745 if test "$host_cpu" = ia64
; then
7746 # On IA64, the linker does run time linking by default, so we don't
7747 # have to do anything special.
7748 aix_use_runtimelinking
=no
7749 exp_sym_flag
='-Bexport'
7752 # If we're using GNU nm, then we don't want the "-C" option.
7753 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7754 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7755 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'
7757 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'
7759 aix_use_runtimelinking
=no
7761 # Test if we are trying to use run time linking or normal
7762 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7763 # need to do runtime linking.
7764 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7765 for ld_flag
in $LDFLAGS; do
7766 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7767 aix_use_runtimelinking
=yes
7774 exp_sym_flag
='-bexport'
7775 no_entry_flag
='-bnoentry'
7778 # When large executables or shared objects are built, AIX ld can
7779 # have problems creating the table of contents. If linking a library
7780 # or program results in "error TOC overflow" add -mminimal-toc to
7781 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7782 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7786 hardcode_direct_absolute
=yes
7787 hardcode_libdir_separator
=':'
7788 link_all_deplibs
=yes
7789 file_list_spec
='${wl}-f,'
7791 if test "$GCC" = yes; then
7792 case $host_os in aix4.
[012]|aix4.
[012].
*)
7793 # We only want to do this on AIX 4.2 and lower, the check
7794 # below for broken collect2 doesn't work under 4.3+
7795 collect2name
=`${CC} -print-prog-name=collect2`
7796 if test -f "$collect2name" &&
7797 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7799 # We have reworked collect2
7802 # We have old collect2
7803 hardcode_direct
=unsupported
7804 # It fails to find uninstalled libraries when the uninstalled
7805 # path is not listed in the libpath. Setting hardcode_minus_L
7806 # to unsupported forces relinking
7807 hardcode_minus_L
=yes
7808 hardcode_libdir_flag_spec
='-L$libdir'
7809 hardcode_libdir_separator
=
7813 shared_flag
='-shared'
7814 if test "$aix_use_runtimelinking" = yes; then
7815 shared_flag
="$shared_flag "'${wl}-G'
7820 if test "$host_cpu" = ia64
; then
7821 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7822 # chokes on -Wl,-G. The following line is correct:
7825 if test "$aix_use_runtimelinking" = yes; then
7826 shared_flag
='${wl}-G'
7828 shared_flag
='${wl}-bM:SRE'
7833 export_dynamic_flag_spec
='${wl}-bexpall'
7834 # It seems that -bexpall does not export symbols beginning with
7835 # underscore (_), so it is better to generate a list of symbols to export.
7836 always_export_symbols
=yes
7837 if test "$aix_use_runtimelinking" = yes; then
7838 # Warning - without using the other runtime loading flags (-brtl),
7839 # -berok will link without error, but may produce a broken library.
7840 allow_undefined_flag
='-berok'
7841 # Determine the default libpath from the value encoded in an
7843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7854 if ac_fn_c_try_link
"$LINENO"; then :
7856 lt_aix_libpath_sed
='
7857 /Import File Strings/,/^$/ {
7863 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7864 # Check for a 64-bit object if we didn't find anything.
7865 if test -z "$aix_libpath"; then
7866 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7869 rm -f core conftest.err conftest.
$ac_objext \
7870 conftest
$ac_exeext conftest.
$ac_ext
7871 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7873 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7874 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"
7876 if test "$host_cpu" = ia64
; then
7877 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7878 allow_undefined_flag
="-z nodefs"
7879 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"
7881 # Determine the default libpath from the value encoded in an
7883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7894 if ac_fn_c_try_link
"$LINENO"; then :
7896 lt_aix_libpath_sed
='
7897 /Import File Strings/,/^$/ {
7903 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7904 # Check for a 64-bit object if we didn't find anything.
7905 if test -z "$aix_libpath"; then
7906 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7909 rm -f core conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7911 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7913 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7914 # Warning - without using the other run time loading flags,
7915 # -berok will link without error, but may produce a broken library.
7916 no_undefined_flag
=' ${wl}-bernotok'
7917 allow_undefined_flag
=' ${wl}-berok'
7918 # Exported symbols can be pulled into shared objects from archives
7919 whole_archive_flag_spec
='$convenience'
7920 archive_cmds_need_lc
=yes
7921 # This is similar to how AIX traditionally builds its shared libraries.
7922 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'
7930 # see comment about AmigaOS4 .so support
7931 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7932 archive_expsym_cmds
=''
7935 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)'
7936 hardcode_libdir_flag_spec
='-L$libdir'
7937 hardcode_minus_L
=yes
7943 export_dynamic_flag_spec
=-rdynamic
7946 cygwin
* | mingw
* | pw32
* | cegcc
*)
7947 # When not using gcc, we currently assume that we are using
7948 # Microsoft Visual C++.
7949 # hardcode_libdir_flag_spec is actually meaningless, as there is
7950 # no search path for DLLs.
7951 hardcode_libdir_flag_spec
=' '
7952 allow_undefined_flag
=unsupported
7953 # Tell ltmain to make .lib files, not .a files.
7955 # Tell ltmain to make .dll files, not .so files.
7957 # FIXME: Setting linknames here is a bad hack.
7958 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7959 # The linker will automatically build a .lib file if we build a DLL.
7960 old_archive_from_new_cmds
='true'
7961 # FIXME: Should let the user specify the lib program.
7962 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7963 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7964 enable_shared_with_static_runtimes
=yes
7967 darwin
* | rhapsody
*)
7970 archive_cmds_need_lc
=no
7972 hardcode_automatic
=yes
7973 hardcode_shlibpath_var
=unsupported
7974 whole_archive_flag_spec
=''
7975 link_all_deplibs
=yes
7976 allow_undefined_flag
="$_lt_dar_allow_undefined"
7977 case $cc_basename in
7978 ifort
*) _lt_dar_can_shared
=yes ;;
7979 *) _lt_dar_can_shared
=$GCC ;;
7981 if test "$_lt_dar_can_shared" = "yes"; then
7982 output_verbose_link_cmd
=echo
7983 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7984 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7985 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}"
7986 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}"
7995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7996 hardcode_libdir_flag_spec
='-L$libdir'
7997 hardcode_shlibpath_var
=no
8004 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8005 # support. Future versions do this automatically, but an explicit c++rt0.o
8006 # does not break anything, and helps significantly (at the cost of a little
8009 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8010 hardcode_libdir_flag_spec
='-R$libdir'
8012 hardcode_shlibpath_var
=no
8015 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8017 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8019 hardcode_minus_L
=yes
8020 hardcode_shlibpath_var
=no
8023 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8024 freebsd
* | dragonfly
*)
8025 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8026 hardcode_libdir_flag_spec
='-R$libdir'
8028 hardcode_shlibpath_var
=no
8032 if test "$GCC" = yes; then
8033 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'
8035 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'
8037 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8038 hardcode_libdir_separator
=:
8041 # hardcode_minus_L: Not really in the search PATH,
8042 # but as the default location of the library.
8043 hardcode_minus_L
=yes
8044 export_dynamic_flag_spec
='${wl}-E'
8048 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8049 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8051 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8053 if test "$with_gnu_ld" = no
; then
8054 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8055 hardcode_libdir_flag_spec_ld
='+b $libdir'
8056 hardcode_libdir_separator
=:
8058 hardcode_direct_absolute
=yes
8059 export_dynamic_flag_spec
='${wl}-E'
8060 # hardcode_minus_L: Not really in the search PATH,
8061 # but as the default location of the library.
8062 hardcode_minus_L
=yes
8067 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8070 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8073 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8076 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8082 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8085 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8088 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8092 if test "$with_gnu_ld" = no
; then
8093 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8094 hardcode_libdir_separator
=:
8099 hardcode_shlibpath_var
=no
8103 hardcode_direct_absolute
=yes
8104 export_dynamic_flag_spec
='${wl}-E'
8106 # hardcode_minus_L: Not really in the search PATH,
8107 # but as the default location of the library.
8108 hardcode_minus_L
=yes
8114 irix5
* | irix6
* | nonstopux
*)
8115 if test "$GCC" = yes; then
8116 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'
8117 # Try to use the -exported_symbol ld option, if it does not
8118 # work, assume that -exports_file does not work either and
8119 # implicitly export all symbols.
8120 save_LDFLAGS
="$LDFLAGS"
8121 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8126 if ac_fn_c_try_link
"$LINENO"; then :
8127 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'
8130 rm -f core conftest.err conftest.
$ac_objext \
8131 conftest
$ac_exeext conftest.
$ac_ext
8132 LDFLAGS
="$save_LDFLAGS"
8134 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'
8135 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'
8137 archive_cmds_need_lc
='no'
8138 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8139 hardcode_libdir_separator
=:
8141 link_all_deplibs
=yes
8144 netbsd
* | netbsdelf
*-gnu)
8145 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8146 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8148 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8150 hardcode_libdir_flag_spec
='-R$libdir'
8152 hardcode_shlibpath_var
=no
8156 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8159 hardcode_libdir_separator
=:
8160 hardcode_shlibpath_var
=no
8167 if test -f /usr
/libexec
/ld.so
; then
8169 hardcode_shlibpath_var
=no
8170 hardcode_direct_absolute
=yes
8171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8172 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8173 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8174 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8175 export_dynamic_flag_spec
='${wl}-E'
8178 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8179 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8180 hardcode_libdir_flag_spec
='-R$libdir'
8183 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8184 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8194 hardcode_libdir_flag_spec
='-L$libdir'
8195 hardcode_minus_L
=yes
8196 allow_undefined_flag
=unsupported
8197 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'
8198 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8202 if test "$GCC" = yes; then
8203 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8204 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'
8206 allow_undefined_flag
=' -expect_unresolved \*'
8207 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'
8209 archive_cmds_need_lc
='no'
8210 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8211 hardcode_libdir_separator
=:
8214 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8215 if test "$GCC" = yes; then
8216 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8217 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'
8218 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8220 allow_undefined_flag
=' -expect_unresolved \*'
8221 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'
8222 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~
8223 $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'
8225 # Both c and cxx compiler support -rpath directly
8226 hardcode_libdir_flag_spec
='-rpath $libdir'
8228 archive_cmds_need_lc
='no'
8229 hardcode_libdir_separator
=:
8233 no_undefined_flag
=' -z defs'
8234 if test "$GCC" = yes; then
8236 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8237 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8238 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8240 case `$CC -V 2>&1` in
8243 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8244 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8245 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8249 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8250 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8251 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8255 hardcode_libdir_flag_spec
='-R$libdir'
8256 hardcode_shlibpath_var
=no
8258 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8260 # The compiler driver will combine and reorder linker options,
8261 # but understands `-z linker_flag'. GCC discards it without `$wl',
8262 # but is careful enough not to reorder.
8263 # Supported since Solaris 2.6 (maybe 2.5.1?)
8264 if test "$GCC" = yes; then
8265 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8267 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8271 link_all_deplibs
=yes
8275 if test "x$host_vendor" = xsequent
; then
8276 # Use $CC to link under sequent, because it throws in some extra .o
8277 # files that make .init and .fini sections work.
8278 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8282 hardcode_libdir_flag_spec
='-L$libdir'
8284 hardcode_minus_L
=yes
8285 hardcode_shlibpath_var
=no
8289 case $host_vendor in
8291 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8292 hardcode_direct
=yes # is this really true???
8295 ## LD is ld it makes a PLAMLIB
8296 ## CC just makes a GrossModule.
8297 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8298 reload_cmds
='$CC -r -o $output$reload_objs'
8302 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8303 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8306 runpath_var
='LD_RUN_PATH'
8307 hardcode_shlibpath_var
=no
8311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8312 hardcode_shlibpath_var
=no
8313 export_dynamic_flag_spec
='-Bexport'
8317 if test -d /usr
/nec
; then
8318 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8319 hardcode_shlibpath_var
=no
8320 runpath_var
=LD_RUN_PATH
8321 hardcode_runpath_var
=yes
8326 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8327 no_undefined_flag
='${wl}-z,text'
8328 archive_cmds_need_lc
=no
8329 hardcode_shlibpath_var
=no
8330 runpath_var
='LD_RUN_PATH'
8332 if test "$GCC" = yes; then
8333 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8334 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8336 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8337 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8341 sysv5
* | sco3.2v5
* | sco5v6
*)
8342 # Note: We can NOT use -z defs as we might desire, because we do not
8343 # link with -lc, and that would cause any symbols used from libc to
8344 # always be unresolved, which means just about no library would
8345 # ever link correctly. If we're not using GNU ld we use -z text
8346 # though, which does catch some bad symbols but isn't as heavy-handed
8348 no_undefined_flag
='${wl}-z,text'
8349 allow_undefined_flag
='${wl}-z,nodefs'
8350 archive_cmds_need_lc
=no
8351 hardcode_shlibpath_var
=no
8352 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8353 hardcode_libdir_separator
=':'
8354 link_all_deplibs
=yes
8355 export_dynamic_flag_spec
='${wl}-Bexport'
8356 runpath_var
='LD_RUN_PATH'
8358 if test "$GCC" = yes; then
8359 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8360 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8362 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8363 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8368 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8369 hardcode_libdir_flag_spec
='-L$libdir'
8370 hardcode_shlibpath_var
=no
8378 if test x
$host_vendor = xsni
; then
8380 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8381 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8388 $as_echo "$ld_shlibs" >&6; }
8389 test "$ld_shlibs" = no
&& can_build_shared
=no
8391 with_gnu_ld
=$with_gnu_ld
8408 # Do we need to explicitly link libc?
8410 case "x$archive_cmds_need_lc" in
8412 # Assume -lc should be added
8413 archive_cmds_need_lc
=yes
8415 if test "$enable_shared" = yes && test "$GCC" = yes; then
8416 case $archive_cmds in
8418 # FIXME: we may have to deal with multi-command sequences.
8421 # Test whether the compiler implicitly links with -lc since on some
8422 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8423 # to ld, don't add -lc before -lgcc.
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8425 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8427 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8430 (eval $ac_compile) 2>&5
8432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8433 test $ac_status = 0; } 2>conftest.err
; then
8436 libobjs
=conftest.
$ac_objext
8438 wl
=$lt_prog_compiler_wl
8439 pic_flag
=$lt_prog_compiler_pic
8445 lt_save_allow_undefined_flag
=$allow_undefined_flag
8446 allow_undefined_flag
=
8447 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8448 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8451 test $ac_status = 0; }
8453 archive_cmds_need_lc
=no
8455 archive_cmds_need_lc
=yes
8457 allow_undefined_flag
=$lt_save_allow_undefined_flag
8459 cat conftest.err
1>&5
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8463 $as_echo "$archive_cmds_need_lc" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8627 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8629 if test "$GCC" = yes; then
8631 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8632 *) lt_awk_arg
="/^libraries:/" ;;
8634 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8635 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8636 # if the path contains ";" then we assume it to be the separator
8637 # otherwise default to the standard path separator (i.e. ":") - it is
8638 # assumed that no part of a normal pathname contains ";" but that should
8639 # okay in the real world where ";" in dirpaths is itself problematic.
8640 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8642 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8644 # Ok, now we have the path, separated by spaces, we can step through it
8645 # and add multilib dir if necessary.
8646 lt_tmp_lt_search_path_spec
=
8647 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8648 for lt_sys_path
in $lt_search_path_spec; do
8649 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8650 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8652 test -d "$lt_sys_path" && \
8653 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8656 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8657 BEGIN {RS=" "; FS="/|\n";} {
8660 for (lt_i = NF; lt_i > 0; lt_i--) {
8661 if ($lt_i != "" && $lt_i != ".") {
8662 if ($lt_i == "..") {
8665 if (lt_count == 0) {
8666 lt_foo="/" $lt_i lt_foo;
8673 if (lt_foo != "") { lt_freq[lt_foo]++; }
8674 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8676 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8678 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8681 libname_spec
='lib$name'
8689 shlibpath_overrides_runpath
=unknown
8691 dynamic_linker
="$host_os ld.so"
8692 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8693 need_lib_prefix
=unknown
8694 hardcode_into_libs
=no
8696 # when you set need_version to no, make sure it does not cause -set_version
8697 # flags to be left without arguments
8698 need_version
=unknown
8703 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8704 shlibpath_var
=LIBPATH
8706 # AIX 3 has no versioning support, so we append a major version to the name.
8707 soname_spec
='${libname}${release}${shared_ext}$major'
8714 hardcode_into_libs
=yes
8715 if test "$host_cpu" = ia64
; then
8716 # AIX 5 supports IA64
8717 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8718 shlibpath_var
=LD_LIBRARY_PATH
8720 # With GCC up to 2.95.x, collect2 would create an import file
8721 # for dependence libraries. The import file would start with
8722 # the line `#! .'. This would cause the generated library to
8723 # depend on `.', always an invalid library. This was fixed in
8724 # development snapshots of GCC prior to 3.0.
8726 aix4
| aix4.
[01] | aix4.
[01].
*)
8727 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8729 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8736 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8737 # soname into executable. Probably we can add versioning support to
8738 # collect2, so additional links can be useful in future.
8739 if test "$aix_use_runtimelinking" = yes; then
8740 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8741 # instead of lib<name>.a to let people know that these are not
8742 # typical AIX shared libraries.
8743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8745 # We preserve .a as extension for shared libraries through AIX4.2
8746 # and later when we are not doing run time linking.
8747 library_names_spec
='${libname}${release}.a $libname.a'
8748 soname_spec
='${libname}${release}${shared_ext}$major'
8750 shlibpath_var
=LIBPATH
8757 # Since July 2007 AmigaOS4 officially supports .so libraries.
8758 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8762 library_names_spec
='$libname.ixlibrary $libname.a'
8763 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8764 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'
8770 library_names_spec
='${libname}${shared_ext}'
8771 dynamic_linker
="$host_os ld.so"
8772 shlibpath_var
=LIBRARY_PATH
8778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8779 soname_spec
='${libname}${release}${shared_ext}$major'
8780 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8781 shlibpath_var
=LD_LIBRARY_PATH
8782 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8783 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8784 # the default ld.so.conf also contains /usr/contrib/lib and
8785 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8786 # libtool to hard-code these into programs
8789 cygwin
* | mingw
* | pw32
* | cegcc
*)
8790 version_type
=windows
8795 case $GCC,$host_os in
8796 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8797 library_names_spec
='$libname.dll.a'
8798 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8799 postinstall_cmds
='base_file=`basename \${file}`~
8800 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8801 dldir=$destdir/`dirname \$dlpath`~
8802 test -d \$dldir || mkdir -p \$dldir~
8803 $install_prog $dir/$dlname \$dldir/$dlname~
8804 chmod a+x \$dldir/$dlname~
8805 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8806 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8808 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8809 dlpath=$dir/\$dldll~
8811 shlibpath_overrides_runpath
=yes
8815 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8816 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8817 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8820 # MinGW DLLs use traditional 'lib' prefix
8821 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8822 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8823 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8824 # It is most probably a Windows format PATH printed by
8825 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8826 # path with ; separators, and with drive letters. We can handle the
8827 # drive letters (cygwin fileutils understands them), so leave them,
8828 # especially as we might pass files found there to a mingw objdump,
8829 # which wouldn't understand a cygwinified path. Ahh.
8830 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8832 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8836 # pw32 DLLs use 'pw' prefix rather than 'lib'
8837 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8843 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8846 dynamic_linker
='Win32 ld.exe'
8847 # FIXME: first we should search . and the directory the executable is in
8851 darwin
* | rhapsody
*)
8852 dynamic_linker
="$host_os dyld"
8856 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8857 soname_spec
='${libname}${release}${major}$shared_ext'
8858 shlibpath_overrides_runpath
=yes
8859 shlibpath_var
=DYLD_LIBRARY_PATH
8860 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8862 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8863 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8872 shlibpath_var
=LD_LIBRARY_PATH
8879 freebsd
* | dragonfly
*)
8880 # DragonFly does not have aout. When/if they implement a new
8881 # versioning mechanism, adjust this.
8882 if test -x /usr
/bin
/objformat
; then
8883 objformat
=`/usr/bin/objformat`
8886 freebsd
[123]*) objformat
=aout
;;
8890 version_type
=freebsd
-$objformat
8891 case $version_type in
8893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8898 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8902 shlibpath_var
=LD_LIBRARY_PATH
8905 shlibpath_overrides_runpath
=yes
8907 freebsd3.
[01]* | freebsdelf3.
[01]*)
8908 shlibpath_overrides_runpath
=yes
8909 hardcode_into_libs
=yes
8911 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8912 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8913 shlibpath_overrides_runpath
=no
8914 hardcode_into_libs
=yes
8916 *) # from 4.6 on, and DragonFly
8917 shlibpath_overrides_runpath
=yes
8918 hardcode_into_libs
=yes
8927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8928 soname_spec
='${libname}${release}${shared_ext}$major'
8929 shlibpath_var
=LD_LIBRARY_PATH
8930 hardcode_into_libs
=yes
8933 hpux9
* | hpux10
* | hpux11
*)
8934 # Give a soname corresponding to the major version so that dld.sl refuses to
8935 # link against other versions.
8942 hardcode_into_libs
=yes
8943 dynamic_linker
="$host_os dld.so"
8944 shlibpath_var
=LD_LIBRARY_PATH
8945 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8947 soname_spec
='${libname}${release}${shared_ext}$major'
8948 if test "X$HPUX_IA64_MODE" = X32
; then
8949 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8951 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8953 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8957 hardcode_into_libs
=yes
8958 dynamic_linker
="$host_os dld.sl"
8959 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8960 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8962 soname_spec
='${libname}${release}${shared_ext}$major'
8963 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8964 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8968 dynamic_linker
="$host_os dld.sl"
8969 shlibpath_var
=SHLIB_PATH
8970 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8972 soname_spec
='${libname}${release}${shared_ext}$major'
8975 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8976 postinstall_cmds
='chmod 555 $lib'
8983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8984 soname_spec
='${libname}${release}${shared_ext}$major'
8985 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8986 shlibpath_var
=LD_LIBRARY_PATH
8987 shlibpath_overrides_runpath
=no
8988 hardcode_into_libs
=yes
8991 irix5
* | irix6
* | nonstopux
*)
8993 nonstopux
*) version_type
=nonstopux
;;
8995 if test "$lt_cv_prog_gnu_ld" = yes; then
9003 soname_spec
='${libname}${release}${shared_ext}$major'
9004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9006 irix5
* | nonstopux
*)
9010 case $LD in # libtool.m4 will add one of these switches to LD
9011 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9012 libsuff
= shlibsuff
= libmagic
=32-bit;;
9013 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9014 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9015 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9016 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9017 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
9021 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9022 shlibpath_overrides_runpath
=no
9023 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9024 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9025 hardcode_into_libs
=yes
9028 # No shared lib support for Linux oldld, aout, or coff.
9029 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9033 # This must be Linux ELF.
9034 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9039 soname_spec
='${libname}${release}${shared_ext}$major'
9040 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9041 shlibpath_var
=LD_LIBRARY_PATH
9042 shlibpath_overrides_runpath
=no
9043 # Some binutils ld are patched to set DT_RUNPATH
9044 save_LDFLAGS
=$LDFLAGS
9046 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9047 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9059 if ac_fn_c_try_link
"$LINENO"; then :
9060 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9061 shlibpath_overrides_runpath
=yes
9064 rm -f core conftest.err conftest.
$ac_objext \
9065 conftest
$ac_exeext conftest.
$ac_ext
9066 LDFLAGS
=$save_LDFLAGS
9069 # This implies no fast_install, which is unacceptable.
9070 # Some rework will be needed to allow for fast_install
9071 # before this can be enabled.
9072 hardcode_into_libs
=yes
9074 # Append ld.so.conf contents to the search path
9075 if test -f /etc
/ld.so.conf
; then
9076 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' ' '`
9077 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9080 # We used to test for /lib/ld.so.1 and disable shared libraries on
9081 # powerpc, because MkLinux only supported shared libraries with the
9082 # GNU dynamic linker. Since this was broken with cross compilers,
9083 # most powerpc-linux boxes support dynamic linking these days and
9084 # people can always --disable-shared, the test was removed, and we
9085 # assume the GNU/Linux dynamic linker is in use.
9086 dynamic_linker
='GNU/Linux ld.so'
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 shlibpath_var
=LD_LIBRARY_PATH
9096 shlibpath_overrides_runpath
=no
9097 hardcode_into_libs
=yes
9098 dynamic_linker
='NetBSD ld.elf_so'
9105 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9107 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9108 dynamic_linker
='NetBSD (a.out) ld.so'
9110 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9111 soname_spec
='${libname}${release}${shared_ext}$major'
9112 dynamic_linker
='NetBSD ld.elf_so'
9114 shlibpath_var
=LD_LIBRARY_PATH
9115 shlibpath_overrides_runpath
=yes
9116 hardcode_into_libs
=yes
9121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 shlibpath_overrides_runpath
=yes
9130 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9131 soname_spec
='${libname}${release}${shared_ext}$major'
9132 shlibpath_var
=LD_LIBRARY_PATH
9133 shlibpath_overrides_runpath
=no
9134 hardcode_into_libs
=yes
9135 dynamic_linker
='ldqnx.so'
9140 sys_lib_dlsearch_path_spec
="/usr/lib"
9142 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9144 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9145 *) need_version
=no
;;
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9148 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9149 shlibpath_var
=LD_LIBRARY_PATH
9150 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9152 openbsd2.
[89] | openbsd2.
[89].
*)
9153 shlibpath_overrides_runpath
=no
9156 shlibpath_overrides_runpath
=yes
9160 shlibpath_overrides_runpath
=yes
9165 libname_spec
='$name'
9168 library_names_spec
='$libname${shared_ext} $libname.a'
9169 dynamic_linker
='OS/2 ld.exe'
9170 shlibpath_var
=LIBPATH
9173 osf3
* | osf4
* | osf5
*)
9177 soname_spec
='${libname}${release}${shared_ext}$major'
9178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9179 shlibpath_var
=LD_LIBRARY_PATH
9180 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9181 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9193 soname_spec
='${libname}${release}${shared_ext}$major'
9194 shlibpath_var
=LD_LIBRARY_PATH
9195 shlibpath_overrides_runpath
=yes
9196 hardcode_into_libs
=yes
9197 # ldd complains unless libraries are executable
9198 postinstall_cmds
='chmod +x $lib'
9203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9204 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9205 shlibpath_var
=LD_LIBRARY_PATH
9206 shlibpath_overrides_runpath
=yes
9207 if test "$with_gnu_ld" = yes; then
9215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9216 soname_spec
='${libname}${release}${shared_ext}$major'
9217 shlibpath_var
=LD_LIBRARY_PATH
9218 case $host_vendor in
9220 shlibpath_overrides_runpath
=no
9222 runpath_var
=LD_RUN_PATH
9230 shlibpath_overrides_runpath
=no
9231 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9237 if test -d /usr
/nec
;then
9239 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9240 soname_spec
='$libname${shared_ext}.$major'
9241 shlibpath_var
=LD_LIBRARY_PATH
9245 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9246 version_type
=freebsd
-elf
9249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9250 soname_spec
='${libname}${release}${shared_ext}$major'
9251 shlibpath_var
=LD_LIBRARY_PATH
9252 shlibpath_overrides_runpath
=yes
9253 hardcode_into_libs
=yes
9254 if test "$with_gnu_ld" = yes; then
9255 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9257 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9260 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9264 sys_lib_dlsearch_path_spec
='/usr/lib'
9268 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9273 shlibpath_var
=LD_LIBRARY_PATH
9274 shlibpath_overrides_runpath
=no
9275 hardcode_into_libs
=yes
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 soname_spec
='${libname}${release}${shared_ext}$major'
9282 shlibpath_var
=LD_LIBRARY_PATH
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9290 $as_echo "$dynamic_linker" >&6; }
9291 test "$dynamic_linker" = no
&& can_build_shared
=no
9293 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9294 if test "$GCC" = yes; then
9295 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9298 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9299 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9301 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9302 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9392 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9394 if test -n "$hardcode_libdir_flag_spec" ||
9395 test -n "$runpath_var" ||
9396 test "X$hardcode_automatic" = "Xyes" ; then
9398 # We can hardcode non-existent directories.
9399 if test "$hardcode_direct" != no
&&
9400 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9401 # have to relink, otherwise we might link with an installed library
9402 # when we should be linking with a yet-to-be-installed one
9403 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9404 test "$hardcode_minus_L" != no
; then
9405 # Linking always hardcodes the temporary library directory.
9406 hardcode_action
=relink
9408 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9409 hardcode_action
=immediate
9412 # We cannot hardcode anything, or else we can only hardcode existing
9414 hardcode_action
=unsupported
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9417 $as_echo "$hardcode_action" >&6; }
9419 if test "$hardcode_action" = relink
||
9420 test "$inherit_rpath" = yes; then
9421 # Fast installation is not supported
9422 enable_fast_install
=no
9423 elif test "$shlibpath_overrides_runpath" = yes ||
9424 test "$enable_shared" = no
; then
9425 # Fast installation is not necessary
9426 enable_fast_install
=needless
9434 if test "x$enable_dlopen" != xyes
; then
9435 enable_dlopen
=unknown
9436 enable_dlopen_self
=unknown
9437 enable_dlopen_self_static
=unknown
9444 lt_cv_dlopen
="load_add_on"
9446 lt_cv_dlopen_self
=yes
9449 mingw
* | pw32
* | cegcc
*)
9450 lt_cv_dlopen
="LoadLibrary"
9455 lt_cv_dlopen
="dlopen"
9460 # if libdl is installed we need to link against it
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9462 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_lib_save_LIBS
=$LIBS
9468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9486 if ac_fn_c_try_link
"$LINENO"; then :
9487 ac_cv_lib_dl_dlopen
=yes
9489 ac_cv_lib_dl_dlopen
=no
9491 rm -f core conftest.err conftest.
$ac_objext \
9492 conftest
$ac_exeext conftest.
$ac_ext
9493 LIBS
=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9496 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9497 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9498 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9503 lt_cv_dlopen_self
=yes
9510 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9511 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9512 lt_cv_dlopen
="shl_load"
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9515 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9516 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9517 $as_echo_n "(cached) " >&6
9519 ac_check_lib_save_LIBS
=$LIBS
9521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9539 if ac_fn_c_try_link
"$LINENO"; then :
9540 ac_cv_lib_dld_shl_load
=yes
9542 ac_cv_lib_dld_shl_load
=no
9544 rm -f core conftest.err conftest.
$ac_objext \
9545 conftest
$ac_exeext conftest.
$ac_ext
9546 LIBS
=$ac_check_lib_save_LIBS
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9549 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9550 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9551 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9553 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9554 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9555 lt_cv_dlopen
="dlopen"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9558 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9559 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9560 $as_echo_n "(cached) " >&6
9562 ac_check_lib_save_LIBS
=$LIBS
9564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9582 if ac_fn_c_try_link
"$LINENO"; then :
9583 ac_cv_lib_dl_dlopen
=yes
9585 ac_cv_lib_dl_dlopen
=no
9587 rm -f core conftest.err conftest.
$ac_objext \
9588 conftest
$ac_exeext conftest.
$ac_ext
9589 LIBS
=$ac_check_lib_save_LIBS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9592 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9593 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9594 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9597 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9598 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9599 $as_echo_n "(cached) " >&6
9601 ac_check_lib_save_LIBS
=$LIBS
9603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9606 /* Override any GCC internal prototype to avoid an error.
9607 Use char because int might match the return type of a GCC
9608 builtin and then its argument prototype would still apply. */
9621 if ac_fn_c_try_link
"$LINENO"; then :
9622 ac_cv_lib_svld_dlopen
=yes
9624 ac_cv_lib_svld_dlopen
=no
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_lib_save_LIBS
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9631 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9632 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9633 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9636 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9637 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9638 $as_echo_n "(cached) " >&6
9640 ac_check_lib_save_LIBS
=$LIBS
9642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9660 if ac_fn_c_try_link
"$LINENO"; then :
9661 ac_cv_lib_dld_dld_link
=yes
9663 ac_cv_lib_dld_dld_link
=no
9665 rm -f core conftest.err conftest.
$ac_objext \
9666 conftest
$ac_exeext conftest.
$ac_ext
9667 LIBS
=$ac_check_lib_save_LIBS
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9670 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9671 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9672 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9693 if test "x$lt_cv_dlopen" != xno
; then
9699 case $lt_cv_dlopen in
9701 save_CPPFLAGS
="$CPPFLAGS"
9702 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9704 save_LDFLAGS
="$LDFLAGS"
9705 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9708 LIBS
="$lt_cv_dlopen_libs $LIBS"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9711 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9712 if test "${lt_cv_dlopen_self+set}" = set; then :
9713 $as_echo_n "(cached) " >&6
9715 if test "$cross_compiling" = yes; then :
9716 lt_cv_dlopen_self
=cross
9718 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9719 lt_status
=$lt_dlunknown
9720 cat > conftest.
$ac_ext <<_LT_EOF
9721 #line 9721 "configure"
9722 #include "confdefs.h"
9731 # define LT_DLGLOBAL RTLD_GLOBAL
9734 # define LT_DLGLOBAL DL_GLOBAL
9736 # define LT_DLGLOBAL 0
9740 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9741 find out it does not work in some platform. */
9742 #ifndef LT_DLLAZY_OR_NOW
9744 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9747 # define LT_DLLAZY_OR_NOW DL_LAZY
9750 # define LT_DLLAZY_OR_NOW RTLD_NOW
9753 # define LT_DLLAZY_OR_NOW DL_NOW
9755 # define LT_DLLAZY_OR_NOW 0
9762 void fnord() { int i=42;}
9765 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9766 int status = $lt_dlunknown;
9770 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9771 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9772 /* dlclose (self); */
9780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9781 (eval $ac_link) 2>&5
9783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9784 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9785 (.
/conftest
; exit; ) >&5 2>/dev
/null
9788 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9789 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9790 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9793 # compilation failed
9794 lt_cv_dlopen_self
=no
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9802 $as_echo "$lt_cv_dlopen_self" >&6; }
9804 if test "x$lt_cv_dlopen_self" = xyes
; then
9805 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9807 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9808 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9809 $as_echo_n "(cached) " >&6
9811 if test "$cross_compiling" = yes; then :
9812 lt_cv_dlopen_self_static
=cross
9814 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9815 lt_status
=$lt_dlunknown
9816 cat > conftest.
$ac_ext <<_LT_EOF
9817 #line 9817 "configure"
9818 #include "confdefs.h"
9827 # define LT_DLGLOBAL RTLD_GLOBAL
9830 # define LT_DLGLOBAL DL_GLOBAL
9832 # define LT_DLGLOBAL 0
9836 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9837 find out it does not work in some platform. */
9838 #ifndef LT_DLLAZY_OR_NOW
9840 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9843 # define LT_DLLAZY_OR_NOW DL_LAZY
9846 # define LT_DLLAZY_OR_NOW RTLD_NOW
9849 # define LT_DLLAZY_OR_NOW DL_NOW
9851 # define LT_DLLAZY_OR_NOW 0
9858 void fnord() { int i=42;}
9861 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9862 int status = $lt_dlunknown;
9866 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9867 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9868 /* dlclose (self); */
9876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9877 (eval $ac_link) 2>&5
9879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9880 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9881 (.
/conftest
; exit; ) >&5 2>/dev
/null
9884 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9885 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9886 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9889 # compilation failed
9890 lt_cv_dlopen_self_static
=no
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9898 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9901 CPPFLAGS
="$save_CPPFLAGS"
9902 LDFLAGS
="$save_LDFLAGS"
9907 case $lt_cv_dlopen_self in
9908 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9909 *) enable_dlopen_self
=unknown
;;
9912 case $lt_cv_dlopen_self_static in
9913 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9914 *) enable_dlopen_self_static
=unknown
;;
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9937 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9938 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9939 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9940 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9942 $as_echo "yes" >&6; }
9944 # FIXME - insert some real tests, host_os isn't really good enough
9947 if test -n "$STRIP" ; then
9948 striplib
="$STRIP -x"
9949 old_striplib
="$STRIP -S"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9951 $as_echo "yes" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9954 $as_echo "no" >&6; }
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9959 $as_echo "no" >&6; }
9975 # Report which library types will actually be built
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9977 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9979 $as_echo "$can_build_shared" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9982 $as_echo_n "checking whether to build shared libraries... " >&6; }
9983 test "$can_build_shared" = "no" && enable_shared
=no
9985 # On AIX, shared libraries and static libraries use the same namespace, and
9986 # are all built from PIC.
9989 test "$enable_shared" = yes && enable_static
=no
9990 if test -n "$RANLIB"; then
9991 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9992 postinstall_cmds
='$RANLIB $lib'
9997 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9998 test "$enable_shared" = yes && enable_static
=no
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10003 $as_echo "$enable_shared" >&6; }
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10006 $as_echo_n "checking whether to build static libraries... " >&6; }
10007 # Make sure either enable_shared or enable_static is yes.
10008 test "$enable_shared" = yes || enable_static
=yes
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10010 $as_echo "$enable_static" >&6; }
10017 ac_cpp
='$CPP $CPPFLAGS'
10018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10036 ac_config_commands
="$ac_config_commands libtool"
10041 # Only expand once:
10046 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10047 if test -n "$ac_tool_prefix"; then
10048 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10049 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10051 $as_echo_n "checking for $ac_word... " >&6; }
10052 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10053 $as_echo_n "(cached) " >&6
10055 case $PKG_CONFIG in
10057 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10061 for as_dir
in $PATH
10064 test -z "$as_dir" && as_dir
=.
10065 for ac_exec_ext
in '' $ac_executable_extensions; do
10066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10067 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10079 if test -n "$PKG_CONFIG"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10081 $as_echo "$PKG_CONFIG" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10089 if test -z "$ac_cv_path_PKG_CONFIG"; then
10090 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10091 # Extract the first word of "pkg-config", so it can be a program name with args.
10092 set dummy pkg
-config; ac_word
=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10096 $as_echo_n "(cached) " >&6
10098 case $ac_pt_PKG_CONFIG in
10100 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10122 if test -n "$ac_pt_PKG_CONFIG"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10124 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10130 if test "x$ac_pt_PKG_CONFIG" = x
; then
10133 case $cross_compiling:$ac_tool_warned in
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10137 ac_tool_warned
=yes ;;
10139 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10142 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10146 if test -n "$PKG_CONFIG"; then
10147 _pkg_min_version
=0.22
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10149 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10150 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10152 $as_echo "yes" >&6; }
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10155 $as_echo "no" >&6; }
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10161 $as_echo_n "checking for GNU make... " >&6; }
10162 if test "${_cv_gnu_make_command+set}" = set; then :
10163 $as_echo_n "(cached) " >&6
10165 _cv_gnu_make_command
='' ;
10166 for a
in "$MAKE" make gmake gnumake
; do
10167 if test -z "$a" ; then continue ; fi ;
10168 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10169 _cv_gnu_make_command
=$a ;
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10176 $as_echo "$_cv_gnu_make_command" >&6; } ;
10177 if test "x$_cv_gnu_make_command" != "x" ; then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10182 $as_echo "\"Not found\"" >&6; };
10186 if test "x$_cv_gnu_make_command" = x
; then :
10187 as_fn_error
"You need GNU make" "$LINENO" 5
10190 ac_cpp
='$CXXCPP $CPPFLAGS'
10191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10194 if test -z "$CXX"; then
10195 if test -n "$CCC"; then
10198 if test -n "$ac_tool_prefix"; then
10199 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10202 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10204 $as_echo_n "checking for $ac_word... " >&6; }
10205 if test "${ac_cv_prog_CXX+set}" = set; then :
10206 $as_echo_n "(cached) " >&6
10208 if test -n "$CXX"; then
10209 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10212 for as_dir
in $PATH
10215 test -z "$as_dir" && as_dir
=.
10216 for ac_exec_ext
in '' $ac_executable_extensions; do
10217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10218 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10228 CXX
=$ac_cv_prog_CXX
10229 if test -n "$CXX"; then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10231 $as_echo "$CXX" >&6; }
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10234 $as_echo "no" >&6; }
10238 test -n "$CXX" && break
10241 if test -z "$CXX"; then
10243 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10245 # Extract the first word of "$ac_prog", so it can be a program name with args.
10246 set dummy
$ac_prog; ac_word
=$2
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10248 $as_echo_n "checking for $ac_word... " >&6; }
10249 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10250 $as_echo_n "(cached) " >&6
10252 if test -n "$ac_ct_CXX"; then
10253 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10256 for as_dir
in $PATH
10259 test -z "$as_dir" && as_dir
=.
10260 for ac_exec_ext
in '' $ac_executable_extensions; do
10261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10262 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10272 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10273 if test -n "$ac_ct_CXX"; then
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10275 $as_echo "$ac_ct_CXX" >&6; }
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10278 $as_echo "no" >&6; }
10282 test -n "$ac_ct_CXX" && break
10285 if test "x$ac_ct_CXX" = x
; then
10288 case $cross_compiling:$ac_tool_warned in
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10292 ac_tool_warned
=yes ;;
10300 # Provide some information about the compiler.
10301 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10304 for ac_option
in --version -v -V -qversion; do
10305 { { ac_try
="$ac_compiler $ac_option >&5"
10306 case "(($ac_try" in
10307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10308 *) ac_try_echo=$ac_try;;
10310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10311 $as_echo "$ac_try_echo"; } >&5
10312 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10314 if test -s conftest.err; then
10316 ... rest of stderr output deleted ...
10317 10q' conftest.err >conftest.er1
10318 cat conftest.er1 >&5
10320 rm -f conftest.er1 conftest.err
10321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10322 test $ac_status = 0; }
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10326 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10327 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10328 $as_echo_n "(cached) " >&6
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10344 if ac_fn_cxx_try_compile "$LINENO"; then :
10345 ac_compiler_gnu=yes
10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10354 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10355 if test $ac_compiler_gnu = yes; then
10360 ac_test_CXXFLAGS=${CXXFLAGS+set}
10361 ac_save_CXXFLAGS=$CXXFLAGS
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10363 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10364 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10365 $as_echo_n "(cached) " >&6
10367 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10368 ac_cxx_werror_flag=yes
10369 ac_cv_prog_cxx_g=no
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10382 if ac_fn_cxx_try_compile "$LINENO"; then :
10383 ac_cv_prog_cxx_g=yes
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10397 if ac_fn_cxx_try_compile "$LINENO"; then :
10400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10403 /* end confdefs.h. */
10413 if ac_fn_cxx_try_compile "$LINENO"; then :
10414 ac_cv_prog_cxx_g=yes
10416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10421 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10424 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10425 if test "$ac_test_CXXFLAGS" = set; then
10426 CXXFLAGS=$ac_save_CXXFLAGS
10427 elif test $ac_cv_prog_cxx_g = yes; then
10428 if test "$GXX" = yes; then
10434 if test "$GXX" = yes; then
10441 ac_cpp='$CPP $CPPFLAGS'
10442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10448 ac_cpp='$CXXCPP $CPPFLAGS'
10449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10452 if test -z "$CXX"; then
10453 if test -n "$CCC"; then
10456 if test -n "$ac_tool_prefix"; then
10457 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10459 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10460 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10462 $as_echo_n "checking for $ac_word... " >&6; }
10463 if test "${ac_cv_prog_CXX+set}" = set; then :
10464 $as_echo_n "(cached) " >&6
10466 if test -n "$CXX"; then
10467 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10476 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10486 CXX=$ac_cv_prog_CXX
10487 if test -n "$CXX"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10489 $as_echo "$CXX" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 $as_echo "no" >&6; }
10496 test -n "$CXX" && break
10499 if test -z "$CXX"; then
10501 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10503 # Extract the first word of "$ac_prog", so it can be a program name with args.
10504 set dummy $ac_prog; ac_word=$2
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 $as_echo_n "checking for $ac_word... " >&6; }
10507 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10508 $as_echo_n "(cached) " >&6
10510 if test -n "$ac_ct_CXX"; then
10511 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10517 test -z "$as_dir" && as_dir=.
10518 for ac_exec_ext in '' $ac_executable_extensions; do
10519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10520 ac_cv_prog_ac_ct_CXX="$ac_prog"
10521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10530 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10531 if test -n "$ac_ct_CXX"; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10533 $as_echo "$ac_ct_CXX" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10536 $as_echo "no" >&6; }
10540 test -n "$ac_ct_CXX" && break
10543 if test "x$ac_ct_CXX" = x; then
10546 case $cross_compiling:$ac_tool_warned in
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10550 ac_tool_warned=yes ;;
10558 # Provide some information about the compiler.
10559 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10562 for ac_option in --version -v -V -qversion; do
10563 { { ac_try="$ac_compiler $ac_option >&5"
10564 case "(($ac_try" in
10565 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
10566 *) ac_try_echo
=$ac_try;;
10568 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10569 $as_echo "$ac_try_echo"; } >&5
10570 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10572 if test -s conftest.err
; then
10574 ... rest of stderr output deleted ...
10575 10q' conftest.err
>conftest.er1
10576 cat conftest.er1
>&5
10578 rm -f conftest.er1 conftest.err
10579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10580 test $ac_status = 0; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10584 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10585 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10586 $as_echo_n "(cached) " >&6
10588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10602 if ac_fn_cxx_try_compile
"$LINENO"; then :
10603 ac_compiler_gnu
=yes
10607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10608 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10612 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10613 if test $ac_compiler_gnu = yes; then
10618 ac_test_CXXFLAGS
=${CXXFLAGS+set}
10619 ac_save_CXXFLAGS
=$CXXFLAGS
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10621 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10622 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10623 $as_echo_n "(cached) " >&6
10625 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
10626 ac_cxx_werror_flag
=yes
10627 ac_cv_prog_cxx_g
=no
10629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10640 if ac_fn_cxx_try_compile
"$LINENO"; then :
10641 ac_cv_prog_cxx_g
=yes
10644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10655 if ac_fn_cxx_try_compile
"$LINENO"; then :
10658 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10671 if ac_fn_cxx_try_compile
"$LINENO"; then :
10672 ac_cv_prog_cxx_g
=yes
10674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10679 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10682 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10683 if test "$ac_test_CXXFLAGS" = set; then
10684 CXXFLAGS
=$ac_save_CXXFLAGS
10685 elif test $ac_cv_prog_cxx_g = yes; then
10686 if test "$GXX" = yes; then
10692 if test "$GXX" = yes; then
10699 ac_cpp
='$CPP $CPPFLAGS'
10700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10704 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10705 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10706 (test "X$CXX" != "Xg++"))) ; then
10708 ac_cpp
='$CXXCPP $CPPFLAGS'
10709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10713 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10714 if test -z "$CXXCPP"; then
10715 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10718 # Double quotes because CXXCPP needs to be expanded
10719 for CXXCPP
in "$CXX -E" "/lib/cpp"
10721 ac_preproc_ok
=false
10722 for ac_cxx_preproc_warn_flag
in '' yes
10724 # Use a header file that comes with gcc, so configuring glibc
10725 # with a fresh cross-compiler works.
10726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10727 # <limits.h> exists even on freestanding compilers.
10728 # On the NeXT, cc -E runs the code through the compiler's parser,
10729 # not just through cpp. "Syntax error" is here to catch this case.
10730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10733 # include <limits.h>
10735 # include <assert.h>
10739 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10742 # Broken: fails on valid input.
10745 rm -f conftest.err conftest.
$ac_ext
10747 # OK, works on sane cases. Now check whether nonexistent headers
10748 # can be detected and how.
10749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 #include <ac_nonexistent.h>
10753 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10754 # Broken: success on invalid input.
10757 # Passes both tests.
10761 rm -f conftest.err conftest.
$ac_ext
10764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10765 rm -f conftest.err conftest.
$ac_ext
10766 if $ac_preproc_ok; then :
10771 ac_cv_prog_CXXCPP
=$CXXCPP
10774 CXXCPP
=$ac_cv_prog_CXXCPP
10776 ac_cv_prog_CXXCPP
=$CXXCPP
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10779 $as_echo "$CXXCPP" >&6; }
10780 ac_preproc_ok
=false
10781 for ac_cxx_preproc_warn_flag
in '' yes
10783 # Use a header file that comes with gcc, so configuring glibc
10784 # with a fresh cross-compiler works.
10785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10786 # <limits.h> exists even on freestanding compilers.
10787 # On the NeXT, cc -E runs the code through the compiler's parser,
10788 # not just through cpp. "Syntax error" is here to catch this case.
10789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 # include <limits.h>
10794 # include <assert.h>
10798 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10801 # Broken: fails on valid input.
10804 rm -f conftest.err conftest.
$ac_ext
10806 # OK, works on sane cases. Now check whether nonexistent headers
10807 # can be detected and how.
10808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10810 #include <ac_nonexistent.h>
10812 if ac_fn_cxx_try_cpp
"$LINENO"; then :
10813 # Broken: success on invalid input.
10816 # Passes both tests.
10820 rm -f conftest.err conftest.
$ac_ext
10823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10824 rm -f conftest.err conftest.
$ac_ext
10825 if $ac_preproc_ok; then :
10828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10830 _lt_caught_CXX_error
=yes; }
10834 ac_cpp
='$CPP $CPPFLAGS'
10835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10840 _lt_caught_CXX_error
=yes
10847 ac_cpp
='$CXXCPP $CPPFLAGS'
10848 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10849 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10850 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10852 archive_cmds_need_lc_CXX
=no
10853 allow_undefined_flag_CXX
=
10854 always_export_symbols_CXX
=no
10855 archive_expsym_cmds_CXX
=
10856 compiler_needs_object_CXX
=no
10857 export_dynamic_flag_spec_CXX
=
10858 hardcode_direct_CXX
=no
10859 hardcode_direct_absolute_CXX
=no
10860 hardcode_libdir_flag_spec_CXX
=
10861 hardcode_libdir_flag_spec_ld_CXX
=
10862 hardcode_libdir_separator_CXX
=
10863 hardcode_minus_L_CXX
=no
10864 hardcode_shlibpath_var_CXX
=unsupported
10865 hardcode_automatic_CXX
=no
10866 inherit_rpath_CXX
=no
10868 module_expsym_cmds_CXX
=
10869 link_all_deplibs_CXX
=unknown
10870 old_archive_cmds_CXX
=$old_archive_cmds
10871 no_undefined_flag_CXX
=
10872 whole_archive_flag_spec_CXX
=
10873 enable_shared_with_static_runtimes_CXX
=no
10875 # Source file extension for C++ test sources.
10878 # Object file extension for compiled C++ test sources.
10882 # No sense in running all these tests if we already determined that
10883 # the CXX compiler isn't working. Some variables (like enable_shared)
10884 # are currently assumed to apply to all compilers on this platform,
10885 # and will be corrupted by setting them based on a non-working compiler.
10886 if test "$_lt_caught_CXX_error" != yes; then
10887 # Code to be used in simple compile tests
10888 lt_simple_compile_test_code
="int some_variable = 0;"
10890 # Code to be used in simple link tests
10891 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
10893 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10900 # If no C compiler was specified, use CC.
10903 # If no C compiler flags were specified, use CFLAGS.
10904 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10906 # Allow CC to be a program name with arguments.
10910 # save warnings/boilerplate of simple test code
10911 ac_outfile
=conftest.
$ac_objext
10912 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10913 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10914 _lt_compiler_boilerplate
=`cat conftest.err`
10917 ac_outfile
=conftest.
$ac_objext
10918 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10919 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
10920 _lt_linker_boilerplate
=`cat conftest.err`
10924 # Allow CC to be a program name with arguments.
10929 lt_save_with_gnu_ld
=$with_gnu_ld
10930 lt_save_path_LD
=$lt_cv_path_LD
10931 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10932 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
10934 $as_unset lt_cv_prog_gnu_ld
10936 if test -n "${lt_cv_path_LDCXX+set}"; then
10937 lt_cv_path_LD
=$lt_cv_path_LDCXX
10939 $as_unset lt_cv_path_LD
10941 test -z "${LDCXX+set}" || LD
=$LDCXX
10945 for cc_temp
in $compiler""; do
10947 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
10948 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
10953 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10956 if test -n "$compiler"; then
10957 # We don't want -fno-exception when compiling C++ code, so set the
10958 # no_builtin_flag separately
10959 if test "$GXX" = yes; then
10960 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
10962 lt_prog_compiler_no_builtin_flag_CXX
=
10965 if test "$GXX" = yes; then
10966 # Set up default GNU C++ configuration
10970 # Check whether --with-gnu-ld was given.
10971 if test "${with_gnu_ld+set}" = set; then :
10972 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
10978 if test "$GCC" = yes; then
10979 # Check if gcc -print-prog-name=ld gives a path.
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10981 $as_echo_n "checking for ld used by $CC... " >&6; }
10984 # gcc leaves a trailing carriage return which upsets mingw
10985 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10987 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
10990 # Accept absolute paths.
10992 re_direlt
='/[^/][^/]*/\.\./'
10993 # Canonicalize the pathname of ld
10994 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10995 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
10996 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10998 test -z "$LD" && LD
="$ac_prog"
11001 # If it fails, then pretend we aren't using GCC.
11005 # If it is relative, then search for the first ld in PATH.
11006 with_gnu_ld
=unknown
11009 elif test "$with_gnu_ld" = yes; then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11011 $as_echo_n "checking for GNU ld... " >&6; }
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11014 $as_echo_n "checking for non-GNU ld... " >&6; }
11016 if test "${lt_cv_path_LD+set}" = set; then :
11017 $as_echo_n "(cached) " >&6
11019 if test -z "$LD"; then
11020 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11021 for ac_dir
in $PATH; do
11023 test -z "$ac_dir" && ac_dir
=.
11024 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11025 lt_cv_path_LD
="$ac_dir/$ac_prog"
11026 # Check to see if the program is GNU ld. I'd rather use --version,
11027 # but apparently some variants of GNU ld only accept -v.
11028 # Break only if it was the GNU/non-GNU ld that we prefer.
11029 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11030 *GNU
* | *'with BFD'*)
11031 test "$with_gnu_ld" != no
&& break
11034 test "$with_gnu_ld" != yes && break
11041 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11045 LD
="$lt_cv_path_LD"
11046 if test -n "$LD"; then
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11048 $as_echo "$LD" >&6; }
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11051 $as_echo "no" >&6; }
11053 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11055 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11056 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11057 $as_echo_n "(cached) " >&6
11059 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11060 case `$LD -v 2>&1 </dev/null` in
11061 *GNU
* | *'with BFD'*)
11062 lt_cv_prog_gnu_ld
=yes
11065 lt_cv_prog_gnu_ld
=no
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11070 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11071 with_gnu_ld
=$lt_cv_prog_gnu_ld
11079 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11080 # archiving commands below assume that GNU ld is being used.
11081 if test "$with_gnu_ld" = yes; then
11082 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11083 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'
11085 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11086 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11088 # If archive_cmds runs LD, not CC, wlarc should be empty
11089 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11090 # investigate it a little bit more. (MM)
11093 # ancient GNU ld didn't support --whole-archive et. al.
11094 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11095 $GREP 'no-whole-archive' > /dev
/null
; then
11096 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11098 whole_archive_flag_spec_CXX
=
11104 # A generic and very simple default shared library creation
11105 # command for GNU C++ for the case where it uses the native
11106 # linker, instead of GNU ld. If possible, this setting should
11107 # overridden to take advantage of the native linker features on
11108 # the platform it is being used on.
11109 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11112 # Commands to make compiler produce verbose output that lists
11113 # what "hidden" libraries, object files and flags are used when
11114 # linking a shared library.
11115 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11123 # PORTME: fill in a description of your system's C++ link characteristics
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11125 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11129 # FIXME: insert proper C++ library support
11133 if test "$host_cpu" = ia64
; then
11134 # On IA64, the linker does run time linking by default, so we don't
11135 # have to do anything special.
11136 aix_use_runtimelinking
=no
11137 exp_sym_flag
='-Bexport'
11140 aix_use_runtimelinking
=no
11142 # Test if we are trying to use run time linking or normal
11143 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11144 # need to do runtime linking.
11145 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11146 for ld_flag
in $LDFLAGS; do
11149 aix_use_runtimelinking
=yes
11157 exp_sym_flag
='-bexport'
11158 no_entry_flag
='-bnoentry'
11161 # When large executables or shared objects are built, AIX ld can
11162 # have problems creating the table of contents. If linking a library
11163 # or program results in "error TOC overflow" add -mminimal-toc to
11164 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11165 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11167 archive_cmds_CXX
=''
11168 hardcode_direct_CXX
=yes
11169 hardcode_direct_absolute_CXX
=yes
11170 hardcode_libdir_separator_CXX
=':'
11171 link_all_deplibs_CXX
=yes
11172 file_list_spec_CXX
='${wl}-f,'
11174 if test "$GXX" = yes; then
11175 case $host_os in aix4.
[012]|aix4.
[012].
*)
11176 # We only want to do this on AIX 4.2 and lower, the check
11177 # below for broken collect2 doesn't work under 4.3+
11178 collect2name
=`${CC} -print-prog-name=collect2`
11179 if test -f "$collect2name" &&
11180 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11182 # We have reworked collect2
11185 # We have old collect2
11186 hardcode_direct_CXX
=unsupported
11187 # It fails to find uninstalled libraries when the uninstalled
11188 # path is not listed in the libpath. Setting hardcode_minus_L
11189 # to unsupported forces relinking
11190 hardcode_minus_L_CXX
=yes
11191 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11192 hardcode_libdir_separator_CXX
=
11195 shared_flag
='-shared'
11196 if test "$aix_use_runtimelinking" = yes; then
11197 shared_flag
="$shared_flag "'${wl}-G'
11201 if test "$host_cpu" = ia64
; then
11202 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11203 # chokes on -Wl,-G. The following line is correct:
11206 if test "$aix_use_runtimelinking" = yes; then
11207 shared_flag
='${wl}-G'
11209 shared_flag
='${wl}-bM:SRE'
11214 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11215 # It seems that -bexpall does not export symbols beginning with
11216 # underscore (_), so it is better to generate a list of symbols to
11218 always_export_symbols_CXX
=yes
11219 if test "$aix_use_runtimelinking" = yes; then
11220 # Warning - without using the other runtime loading flags (-brtl),
11221 # -berok will link without error, but may produce a broken library.
11222 allow_undefined_flag_CXX
='-berok'
11223 # Determine the default libpath from the value encoded in an empty
11225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11236 if ac_fn_cxx_try_link
"$LINENO"; then :
11238 lt_aix_libpath_sed
='
11239 /Import File Strings/,/^$/ {
11245 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11246 # Check for a 64-bit object if we didn't find anything.
11247 if test -z "$aix_libpath"; then
11248 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11251 rm -f core conftest.err conftest.
$ac_objext \
11252 conftest
$ac_exeext conftest.
$ac_ext
11253 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11255 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11257 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"
11259 if test "$host_cpu" = ia64
; then
11260 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11261 allow_undefined_flag_CXX
="-z nodefs"
11262 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"
11264 # Determine the default libpath from the value encoded in an
11265 # empty executable.
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11277 if ac_fn_cxx_try_link
"$LINENO"; then :
11279 lt_aix_libpath_sed
='
11280 /Import File Strings/,/^$/ {
11286 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11287 # Check for a 64-bit object if we didn't find anything.
11288 if test -z "$aix_libpath"; then
11289 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11296 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11297 # Warning - without using the other run time loading flags,
11298 # -berok will link without error, but may produce a broken library.
11299 no_undefined_flag_CXX
=' ${wl}-bernotok'
11300 allow_undefined_flag_CXX
=' ${wl}-berok'
11301 # Exported symbols can be pulled into shared objects from archives
11302 whole_archive_flag_spec_CXX
='$convenience'
11303 archive_cmds_need_lc_CXX
=yes
11304 # This is similar to how AIX traditionally builds its shared
11306 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'
11312 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11313 allow_undefined_flag_CXX
=unsupported
11314 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11315 # support --undefined. This deserves some investigation. FIXME
11316 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11323 case $cc_basename in
11325 # FIXME: insert proper C++ library support
11331 cygwin
* | mingw
* | pw32
* | cegcc
*)
11332 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11333 # as there is no search path for DLLs.
11334 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11335 allow_undefined_flag_CXX
=unsupported
11336 always_export_symbols_CXX
=no
11337 enable_shared_with_static_runtimes_CXX
=yes
11339 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11340 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'
11341 # If the export-symbols file already is a .def file (1st line
11342 # is EXPORTS), use it as is; otherwise, prepend...
11343 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11344 cp $export_symbols $output_objdir/$soname.def;
11346 echo EXPORTS > $output_objdir/$soname.def;
11347 cat $export_symbols >> $output_objdir/$soname.def;
11349 $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'
11354 darwin
* | rhapsody
*)
11357 archive_cmds_need_lc_CXX
=no
11358 hardcode_direct_CXX
=no
11359 hardcode_automatic_CXX
=yes
11360 hardcode_shlibpath_var_CXX
=unsupported
11361 whole_archive_flag_spec_CXX
=''
11362 link_all_deplibs_CXX
=yes
11363 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11364 case $cc_basename in
11365 ifort
*) _lt_dar_can_shared
=yes ;;
11366 *) _lt_dar_can_shared
=$GCC ;;
11368 if test "$_lt_dar_can_shared" = "yes"; then
11369 output_verbose_link_cmd
=echo
11370 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}"
11371 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11372 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}"
11373 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}"
11374 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11375 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}"
11376 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}"
11386 case $cc_basename in
11388 # FIXME: insert proper C++ library support
11392 # Green Hills C++ Compiler
11393 # FIXME: insert proper C++ library support
11397 # FIXME: insert proper C++ library support
11404 # C++ shared libraries reported to be fairly broken before
11410 archive_cmds_need_lc_CXX
=no
11413 freebsd
* | dragonfly
*)
11414 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11423 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11424 hardcode_libdir_separator_CXX
=:
11425 export_dynamic_flag_spec_CXX
='${wl}-E'
11426 hardcode_direct_CXX
=yes
11427 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11428 # but as the default
11429 # location of the library.
11431 case $cc_basename in
11433 # FIXME: insert proper C++ library support
11437 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'
11438 # Commands to make compiler produce verbose output that lists
11439 # what "hidden" libraries, object files and flags are used when
11440 # linking a shared library.
11442 # There doesn't appear to be a way to prevent this compiler from
11443 # explicitly linking system object files so we need to strip them
11444 # from the output so that they don't get included in the library
11446 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'
11449 if test "$GXX" = yes; then
11450 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'
11452 # FIXME: insert proper C++ library support
11460 if test $with_gnu_ld = no
; then
11461 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11462 hardcode_libdir_separator_CXX
=:
11468 export_dynamic_flag_spec_CXX
='${wl}-E'
11474 hardcode_direct_CXX
=no
11475 hardcode_shlibpath_var_CXX
=no
11478 hardcode_direct_CXX
=yes
11479 hardcode_direct_absolute_CXX
=yes
11480 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11481 # but as the default
11482 # location of the library.
11486 case $cc_basename in
11488 # FIXME: insert proper C++ library support
11494 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11497 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11500 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11503 # Commands to make compiler produce verbose output that lists
11504 # what "hidden" libraries, object files and flags are used when
11505 # linking a shared library.
11507 # There doesn't appear to be a way to prevent this compiler from
11508 # explicitly linking system object files so we need to strip them
11509 # from the output so that they don't get included in the library
11511 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'
11514 if test "$GXX" = yes; then
11515 if test $with_gnu_ld = no
; then
11518 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11521 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11524 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'
11529 # FIXME: insert proper C++ library support
11537 hardcode_direct_CXX
=no
11538 hardcode_shlibpath_var_CXX
=no
11539 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11540 export_dynamic_flag_spec_CXX
='${wl}-E'
11541 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11542 # Instead, shared libraries are loaded at an image base (0x10000000 by
11543 # default) and relocated if they conflict, which is a slow very memory
11544 # consuming and fragmenting process. To avoid this, we pick a random,
11545 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11546 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11547 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'
11548 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'
11551 case $cc_basename in
11554 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'
11556 # Archives containing C++ object files must be created using
11557 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11558 # necessary to make sure instantiated templates are included
11560 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11563 if test "$GXX" = yes; then
11564 if test "$with_gnu_ld" = no
; then
11565 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'
11567 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'
11570 link_all_deplibs_CXX
=yes
11573 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11574 hardcode_libdir_separator_CXX
=:
11575 inherit_rpath_CXX
=yes
11578 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11579 case $cc_basename in
11581 # Kuck and Associates, Inc. (KAI) C++ Compiler
11583 # KCC will only create a shared library if the output file
11584 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11585 # to its proper name (with version) after linking.
11586 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'
11587 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'
11588 # Commands to make compiler produce verbose output that lists
11589 # what "hidden" libraries, object files and flags are used when
11590 # linking a shared library.
11592 # There doesn't appear to be a way to prevent this compiler from
11593 # explicitly linking system object files so we need to strip them
11594 # from the output so that they don't get included in the library
11596 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'
11598 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11599 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11601 # Archives containing C++ object files must be created using
11602 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11603 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11608 # version 8.0 and above of icpc choke on multiply defined symbols
11609 # if we add $predep_objects and $postdep_objects, however 7.1 and
11610 # earlier do not add the objects themselves.
11611 case `$CC -V 2>&1` in
11613 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11614 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'
11616 *) # Version 8.0 or newer
11619 ia64
*) tmp_idyn
=' -i_dynamic';;
11621 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11622 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'
11625 archive_cmds_need_lc_CXX
=no
11626 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11627 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11628 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11631 # Portland Group C++ compiler
11633 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
11634 prelink_cmds_CXX
='tpldir=Template.dir~
11636 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11637 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11638 old_archive_cmds_CXX
='tpldir=Template.dir~
11640 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11641 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11643 archive_cmds_CXX
='tpldir=Template.dir~
11645 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11646 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11647 archive_expsym_cmds_CXX
='tpldir=Template.dir~
11649 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11650 $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'
11652 *) # Version 6 will use weak symbols
11653 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11654 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'
11658 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11659 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11660 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'
11664 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11665 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'
11667 runpath_var
=LD_RUN_PATH
11668 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11669 hardcode_libdir_separator_CXX
=:
11671 # Commands to make compiler produce verbose output that lists
11672 # what "hidden" libraries, object files and flags are used when
11673 # linking a shared library.
11675 # There doesn't appear to be a way to prevent this compiler from
11676 # explicitly linking system object files so we need to strip them
11677 # from the output so that they don't get included in the library
11679 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'
11682 # IBM XL 8.0 on PPC, with GNU ld
11683 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11684 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11685 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11686 if test "x$supports_anon_versioning" = xyes
; then
11687 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
11688 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11689 echo "local: *; };" >> $output_objdir/$libname.ver~
11690 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11694 case `$CC -V 2>&1 | sed 5q` in
11697 no_undefined_flag_CXX
=' -zdefs'
11698 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11699 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'
11700 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11701 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'
11702 compiler_needs_object_CXX
=yes
11704 # Not sure whether something based on
11705 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11707 output_verbose_link_cmd
='echo'
11709 # Archives containing C++ object files must be created using
11710 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11711 # necessary to make sure instantiated templates are included
11713 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11721 # FIXME: insert proper C++ library support
11726 # FIXME: insert proper C++ library support
11731 case $cc_basename in
11733 # FIXME: insert proper C++ library support
11737 # FIXME: insert proper C++ library support
11744 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11745 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11747 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11748 hardcode_direct_CXX
=yes
11749 hardcode_shlibpath_var_CXX
=no
11751 # Workaround some broken pre-1.5 toolchains
11752 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11760 # C++ shared libraries are fairly broken
11765 if test -f /usr
/libexec
/ld.so
; then
11766 hardcode_direct_CXX
=yes
11767 hardcode_shlibpath_var_CXX
=no
11768 hardcode_direct_absolute_CXX
=yes
11769 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11770 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11771 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11772 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11773 export_dynamic_flag_spec_CXX
='${wl}-E'
11774 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11776 output_verbose_link_cmd
=echo
11782 osf3
* | osf4
* | osf5
*)
11783 case $cc_basename in
11785 # Kuck and Associates, Inc. (KAI) C++ Compiler
11787 # KCC will only create a shared library if the output file
11788 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11789 # to its proper name (with version) after linking.
11790 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'
11792 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11793 hardcode_libdir_separator_CXX
=:
11795 # Archives containing C++ object files must be created using
11796 # the KAI C++ compiler.
11798 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
11799 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
11803 # Rational C++ 2.4.1
11804 # FIXME: insert proper C++ library support
11810 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11811 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'
11812 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11815 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11816 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'
11817 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11818 echo "-hidden">> $lib.exp~
11819 $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~
11821 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11825 hardcode_libdir_separator_CXX
=:
11827 # Commands to make compiler produce verbose output that lists
11828 # what "hidden" libraries, object files and flags are used when
11829 # linking a shared library.
11831 # There doesn't appear to be a way to prevent this compiler from
11832 # explicitly linking system object files so we need to strip them
11833 # from the output so that they don't get included in the library
11835 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'
11838 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11839 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11842 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'
11845 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'
11849 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11850 hardcode_libdir_separator_CXX
=:
11852 # Commands to make compiler produce verbose output that lists
11853 # what "hidden" libraries, object files and flags are used when
11854 # linking a shared library.
11855 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11858 # FIXME: insert proper C++ library support
11866 # FIXME: insert proper C++ library support
11871 case $cc_basename in
11874 # FIXME: insert proper C++ library support
11879 # FIXME: insert proper C++ library support
11883 # FIXME: insert proper C++ library support
11890 case $cc_basename in
11892 # Sun C++ 4.2, 5.x and Centerline C++
11893 archive_cmds_need_lc_CXX
=yes
11894 no_undefined_flag_CXX
=' -zdefs'
11895 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11896 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11897 $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'
11899 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11900 hardcode_shlibpath_var_CXX
=no
11902 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11904 # The compiler driver will combine and reorder linker options,
11905 # but understands `-z linker_flag'.
11906 # Supported since Solaris 2.6 (maybe 2.5.1?)
11907 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
11910 link_all_deplibs_CXX
=yes
11912 output_verbose_link_cmd
='echo'
11914 # Archives containing C++ object files must be created using
11915 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11916 # necessary to make sure instantiated templates are included
11918 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
11921 # Green Hills C++ Compiler
11922 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11924 # The C++ compiler must be used to create the archive.
11925 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11928 # GNU C++ compiler with Solaris linker
11929 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11930 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
11931 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
11932 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11933 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11934 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11936 # Commands to make compiler produce verbose output that lists
11937 # what "hidden" libraries, object files and flags are used when
11938 # linking a shared library.
11939 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11941 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11943 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11944 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11945 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11947 # Commands to make compiler produce verbose output that lists
11948 # what "hidden" libraries, object files and flags are used when
11949 # linking a shared library.
11950 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11953 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
11955 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11957 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11965 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11966 no_undefined_flag_CXX
='${wl}-z,text'
11967 archive_cmds_need_lc_CXX
=no
11968 hardcode_shlibpath_var_CXX
=no
11969 runpath_var
='LD_RUN_PATH'
11971 case $cc_basename in
11973 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11974 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11977 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11978 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11983 sysv5
* | sco3.2v5
* | sco5v6
*)
11984 # Note: We can NOT use -z defs as we might desire, because we do not
11985 # link with -lc, and that would cause any symbols used from libc to
11986 # always be unresolved, which means just about no library would
11987 # ever link correctly. If we're not using GNU ld we use -z text
11988 # though, which does catch some bad symbols but isn't as heavy-handed
11990 no_undefined_flag_CXX
='${wl}-z,text'
11991 allow_undefined_flag_CXX
='${wl}-z,nodefs'
11992 archive_cmds_need_lc_CXX
=no
11993 hardcode_shlibpath_var_CXX
=no
11994 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
11995 hardcode_libdir_separator_CXX
=':'
11996 link_all_deplibs_CXX
=yes
11997 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
11998 runpath_var
='LD_RUN_PATH'
12000 case $cc_basename in
12002 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12003 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12006 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12007 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12013 case $cc_basename in
12015 # NonStop-UX NCC 3.20
12016 # FIXME: insert proper C++ library support
12020 # FIXME: insert proper C++ library support
12027 # FIXME: insert proper C++ library support
12032 # FIXME: insert proper C++ library support
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12038 $as_echo "$ld_shlibs_CXX" >&6; }
12039 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12045 ## There is no encapsulation within the following macros, do not change
12046 ## the running order or otherwise move them around unless you know exactly
12047 ## what you are doing...
12048 # Dependencies to place before and after the object being linked:
12049 predep_objects_CXX
=
12050 postdep_objects_CXX
=
12053 compiler_lib_search_path_CXX
=
12055 cat > conftest.
$ac_ext <<_LT_EOF
12059 Foo (void) { a = 0; }
12065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12066 (eval $ac_compile) 2>&5
12068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12069 test $ac_status = 0; }; then
12070 # Parse the compiler output and extract the necessary
12071 # objects, libraries and library flags.
12073 # Sentinel used to keep track of whether or not we are before
12074 # the conftest object file.
12075 pre_test_object_deps_done
=no
12077 for p
in `eval "$output_verbose_link_cmd"`; do
12081 # Some compilers place space between "-{L,R}" and the path.
12082 # Remove the space.
12083 if test $p = "-L" ||
12084 test $p = "-R"; then
12091 if test "$pre_test_object_deps_done" = no
; then
12094 # Internal compiler library paths should come after those
12095 # provided the user. The postdeps already come after the
12096 # user supplied libs so there is no need to process them.
12097 if test -z "$compiler_lib_search_path_CXX"; then
12098 compiler_lib_search_path_CXX
="${prev}${p}"
12100 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12103 # The "-l" case would never come before the object being
12104 # linked, so don't bother handling this case.
12107 if test -z "$postdeps_CXX"; then
12108 postdeps_CXX
="${prev}${p}"
12110 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12116 # This assumes that the test object file only shows up
12117 # once in the compiler output.
12118 if test "$p" = "conftest.$objext"; then
12119 pre_test_object_deps_done
=yes
12123 if test "$pre_test_object_deps_done" = no
; then
12124 if test -z "$predep_objects_CXX"; then
12125 predep_objects_CXX
="$p"
12127 predep_objects_CXX
="$predep_objects_CXX $p"
12130 if test -z "$postdep_objects_CXX"; then
12131 postdep_objects_CXX
="$p"
12133 postdep_objects_CXX
="$postdep_objects_CXX $p"
12138 *) ;; # Ignore the rest.
12146 echo "libtool.m4: error: problem compiling CXX test program"
12149 $RM -f confest.
$objext
12151 # PORTME: override above test on systems where it is broken
12154 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12155 # hack all around it, let's just trust "g++" to DTRT.
12156 predep_objects_CXX
=
12157 postdep_objects_CXX
=
12162 case `$CC -V 2>&1 | sed 5q` in
12166 # The more standards-conforming stlport4 library is
12167 # incompatible with the Cstd library. Avoid specifying
12168 # it if it's in CXXFLAGS. Ignore libCrun as
12169 # -library=stlport4 depends on it.
12170 case " $CXX $CXXFLAGS " in
12171 *" -library=stlport4 "*)
12172 solaris_use_stlport4
=yes
12176 if test "$solaris_use_stlport4" != yes; then
12177 postdeps_CXX
='-library=Cstd -library=Crun'
12184 case $cc_basename in
12186 # The more standards-conforming stlport4 library is
12187 # incompatible with the Cstd library. Avoid specifying
12188 # it if it's in CXXFLAGS. Ignore libCrun as
12189 # -library=stlport4 depends on it.
12190 case " $CXX $CXXFLAGS " in
12191 *" -library=stlport4 "*)
12192 solaris_use_stlport4
=yes
12196 # Adding this requires a known-good setup of shared libraries for
12197 # Sun compiler versions before 5.6, else PIC objects from an old
12198 # archive will be linked into the output, leading to subtle bugs.
12199 if test "$solaris_use_stlport4" != yes; then
12200 postdeps_CXX
='-library=Cstd -library=Crun'
12208 case " $postdeps_CXX " in
12209 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12211 compiler_lib_search_dirs_CXX
=
12212 if test -n "${compiler_lib_search_path_CXX}"; then
12213 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12246 lt_prog_compiler_wl_CXX
=
12247 lt_prog_compiler_pic_CXX
=
12248 lt_prog_compiler_static_CXX
=
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12251 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12253 # C++ specific cases for pic, static, wl, etc.
12254 if test "$GXX" = yes; then
12255 lt_prog_compiler_wl_CXX
='-Wl,'
12256 lt_prog_compiler_static_CXX
='-static'
12260 # All AIX code is PIC.
12261 if test "$host_cpu" = ia64
; then
12262 # AIX 5 now supports IA64 processor
12263 lt_prog_compiler_static_CXX
='-Bstatic'
12270 # see comment about AmigaOS4 .so support
12271 lt_prog_compiler_pic_CXX
='-fPIC'
12274 # FIXME: we need at least 68020 code to build shared libraries, but
12275 # adding the `-m68020' flag to GCC prevents building anything better,
12277 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12282 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12283 # PIC is the default for these OSes.
12285 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12286 # This hack is so that the source file can tell whether it is being
12287 # built for inclusion in a dll (and should export symbols for example).
12288 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12289 # (--disable-auto-import) libraries
12290 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12292 darwin
* | rhapsody
*)
12293 # PIC is the default on this platform
12294 # Common symbols not allowed in MH_DYLIB files
12295 lt_prog_compiler_pic_CXX
='-fno-common'
12298 # DJGPP does not support shared libraries at all
12299 lt_prog_compiler_pic_CXX
=
12302 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12303 # Instead, we relocate shared libraries at runtime.
12306 if test -d /usr
/nec
; then
12307 lt_prog_compiler_pic_CXX
=-Kconform_pic
12311 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12312 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12313 # sets the default TLS model and affects inlining.
12318 lt_prog_compiler_pic_CXX
='-fPIC'
12323 # QNX uses GNU C++, but need to define -shared option too, otherwise
12324 # it will coredump.
12325 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12328 lt_prog_compiler_pic_CXX
='-fPIC'
12334 # All AIX code is PIC.
12335 if test "$host_cpu" = ia64
; then
12336 # AIX 5 now supports IA64 processor
12337 lt_prog_compiler_static_CXX
='-Bstatic'
12339 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12343 case $cc_basename in
12345 # Green Hills C++ Compiler
12346 # _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"
12351 case $cc_basename in
12353 lt_prog_compiler_pic_CXX
='-KPIC'
12356 # Green Hills C++ Compiler
12357 lt_prog_compiler_pic_CXX
='-pic'
12363 freebsd
* | dragonfly
*)
12364 # FreeBSD uses GNU C++
12366 hpux9
* | hpux10
* | hpux11
*)
12367 case $cc_basename in
12369 lt_prog_compiler_wl_CXX
='-Wl,'
12370 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12371 if test "$host_cpu" != ia64
; then
12372 lt_prog_compiler_pic_CXX
='+Z'
12376 lt_prog_compiler_wl_CXX
='-Wl,'
12377 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12383 lt_prog_compiler_pic_CXX
='+Z'
12392 # This is c89, which is MS Visual C++ (no shared libs)
12393 # Anyone wants to do a port?
12395 irix5
* | irix6
* | nonstopux
*)
12396 case $cc_basename in
12398 lt_prog_compiler_wl_CXX
='-Wl,'
12399 lt_prog_compiler_static_CXX
='-non_shared'
12400 # CC pic flag -KPIC is the default.
12406 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12407 case $cc_basename in
12410 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12411 lt_prog_compiler_pic_CXX
='-fPIC'
12414 # old Intel C++ for x86_64 which still supported -KPIC.
12415 lt_prog_compiler_wl_CXX
='-Wl,'
12416 lt_prog_compiler_pic_CXX
='-KPIC'
12417 lt_prog_compiler_static_CXX
='-static'
12420 # Intel C++, used to be incompatible with GCC.
12421 # ICC 10 doesn't accept -KPIC any more.
12422 lt_prog_compiler_wl_CXX
='-Wl,'
12423 lt_prog_compiler_pic_CXX
='-fPIC'
12424 lt_prog_compiler_static_CXX
='-static'
12427 # Portland Group C++ compiler
12428 lt_prog_compiler_wl_CXX
='-Wl,'
12429 lt_prog_compiler_pic_CXX
='-fpic'
12430 lt_prog_compiler_static_CXX
='-Bstatic'
12434 # Make sure the PIC flag is empty. It appears that all Alpha
12435 # Linux and Compaq Tru64 Unix objects are PIC.
12436 lt_prog_compiler_pic_CXX
=
12437 lt_prog_compiler_static_CXX
='-non_shared'
12440 # IBM XL 8.0 on PPC
12441 lt_prog_compiler_wl_CXX
='-Wl,'
12442 lt_prog_compiler_pic_CXX
='-qpic'
12443 lt_prog_compiler_static_CXX
='-qstaticlink'
12446 case `$CC -V 2>&1 | sed 5q` in
12449 lt_prog_compiler_pic_CXX
='-KPIC'
12450 lt_prog_compiler_static_CXX
='-Bstatic'
12451 lt_prog_compiler_wl_CXX
='-Qoption ld '
12462 case $cc_basename in
12464 lt_prog_compiler_pic_CXX
='-W c,exportall'
12470 netbsd
* | netbsdelf
*-gnu)
12473 # QNX uses GNU C++, but need to define -shared option too, otherwise
12474 # it will coredump.
12475 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12477 osf3
* | osf4
* | osf5
*)
12478 case $cc_basename in
12480 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12483 # Rational C++ 2.4.1
12484 lt_prog_compiler_pic_CXX
='-pic'
12487 # Digital/Compaq C++
12488 lt_prog_compiler_wl_CXX
='-Wl,'
12489 # Make sure the PIC flag is empty. It appears that all Alpha
12490 # Linux and Compaq Tru64 Unix objects are PIC.
12491 lt_prog_compiler_pic_CXX
=
12492 lt_prog_compiler_static_CXX
='-non_shared'
12501 case $cc_basename in
12503 # Sun C++ 4.2, 5.x and Centerline C++
12504 lt_prog_compiler_pic_CXX
='-KPIC'
12505 lt_prog_compiler_static_CXX
='-Bstatic'
12506 lt_prog_compiler_wl_CXX
='-Qoption ld '
12509 # Green Hills C++ Compiler
12510 lt_prog_compiler_pic_CXX
='-PIC'
12517 case $cc_basename in
12520 lt_prog_compiler_pic_CXX
='-pic'
12521 lt_prog_compiler_static_CXX
='-Bstatic'
12525 lt_prog_compiler_pic_CXX
='-pic'
12531 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12532 case $cc_basename in
12534 lt_prog_compiler_wl_CXX
='-Wl,'
12535 lt_prog_compiler_pic_CXX
='-KPIC'
12536 lt_prog_compiler_static_CXX
='-Bstatic'
12541 case $cc_basename in
12543 # NonStop-UX NCC 3.20
12544 lt_prog_compiler_pic_CXX
='-KPIC'
12553 lt_prog_compiler_can_build_shared_CXX
=no
12559 # For platforms which do not support PIC, -DPIC is meaningless:
12561 lt_prog_compiler_pic_CXX
=
12564 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
12568 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12573 # Check to make sure the PIC flag actually works.
12575 if test -n "$lt_prog_compiler_pic_CXX"; then
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12577 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12578 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
12579 $as_echo_n "(cached) " >&6
12581 lt_cv_prog_compiler_pic_works_CXX
=no
12582 ac_outfile
=conftest.
$ac_objext
12583 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12584 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12585 # Insert the option either (1) after the last *FLAGS variable, or
12586 # (2) before a word containing "conftest.", or (3) at the end.
12587 # Note that $ac_compile itself does not contain backslashes and begins
12588 # with a dollar sign (not a hyphen), so the echo should work correctly.
12589 # The option is referenced via a variable to avoid confusing sed.
12590 lt_compile
=`echo "$ac_compile" | $SED \
12591 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12592 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12593 -e 's:$: $lt_compiler_flag:'`
12594 (eval echo "\"\$as_me:12594: $lt_compile\"" >&5)
12595 (eval "$lt_compile" 2>conftest.err
)
12597 cat conftest.err
>&5
12598 echo "$as_me:12598: \$? = $ac_status" >&5
12599 if (exit $ac_status) && test -s "$ac_outfile"; then
12600 # The compiler can only warn and ignore the option if not recognized
12601 # So say no if there are warnings other than the usual output.
12602 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12603 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12604 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
12605 lt_cv_prog_compiler_pic_works_CXX
=yes
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12612 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12614 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12615 case $lt_prog_compiler_pic_CXX in
12617 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12620 lt_prog_compiler_pic_CXX
=
12621 lt_prog_compiler_can_build_shared_CXX
=no
12629 # Check to make sure the static flag actually works.
12631 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12633 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12634 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
12635 $as_echo_n "(cached) " >&6
12637 lt_cv_prog_compiler_static_works_CXX
=no
12638 save_LDFLAGS
="$LDFLAGS"
12639 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12640 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12641 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12642 # The linker can only warn and ignore the option if not recognized
12643 # So say no if there are warnings
12644 if test -s conftest.err
; then
12645 # Append any errors to the config.log.
12646 cat conftest.err
1>&5
12647 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12648 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12649 if diff conftest.exp conftest.er2
>/dev
/null
; then
12650 lt_cv_prog_compiler_static_works_CXX
=yes
12653 lt_cv_prog_compiler_static_works_CXX
=yes
12657 LDFLAGS
="$save_LDFLAGS"
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
12661 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
12663 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
12666 lt_prog_compiler_static_CXX
=
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12674 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12675 $as_echo_n "(cached) " >&6
12677 lt_cv_prog_compiler_c_o_CXX
=no
12678 $RM -r conftest
2>/dev
/null
12682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12684 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12685 # Insert the option either (1) after the last *FLAGS variable, or
12686 # (2) before a word containing "conftest.", or (3) at the end.
12687 # Note that $ac_compile itself does not contain backslashes and begins
12688 # with a dollar sign (not a hyphen), so the echo should work correctly.
12689 lt_compile
=`echo "$ac_compile" | $SED \
12690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12692 -e 's:$: $lt_compiler_flag:'`
12693 (eval echo "\"\$as_me:12693: $lt_compile\"" >&5)
12694 (eval "$lt_compile" 2>out
/conftest.err
)
12696 cat out
/conftest.err
>&5
12697 echo "$as_me:12697: \$? = $ac_status" >&5
12698 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12700 # The compiler can only warn and ignore the option if not recognized
12701 # So say no if there are warnings
12702 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12703 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12704 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12705 lt_cv_prog_compiler_c_o_CXX
=yes
12710 # SGI C++ compiler will create directory out/ii_files/ for
12711 # template instantiation
12712 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12713 $RM out
/* && rmdir out
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12720 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12726 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
12727 $as_echo_n "(cached) " >&6
12729 lt_cv_prog_compiler_c_o_CXX
=no
12730 $RM -r conftest
2>/dev
/null
12734 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12736 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12737 # Insert the option either (1) after the last *FLAGS variable, or
12738 # (2) before a word containing "conftest.", or (3) at the end.
12739 # Note that $ac_compile itself does not contain backslashes and begins
12740 # with a dollar sign (not a hyphen), so the echo should work correctly.
12741 lt_compile
=`echo "$ac_compile" | $SED \
12742 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12743 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12744 -e 's:$: $lt_compiler_flag:'`
12745 (eval echo "\"\$as_me:12745: $lt_compile\"" >&5)
12746 (eval "$lt_compile" 2>out
/conftest.err
)
12748 cat out
/conftest.err
>&5
12749 echo "$as_me:12749: \$? = $ac_status" >&5
12750 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12752 # The compiler can only warn and ignore the option if not recognized
12753 # So say no if there are warnings
12754 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
12755 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12756 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12757 lt_cv_prog_compiler_c_o_CXX
=yes
12762 # SGI C++ compiler will create directory out/ii_files/ for
12763 # template instantiation
12764 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12765 $RM out
/* && rmdir out
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12772 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12777 hard_links
="nottested"
12778 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12779 # do not overwrite the value of need_locks provided by the user
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12781 $as_echo_n "checking if we can lock with hard links... " >&6; }
12784 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12786 ln conftest.a conftest.b
2>&5 || hard_links
=no
12787 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12789 $as_echo "$hard_links" >&6; }
12790 if test "$hard_links" = no
; then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12792 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12802 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12804 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12807 # If we're using GNU nm, then we don't want the "-C" option.
12808 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12809 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
12810 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'
12812 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'
12816 export_symbols_cmds_CXX
="$ltdll_cmds"
12818 cygwin
* | mingw
* | cegcc
*)
12819 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'
12821 linux
* | k
*bsd
*-gnu)
12822 link_all_deplibs_CXX
=no
12825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12828 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12831 $as_echo "$ld_shlibs_CXX" >&6; }
12832 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12834 with_gnu_ld_CXX
=$with_gnu_ld
12842 # Do we need to explicitly link libc?
12844 case "x$archive_cmds_need_lc_CXX" in
12846 # Assume -lc should be added
12847 archive_cmds_need_lc_CXX
=yes
12849 if test "$enable_shared" = yes && test "$GCC" = yes; then
12850 case $archive_cmds_CXX in
12852 # FIXME: we may have to deal with multi-command sequences.
12855 # Test whether the compiler implicitly links with -lc since on some
12856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12857 # to ld, don't add -lc before -lgcc.
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12859 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12861 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12863 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12864 (eval $ac_compile) 2>&5
12866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12867 test $ac_status = 0; } 2>conftest.err
; then
12870 libobjs
=conftest.
$ac_objext
12872 wl
=$lt_prog_compiler_wl_CXX
12873 pic_flag
=$lt_prog_compiler_pic_CXX
12879 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12880 allow_undefined_flag_CXX
=
12881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12882 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12885 test $ac_status = 0; }
12887 archive_cmds_need_lc_CXX
=no
12889 archive_cmds_need_lc_CXX
=yes
12891 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12893 cat conftest.err
1>&5
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
12897 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12968 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12970 library_names_spec
=
12971 libname_spec
='lib$name'
12975 postuninstall_cmds
=
12979 shlibpath_overrides_runpath
=unknown
12981 dynamic_linker
="$host_os ld.so"
12982 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12983 need_lib_prefix
=unknown
12984 hardcode_into_libs
=no
12986 # when you set need_version to no, make sure it does not cause -set_version
12987 # flags to be left without arguments
12988 need_version
=unknown
12993 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12994 shlibpath_var
=LIBPATH
12996 # AIX 3 has no versioning support, so we append a major version to the name.
12997 soname_spec
='${libname}${release}${shared_ext}$major'
13004 hardcode_into_libs
=yes
13005 if test "$host_cpu" = ia64
; then
13006 # AIX 5 supports IA64
13007 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13008 shlibpath_var
=LD_LIBRARY_PATH
13010 # With GCC up to 2.95.x, collect2 would create an import file
13011 # for dependence libraries. The import file would start with
13012 # the line `#! .'. This would cause the generated library to
13013 # depend on `.', always an invalid library. This was fixed in
13014 # development snapshots of GCC prior to 3.0.
13016 aix4
| aix4.
[01] | aix4.
[01].
*)
13017 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13019 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13022 can_build_shared
=no
13026 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13027 # soname into executable. Probably we can add versioning support to
13028 # collect2, so additional links can be useful in future.
13029 if test "$aix_use_runtimelinking" = yes; then
13030 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13031 # instead of lib<name>.a to let people know that these are not
13032 # typical AIX shared libraries.
13033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13035 # We preserve .a as extension for shared libraries through AIX4.2
13036 # and later when we are not doing run time linking.
13037 library_names_spec
='${libname}${release}.a $libname.a'
13038 soname_spec
='${libname}${release}${shared_ext}$major'
13040 shlibpath_var
=LIBPATH
13047 # Since July 2007 AmigaOS4 officially supports .so libraries.
13048 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13052 library_names_spec
='$libname.ixlibrary $libname.a'
13053 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13054 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'
13060 library_names_spec
='${libname}${shared_ext}'
13061 dynamic_linker
="$host_os ld.so"
13062 shlibpath_var
=LIBRARY_PATH
13068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13069 soname_spec
='${libname}${release}${shared_ext}$major'
13070 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13071 shlibpath_var
=LD_LIBRARY_PATH
13072 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13073 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13074 # the default ld.so.conf also contains /usr/contrib/lib and
13075 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13076 # libtool to hard-code these into programs
13079 cygwin
* | mingw
* | pw32
* | cegcc
*)
13080 version_type
=windows
13085 case $GCC,$host_os in
13086 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13087 library_names_spec
='$libname.dll.a'
13088 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13089 postinstall_cmds
='base_file=`basename \${file}`~
13090 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13091 dldir=$destdir/`dirname \$dlpath`~
13092 test -d \$dldir || mkdir -p \$dldir~
13093 $install_prog $dir/$dlname \$dldir/$dlname~
13094 chmod a+x \$dldir/$dlname~
13095 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13096 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13098 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13099 dlpath=$dir/\$dldll~
13101 shlibpath_overrides_runpath
=yes
13105 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13106 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13107 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13110 # MinGW DLLs use traditional 'lib' prefix
13111 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13112 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13113 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13114 # It is most probably a Windows format PATH printed by
13115 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13116 # path with ; separators, and with drive letters. We can handle the
13117 # drive letters (cygwin fileutils understands them), so leave them,
13118 # especially as we might pass files found there to a mingw objdump,
13119 # which wouldn't understand a cygwinified path. Ahh.
13120 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13122 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13126 # pw32 DLLs use 'pw' prefix rather than 'lib'
13127 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13133 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13136 dynamic_linker
='Win32 ld.exe'
13137 # FIXME: first we should search . and the directory the executable is in
13141 darwin
* | rhapsody
*)
13142 dynamic_linker
="$host_os dyld"
13143 version_type
=darwin
13146 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13147 soname_spec
='${libname}${release}${major}$shared_ext'
13148 shlibpath_overrides_runpath
=yes
13149 shlibpath_var
=DYLD_LIBRARY_PATH
13150 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13152 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13160 soname_spec
='${libname}${release}${shared_ext}$major'
13161 shlibpath_var
=LD_LIBRARY_PATH
13168 freebsd
* | dragonfly
*)
13169 # DragonFly does not have aout. When/if they implement a new
13170 # versioning mechanism, adjust this.
13171 if test -x /usr
/bin
/objformat
; then
13172 objformat
=`/usr/bin/objformat`
13175 freebsd
[123]*) objformat
=aout
;;
13176 *) objformat
=elf
;;
13179 version_type
=freebsd
-$objformat
13180 case $version_type in
13182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13187 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13191 shlibpath_var
=LD_LIBRARY_PATH
13194 shlibpath_overrides_runpath
=yes
13196 freebsd3.
[01]* | freebsdelf3.
[01]*)
13197 shlibpath_overrides_runpath
=yes
13198 hardcode_into_libs
=yes
13200 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13201 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13202 shlibpath_overrides_runpath
=no
13203 hardcode_into_libs
=yes
13205 *) # from 4.6 on, and DragonFly
13206 shlibpath_overrides_runpath
=yes
13207 hardcode_into_libs
=yes
13216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13217 soname_spec
='${libname}${release}${shared_ext}$major'
13218 shlibpath_var
=LD_LIBRARY_PATH
13219 hardcode_into_libs
=yes
13222 hpux9
* | hpux10
* | hpux11
*)
13223 # Give a soname corresponding to the major version so that dld.sl refuses to
13224 # link against other versions.
13231 hardcode_into_libs
=yes
13232 dynamic_linker
="$host_os dld.so"
13233 shlibpath_var
=LD_LIBRARY_PATH
13234 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 soname_spec
='${libname}${release}${shared_ext}$major'
13237 if test "X$HPUX_IA64_MODE" = X32
; then
13238 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13240 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13242 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13246 hardcode_into_libs
=yes
13247 dynamic_linker
="$host_os dld.sl"
13248 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13249 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13251 soname_spec
='${libname}${release}${shared_ext}$major'
13252 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13253 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13257 dynamic_linker
="$host_os dld.sl"
13258 shlibpath_var
=SHLIB_PATH
13259 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13261 soname_spec
='${libname}${release}${shared_ext}$major'
13264 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13265 postinstall_cmds
='chmod 555 $lib'
13272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13273 soname_spec
='${libname}${release}${shared_ext}$major'
13274 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13275 shlibpath_var
=LD_LIBRARY_PATH
13276 shlibpath_overrides_runpath
=no
13277 hardcode_into_libs
=yes
13280 irix5
* | irix6
* | nonstopux
*)
13282 nonstopux
*) version_type
=nonstopux
;;
13284 if test "$lt_cv_prog_gnu_ld" = yes; then
13292 soname_spec
='${libname}${release}${shared_ext}$major'
13293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13295 irix5
* | nonstopux
*)
13296 libsuff
= shlibsuff
=
13299 case $LD in # libtool.m4 will add one of these switches to LD
13300 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13301 libsuff
= shlibsuff
= libmagic
=32-bit;;
13302 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13303 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13304 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13305 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13306 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13310 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13311 shlibpath_overrides_runpath
=no
13312 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13313 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13314 hardcode_into_libs
=yes
13317 # No shared lib support for Linux oldld, aout, or coff.
13318 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13322 # This must be Linux ELF.
13323 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13328 soname_spec
='${libname}${release}${shared_ext}$major'
13329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath
=no
13332 # Some binutils ld are patched to set DT_RUNPATH
13333 save_LDFLAGS
=$LDFLAGS
13334 save_libdir
=$libdir
13335 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13336 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13348 if ac_fn_cxx_try_link
"$LINENO"; then :
13349 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13350 shlibpath_overrides_runpath
=yes
13353 rm -f core conftest.err conftest.
$ac_objext \
13354 conftest
$ac_exeext conftest.
$ac_ext
13355 LDFLAGS
=$save_LDFLAGS
13356 libdir
=$save_libdir
13358 # This implies no fast_install, which is unacceptable.
13359 # Some rework will be needed to allow for fast_install
13360 # before this can be enabled.
13361 hardcode_into_libs
=yes
13363 # Append ld.so.conf contents to the search path
13364 if test -f /etc
/ld.so.conf
; then
13365 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' ' '`
13366 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13369 # We used to test for /lib/ld.so.1 and disable shared libraries on
13370 # powerpc, because MkLinux only supported shared libraries with the
13371 # GNU dynamic linker. Since this was broken with cross compilers,
13372 # most powerpc-linux boxes support dynamic linking these days and
13373 # people can always --disable-shared, the test was removed, and we
13374 # assume the GNU/Linux dynamic linker is in use.
13375 dynamic_linker
='GNU/Linux ld.so'
13382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13383 soname_spec
='${libname}${release}${shared_ext}$major'
13384 shlibpath_var
=LD_LIBRARY_PATH
13385 shlibpath_overrides_runpath
=no
13386 hardcode_into_libs
=yes
13387 dynamic_linker
='NetBSD ld.elf_so'
13394 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13397 dynamic_linker
='NetBSD (a.out) ld.so'
13399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13400 soname_spec
='${libname}${release}${shared_ext}$major'
13401 dynamic_linker
='NetBSD ld.elf_so'
13403 shlibpath_var
=LD_LIBRARY_PATH
13404 shlibpath_overrides_runpath
=yes
13405 hardcode_into_libs
=yes
13410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13411 shlibpath_var
=LD_LIBRARY_PATH
13412 shlibpath_overrides_runpath
=yes
13419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13420 soname_spec
='${libname}${release}${shared_ext}$major'
13421 shlibpath_var
=LD_LIBRARY_PATH
13422 shlibpath_overrides_runpath
=no
13423 hardcode_into_libs
=yes
13424 dynamic_linker
='ldqnx.so'
13429 sys_lib_dlsearch_path_spec
="/usr/lib"
13431 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13433 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13434 *) need_version
=no
;;
13436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13438 shlibpath_var
=LD_LIBRARY_PATH
13439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13441 openbsd2.
[89] | openbsd2.
[89].
*)
13442 shlibpath_overrides_runpath
=no
13445 shlibpath_overrides_runpath
=yes
13449 shlibpath_overrides_runpath
=yes
13454 libname_spec
='$name'
13457 library_names_spec
='$libname${shared_ext} $libname.a'
13458 dynamic_linker
='OS/2 ld.exe'
13459 shlibpath_var
=LIBPATH
13462 osf3
* | osf4
* | osf5
*)
13466 soname_spec
='${libname}${release}${shared_ext}$major'
13467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13468 shlibpath_var
=LD_LIBRARY_PATH
13469 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13470 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13482 soname_spec
='${libname}${release}${shared_ext}$major'
13483 shlibpath_var
=LD_LIBRARY_PATH
13484 shlibpath_overrides_runpath
=yes
13485 hardcode_into_libs
=yes
13486 # ldd complains unless libraries are executable
13487 postinstall_cmds
='chmod +x $lib'
13492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13493 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13494 shlibpath_var
=LD_LIBRARY_PATH
13495 shlibpath_overrides_runpath
=yes
13496 if test "$with_gnu_ld" = yes; then
13504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13505 soname_spec
='${libname}${release}${shared_ext}$major'
13506 shlibpath_var
=LD_LIBRARY_PATH
13507 case $host_vendor in
13509 shlibpath_overrides_runpath
=no
13511 runpath_var
=LD_RUN_PATH
13519 shlibpath_overrides_runpath
=no
13520 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13526 if test -d /usr
/nec
;then
13528 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13529 soname_spec
='$libname${shared_ext}.$major'
13530 shlibpath_var
=LD_LIBRARY_PATH
13534 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13535 version_type
=freebsd
-elf
13538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13539 soname_spec
='${libname}${release}${shared_ext}$major'
13540 shlibpath_var
=LD_LIBRARY_PATH
13541 shlibpath_overrides_runpath
=yes
13542 hardcode_into_libs
=yes
13543 if test "$with_gnu_ld" = yes; then
13544 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13546 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13549 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13553 sys_lib_dlsearch_path_spec
='/usr/lib'
13557 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13562 shlibpath_var
=LD_LIBRARY_PATH
13563 shlibpath_overrides_runpath
=no
13564 hardcode_into_libs
=yes
13569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13570 soname_spec
='${libname}${release}${shared_ext}$major'
13571 shlibpath_var
=LD_LIBRARY_PATH
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13579 $as_echo "$dynamic_linker" >&6; }
13580 test "$dynamic_linker" = no
&& can_build_shared
=no
13582 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13583 if test "$GCC" = yes; then
13584 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13587 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13588 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13590 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13591 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13630 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13631 hardcode_action_CXX
=
13632 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13633 test -n "$runpath_var_CXX" ||
13634 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13636 # We can hardcode non-existent directories.
13637 if test "$hardcode_direct_CXX" != no
&&
13638 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13639 # have to relink, otherwise we might link with an installed library
13640 # when we should be linking with a yet-to-be-installed one
13641 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13642 test "$hardcode_minus_L_CXX" != no
; then
13643 # Linking always hardcodes the temporary library directory.
13644 hardcode_action_CXX
=relink
13646 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13647 hardcode_action_CXX
=immediate
13650 # We cannot hardcode anything, or else we can only hardcode existing
13652 hardcode_action_CXX
=unsupported
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
13655 $as_echo "$hardcode_action_CXX" >&6; }
13657 if test "$hardcode_action_CXX" = relink
||
13658 test "$inherit_rpath_CXX" = yes; then
13659 # Fast installation is not supported
13660 enable_fast_install
=no
13661 elif test "$shlibpath_overrides_runpath" = yes ||
13662 test "$enable_shared" = no
; then
13663 # Fast installation is not necessary
13664 enable_fast_install
=needless
13673 fi # test -n "$compiler"
13679 with_gnu_ld
=$lt_save_with_gnu_ld
13680 lt_cv_path_LDCXX
=$lt_cv_path_LD
13681 lt_cv_path_LD
=$lt_save_path_LD
13682 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13683 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13684 fi # test "$_lt_caught_CXX_error" != yes
13687 ac_cpp
='$CPP $CPPFLAGS'
13688 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13694 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
13695 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13696 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13697 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
13698 if test -n "$ac_tool_prefix"; then
13699 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13701 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13702 set dummy
$ac_tool_prefix$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_OBJCXX+set}" = set; then :
13706 $as_echo_n "(cached) " >&6
13708 if test -n "$OBJCXX"; then
13709 ac_cv_prog_OBJCXX
="$OBJCXX" # 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_OBJCXX
="$ac_tool_prefix$ac_prog"
13719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13728 OBJCXX
=$ac_cv_prog_OBJCXX
13729 if test -n "$OBJCXX"; then
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
13731 $as_echo "$OBJCXX" >&6; }
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13734 $as_echo "no" >&6; }
13738 test -n "$OBJCXX" && break
13741 if test -z "$OBJCXX"; then
13742 ac_ct_OBJCXX
=$OBJCXX
13743 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
13745 # Extract the first word of "$ac_prog", so it can be a program name with args.
13746 set dummy
$ac_prog; ac_word
=$2
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13748 $as_echo_n "checking for $ac_word... " >&6; }
13749 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
13750 $as_echo_n "(cached) " >&6
13752 if test -n "$ac_ct_OBJCXX"; then
13753 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
13755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13756 for as_dir
in $PATH
13759 test -z "$as_dir" && as_dir
=.
13760 for ac_exec_ext
in '' $ac_executable_extensions; do
13761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13762 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
13763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13772 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
13773 if test -n "$ac_ct_OBJCXX"; then
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
13775 $as_echo "$ac_ct_OBJCXX" >&6; }
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13778 $as_echo "no" >&6; }
13782 test -n "$ac_ct_OBJCXX" && break
13785 if test "x$ac_ct_OBJCXX" = x
; then
13788 case $cross_compiling:$ac_tool_warned in
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13792 ac_tool_warned
=yes ;;
13794 OBJCXX
=$ac_ct_OBJCXX
13798 # Provide some information about the compiler.
13799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
13802 for ac_option
in --version -v -V -qversion; do
13803 { { ac_try
="$ac_compiler $ac_option >&5"
13804 case "(($ac_try" in
13805 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
13806 *) ac_try_echo=$ac_try;;
13808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13809 $as_echo "$ac_try_echo"; } >&5
13810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13812 if test -s conftest.err; then
13814 ... rest of stderr output deleted ...
13815 10q' conftest.err >conftest.er1
13816 cat conftest.er1 >&5
13818 rm -f conftest.er1 conftest.err
13819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820 test $ac_status = 0; }
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
13824 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
13825 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13842 if ac_fn_objcxx_try_compile "$LINENO"; then :
13843 ac_compiler_gnu=yes
13847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
13852 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
13853 if test $ac_compiler_gnu = yes; then
13858 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
13859 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
13861 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
13862 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
13863 $as_echo_n "(cached) " >&6
13865 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
13866 ac_objcxx_werror_flag=yes
13867 ac_cv_prog_objcxx_g=no
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13880 if ac_fn_objcxx_try_compile "$LINENO"; then :
13881 ac_cv_prog_objcxx_g=yes
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13895 if ac_fn_objcxx_try_compile "$LINENO"; then :
13898 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
13900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13911 if ac_fn_objcxx_try_compile "$LINENO"; then :
13912 ac_cv_prog_objcxx_g=yes
13914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13919 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
13922 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
13923 if test "$ac_test_OBJCXXFLAGS" = set; then
13924 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
13925 elif test $ac_cv_prog_objcxx_g = yes; then
13926 if test "$GOBJCXX" = yes; then
13927 OBJCXXFLAGS="-g -O2"
13932 if test "$GOBJCXX" = yes; then
13939 ac_cpp='$CPP $CPPFLAGS'
13940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13945 # Check whether --with-frameworks was given.
13946 if test "${with_frameworks+set}" = set; then :
13947 withval=$with_frameworks;
13948 for framework in $withval; do
13950 for element in -F$framework; do
13952 for x in $CFLAGS; do
13954 acl_save_prefix="$prefix"
13955 prefix="$acl_final_prefix"
13956 acl_save_exec_prefix="$exec_prefix"
13957 exec_prefix="$acl_final_exec_prefix"
13959 exec_prefix="$acl_save_exec_prefix"
13960 prefix="$acl_save_prefix"
13962 if test "X$x" = "X$element"; then
13967 if test -z "$haveit"; then
13968 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
13973 for element in -F$framework; do
13975 for x in $CXXFLAGS; do
13977 acl_save_prefix="$prefix"
13978 prefix="$acl_final_prefix"
13979 acl_save_exec_prefix="$exec_prefix"
13980 exec_prefix="$acl_final_exec_prefix"
13982 exec_prefix="$acl_save_exec_prefix"
13983 prefix="$acl_save_prefix"
13985 if test "X$x" = "X$element"; then
13990 if test -z "$haveit"; then
13991 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
13996 for element in -F$framework; do
13998 for x in $OBJCCXXFLAGS; do
14000 acl_save_prefix="$prefix"
14001 prefix="$acl_final_prefix"
14002 acl_save_exec_prefix="$exec_prefix"
14003 exec_prefix="$acl_final_exec_prefix"
14005 exec_prefix="$acl_save_exec_prefix"
14006 prefix="$acl_save_prefix"
14008 if test "X$x" = "X$element"; then
14013 if test -z "$haveit"; then
14014 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14023 ac_cpp='$CXXCPP $CPPFLAGS'
14024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14029 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14030 if test "${ac_cv_path_SED+set}" = set; then :
14031 $as_echo_n "(cached) " >&6
14033 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14034 for ac_i in 1 2 3 4 5 6 7; do
14035 ac_script="$ac_script$as_nl$ac_script"
14037 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14038 { ac_script=; unset ac_script;}
14039 if test -z "$SED"; then
14040 ac_path_SED_found=false
14041 # Loop through the user's path and test for each of PROGNAME-LIST
14042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14043 for as_dir in $PATH
14046 test -z "$as_dir" && as_dir=.
14047 for ac_prog in sed gsed; do
14048 for ac_exec_ext in '' $ac_executable_extensions; do
14049 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14050 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
14051 # Check for GNU ac_path_SED and select it if it is found.
14052 # Check for GNU $ac_path_SED
14053 case `"$ac_path_SED" --version 2>&1` in
14055 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14058 $as_echo_n 0123456789 >"conftest.in"
14061 cat "conftest.in" "conftest.in" >"conftest.tmp"
14062 mv "conftest.tmp" "conftest.in"
14063 cp "conftest.in" "conftest.nl"
14064 $as_echo '' >> "conftest.nl"
14065 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
14066 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14067 as_fn_arith $ac_count + 1 && ac_count=$as_val
14068 if test $ac_count -gt ${ac_path_SED_max-0}; then
14069 # Best one so far, save it but keep looking for a better one
14070 ac_cv_path_SED="$ac_path_SED"
14071 ac_path_SED_max=$ac_count
14073 # 10*(2^10) chars as input seems more than enough
14074 test $ac_count -gt 10 && break
14076 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14079 $ac_path_SED_found && break 3
14084 if test -z "$ac_cv_path_SED"; then
14085 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
14088 ac_cv_path_SED=$SED
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
14093 $as_echo "$ac_cv_path_SED" >&6; }
14094 SED="$ac_cv_path_SED"
14097 for ac_prog in 'bison -y' byacc
14099 # Extract the first word of "$ac_prog", so it can be a program name with args.
14100 set dummy $ac_prog; ac_word=$2
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14102 $as_echo_n "checking for $ac_word... " >&6; }
14103 if test "${ac_cv_prog_YACC+set}" = set; then :
14104 $as_echo_n "(cached) " >&6
14106 if test -n "$YACC"; then
14107 ac_cv_prog_YACC="$YACC" # Let the user override the test.
14109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14110 for as_dir in $PATH
14113 test -z "$as_dir" && as_dir=.
14114 for ac_exec_ext in '' $ac_executable_extensions; do
14115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14116 ac_cv_prog_YACC="$ac_prog"
14117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14126 YACC=$ac_cv_prog_YACC
14127 if test -n "$YACC"; then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
14129 $as_echo "$YACC" >&6; }
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14132 $as_echo "no" >&6; }
14136 test -n "$YACC" && break
14138 test -n "$YACC" || YACC="yacc"
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is the parser generator" >&5
14145 $as_echo_n "checking if bison is the parser generator... " >&6; }
14146 if test "${ax_cv_prog_bison+set}" = set; then :
14147 $as_echo_n "(cached) " >&6
14150 if test "`echo \"$YACC\" | $SED 's,^.*\(bison\).*$,\1,'`" = "bison" ; then :
14152 ax_cv_prog_bison=yes
14156 ax_cv_prog_bison=no
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_bison" >&5
14162 $as_echo "$ax_cv_prog_bison" >&6; }
14163 if test "$ax_cv_prog_bison" = yes; then :
14167 BISON=`echo $YACC | $SED -e 's/ -y//'`
14168 BISON_VERSION=`$BISON -V | $SED -e 's/^bison (GNU Bison) \(.*\)$/\1/p;d'`
14174 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14178 for ac_prog in gawk mawk nawk awk
14180 # Extract the first word of "$ac_prog", so it can be a program name with args.
14181 set dummy $ac_prog; ac_word=$2
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14183 $as_echo_n "checking for $ac_word... " >&6; }
14184 if test "${ac_cv_prog_AWK+set}" = set; then :
14185 $as_echo_n "(cached) " >&6
14187 if test -n "$AWK"; then
14188 ac_cv_prog_AWK="$AWK" # Let the user override the test.
14190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14191 for as_dir in $PATH
14194 test -z "$as_dir" && as_dir=.
14195 for ac_exec_ext in '' $ac_executable_extensions; do
14196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14197 ac_cv_prog_AWK="$ac_prog"
14198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14207 AWK=$ac_cv_prog_AWK
14208 if test -n "$AWK"; then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
14210 $as_echo "$AWK" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14213 $as_echo "no" >&6; }
14217 test -n "$AWK" && break
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bison is >= 2.3" >&5
14221 $as_echo_n "checking if bison is >= 2.3... " >&6; }
14222 as_arg_v1=$BISON_VERSION
14224 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14229 $as_echo "no" >&6; }
14230 as_fn_error "You need bison 2.3 or greater" "$LINENO" 5
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14234 $as_echo "yes" >&6; } ;; #(
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14237 $as_echo "yes" >&6; } ;; #(
14242 # expand $ac_aux_dir to an absolute path
14243 am_aux_dir=`cd $ac_aux_dir && pwd`
14245 if test x"${MISSING+set}" != xset; then
14246 case $am_aux_dir in
14248 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
14250 MISSING="\${SHELL} $am_aux_dir/missing" ;;
14253 # Use eval to expand $SHELL
14254 if eval "$MISSING --run true"; then
14255 am_missing_run="$MISSING --run "
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing
' script is too old or missing" >&5
14259 $as_echo "$as_me: WARNING: \`missing' script is too old or missing
" >&2;}
14262 for ac_prog in flex lex
14264 # Extract the first word of "$ac_prog", so it can be a program name with args.
14265 set dummy $ac_prog; ac_word=$2
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
14267 $as_echo_n "checking
for $ac_word...
" >&6; }
14268 if test "${ac_cv_prog_LEX+set}" = set; then :
14269 $as_echo_n "(cached
) " >&6
14271 if test -n "$LEX"; then
14272 ac_cv_prog_LEX="$LEX" # Let the user override the test.
14274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14275 for as_dir in $PATH
14278 test -z "$as_dir" && as_dir=.
14279 for ac_exec_ext in '' $ac_executable_extensions; do
14280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14281 ac_cv_prog_LEX="$ac_prog"
14282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14291 LEX=$ac_cv_prog_LEX
14292 if test -n "$LEX"; then
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
14294 $as_echo "$LEX" >&6; }
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14297 $as_echo "no
" >&6; }
14301 test -n "$LEX" && break
14303 test -n "$LEX" || LEX=":"
14305 if test "x
$LEX" != "x
:"; then
14306 cat >conftest.l <<_ACEOF
14312 e { yyless (input () != 0); }
14313 f { unput (yytext[0]); }
14314 . { BEGIN INITIAL; }
14316 #ifdef YYTEXT_POINTER
14317 extern char *yytext;
14322 return ! yylex () + ! yywrap ();
14325 { { ac_try="$LEX conftest.l
"
14326 case "(($ac_try" in
14327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14328 *) ac_try_echo=$ac_try;;
14330 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14331 $as_echo "$ac_try_echo"; } >&5
14332 (eval "$LEX conftest.l
") 2>&5
14334 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
14335 test $ac_status = 0; }
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex output
file root
" >&5
14337 $as_echo_n "checking
lex output
file root...
" >&6; }
14338 if test "${ac_cv_prog_lex_root+set}" = set; then :
14339 $as_echo_n "(cached
) " >&6
14342 if test -f lex.yy.c; then
14343 ac_cv_prog_lex_root=lex.yy
14344 elif test -f lexyy.c; then
14345 ac_cv_prog_lex_root=lexyy
14347 as_fn_error "cannot
find output from
$LEX; giving up
" "$LINENO" 5
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_root" >&5
14351 $as_echo "$ac_cv_prog_lex_root" >&6; }
14352 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14354 if test -z "${LEXLIB+set}"; then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
lex library
" >&5
14356 $as_echo_n "checking
lex library...
" >&6; }
14357 if test "${ac_cv_lib_lex+set}" = set; then :
14358 $as_echo_n "(cached
) " >&6
14362 ac_cv_lib_lex='none needed'
14363 for ac_lib in '' -lfl -ll; do
14364 LIBS="$ac_lib $ac_save_LIBS"
14365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14366 /* end confdefs.h. */
14367 `cat $LEX_OUTPUT_ROOT.c`
14369 if ac_fn_cxx_try_link "$LINENO"; then :
14370 ac_cv_lib_lex=$ac_lib
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 test "$ac_cv_lib_lex" != 'none needed' && break
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_lib_lex" >&5
14380 $as_echo "$ac_cv_lib_lex" >&6; }
14381 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer
" >&5
14386 $as_echo_n "checking whether yytext is a pointer...
" >&6; }
14387 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14388 $as_echo_n "(cached
) " >&6
14390 # POSIX says lex can declare yytext either as a pointer or an array; the
14391 # default is implementation-dependent. Figure out which it is, since
14392 # not all implementations provide the %pointer and %array declarations.
14393 ac_cv_prog_lex_yytext_pointer=no
14395 LIBS="$LEXLIB $ac_save_LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 #define YYTEXT_POINTER 1
14399 `cat $LEX_OUTPUT_ROOT.c`
14401 if ac_fn_cxx_try_link "$LINENO"; then :
14402 ac_cv_prog_lex_yytext_pointer=yes
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_prog_lex_yytext_pointer" >&5
14410 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14411 if test $ac_cv_prog_lex_yytext_pointer = yes; then
14413 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14416 rm -f conftest.l
$LEX_OUTPUT_ROOT.c
14419 if test "$LEX" = :; then
14420 LEX
=${am_missing_run}flex
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is the lexer generator" >&5
14427 $as_echo_n "checking if flex is the lexer generator... " >&6; }
14428 if test "${ax_cv_prog_flex+set}" = set; then :
14429 $as_echo_n "(cached) " >&6
14432 if test "`echo \"$LEX\" | $SED 's,^.*\(flex\).*$,\1,'`" = "flex"; then :
14434 ax_cv_prog_flex
=yes
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_prog_flex" >&5
14444 $as_echo "$ax_cv_prog_flex" >&6; }
14445 if test "$ax_cv_prog_flex" = yes; then :
14450 FLEX_VERSION
=`$FLEX --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14456 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if flex is >= 2.5.33" >&5
14461 $as_echo_n "checking if flex is >= 2.5.33... " >&6; }
14462 as_arg_v1
=$FLEX_VERSION
14464 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14469 $as_echo "no" >&6; }
14470 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14474 $as_echo "yes" >&6; } ;; #(
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14477 $as_echo "yes" >&6; } ;; #(
14482 for ac_prog
in bash
14484 # Extract the first word of "$ac_prog", so it can be a program name with args.
14485 set dummy
$ac_prog; ac_word
=$2
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14487 $as_echo_n "checking for $ac_word... " >&6; }
14488 if test "${ac_cv_prog__BASH+set}" = set; then :
14489 $as_echo_n "(cached) " >&6
14491 if test -n "$_BASH"; then
14492 ac_cv_prog__BASH
="$_BASH" # Let the user override the test.
14494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14495 for as_dir
in $PATH
14498 test -z "$as_dir" && as_dir
=.
14499 for ac_exec_ext
in '' $ac_executable_extensions; do
14500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14501 ac_cv_prog__BASH
="$ac_prog"
14502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14511 _BASH
=$ac_cv_prog__BASH
14512 if test -n "$_BASH"; then
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
14514 $as_echo "$_BASH" >&6; }
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517 $as_echo "no" >&6; }
14521 test -n "$_BASH" && break
14525 for ac_prog
in gperf
14527 # Extract the first word of "$ac_prog", so it can be a program name with args.
14528 set dummy
$ac_prog; ac_word
=$2
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14530 $as_echo_n "checking for $ac_word... " >&6; }
14531 if test "${ac_cv_prog_GPERF+set}" = set; then :
14532 $as_echo_n "(cached) " >&6
14534 if test -n "$GPERF"; then
14535 ac_cv_prog_GPERF
="$GPERF" # Let the user override the test.
14537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14538 for as_dir
in $PATH
14541 test -z "$as_dir" && as_dir
=.
14542 for ac_exec_ext
in '' $ac_executable_extensions; do
14543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14544 ac_cv_prog_GPERF
="$ac_prog"
14545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14554 GPERF
=$ac_cv_prog_GPERF
14555 if test -n "$GPERF"; then
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
14557 $as_echo "$GPERF" >&6; }
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14560 $as_echo "no" >&6; }
14564 test -n "$GPERF" && break
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gperf >= 3.0.3" >&5
14568 $as_echo_n "checking if gperf >= 3.0.3... " >&6; }
14569 GPERF_VERSION
=`$GPERF --version | $SED -e 's/^.* \([0-9.]*\)$/\1/p;d'`
14570 as_arg_v1
=$GPERF_VERSION
14572 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14577 $as_echo "no" >&6; }
14578 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14582 $as_echo "yes" >&6; } ;; #(
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14585 $as_echo "yes" >&6; } ;; #(
14589 for ac_prog
in time
14591 # Extract the first word of "$ac_prog", so it can be a program name with args.
14592 set dummy
$ac_prog; ac_word
=$2
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14594 $as_echo_n "checking for $ac_word... " >&6; }
14595 if test "${ac_cv_prog_TIME+set}" = set; then :
14596 $as_echo_n "(cached) " >&6
14598 if test -n "$TIME"; then
14599 ac_cv_prog_TIME
="$TIME" # Let the user override the test.
14601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14602 for as_dir
in $PATH
14605 test -z "$as_dir" && as_dir
=.
14606 for ac_exec_ext
in '' $ac_executable_extensions; do
14607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14608 ac_cv_prog_TIME
="$ac_prog"
14609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14618 TIME
=$ac_cv_prog_TIME
14619 if test -n "$TIME"; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
14621 $as_echo "$TIME" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14624 $as_echo "no" >&6; }
14628 test -n "$TIME" && break
14634 if test "$target_os" = "os2-emx"; then
14635 # Scripts don't pass test -x on OS/2
14641 acceptable_majors
="1"
14643 apr_temp_acceptable_apr_config
=""
14644 for apr_temp_major
in $acceptable_majors
14646 case $apr_temp_major in
14648 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-config"
14651 apr_temp_acceptable_apr_config
="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14657 $as_echo_n "checking for APR... " >&6; }
14659 # Check whether --with-apr was given.
14660 if test "${with_apr+set}" = set; then :
14662 if test "$withval" = "no" || test "$withval" = "yes"; then
14663 as_fn_error
"--with-apr requires a directory or file to be provided" "$LINENO" 5
14666 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14668 for lookdir
in "$withval/bin" "$withval"
14670 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14671 apr_config
="$lookdir/$apr_temp_apr_config_file"
14679 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev
/null
2>&1 ; then
14680 apr_config
="$withval"
14684 if test "$apr_found" != "yes"; then
14685 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
14690 if test -n "1" && test "1" = "1"; then
14691 for apr_temp_apr_config_file
in $apr_temp_acceptable_apr_config
14693 if $apr_temp_apr_config_file --help > /dev
/null
2>&1 ; then
14694 apr_config
="$apr_temp_apr_config_file"
14699 for lookdir
in /usr
/usr
/local /usr
/local
/apr
/opt
/apr
; do
14700 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14701 apr_config
="$lookdir/bin/$apr_temp_apr_config_file"
14710 if test "$apr_found" = "no" && test -d ""; then
14711 apr_temp_abs_srcdir
="`cd && pwd`"
14712 apr_found
="reconfig"
14713 apr_bundled_major
="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include/apr_version.h\"`"
14714 case $apr_bundled_major in
14716 as_fn_error
"failed to find major version of bundled APR" "$LINENO" 5
14719 apr_temp_apr_config_file
="apr-config"
14722 apr_temp_apr_config_file
="apr-$apr_bundled_major-config"
14725 if test -n ""; then
14726 apr_config
="/$apr_temp_apr_config_file"
14728 apr_config
="/$apr_temp_apr_config_file"
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14736 $as_echo "$apr_found" >&6; }
14738 case $apr_found in #(
14742 for element
in `$apr_config --includes`; do
14744 for x
in $CPPFLAGS; do
14746 acl_save_prefix
="$prefix"
14747 prefix
="$acl_final_prefix"
14748 acl_save_exec_prefix
="$exec_prefix"
14749 exec_prefix
="$acl_final_exec_prefix"
14751 exec_prefix
="$acl_save_exec_prefix"
14752 prefix
="$acl_save_prefix"
14754 if test "X$x" = "X$element"; then
14759 if test -z "$haveit"; then
14760 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14764 LTLIBAPR
=`$apr_config --link-libtool`
14768 as_fn_error
"You need apr" "$LINENO" 5 ;;
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14773 $as_echo_n "checking for a readline compatible library... " >&6; }
14774 if test "${vl_cv_lib_readline+set}" = set; then :
14775 $as_echo_n "(cached) " >&6
14779 for readline_lib
in readline edit editline
; do
14780 for termcap_lib
in "" termcap curses ncurses
; do
14781 if test -z "$termcap_lib"; then
14782 TRY_LIB
="-l$readline_lib"
14784 TRY_LIB
="-l$readline_lib -l$termcap_lib"
14786 LIBS
="$ORIG_LIBS $TRY_LIB"
14787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14800 return readline ();
14805 if ac_fn_cxx_try_link
"$LINENO"; then :
14806 vl_cv_lib_readline
="$TRY_LIB"
14808 rm -f core conftest.err conftest.
$ac_objext \
14809 conftest
$ac_exeext conftest.
$ac_ext
14810 if test -n "$vl_cv_lib_readline"; then
14814 if test -n "$vl_cv_lib_readline"; then
14818 if test -z "$vl_cv_lib_readline"; then
14819 vl_cv_lib_readline
="no"
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14825 $as_echo "$vl_cv_lib_readline" >&6; }
14827 if test "$vl_cv_lib_readline" != "no"; then
14829 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14831 for ac_header
in readline.h readline
/readline.h
14833 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14834 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14835 eval as_val
=\$
$as_ac_Header
14836 if test "x$as_val" = x
""yes; then :
14837 cat >>confdefs.h
<<_ACEOF
14838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14846 $as_echo_n "checking whether readline supports history... " >&6; }
14847 if test "${vl_cv_lib_readline_history+set}" = set; then :
14848 $as_echo_n "(cached) " >&6
14851 vl_cv_lib_readline_history
="no"
14852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14861 char add_history ();
14865 return add_history ();
14870 if ac_fn_cxx_try_link
"$LINENO"; then :
14871 vl_cv_lib_readline_history
="yes"
14873 rm -f core conftest.err conftest.
$ac_objext \
14874 conftest
$ac_exeext conftest.
$ac_ext
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14878 $as_echo "$vl_cv_lib_readline_history" >&6; }
14879 if test "$vl_cv_lib_readline_history" = "yes"; then
14881 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14883 for ac_header
in history.h readline
/history.h
14885 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14886 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14887 eval as_val
=\$
$as_ac_Header
14888 if test "x$as_val" = x
""yes; then :
14889 cat >>confdefs.h
<<_ACEOF
14890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14900 # Find a good install program. We prefer a C program (faster),
14901 # so one script is as good as another. But avoid the broken or
14902 # incompatible versions:
14903 # SysV /etc/install, /usr/sbin/install
14904 # SunOS /usr/etc/install
14905 # IRIX /sbin/install
14907 # AmigaOS /C/install, which installs bootblocks on floppy discs
14908 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14909 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14910 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14911 # OS/2's system install, which has a completely different semantic
14912 # ./install, which can be erroneously created by make from ./install.sh.
14913 # Reject install programs that cannot install multiple files.
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
14915 $as_echo_n "checking for a BSD-compatible install... " >&6; }
14916 if test -z "$INSTALL"; then
14917 if test "${ac_cv_path_install+set}" = set; then :
14918 $as_echo_n "(cached) " >&6
14920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14921 for as_dir
in $PATH
14924 test -z "$as_dir" && as_dir
=.
14925 # Account for people who put trailing slashes in PATH elements.
14926 case $as_dir/ in #((
14927 .
/ | .
// | /[cC
]/* | \
14928 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14929 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
14932 # OSF1 and SCO ODT 3.0 have their own names for install.
14933 # Don't use installbsd from OSF since it installs stuff as root
14935 for ac_prog
in ginstall scoinst
install; do
14936 for ac_exec_ext
in '' $ac_executable_extensions; do
14937 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
14938 if test $ac_prog = install &&
14939 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14940 # AIX install. It has an incompatible calling convention.
14942 elif test $ac_prog = install &&
14943 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14944 # program-specific install script used by HP pwplus--don't use.
14947 rm -rf conftest.one conftest.two conftest.dir
14948 echo one
> conftest.one
14949 echo two
> conftest.two
14951 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
14952 test -s conftest.one
&& test -s conftest.two
&&
14953 test -s conftest.dir
/conftest.one
&&
14954 test -s conftest.dir
/conftest.two
14956 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14969 rm -rf conftest.one conftest.two conftest.dir
14972 if test "${ac_cv_path_install+set}" = set; then
14973 INSTALL
=$ac_cv_path_install
14975 # As a last resort, use the slow shell script. Don't cache a
14976 # value for INSTALL within a source directory, because that will
14977 # break other packages using the cache if that directory is
14978 # removed, or if the value is a relative name.
14979 INSTALL
=$ac_install_sh
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
14983 $as_echo "$INSTALL" >&6; }
14985 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14986 # It thinks the first close brace ends the variable substitution.
14987 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14989 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14991 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14994 ac_cpp
='$CPP $CPPFLAGS'
14995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15000 if test "X$prefix" = "XNONE"; then
15001 acl_final_prefix
="$ac_default_prefix"
15003 acl_final_prefix
="$prefix"
15005 if test "X$exec_prefix" = "XNONE"; then
15006 acl_final_exec_prefix
='${prefix}'
15008 acl_final_exec_prefix
="$exec_prefix"
15010 acl_save_prefix
="$prefix"
15011 prefix
="$acl_final_prefix"
15012 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15013 prefix
="$acl_save_prefix"
15016 # Check whether --with-gnu-ld was given.
15017 if test "${with_gnu_ld+set}" = set; then :
15018 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
15023 # Prepare PATH_SEPARATOR.
15024 # The user is always right.
15025 if test "${PATH_SEPARATOR+set}" != set; then
15026 echo "#! /bin/sh" >conf$$.sh
15027 echo "exit 0" >>conf$$.sh
15029 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15037 if test "$GCC" = yes; then
15038 # Check if gcc -print-prog-name=ld gives a path.
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
15040 $as_echo_n "checking for ld used by GCC... " >&6; }
15043 # gcc leaves a trailing carriage return which upsets mingw
15044 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15046 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15049 # Accept absolute paths.
15050 [\\/]* | [A
-Za-z]:[\\/]*)
15051 re_direlt
='/[^/][^/]*/\.\./'
15052 # Canonicalize the path of ld
15053 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
15054 while echo $ac_prog | grep "$re_direlt" > /dev
/null
2>&1; do
15055 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
15057 test -z "$LD" && LD
="$ac_prog"
15060 # If it fails, then pretend we aren't using GCC.
15064 # If it is relative, then search for the first ld in PATH.
15065 with_gnu_ld
=unknown
15068 elif test "$with_gnu_ld" = yes; then
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15070 $as_echo_n "checking for GNU ld... " >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15073 $as_echo_n "checking for non-GNU ld... " >&6; }
15075 if test "${acl_cv_path_LD+set}" = set; then :
15076 $as_echo_n "(cached) " >&6
15078 if test -z "$LD"; then
15079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}${PATH_SEPARATOR-:}"
15080 for ac_dir
in $PATH; do
15081 test -z "$ac_dir" && ac_dir
=.
15082 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15083 acl_cv_path_LD
="$ac_dir/$ac_prog"
15084 # Check to see if the program is GNU ld. I'd rather use --version,
15085 # but apparently some GNU ld's only accept -v.
15086 # Break only if it was the GNU/non-GNU ld that we prefer.
15087 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
15088 *GNU
* | *'with BFD'*)
15089 test "$with_gnu_ld" != no
&& break ;;
15091 test "$with_gnu_ld" != yes && break ;;
15097 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
15101 LD
="$acl_cv_path_LD"
15102 if test -n "$LD"; then
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15104 $as_echo "$LD" >&6; }
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15107 $as_echo "no" >&6; }
15109 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15112 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15115 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15116 case `$LD -v 2>&1 </dev/null` in
15117 *GNU
* | *'with BFD'*)
15118 acl_cv_prog_gnu_ld
=yes ;;
15120 acl_cv_prog_gnu_ld
=no
;;
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
15124 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
15125 with_gnu_ld
=$acl_cv_prog_gnu_ld
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
15131 $as_echo_n "checking for shared library run path origin... " >&6; }
15132 if test "${acl_cv_rpath+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15136 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
15137 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
15139 rm -f .
/conftest.sh
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
15144 $as_echo "$acl_cv_rpath" >&6; }
15146 acl_libext
="$acl_cv_libext"
15147 acl_shlibext
="$acl_cv_shlibext"
15148 acl_libname_spec
="$acl_cv_libname_spec"
15149 acl_library_names_spec
="$acl_cv_library_names_spec"
15150 acl_hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
15151 acl_hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
15152 acl_hardcode_direct
="$acl_cv_hardcode_direct"
15153 acl_hardcode_minus_L
="$acl_cv_hardcode_minus_L"
15154 # Check whether --enable-rpath was given.
15155 if test "${enable_rpath+set}" = set; then :
15156 enableval
=$enable_rpath; :
15164 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
15165 if test -n "$searchpath"; then
15166 acl_save_IFS
="${IFS= }"; IFS
=":"
15167 for searchdir
in $searchpath; do
15168 if test -d "$searchdir"; then
15169 case "$searchdir" in
15170 */lib
64/ | */lib64
) acl_libdirstem
=lib64
;;
15171 *) searchdir
=`cd "$searchdir" && pwd`
15172 case "$searchdir" in
15173 */lib64
) acl_libdirstem
=lib64
;;
15178 IFS
="$acl_save_IFS"
15191 acl_save_prefix
="$prefix"
15192 prefix
="$acl_final_prefix"
15193 acl_save_exec_prefix
="$exec_prefix"
15194 exec_prefix
="$acl_final_exec_prefix"
15196 eval additional_includedir
=\"$includedir\"
15197 eval additional_libdir
=\"$libdir\"
15199 exec_prefix
="$acl_save_exec_prefix"
15200 prefix
="$acl_save_prefix"
15203 # Check whether --with-libiconv-prefix was given.
15204 if test "${with_libiconv_prefix+set}" = set; then :
15205 withval
=$with_libiconv_prefix;
15206 if test "X$withval" = "Xno"; then
15209 if test "X$withval" = "X"; then
15211 acl_save_prefix
="$prefix"
15212 prefix
="$acl_final_prefix"
15213 acl_save_exec_prefix
="$exec_prefix"
15214 exec_prefix
="$acl_final_exec_prefix"
15216 eval additional_includedir
=\"$includedir\"
15217 eval additional_libdir
=\"$libdir\"
15219 exec_prefix
="$acl_save_exec_prefix"
15220 prefix
="$acl_save_prefix"
15223 additional_includedir
="$withval/include"
15224 additional_libdir
="$withval/$acl_libdirstem"
15236 names_already_handled
=
15237 names_next_round
='iconv '
15238 while test -n "$names_next_round"; do
15239 names_this_round
="$names_next_round"
15241 for name
in $names_this_round; do
15243 for n
in $names_already_handled; do
15244 if test "$n" = "$name"; then
15245 already_handled
=yes
15249 if test -z "$already_handled"; then
15250 names_already_handled
="$names_already_handled $name"
15251 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15252 eval value
=\"\
$HAVE_LIB$uppername\"
15253 if test -n "$value"; then
15254 if test "$value" = yes; then
15255 eval value
=\"\
$LIB$uppername\"
15256 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
15257 eval value
=\"\
$LTLIB$uppername\"
15258 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
15267 eval libname
=\"$acl_libname_spec\" # typically: libname=lib$name
15268 if test -n "$acl_shlibext"; then
15269 shrext
=".$acl_shlibext" # typically: shrext=.so
15273 if test $use_additional = yes; then
15274 dir
="$additional_libdir"
15275 if test -n "$acl_shlibext"; then
15276 if test -f "$dir/$libname$shrext"; then
15278 found_so
="$dir/$libname$shrext"
15280 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15281 ver
=`(cd "$dir" && \
15282 for f in "$libname$shrext".*; do echo "$f"; done \
15283 | sed -e "s,^$libname$shrext\\\\.,," \
15284 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15285 | sed 1q ) 2>/dev/null`
15286 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15288 found_so
="$dir/$libname$shrext.$ver"
15291 eval library_names
=\"$acl_library_names_spec\"
15292 for f
in $library_names; do
15293 if test -f "$dir/$f"; then
15302 if test "X$found_dir" = "X"; then
15303 if test -f "$dir/$libname.$acl_libext"; then
15305 found_a
="$dir/$libname.$acl_libext"
15308 if test "X$found_dir" != "X"; then
15309 if test -f "$dir/$libname.la"; then
15310 found_la
="$dir/$libname.la"
15314 if test "X$found_dir" = "X"; then
15315 for x
in $LDFLAGS $LTLIBICONV; do
15317 acl_save_prefix
="$prefix"
15318 prefix
="$acl_final_prefix"
15319 acl_save_exec_prefix
="$exec_prefix"
15320 exec_prefix
="$acl_final_exec_prefix"
15322 exec_prefix
="$acl_save_exec_prefix"
15323 prefix
="$acl_save_prefix"
15327 dir
=`echo "X$x" | sed -e 's/^X-L//'`
15328 if test -n "$acl_shlibext"; then
15329 if test -f "$dir/$libname$shrext"; then
15331 found_so
="$dir/$libname$shrext"
15333 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15334 ver
=`(cd "$dir" && \
15335 for f in "$libname$shrext".*; do echo "$f"; done \
15336 | sed -e "s,^$libname$shrext\\\\.,," \
15337 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15338 | sed 1q ) 2>/dev/null`
15339 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15341 found_so
="$dir/$libname$shrext.$ver"
15344 eval library_names
=\"$acl_library_names_spec\"
15345 for f
in $library_names; do
15346 if test -f "$dir/$f"; then
15355 if test "X$found_dir" = "X"; then
15356 if test -f "$dir/$libname.$acl_libext"; then
15358 found_a
="$dir/$libname.$acl_libext"
15361 if test "X$found_dir" != "X"; then
15362 if test -f "$dir/$libname.la"; then
15363 found_la
="$dir/$libname.la"
15368 if test "X$found_dir" != "X"; then
15373 if test "X$found_dir" != "X"; then
15374 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15375 if test "X$found_so" != "X"; then
15376 if test "$enable_rpath" = no
|| test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15377 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15380 for x
in $ltrpathdirs; do
15381 if test "X$x" = "X$found_dir"; then
15386 if test -z "$haveit"; then
15387 ltrpathdirs
="$ltrpathdirs $found_dir"
15389 if test "$acl_hardcode_direct" = yes; then
15390 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15392 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no
; then
15393 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15395 for x
in $rpathdirs; do
15396 if test "X$x" = "X$found_dir"; then
15401 if test -z "$haveit"; then
15402 rpathdirs
="$rpathdirs $found_dir"
15406 for x
in $LDFLAGS $LIBICONV; do
15408 acl_save_prefix
="$prefix"
15409 prefix
="$acl_final_prefix"
15410 acl_save_exec_prefix
="$exec_prefix"
15411 exec_prefix
="$acl_final_exec_prefix"
15413 exec_prefix
="$acl_save_exec_prefix"
15414 prefix
="$acl_save_prefix"
15416 if test "X$x" = "X-L$found_dir"; then
15421 if test -z "$haveit"; then
15422 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15424 if test "$acl_hardcode_minus_L" != no
; then
15425 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
15427 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15433 if test "X$found_a" != "X"; then
15434 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
15436 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15439 additional_includedir
=
15440 case "$found_dir" in
15441 */$acl_libdirstem | */$acl_libdirstem/)
15442 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15443 LIBICONV_PREFIX
="$basedir"
15444 additional_includedir
="$basedir/include"
15447 if test "X$additional_includedir" != "X"; then
15448 if test "X$additional_includedir" != "X/usr/include"; then
15450 if test "X$additional_includedir" = "X/usr/local/include"; then
15451 if test -n "$GCC"; then
15453 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15457 if test -z "$haveit"; then
15458 for x
in $CPPFLAGS $INCICONV; do
15460 acl_save_prefix
="$prefix"
15461 prefix
="$acl_final_prefix"
15462 acl_save_exec_prefix
="$exec_prefix"
15463 exec_prefix
="$acl_final_exec_prefix"
15465 exec_prefix
="$acl_save_exec_prefix"
15466 prefix
="$acl_save_prefix"
15468 if test "X$x" = "X-I$additional_includedir"; then
15473 if test -z "$haveit"; then
15474 if test -d "$additional_includedir"; then
15475 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15481 if test -n "$found_la"; then
15482 save_libdir
="$libdir"
15483 case "$found_la" in
15484 */* | *\\*) .
"$found_la" ;;
15485 *) .
"./$found_la" ;;
15487 libdir
="$save_libdir"
15488 for dep
in $dependency_libs; do
15491 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15492 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15494 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15495 if test -n "$GCC"; then
15497 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
15501 if test -z "$haveit"; then
15503 for x
in $LDFLAGS $LIBICONV; do
15505 acl_save_prefix
="$prefix"
15506 prefix
="$acl_final_prefix"
15507 acl_save_exec_prefix
="$exec_prefix"
15508 exec_prefix
="$acl_final_exec_prefix"
15510 exec_prefix
="$acl_save_exec_prefix"
15511 prefix
="$acl_save_prefix"
15513 if test "X$x" = "X-L$additional_libdir"; then
15518 if test -z "$haveit"; then
15519 if test -d "$additional_libdir"; then
15520 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15524 for x
in $LDFLAGS $LTLIBICONV; do
15526 acl_save_prefix
="$prefix"
15527 prefix
="$acl_final_prefix"
15528 acl_save_exec_prefix
="$exec_prefix"
15529 exec_prefix
="$acl_final_exec_prefix"
15531 exec_prefix
="$acl_save_exec_prefix"
15532 prefix
="$acl_save_prefix"
15534 if test "X$x" = "X-L$additional_libdir"; then
15539 if test -z "$haveit"; then
15540 if test -d "$additional_libdir"; then
15541 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15548 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15549 if test "$enable_rpath" != no
; then
15551 for x
in $rpathdirs; do
15552 if test "X$x" = "X$dir"; then
15557 if test -z "$haveit"; then
15558 rpathdirs
="$rpathdirs $dir"
15561 for x
in $ltrpathdirs; do
15562 if test "X$x" = "X$dir"; then
15567 if test -z "$haveit"; then
15568 ltrpathdirs
="$ltrpathdirs $dir"
15573 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15576 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15579 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
15580 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15586 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
15587 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15593 if test "X$rpathdirs" != "X"; then
15594 if test -n "$acl_hardcode_libdir_separator"; then
15596 for found_dir
in $rpathdirs; do
15597 alldirs
="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15599 acl_save_libdir
="$libdir"
15601 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15602 libdir
="$acl_save_libdir"
15603 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15605 for found_dir
in $rpathdirs; do
15606 acl_save_libdir
="$libdir"
15607 libdir
="$found_dir"
15608 eval flag
=\"$acl_hardcode_libdir_flag_spec\"
15609 libdir
="$acl_save_libdir"
15610 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
15614 if test "X$ltrpathdirs" != "X"; then
15615 for found_dir
in $ltrpathdirs; do
15616 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15626 am_save_CPPFLAGS
="$CPPFLAGS"
15628 for element
in $INCICONV; do
15630 for x
in $CPPFLAGS; do
15632 acl_save_prefix
="$prefix"
15633 prefix
="$acl_final_prefix"
15634 acl_save_exec_prefix
="$exec_prefix"
15635 exec_prefix
="$acl_final_exec_prefix"
15637 exec_prefix
="$acl_save_exec_prefix"
15638 prefix
="$acl_save_prefix"
15640 if test "X$x" = "X$element"; then
15645 if test -z "$haveit"; then
15646 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15652 $as_echo_n "checking for iconv... " >&6; }
15653 if test "${am_cv_func_iconv+set}" = set; then :
15654 $as_echo_n "(cached) " >&6
15657 am_cv_func_iconv
="no, consider installing GNU libiconv"
15659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15661 #include <stdlib.h>
15666 iconv_t cd = iconv_open("","");
15667 iconv(cd,NULL,NULL,NULL,NULL);
15673 if ac_fn_c_try_link
"$LINENO"; then :
15674 am_cv_func_iconv
=yes
15676 rm -f core conftest.err conftest.
$ac_objext \
15677 conftest
$ac_exeext conftest.
$ac_ext
15678 if test "$am_cv_func_iconv" != yes; then
15679 am_save_LIBS
="$LIBS"
15680 LIBS
="$LIBS $LIBICONV"
15681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15683 #include <stdlib.h>
15688 iconv_t cd = iconv_open("","");
15689 iconv(cd,NULL,NULL,NULL,NULL);
15695 if ac_fn_c_try_link
"$LINENO"; then :
15696 am_cv_lib_iconv
=yes
15697 am_cv_func_iconv
=yes
15699 rm -f core conftest.err conftest.
$ac_objext \
15700 conftest
$ac_exeext conftest.
$ac_ext
15701 LIBS
="$am_save_LIBS"
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15706 $as_echo "$am_cv_func_iconv" >&6; }
15707 if test "$am_cv_func_iconv" = yes; then
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15709 $as_echo_n "checking for working iconv... " >&6; }
15710 if test "${am_cv_func_iconv_works+set}" = set; then :
15711 $as_echo_n "(cached) " >&6
15714 am_save_LIBS
="$LIBS"
15715 if test $am_cv_lib_iconv = yes; then
15716 LIBS
="$LIBS $LIBICONV"
15718 if test "$cross_compiling" = yes; then :
15720 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
15721 *) am_cv_func_iconv_works
="guessing yes" ;;
15724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15728 #include <string.h>
15731 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15734 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15735 if (cd_utf8_to_88591 != (iconv_t)(-1))
15737 static const char input[] = "\342\202\254"; /* EURO SIGN */
15739 const char *inptr = input;
15740 size_t inbytesleft = strlen (input);
15741 char *outptr = buf;
15742 size_t outbytesleft = sizeof (buf);
15743 size_t res = iconv (cd_utf8_to_88591,
15744 (char **) &inptr, &inbytesleft,
15745 &outptr, &outbytesleft);
15750 #if 0 /* This bug could be worked around by the caller. */
15751 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15753 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15754 if (cd_88591_to_utf8 != (iconv_t)(-1))
15756 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15758 const char *inptr = input;
15759 size_t inbytesleft = strlen (input);
15760 char *outptr = buf;
15761 size_t outbytesleft = sizeof (buf);
15762 size_t res = iconv (cd_88591_to_utf8,
15763 (char **) &inptr, &inbytesleft,
15764 &outptr, &outbytesleft);
15770 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15772 if (/* Try standardized names. */
15773 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15774 /* Try IRIX, OSF/1 names. */
15775 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15776 /* Try AIX names. */
15777 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15778 /* Try HP-UX names. */
15779 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15784 if ac_fn_c_try_run
"$LINENO"; then :
15785 am_cv_func_iconv_works
=yes
15787 am_cv_func_iconv_works
=no
15789 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15790 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15793 LIBS
="$am_save_LIBS"
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15797 $as_echo "$am_cv_func_iconv_works" >&6; }
15798 case "$am_cv_func_iconv_works" in
15799 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
15800 *) am_func_iconv
=yes ;;
15803 am_func_iconv
=no am_cv_lib_iconv
=no
15805 if test "$am_func_iconv" = yes; then
15807 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15810 if test "$am_cv_lib_iconv" = yes; then
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15812 $as_echo_n "checking how to link with libiconv... " >&6; }
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15814 $as_echo "$LIBICONV" >&6; }
15816 CPPFLAGS
="$am_save_CPPFLAGS"
15823 if test "$am_cv_func_iconv" = yes; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15825 $as_echo_n "checking for iconv declaration... " >&6; }
15826 if test "${am_cv_proto_iconv+set}" = set; then :
15827 $as_echo_n "(cached) " >&6
15830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15833 #include <stdlib.h>
15839 #if defined(__STDC__) || defined(__cplusplus)
15840 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15853 if ac_fn_c_try_compile
"$LINENO"; then :
15854 am_cv_proto_iconv_arg1
=""
15856 am_cv_proto_iconv_arg1
="const"
15858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15859 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);"
15862 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15864 }$am_cv_proto_iconv" >&5
15866 }$am_cv_proto_iconv" >&6; }
15868 cat >>confdefs.h
<<_ACEOF
15869 #define ICONV_CONST $am_cv_proto_iconv_arg1
15875 ac_cpp
='$CXXCPP $CPPFLAGS'
15876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15880 case $am_cv_func_iconv in #(
15884 as_fn_error
"You need iconv" "$LINENO" 5 ;;
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15889 $as_echo_n "checking for WEBKIT... " >&6; }
15891 if test -n "$PKG_CONFIG"; then
15892 if test -n "$WEBKIT_CFLAGS"; then
15893 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15895 if test -n "$PKG_CONFIG" && \
15896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15897 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15900 test $ac_status = 0; }; then
15901 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev/null`
15909 if test -n "$PKG_CONFIG"; then
15910 if test -n "$WEBKIT_LIBS"; then
15911 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15913 if test -n "$PKG_CONFIG" && \
15914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15915 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15918 test $ac_status = 0; }; then
15919 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev/null`
15930 if test $pkg_failed = yes; then
15932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15933 _pkg_short_errors_supported
=yes
15935 _pkg_short_errors_supported
=no
15937 if test $_pkg_short_errors_supported = yes; then
15938 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15940 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15942 # Put the nasty error message in config.log where it belongs
15943 echo "$WEBKIT_PKG_ERRORS" >&5
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15946 $as_echo "no" >&6; }
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15951 $as_echo_n "checking for WEBKIT... " >&6; }
15953 if test -n "$PKG_CONFIG"; then
15954 if test -n "$WEBKIT_CFLAGS"; then
15955 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
15957 if test -n "$PKG_CONFIG" && \
15958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15959 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15962 test $ac_status = 0; }; then
15963 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
15971 if test -n "$PKG_CONFIG"; then
15972 if test -n "$WEBKIT_LIBS"; then
15973 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
15975 if test -n "$PKG_CONFIG" && \
15976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15977 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15980 test $ac_status = 0; }; then
15981 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
15992 if test $pkg_failed = yes; then
15994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15995 _pkg_short_errors_supported
=yes
15997 _pkg_short_errors_supported
=no
15999 if test $_pkg_short_errors_supported = yes; then
16000 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16002 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16004 # Put the nasty error message in config.log where it belongs
16005 echo "$WEBKIT_PKG_ERRORS" >&5
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16008 $as_echo "no" >&6; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16012 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16013 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16014 $as_echo_n "(cached) " >&6
16017 ac_check_framework_save_LIBS
=$LIBS
16018 LIBS
="-framework JavaScriptCore $LIBS"
16019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16022 #include <JavaScriptCore/JSBase.h>
16027 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16032 if ac_fn_cxx_try_link
"$LINENO"; then :
16034 ac_cv_framework_JavaScriptCore
=yes
16037 ac_cv_framework_JavaScriptCore
=no
16039 rm -f core conftest.err conftest.
$ac_objext \
16040 conftest
$ac_exeext conftest.
$ac_ext
16041 LIBS
=$ac_check_framework_save_LIBS
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16045 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16046 if test $ac_cv_framework_JavaScriptCore = yes; then :
16049 for element
in "-framework JavaScriptCore $LIBS"; do
16053 acl_save_prefix
="$prefix"
16054 prefix
="$acl_final_prefix"
16055 acl_save_exec_prefix
="$exec_prefix"
16056 exec_prefix
="$acl_final_exec_prefix"
16058 exec_prefix
="$acl_save_exec_prefix"
16059 prefix
="$acl_save_prefix"
16061 if test "X$x" = "X$element"; then
16066 if test -z "$haveit"; then
16067 LIBS
="${LIBS}${LIBS:+ }$element"
16075 elif test $pkg_failed = untried
; then
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16079 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16080 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16081 $as_echo_n "(cached) " >&6
16084 ac_check_framework_save_LIBS
=$LIBS
16085 LIBS
="-framework JavaScriptCore $LIBS"
16086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16087 /* end confdefs.h. */
16089 #include <JavaScriptCore/JSBase.h>
16094 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16099 if ac_fn_cxx_try_link
"$LINENO"; then :
16101 ac_cv_framework_JavaScriptCore
=yes
16104 ac_cv_framework_JavaScriptCore
=no
16106 rm -f core conftest.err conftest.
$ac_objext \
16107 conftest
$ac_exeext conftest.
$ac_ext
16108 LIBS
=$ac_check_framework_save_LIBS
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16112 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16113 if test $ac_cv_framework_JavaScriptCore = yes; then :
16116 for element
in "-framework JavaScriptCore $LIBS"; do
16120 acl_save_prefix
="$prefix"
16121 prefix
="$acl_final_prefix"
16122 acl_save_exec_prefix
="$exec_prefix"
16123 exec_prefix
="$acl_final_exec_prefix"
16125 exec_prefix
="$acl_save_exec_prefix"
16126 prefix
="$acl_save_prefix"
16128 if test "X$x" = "X$element"; then
16133 if test -z "$haveit"; then
16134 LIBS
="${LIBS}${LIBS:+ }$element"
16143 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16144 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16146 $as_echo "yes" >&6; }
16150 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16152 for x
in $CXXFLAGS; do
16154 acl_save_prefix
="$prefix"
16155 prefix
="$acl_final_prefix"
16156 acl_save_exec_prefix
="$exec_prefix"
16157 exec_prefix
="$acl_final_exec_prefix"
16159 exec_prefix
="$acl_save_exec_prefix"
16160 prefix
="$acl_save_prefix"
16162 if test "X$x" = "X$element"; then
16167 if test -z "$haveit"; then
16168 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16173 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16177 acl_save_prefix
="$prefix"
16178 prefix
="$acl_final_prefix"
16179 acl_save_exec_prefix
="$exec_prefix"
16180 exec_prefix
="$acl_final_exec_prefix"
16182 exec_prefix
="$acl_save_exec_prefix"
16183 prefix
="$acl_save_prefix"
16185 if test "X$x" = "X$element"; then
16190 if test -z "$haveit"; then
16191 LIBS
="${LIBS}${LIBS:+ }$element"
16198 elif test $pkg_failed = untried
; then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16203 $as_echo_n "checking for WEBKIT... " >&6; }
16205 if test -n "$PKG_CONFIG"; then
16206 if test -n "$WEBKIT_CFLAGS"; then
16207 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
16209 if test -n "$PKG_CONFIG" && \
16210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16211 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16214 test $ac_status = 0; }; then
16215 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev/null`
16223 if test -n "$PKG_CONFIG"; then
16224 if test -n "$WEBKIT_LIBS"; then
16225 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
16227 if test -n "$PKG_CONFIG" && \
16228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16229 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16232 test $ac_status = 0; }; then
16233 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev/null`
16244 if test $pkg_failed = yes; then
16246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16247 _pkg_short_errors_supported
=yes
16249 _pkg_short_errors_supported
=no
16251 if test $_pkg_short_errors_supported = yes; then
16252 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16254 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16256 # Put the nasty error message in config.log where it belongs
16257 echo "$WEBKIT_PKG_ERRORS" >&5
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260 $as_echo "no" >&6; }
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16264 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16265 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16266 $as_echo_n "(cached) " >&6
16269 ac_check_framework_save_LIBS
=$LIBS
16270 LIBS
="-framework JavaScriptCore $LIBS"
16271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16274 #include <JavaScriptCore/JSBase.h>
16279 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16284 if ac_fn_cxx_try_link
"$LINENO"; then :
16286 ac_cv_framework_JavaScriptCore
=yes
16289 ac_cv_framework_JavaScriptCore
=no
16291 rm -f core conftest.err conftest.
$ac_objext \
16292 conftest
$ac_exeext conftest.
$ac_ext
16293 LIBS
=$ac_check_framework_save_LIBS
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16297 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16298 if test $ac_cv_framework_JavaScriptCore = yes; then :
16301 for element
in "-framework JavaScriptCore $LIBS"; do
16305 acl_save_prefix
="$prefix"
16306 prefix
="$acl_final_prefix"
16307 acl_save_exec_prefix
="$exec_prefix"
16308 exec_prefix
="$acl_final_exec_prefix"
16310 exec_prefix
="$acl_save_exec_prefix"
16311 prefix
="$acl_save_prefix"
16313 if test "X$x" = "X$element"; then
16318 if test -z "$haveit"; then
16319 LIBS
="${LIBS}${LIBS:+ }$element"
16327 elif test $pkg_failed = untried
; then
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16331 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16332 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16333 $as_echo_n "(cached) " >&6
16336 ac_check_framework_save_LIBS
=$LIBS
16337 LIBS
="-framework JavaScriptCore $LIBS"
16338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16341 #include <JavaScriptCore/JSBase.h>
16346 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16351 if ac_fn_cxx_try_link
"$LINENO"; then :
16353 ac_cv_framework_JavaScriptCore
=yes
16356 ac_cv_framework_JavaScriptCore
=no
16358 rm -f core conftest.err conftest.
$ac_objext \
16359 conftest
$ac_exeext conftest.
$ac_ext
16360 LIBS
=$ac_check_framework_save_LIBS
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16364 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16365 if test $ac_cv_framework_JavaScriptCore = yes; then :
16368 for element
in "-framework JavaScriptCore $LIBS"; do
16372 acl_save_prefix
="$prefix"
16373 prefix
="$acl_final_prefix"
16374 acl_save_exec_prefix
="$exec_prefix"
16375 exec_prefix
="$acl_final_exec_prefix"
16377 exec_prefix
="$acl_save_exec_prefix"
16378 prefix
="$acl_save_prefix"
16380 if test "X$x" = "X$element"; then
16385 if test -z "$haveit"; then
16386 LIBS
="${LIBS}${LIBS:+ }$element"
16395 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16396 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16398 $as_echo "yes" >&6; }
16402 for element
in `$PKG_CONFIG --cflags WebKitGtk`; do
16404 for x
in $CXXFLAGS; do
16406 acl_save_prefix
="$prefix"
16407 prefix
="$acl_final_prefix"
16408 acl_save_exec_prefix
="$exec_prefix"
16409 exec_prefix
="$acl_final_exec_prefix"
16411 exec_prefix
="$acl_save_exec_prefix"
16412 prefix
="$acl_save_prefix"
16414 if test "X$x" = "X$element"; then
16419 if test -z "$haveit"; then
16420 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16425 for element
in `$PKG_CONFIG --libs WebKitGtk`; do
16429 acl_save_prefix
="$prefix"
16430 prefix
="$acl_final_prefix"
16431 acl_save_exec_prefix
="$exec_prefix"
16432 exec_prefix
="$acl_final_exec_prefix"
16434 exec_prefix
="$acl_save_exec_prefix"
16435 prefix
="$acl_save_prefix"
16437 if test "X$x" = "X$element"; then
16442 if test -z "$haveit"; then
16443 LIBS
="${LIBS}${LIBS:+ }$element"
16451 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
16452 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16454 $as_echo "yes" >&6; }
16458 for element
in `$PKG_CONFIG --cflags webkit-1.0`; do
16460 for x
in $CXXFLAGS; do
16462 acl_save_prefix
="$prefix"
16463 prefix
="$acl_final_prefix"
16464 acl_save_exec_prefix
="$exec_prefix"
16465 exec_prefix
="$acl_final_exec_prefix"
16467 exec_prefix
="$acl_save_exec_prefix"
16468 prefix
="$acl_save_prefix"
16470 if test "X$x" = "X$element"; then
16475 if test -z "$haveit"; then
16476 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16481 for element
in `$PKG_CONFIG --libs webkit-1.0`; do
16485 acl_save_prefix
="$prefix"
16486 prefix
="$acl_final_prefix"
16487 acl_save_exec_prefix
="$exec_prefix"
16488 exec_prefix
="$acl_final_exec_prefix"
16490 exec_prefix
="$acl_save_exec_prefix"
16491 prefix
="$acl_save_prefix"
16493 if test "X$x" = "X$element"; then
16498 if test -z "$haveit"; then
16499 LIBS
="${LIBS}${LIBS:+ }$element"
16506 case $CY_EXECUTE in #(
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16513 $as_echo_n "checking for LIBFFI... " >&6; }
16515 if test -n "$PKG_CONFIG"; then
16516 if test -n "$LIBFFI_CFLAGS"; then
16517 pkg_cv_LIBFFI_CFLAGS
="$LIBFFI_CFLAGS"
16519 if test -n "$PKG_CONFIG" && \
16520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16521 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16524 test $ac_status = 0; }; then
16525 pkg_cv_LIBFFI_CFLAGS
=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
16533 if test -n "$PKG_CONFIG"; then
16534 if test -n "$LIBFFI_LIBS"; then
16535 pkg_cv_LIBFFI_LIBS
="$LIBFFI_LIBS"
16537 if test -n "$PKG_CONFIG" && \
16538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16539 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16542 test $ac_status = 0; }; then
16543 pkg_cv_LIBFFI_LIBS
=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
16554 if test $pkg_failed = yes; then
16556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16557 _pkg_short_errors_supported
=yes
16559 _pkg_short_errors_supported
=no
16561 if test $_pkg_short_errors_supported = yes; then
16562 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16564 LIBFFI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16566 # Put the nasty error message in config.log where it belongs
16567 echo "$LIBFFI_PKG_ERRORS" >&5
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16570 $as_echo "no" >&6; }
16572 for ac_header
in ffi.h ffi
/ffi.h
16574 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16575 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16576 eval as_val
=\$
$as_ac_Header
16577 if test "x$as_val" = x
""yes; then :
16578 cat >>confdefs.h
<<_ACEOF
16579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16586 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16588 as_fn_error
"You need libffi" "$LINENO" 5
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16592 $as_echo_n "checking for library containing ffi_call... " >&6; }
16593 if test "${ac_cv_search_ffi_call+set}" = set; then :
16594 $as_echo_n "(cached) " >&6
16596 ac_func_search_save_LIBS
=$LIBS
16597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16600 /* Override any GCC internal prototype to avoid an error.
16601 Use char because int might match the return type of a GCC
16602 builtin and then its argument prototype would still apply. */
16610 return ffi_call ();
16615 for ac_lib
in '' ffi
; do
16616 if test -z "$ac_lib"; then
16617 ac_res
="none required"
16620 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16622 if ac_fn_cxx_try_link
"$LINENO"; then :
16623 ac_cv_search_ffi_call
=$ac_res
16625 rm -f core conftest.err conftest.
$ac_objext \
16627 if test "${ac_cv_search_ffi_call+set}" = set; then :
16631 if test "${ac_cv_search_ffi_call+set}" = set; then :
16634 ac_cv_search_ffi_call
=no
16636 rm conftest.
$ac_ext
16637 LIBS
=$ac_func_search_save_LIBS
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16640 $as_echo "$ac_cv_search_ffi_call" >&6; }
16641 ac_res
=$ac_cv_search_ffi_call
16642 if test "$ac_res" != no
; then :
16643 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16647 case $ac_cv_search_ffi_call in #(
16650 as_fn_error
"You need libffi" "$LINENO" 5
16656 elif test $pkg_failed = untried
; then
16658 for ac_header
in ffi.h ffi
/ffi.h
16660 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16661 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16662 eval as_val
=\$
$as_ac_Header
16663 if test "x$as_val" = x
""yes; then :
16664 cat >>confdefs.h
<<_ACEOF
16665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16672 if test "x$ac_cv_header_ffi_h" = xno
&& test "x$ac_cv_header_ffi_ffi_h" = xno
; then :
16674 as_fn_error
"You need libffi" "$LINENO" 5
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
16678 $as_echo_n "checking for library containing ffi_call... " >&6; }
16679 if test "${ac_cv_search_ffi_call+set}" = set; then :
16680 $as_echo_n "(cached) " >&6
16682 ac_func_search_save_LIBS
=$LIBS
16683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16696 return ffi_call ();
16701 for ac_lib
in '' ffi
; do
16702 if test -z "$ac_lib"; then
16703 ac_res
="none required"
16706 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16708 if ac_fn_cxx_try_link
"$LINENO"; then :
16709 ac_cv_search_ffi_call
=$ac_res
16711 rm -f core conftest.err conftest.
$ac_objext \
16713 if test "${ac_cv_search_ffi_call+set}" = set; then :
16717 if test "${ac_cv_search_ffi_call+set}" = set; then :
16720 ac_cv_search_ffi_call
=no
16722 rm conftest.
$ac_ext
16723 LIBS
=$ac_func_search_save_LIBS
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
16726 $as_echo "$ac_cv_search_ffi_call" >&6; }
16727 ac_res
=$ac_cv_search_ffi_call
16728 if test "$ac_res" != no
; then :
16729 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16733 case $ac_cv_search_ffi_call in #(
16736 as_fn_error
"You need libffi" "$LINENO" 5
16743 LIBFFI_CFLAGS
=$pkg_cv_LIBFFI_CFLAGS
16744 LIBFFI_LIBS
=$pkg_cv_LIBFFI_LIBS
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16746 $as_echo "yes" >&6; }
16749 for element
in `$PKG_CONFIG --cflags libffi`; do
16751 for x
in $CXXFLAGS; do
16753 acl_save_prefix
="$prefix"
16754 prefix
="$acl_final_prefix"
16755 acl_save_exec_prefix
="$exec_prefix"
16756 exec_prefix
="$acl_final_exec_prefix"
16758 exec_prefix
="$acl_save_exec_prefix"
16759 prefix
="$acl_save_prefix"
16761 if test "X$x" = "X$element"; then
16766 if test -z "$haveit"; then
16767 CXXFLAGS
="${CXXFLAGS}${CXXFLAGS:+ }$element"
16772 for element
in `$PKG_CONFIG --libs libffi`; do
16776 acl_save_prefix
="$prefix"
16777 prefix
="$acl_final_prefix"
16778 acl_save_exec_prefix
="$exec_prefix"
16779 exec_prefix
="$acl_final_exec_prefix"
16781 exec_prefix
="$acl_save_exec_prefix"
16782 prefix
="$acl_save_prefix"
16784 if test "X$x" = "X$element"; then
16789 if test -z "$haveit"; then
16790 LIBS
="${LIBS}${LIBS:+ }$element"
16797 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
16798 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16799 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16800 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
16803 $as_echo_n "checking if we really have Objective C++... " >&6; }
16804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16807 // This space intentionally left blank
16810 if ac_fn_objcxx_try_compile
"$LINENO"; then :
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16814 $as_echo "yes" >&6; }
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16818 $as_echo "no" >&6; }
16820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16821 if test "x$CY_OBJECTIVEC" = x1
; then :
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
16825 $as_echo_n "checking for framework CoreFoundation... " >&6; }
16826 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
16827 $as_echo_n "(cached) " >&6
16830 ac_check_framework_save_LIBS
=$LIBS
16831 LIBS
="-framework CoreFoundation $LIBS"
16832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 #include <CoreFoundation/CFBase.h>
16840 CFAllocatorGetDefault();
16845 if ac_fn_objcxx_try_link
"$LINENO"; then :
16847 ac_cv_framework_CoreFoundation
=yes
16850 ac_cv_framework_CoreFoundation
=no
16852 rm -f core conftest.err conftest.
$ac_objext \
16853 conftest
$ac_exeext conftest.
$ac_ext
16854 LIBS
=$ac_check_framework_save_LIBS
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
16858 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
16859 if test $ac_cv_framework_CoreFoundation = yes; then :
16862 for element
in "-framework CoreFoundation $LIBS"; do
16866 acl_save_prefix
="$prefix"
16867 prefix
="$acl_final_prefix"
16868 acl_save_exec_prefix
="$exec_prefix"
16869 exec_prefix
="$acl_final_exec_prefix"
16871 exec_prefix
="$acl_save_exec_prefix"
16872 prefix
="$acl_save_prefix"
16874 if test "X$x" = "X$element"; then
16879 if test -z "$haveit"; then
16880 LIBS
="${LIBS}${LIBS:+ }$element"
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
16889 $as_echo_n "checking for framework Foundation... " >&6; }
16890 if test "${ac_cv_framework_Foundation+set}" = set; then :
16891 $as_echo_n "(cached) " >&6
16894 ac_check_framework_save_LIBS
=$LIBS
16895 LIBS
="-framework Foundation $LIBS"
16896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16899 #include <Foundation/NSObject.h>
16904 [[NSObject alloc] init];
16909 if ac_fn_objcxx_try_link
"$LINENO"; then :
16911 ac_cv_framework_Foundation
=yes
16914 ac_cv_framework_Foundation
=no
16916 rm -f core conftest.err conftest.
$ac_objext \
16917 conftest
$ac_exeext conftest.
$ac_ext
16918 LIBS
=$ac_check_framework_save_LIBS
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
16922 $as_echo "$ac_cv_framework_Foundation" >&6; }
16923 if test $ac_cv_framework_Foundation = yes; then :
16926 for element
in "-framework Foundation $LIBS"; do
16930 acl_save_prefix
="$prefix"
16931 prefix
="$acl_final_prefix"
16932 acl_save_exec_prefix
="$exec_prefix"
16933 exec_prefix
="$acl_final_exec_prefix"
16935 exec_prefix
="$acl_save_exec_prefix"
16936 prefix
="$acl_save_prefix"
16938 if test "X$x" = "X$element"; then
16943 if test -z "$haveit"; then
16944 LIBS
="${LIBS}${LIBS:+ }$element"
16948 cat >>confdefs.h
<<_ACEOF
16949 #define HAVE_FRAMEWORK_FOUNDATION 1
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
16957 $as_echo_n "checking for framework WebKit... " >&6; }
16958 if test "${ac_cv_framework_WebKit+set}" = set; then :
16959 $as_echo_n "(cached) " >&6
16962 ac_check_framework_save_LIBS
=$LIBS
16963 LIBS
="-framework WebKit $LIBS"
16964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16967 #include <WebKit/WebScriptObject.h>
16972 [[WebScriptObject alloc] init];
16977 if ac_fn_objcxx_try_link
"$LINENO"; then :
16979 ac_cv_framework_WebKit
=yes
16982 ac_cv_framework_WebKit
=no
16984 rm -f core conftest.err conftest.
$ac_objext \
16985 conftest
$ac_exeext conftest.
$ac_ext
16986 LIBS
=$ac_check_framework_save_LIBS
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
16990 $as_echo "$ac_cv_framework_WebKit" >&6; }
16991 if test $ac_cv_framework_WebKit = yes; then :
16994 for element
in "-framework WebKit $LIBS"; do
16998 acl_save_prefix
="$prefix"
16999 prefix
="$acl_final_prefix"
17000 acl_save_exec_prefix
="$exec_prefix"
17001 exec_prefix
="$acl_final_exec_prefix"
17003 exec_prefix
="$acl_save_exec_prefix"
17004 prefix
="$acl_save_prefix"
17006 if test "X$x" = "X$element"; then
17011 if test -z "$haveit"; then
17012 LIBS
="${LIBS}${LIBS:+ }$element"
17016 cat >>confdefs.h
<<_ACEOF
17017 #define HAVE_FRAMEWORK_WEBKIT 1
17026 for ac_prog
in gnustep
-config
17028 # Extract the first word of "$ac_prog", so it can be a program name with args.
17029 set dummy
$ac_prog; ac_word
=$2
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17031 $as_echo_n "checking for $ac_word... " >&6; }
17032 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
17033 $as_echo_n "(cached) " >&6
17035 if test -n "$GNUSTEP_CONFIG"; then
17036 ac_cv_prog_GNUSTEP_CONFIG
="$GNUSTEP_CONFIG" # Let the user override the test.
17038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17039 for as_dir
in $PATH
17042 test -z "$as_dir" && as_dir
=.
17043 for ac_exec_ext
in '' $ac_executable_extensions; do
17044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17045 ac_cv_prog_GNUSTEP_CONFIG
="$ac_prog"
17046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17055 GNUSTEP_CONFIG
=$ac_cv_prog_GNUSTEP_CONFIG
17056 if test -n "$GNUSTEP_CONFIG"; then
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
17058 $as_echo "$GNUSTEP_CONFIG" >&6; }
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17061 $as_echo "no" >&6; }
17065 test -n "$GNUSTEP_CONFIG" && break
17068 if test "x$GNUSTEP_CONFIG" != x
; then :
17072 for element
in `$GNUSTEP_CONFIG --objc-flags`; do
17074 for x
in $OBJCXXFLAGS; do
17076 acl_save_prefix
="$prefix"
17077 prefix
="$acl_final_prefix"
17078 acl_save_exec_prefix
="$exec_prefix"
17079 exec_prefix
="$acl_final_exec_prefix"
17081 exec_prefix
="$acl_save_exec_prefix"
17082 prefix
="$acl_save_prefix"
17084 if test "X$x" = "X$element"; then
17089 if test -z "$haveit"; then
17090 OBJCXXFLAGS
="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17095 for element
in `$GNUSTEP_CONFIG --base-libs`; do
17099 acl_save_prefix
="$prefix"
17100 prefix
="$acl_final_prefix"
17101 acl_save_exec_prefix
="$exec_prefix"
17102 exec_prefix
="$acl_final_exec_prefix"
17104 exec_prefix
="$acl_save_exec_prefix"
17105 prefix
="$acl_save_prefix"
17107 if test "X$x" = "X$element"; then
17112 if test -z "$haveit"; then
17113 LIBS
="${LIBS}${LIBS:+ }$element"
17127 ac_cpp
='$CXXCPP $CPPFLAGS'
17128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No JavaScript engine!" >&5
17136 $as_echo "$as_me: WARNING: No JavaScript engine!" >&2;}
17139 if test "x$CY_OBJECTIVEC" = x1
; then :
17141 ac_fn_cxx_check_header_mongrel
"$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
17142 if test "x$ac_cv_header_mach_mach_h" = x
""yes; then :
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
17147 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
17149 CY_OBJECTIVEC_MACH
=1
17158 ac_config_files
="$ac_config_files GNUmakefile"
17160 cat >confcache
<<\_ACEOF
17161 # This file is a shell script that caches the results of configure
17162 # tests run on this system so they can be shared between configure
17163 # scripts and configure runs, see configure's option --config-cache.
17164 # It is not useful on other systems. If it contains results you don't
17165 # want to keep, you may remove or edit it.
17167 # config.status only pays attention to the cache file if you give it
17168 # the --recheck option to rerun configure.
17170 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17171 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17172 # following values.
17176 # The following way of writing the cache mishandles newlines in values,
17177 # but we know of no workaround that is simple, portable, and efficient.
17178 # So, we kill variables containing newlines.
17179 # Ultrix sh set writes to stderr and can't be redirected directly,
17180 # and sets the high bit in the cache file unless we assign to the vars.
17182 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17183 eval ac_val
=\$
$ac_var
17187 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17188 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17191 _
| IFS
| as_nl
) ;; #(
17192 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
17193 *) { eval $ac_var=; unset $ac_var;} ;;
17199 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17200 *${as_nl}ac_space
=\
*)
17201 # `set' does not quote correctly, so add quotes: double-quote
17202 # substitution turns \\\\ into \\, and sed turns \\ into \.
17205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17208 # `set' quotes correctly as required by POSIX, so do not add quotes.
17209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17218 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17220 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17222 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17223 if test -w "$cache_file"; then
17224 test "x$cache_file" != "x/dev/null" &&
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17226 $as_echo "$as_me: updating cache $cache_file" >&6;}
17227 cat confcache
>$cache_file
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17230 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17235 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17236 # Let make expand exec_prefix.
17237 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17239 # Transform confdefs.h into DEFS.
17240 # Protect against shell expansion while executing Makefile rules.
17241 # Protect against Makefile macro expansion.
17243 # If the first sed substitution is executed (which looks for macros that
17244 # take arguments), then branch to the quote section. Otherwise,
17245 # look for a macro that doesn't take arguments.
17255 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
17257 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
17261 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
17274 DEFS
=`sed -n "$ac_script" confdefs.h`
17279 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17280 # 1. Remove the extension, and $U if already installed.
17281 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17282 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17283 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17284 # will be set to the directory where LIBOBJS objects are built.
17285 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17286 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17288 LIBOBJS
=$ac_libobjs
17290 LTLIBOBJS
=$ac_ltlibobjs
17294 : ${CONFIG_STATUS=./config.status}
17296 ac_clean_files_save
=$ac_clean_files
17297 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17299 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17301 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17303 # Generated by $as_me.
17304 # Run this file to recreate the current configuration.
17305 # Compiler output produced by configure, useful for debugging
17306 # configure, is in config.log if it exists.
17309 ac_cs_recheck=false
17312 SHELL=\${CONFIG_SHELL-$SHELL}
17315 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
17316 ## -------------------- ##
17317 ## M4sh Initialization. ##
17318 ## -------------------- ##
17320 # Be more Bourne compatible
17321 DUALCASE
=1; export DUALCASE
# for MKS sh
17322 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17325 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17326 # is contrary to our usage. Disable this feature.
17327 alias -g '${1+"$@"}'='"$@"'
17328 setopt NO_GLOB_SUBST
17330 case `(set -o) 2>/dev/null` in #(
17342 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17343 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17345 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17346 # Prefer a ksh shell builtin over an external printf program on Solaris,
17347 # but without wasting forks for bash or zsh.
17348 if test -z "$BASH_VERSION$ZSH_VERSION" \
17349 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17350 as_echo='print
-r --'
17351 as_echo_n='print
-rn --'
17352 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17353 as_echo='printf %s
\n'
17354 as_echo_n='printf %s
'
17356 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17357 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17358 as_echo_n='/usr
/ucb
/echo -n'
17360 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17361 as_echo_n_body='eval
17365 expr "X$arg" : "X\\(.*\\)$as_nl";
17366 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17368 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17370 export as_echo_n_body
17371 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17373 export as_echo_body
17374 as_echo='sh
-c $as_echo_body as_echo
'
17377 # The user is always right.
17378 if test "${PATH_SEPARATOR+set}" != set; then
17380 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17381 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17388 # We need space, tab and new line, in precisely that order. Quoting is
17389 # there to prevent editors from complaining about space-tab.
17390 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17391 # splitting by setting IFS to empty value.)
17394 # Find who we are. Look in the path if we contain no directory separator.
17396 *[\\/]* ) as_myself=$0 ;;
17397 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17398 for as_dir in $PATH
17401 test -z "$as_dir" && as_dir=.
17402 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17408 # We did not find ourselves, most probably we were run as `sh COMMAND'
17409 # in which case we are not to be found in the path.
17410 if test "x$as_myself" = x
; then
17413 if test ! -f "$as_myself"; then
17414 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17418 # Unset variables that we do not need and which cause bugs (e.g. in
17419 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17420 # suppresses any "Segmentation fault" message there. '((' could
17421 # trigger a bug in pdksh 5.2.14.
17422 for as_var
in BASH_ENV ENV MAIL MAILPATH
17423 do eval test x\
${$as_var+set} = xset \
17424 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
17437 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17440 # as_fn_error ERROR [LINENO LOG_FD]
17441 # ---------------------------------
17442 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17443 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17444 # script with status $?, using 1 if that was 0.
17447 as_status
=$?
; test $as_status -eq 0 && as_status
=1
17449 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17450 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
17452 $as_echo "$as_me: error: $1" >&2
17453 as_fn_exit
$as_status
17457 # as_fn_set_status STATUS
17458 # -----------------------
17459 # Set $? to STATUS, without forking.
17460 as_fn_set_status
()
17463 } # as_fn_set_status
17465 # as_fn_exit STATUS
17466 # -----------------
17467 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17471 as_fn_set_status
$1
17477 # Portably unset VAR.
17480 { eval $1=; unset $1;}
17482 as_unset
=as_fn_unset
17483 # as_fn_append VAR VALUE
17484 # ----------------------
17485 # Append the text in VALUE to the end of the definition contained in VAR. Take
17486 # advantage of any shell optimizations that allow amortized linear growth over
17487 # repeated appends, instead of the typical quadratic growth present in naive
17489 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17490 eval 'as_fn_append ()
17501 # as_fn_arith ARG...
17502 # ------------------
17503 # Perform arithmetic evaluation on the ARGs, and store the result in the
17504 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17505 # must be portable across $(()) and expr.
17506 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17507 eval 'as_fn_arith ()
17514 as_val
=`expr "$@" || test $? -eq 1`
17519 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17520 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17526 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17527 as_basename
=basename
17532 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17538 as_me
=`$as_basename -- "$0" ||
17539 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17540 X"$0" : 'X\(//\)$' \| \
17541 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17543 sed '/^.*\/\([^/][^/]*\)\/*$/{
17557 # Avoid depending upon Character Ranges.
17558 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17559 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17560 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17561 as_cr_digits
='0123456789'
17562 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17564 ECHO_C
= ECHO_N
= ECHO_T
=
17565 case `echo -n x` in #(((((
17567 case `echo 'xy\c'` in
17568 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17570 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17577 rm -f conf$$ conf$$.exe conf$$.
file
17578 if test -d conf$$.dir
; then
17579 rm -f conf$$.dir
/conf$$.
file
17582 mkdir conf$$.dir
2>/dev
/null
17584 if (echo >conf$$.
file) 2>/dev
/null
; then
17585 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17587 # ... but there are two gotchas:
17588 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17589 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17590 # In both cases, we have to default to `cp -p'.
17591 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
17593 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17601 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17602 rmdir conf$$.dir
2>/dev
/null
17607 # Create "$as_dir" as a directory, including parents if necessary.
17612 -*) as_dir
=.
/$as_dir;;
17614 test -d "$as_dir" || eval $as_mkdir_p || {
17618 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17619 *) as_qdir
=$as_dir;;
17621 as_dirs
="'$as_qdir' $as_dirs"
17622 as_dir
=`$as_dirname -- "$as_dir" ||
17623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17624 X"$as_dir" : 'X\(//\)[^/]' \| \
17625 X"$as_dir" : 'X\(//\)$' \| \
17626 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17627 $as_echo X"$as_dir" |
17628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17632 /^X\(\/\/\)[^/].*/{
17645 test -d "$as_dir" && break
17647 test -z "$as_dirs" || eval "mkdir $as_dirs"
17648 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
17652 if mkdir -p .
2>/dev
/null
; then
17653 as_mkdir_p
='mkdir -p "$as_dir"'
17655 test -d .
/-p && rmdir .
/-p
17659 if test -x / >/dev
/null
2>&1; then
17660 as_test_x
='test -x'
17662 if ls -dL / >/dev
/null
2>&1; then
17669 if test -d "$1"; then
17675 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17676 ???[sx]*):;;*)false;;esac;fi
17680 as_executable_p
=$as_test_x
17682 # Sed expression to map a string onto a valid CPP name.
17683 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17685 # Sed expression to map a string onto a valid variable name.
17686 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17690 ## ----------------------------------- ##
17691 ## Main body of $CONFIG_STATUS script. ##
17692 ## ----------------------------------- ##
17694 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17696 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17697 # Save the log message, to keep $0 and so on meaningful, and to
17698 # report actual input values of CONFIG_FILES etc. instead of their
17699 # values after options handling.
17701 This file was extended by Cycript $as_me 0.9, which was
17702 generated by GNU Autoconf 2.65. Invocation command line was
17704 CONFIG_FILES = $CONFIG_FILES
17705 CONFIG_HEADERS = $CONFIG_HEADERS
17706 CONFIG_LINKS = $CONFIG_LINKS
17707 CONFIG_COMMANDS = $CONFIG_COMMANDS
17710 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17715 case $ac_config_files in *"
17716 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17722 # Files that config.status was made for.
17723 config_files="$ac_config_files"
17724 config_commands="$ac_config_commands"
17728 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17730 \`$as_me' instantiates files and other configuration actions
17731 from templates according to the current configuration. Unless the files
17732 and actions are specified as TAGs, all are instantiated by default.
17734 Usage: $0 [OPTION]... [TAG]...
17736 -h, --help print this help, then exit
17737 -V, --version print version number and configuration settings, then exit
17738 --config print configuration, then exit
17739 -q, --quiet, --silent
17740 do not print progress messages
17741 -d, --debug don't remove temporary files
17742 --recheck update $as_me by reconfiguring in the same conditions
17743 --file=FILE[:TEMPLATE]
17744 instantiate the configuration file FILE
17746 Configuration files:
17749 Configuration commands:
17752 Report bugs to <saurik@saurik.com>.
17753 Cycript home page: <http://www.cycript.org/>."
17756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17757 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17759 Cycript config.status 0.9
17760 configured by $0, generated by GNU Autoconf 2.65,
17761 with options \\"\$ac_cs_config\\"
17763 Copyright (C) 2009 Free Software Foundation, Inc.
17764 This config.status script is free software; the Free Software Foundation
17765 gives unlimited permission to copy, distribute and modify it."
17771 test -n "\$AWK" || AWK=awk
17774 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17775 # The default lists apply if the user does not specify any file.
17781 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17782 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17793 # Handling of the options.
17794 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17796 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17797 $as_echo "$ac_cs_version"; exit ;;
17798 --config | --confi | --conf | --con | --co | --c )
17799 $as_echo "$ac_cs_config"; exit ;;
17800 --debug | --debu | --deb | --de | --d | -d )
17802 --file | --fil | --fi | --f )
17805 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17807 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17808 ac_need_defaults
=false
;;
17809 --he | --h | --help | --hel | -h )
17810 $as_echo "$ac_cs_usage"; exit ;;
17811 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17812 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17815 # This is an error.
17816 -*) as_fn_error
"unrecognized option: \`$1'
17817 Try \`$0 --help' for more information." ;;
17819 *) as_fn_append ac_config_targets
" $1"
17820 ac_need_defaults
=false
;;
17826 ac_configure_extra_args
=
17828 if $ac_cs_silent; then
17830 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17835 if \$ac_cs_recheck; then
17836 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17839 CONFIG_SHELL='$SHELL'
17840 export CONFIG_SHELL
17845 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17850 ## Running $as_me. ##
17856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17862 # The HP-UX ksh and POSIX shell print the target directory to stdout
17863 # if CDPATH is set.
17864 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17866 sed_quote_subst='$sed_quote_subst'
17867 double_quote_subst='$double_quote_subst'
17868 delay_variable_subst='$delay_variable_subst'
17869 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17870 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17871 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17872 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17873 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17874 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17875 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17876 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17877 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17878 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17879 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17880 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17881 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17882 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17883 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17884 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17885 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17886 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17887 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17888 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17889 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17890 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17891 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17892 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17893 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17894 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17895 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17896 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17897 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17898 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17899 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17900 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17901 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17902 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17903 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17904 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17905 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17906 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17907 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17908 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17909 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17910 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17911 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17912 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17913 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"`'
17914 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"`'
17915 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17916 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17917 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17918 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17919 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17920 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17921 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17922 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17923 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17924 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17925 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17926 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17927 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17928 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17929 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17930 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17931 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17932 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17933 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17934 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17935 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17936 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17937 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17938 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17939 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17940 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17941 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17942 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17943 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17944 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17945 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17946 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17947 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17948 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17949 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17950 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17951 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17952 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17953 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17954 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17955 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17956 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17957 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17958 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17959 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17960 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17961 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17962 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17963 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17964 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17965 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17966 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17967 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17968 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17969 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17970 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17971 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17972 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17973 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17974 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17975 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17976 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17977 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17978 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17979 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17980 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17981 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17982 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17983 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17984 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17985 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17986 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17987 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17988 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17989 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17990 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17991 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17992 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17993 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17994 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17995 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17996 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17997 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17998 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17999 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18000 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18001 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18002 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18003 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18004 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18005 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18006 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18007 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18008 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18009 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18010 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18011 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18012 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18013 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18014 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18015 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18016 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18017 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18018 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18019 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18020 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18021 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18022 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18023 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18024 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18025 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18026 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18027 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18028 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18029 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18030 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18031 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18032 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18033 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18034 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18035 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18036 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18037 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18038 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18039 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
18042 LTCFLAGS='$LTCFLAGS'
18043 compiler='$compiler_DEFAULT'
18045 # Quote evaled strings.
18057 deplibs_check_method \
18066 lt_cv_sys_global_symbol_pipe \
18067 lt_cv_sys_global_symbol_to_cdecl \
18068 lt_cv_sys_global_symbol_to_c_name_address \
18069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18072 lt_prog_compiler_no_builtin_flag \
18073 lt_prog_compiler_wl \
18074 lt_prog_compiler_pic \
18075 lt_prog_compiler_static \
18076 lt_cv_prog_compiler_c_o \
18084 export_dynamic_flag_spec \
18085 whole_archive_flag_spec \
18086 compiler_needs_object \
18088 allow_undefined_flag \
18089 no_undefined_flag \
18090 hardcode_libdir_flag_spec \
18091 hardcode_libdir_flag_spec_ld \
18092 hardcode_libdir_separator \
18097 variables_saved_for_relink \
18099 library_names_spec \
18104 compiler_lib_search_dirs \
18109 compiler_lib_search_path \
18112 lt_prog_compiler_no_builtin_flag_CXX \
18113 lt_prog_compiler_wl_CXX \
18114 lt_prog_compiler_pic_CXX \
18115 lt_prog_compiler_static_CXX \
18116 lt_cv_prog_compiler_c_o_CXX \
18117 export_dynamic_flag_spec_CXX \
18118 whole_archive_flag_spec_CXX \
18119 compiler_needs_object_CXX \
18121 allow_undefined_flag_CXX \
18122 no_undefined_flag_CXX \
18123 hardcode_libdir_flag_spec_CXX \
18124 hardcode_libdir_flag_spec_ld_CXX \
18125 hardcode_libdir_separator_CXX \
18126 fix_srcfile_path_CXX \
18127 exclude_expsyms_CXX \
18128 include_expsyms_CXX \
18129 file_list_spec_CXX \
18130 compiler_lib_search_dirs_CXX \
18131 predep_objects_CXX \
18132 postdep_objects_CXX \
18135 compiler_lib_search_path_CXX; do
18136 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18137 *[\\\\\\\`\\"\\\$]*)
18138 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18141 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18146 # Double-quote double-evaled strings.
18147 for var in reload_cmds \
18148 old_postinstall_cmds \
18149 old_postuninstall_cmds \
18151 extract_expsyms_cmds \
18152 old_archive_from_new_cmds \
18153 old_archive_from_expsyms_cmds \
18155 archive_expsym_cmds \
18157 module_expsym_cmds \
18158 export_symbols_cmds \
18161 postuninstall_cmds \
18163 sys_lib_search_path_spec \
18164 sys_lib_dlsearch_path_spec \
18165 old_archive_cmds_CXX \
18166 old_archive_from_new_cmds_CXX \
18167 old_archive_from_expsyms_cmds_CXX \
18169 archive_expsym_cmds_CXX \
18171 module_expsym_cmds_CXX \
18172 export_symbols_cmds_CXX \
18173 prelink_cmds_CXX; do
18174 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18175 *[\\\\\\\`\\"\\\$]*)
18176 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18179 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18184 # Fix-up fallback echo if it was mangled by the above quoting rules.
18186 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18190 ac_aux_dir='$ac_aux_dir'
18191 xsi_shell='$xsi_shell'
18192 lt_shell_append='$lt_shell_append'
18194 # See if we are running on zsh, and set the options which allow our
18195 # commands through without removal of \ escapes INIT.
18196 if test -n "\${ZSH_VERSION+set}" ; then
18197 setopt NO_GLOB_SUBST
18203 TIMESTAMP='$TIMESTAMP'
18214 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18216 # Handling of arguments.
18217 for ac_config_target
in $ac_config_targets
18219 case $ac_config_target in
18220 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
18221 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
18223 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18228 # If the user did not use the arguments to specify the items to instantiate,
18229 # then the envvar interface is used. Set only those that are not.
18230 # We use the long form for the default assignment because of an extremely
18231 # bizarre bug on SunOS 4.1.3.
18232 if $ac_need_defaults; then
18233 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18234 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18237 # Have a temporary directory for convenience. Make it in the build tree
18238 # simply because there is no reason against having it here, and in addition,
18239 # creating and moving files from /tmp can sometimes cause problems.
18240 # Hook for its removal unless debugging.
18241 # Note that there is a small window in which the directory will not be cleaned:
18242 # after its creation but before its name has been assigned to `$tmp'.
18246 trap 'exit_status=$?
18247 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18249 trap 'as_fn_exit 1' 1 2 13 15
18251 # Create a (secure) tmp directory for tmp files.
18254 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18255 test -n "$tmp" && test -d "$tmp"
18258 tmp
=.
/conf$$
-$RANDOM
18259 (umask 077 && mkdir "$tmp")
18260 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
18262 # Set up the scripts for CONFIG_FILES section.
18263 # No need to generate them if there are no CONFIG_FILES.
18264 # This happens for instance with `./config.status config.h'.
18265 if test -n "$CONFIG_FILES"; then
18268 ac_cr
=`echo X | tr X '\015'`
18269 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18270 # But we know of no other shell where ac_cr would be empty at this
18271 # point, so we can use a bashism as a fallback.
18272 if test "x$ac_cr" = x
; then
18273 eval ac_cr
=\$
\'\\r
\'
18275 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18276 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18279 ac_cs_awk_cr
=$ac_cr
18282 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18287 echo "cat >conf$$subs.awk <<_ACEOF" &&
18288 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18290 } >conf$$subs.sh ||
18291 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18292 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18294 for ac_last_try in false false false false false :; do
18295 . ./conf$$subs.sh ||
18296 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18298 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18299 if test $ac_delim_n = $ac_delim_num; then
18301 elif $ac_last_try; then
18302 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
18304 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18307 rm -f conf$$subs.sh
18309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18310 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18314 s/^/S["/; s
/!.
*/"]=/
18324 s/\(.\{148\}\)..*/\1/
18326 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18331 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18338 s/\(.\{148\}\)..*/\1/
18340 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18344 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18349 ' <conf$$subs.awk | sed '
18354 ' >>$CONFIG_STATUS || ac_write_fail=1
18355 rm -f conf$$subs.awk
18356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18358 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18359 for (key in S) S_is_set[key] = 1
18365 nfields = split(line, field, "@
")
18367 len = length(field[1])
18368 for (i = 2; i < nfields; i++) {
18370 keylen = length(key)
18371 if (S_is_set[key]) {
18373 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18374 len += length(value) + length(field[++i])
18385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18386 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18387 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18390 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18391 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
18394 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18395 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18396 # trailing colons and then remove the whole line if VPATH becomes empty
18397 # (actually we leave an empty line to preserve line numbers).
18398 if test "x
$srcdir" = x.; then
18399 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18400 s/:*\$(srcdir):*/:/
18401 s/:*\${srcdir}:*/:/
18403 s/^\([^=]*=[ ]*\):*/\1/
18409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18410 fi # test -n "$CONFIG_FILES"
18413 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
18418 :[FHLC]) ac_mode=$ac_tag; continue;;
18420 case $ac_mode$ac_tag in
18422 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
18423 :[FH]-) ac_tag=-:-;;
18424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18441 -) ac_f="$tmp/stdin";;
18442 *) # Look for the file first in the build tree, then in the source tree
18443 # (if the path is not absolute). The absolute path cannot be DOS-style,
18444 # because $ac_f cannot contain `:'.
18448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18450 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18452 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
18453 as_fn_append ac_file_inputs " '$ac_f'"
18456 # Let's still pretend it is `configure' which instantiates (i.e., don't
18457 # use $as_me), people would be surprised to read:
18458 # /* config.h. Generated by config.status. */
18459 configure_input='Generated from '`
18460 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18462 if test x"$ac_file" != x-; then
18463 configure_input="$ac_file.
$configure_input"
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
18465 $as_echo "$as_me: creating
$ac_file" >&6;}
18467 # Neutralize special characters interpreted by sed in replacement strings.
18468 case $configure_input in #(
18469 *\&* | *\|* | *\\* )
18470 ac_sed_conf_input=`$as_echo "$configure_input" |
18471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18472 *) ac_sed_conf_input=$configure_input;;
18476 *:-:* | *:-) cat >"$tmp/stdin
" \
18477 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
18482 ac_dir=`$as_dirname -- "$ac_file" ||
18483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18484 X"$ac_file" : 'X\(//\)[^/]' \| \
18485 X"$ac_file" : 'X\(//\)$' \| \
18486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18487 $as_echo X"$ac_file" |
18488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18492 /^X\(\/\/\)[^/].*/{
18505 as_dir="$ac_dir"; as_fn_mkdir_p
18509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18511 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18512 # A "..
" for each directory in $ac_dir_suffix.
18513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18514 case $ac_top_builddir_sub in
18515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18519 ac_abs_top_builddir=$ac_pwd
18520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18521 # for backward compatibility:
18522 ac_top_builddir=$ac_top_build_prefix
18525 .) # We are building in place.
18527 ac_top_srcdir=$ac_top_builddir_sub
18528 ac_abs_top_srcdir=$ac_pwd ;;
18529 [\\/]* | ?:[\\/]* ) # Absolute name.
18530 ac_srcdir=$srcdir$ac_dir_suffix;
18531 ac_top_srcdir=$srcdir
18532 ac_abs_top_srcdir=$srcdir ;;
18533 *) # Relative name.
18534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18535 ac_top_srcdir=$ac_top_build_prefix$srcdir
18536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18548 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18549 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18554 # If the template does not know about datarootdir, expand it.
18555 # FIXME: This hack should be removed a few years after 2.60.
18556 ac_datarootdir_hack=; ac_datarootdir_seen=
18567 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
18568 *datarootdir*) ac_datarootdir_seen=yes;;
18569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
18571 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
18573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18574 ac_datarootdir_hack='
18575 s&@datadir@&$datadir&g
18576 s&@docdir@&$docdir&g
18577 s&@infodir@&$infodir&g
18578 s&@localedir@&$localedir&g
18579 s&@mandir@&$mandir&g
18580 s&\\\${datarootdir}&$datarootdir&g' ;;
18584 # Neutralize VPATH when `$srcdir' = `.'.
18585 # Shell code in configure.ac might set extrasub.
18586 # FIXME: do we really want to maintain this feature?
18587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18588 ac_sed_extra="$ac_vpsub
18591 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18593 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
18594 s
|@configure_input@
|$ac_sed_conf_input|;t t
18595 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18596 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18597 s
&@srcdir@
&$ac_srcdir&;t t
18598 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18599 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18600 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18601 s
&@builddir@
&$ac_builddir&;t t
18602 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18603 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18604 s
&@INSTALL@
&$ac_INSTALL&;t t
18605 $ac_datarootdir_hack
18607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18608 || as_fn_error "could not create
$ac_file" "$LINENO" 5
18610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18614 which seems to be undefined. Please make sure it is defined." >&5
18615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18616 which seems to be undefined. Please make sure it is defined." >&2;}
18620 -) cat "$tmp/out" && rm -f "$tmp/out";;
18621 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18623 || as_fn_error "could not create $ac_file" "$LINENO" 5
18627 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18628 $as_echo "$as_me: executing $ac_file commands" >&6;}
18633 case $ac_file$ac_mode in
18636 # See if we are running on zsh, and set the options which allow our
18637 # commands through without removal of \ escapes.
18638 if test -n "${ZSH_VERSION+set}" ; then
18639 setopt NO_GLOB_SUBST
18642 cfgfile="${ofile}T"
18643 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18646 cat <<_LT_EOF >> "$cfgfile"
18649 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
18650 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18651 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18652 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18654 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18655 # 2006, 2007, 2008 Free Software Foundation, Inc.
18656 # Written by Gordon Matzigkeit, 1996
18658 # This file is part of GNU Libtool.
18660 # GNU Libtool is free software; you can redistribute it and/or
18661 # modify it under the terms of the GNU General Public License as
18662 # published by the Free Software Foundation; either version 2 of
18663 # the License, or (at your option) any later version.
18665 # As a special exception to the GNU General Public License,
18666 # if you distribute this file as part of a program or library that
18667 # is built using GNU Libtool, you may include this file under the
18668 # same distribution terms that you use for the rest of that program.
18670 # GNU Libtool is distributed in the hope that it will be useful,
18671 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18672 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18673 # GNU General Public License for more details.
18675 # You should have received a copy of the GNU General Public License
18676 # along with GNU Libtool; see the file COPYING. If not, a copy
18677 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18678 # obtained by writing to the Free Software Foundation, Inc.,
18679 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18682 # The names of the tagged configurations supported by this script.
18683 available_tags="CXX "
18685 # ### BEGIN LIBTOOL CONFIG
18687 # Which release of libtool.m4 was used?
18688 macro_version=$macro_version
18689 macro_revision=$macro_revision
18691 # Whether or not to build static libraries.
18692 build_old_libs=$enable_static
18694 # Whether or not to build shared libraries.
18695 build_libtool_libs=$enable_shared
18697 # What type of objects to build.
18700 # Whether or not to optimize for fast installation.
18701 fast_install=$enable_fast_install
18704 host_alias=$host_alias
18708 # The build system.
18709 build_alias=$build_alias
18713 # A sed program that does not truncate output.
18716 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18717 Xsed="\$SED -e 1s/^X//"
18719 # A grep program that handles long lines.
18725 # A literal string matcher.
18728 # A BSD- or MS-compatible name lister.
18731 # Whether we need soft or hard links.
18734 # What is the maximum length of a command?
18735 max_cmd_len=$max_cmd_len
18737 # Object file suffix (normally "o").
18740 # Executable file suffix (normally "").
18743 # whether the shell understands "unset".
18746 # turn spaces into newlines.
18749 # turn newlines into spaces.
18752 # How to create reloadable object files.
18753 reload_flag=$lt_reload_flag
18754 reload_cmds=$lt_reload_cmds
18756 # An object symbol dumper.
18757 OBJDUMP=$lt_OBJDUMP
18759 # Method to check whether dependent libraries are shared objects.
18760 deplibs_check_method=$lt_deplibs_check_method
18762 # Command to use when deplibs_check_method == "file_magic".
18763 file_magic_cmd=$lt_file_magic_cmd
18767 AR_FLAGS=$lt_AR_FLAGS
18769 # A symbol stripping program.
18772 # Commands used to install an old-style archive.
18774 old_postinstall_cmds=$lt_old_postinstall_cmds
18775 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18780 # LTCC compiler flags.
18781 LTCFLAGS=$lt_CFLAGS
18783 # Take the output of nm and produce a listing of raw symbols and C names.
18784 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18786 # Transform the output of nm in a proper C declaration.
18787 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18789 # Transform the output of nm in a C name address pair.
18790 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18792 # Transform the output of nm in a C name address pair when lib prefix is needed.
18793 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18795 # The name of the directory that contains temporary libtool files.
18798 # Shell to use when invoking shell scripts.
18801 # An echo program that does not interpret backslashes.
18804 # Used to examine libraries when file_magic_cmd begins with "file".
18805 MAGIC_CMD=$MAGIC_CMD
18807 # Must we lock files when doing compilation?
18808 need_locks=$lt_need_locks
18810 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18811 DSYMUTIL=$lt_DSYMUTIL
18813 # Tool to change global to local symbols on Mac OS X.
18816 # Tool to manipulate fat objects and archives on Mac OS X.
18819 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18822 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18823 OTOOL64=$lt_OTOOL64
18825 # Old archive suffix (normally "a").
18828 # Shared library suffix (normally ".so").
18829 shrext_cmds=$lt_shrext_cmds
18831 # The commands to extract the exported symbol list from a shared archive.
18832 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18834 # Variables whose values should be saved in libtool wrapper scripts and
18835 # restored at link time.
18836 variables_saved_for_relink=$lt_variables_saved_for_relink
18838 # Do we need the "lib" prefix for modules?
18839 need_lib_prefix=$need_lib_prefix
18841 # Do we need a version for libraries?
18842 need_version=$need_version
18844 # Library versioning type.
18845 version_type=$version_type
18847 # Shared library runtime path variable.
18848 runpath_var=$runpath_var
18850 # Shared library path variable.
18851 shlibpath_var=$shlibpath_var
18853 # Is shlibpath searched before the hard-coded library search path?
18854 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18856 # Format of library name prefix.
18857 libname_spec=$lt_libname_spec
18859 # List of archive names. First name is the real one, the rest are links.
18860 # The last name is the one that the linker finds with -lNAME
18861 library_names_spec=$lt_library_names_spec
18863 # The coded name of the library, if different from the real name.
18864 soname_spec=$lt_soname_spec
18866 # Command to use after installation of a shared archive.
18867 postinstall_cmds=$lt_postinstall_cmds
18869 # Command to use after uninstallation of a shared archive.
18870 postuninstall_cmds=$lt_postuninstall_cmds
18872 # Commands used to finish a libtool library installation in a directory.
18873 finish_cmds=$lt_finish_cmds
18875 # As "finish_cmds", except a single script fragment to be evaled but
18877 finish_eval=$lt_finish_eval
18879 # Whether we should hardcode library paths into libraries.
18880 hardcode_into_libs=$hardcode_into_libs
18882 # Compile-time system search path for libraries.
18883 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18885 # Run-time system search path for libraries.
18886 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18888 # Whether dlopen is supported.
18889 dlopen_support=$enable_dlopen
18891 # Whether dlopen of programs is supported.
18892 dlopen_self=$enable_dlopen_self
18894 # Whether dlopen of statically linked programs is supported.
18895 dlopen_self_static=$enable_dlopen_self_static
18897 # Commands to strip libraries.
18898 old_striplib=$lt_old_striplib
18899 striplib=$lt_striplib
18902 # The linker used to build libraries.
18905 # Commands used to build an old-style archive.
18906 old_archive_cmds=$lt_old_archive_cmds
18908 # A language specific compiler.
18911 # Is the compiler the GNU compiler?
18914 # Compiler flag to turn off builtin functions.
18915 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18917 # How to pass a linker flag through the compiler.
18918 wl=$lt_lt_prog_compiler_wl
18920 # Additional compiler flags for building library objects.
18921 pic_flag=$lt_lt_prog_compiler_pic
18923 # Compiler flag to prevent dynamic linking.
18924 link_static_flag=$lt_lt_prog_compiler_static
18926 # Does compiler simultaneously support -c and -o options?
18927 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18929 # Whether or not to add -lc for building shared libraries.
18930 build_libtool_need_lc=$archive_cmds_need_lc
18932 # Whether or not to disallow shared libs when runtime libs are static.
18933 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18935 # Compiler flag to allow reflexive dlopens.
18936 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18938 # Compiler flag to generate shared objects directly from archives.
18939 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18941 # Whether the compiler copes with passing no objects directly.
18942 compiler_needs_object=$lt_compiler_needs_object
18944 # Create an old-style archive from a shared archive.
18945 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18947 # Create a temporary old-style archive to link instead of a shared archive.
18948 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18950 # Commands used to build a shared archive.
18951 archive_cmds=$lt_archive_cmds
18952 archive_expsym_cmds=$lt_archive_expsym_cmds
18954 # Commands used to build a loadable module if different from building
18955 # a shared archive.
18956 module_cmds=$lt_module_cmds
18957 module_expsym_cmds=$lt_module_expsym_cmds
18959 # Whether we are building with GNU ld or not.
18960 with_gnu_ld=$lt_with_gnu_ld
18962 # Flag that allows shared libraries with undefined symbols to be built.
18963 allow_undefined_flag=$lt_allow_undefined_flag
18965 # Flag that enforces no undefined symbols.
18966 no_undefined_flag=$lt_no_undefined_flag
18968 # Flag to hardcode \$libdir into a binary during linking.
18969 # This must work even if \$libdir does not exist
18970 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18972 # If ld is used when linking, flag to hardcode \$libdir into a binary
18973 # during linking. This must work even if \$libdir does not exist.
18974 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18976 # Whether we need a single "-rpath" flag with a separated argument.
18977 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18979 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18980 # DIR into the resulting binary.
18981 hardcode_direct=$hardcode_direct
18983 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18984 # DIR into the resulting binary and the resulting library dependency is
18985 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18986 # library is relocated.
18987 hardcode_direct_absolute=$hardcode_direct_absolute
18989 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18990 # into the resulting binary.
18991 hardcode_minus_L=$hardcode_minus_L
18993 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18994 # into the resulting binary.
18995 hardcode_shlibpath_var=$hardcode_shlibpath_var
18997 # Set to "yes" if building a shared library automatically hardcodes DIR
18998 # into the library and all subsequent libraries and executables linked
19000 hardcode_automatic=$hardcode_automatic
19002 # Set to yes if linker adds runtime paths of dependent libraries
19003 # to runtime path list.
19004 inherit_rpath=$inherit_rpath
19006 # Whether libtool must link a program against all its dependency libraries.
19007 link_all_deplibs=$link_all_deplibs
19009 # Fix the shell variable \$srcfile for the compiler.
19010 fix_srcfile_path=$lt_fix_srcfile_path
19012 # Set to "yes" if exported symbols are required.
19013 always_export_symbols=$always_export_symbols
19015 # The commands to list exported symbols.
19016 export_symbols_cmds=$lt_export_symbols_cmds
19018 # Symbols that should not be listed in the preloaded symbols.
19019 exclude_expsyms=$lt_exclude_expsyms
19021 # Symbols that must always be exported.
19022 include_expsyms=$lt_include_expsyms
19024 # Commands necessary for linking programs (against libraries) with templates.
19025 prelink_cmds=$lt_prelink_cmds
19027 # Specify filename containing input files.
19028 file_list_spec=$lt_file_list_spec
19030 # How to hardcode a shared library path into an executable.
19031 hardcode_action=$hardcode_action
19033 # The directories searched by this compiler when creating a shared library.
19034 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19036 # Dependencies to place before and after the objects being linked to
19037 # create a shared library.
19038 predep_objects=$lt_predep_objects
19039 postdep_objects=$lt_postdep_objects
19040 predeps=$lt_predeps
19041 postdeps=$lt_postdeps
19043 # The library search path used internally by the compiler when linking
19044 # a shared library.
19045 compiler_lib_search_path=$lt_compiler_lib_search_path
19047 # ### END LIBTOOL CONFIG
19053 cat <<\_LT_EOF >> "$cfgfile"
19054 # AIX sometimes has problems with the GCC collect2 program. For some
19055 # reason, if we set the COLLECT_NAMES environment variable, the problems
19056 # vanish in a puff of smoke.
19057 if test "X${COLLECT_NAMES+set}" != Xset; then
19059 export COLLECT_NAMES
19066 ltmain="$ac_aux_dir/ltmain.sh"
19069 # We use sed instead of cat because bash on DJGPP gets confused if
19070 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19071 # text mode, it properly converts lines to CR/LF. This bash problem
19072 # is reportedly fixed, but why not run on old versions too?
19073 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19074 || (rm -f "$cfgfile"; exit 1)
19078 cat << \_LT_EOF
>> "$cfgfile"
19080 # func_dirname file append nondir_replacement
19081 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19082 # otherwise set result to NONDIR_REPLACEMENT.
19086 */*) func_dirname_result
="${1%/*}${2}" ;;
19087 * ) func_dirname_result
="${3}" ;;
19091 # func_basename file
19094 func_basename_result
="${1##*/}"
19097 # func_dirname_and_basename file append nondir_replacement
19098 # perform func_basename and func_dirname in a single function
19100 # dirname: Compute the dirname of FILE. If nonempty,
19101 # add APPEND to the result, otherwise set result
19102 # to NONDIR_REPLACEMENT.
19103 # value returned in "$func_dirname_result"
19104 # basename: Compute filename of FILE.
19105 # value retuned in "$func_basename_result"
19106 # Implementation must be kept synchronized with func_dirname
19107 # and func_basename. For efficiency, we do not delegate to
19108 # those functions but instead duplicate the functionality here.
19109 func_dirname_and_basename
()
19112 */*) func_dirname_result
="${1%/*}${2}" ;;
19113 * ) func_dirname_result
="${3}" ;;
19115 func_basename_result
="${1##*/}"
19118 # func_stripname prefix suffix name
19119 # strip PREFIX and SUFFIX off of NAME.
19120 # PREFIX and SUFFIX must not contain globbing or regex special
19121 # characters, hashes, percent signs, but SUFFIX may contain a leading
19122 # dot (in which case that matches only a dot).
19125 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19126 # positional parameters, so assign one to ordinary parameter first.
19127 func_stripname_result
=${3}
19128 func_stripname_result
=${func_stripname_result#"${1}"}
19129 func_stripname_result
=${func_stripname_result%"${2}"}
19135 func_opt_split_opt
=${1%%=*}
19136 func_opt_split_arg
=${1#*=}
19143 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
19144 *) func_lo2o_result
=${1} ;;
19148 # func_xform libobj-or-source
19151 func_xform_result
=${1%.*}.lo
19154 # func_arith arithmetic-term...
19157 func_arith_result
=$(( $* ))
19161 # STRING may not start with a hyphen.
19164 func_len_result
=${#1}
19169 *) # Bourne compatible functions.
19170 cat << \_LT_EOF
>> "$cfgfile"
19172 # func_dirname file append nondir_replacement
19173 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19174 # otherwise set result to NONDIR_REPLACEMENT.
19177 # Extract subdirectory from the argument.
19178 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19179 if test "X$func_dirname_result" = "X${1}"; then
19180 func_dirname_result
="${3}"
19182 func_dirname_result
="$func_dirname_result${2}"
19186 # func_basename file
19189 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
19193 # func_stripname prefix suffix name
19194 # strip PREFIX and SUFFIX off of NAME.
19195 # PREFIX and SUFFIX must not contain globbing or regex special
19196 # characters, hashes, percent signs, but SUFFIX may contain a leading
19197 # dot (in which case that matches only a dot).
19198 # func_strip_suffix prefix name
19202 .
*) func_stripname_result
=`$ECHO "X${3}" \
19203 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19204 *) func_stripname_result
=`$ECHO "X${3}" \
19205 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19210 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
19211 my_sed_long_arg
='1s/^-[^=]*=//'
19216 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19217 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19223 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19226 # func_xform libobj-or-source
19229 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19232 # func_arith arithmetic-term...
19235 func_arith_result
=`expr "$@"`
19239 # STRING may not start with a hyphen.
19242 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19248 case $lt_shell_append in
19250 cat << \_LT_EOF
>> "$cfgfile"
19252 # func_append var value
19253 # Append VALUE to the end of shell variable VAR.
19261 cat << \_LT_EOF
>> "$cfgfile"
19263 # func_append var value
19264 # Append VALUE to the end of shell variable VAR.
19275 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19276 || (rm -f "$cfgfile"; exit 1)
19278 mv -f "$cfgfile" "$ofile" ||
19279 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19283 cat <<_LT_EOF >> "$ofile"
19285 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19287 # The linker used to build libraries.
19290 # Commands used to build an old-style archive.
19291 old_archive_cmds=$lt_old_archive_cmds_CXX
19293 # A language specific compiler.
19294 CC=$lt_compiler_CXX
19296 # Is the compiler the GNU compiler?
19299 # Compiler flag to turn off builtin functions.
19300 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19302 # How to pass a linker flag through the compiler.
19303 wl=$lt_lt_prog_compiler_wl_CXX
19305 # Additional compiler flags for building library objects.
19306 pic_flag=$lt_lt_prog_compiler_pic_CXX
19308 # Compiler flag to prevent dynamic linking.
19309 link_static_flag=$lt_lt_prog_compiler_static_CXX
19311 # Does compiler simultaneously support -c and -o options?
19312 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19314 # Whether or not to add -lc for building shared libraries.
19315 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19317 # Whether or not to disallow shared libs when runtime libs are static.
19318 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19320 # Compiler flag to allow reflexive dlopens.
19321 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19323 # Compiler flag to generate shared objects directly from archives.
19324 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19326 # Whether the compiler copes with passing no objects directly.
19327 compiler_needs_object=$lt_compiler_needs_object_CXX
19329 # Create an old-style archive from a shared archive.
19330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19332 # Create a temporary old-style archive to link instead of a shared archive.
19333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19335 # Commands used to build a shared archive.
19336 archive_cmds=$lt_archive_cmds_CXX
19337 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19339 # Commands used to build a loadable module if different from building
19340 # a shared archive.
19341 module_cmds=$lt_module_cmds_CXX
19342 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19344 # Whether we are building with GNU ld or not.
19345 with_gnu_ld=$lt_with_gnu_ld_CXX
19347 # Flag that allows shared libraries with undefined symbols to be built.
19348 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19350 # Flag that enforces no undefined symbols.
19351 no_undefined_flag=$lt_no_undefined_flag_CXX
19353 # Flag to hardcode \$libdir into a binary during linking.
19354 # This must work even if \$libdir does not exist
19355 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19357 # If ld is used when linking, flag to hardcode \$libdir into a binary
19358 # during linking. This must work even if \$libdir does not exist.
19359 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
19361 # Whether we need a single "-rpath" flag with a separated argument.
19362 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19364 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19365 # DIR into the resulting binary.
19366 hardcode_direct=$hardcode_direct_CXX
19368 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19369 # DIR into the resulting binary and the resulting library dependency is
19370 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19371 # library is relocated.
19372 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19374 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19375 # into the resulting binary.
19376 hardcode_minus_L=$hardcode_minus_L_CXX
19378 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19379 # into the resulting binary.
19380 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19382 # Set to "yes" if building a shared library automatically hardcodes DIR
19383 # into the library and all subsequent libraries and executables linked
19385 hardcode_automatic=$hardcode_automatic_CXX
19387 # Set to yes if linker adds runtime paths of dependent libraries
19388 # to runtime path list.
19389 inherit_rpath=$inherit_rpath_CXX
19391 # Whether libtool must link a program against all its dependency libraries.
19392 link_all_deplibs=$link_all_deplibs_CXX
19394 # Fix the shell variable \$srcfile for the compiler.
19395 fix_srcfile_path=$lt_fix_srcfile_path_CXX
19397 # Set to "yes" if exported symbols are required.
19398 always_export_symbols=$always_export_symbols_CXX
19400 # The commands to list exported symbols.
19401 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19403 # Symbols that should not be listed in the preloaded symbols.
19404 exclude_expsyms=$lt_exclude_expsyms_CXX
19406 # Symbols that must always be exported.
19407 include_expsyms=$lt_include_expsyms_CXX
19409 # Commands necessary for linking programs (against libraries) with templates.
19410 prelink_cmds=$lt_prelink_cmds_CXX
19412 # Specify filename containing input files.
19413 file_list_spec=$lt_file_list_spec_CXX
19415 # How to hardcode a shared library path into an executable.
19416 hardcode_action=$hardcode_action_CXX
19418 # The directories searched by this compiler when creating a shared library.
19419 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19421 # Dependencies to place before and after the objects being linked to
19422 # create a shared library.
19423 predep_objects=$lt_predep_objects_CXX
19424 postdep_objects=$lt_postdep_objects_CXX
19425 predeps=$lt_predeps_CXX
19426 postdeps=$lt_postdeps_CXX
19428 # The library search path used internally by the compiler when linking
19429 # a shared library.
19430 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19432 # ### END LIBTOOL TAG CONFIG: CXX
19443 ac_clean_files
=$ac_clean_files_save
19445 test $ac_write_fail = 0 ||
19446 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
19449 # configure is writing to config.log, and then calls config.status.
19450 # config.status does its own redirection, appending to config.log.
19451 # Unfortunately, on DOS this fails, as config.log is still kept open
19452 # by configure, so config.status won't be able to write to it; its
19453 # output is simply discarded. So we exec the FD to /dev/null,
19454 # effectively closing config.log, so it can be properly (re)opened and
19455 # appended to by config.status. When coming back to configure, we
19456 # need to make the FD available again.
19457 if test "$no_create" != yes; then
19459 ac_config_status_args
=
19460 test "$silent" = yes &&
19461 ac_config_status_args
="$ac_config_status_args --quiet"
19463 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19465 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19466 # would make configure fail if this is the last instruction.
19467 $ac_cs_success || as_fn_exit $?
19469 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19471 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}