2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 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, 2010 Free Software
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 STATUS 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
=$1; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&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 test -n "$DJDIR" || exec 7<&0 </dev
/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix
=/usr
/local
694 ac_config_libobj_dir
=.
701 # Identity of this package.
702 PACKAGE_NAME
='Cycript'
703 PACKAGE_TARNAME
='cycript'
704 PACKAGE_VERSION
='0.9'
705 PACKAGE_STRING
='Cycript 0.9'
706 PACKAGE_BUGREPORT
='saurik@saurik.com'
707 PACKAGE_URL
='http://www.cycript.org/'
709 ac_unique_file
="Console.cpp"
710 # Factoring default headers for most tests.
711 ac_includes_default
="\
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
723 # ifdef HAVE_STDLIB_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
746 ac_subst_vars
='LTLIBOBJS
854 program_transform_name
867 enable_option_checking
874 enable_universal_binary
881 ac_precious_vars
='build_alias
909 # Initialize some variables set by options.
911 ac_init_version
=false
912 ac_unrecognized_opts
=
914 # The variables have the same names as the options, with
915 # dashes changed to underlines.
923 program_transform_name
=s
,x
,x
,
931 # Installation directory options.
932 # These are left unexpanded so users can "make install exec_prefix=/foo"
933 # and all the variables that are supposed to be based on exec_prefix
934 # by default will actually change.
935 # Use braces instead of parens because sh, perl, etc. also accept them.
936 # (The list follows the same order as the GNU Coding Standards.)
937 bindir
='${exec_prefix}/bin'
938 sbindir
='${exec_prefix}/sbin'
939 libexecdir
='${exec_prefix}/libexec'
940 datarootdir
='${prefix}/share'
941 datadir
='${datarootdir}'
942 sysconfdir
='${prefix}/etc'
943 sharedstatedir
='${prefix}/com'
944 localstatedir
='${prefix}/var'
945 includedir
='${prefix}/include'
946 oldincludedir
='/usr/include'
947 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
948 infodir
='${datarootdir}/info'
953 libdir
='${exec_prefix}/lib'
954 localedir
='${datarootdir}/locale'
955 mandir
='${datarootdir}/man'
961 # If the previous option needs an argument, assign it.
962 if test -n "$ac_prev"; then
963 eval $ac_prev=\
$ac_option
969 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
974 # Accept the important Cygnus configure options, so we can diagnose typos.
976 case $ac_dashdash$ac_option in
980 -bindir | --bindir | --bindi | --bind | --bin | --bi)
982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985 -build | --build | --buil | --bui | --bu)
986 ac_prev
=build_alias
;;
987 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
988 build_alias
=$ac_optarg ;;
990 -cache-file | --cache-file | --cache-fil | --cache-fi \
991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
992 ac_prev
=cache_file
;;
993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
995 cache_file
=$ac_optarg ;;
998 cache_file
=config.cache
;;
1000 -datadir | --datadir | --datadi | --datad)
1002 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1003 datadir
=$ac_optarg ;;
1005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1006 | --dataroo | --dataro | --datar)
1007 ac_prev
=datarootdir
;;
1008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1010 datarootdir
=$ac_optarg ;;
1012 -disable-* | --disable-*)
1013 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1016 as_fn_error $?
"invalid feature name: $ac_useropt"
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=no
;;
1028 -docdir | --docdir | --docdi | --doc | --do)
1030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031 docdir
=$ac_optarg ;;
1033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036 dvidir
=$ac_optarg ;;
1038 -enable-* | --enable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 as_fn_error $?
"invalid feature name: $ac_useropt"
1043 ac_useropt_orig
=$ac_useropt
1044 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1047 "enable_
$ac_useropt"
1049 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1050 ac_unrecognized_sep
=', ';;
1052 eval enable_
$ac_useropt=\
$ac_optarg ;;
1054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1056 | --exec | --exe | --ex)
1057 ac_prev
=exec_prefix
;;
1058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1060 | --exec=* | --exe=* | --ex=*)
1061 exec_prefix
=$ac_optarg ;;
1063 -gas | --gas | --ga | --g)
1064 # Obsolete; use --with-gas.
1067 -help | --help | --hel | --he | -h)
1068 ac_init_help
=long
;;
1069 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1070 ac_init_help
=recursive
;;
1071 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1072 ac_init_help
=short
;;
1074 -host | --host | --hos | --ho)
1075 ac_prev
=host_alias
;;
1076 -host=* | --host=* | --hos=* | --ho=*)
1077 host_alias
=$ac_optarg ;;
1079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1083 htmldir
=$ac_optarg ;;
1085 -includedir | --includedir | --includedi | --included | --include \
1086 | --includ | --inclu | --incl | --inc)
1087 ac_prev
=includedir
;;
1088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1089 | --includ=* | --inclu=* | --incl=* | --inc=*)
1090 includedir
=$ac_optarg ;;
1092 -infodir | --infodir | --infodi | --infod | --info | --inf)
1094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1095 infodir
=$ac_optarg ;;
1097 -libdir | --libdir | --libdi | --libd)
1099 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1100 libdir
=$ac_optarg ;;
1102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1103 | --libexe | --libex | --libe)
1104 ac_prev
=libexecdir
;;
1105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1106 | --libexe=* | --libex=* | --libe=*)
1107 libexecdir
=$ac_optarg ;;
1109 -localedir | --localedir | --localedi | --localed | --locale)
1110 ac_prev
=localedir
;;
1111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1112 localedir
=$ac_optarg ;;
1114 -localstatedir | --localstatedir | --localstatedi | --localstated \
1115 | --localstate | --localstat | --localsta | --localst | --locals)
1116 ac_prev
=localstatedir
;;
1117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1119 localstatedir
=$ac_optarg ;;
1121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1124 mandir
=$ac_optarg ;;
1126 -nfp | --nfp | --nf)
1127 # Obsolete; use --without-fp.
1130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1131 | --no-cr | --no-c | -n)
1134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1140 | --oldin | --oldi | --old | --ol | --o)
1141 ac_prev
=oldincludedir
;;
1142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1145 oldincludedir
=$ac_optarg ;;
1147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1150 prefix
=$ac_optarg ;;
1152 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1153 | --program-pre | --program-pr | --program-p)
1154 ac_prev
=program_prefix
;;
1155 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1157 program_prefix
=$ac_optarg ;;
1159 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1160 | --program-suf | --program-su | --program-s)
1161 ac_prev
=program_suffix
;;
1162 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1164 program_suffix
=$ac_optarg ;;
1166 -program-transform-name | --program-transform-name \
1167 | --program-transform-nam | --program-transform-na \
1168 | --program-transform-n | --program-transform- \
1169 | --program-transform | --program-transfor \
1170 | --program-transfo | --program-transf \
1171 | --program-trans | --program-tran \
1172 | --progr-tra | --program-tr | --program-t)
1173 ac_prev
=program_transform_name
;;
1174 -program-transform-name=* | --program-transform-name=* \
1175 | --program-transform-nam=* | --program-transform-na=* \
1176 | --program-transform-n=* | --program-transform-=* \
1177 | --program-transform=* | --program-transfor=* \
1178 | --program-transfo=* | --program-transf=* \
1179 | --program-trans=* | --program-tran=* \
1180 | --progr-tra=* | --program-tr=* | --program-t=*)
1181 program_transform_name
=$ac_optarg ;;
1183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1186 pdfdir
=$ac_optarg ;;
1188 -psdir | --psdir | --psdi | --psd | --ps)
1190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1194 | -silent | --silent | --silen | --sile | --sil)
1197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1201 sbindir
=$ac_optarg ;;
1203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1205 | --sharedst | --shareds | --shared | --share | --shar \
1207 ac_prev
=sharedstatedir
;;
1208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1212 sharedstatedir
=$ac_optarg ;;
1214 -site | --site | --sit)
1216 -site=* | --site=* | --sit=*)
1219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1222 srcdir
=$ac_optarg ;;
1224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1225 | --syscon | --sysco | --sysc | --sys | --sy)
1226 ac_prev
=sysconfdir
;;
1227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1229 sysconfdir
=$ac_optarg ;;
1231 -target | --target | --targe | --targ | --tar | --ta | --t)
1232 ac_prev
=target_alias
;;
1233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1234 target_alias
=$ac_optarg ;;
1236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239 -version | --version | --versio | --versi | --vers | -V)
1240 ac_init_version
=: ;;
1243 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1246 as_fn_error $?
"invalid package name: $ac_useropt"
1247 ac_useropt_orig
=$ac_useropt
1248 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254 ac_unrecognized_sep
=', ';;
1256 eval with_
$ac_useropt=\
$ac_optarg ;;
1258 -without-* | --without-*)
1259 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1262 as_fn_error $?
"invalid package name: $ac_useropt"
1263 ac_useropt_orig
=$ac_useropt
1264 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1269 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep
=', ';;
1272 eval with_
$ac_useropt=no
;;
1275 # Obsolete; use --with-x.
1278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1279 | --x-incl | --x-inc | --x-in | --x-i)
1280 ac_prev
=x_includes
;;
1281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1283 x_includes
=$ac_optarg ;;
1285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1287 ac_prev
=x_libraries
;;
1288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1290 x_libraries
=$ac_optarg ;;
1292 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1293 Try \`$0 --help' for more information"
1297 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1298 # Reject names that are not valid shell variable names.
1299 case $ac_envvar in #(
1300 '' | [0-9]* | *[!_$as_cr_alnum]* )
1301 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1303 eval $ac_envvar=\
$ac_optarg
1304 export $ac_envvar ;;
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1317 if test -n "$ac_prev"; then
1318 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1319 as_fn_error $?
"missing argument to $ac_option"
1322 if test -n "$ac_unrecognized_opts"; then
1323 case $enable_option_checking in
1325 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1330 # Check all directory arguments for consistency.
1331 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332 datadir sysconfdir sharedstatedir localstatedir includedir \
1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334 libdir localedir mandir
1336 eval ac_val
=\$
$ac_var
1337 # Remove trailing slashes.
1340 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341 eval $ac_var=\
$ac_val;;
1343 # Be sure to have absolute directory names.
1345 [\\/$
]* | ?
:[\\/]* ) continue;;
1346 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1348 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1356 target
=$target_alias
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x
; then
1360 if test "x$build_alias" = x
; then
1361 cross_compiling
=maybe
1362 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1363 If a cross compiler is detected then cross compile mode will be used" >&2
1364 elif test "x$build_alias" != "x$host_alias"; then
1370 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1372 test "$silent" = yes && exec 6>/dev
/null
1375 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di
=`ls -di .` &&
1377 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1378 as_fn_error $?
"working directory cannot be determined"
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 as_fn_error $?
"pwd does not report name of working directory"
1383 # Find the source files, if location was not specified.
1384 if test -z "$srcdir"; then
1385 ac_srcdir_defaulted
=yes
1386 # Try the directory containing this script, then the parent directory.
1387 ac_confdir
=`$as_dirname -- "$as_myself" ||
1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1389 X"$as_myself" : 'X\(//\)[^/]' \| \
1390 X"$as_myself" : 'X\(//\)$' \| \
1391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1392 $as_echo X"$as_myself" |
1393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1415 ac_srcdir_defaulted
=no
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1419 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1421 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1425 # When building in place, set srcdir=.
1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429 # Remove unnecessary trailing slashes from srcdir.
1430 # Double slashes in file names in object file debugging info
1431 # mess up M-x gdb in Emacs.
1433 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1435 for ac_var
in $ac_precious_vars; do
1436 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1437 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1438 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1439 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1443 # Report the --help message.
1445 if test "$ac_init_help" = "long"; then
1446 # Omit some internal or obsolete options to make the list less imposing.
1447 # This message is too long to be a string in the A/UX 3.1 sh.
1449 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1451 Usage: $0 [OPTION]... [VAR=VALUE]...
1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1454 VAR=VALUE. See below for descriptions of some of the useful variables.
1456 Defaults for the options are specified in brackets.
1459 -h, --help display this help and exit
1460 --help=short display options specific to this package
1461 --help=recursive display the short help of all the included packages
1462 -V, --version display version information and exit
1463 -q, --quiet, --silent do not print \`checking ...' messages
1464 --cache-file=FILE cache test results in FILE [disabled]
1465 -C, --config-cache alias for \`--cache-file=config.cache'
1466 -n, --no-create do not create output files
1467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1469 Installation directories:
1470 --prefix=PREFIX install architecture-independent files in PREFIX
1471 [$ac_default_prefix]
1472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1475 By default, \`make install' will install all the files in
1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1478 for instance \`--prefix=\$HOME'.
1480 For better control, use the options below.
1482 Fine tuning of the installation directories:
1483 --bindir=DIR user executables [EPREFIX/bin]
1484 --sbindir=DIR system admin executables [EPREFIX/sbin]
1485 --libexecdir=DIR program executables [EPREFIX/libexec]
1486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1489 --libdir=DIR object code libraries [EPREFIX/lib]
1490 --includedir=DIR C header files [PREFIX/include]
1491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1494 --infodir=DIR info documentation [DATAROOTDIR/info]
1495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1496 --mandir=DIR man documentation [DATAROOTDIR/man]
1497 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1498 --htmldir=DIR html documentation [DOCDIR]
1499 --dvidir=DIR dvi documentation [DOCDIR]
1500 --pdfdir=DIR pdf documentation [DOCDIR]
1501 --psdir=DIR ps documentation [DOCDIR]
1507 --build=BUILD configure
for building on BUILD
[guessed
]
1508 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1512 if test -n "$ac_init_help"; then
1513 case $ac_init_help in
1514 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1519 --disable-option-checking ignore unrecognized
--enable/--with options
1520 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1521 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1522 --enable-static[=PKGS
] build static libraries
[default
=no
]
1523 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1524 --enable-fast-install[=PKGS
]
1525 optimize
for fast installation
[default
=yes]
1526 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1527 --disable-universal-binary
1528 do not build with universal binary support on Darwin
1529 --enable-javascript[=ENGINE
]
1530 use a JavaScript runtime
(currently the only
1531 available option
for ENGINE is JavaScriptCore
)
1533 --disable-rpath do not hardcode runtime library paths
1536 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1537 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1538 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1540 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1541 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1542 path
for frameworks with
-F
1543 --with-apr=PATH prefix
for installed APR or the full path to
1545 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1546 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1547 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1549 Some influential environment variables:
1550 CC C compiler command
1551 CFLAGS C compiler flags
1552 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1553 nonstandard directory <lib dir>
1554 LIBS libraries to pass to the linker, e.g. -l<library>
1555 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1556 you have headers in a nonstandard directory <include dir>
1558 PKG_CONFIG path to pkg-config utility
1560 directories to add to pkg-config's search path
1562 path overriding pkg
-config's built-in search path
1563 BISON GNU Project parser generator (yacc replacement)
1564 FLEX the fast lexical analyser generator
1565 GPERF perfect hash function generator
1566 CXX C++ compiler command
1567 CXXFLAGS C++ compiler flags
1568 CXXCPP C++ preprocessor
1569 OBJCXX Objective C++ compiler command
1570 OBJCXXFLAGS Objective C++ compiler flags
1572 C compiler flags for WEBKIT, overriding pkg-config
1573 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1575 C compiler flags for LIBFFI, overriding pkg-config
1576 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1578 prints information about the current gnustep installation
1580 Use these variables to override the choices made by `configure' or to
help
1581 it to
find libraries and programs with nonstandard names
/locations.
1583 Report bugs to
<saurik@saurik.com
>.
1584 Cycript home page
: <http
://www.cycript.org
/>.
1589 if test "$ac_init_help" = "recursive"; then
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1600 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601 # A ".." for each directory in $ac_dir_suffix.
1602 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603 case $ac_top_builddir_sub in
1604 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1605 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1608 ac_abs_top_builddir
=$ac_pwd
1609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir
=$ac_top_build_prefix
1614 .
) # We are building in place.
1616 ac_top_srcdir
=$ac_top_builddir_sub
1617 ac_abs_top_srcdir
=$ac_pwd ;;
1618 [\\/]* | ?
:[\\/]* ) # Absolute name.
1619 ac_srcdir
=$srcdir$ac_dir_suffix;
1620 ac_top_srcdir
=$srcdir
1621 ac_abs_top_srcdir
=$srcdir ;;
1623 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1625 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1629 cd "$ac_dir" || { ac_status
=$?
; continue; }
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 cd "$ac_pwd" || { ac_status
=$?
; break; }
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1647 Cycript configure
0.9
1648 generated by GNU Autoconf
2.67
1650 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1651 This configure
script is free software
; the Free Software Foundation
1652 gives unlimited permission to copy
, distribute and modify it.
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile
()
1666 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1667 rm -f conftest.
$ac_objext
1668 if { { ac_try
="$ac_compile"
1670 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_compile
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext conftest$ac_exeext
1706 if { { ac_try="$ac_link"
1708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1709 *) ac_try_echo
=$ac_try;;
1711 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>conftest.err
1715 if test -s conftest.err
; then
1716 grep -v '^ *+' conftest.err
>conftest.er1
1717 cat conftest.er1
>&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest
$ac_exeext && {
1725 test "$cross_compiling" = yes ||
1726 $as_test_x conftest
$ac_exeext
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.
$ac_ext >&5
1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737 # interfere with the next link command; also delete a directory that is
1738 # left behind by Apple's compiler. We do this before executing the actions.
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1741 as_fn_set_status
$ac_retval
1743 } # ac_fn_c_try_link
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval "test \"\${$3+set}\"" = set; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile
"$LINENO"; then :
1767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_try_cpp LINENO
1777 # ----------------------
1778 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1782 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } > conftest.i && {
1798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1809 as_fn_set_status $ac_retval
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_link"
1822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1823 *) ac_try_echo
=$ac_try;;
1825 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1831 { { case "(($ac_try" in
1832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_try") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; }; }; then :
1843 $as_echo "$as_me: program exited with status $ac_status" >&5
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1847 ac_retval=$ac_status
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1851 as_fn_set_status $ac_retval
1855 # ac_fn_c_check_func LINENO FUNC VAR
1856 # ----------------------------------
1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1858 ac_fn_c_check_func ()
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval "test \"\${$3+set}\"" = set; then :
1864 $as_echo_n "(cached) " >&6
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1870 #define $2 innocuous_$2
1872 /* System header to define __stub macros and hopefully few prototypes,
1873 which can conflict with char $2 (); below.
1874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1875 <limits.h> exists even on freestanding compilers. */
1878 # include <limits.h>
1880 # include <assert.h>
1885 /* Override any GCC internal prototype to avoid an error.
1886 Use char because int might match the return type of a GCC
1887 builtin and then its argument prototype would still apply. */
1892 /* The GNU C library defines this for functions which it implements
1893 to always fail with ENOSYS. Some functions are actually named
1894 something starting with __ and the normal name is an alias. */
1895 #if defined __stub_$2 || defined __stub___$2
1907 if ac_fn_c_try_link "$LINENO"; then :
1912 rm -f core conftest.err conftest.$ac_objext \
1913 conftest$ac_exeext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 } # ac_fn_c_check_func
1922 # ac_fn_cxx_try_compile LINENO
1923 # ----------------------------
1924 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1925 ac_fn_cxx_try_compile ()
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 rm -f conftest.$ac_objext
1929 if { { ac_try="$ac_compile"
1931 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1932 *) ac_try_echo
=$ac_try;;
1934 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 $as_echo "$ac_try_echo"; } >&5
1936 (eval "$ac_compile") 2>conftest.err
1938 if test -s conftest.err
; then
1939 grep -v '^ *+' conftest.err
>conftest.er1
1940 cat conftest.er1
>&5
1941 mv -f conftest.er1 conftest.err
1943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1944 test $ac_status = 0; } && {
1945 test -z "$ac_cxx_werror_flag" ||
1946 test ! -s conftest.err
1947 } && test -s conftest.
$ac_objext; then :
1950 $as_echo "$as_me: failed program was:" >&5
1951 sed 's/^/| /' conftest.
$ac_ext >&5
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1956 as_fn_set_status
$ac_retval
1958 } # ac_fn_cxx_try_compile
1960 # ac_fn_cxx_try_cpp LINENO
1961 # ------------------------
1962 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1963 ac_fn_cxx_try_cpp
()
1965 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1966 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1969 *) ac_try_echo=$ac_try;;
1971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972 $as_echo "$ac_try_echo"; } >&5
1973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1975 if test -s conftest.err; then
1976 grep -v '^ *+' conftest.err >conftest.er1
1977 cat conftest.er1 >&5
1978 mv -f conftest.er1 conftest.err
1980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981 test $ac_status = 0; } > conftest.i && {
1982 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1983 test ! -s conftest.err
1987 $as_echo "$as_me: failed program was:" >&5
1988 sed 's/^/| /' conftest.$ac_ext >&5
1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993 as_fn_set_status $ac_retval
1995 } # ac_fn_cxx_try_cpp
1997 # ac_fn_cxx_try_link LINENO
1998 # -------------------------
1999 # Try to link conftest.$ac_ext, and return whether this succeeded.
2000 ac_fn_cxx_try_link ()
2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003 rm -f conftest.$ac_objext conftest$ac_exeext
2004 if { { ac_try="$ac_link"
2006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2007 *) ac_try_echo
=$ac_try;;
2009 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2010 $as_echo "$ac_try_echo"; } >&5
2011 (eval "$ac_link") 2>conftest.err
2013 if test -s conftest.err
; then
2014 grep -v '^ *+' conftest.err
>conftest.er1
2015 cat conftest.er1
>&5
2016 mv -f conftest.er1 conftest.err
2018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2019 test $ac_status = 0; } && {
2020 test -z "$ac_cxx_werror_flag" ||
2021 test ! -s conftest.err
2022 } && test -s conftest
$ac_exeext && {
2023 test "$cross_compiling" = yes ||
2024 $as_test_x conftest
$ac_exeext
2028 $as_echo "$as_me: failed program was:" >&5
2029 sed 's/^/| /' conftest.
$ac_ext >&5
2033 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2034 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2035 # interfere with the next link command; also delete a directory that is
2036 # left behind by Apple's compiler. We do this before executing the actions.
2037 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2038 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2039 as_fn_set_status
$ac_retval
2041 } # ac_fn_cxx_try_link
2043 # ac_fn_objcxx_try_compile LINENO
2044 # -------------------------------
2045 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2046 ac_fn_objcxx_try_compile
()
2048 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2049 rm -f conftest.
$ac_objext
2050 if { { ac_try
="$ac_compile"
2052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2053 *) ac_try_echo=$ac_try;;
2055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2056 $as_echo "$ac_try_echo"; } >&5
2057 (eval "$ac_compile") 2>conftest.err
2059 if test -s conftest.err; then
2060 grep -v '^ *+' conftest.err >conftest.er1
2061 cat conftest.er1 >&5
2062 mv -f conftest.er1 conftest.err
2064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065 test $ac_status = 0; } && {
2066 test -z "$ac_objcxx_werror_flag" ||
2067 test ! -s conftest.err
2068 } && test -s conftest.$ac_objext; then :
2071 $as_echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.$ac_ext >&5
2076 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2077 as_fn_set_status $ac_retval
2079 } # ac_fn_objcxx_try_compile
2081 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2082 # ---------------------------------------------------------
2083 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2084 # the include files in INCLUDES and setting the cache variable VAR
2086 ac_fn_cxx_check_header_mongrel ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 if eval "test \"\${$3+set}\"" = set; then :
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval "test \"\${$3+set}\"" = set; then :
2093 $as_echo_n "(cached) " >&6
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2099 # Is the header compilable?
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2101 $as_echo_n "checking $2 usability... " >&6; }
2102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 /* end confdefs.h. */
2107 if ac_fn_cxx_try_compile "$LINENO"; then :
2108 ac_header_compiler=yes
2110 ac_header_compiler=no
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2114 $as_echo "$ac_header_compiler" >&6; }
2116 # Is the header present?
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2118 $as_echo_n "checking $2 presence... " >&6; }
2119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2123 if ac_fn_cxx_try_cpp "$LINENO"; then :
2124 ac_header_preproc=yes
2126 ac_header_preproc=no
2128 rm -f conftest.err conftest.i conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2130 $as_echo "$ac_header_preproc" >&6; }
2132 # So? What about this header?
2133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2136 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2142 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2144 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2146 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2148 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2150 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2151 ( $as_echo "## -------------------------------- ##
2152 ## Report this to saurik@saurik.com ##
2153 ## -------------------------------- ##"
2154 ) | sed "s/^/$as_me: WARNING: /" >&2
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2158 $as_echo_n "checking for $2... " >&6; }
2159 if eval "test \"\${$3+set}\"" = set; then :
2160 $as_echo_n "(cached) " >&6
2162 eval "$3=\$ac_header_compiler"
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2166 $as_echo "$ac_res" >&6; }
2168 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2170 } # ac_fn_cxx_check_header_mongrel
2172 # ac_fn_objcxx_try_link LINENO
2173 # ----------------------------
2174 # Try to link conftest.$ac_ext, and return whether this succeeded.
2175 ac_fn_objcxx_try_link ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 rm -f conftest.$ac_objext conftest$ac_exeext
2179 if { { ac_try="$ac_link"
2181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2182 *) ac_try_echo
=$ac_try;;
2184 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2185 $as_echo "$ac_try_echo"; } >&5
2186 (eval "$ac_link") 2>conftest.err
2188 if test -s conftest.err
; then
2189 grep -v '^ *+' conftest.err
>conftest.er1
2190 cat conftest.er1
>&5
2191 mv -f conftest.er1 conftest.err
2193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2194 test $ac_status = 0; } && {
2195 test -z "$ac_objcxx_werror_flag" ||
2196 test ! -s conftest.err
2197 } && test -s conftest
$ac_exeext && {
2198 test "$cross_compiling" = yes ||
2199 $as_test_x conftest
$ac_exeext
2203 $as_echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.
$ac_ext >&5
2208 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2209 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2210 # interfere with the next link command; also delete a directory that is
2211 # left behind by Apple's compiler. We do this before executing the actions.
2212 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2213 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2214 as_fn_set_status
$ac_retval
2216 } # ac_fn_objcxx_try_link
2217 cat >config.log
<<_ACEOF
2218 This file contains any messages produced by compilers while
2219 running configure, to aid debugging if configure makes a mistake.
2221 It was created by Cycript $as_me 0.9, which was
2222 generated by GNU Autoconf 2.67. Invocation command line was
2234 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2235 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2236 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2237 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2238 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2240 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2241 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2243 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2244 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2245 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2246 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2247 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2248 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2249 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2257 test -z "$as_dir" && as_dir
=.
2258 $as_echo "PATH: $as_dir"
2274 # Keep a trace of the command line.
2275 # Strip out --no-create and --no-recursion so they do not pile up.
2276 # Strip out --silent because we don't want to record it for future runs.
2277 # Also quote any args containing shell meta-characters.
2278 # Make two passes to allow for proper duplicate-argument suppression.
2282 ac_must_keep_next
=false
2288 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2289 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2290 | -silent | --silent | --silen | --sile | --sil)
2293 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2296 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2298 as_fn_append ac_configure_args1
" '$ac_arg'"
2299 if test $ac_must_keep_next = true
; then
2300 ac_must_keep_next
=false
# Got value, back to normal.
2303 *=* | --config-cache | -C | -disable-* | --disable-* \
2304 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2305 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2306 | -with-* | --with-* | -without-* | --without-* | --x)
2307 case "$ac_configure_args0 " in
2308 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2311 -* ) ac_must_keep_next
=true
;;
2314 as_fn_append ac_configure_args
" '$ac_arg'"
2319 { ac_configure_args0
=; unset ac_configure_args0
;}
2320 { ac_configure_args1
=; unset ac_configure_args1
;}
2322 # When interrupted or exit'd, cleanup temporary files, and complete
2323 # config.log. We remove comments because anyway the quotes in there
2324 # would cause problems or look ugly.
2325 # WARNING: Use '\'' to represent an apostrophe within the trap.
2326 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2327 trap 'exit_status=$?
2328 # Save into config.log some information that might help in debugging.
2332 $as_echo "## ---------------- ##
2333 ## Cache variables. ##
2334 ## ---------------- ##"
2336 # The following way of writing the cache mishandles newlines in values,
2338 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2339 eval ac_val=\$$ac_var
2343 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2344 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2347 _ | IFS | as_nl) ;; #(
2348 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2349 *) { eval $ac_var=; unset $ac_var;} ;;
2354 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2355 *${as_nl}ac_space=\ *)
2357 "s/'\''/'\''\\\\'\'''\''/g;
2358 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2368 $as_echo "## ----------------- ##
2369 ## Output variables. ##
2370 ## ----------------- ##"
2372 for ac_var in $ac_subst_vars
2374 eval ac_val=\$$ac_var
2376 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2378 $as_echo "$ac_var='\''$ac_val'\''"
2382 if test -n "$ac_subst_files"; then
2383 $as_echo "## ------------------- ##
2384 ## File substitutions. ##
2385 ## ------------------- ##"
2387 for ac_var
in $ac_subst_files
2389 eval ac_val
=\$
$ac_var
2391 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2393 $as_echo "$ac_var='\''$ac_val'\''"
2398 if test -s confdefs.h; then
2399 $as_echo "## ----------- ##
2406 test "$ac_signal" != 0 &&
2407 $as_echo "$as_me: caught signal $ac_signal"
2408 $as_echo "$as_me: exit $exit_status"
2410 rm -f core *.core core.conftest.* &&
2411 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2414 for ac_signal
in 1 2 13 15; do
2415 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2419 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2420 rm -f -r conftest
* confdefs.h
2422 $as_echo "/* confdefs.h */" > confdefs.h
2424 # Predefined preprocessor variables.
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_NAME "$PACKAGE_NAME"
2430 cat >>confdefs.h
<<_ACEOF
2431 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2434 cat >>confdefs.h
<<_ACEOF
2435 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2438 cat >>confdefs.h
<<_ACEOF
2439 #define PACKAGE_STRING "$PACKAGE_STRING"
2442 cat >>confdefs.h
<<_ACEOF
2443 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2446 cat >>confdefs.h
<<_ACEOF
2447 #define PACKAGE_URL "$PACKAGE_URL"
2451 # Let the site file select an alternate cache file if it wants to.
2452 # Prefer an explicitly selected file to automatically selected ones.
2455 if test -n "$CONFIG_SITE"; then
2456 # We do not want a PATH search for config.site.
2457 case $CONFIG_SITE in #((
2458 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2459 */*) ac_site_file1
=$CONFIG_SITE;;
2460 *) ac_site_file1
=.
/$CONFIG_SITE;;
2462 elif test "x$prefix" != xNONE
; then
2463 ac_site_file1
=$prefix/share
/config.site
2464 ac_site_file2
=$prefix/etc
/config.site
2466 ac_site_file1
=$ac_default_prefix/share
/config.site
2467 ac_site_file2
=$ac_default_prefix/etc
/config.site
2469 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2471 test "x$ac_site_file" = xNONE
&& continue
2472 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2474 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2475 sed 's/^/| /' "$ac_site_file" >&5
2477 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2479 as_fn_error $?
"failed to load site script $ac_site_file
2480 See \`config.log' for more details" "$LINENO" 5 ; }
2484 if test -r "$cache_file"; then
2485 # Some versions of bash will fail to source /dev/null (special files
2486 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2487 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2489 $as_echo "$as_me: loading cache $cache_file" >&6;}
2491 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2492 *) .
"./$cache_file";;
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2497 $as_echo "$as_me: creating cache $cache_file" >&6;}
2501 # Check that the precious variables saved in the cache have kept the same
2503 ac_cache_corrupted
=false
2504 for ac_var
in $ac_precious_vars; do
2505 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2506 eval ac_new_set
=\
$ac_env_${ac_var}_set
2507 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2508 eval ac_new_val
=\
$ac_env_${ac_var}_value
2509 case $ac_old_set,$ac_new_set in
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2512 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2513 ac_cache_corrupted
=: ;;
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2516 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2517 ac_cache_corrupted
=: ;;
2520 if test "x$ac_old_val" != "x$ac_new_val"; then
2521 # differences in whitespace do not lead to failure.
2522 ac_old_val_w
=`echo x $ac_old_val`
2523 ac_new_val_w
=`echo x $ac_new_val`
2524 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2526 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2527 ac_cache_corrupted
=:
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2530 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2531 eval $ac_var=\
$ac_old_val
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2534 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2536 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2539 # Pass precious variables to config.status.
2540 if test "$ac_new_set" = set; then
2542 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2543 *) ac_arg
=$ac_var=$ac_new_val ;;
2545 case " $ac_configure_args " in
2546 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2547 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2551 if $ac_cache_corrupted; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2555 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2556 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2558 ## -------------------- ##
2559 ## Main body of script. ##
2560 ## -------------------- ##
2563 ac_cpp
='$CPP $CPPFLAGS'
2564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2571 for ac_dir
in .
"$srcdir"/.
; do
2572 if test -f "$ac_dir/install-sh"; then
2574 ac_install_sh
="$ac_aux_dir/install-sh -c"
2576 elif test -f "$ac_dir/install.sh"; then
2578 ac_install_sh
="$ac_aux_dir/install.sh -c"
2580 elif test -f "$ac_dir/shtool"; then
2582 ac_install_sh
="$ac_aux_dir/shtool install -c"
2586 if test -z "$ac_aux_dir"; then
2587 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2590 # These three variables are undocumented and unsupported,
2591 # and are intended to be withdrawn in a future Autoconf release.
2592 # They can cause serious problems if a builder's source tree is in a directory
2593 # whose full name contains unusual characters.
2594 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2595 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2596 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2602 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2607 macro_version
='2.2.6b'
2608 macro_revision
='1.3017'
2622 ltmain
="$ac_aux_dir/ltmain.sh"
2624 # Make sure we can run config.sub.
2625 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2626 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2629 $as_echo_n "checking build system type... " >&6; }
2630 if test "${ac_cv_build+set}" = set; then :
2631 $as_echo_n "(cached) " >&6
2633 ac_build_alias
=$build_alias
2634 test "x$ac_build_alias" = x
&&
2635 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2636 test "x$ac_build_alias" = x
&&
2637 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2638 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2639 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2643 $as_echo "$ac_cv_build" >&6; }
2644 case $ac_cv_build in
2646 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2649 ac_save_IFS
=$IFS; IFS
='-'
2655 # Remember, the first character of IFS is used to create $*,
2656 # except with old shells:
2659 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2663 $as_echo_n "checking host system type... " >&6; }
2664 if test "${ac_cv_host+set}" = set; then :
2665 $as_echo_n "(cached) " >&6
2667 if test "x$host_alias" = x
; then
2668 ac_cv_host
=$ac_cv_build
2670 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2671 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2676 $as_echo "$ac_cv_host" >&6; }
2679 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2682 ac_save_IFS
=$IFS; IFS
='-'
2688 # Remember, the first character of IFS is used to create $*,
2689 # except with old shells:
2692 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2696 ac_cpp
='$CPP $CPPFLAGS'
2697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2700 if test -n "$ac_tool_prefix"; then
2701 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2702 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if test "${ac_cv_prog_CC+set}" = set; then :
2706 $as_echo_n "(cached) " >&6
2708 if test -n "$CC"; then
2709 ac_cv_prog_CC
="$CC" # Let the user override the test.
2711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2715 test -z "$as_dir" && as_dir
=.
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$CC"; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2731 $as_echo "$CC" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2739 if test -z "$ac_cv_prog_CC"; then
2741 # Extract the first word of "gcc", so it can be a program name with args.
2742 set dummy gcc
; ac_word
=$2
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2744 $as_echo_n "checking for $ac_word... " >&6; }
2745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2746 $as_echo_n "(cached) " >&6
2748 if test -n "$ac_ct_CC"; then
2749 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758 ac_cv_prog_ac_ct_CC
="gcc"
2759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2769 if test -n "$ac_ct_CC"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2771 $as_echo "$ac_ct_CC" >&6; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2774 $as_echo "no" >&6; }
2777 if test "x$ac_ct_CC" = x
; then
2780 case $cross_compiling:$ac_tool_warned in
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2784 ac_tool_warned
=yes ;;
2792 if test -z "$CC"; then
2793 if test -n "$ac_tool_prefix"; then
2794 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2795 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2797 $as_echo_n "checking for $ac_word... " >&6; }
2798 if test "${ac_cv_prog_CC+set}" = set; then :
2799 $as_echo_n "(cached) " >&6
2801 if test -n "$CC"; then
2802 ac_cv_prog_CC
="$CC" # Let the user override the test.
2804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 test -z "$as_dir" && as_dir
=.
2809 for ac_exec_ext
in '' $ac_executable_extensions; do
2810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2811 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 if test -n "$CC"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2824 $as_echo "$CC" >&6; }
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 $as_echo "no" >&6; }
2833 if test -z "$CC"; then
2834 # Extract the first word of "cc", so it can be a program name with args.
2835 set dummy cc
; ac_word
=$2
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 $as_echo_n "checking for $ac_word... " >&6; }
2838 if test "${ac_cv_prog_CC+set}" = set; then :
2839 $as_echo_n "(cached) " >&6
2841 if test -n "$CC"; then
2842 ac_cv_prog_CC
="$CC" # Let the user override the test.
2845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2849 test -z "$as_dir" && as_dir
=.
2850 for ac_exec_ext
in '' $ac_executable_extensions; do
2851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2853 ac_prog_rejected
=yes
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2864 if test $ac_prog_rejected = yes; then
2865 # We found a bogon in the path, so make sure we never use it.
2866 set dummy
$ac_cv_prog_CC
2868 if test $# != 0; then
2869 # We chose a different compiler from the bogus one.
2870 # However, it has the same basename, so the bogon will be chosen
2871 # first if we set CC to just the basename; use the full file name.
2873 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2879 if test -n "$CC"; then
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2881 $as_echo "$CC" >&6; }
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884 $as_echo "no" >&6; }
2889 if test -z "$CC"; then
2890 if test -n "$ac_tool_prefix"; then
2891 for ac_prog
in cl.exe
2893 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2894 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if test "${ac_cv_prog_CC+set}" = set; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC
="$CC" # Let the user override the test.
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2930 test -n "$CC" && break
2933 if test -z "$CC"; then
2935 for ac_prog
in cl.exe
2937 # Extract the first word of "$ac_prog", so it can be a program name with args.
2938 set dummy
$ac_prog; ac_word
=$2
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2940 $as_echo_n "checking for $ac_word... " >&6; }
2941 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2942 $as_echo_n "(cached) " >&6
2944 if test -n "$ac_ct_CC"; then
2945 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2951 test -z "$as_dir" && as_dir
=.
2952 for ac_exec_ext
in '' $ac_executable_extensions; do
2953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2954 ac_cv_prog_ac_ct_CC
="$ac_prog"
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2964 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2965 if test -n "$ac_ct_CC"; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2967 $as_echo "$ac_ct_CC" >&6; }
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 $as_echo "no" >&6; }
2974 test -n "$ac_ct_CC" && break
2977 if test "x$ac_ct_CC" = x
; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned
=yes ;;
2993 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $?
"no acceptable C compiler found in \$PATH
2996 See \`config.log' for more details" "$LINENO" 5 ; }
2998 # Provide some information about the compiler.
2999 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3002 for ac_option
in --version -v -V -qversion; do
3003 { { ac_try
="$ac_compiler $ac_option >&5"
3005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3006 *) ac_try_echo=$ac_try;;
3008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3012 if test -s conftest.err; then
3014 ... rest of stderr output deleted ...
3015 10q' conftest.err >conftest.er1
3016 cat conftest.er1 >&5
3018 rm -f conftest.er1 conftest.err
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; }
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3034 ac_clean_files_save=$ac_clean_files
3035 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3036 # Try to create an executable without -o first, disregard a.out.
3037 # It will help us diagnose broken compilers, and finding out an intuition
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3040 $as_echo_n "checking whether the C compiler works... " >&6; }
3041 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3043 # The possible output files:
3044 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3047 for ac_file in $ac_files
3050 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3051 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3056 if { { ac_try="$ac_link_default"
3058 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3059 *) ac_try_echo
=$ac_try;;
3061 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link_default") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }; then :
3067 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3068 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3069 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3070 # so that the user can short-circuit this test for compilers unknown to
3072 for ac_file
in $ac_files ''
3074 test -f "$ac_file" || continue
3076 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3079 # We found the default executable, but exeext='' is most
3083 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3085 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3087 # We set ac_cv_exeext here because the later test for it is not
3088 # safe: cross compilers may not add the suffix if given an `-o'
3089 # argument, so we may need to know it at that point already.
3090 # Even if this section looks crufty: it has the advantage of
3097 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3102 if test -z "$ac_file"; then :
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 $as_echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.
$ac_ext >&5
3108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3110 as_fn_error
77 "C compiler cannot create executables
3111 See \`config.log' for more details" "$LINENO" 5 ; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3114 $as_echo "yes" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3117 $as_echo_n "checking for C compiler default output file name... " >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3119 $as_echo "$ac_file" >&6; }
3120 ac_exeext
=$ac_cv_exeext
3122 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3123 ac_clean_files
=$ac_clean_files_save
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3125 $as_echo_n "checking for suffix of executables... " >&6; }
3126 if { { ac_try
="$ac_link"
3128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133 (eval "$ac_link") 2>&5
3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136 test $ac_status = 0; }; then :
3137 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3138 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3139 # work properly (i.e., refer to `conftest.exe'), while it won't with
3141 for ac_file
in conftest.exe conftest conftest.
*; do
3142 test -f "$ac_file" || continue
3144 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3145 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3154 See \`config.log' for more details" "$LINENO" 5 ; }
3156 rm -f conftest conftest
$ac_cv_exeext
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3158 $as_echo "$ac_cv_exeext" >&6; }
3160 rm -f conftest.
$ac_ext
3161 EXEEXT
=$ac_cv_exeext
3163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3169 FILE *f = fopen ("conftest.out", "w");
3170 return ferror (f) || fclose (f) != 0;
3176 ac_clean_files
="$ac_clean_files conftest.out"
3177 # Check that the compiler produces executables we can run. If not, either
3178 # the compiler is broken, or we cross compile.
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3180 $as_echo_n "checking whether we are cross compiling... " >&6; }
3181 if test "$cross_compiling" != yes; then
3182 { { ac_try
="$ac_link"
3184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_link") 2>&5
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; }
3193 if { ac_try='./conftest$ac_cv_exeext'
3194 { { case "(($ac_try" in
3195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3196 *) ac_try_echo
=$ac_try;;
3198 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_try") 2>&5
3202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203 test $ac_status = 0; }; }; then
3206 if test "$cross_compiling" = maybe
; then
3209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 as_fn_error $?
"cannot run C compiled programs.
3212 If you meant to cross compile, use \`--host'.
3213 See \`config.log' for more details" "$LINENO" 5 ; }
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3218 $as_echo "$cross_compiling" >&6; }
3220 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3221 ac_clean_files
=$ac_clean_files_save
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3223 $as_echo_n "checking for suffix of object files... " >&6; }
3224 if test "${ac_cv_objext+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3238 rm -f conftest.o conftest.obj
3239 if { { ac_try
="$ac_compile"
3241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3242 *) ac_try_echo=$ac_try;;
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246 (eval "$ac_compile") 2>&5
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }; then :
3250 for ac_file in conftest.o conftest.obj conftest.*; do
3251 test -f "$ac_file" || continue;
3253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3254 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3259 $as_echo "$as_me: failed program was:" >&5
3260 sed 's/^/| /' conftest.$ac_ext >&5
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3265 See \
`config.log' for more details" "$LINENO" 5 ; }
3267 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3270 $as_echo "$ac_cv_objext" >&6; }
3271 OBJEXT=$ac_cv_objext
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3274 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3275 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3292 if ac_fn_c_try_compile "$LINENO"; then :
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3302 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3303 if test $ac_compiler_gnu = yes; then
3308 ac_test_CFLAGS=${CFLAGS+set}
3309 ac_save_CFLAGS=$CFLAGS
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3311 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3312 if test "${ac_cv_prog_cc_g+set}" = set; then :
3313 $as_echo_n "(cached) " >&6
3315 ac_save_c_werror_flag=$ac_c_werror_flag
3316 ac_c_werror_flag=yes
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 if ac_fn_c_try_compile "$LINENO"; then :
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 ac_c_werror_flag=$ac_save_c_werror_flag
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3372 $as_echo "$ac_cv_prog_cc_g" >&6; }
3373 if test "$ac_test_CFLAGS" = set; then
3374 CFLAGS=$ac_save_CFLAGS
3375 elif test $ac_cv_prog_cc_g = yes; then
3376 if test "$GCC" = yes; then
3382 if test "$GCC" = yes; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3389 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3390 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3391 $as_echo_n "(cached) " >&6
3393 ac_cv_prog_cc_c89=no
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 #include <sys/types.h>
3400 #include <sys/stat.h>
3401 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3402 struct buf { int x; };
3403 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3404 static char *e (p, i)
3410 static char *f (char * (*g) (char **, int), char **p, ...)
3415 s = g (p, va_arg (v,int));
3420 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3421 function prototypes and stuff, but not '\xHH' hex character constants.
3422 These don't provoke an error unfortunately, instead are silently treated
3423 as 'x'. The following induces an error, until -std is added to get
3424 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3425 array size at least. It's necessary to write '\x00'==0 to get something
3426 that's true only with -std. */
3427 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3429 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3430 inside strings and character constants. */
3432 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3434 int test (int i, double x);
3435 struct s1 {int (*f) (int a);};
3436 struct s2 {int (*f) (double a);};
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3448 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3449 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3451 CC="$ac_save_CC $ac_arg"
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 ac_cv_prog_cc_c89=$ac_arg
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x$ac_cv_prog_cc_c89" != "xno" && break
3458 rm -f conftest.$ac_ext
3463 case "x$ac_cv_prog_cc_c89" in
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3466 $as_echo "none needed" >&6; } ;;
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3469 $as_echo "unsupported" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3473 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3475 if test "x$ac_cv_prog_cc_c89" != xno; then :
3480 ac_cpp='$CPP $CPPFLAGS'
3481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3486 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3487 if test "${ac_cv_path_SED+set}" = set; then :
3488 $as_echo_n "(cached) " >&6
3490 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3491 for ac_i in 1 2 3 4 5 6 7; do
3492 ac_script="$ac_script$as_nl$ac_script"
3494 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3495 { ac_script=; unset ac_script;}
3496 if test -z "$SED"; then
3497 ac_path_SED_found=false
3498 # Loop through the user's path and test for each of PROGNAME-LIST
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 test -z "$as_dir" && as_dir=.
3504 for ac_prog in sed gsed; do
3505 for ac_exec_ext in '' $ac_executable_extensions; do
3506 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3507 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3508 # Check for GNU ac_path_SED and select it if it is found.
3509 # Check for GNU $ac_path_SED
3510 case `"$ac_path_SED" --version 2>&1` in
3512 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3515 $as_echo_n 0123456789 >"conftest.in"
3518 cat "conftest.in" "conftest.in" >"conftest.tmp"
3519 mv "conftest.tmp" "conftest.in"
3520 cp "conftest.in" "conftest.nl"
3521 $as_echo '' >> "conftest.nl"
3522 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3523 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3524 as_fn_arith $ac_count + 1 && ac_count=$as_val
3525 if test $ac_count -gt ${ac_path_SED_max-0}; then
3526 # Best one so far, save it but keep looking for a better one
3527 ac_cv_path_SED="$ac_path_SED"
3528 ac_path_SED_max=$ac_count
3530 # 10*(2^10) chars as input seems more than enough
3531 test $ac_count -gt 10 && break
3533 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3536 $ac_path_SED_found && break 3
3541 if test -z "$ac_cv_path_SED"; then
3542 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3550 $as_echo "$ac_cv_path_SED" >&6; }
3551 SED="$ac_cv_path_SED"
3554 test -z "$SED" && SED=sed
3555 Xsed="$SED -e 1s/^X//"
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3568 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3569 if test "${ac_cv_path_GREP+set}" = set; then :
3570 $as_echo_n "(cached) " >&6
3572 if test -z "$GREP"; then
3573 ac_path_GREP_found=false
3574 # Loop through the user's path and test for each of PROGNAME-LIST
3575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3579 test -z "$as_dir" && as_dir=.
3580 for ac_prog in grep ggrep; do
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3583 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3584 # Check for GNU ac_path_GREP and select it if it is found.
3585 # Check for GNU $ac_path_GREP
3586 case `"$ac_path_GREP" --version 2>&1` in
3588 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3591 $as_echo_n 0123456789 >"conftest.in"
3594 cat "conftest.in" "conftest.in" >"conftest.tmp"
3595 mv "conftest.tmp" "conftest.in"
3596 cp "conftest.in" "conftest.nl"
3597 $as_echo 'GREP' >> "conftest.nl"
3598 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3599 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3600 as_fn_arith $ac_count + 1 && ac_count=$as_val
3601 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3602 # Best one so far, save it but keep looking for a better one
3603 ac_cv_path_GREP="$ac_path_GREP"
3604 ac_path_GREP_max=$ac_count
3606 # 10*(2^10) chars as input seems more than enough
3607 test $ac_count -gt 10 && break
3609 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3612 $ac_path_GREP_found && break 3
3617 if test -z "$ac_cv_path_GREP"; then
3618 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3621 ac_cv_path_GREP=$GREP
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3626 $as_echo "$ac_cv_path_GREP" >&6; }
3627 GREP="$ac_cv_path_GREP"
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3631 $as_echo_n "checking for egrep... " >&6; }
3632 if test "${ac_cv_path_EGREP+set}" = set; then :
3633 $as_echo_n "(cached) " >&6
3635 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3636 then ac_cv_path_EGREP="$GREP -E"
3638 if test -z "$EGREP"; then
3639 ac_path_EGREP_found=false
3640 # Loop through the user's path and test for each of PROGNAME-LIST
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3642 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3645 test -z "$as_dir" && as_dir=.
3646 for ac_prog in egrep; do
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3649 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3650 # Check for GNU ac_path_EGREP and select it if it is found.
3651 # Check for GNU $ac_path_EGREP
3652 case `"$ac_path_EGREP" --version 2>&1` in
3654 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3657 $as_echo_n 0123456789 >"conftest.in"
3660 cat "conftest.in" "conftest.in" >"conftest.tmp"
3661 mv "conftest.tmp" "conftest.in"
3662 cp "conftest.in" "conftest.nl"
3663 $as_echo 'EGREP' >> "conftest.nl"
3664 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3665 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3666 as_fn_arith $ac_count + 1 && ac_count=$as_val
3667 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3668 # Best one so far, save it but keep looking for a better one
3669 ac_cv_path_EGREP="$ac_path_EGREP"
3670 ac_path_EGREP_max=$ac_count
3672 # 10*(2^10) chars as input seems more than enough
3673 test $ac_count -gt 10 && break
3675 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3678 $ac_path_EGREP_found && break 3
3683 if test -z "$ac_cv_path_EGREP"; then
3684 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3687 ac_cv_path_EGREP=$EGREP
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3693 $as_echo "$ac_cv_path_EGREP" >&6; }
3694 EGREP="$ac_cv_path_EGREP"
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3698 $as_echo_n "checking for fgrep... " >&6; }
3699 if test "${ac_cv_path_FGREP+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3703 then ac_cv_path_FGREP="$GREP -F"
3705 if test -z "$FGREP"; then
3706 ac_path_FGREP_found=false
3707 # Loop through the user's path and test for each of PROGNAME-LIST
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3712 test -z "$as_dir" && as_dir=.
3713 for ac_prog in fgrep; do
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3716 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3717 # Check for GNU ac_path_FGREP and select it if it is found.
3718 # Check for GNU $ac_path_FGREP
3719 case `"$ac_path_FGREP" --version 2>&1` in
3721 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3724 $as_echo_n 0123456789 >"conftest.in"
3727 cat "conftest.in" "conftest.in" >"conftest.tmp"
3728 mv "conftest.tmp" "conftest.in"
3729 cp "conftest.in" "conftest.nl"
3730 $as_echo 'FGREP' >> "conftest.nl"
3731 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3732 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3733 as_fn_arith $ac_count + 1 && ac_count=$as_val
3734 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3735 # Best one so far, save it but keep looking for a better one
3736 ac_cv_path_FGREP="$ac_path_FGREP"
3737 ac_path_FGREP_max=$ac_count
3739 # 10*(2^10) chars as input seems more than enough
3740 test $ac_count -gt 10 && break
3742 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3745 $ac_path_FGREP_found && break 3
3750 if test -z "$ac_cv_path_FGREP"; then
3751 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3754 ac_cv_path_FGREP=$FGREP
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3760 $as_echo "$ac_cv_path_FGREP" >&6; }
3761 FGREP="$ac_cv_path_FGREP"
3764 test -z "$GREP" && GREP=grep
3784 # Check whether --with-gnu-ld was given.
3785 if test "${with_gnu_ld+set}" = set; then :
3786 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3792 if test "$GCC" = yes; then
3793 # Check if gcc -print-prog-name=ld gives a path.
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3795 $as_echo_n "checking for ld used by $CC... " >&6; }
3798 # gcc leaves a trailing carriage return which upsets mingw
3799 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3801 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3804 # Accept absolute paths.
3806 re_direlt='/[^/][^/]*/\.\./'
3807 # Canonicalize the pathname of ld
3808 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3809 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3810 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3812 test -z "$LD" && LD="$ac_prog"
3815 # If it fails, then pretend we aren't using GCC.
3819 # If it is relative, then search for the first ld in PATH.
3823 elif test "$with_gnu_ld" = yes; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3825 $as_echo_n "checking for GNU ld... " >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3828 $as_echo_n "checking for non-GNU ld... " >&6; }
3830 if test "${lt_cv_path_LD+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -z "$LD"; then
3834 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3835 for ac_dir in $PATH; do
3837 test -z "$ac_dir" && ac_dir=.
3838 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3839 lt_cv_path_LD="$ac_dir/$ac_prog"
3840 # Check to see if the program is GNU ld. I'd rather use --version,
3841 # but apparently some variants of GNU ld only accept -v.
3842 # Break only if it was the GNU/non-GNU ld that we prefer.
3843 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3844 *GNU* | *'with BFD'*)
3845 test "$with_gnu_ld" != no && break
3848 test "$with_gnu_ld" != yes && break
3855 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3860 if test -n "$LD"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3862 $as_echo "$LD" >&6; }
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3867 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3869 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3870 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3873 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3874 case `$LD -v 2>&1 </dev
/null
` in
3875 *GNU* | *'with BFD'*)
3876 lt_cv_prog_gnu_ld=yes
3879 lt_cv_prog_gnu_ld=no
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3884 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3885 with_gnu_ld=$lt_cv_prog_gnu_ld
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3896 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3897 if test "${lt_cv_path_NM+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -n "$NM"; then
3901 # Let the user override the test.
3904 lt_nm_to_check="${ac_tool_prefix}nm"
3905 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3906 lt_nm_to_check="$lt_nm_to_check nm"
3908 for lt_tmp_nm in $lt_nm_to_check; do
3909 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3910 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3912 test -z "$ac_dir" && ac_dir=.
3913 tmp_nm="$ac_dir/$lt_tmp_nm"
3914 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3915 # Check to see if the nm accepts a BSD-compat flag.
3916 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3917 # nm: unknown option "B" ignored
3918 # Tru64's nm complains that
/dev
/null is an invalid object
file
3919 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3920 */dev
/null
* | *'Invalid file or object type'*)
3921 lt_cv_path_NM
="$tmp_nm -B"
3925 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3927 lt_cv_path_NM
="$tmp_nm -p"
3931 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3932 continue # so that we can try to find one that supports BSD flags
3941 : ${lt_cv_path_NM=no}
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3945 $as_echo "$lt_cv_path_NM" >&6; }
3946 if test "$lt_cv_path_NM" != "no"; then
3949 # Didn't find any BSD compatible name lister, look for dumpbin.
3950 if test -n "$ac_tool_prefix"; then
3951 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3953 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3954 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956 $as_echo_n "checking for $ac_word... " >&6; }
3957 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3958 $as_echo_n "(cached) " >&6
3960 if test -n "$DUMPBIN"; then
3961 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3967 test -z "$as_dir" && as_dir
=.
3968 for ac_exec_ext
in '' $ac_executable_extensions; do
3969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3970 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 DUMPBIN
=$ac_cv_prog_DUMPBIN
3981 if test -n "$DUMPBIN"; then
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3983 $as_echo "$DUMPBIN" >&6; }
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 $as_echo "no" >&6; }
3990 test -n "$DUMPBIN" && break
3993 if test -z "$DUMPBIN"; then
3994 ac_ct_DUMPBIN
=$DUMPBIN
3995 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3997 # Extract the first word of "$ac_prog", so it can be a program name with args.
3998 set dummy
$ac_prog; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 if test -n "$ac_ct_DUMPBIN"; then
4005 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir
=.
4012 for ac_exec_ext
in '' $ac_executable_extensions; do
4013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4014 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4025 if test -n "$ac_ct_DUMPBIN"; then
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4027 $as_echo "$ac_ct_DUMPBIN" >&6; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 $as_echo "no" >&6; }
4034 test -n "$ac_ct_DUMPBIN" && break
4037 if test "x$ac_ct_DUMPBIN" = x
; then
4040 case $cross_compiling:$ac_tool_warned in
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4043 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4044 ac_tool_warned
=yes ;;
4046 DUMPBIN
=$ac_ct_DUMPBIN
4051 if test "$DUMPBIN" != ":"; then
4055 test -z "$NM" && NM
=nm
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4063 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4064 if test "${lt_cv_nm_interface+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4067 lt_cv_nm_interface
="BSD nm"
4068 echo "int some_variable = 0;" > conftest.
$ac_ext
4069 (eval echo "\"\$as_me:4069: $ac_compile\"" >&5)
4070 (eval "$ac_compile" 2>conftest.err
)
4071 cat conftest.err
>&5
4072 (eval echo "\"\$as_me:4072: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4073 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4074 cat conftest.err
>&5
4075 (eval echo "\"\$as_me:4075: output\"" >&5)
4076 cat conftest.out
>&5
4077 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4078 lt_cv_nm_interface
="MS dumpbin"
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4083 $as_echo "$lt_cv_nm_interface" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4086 $as_echo_n "checking whether ln -s works... " >&6; }
4088 if test "$LN_S" = "ln -s"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4090 $as_echo "yes" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4093 $as_echo "no, using $LN_S" >&6; }
4096 # find the maximum length of command line arguments
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4098 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4099 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4107 # On DJGPP, this test can blow up pretty badly due to problems in libc
4108 # (any single argument exceeding 2000 bytes causes a buffer overrun
4109 # during glob expansion). Even if it were fixed, the result of this
4110 # check would be larger than it should be.
4111 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4115 # Under GNU Hurd, this test is not required because there is
4116 # no limit to the length of command line arguments.
4117 # Libtool will interpret -1 as no limit whatsoever
4118 lt_cv_sys_max_cmd_len
=-1;
4121 cygwin
* | mingw
* | cegcc
*)
4122 # On Win9x/ME, this test blows up -- it succeeds, but takes
4123 # about 5 minutes as the teststring grows exponentially.
4124 # Worse, since 9x/ME are not pre-emptively multitasking,
4125 # you end up with a "frozen" computer, even though with patience
4126 # the test eventually succeeds (with a max line length of 256k).
4127 # Instead, let's just punt: use the minimum linelength reported by
4128 # all of the supported platforms: 8192 (on NT/2K/XP).
4129 lt_cv_sys_max_cmd_len
=8192;
4133 # On AmigaOS with pdksh, this test takes hours, literally.
4134 # So we just punt and use a minimum line length of 8192.
4135 lt_cv_sys_max_cmd_len
=8192;
4138 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4139 # This has been around since 386BSD, at least. Likely further.
4140 if test -x /sbin
/sysctl
; then
4141 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4142 elif test -x /usr
/sbin
/sysctl
; then
4143 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4145 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4147 # And add a safety zone
4148 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4149 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4153 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4154 lt_cv_sys_max_cmd_len
=196608
4158 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4159 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4160 # nice to cause kernel panics so lets avoid the loop below.
4161 # First set a reasonable default.
4162 lt_cv_sys_max_cmd_len
=16384
4164 if test -x /sbin
/sysconfig
; then
4165 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4166 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4171 lt_cv_sys_max_cmd_len
=102400
4173 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4174 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4175 if test -n "$kargmax"; then
4176 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4178 lt_cv_sys_max_cmd_len
=32768
4182 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4183 if test -n "$lt_cv_sys_max_cmd_len"; then
4184 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4185 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4187 # Make teststring a little bigger before we do anything with it.
4188 # a 1K string should be a reasonable start.
4189 for i
in 1 2 3 4 5 6 7 8 ; do
4190 teststring
=$teststring$teststring
4192 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4193 # If test is not a shell built-in, we'll probably end up computing a
4194 # maximum length that is only half of the actual maximum length, but
4196 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4197 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4198 test $i != 17 # 1/2 MB should be enough
4201 teststring
=$teststring$teststring
4203 # Only check the string length outside the loop.
4204 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4206 # Add a significant safety factor because C++ compilers can tack on
4207 # massive amounts of additional arguments before passing them to the
4208 # linker. It appears as though 1/2 is a usable value.
4209 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4216 if test -n $lt_cv_sys_max_cmd_len ; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4218 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4221 $as_echo "none" >&6; }
4223 max_cmd_len
=$lt_cv_sys_max_cmd_len
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4235 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4236 # Try some XSI features
4239 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4241 && eval 'test $(( 1 + 1 )) -eq 2 \
4242 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4245 $as_echo "$xsi_shell" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4249 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4251 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4253 && lt_shell_append
=yes
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4255 $as_echo "$lt_shell_append" >&6; }
4258 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4268 # test EBCDIC or ASCII
4269 case `echo X|tr X '\101'` in
4270 A
) # ASCII based system
4271 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4272 lt_SP2NL
='tr \040 \012'
4273 lt_NL2SP
='tr \015\012 \040\040'
4275 *) # EBCDIC based system
4276 lt_SP2NL
='tr \100 \n'
4277 lt_NL2SP
='tr \r\n \100\100'
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4290 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4291 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4292 $as_echo_n "(cached) " >&6
4294 lt_cv_ld_reload_flag
='-r'
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4297 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4298 reload_flag
=$lt_cv_ld_reload_flag
4299 case $reload_flag in
4301 *) reload_flag
=" $reload_flag" ;;
4303 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4306 if test "$GCC" = yes; then
4307 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4309 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4322 if test -n "$ac_tool_prefix"; then
4323 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4324 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4326 $as_echo_n "checking for $ac_word... " >&6; }
4327 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4330 if test -n "$OBJDUMP"; then
4331 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4337 test -z "$as_dir" && as_dir
=.
4338 for ac_exec_ext
in '' $ac_executable_extensions; do
4339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4340 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 OBJDUMP
=$ac_cv_prog_OBJDUMP
4351 if test -n "$OBJDUMP"; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4353 $as_echo "$OBJDUMP" >&6; }
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4361 if test -z "$ac_cv_prog_OBJDUMP"; then
4362 ac_ct_OBJDUMP
=$OBJDUMP
4363 # Extract the first word of "objdump", so it can be a program name with args.
4364 set dummy objdump
; ac_word
=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4368 $as_echo_n "(cached) " >&6
4370 if test -n "$ac_ct_OBJDUMP"; then
4371 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4380 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4391 if test -n "$ac_ct_OBJDUMP"; then
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4393 $as_echo "$ac_ct_OBJDUMP" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4399 if test "x$ac_ct_OBJDUMP" = x
; then
4402 case $cross_compiling:$ac_tool_warned in
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4406 ac_tool_warned
=yes ;;
4408 OBJDUMP
=$ac_ct_OBJDUMP
4411 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4414 test -z "$OBJDUMP" && OBJDUMP
=objdump
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4425 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4426 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4427 $as_echo_n "(cached) " >&6
4429 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4430 lt_cv_file_magic_test_file
=
4431 lt_cv_deplibs_check_method
='unknown'
4432 # Need to set the preceding variable on all platforms that support
4433 # interlibrary dependencies.
4434 # 'none' -- dependencies not supported.
4435 # `unknown' -- same as none, but documents that we really don't know.
4436 # 'pass_all' -- all dependencies passed with no checks.
4437 # 'test_compile' -- check by making test program.
4438 # 'file_magic [[regex]]' -- check by looking for files in library path
4439 # which responds to the $file_magic_cmd with a given extended regex.
4440 # If you have `file' or equivalent on your system and you're not sure
4441 # whether `pass_all' will *always* work, you probably want this one.
4445 lt_cv_deplibs_check_method
=pass_all
4449 lt_cv_deplibs_check_method
=pass_all
4453 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4454 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4455 lt_cv_file_magic_test_file
=/shlib
/libc.so
4459 # func_win32_libid is a shell function defined in ltmain.sh
4460 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4461 lt_cv_file_magic_cmd
='func_win32_libid'
4465 # Base MSYS/MinGW do not provide the 'file' command needed by
4466 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4467 # unless we find 'file', for example because we are cross-compiling.
4468 if ( file / ) >/dev
/null
2>&1; then
4469 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4470 lt_cv_file_magic_cmd
='func_win32_libid'
4472 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4473 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4478 # use the weaker test based on 'objdump'. See mingw*.
4479 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4480 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4483 darwin
* | rhapsody
*)
4484 lt_cv_deplibs_check_method
=pass_all
4487 freebsd
* | dragonfly
*)
4488 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4491 # Not sure whether the presence of OpenBSD here was a mistake.
4492 # Let's accept both of them until this is cleared up.
4493 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4494 lt_cv_file_magic_cmd
=/usr
/bin
/file
4495 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4499 lt_cv_deplibs_check_method
=pass_all
4504 lt_cv_deplibs_check_method
=pass_all
4507 hpux10.20
* | hpux11
*)
4508 lt_cv_file_magic_cmd
=/usr
/bin
/file
4511 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4512 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4515 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]'
4516 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4519 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4520 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4526 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4527 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4530 irix5
* | irix6
* | nonstopux
*)
4532 *-32|*"-32 ") libmagic
=32-bit;;
4533 *-n32|*"-n32 ") libmagic
=N32
;;
4534 *-64|*"-64 ") libmagic
=64-bit;;
4535 *) libmagic
=never
-match;;
4537 lt_cv_deplibs_check_method
=pass_all
4540 # This must be Linux ELF.
4541 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4542 lt_cv_deplibs_check_method
=pass_all
4545 netbsd
* | netbsdelf
*-gnu)
4546 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4547 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4549 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4554 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4555 lt_cv_file_magic_cmd
=/usr
/bin
/file
4556 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4560 lt_cv_deplibs_check_method
=pass_all
4564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4565 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4567 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4571 osf3
* | osf4
* | osf5
*)
4572 lt_cv_deplibs_check_method
=pass_all
4576 lt_cv_deplibs_check_method
=pass_all
4580 lt_cv_deplibs_check_method
=pass_all
4583 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4584 lt_cv_deplibs_check_method
=pass_all
4588 case $host_vendor in
4590 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]'
4591 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4594 lt_cv_deplibs_check_method
=pass_all
4597 lt_cv_file_magic_cmd
='/bin/file'
4598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4601 lt_cv_file_magic_cmd
='/bin/file'
4602 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4603 lt_cv_file_magic_test_file
=/lib
/libc.so
4606 lt_cv_deplibs_check_method
=pass_all
4609 lt_cv_deplibs_check_method
=pass_all
4615 lt_cv_deplibs_check_method
=pass_all
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4621 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4622 file_magic_cmd
=$lt_cv_file_magic_cmd
4623 deplibs_check_method
=$lt_cv_deplibs_check_method
4624 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4637 if test -n "$ac_tool_prefix"; then
4638 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4639 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_AR+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$AR"; then
4646 ac_cv_prog_AR
="$AR" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 if test -n "$AR"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4668 $as_echo "$AR" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4676 if test -z "$ac_cv_prog_AR"; then
4678 # Extract the first word of "ar", so it can be a program name with args.
4679 set dummy
ar; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$ac_ct_AR"; then
4686 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4695 ac_cv_prog_ac_ct_AR
="ar"
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4706 if test -n "$ac_ct_AR"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4708 $as_echo "$ac_ct_AR" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4714 if test "x$ac_ct_AR" = x
; then
4717 case $cross_compiling:$ac_tool_warned in
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4721 ac_tool_warned
=yes ;;
4729 test -z "$AR" && AR
=ar
4730 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4742 if test -n "$ac_tool_prefix"; then
4743 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4744 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if test "${ac_cv_prog_STRIP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$STRIP"; then
4751 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 STRIP
=$ac_cv_prog_STRIP
4771 if test -n "$STRIP"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4773 $as_echo "$STRIP" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4781 if test -z "$ac_cv_prog_STRIP"; then
4783 # Extract the first word of "strip", so it can be a program name with args.
4784 set dummy strip
; ac_word
=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 if test -n "$ac_ct_STRIP"; then
4791 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4800 ac_cv_prog_ac_ct_STRIP
="strip"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4811 if test -n "$ac_ct_STRIP"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4813 $as_echo "$ac_ct_STRIP" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4819 if test "x$ac_ct_STRIP" = x
; then
4822 case $cross_compiling:$ac_tool_warned in
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4826 ac_tool_warned
=yes ;;
4831 STRIP
="$ac_cv_prog_STRIP"
4834 test -z "$STRIP" && STRIP
=:
4841 if test -n "$ac_tool_prefix"; then
4842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4843 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -n "$RANLIB"; then
4850 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir
=.
4857 for ac_exec_ext
in '' $ac_executable_extensions; do
4858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4859 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 RANLIB
=$ac_cv_prog_RANLIB
4870 if test -n "$RANLIB"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4872 $as_echo "$RANLIB" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4880 if test -z "$ac_cv_prog_RANLIB"; then
4881 ac_ct_RANLIB
=$RANLIB
4882 # Extract the first word of "ranlib", so it can be a program name with args.
4883 set dummy ranlib
; ac_word
=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$ac_ct_RANLIB"; then
4890 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4910 if test -n "$ac_ct_RANLIB"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4912 $as_echo "$ac_ct_RANLIB" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4918 if test "x$ac_ct_RANLIB" = x
; then
4921 case $cross_compiling:$ac_tool_warned in
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4925 ac_tool_warned
=yes ;;
4927 RANLIB
=$ac_ct_RANLIB
4930 RANLIB
="$ac_cv_prog_RANLIB"
4933 test -z "$RANLIB" && RANLIB
=:
4940 # Determine commands to create old-style static archives.
4941 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4942 old_postinstall_cmds
='chmod 644 $oldlib'
4943 old_postuninstall_cmds
=
4945 if test -n "$RANLIB"; then
4948 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4951 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4954 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4990 # If no C compiler was specified, use CC.
4993 # If no C compiler flags were specified, use CFLAGS.
4994 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4996 # Allow CC to be a program name with arguments.
5000 # Check for command to grab the raw symbol name followed by C symbol from nm.
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5002 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5003 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5007 # These are sane defaults that work on at least a few old systems.
5008 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5010 # Character class describing NM global symbol codes.
5011 symcode
='[BCDEGRST]'
5013 # Regexp to match symbols that can be accessed directly from C.
5014 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5016 # Define system-specific variables.
5021 cygwin
* | mingw
* | pw32
* | cegcc
*)
5022 symcode
='[ABCDGISTW]'
5025 if test "$host_cpu" = ia64
; then
5026 symcode
='[ABCDEGRST]'
5030 symcode
='[BCDEGRST]'
5033 symcode
='[BCDEGQRST]'
5044 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5052 # If we're using GNU nm, then use its standard symbol codes.
5053 case `$NM -V 2>&1` in
5054 *GNU
* | *'with BFD'*)
5055 symcode
='[ABCDGIRSTW]' ;;
5058 # Transform an extracted symbol line into a proper C declaration.
5059 # Some systems (esp. on ia64) link data and code symbols differently,
5060 # so use this general approach.
5061 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5063 # Transform an extracted symbol line into symbol name and symbol address
5064 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5065 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'"
5067 # Handle CRLF in mingw tool chain
5071 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5075 # Try without a prefix underscore, then with it.
5076 for ac_symprfx
in "" "_"; do
5078 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5079 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5081 # Write the raw and C identifiers.
5082 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5083 # Fake it for dumpbin and say T for any non-static function
5084 # and D for any global variable.
5085 # Also find C++ and __fastcall symbols from MSVC++,
5086 # which start with @ or ?.
5087 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5088 " {last_section=section; section=\$ 3};"\
5089 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5090 " \$ 0!~/External *\|/{next};"\
5091 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5092 " {if(hide[section]) next};"\
5093 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5094 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5095 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5096 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5097 " ' prfx=^$ac_symprfx"
5099 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5102 # Check to see that the pipe works correctly.
5106 cat > conftest.
$ac_ext <<_LT_EOF
5111 void nm_test_func(void);
5112 void nm_test_func(void){}
5116 int main(){nm_test_var='a';nm_test_func();return(0);}
5119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5120 (eval $ac_compile) 2>&5
5122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5123 test $ac_status = 0; }; then
5124 # Now try to grab the symbols.
5126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5127 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5130 test $ac_status = 0; } && test -s "$nlist"; then
5131 # Try sorting and uniquifying the output.
5132 if sort "$nlist" | uniq > "$nlist"T
; then
5133 mv -f "$nlist"T
"$nlist"
5138 # Make sure that we snagged all the symbols we need.
5139 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5140 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5141 cat <<_LT_EOF > conftest.$ac_ext
5147 # Now generate the symbol file.
5148 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5150 cat <<_LT_EOF >> conftest.$ac_ext
5152 /* The mapping between symbol names and symbols. */
5157 lt__PROGRAM__LTX_preloaded_symbols[] =
5159 { "@PROGRAM@", (void *) 0 },
5161 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5162 cat <<\_LT_EOF
>> conftest.
$ac_ext
5166 /* This works around a problem
in FreeBSD linker
*/
5167 #ifdef FREEBSD_WORKAROUND
5168 static const void
*lt_preloaded_setup
() {
5169 return lt__PROGRAM__LTX_preloaded_symbols
;
5177 # Now try linking the two files.
5178 mv conftest.
$ac_objext conftstm.
$ac_objext
5179 lt_save_LIBS
="$LIBS"
5180 lt_save_CFLAGS
="$CFLAGS"
5181 LIBS
="conftstm.$ac_objext"
5182 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5184 (eval $ac_link) 2>&5
5186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5187 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5190 LIBS
="$lt_save_LIBS"
5191 CFLAGS
="$lt_save_CFLAGS"
5193 echo "cannot find nm_test_func in $nlist" >&5
5196 echo "cannot find nm_test_var in $nlist" >&5
5199 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5202 echo "$progname: failed program was:" >&5
5203 cat conftest.
$ac_ext >&5
5205 rm -rf conftest
* conftst
*
5207 # Do not use the global_symbol_pipe unless it works.
5208 if test "$pipe_works" = yes; then
5211 lt_cv_sys_global_symbol_pipe
=
5217 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5218 lt_cv_sys_global_symbol_to_cdecl
=
5220 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5222 $as_echo "failed" >&6; }
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5225 $as_echo "ok" >&6; }
5250 # Check whether --enable-libtool-lock was given.
5251 if test "${enable_libtool_lock+set}" = set; then :
5252 enableval
=$enable_libtool_lock;
5255 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5257 # Some flags need to be propagated to the compiler or linker for good
5261 # Find out which ABI we are using.
5262 echo 'int i;' > conftest.
$ac_ext
5263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5264 (eval $ac_compile) 2>&5
5266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5267 test $ac_status = 0; }; then
5268 case `/usr/bin/file conftest.$ac_objext` in
5280 # Find out which ABI we are using.
5281 echo '#line 5281 "configure"' > conftest.
$ac_ext
5282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5283 (eval $ac_compile) 2>&5
5285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5286 test $ac_status = 0; }; then
5287 if test "$lt_cv_prog_gnu_ld" = yes; then
5288 case `/usr/bin/file conftest.$ac_objext` in
5290 LD
="${LD-ld} -melf32bsmip"
5293 LD
="${LD-ld} -melf32bmipn32"
5296 LD
="${LD-ld} -melf64bmip"
5300 case `/usr/bin/file conftest.$ac_objext` in
5316 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5317 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5318 # Find out which ABI we are using.
5319 echo 'int i;' > conftest.
$ac_ext
5320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5321 (eval $ac_compile) 2>&5
5323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5324 test $ac_status = 0; }; then
5325 case `/usr/bin/file conftest.o` in
5328 x86_64
-*kfreebsd
*-gnu)
5329 LD
="${LD-ld} -m elf_i386_fbsd"
5332 LD
="${LD-ld} -m elf_i386"
5334 ppc64
-*linux
*|powerpc64
-*linux
*)
5335 LD
="${LD-ld} -m elf32ppclinux"
5338 LD
="${LD-ld} -m elf_s390"
5341 LD
="${LD-ld} -m elf32_sparc"
5347 x86_64
-*kfreebsd
*-gnu)
5348 LD
="${LD-ld} -m elf_x86_64_fbsd"
5351 LD
="${LD-ld} -m elf_x86_64"
5353 ppc
*-*linux
*|powerpc
*-*linux
*)
5354 LD
="${LD-ld} -m elf64ppc"
5356 s390
*-*linux
*|s390
*-*tpf
*)
5357 LD
="${LD-ld} -m elf64_s390"
5360 LD
="${LD-ld} -m elf64_sparc"
5370 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5371 SAVE_CFLAGS
="$CFLAGS"
5372 CFLAGS
="$CFLAGS -belf"
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5374 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5375 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5376 $as_echo_n "(cached) " >&6
5379 ac_cpp
='$CPP $CPPFLAGS'
5380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5395 if ac_fn_c_try_link
"$LINENO"; then :
5396 lt_cv_cc_needs_belf
=yes
5398 lt_cv_cc_needs_belf
=no
5400 rm -f core conftest.err conftest.
$ac_objext \
5401 conftest
$ac_exeext conftest.
$ac_ext
5403 ac_cpp
='$CPP $CPPFLAGS'
5404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5410 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5411 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5412 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5413 CFLAGS
="$SAVE_CFLAGS"
5417 # Find out which ABI we are using.
5418 echo 'int i;' > conftest.
$ac_ext
5419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5420 (eval $ac_compile) 2>&5
5422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5423 test $ac_status = 0; }; then
5424 case `/usr/bin/file conftest.o` in
5426 case $lt_cv_prog_gnu_ld in
5427 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5429 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5441 need_locks
="$enable_libtool_lock"
5445 rhapsody
* | darwin
*)
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5448 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$DSYMUTIL"; then
5455 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5475 if test -n "$DSYMUTIL"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5477 $as_echo "$DSYMUTIL" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5485 if test -z "$ac_cv_prog_DSYMUTIL"; then
5486 ac_ct_DSYMUTIL
=$DSYMUTIL
5487 # Extract the first word of "dsymutil", so it can be a program name with args.
5488 set dummy dsymutil
; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$ac_ct_DSYMUTIL"; then
5495 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5515 if test -n "$ac_ct_DSYMUTIL"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5517 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5523 if test "x$ac_ct_DSYMUTIL" = x
; then
5526 case $cross_compiling:$ac_tool_warned in
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned
=yes ;;
5532 DSYMUTIL
=$ac_ct_DSYMUTIL
5535 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5540 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$NMEDIT"; then
5547 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir
=.
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 NMEDIT
=$ac_cv_prog_NMEDIT
5567 if test -n "$NMEDIT"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5569 $as_echo "$NMEDIT" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5577 if test -z "$ac_cv_prog_NMEDIT"; then
5578 ac_ct_NMEDIT
=$NMEDIT
5579 # Extract the first word of "nmedit", so it can be a program name with args.
5580 set dummy nmedit
; ac_word
=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5584 $as_echo_n "(cached) " >&6
5586 if test -n "$ac_ct_NMEDIT"; then
5587 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5593 test -z "$as_dir" && as_dir
=.
5594 for ac_exec_ext
in '' $ac_executable_extensions; do
5595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5607 if test -n "$ac_ct_NMEDIT"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5609 $as_echo "$ac_ct_NMEDIT" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5615 if test "x$ac_ct_NMEDIT" = x
; then
5618 case $cross_compiling:$ac_tool_warned in
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned
=yes ;;
5624 NMEDIT
=$ac_ct_NMEDIT
5627 NMEDIT
="$ac_cv_prog_NMEDIT"
5630 if test -n "$ac_tool_prefix"; then
5631 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5632 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if test "${ac_cv_prog_LIPO+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$LIPO"; then
5639 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir
=.
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 LIPO
=$ac_cv_prog_LIPO
5659 if test -n "$LIPO"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5661 $as_echo "$LIPO" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5669 if test -z "$ac_cv_prog_LIPO"; then
5671 # Extract the first word of "lipo", so it can be a program name with args.
5672 set dummy lipo
; ac_word
=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5676 $as_echo_n "(cached) " >&6
5678 if test -n "$ac_ct_LIPO"; then
5679 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5685 test -z "$as_dir" && as_dir
=.
5686 for ac_exec_ext
in '' $ac_executable_extensions; do
5687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688 ac_cv_prog_ac_ct_LIPO
="lipo"
5689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5699 if test -n "$ac_ct_LIPO"; then
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5701 $as_echo "$ac_ct_LIPO" >&6; }
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }
5707 if test "x$ac_ct_LIPO" = x
; then
5710 case $cross_compiling:$ac_tool_warned in
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5714 ac_tool_warned
=yes ;;
5719 LIPO
="$ac_cv_prog_LIPO"
5722 if test -n "$ac_tool_prefix"; then
5723 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5724 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5728 $as_echo_n "(cached) " >&6
5730 if test -n "$OTOOL"; then
5731 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5737 test -z "$as_dir" && as_dir
=.
5738 for ac_exec_ext
in '' $ac_executable_extensions; do
5739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 OTOOL
=$ac_cv_prog_OTOOL
5751 if test -n "$OTOOL"; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5753 $as_echo "$OTOOL" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5761 if test -z "$ac_cv_prog_OTOOL"; then
5763 # Extract the first word of "otool", so it can be a program name with args.
5764 set dummy otool
; ac_word
=$2
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5767 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5768 $as_echo_n "(cached) " >&6
5770 if test -n "$ac_ct_OTOOL"; then
5771 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_prog_ac_ct_OTOOL
="otool"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5791 if test -n "$ac_ct_OTOOL"; then
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5793 $as_echo "$ac_ct_OTOOL" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5796 $as_echo "no" >&6; }
5799 if test "x$ac_ct_OTOOL" = x
; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned
=yes ;;
5811 OTOOL
="$ac_cv_prog_OTOOL"
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5816 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5820 $as_echo_n "(cached) " >&6
5822 if test -n "$OTOOL64"; then
5823 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5829 test -z "$as_dir" && as_dir
=.
5830 for ac_exec_ext
in '' $ac_executable_extensions; do
5831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5832 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 OTOOL64
=$ac_cv_prog_OTOOL64
5843 if test -n "$OTOOL64"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5845 $as_echo "$OTOOL64" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5853 if test -z "$ac_cv_prog_OTOOL64"; then
5854 ac_ct_OTOOL64
=$OTOOL64
5855 # Extract the first word of "otool64", so it can be a program name with args.
5856 set dummy otool64
; ac_word
=$2
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858 $as_echo_n "checking for $ac_word... " >&6; }
5859 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5862 if test -n "$ac_ct_OTOOL64"; then
5863 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir
=.
5870 for ac_exec_ext
in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5883 if test -n "$ac_ct_OTOOL64"; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5885 $as_echo "$ac_ct_OTOOL64" >&6; }
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888 $as_echo "no" >&6; }
5891 if test "x$ac_ct_OTOOL64" = x
; then
5894 case $cross_compiling:$ac_tool_warned in
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned
=yes ;;
5900 OTOOL64
=$ac_ct_OTOOL64
5903 OTOOL64
="$ac_cv_prog_OTOOL64"
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5933 $as_echo_n "checking for -single_module linker flag... " >&6; }
5934 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5935 $as_echo_n "(cached) " >&6
5937 lt_cv_apple_cc_single_mod
=no
5938 if test -z "${LT_MULTI_MODULE}"; then
5939 # By default we will add the -single_module flag. You can override
5940 # by either setting the environment variable LT_MULTI_MODULE
5941 # non-empty at configure time, or by adding -multi_module to the
5943 rm -rf libconftest.dylib
*
5944 echo "int foo(void){return 1;}" > conftest.c
5945 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5946 -dynamiclib -Wl,-single_module conftest.c" >&5
5947 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5948 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5950 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5951 lt_cv_apple_cc_single_mod
=yes
5953 cat conftest.err
>&5
5955 rm -rf libconftest.dylib
*
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5960 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5962 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5963 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5966 lt_cv_ld_exported_symbols_list
=no
5967 save_LDFLAGS
=$LDFLAGS
5968 echo "_main" > conftest.sym
5969 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5981 if ac_fn_c_try_link
"$LINENO"; then :
5982 lt_cv_ld_exported_symbols_list
=yes
5984 lt_cv_ld_exported_symbols_list
=no
5986 rm -f core conftest.err conftest.
$ac_objext \
5987 conftest
$ac_exeext conftest.
$ac_ext
5988 LDFLAGS
="$save_LDFLAGS"
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5992 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5994 rhapsody
* | darwin1.
[012])
5995 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5997 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5998 darwin
*) # darwin 5.x on
5999 # if running on 10.5 or later, the deployment target defaults
6000 # to the OS version, if on x86, and 10.4, the deployment
6001 # target defaults to 10.4. Don't you love it?
6002 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6003 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6004 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6006 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6008 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
6012 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6013 _lt_dar_single_mod
='$single_module'
6015 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6016 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6018 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6020 if test "$DSYMUTIL" != ":"; then
6021 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6029 ac_cpp
='$CPP $CPPFLAGS'
6030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6035 # On Suns, sometimes $CPP names a directory.
6036 if test -n "$CPP" && test -d "$CPP"; then
6039 if test -z "$CPP"; then
6040 if test "${ac_cv_prog_CPP+set}" = set; then :
6041 $as_echo_n "(cached) " >&6
6043 # Double quotes because CPP needs to be expanded
6044 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6047 for ac_c_preproc_warn_flag
in '' yes
6049 # Use a header file that comes with gcc, so configuring glibc
6050 # with a fresh cross-compiler works.
6051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6052 # <limits.h> exists even on freestanding compilers.
6053 # On the NeXT, cc -E runs the code through the compiler's parser,
6054 # not just through cpp. "Syntax error" is here to catch this case.
6055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6056 /* end confdefs.h. */
6058 # include <limits.h>
6060 # include <assert.h>
6064 if ac_fn_c_try_cpp
"$LINENO"; then :
6067 # Broken: fails on valid input.
6070 rm -f conftest.err conftest.i conftest.
$ac_ext
6072 # OK, works on sane cases. Now check whether nonexistent headers
6073 # can be detected and how.
6074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6075 /* end confdefs.h. */
6076 #include <ac_nonexistent.h>
6078 if ac_fn_c_try_cpp
"$LINENO"; then :
6079 # Broken: success on invalid input.
6082 # Passes both tests.
6086 rm -f conftest.err conftest.i conftest.
$ac_ext
6089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6090 rm -f conftest.i conftest.err conftest.
$ac_ext
6091 if $ac_preproc_ok; then :
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6104 $as_echo "$CPP" >&6; }
6106 for ac_c_preproc_warn_flag
in '' yes
6108 # Use a header file that comes with gcc, so configuring glibc
6109 # with a fresh cross-compiler works.
6110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6111 # <limits.h> exists even on freestanding compilers.
6112 # On the NeXT, cc -E runs the code through the compiler's parser,
6113 # not just through cpp. "Syntax error" is here to catch this case.
6114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6115 /* end confdefs.h. */
6117 # include <limits.h>
6119 # include <assert.h>
6123 if ac_fn_c_try_cpp
"$LINENO"; then :
6126 # Broken: fails on valid input.
6129 rm -f conftest.err conftest.i conftest.
$ac_ext
6131 # OK, works on sane cases. Now check whether nonexistent headers
6132 # can be detected and how.
6133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6135 #include <ac_nonexistent.h>
6137 if ac_fn_c_try_cpp
"$LINENO"; then :
6138 # Broken: success on invalid input.
6141 # Passes both tests.
6145 rm -f conftest.err conftest.i conftest.
$ac_ext
6148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6149 rm -f conftest.i conftest.err conftest.
$ac_ext
6150 if $ac_preproc_ok; then :
6153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6155 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6156 See \`config.log' for more details" "$LINENO" 5 ; }
6160 ac_cpp
='$CPP $CPPFLAGS'
6161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6167 $as_echo_n "checking for ANSI C header files... " >&6; }
6168 if test "${ac_cv_header_stdc+set}" = set; then :
6169 $as_echo_n "(cached) " >&6
6171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6172 /* end confdefs.h. */
6186 if ac_fn_c_try_compile
"$LINENO"; then :
6187 ac_cv_header_stdc
=yes
6189 ac_cv_header_stdc
=no
6191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6193 if test $ac_cv_header_stdc = yes; then
6194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6201 $EGREP "memchr" >/dev
/null
2>&1; then :
6204 ac_cv_header_stdc
=no
6210 if test $ac_cv_header_stdc = yes; then
6211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6213 /* end confdefs.h. */
6217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6218 $EGREP "free" >/dev
/null
2>&1; then :
6221 ac_cv_header_stdc
=no
6227 if test $ac_cv_header_stdc = yes; then
6228 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6229 if test "$cross_compiling" = yes; then :
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6236 #if ((' ' & 0x0FF) == 0x020)
6237 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6238 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6240 # define ISLOWER(c) \
6241 (('a' <= (c) && (c) <= 'i') \
6242 || ('j' <= (c) && (c) <= 'r') \
6243 || ('s' <= (c) && (c) <= 'z'))
6244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6252 for (i = 0; i < 256; i++)
6253 if (XOR (islower (i), ISLOWER (i))
6254 || toupper (i) != TOUPPER (i))
6259 if ac_fn_c_try_run
"$LINENO"; then :
6262 ac_cv_header_stdc
=no
6264 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6265 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6271 $as_echo "$ac_cv_header_stdc" >&6; }
6272 if test $ac_cv_header_stdc = yes; then
6274 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6279 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6280 inttypes.h stdint.h unistd.h
6282 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6283 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6285 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6286 cat >>confdefs.h
<<_ACEOF
6287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6295 for ac_header
in dlfcn.h
6297 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6299 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6300 cat >>confdefs.h
<<_ACEOF
6301 #define HAVE_DLFCN_H 1
6311 # Check whether --enable-static was given.
6312 if test "${enable_static+set}" = set; then :
6313 enableval
=$enable_static; p
=${PACKAGE-default}
6315 yes) enable_static
=yes ;;
6316 no
) enable_static
=no
;;
6319 # Look at the argument we got. We use all the common list separators.
6320 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6321 for pkg
in $enableval; do
6323 if test "X$pkg" = "X$p"; then
6349 # Check whether --enable-shared was given.
6350 if test "${enable_shared+set}" = set; then :
6351 enableval
=$enable_shared; p
=${PACKAGE-default}
6353 yes) enable_shared
=yes ;;
6354 no
) enable_shared
=no
;;
6357 # Look at the argument we got. We use all the common list separators.
6358 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6359 for pkg
in $enableval; do
6361 if test "X$pkg" = "X$p"; then
6382 # Check whether --with-pic was given.
6383 if test "${with_pic+set}" = set; then :
6384 withval
=$with_pic; pic_mode
="$withval"
6390 test -z "$pic_mode" && pic_mode
=default
6398 # Check whether --enable-fast-install was given.
6399 if test "${enable_fast_install+set}" = set; then :
6400 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6402 yes) enable_fast_install
=yes ;;
6403 no
) enable_fast_install
=no
;;
6405 enable_fast_install
=no
6406 # Look at the argument we got. We use all the common list separators.
6407 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6408 for pkg
in $enableval; do
6410 if test "X$pkg" = "X$p"; then
6411 enable_fast_install
=yes
6418 enable_fast_install
=yes
6431 # This can be used to rebuild libtool when needed
6432 LIBTOOL_DEPS
="$ltmain"
6434 # Always use our own libtool.
6435 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6461 test -z "$LN_S" && LN_S
="ln -s"
6476 if test -n "${ZSH_VERSION+set}" ; then
6477 setopt NO_GLOB_SUBST
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6481 $as_echo_n "checking for objdir... " >&6; }
6482 if test "${lt_cv_objdir+set}" = set; then :
6483 $as_echo_n "(cached) " >&6
6485 rm -f .libs
2>/dev
/null
6486 mkdir .libs
2>/dev
/null
6487 if test -d .libs
; then
6490 # MS-DOS does not allow filenames that begin with a dot.
6493 rmdir .libs
2>/dev
/null
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6496 $as_echo "$lt_cv_objdir" >&6; }
6497 objdir
=$lt_cv_objdir
6503 cat >>confdefs.h
<<_ACEOF
6504 #define LT_OBJDIR "$lt_cv_objdir/"
6525 # AIX sometimes has problems with the GCC collect2 program. For some
6526 # reason, if we set the COLLECT_NAMES environment variable, the problems
6527 # vanish in a puff of smoke.
6528 if test "X${COLLECT_NAMES+set}" != Xset
; then
6530 export COLLECT_NAMES
6535 # Sed substitution that helps us do robust quoting. It backslashifies
6536 # metacharacters that are still active within double-quoted strings.
6537 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6539 # Same as above, but do not quote variable references.
6540 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6542 # Sed substitution to delay expansion of an escaped shell variable in a
6543 # double_quote_subst'ed string.
6544 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6546 # Sed substitution to delay expansion of an escaped single quote.
6547 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6549 # Sed substitution to avoid accidental globbing in evaled expressions
6550 no_glob_subst
='s/\*/\\\*/g'
6554 can_build_shared
=yes
6556 # All known linkers require a `.a' archive for static linking (except MSVC,
6557 # which needs '.lib').
6560 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6563 old_CFLAGS
="$CFLAGS"
6565 # Set sane defaults for various variables
6566 test -z "$CC" && CC
=cc
6567 test -z "$LTCC" && LTCC
=$CC
6568 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6569 test -z "$LD" && LD
=ld
6570 test -z "$ac_objext" && ac_objext
=o
6572 for cc_temp
in $compiler""; do
6574 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6575 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6580 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6583 # Only perform the check for file, if the check method requires it
6584 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6585 case $deplibs_check_method in
6587 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6589 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6590 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6591 $as_echo_n "(cached) " >&6
6595 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6598 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6599 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6600 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6601 for ac_dir
in $ac_dummy; do
6603 test -z "$ac_dir" && ac_dir
=.
6604 if test -f $ac_dir/${ac_tool_prefix}file; then
6605 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6606 if test -n "$file_magic_test_file"; then
6607 case $deplibs_check_method in
6609 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6610 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6611 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6612 $EGREP "$file_magic_regex" > /dev
/null
; then
6617 *** Warning: the command libtool uses to detect shared libraries,
6618 *** $file_magic_cmd, produces output that libtool cannot recognize.
6619 *** The result is that libtool may fail to recognize shared libraries
6620 *** as such. This will affect the creation of libtool libraries that
6621 *** depend on shared libraries, but programs linked with such libtool
6622 *** libraries will work regardless of this problem. Nevertheless, you
6623 *** may want to report the problem to your system manager and/or to
6624 *** bug-libtool@gnu.org
6634 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6639 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6640 if test -n "$MAGIC_CMD"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6642 $as_echo "$MAGIC_CMD" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6652 if test -z "$lt_cv_path_MAGIC_CMD"; then
6653 if test -n "$ac_tool_prefix"; then
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6655 $as_echo_n "checking for file... " >&6; }
6656 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6661 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6664 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6665 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6666 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6667 for ac_dir
in $ac_dummy; do
6669 test -z "$ac_dir" && ac_dir
=.
6670 if test -f $ac_dir/file; then
6671 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6672 if test -n "$file_magic_test_file"; then
6673 case $deplibs_check_method in
6675 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6676 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6677 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6678 $EGREP "$file_magic_regex" > /dev
/null
; then
6683 *** Warning: the command libtool uses to detect shared libraries,
6684 *** $file_magic_cmd, produces output that libtool cannot recognize.
6685 *** The result is that libtool may fail to recognize shared libraries
6686 *** as such. This will affect the creation of libtool libraries that
6687 *** depend on shared libraries, but programs linked with such libtool
6688 *** libraries will work regardless of this problem. Nevertheless, you
6689 *** may want to report the problem to your system manager and/or to
6690 *** bug-libtool@gnu.org
6700 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6705 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6706 if test -n "$MAGIC_CMD"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6708 $as_echo "$MAGIC_CMD" >&6; }
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6724 # Use C for the default configuration in the libtool script
6728 ac_cpp
='$CPP $CPPFLAGS'
6729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6734 # Source file extension for C test sources.
6737 # Object file extension for compiled C test sources.
6741 # Code to be used in simple compile tests
6742 lt_simple_compile_test_code
="int some_variable = 0;"
6744 # Code to be used in simple link tests
6745 lt_simple_link_test_code
='int main(){return(0);}'
6753 # If no C compiler was specified, use CC.
6756 # If no C compiler flags were specified, use CFLAGS.
6757 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6759 # Allow CC to be a program name with arguments.
6762 # Save the default compiler, since it gets overwritten when the other
6763 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6764 compiler_DEFAULT
=$CC
6766 # save warnings/boilerplate of simple test code
6767 ac_outfile
=conftest.
$ac_objext
6768 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6769 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6770 _lt_compiler_boilerplate
=`cat conftest.err`
6773 ac_outfile
=conftest.
$ac_objext
6774 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6775 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6776 _lt_linker_boilerplate
=`cat conftest.err`
6780 if test -n "$compiler"; then
6782 lt_prog_compiler_no_builtin_flag
=
6784 if test "$GCC" = yes; then
6785 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6788 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6789 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6790 $as_echo_n "(cached) " >&6
6792 lt_cv_prog_compiler_rtti_exceptions
=no
6793 ac_outfile
=conftest.
$ac_objext
6794 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6795 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6796 # Insert the option either (1) after the last *FLAGS variable, or
6797 # (2) before a word containing "conftest.", or (3) at the end.
6798 # Note that $ac_compile itself does not contain backslashes and begins
6799 # with a dollar sign (not a hyphen), so the echo should work correctly.
6800 # The option is referenced via a variable to avoid confusing sed.
6801 lt_compile
=`echo "$ac_compile" | $SED \
6802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6804 -e 's:$: $lt_compiler_flag:'`
6805 (eval echo "\"\$as_me:6805: $lt_compile\"" >&5)
6806 (eval "$lt_compile" 2>conftest.err
)
6808 cat conftest.err
>&5
6809 echo "$as_me:6809: \$? = $ac_status" >&5
6810 if (exit $ac_status) && test -s "$ac_outfile"; then
6811 # The compiler can only warn and ignore the option if not recognized
6812 # So say no if there are warnings other than the usual output.
6813 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6814 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6815 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6816 lt_cv_prog_compiler_rtti_exceptions
=yes
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6823 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6825 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6826 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6838 lt_prog_compiler_wl
=
6839 lt_prog_compiler_pic
=
6840 lt_prog_compiler_static
=
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6843 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6845 if test "$GCC" = yes; then
6846 lt_prog_compiler_wl
='-Wl,'
6847 lt_prog_compiler_static
='-static'
6851 # All AIX code is PIC.
6852 if test "$host_cpu" = ia64
; then
6853 # AIX 5 now supports IA64 processor
6854 lt_prog_compiler_static
='-Bstatic'
6861 # see comment about AmigaOS4 .so support
6862 lt_prog_compiler_pic
='-fPIC'
6865 # FIXME: we need at least 68020 code to build shared libraries, but
6866 # adding the `-m68020' flag to GCC prevents building anything better,
6868 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6873 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6874 # PIC is the default for these OSes.
6877 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6878 # This hack is so that the source file can tell whether it is being
6879 # built for inclusion in a dll (and should export symbols for example).
6880 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6881 # (--disable-auto-import) libraries
6882 lt_prog_compiler_pic
='-DDLL_EXPORT'
6885 darwin
* | rhapsody
*)
6886 # PIC is the default on this platform
6887 # Common symbols not allowed in MH_DYLIB files
6888 lt_prog_compiler_pic
='-fno-common'
6892 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6893 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6894 # sets the default TLS model and affects inlining.
6900 lt_prog_compiler_pic
='-fPIC'
6906 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6907 # Instead, we relocate shared libraries at runtime.
6911 # Just because we use GCC doesn't mean we suddenly get shared libraries
6912 # on systems that don't support them.
6913 lt_prog_compiler_can_build_shared
=no
6918 # QNX uses GNU C++, but need to define -shared option too, otherwise
6920 lt_prog_compiler_pic
='-fPIC -shared'
6924 if test -d /usr
/nec
; then
6925 lt_prog_compiler_pic
=-Kconform_pic
6930 lt_prog_compiler_pic
='-fPIC'
6934 # PORTME Check for flag to pass linker flags through the system compiler.
6937 lt_prog_compiler_wl
='-Wl,'
6938 if test "$host_cpu" = ia64
; then
6939 # AIX 5 now supports IA64 processor
6940 lt_prog_compiler_static
='-Bstatic'
6942 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6946 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6947 # This hack is so that the source file can tell whether it is being
6948 # built for inclusion in a dll (and should export symbols for example).
6949 lt_prog_compiler_pic
='-DDLL_EXPORT'
6952 hpux9
* | hpux10
* | hpux11
*)
6953 lt_prog_compiler_wl
='-Wl,'
6954 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6961 lt_prog_compiler_pic
='+Z'
6964 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6965 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6968 irix5
* | irix6
* | nonstopux
*)
6969 lt_prog_compiler_wl
='-Wl,'
6970 # PIC (with -KPIC) is the default.
6971 lt_prog_compiler_static
='-non_shared'
6974 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6975 case $cc_basename in
6976 # old Intel for x86_64 which still supported -KPIC.
6978 lt_prog_compiler_wl
='-Wl,'
6979 lt_prog_compiler_pic
='-KPIC'
6980 lt_prog_compiler_static
='-static'
6982 # icc used to be incompatible with GCC.
6983 # ICC 10 doesn't accept -KPIC any more.
6985 lt_prog_compiler_wl
='-Wl,'
6986 lt_prog_compiler_pic
='-fPIC'
6987 lt_prog_compiler_static
='-static'
6989 # Lahey Fortran 8.1.
6991 lt_prog_compiler_wl
='-Wl,'
6992 lt_prog_compiler_pic
='--shared'
6993 lt_prog_compiler_static
='--static'
6995 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6996 # Portland Group compilers (*not* the Pentium gcc compiler,
6997 # which looks to be a dead project)
6998 lt_prog_compiler_wl
='-Wl,'
6999 lt_prog_compiler_pic
='-fpic'
7000 lt_prog_compiler_static
='-Bstatic'
7003 lt_prog_compiler_wl
='-Wl,'
7004 # All Alpha code is PIC.
7005 lt_prog_compiler_static
='-non_shared'
7008 # IBM XL C 8.0/Fortran 10.1 on PPC
7009 lt_prog_compiler_wl
='-Wl,'
7010 lt_prog_compiler_pic
='-qpic'
7011 lt_prog_compiler_static
='-qstaticlink'
7014 case `$CC -V 2>&1 | sed 5q` in
7017 lt_prog_compiler_pic
='-KPIC'
7018 lt_prog_compiler_static
='-Bstatic'
7019 lt_prog_compiler_wl
='-Wl,'
7022 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7023 lt_prog_compiler_pic
='-KPIC'
7024 lt_prog_compiler_static
='-Bstatic'
7025 lt_prog_compiler_wl
=''
7033 lt_prog_compiler_pic
='-KPIC'
7034 lt_prog_compiler_static
='-Bstatic'
7038 # QNX uses GNU C++, but need to define -shared option too, otherwise
7040 lt_prog_compiler_pic
='-fPIC -shared'
7043 osf3
* | osf4
* | osf5
*)
7044 lt_prog_compiler_wl
='-Wl,'
7045 # All OSF/1 code is PIC.
7046 lt_prog_compiler_static
='-non_shared'
7050 lt_prog_compiler_static
='-non_shared'
7054 lt_prog_compiler_pic
='-KPIC'
7055 lt_prog_compiler_static
='-Bstatic'
7056 case $cc_basename in
7058 lt_prog_compiler_wl
='-Qoption ld ';;
7060 lt_prog_compiler_wl
='-Wl,';;
7065 lt_prog_compiler_wl
='-Qoption ld '
7066 lt_prog_compiler_pic
='-PIC'
7067 lt_prog_compiler_static
='-Bstatic'
7070 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7071 lt_prog_compiler_wl
='-Wl,'
7072 lt_prog_compiler_pic
='-KPIC'
7073 lt_prog_compiler_static
='-Bstatic'
7077 if test -d /usr
/nec
;then
7078 lt_prog_compiler_pic
='-Kconform_pic'
7079 lt_prog_compiler_static
='-Bstatic'
7083 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7084 lt_prog_compiler_wl
='-Wl,'
7085 lt_prog_compiler_pic
='-KPIC'
7086 lt_prog_compiler_static
='-Bstatic'
7090 lt_prog_compiler_wl
='-Wl,'
7091 lt_prog_compiler_can_build_shared
=no
7095 lt_prog_compiler_pic
='-pic'
7096 lt_prog_compiler_static
='-Bstatic'
7100 lt_prog_compiler_can_build_shared
=no
7106 # For platforms which do not support PIC, -DPIC is meaningless:
7108 lt_prog_compiler_pic
=
7111 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7115 $as_echo "$lt_prog_compiler_pic" >&6; }
7123 # Check to make sure the PIC flag actually works.
7125 if test -n "$lt_prog_compiler_pic"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7127 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7128 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7129 $as_echo_n "(cached) " >&6
7131 lt_cv_prog_compiler_pic_works
=no
7132 ac_outfile
=conftest.
$ac_objext
7133 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7134 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7135 # Insert the option either (1) after the last *FLAGS variable, or
7136 # (2) before a word containing "conftest.", or (3) at the end.
7137 # Note that $ac_compile itself does not contain backslashes and begins
7138 # with a dollar sign (not a hyphen), so the echo should work correctly.
7139 # The option is referenced via a variable to avoid confusing sed.
7140 lt_compile
=`echo "$ac_compile" | $SED \
7141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7143 -e 's:$: $lt_compiler_flag:'`
7144 (eval echo "\"\$as_me:7144: $lt_compile\"" >&5)
7145 (eval "$lt_compile" 2>conftest.err
)
7147 cat conftest.err
>&5
7148 echo "$as_me:7148: \$? = $ac_status" >&5
7149 if (exit $ac_status) && test -s "$ac_outfile"; then
7150 # The compiler can only warn and ignore the option if not recognized
7151 # So say no if there are warnings other than the usual output.
7152 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7153 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7154 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7155 lt_cv_prog_compiler_pic_works
=yes
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7162 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7164 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7165 case $lt_prog_compiler_pic in
7167 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7170 lt_prog_compiler_pic
=
7171 lt_prog_compiler_can_build_shared
=no
7182 # Check to make sure the static flag actually works.
7184 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7186 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7187 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7188 $as_echo_n "(cached) " >&6
7190 lt_cv_prog_compiler_static_works
=no
7191 save_LDFLAGS
="$LDFLAGS"
7192 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7193 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7194 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7195 # The linker can only warn and ignore the option if not recognized
7196 # So say no if there are warnings
7197 if test -s conftest.err
; then
7198 # Append any errors to the config.log.
7199 cat conftest.err
1>&5
7200 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7201 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7202 if diff conftest.exp conftest.er2
>/dev
/null
; then
7203 lt_cv_prog_compiler_static_works
=yes
7206 lt_cv_prog_compiler_static_works
=yes
7210 LDFLAGS
="$save_LDFLAGS"
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7214 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7216 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7219 lt_prog_compiler_static
=
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7229 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7230 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7231 $as_echo_n "(cached) " >&6
7233 lt_cv_prog_compiler_c_o
=no
7234 $RM -r conftest
2>/dev
/null
7238 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7240 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7241 # Insert the option either (1) after the last *FLAGS variable, or
7242 # (2) before a word containing "conftest.", or (3) at the end.
7243 # Note that $ac_compile itself does not contain backslashes and begins
7244 # with a dollar sign (not a hyphen), so the echo should work correctly.
7245 lt_compile
=`echo "$ac_compile" | $SED \
7246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7248 -e 's:$: $lt_compiler_flag:'`
7249 (eval echo "\"\$as_me:7249: $lt_compile\"" >&5)
7250 (eval "$lt_compile" 2>out
/conftest.err
)
7252 cat out
/conftest.err
>&5
7253 echo "$as_me:7253: \$? = $ac_status" >&5
7254 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7256 # The compiler can only warn and ignore the option if not recognized
7257 # So say no if there are warnings
7258 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7259 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7260 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7261 lt_cv_prog_compiler_c_o
=yes
7266 # SGI C++ compiler will create directory out/ii_files/ for
7267 # template instantiation
7268 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7269 $RM out
/* && rmdir out
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7276 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7284 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7285 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7288 lt_cv_prog_compiler_c_o
=no
7289 $RM -r conftest
2>/dev
/null
7293 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7295 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7296 # Insert the option either (1) after the last *FLAGS variable, or
7297 # (2) before a word containing "conftest.", or (3) at the end.
7298 # Note that $ac_compile itself does not contain backslashes and begins
7299 # with a dollar sign (not a hyphen), so the echo should work correctly.
7300 lt_compile
=`echo "$ac_compile" | $SED \
7301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7303 -e 's:$: $lt_compiler_flag:'`
7304 (eval echo "\"\$as_me:7304: $lt_compile\"" >&5)
7305 (eval "$lt_compile" 2>out
/conftest.err
)
7307 cat out
/conftest.err
>&5
7308 echo "$as_me:7308: \$? = $ac_status" >&5
7309 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7311 # The compiler can only warn and ignore the option if not recognized
7312 # So say no if there are warnings
7313 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7314 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7315 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7316 lt_cv_prog_compiler_c_o
=yes
7321 # SGI C++ compiler will create directory out/ii_files/ for
7322 # template instantiation
7323 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7324 $RM out
/* && rmdir out
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7331 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7336 hard_links
="nottested"
7337 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7338 # do not overwrite the value of need_locks provided by the user
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7340 $as_echo_n "checking if we can lock with hard links... " >&6; }
7343 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7345 ln conftest.a conftest.b
2>&5 || hard_links
=no
7346 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7348 $as_echo "$hard_links" >&6; }
7349 if test "$hard_links" = no
; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7351 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7364 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7367 allow_undefined_flag
=
7368 always_export_symbols
=no
7370 archive_expsym_cmds
=
7371 compiler_needs_object
=no
7372 enable_shared_with_static_runtimes
=no
7373 export_dynamic_flag_spec
=
7374 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7375 hardcode_automatic
=no
7377 hardcode_direct_absolute
=no
7378 hardcode_libdir_flag_spec
=
7379 hardcode_libdir_flag_spec_ld
=
7380 hardcode_libdir_separator
=
7382 hardcode_shlibpath_var
=unsupported
7384 link_all_deplibs
=unknown
7387 old_archive_from_new_cmds
=
7388 old_archive_from_expsyms_cmds
=
7389 thread_safe_flag_spec
=
7390 whole_archive_flag_spec
=
7391 # include_expsyms should be a list of space-separated symbols to be *always*
7392 # included in the symbol list
7394 # exclude_expsyms can be an extended regexp of symbols to exclude
7395 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7396 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7397 # as well as any symbol that contains `d'.
7398 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7399 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7400 # platforms (ab)use it in PIC code, but their linkers get confused if
7401 # the symbol is explicitly referenced. Since portable code cannot
7402 # rely on this symbol name, it's probably fine to never include it in
7403 # preloaded symbol tables.
7404 # Exclude shared library initialization/finalization symbols.
7405 extract_expsyms_cmds
=
7408 cygwin
* | mingw
* | pw32
* | cegcc
*)
7409 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7410 # When not using gcc, we currently assume that we are using
7411 # Microsoft Visual C++.
7412 if test "$GCC" != yes; then
7417 # we just hope/assume this is gcc and not c89 (= MSVC++)
7423 linux
* | k
*bsd
*-gnu)
7429 if test "$with_gnu_ld" = yes; then
7430 # If archive_cmds runs LD, not CC, wlarc should be empty
7433 # Set some defaults for GNU ld with shared library support. These
7434 # are reset later if shared libraries are not supported. Putting them
7435 # here allows them to be overridden if necessary.
7436 runpath_var
=LD_RUN_PATH
7437 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7438 export_dynamic_flag_spec
='${wl}--export-dynamic'
7439 # ancient GNU ld didn't support --whole-archive et. al.
7440 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7441 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7443 whole_archive_flag_spec
=
7445 supports_anon_versioning
=no
7446 case `$LD -v 2>&1` in
7447 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7448 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7449 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7450 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7451 *\
2.11.
*) ;; # other 2.11 versions
7452 *) supports_anon_versioning
=yes ;;
7455 # See if GNU ld supports shared libraries.
7458 # On AIX/PPC, the GNU linker is very broken
7459 if test "$host_cpu" != ia64
; then
7463 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7464 *** to be unable to reliably create shared libraries on AIX.
7465 *** Therefore, libtool is disabling shared libraries support. If you
7466 *** really care for shared libraries, you may want to modify your PATH
7467 *** so that a non-GNU linker is found, and then restart.
7476 # see comment about AmigaOS4 .so support
7477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7478 archive_expsym_cmds
=''
7481 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)'
7482 hardcode_libdir_flag_spec
='-L$libdir'
7483 hardcode_minus_L
=yes
7489 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7490 allow_undefined_flag
=unsupported
7491 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7492 # support --undefined. This deserves some investigation. FIXME
7493 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7499 cygwin
* | mingw
* | pw32
* | cegcc
*)
7500 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7501 # as there is no search path for DLLs.
7502 hardcode_libdir_flag_spec
='-L$libdir'
7503 allow_undefined_flag
=unsupported
7504 always_export_symbols
=no
7505 enable_shared_with_static_runtimes
=yes
7506 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7508 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7509 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7510 # If the export-symbols file already is a .def file (1st line
7511 # is EXPORTS), use it as is; otherwise, prepend...
7512 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7513 cp $export_symbols $output_objdir/$soname.def;
7515 echo EXPORTS > $output_objdir/$soname.def;
7516 cat $export_symbols >> $output_objdir/$soname.def;
7518 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7526 hardcode_shlibpath_var
=no
7527 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7528 export_dynamic_flag_spec
='${wl}-E'
7529 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7530 # Instead, shared libraries are loaded at an image base (0x10000000 by
7531 # default) and relocated if they conflict, which is a slow very memory
7532 # consuming and fragmenting process. To avoid this, we pick a random,
7533 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7534 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7535 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7536 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'
7539 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7541 if test "$host_os" = linux
-dietlibc; then
7542 case $cc_basename in
7543 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7546 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7547 && test "$tmp_diet" = no
7550 tmp_sharedflag
='-shared'
7551 case $cc_basename,$host_cpu in
7552 pgcc
*) # Portland Group C compiler
7553 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'
7554 tmp_addflag
=' $pic_flag'
7556 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7557 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'
7558 tmp_addflag
=' $pic_flag -Mnomain' ;;
7559 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7560 tmp_addflag
=' -i_dynamic' ;;
7561 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7562 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7563 ifc
* | ifort
*) # Intel Fortran compiler
7564 tmp_addflag
=' -nofor_main' ;;
7565 lf95
*) # Lahey Fortran 8.1
7566 whole_archive_flag_spec
=
7567 tmp_sharedflag
='--shared' ;;
7568 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7569 tmp_sharedflag
='-qmkshrobj'
7572 case `$CC -V 2>&1 | sed 5q` in
7573 *Sun\ C
*) # Sun C 5.9
7574 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'
7575 compiler_needs_object
=yes
7576 tmp_sharedflag
='-G' ;;
7577 *Sun\ F
*) # Sun Fortran 8.3
7578 tmp_sharedflag
='-G' ;;
7580 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7582 if test "x$supports_anon_versioning" = xyes
; then
7583 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7584 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7585 echo "local: *; };" >> $output_objdir/$libname.ver~
7586 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7589 case $cc_basename in
7591 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7592 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7593 hardcode_libdir_flag_spec
=
7594 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7595 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7596 if test "x$supports_anon_versioning" = xyes
; then
7597 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7598 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7599 echo "local: *; };" >> $output_objdir/$libname.ver~
7600 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7609 netbsd
* | netbsdelf
*-gnu)
7610 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7611 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7614 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7615 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7620 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7624 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7625 *** create shared libraries on Solaris systems. Therefore, libtool
7626 *** is disabling shared libraries support. We urge you to upgrade GNU
7627 *** binutils to release 2.9.1 or newer. Another option is to modify
7628 *** your PATH or compiler configuration so that the native linker is
7629 *** used, and then restart.
7632 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7633 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7634 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7640 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7641 case `$LD -v 2>&1` in
7642 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7646 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7647 *** reliably create shared libraries on SCO systems. Therefore, libtool
7648 *** is disabling shared libraries support. We urge you to upgrade GNU
7649 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7650 *** your PATH or compiler configuration so that the native linker is
7651 *** used, and then restart.
7656 # For security reasons, it is highly recommended that you always
7657 # use absolute paths for naming shared libraries, and exclude the
7658 # DT_RUNPATH tag from executables and libraries. But doing so
7659 # requires that you compile everything twice, which is a pain.
7660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7661 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7663 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7672 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7675 hardcode_shlibpath_var
=no
7679 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7681 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7688 if test "$ld_shlibs" = no
; then
7690 hardcode_libdir_flag_spec
=
7691 export_dynamic_flag_spec
=
7692 whole_archive_flag_spec
=
7695 # PORTME fill in a description of your system's linker (not GNU ld)
7698 allow_undefined_flag
=unsupported
7699 always_export_symbols
=yes
7700 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'
7701 # Note: this linker hardcodes the directories in LIBPATH if there
7702 # are no directories specified by -L.
7703 hardcode_minus_L
=yes
7704 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7705 # Neither direct hardcoding nor static linking is supported with a
7707 hardcode_direct
=unsupported
7712 if test "$host_cpu" = ia64
; then
7713 # On IA64, the linker does run time linking by default, so we don't
7714 # have to do anything special.
7715 aix_use_runtimelinking
=no
7716 exp_sym_flag
='-Bexport'
7719 # If we're using GNU nm, then we don't want the "-C" option.
7720 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7721 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7722 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'
7724 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'
7726 aix_use_runtimelinking
=no
7728 # Test if we are trying to use run time linking or normal
7729 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7730 # need to do runtime linking.
7731 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7732 for ld_flag
in $LDFLAGS; do
7733 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7734 aix_use_runtimelinking
=yes
7741 exp_sym_flag
='-bexport'
7742 no_entry_flag
='-bnoentry'
7745 # When large executables or shared objects are built, AIX ld can
7746 # have problems creating the table of contents. If linking a library
7747 # or program results in "error TOC overflow" add -mminimal-toc to
7748 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7749 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7753 hardcode_direct_absolute
=yes
7754 hardcode_libdir_separator
=':'
7755 link_all_deplibs
=yes
7756 file_list_spec
='${wl}-f,'
7758 if test "$GCC" = yes; then
7759 case $host_os in aix4.
[012]|aix4.
[012].
*)
7760 # We only want to do this on AIX 4.2 and lower, the check
7761 # below for broken collect2 doesn't work under 4.3+
7762 collect2name
=`${CC} -print-prog-name=collect2`
7763 if test -f "$collect2name" &&
7764 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7766 # We have reworked collect2
7769 # We have old collect2
7770 hardcode_direct
=unsupported
7771 # It fails to find uninstalled libraries when the uninstalled
7772 # path is not listed in the libpath. Setting hardcode_minus_L
7773 # to unsupported forces relinking
7774 hardcode_minus_L
=yes
7775 hardcode_libdir_flag_spec
='-L$libdir'
7776 hardcode_libdir_separator
=
7780 shared_flag
='-shared'
7781 if test "$aix_use_runtimelinking" = yes; then
7782 shared_flag
="$shared_flag "'${wl}-G'
7787 if test "$host_cpu" = ia64
; then
7788 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7789 # chokes on -Wl,-G. The following line is correct:
7792 if test "$aix_use_runtimelinking" = yes; then
7793 shared_flag
='${wl}-G'
7795 shared_flag
='${wl}-bM:SRE'
7800 export_dynamic_flag_spec
='${wl}-bexpall'
7801 # It seems that -bexpall does not export symbols beginning with
7802 # underscore (_), so it is better to generate a list of symbols to export.
7803 always_export_symbols
=yes
7804 if test "$aix_use_runtimelinking" = yes; then
7805 # Warning - without using the other runtime loading flags (-brtl),
7806 # -berok will link without error, but may produce a broken library.
7807 allow_undefined_flag
='-berok'
7808 # Determine the default libpath from the value encoded in an
7810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h. */
7821 if ac_fn_c_try_link
"$LINENO"; then :
7823 lt_aix_libpath_sed
='
7824 /Import File Strings/,/^$/ {
7830 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7831 # Check for a 64-bit object if we didn't find anything.
7832 if test -z "$aix_libpath"; then
7833 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7836 rm -f core conftest.err conftest.
$ac_objext \
7837 conftest
$ac_exeext conftest.
$ac_ext
7838 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7840 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7841 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"
7843 if test "$host_cpu" = ia64
; then
7844 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7845 allow_undefined_flag
="-z nodefs"
7846 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"
7848 # Determine the default libpath from the value encoded in an
7850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7861 if ac_fn_c_try_link
"$LINENO"; then :
7863 lt_aix_libpath_sed
='
7864 /Import File Strings/,/^$/ {
7870 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7871 # Check for a 64-bit object if we didn't find anything.
7872 if test -z "$aix_libpath"; then
7873 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7876 rm -f core conftest.err conftest.
$ac_objext \
7877 conftest
$ac_exeext conftest.
$ac_ext
7878 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7880 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7881 # Warning - without using the other run time loading flags,
7882 # -berok will link without error, but may produce a broken library.
7883 no_undefined_flag
=' ${wl}-bernotok'
7884 allow_undefined_flag
=' ${wl}-berok'
7885 # Exported symbols can be pulled into shared objects from archives
7886 whole_archive_flag_spec
='$convenience'
7887 archive_cmds_need_lc
=yes
7888 # This is similar to how AIX traditionally builds its shared libraries.
7889 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'
7897 # see comment about AmigaOS4 .so support
7898 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7899 archive_expsym_cmds
=''
7902 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)'
7903 hardcode_libdir_flag_spec
='-L$libdir'
7904 hardcode_minus_L
=yes
7910 export_dynamic_flag_spec
=-rdynamic
7913 cygwin
* | mingw
* | pw32
* | cegcc
*)
7914 # When not using gcc, we currently assume that we are using
7915 # Microsoft Visual C++.
7916 # hardcode_libdir_flag_spec is actually meaningless, as there is
7917 # no search path for DLLs.
7918 hardcode_libdir_flag_spec
=' '
7919 allow_undefined_flag
=unsupported
7920 # Tell ltmain to make .lib files, not .a files.
7922 # Tell ltmain to make .dll files, not .so files.
7924 # FIXME: Setting linknames here is a bad hack.
7925 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7926 # The linker will automatically build a .lib file if we build a DLL.
7927 old_archive_from_new_cmds
='true'
7928 # FIXME: Should let the user specify the lib program.
7929 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7930 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7931 enable_shared_with_static_runtimes
=yes
7934 darwin
* | rhapsody
*)
7937 archive_cmds_need_lc
=no
7939 hardcode_automatic
=yes
7940 hardcode_shlibpath_var
=unsupported
7941 whole_archive_flag_spec
=''
7942 link_all_deplibs
=yes
7943 allow_undefined_flag
="$_lt_dar_allow_undefined"
7944 case $cc_basename in
7945 ifort
*) _lt_dar_can_shared
=yes ;;
7946 *) _lt_dar_can_shared
=$GCC ;;
7948 if test "$_lt_dar_can_shared" = "yes"; then
7949 output_verbose_link_cmd
=echo
7950 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7951 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7952 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}"
7953 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}"
7962 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7963 hardcode_libdir_flag_spec
='-L$libdir'
7964 hardcode_shlibpath_var
=no
7971 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7972 # support. Future versions do this automatically, but an explicit c++rt0.o
7973 # does not break anything, and helps significantly (at the cost of a little
7976 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7977 hardcode_libdir_flag_spec
='-R$libdir'
7979 hardcode_shlibpath_var
=no
7982 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7984 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7986 hardcode_minus_L
=yes
7987 hardcode_shlibpath_var
=no
7990 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7991 freebsd
* | dragonfly
*)
7992 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7993 hardcode_libdir_flag_spec
='-R$libdir'
7995 hardcode_shlibpath_var
=no
7999 if test "$GCC" = yes; then
8000 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'
8002 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'
8004 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8005 hardcode_libdir_separator
=:
8008 # hardcode_minus_L: Not really in the search PATH,
8009 # but as the default location of the library.
8010 hardcode_minus_L
=yes
8011 export_dynamic_flag_spec
='${wl}-E'
8015 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8016 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8018 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8020 if test "$with_gnu_ld" = no
; then
8021 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8022 hardcode_libdir_flag_spec_ld
='+b $libdir'
8023 hardcode_libdir_separator
=:
8025 hardcode_direct_absolute
=yes
8026 export_dynamic_flag_spec
='${wl}-E'
8027 # hardcode_minus_L: Not really in the search PATH,
8028 # but as the default location of the library.
8029 hardcode_minus_L
=yes
8034 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8037 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8040 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8043 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8049 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8052 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8055 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8059 if test "$with_gnu_ld" = no
; then
8060 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8061 hardcode_libdir_separator
=:
8066 hardcode_shlibpath_var
=no
8070 hardcode_direct_absolute
=yes
8071 export_dynamic_flag_spec
='${wl}-E'
8073 # hardcode_minus_L: Not really in the search PATH,
8074 # but as the default location of the library.
8075 hardcode_minus_L
=yes
8081 irix5
* | irix6
* | nonstopux
*)
8082 if test "$GCC" = yes; then
8083 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'
8084 # Try to use the -exported_symbol ld option, if it does not
8085 # work, assume that -exports_file does not work either and
8086 # implicitly export all symbols.
8087 save_LDFLAGS
="$LDFLAGS"
8088 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8093 if ac_fn_c_try_link
"$LINENO"; then :
8094 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'
8097 rm -f core conftest.err conftest.
$ac_objext \
8098 conftest
$ac_exeext conftest.
$ac_ext
8099 LDFLAGS
="$save_LDFLAGS"
8101 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'
8102 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'
8104 archive_cmds_need_lc
='no'
8105 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8106 hardcode_libdir_separator
=:
8108 link_all_deplibs
=yes
8111 netbsd
* | netbsdelf
*-gnu)
8112 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8113 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8115 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8117 hardcode_libdir_flag_spec
='-R$libdir'
8119 hardcode_shlibpath_var
=no
8123 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8125 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8126 hardcode_libdir_separator
=:
8127 hardcode_shlibpath_var
=no
8134 if test -f /usr
/libexec
/ld.so
; then
8136 hardcode_shlibpath_var
=no
8137 hardcode_direct_absolute
=yes
8138 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8139 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8140 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8141 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8142 export_dynamic_flag_spec
='${wl}-E'
8145 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8146 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8147 hardcode_libdir_flag_spec
='-R$libdir'
8150 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8151 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8161 hardcode_libdir_flag_spec
='-L$libdir'
8162 hardcode_minus_L
=yes
8163 allow_undefined_flag
=unsupported
8164 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'
8165 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8169 if test "$GCC" = yes; then
8170 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8171 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'
8173 allow_undefined_flag
=' -expect_unresolved \*'
8174 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'
8176 archive_cmds_need_lc
='no'
8177 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8178 hardcode_libdir_separator
=:
8181 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8182 if test "$GCC" = yes; then
8183 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8184 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'
8185 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8187 allow_undefined_flag
=' -expect_unresolved \*'
8188 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'
8189 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~
8190 $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'
8192 # Both c and cxx compiler support -rpath directly
8193 hardcode_libdir_flag_spec
='-rpath $libdir'
8195 archive_cmds_need_lc
='no'
8196 hardcode_libdir_separator
=:
8200 no_undefined_flag
=' -z defs'
8201 if test "$GCC" = yes; then
8203 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8204 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8205 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8207 case `$CC -V 2>&1` in
8210 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8211 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8212 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8216 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8217 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8218 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8222 hardcode_libdir_flag_spec
='-R$libdir'
8223 hardcode_shlibpath_var
=no
8225 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8227 # The compiler driver will combine and reorder linker options,
8228 # but understands `-z linker_flag'. GCC discards it without `$wl',
8229 # but is careful enough not to reorder.
8230 # Supported since Solaris 2.6 (maybe 2.5.1?)
8231 if test "$GCC" = yes; then
8232 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8234 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8238 link_all_deplibs
=yes
8242 if test "x$host_vendor" = xsequent
; then
8243 # Use $CC to link under sequent, because it throws in some extra .o
8244 # files that make .init and .fini sections work.
8245 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8247 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8249 hardcode_libdir_flag_spec
='-L$libdir'
8251 hardcode_minus_L
=yes
8252 hardcode_shlibpath_var
=no
8256 case $host_vendor in
8258 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8259 hardcode_direct
=yes # is this really true???
8262 ## LD is ld it makes a PLAMLIB
8263 ## CC just makes a GrossModule.
8264 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8265 reload_cmds
='$CC -r -o $output$reload_objs'
8269 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8270 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8273 runpath_var
='LD_RUN_PATH'
8274 hardcode_shlibpath_var
=no
8278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8279 hardcode_shlibpath_var
=no
8280 export_dynamic_flag_spec
='-Bexport'
8284 if test -d /usr
/nec
; then
8285 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8286 hardcode_shlibpath_var
=no
8287 runpath_var
=LD_RUN_PATH
8288 hardcode_runpath_var
=yes
8293 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8294 no_undefined_flag
='${wl}-z,text'
8295 archive_cmds_need_lc
=no
8296 hardcode_shlibpath_var
=no
8297 runpath_var
='LD_RUN_PATH'
8299 if test "$GCC" = yes; then
8300 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8301 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8303 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8304 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8308 sysv5
* | sco3.2v5
* | sco5v6
*)
8309 # Note: We can NOT use -z defs as we might desire, because we do not
8310 # link with -lc, and that would cause any symbols used from libc to
8311 # always be unresolved, which means just about no library would
8312 # ever link correctly. If we're not using GNU ld we use -z text
8313 # though, which does catch some bad symbols but isn't as heavy-handed
8315 no_undefined_flag
='${wl}-z,text'
8316 allow_undefined_flag
='${wl}-z,nodefs'
8317 archive_cmds_need_lc
=no
8318 hardcode_shlibpath_var
=no
8319 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8320 hardcode_libdir_separator
=':'
8321 link_all_deplibs
=yes
8322 export_dynamic_flag_spec
='${wl}-Bexport'
8323 runpath_var
='LD_RUN_PATH'
8325 if test "$GCC" = yes; then
8326 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8327 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8329 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8330 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8335 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8336 hardcode_libdir_flag_spec
='-L$libdir'
8337 hardcode_shlibpath_var
=no
8345 if test x
$host_vendor = xsni
; then
8347 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8348 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8355 $as_echo "$ld_shlibs" >&6; }
8356 test "$ld_shlibs" = no
&& can_build_shared
=no
8358 with_gnu_ld
=$with_gnu_ld
8375 # Do we need to explicitly link libc?
8377 case "x$archive_cmds_need_lc" in
8379 # Assume -lc should be added
8380 archive_cmds_need_lc
=yes
8382 if test "$enable_shared" = yes && test "$GCC" = yes; then
8383 case $archive_cmds in
8385 # FIXME: we may have to deal with multi-command sequences.
8388 # Test whether the compiler implicitly links with -lc since on some
8389 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8390 # to ld, don't add -lc before -lgcc.
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8392 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8394 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8397 (eval $ac_compile) 2>&5
8399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8400 test $ac_status = 0; } 2>conftest.err
; then
8403 libobjs
=conftest.
$ac_objext
8405 wl
=$lt_prog_compiler_wl
8406 pic_flag
=$lt_prog_compiler_pic
8412 lt_save_allow_undefined_flag
=$allow_undefined_flag
8413 allow_undefined_flag
=
8414 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8415 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8418 test $ac_status = 0; }
8420 archive_cmds_need_lc
=no
8422 archive_cmds_need_lc
=yes
8424 allow_undefined_flag
=$lt_save_allow_undefined_flag
8426 cat conftest.err
1>&5
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8430 $as_echo "$archive_cmds_need_lc" >&6; }
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8594 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8596 if test "$GCC" = yes; then
8598 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8599 *) lt_awk_arg
="/^libraries:/" ;;
8601 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8602 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8603 # if the path contains ";" then we assume it to be the separator
8604 # otherwise default to the standard path separator (i.e. ":") - it is
8605 # assumed that no part of a normal pathname contains ";" but that should
8606 # okay in the real world where ";" in dirpaths is itself problematic.
8607 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8609 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8611 # Ok, now we have the path, separated by spaces, we can step through it
8612 # and add multilib dir if necessary.
8613 lt_tmp_lt_search_path_spec
=
8614 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8615 for lt_sys_path
in $lt_search_path_spec; do
8616 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8617 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8619 test -d "$lt_sys_path" && \
8620 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8623 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8624 BEGIN {RS=" "; FS="/|\n";} {
8627 for (lt_i = NF; lt_i > 0; lt_i--) {
8628 if ($lt_i != "" && $lt_i != ".") {
8629 if ($lt_i == "..") {
8632 if (lt_count == 0) {
8633 lt_foo="/" $lt_i lt_foo;
8640 if (lt_foo != "") { lt_freq[lt_foo]++; }
8641 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8643 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8645 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8648 libname_spec
='lib$name'
8656 shlibpath_overrides_runpath
=unknown
8658 dynamic_linker
="$host_os ld.so"
8659 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8660 need_lib_prefix
=unknown
8661 hardcode_into_libs
=no
8663 # when you set need_version to no, make sure it does not cause -set_version
8664 # flags to be left without arguments
8665 need_version
=unknown
8670 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8671 shlibpath_var
=LIBPATH
8673 # AIX 3 has no versioning support, so we append a major version to the name.
8674 soname_spec
='${libname}${release}${shared_ext}$major'
8681 hardcode_into_libs
=yes
8682 if test "$host_cpu" = ia64
; then
8683 # AIX 5 supports IA64
8684 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8685 shlibpath_var
=LD_LIBRARY_PATH
8687 # With GCC up to 2.95.x, collect2 would create an import file
8688 # for dependence libraries. The import file would start with
8689 # the line `#! .'. This would cause the generated library to
8690 # depend on `.', always an invalid library. This was fixed in
8691 # development snapshots of GCC prior to 3.0.
8693 aix4
| aix4.
[01] | aix4.
[01].
*)
8694 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8696 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8703 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8704 # soname into executable. Probably we can add versioning support to
8705 # collect2, so additional links can be useful in future.
8706 if test "$aix_use_runtimelinking" = yes; then
8707 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8708 # instead of lib<name>.a to let people know that these are not
8709 # typical AIX shared libraries.
8710 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8712 # We preserve .a as extension for shared libraries through AIX4.2
8713 # and later when we are not doing run time linking.
8714 library_names_spec
='${libname}${release}.a $libname.a'
8715 soname_spec
='${libname}${release}${shared_ext}$major'
8717 shlibpath_var
=LIBPATH
8724 # Since July 2007 AmigaOS4 officially supports .so libraries.
8725 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8726 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8729 library_names_spec
='$libname.ixlibrary $libname.a'
8730 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8731 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'
8737 library_names_spec
='${libname}${shared_ext}'
8738 dynamic_linker
="$host_os ld.so"
8739 shlibpath_var
=LIBRARY_PATH
8745 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8746 soname_spec
='${libname}${release}${shared_ext}$major'
8747 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8748 shlibpath_var
=LD_LIBRARY_PATH
8749 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8750 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8751 # the default ld.so.conf also contains /usr/contrib/lib and
8752 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8753 # libtool to hard-code these into programs
8756 cygwin
* | mingw
* | pw32
* | cegcc
*)
8757 version_type
=windows
8762 case $GCC,$host_os in
8763 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8764 library_names_spec
='$libname.dll.a'
8765 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8766 postinstall_cmds
='base_file=`basename \${file}`~
8767 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8768 dldir=$destdir/`dirname \$dlpath`~
8769 test -d \$dldir || mkdir -p \$dldir~
8770 $install_prog $dir/$dlname \$dldir/$dlname~
8771 chmod a+x \$dldir/$dlname~
8772 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8773 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8775 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8776 dlpath=$dir/\$dldll~
8778 shlibpath_overrides_runpath
=yes
8782 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8783 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8784 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8787 # MinGW DLLs use traditional 'lib' prefix
8788 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8789 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8790 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8791 # It is most probably a Windows format PATH printed by
8792 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8793 # path with ; separators, and with drive letters. We can handle the
8794 # drive letters (cygwin fileutils understands them), so leave them,
8795 # especially as we might pass files found there to a mingw objdump,
8796 # which wouldn't understand a cygwinified path. Ahh.
8797 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8799 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8803 # pw32 DLLs use 'pw' prefix rather than 'lib'
8804 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8810 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8813 dynamic_linker
='Win32 ld.exe'
8814 # FIXME: first we should search . and the directory the executable is in
8818 darwin
* | rhapsody
*)
8819 dynamic_linker
="$host_os dyld"
8823 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8824 soname_spec
='${libname}${release}${major}$shared_ext'
8825 shlibpath_overrides_runpath
=yes
8826 shlibpath_var
=DYLD_LIBRARY_PATH
8827 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8829 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8830 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8837 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8838 soname_spec
='${libname}${release}${shared_ext}$major'
8839 shlibpath_var
=LD_LIBRARY_PATH
8846 freebsd
* | dragonfly
*)
8847 # DragonFly does not have aout. When/if they implement a new
8848 # versioning mechanism, adjust this.
8849 if test -x /usr
/bin
/objformat
; then
8850 objformat
=`/usr/bin/objformat`
8853 freebsd
[123]*) objformat
=aout
;;
8857 version_type
=freebsd
-$objformat
8858 case $version_type in
8860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8865 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8869 shlibpath_var
=LD_LIBRARY_PATH
8872 shlibpath_overrides_runpath
=yes
8874 freebsd3.
[01]* | freebsdelf3.
[01]*)
8875 shlibpath_overrides_runpath
=yes
8876 hardcode_into_libs
=yes
8878 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8879 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8880 shlibpath_overrides_runpath
=no
8881 hardcode_into_libs
=yes
8883 *) # from 4.6 on, and DragonFly
8884 shlibpath_overrides_runpath
=yes
8885 hardcode_into_libs
=yes
8894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8895 soname_spec
='${libname}${release}${shared_ext}$major'
8896 shlibpath_var
=LD_LIBRARY_PATH
8897 hardcode_into_libs
=yes
8900 hpux9
* | hpux10
* | hpux11
*)
8901 # Give a soname corresponding to the major version so that dld.sl refuses to
8902 # link against other versions.
8909 hardcode_into_libs
=yes
8910 dynamic_linker
="$host_os dld.so"
8911 shlibpath_var
=LD_LIBRARY_PATH
8912 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8914 soname_spec
='${libname}${release}${shared_ext}$major'
8915 if test "X$HPUX_IA64_MODE" = X32
; then
8916 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8918 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8920 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8924 hardcode_into_libs
=yes
8925 dynamic_linker
="$host_os dld.sl"
8926 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8927 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8928 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8929 soname_spec
='${libname}${release}${shared_ext}$major'
8930 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8931 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8935 dynamic_linker
="$host_os dld.sl"
8936 shlibpath_var
=SHLIB_PATH
8937 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8939 soname_spec
='${libname}${release}${shared_ext}$major'
8942 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8943 postinstall_cmds
='chmod 555 $lib'
8950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8951 soname_spec
='${libname}${release}${shared_ext}$major'
8952 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8953 shlibpath_var
=LD_LIBRARY_PATH
8954 shlibpath_overrides_runpath
=no
8955 hardcode_into_libs
=yes
8958 irix5
* | irix6
* | nonstopux
*)
8960 nonstopux
*) version_type
=nonstopux
;;
8962 if test "$lt_cv_prog_gnu_ld" = yes; then
8970 soname_spec
='${libname}${release}${shared_ext}$major'
8971 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8973 irix5
* | nonstopux
*)
8977 case $LD in # libtool.m4 will add one of these switches to LD
8978 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8979 libsuff
= shlibsuff
= libmagic
=32-bit;;
8980 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8981 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8982 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8983 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8984 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8988 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8989 shlibpath_overrides_runpath
=no
8990 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8991 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8992 hardcode_into_libs
=yes
8995 # No shared lib support for Linux oldld, aout, or coff.
8996 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9000 # This must be Linux ELF.
9001 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9006 soname_spec
='${libname}${release}${shared_ext}$major'
9007 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9008 shlibpath_var
=LD_LIBRARY_PATH
9009 shlibpath_overrides_runpath
=no
9010 # Some binutils ld are patched to set DT_RUNPATH
9011 save_LDFLAGS
=$LDFLAGS
9013 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9014 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9026 if ac_fn_c_try_link
"$LINENO"; then :
9027 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9028 shlibpath_overrides_runpath
=yes
9031 rm -f core conftest.err conftest.
$ac_objext \
9032 conftest
$ac_exeext conftest.
$ac_ext
9033 LDFLAGS
=$save_LDFLAGS
9036 # This implies no fast_install, which is unacceptable.
9037 # Some rework will be needed to allow for fast_install
9038 # before this can be enabled.
9039 hardcode_into_libs
=yes
9041 # Append ld.so.conf contents to the search path
9042 if test -f /etc
/ld.so.conf
; then
9043 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' ' '`
9044 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9047 # We used to test for /lib/ld.so.1 and disable shared libraries on
9048 # powerpc, because MkLinux only supported shared libraries with the
9049 # GNU dynamic linker. Since this was broken with cross compilers,
9050 # most powerpc-linux boxes support dynamic linking these days and
9051 # people can always --disable-shared, the test was removed, and we
9052 # assume the GNU/Linux dynamic linker is in use.
9053 dynamic_linker
='GNU/Linux ld.so'
9060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9061 soname_spec
='${libname}${release}${shared_ext}$major'
9062 shlibpath_var
=LD_LIBRARY_PATH
9063 shlibpath_overrides_runpath
=no
9064 hardcode_into_libs
=yes
9065 dynamic_linker
='NetBSD ld.elf_so'
9072 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9075 dynamic_linker
='NetBSD (a.out) ld.so'
9077 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9078 soname_spec
='${libname}${release}${shared_ext}$major'
9079 dynamic_linker
='NetBSD ld.elf_so'
9081 shlibpath_var
=LD_LIBRARY_PATH
9082 shlibpath_overrides_runpath
=yes
9083 hardcode_into_libs
=yes
9088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9089 shlibpath_var
=LD_LIBRARY_PATH
9090 shlibpath_overrides_runpath
=yes
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 soname_spec
='${libname}${release}${shared_ext}$major'
9099 shlibpath_var
=LD_LIBRARY_PATH
9100 shlibpath_overrides_runpath
=no
9101 hardcode_into_libs
=yes
9102 dynamic_linker
='ldqnx.so'
9107 sys_lib_dlsearch_path_spec
="/usr/lib"
9109 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9111 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9112 *) need_version
=no
;;
9114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9115 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9116 shlibpath_var
=LD_LIBRARY_PATH
9117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9119 openbsd2.
[89] | openbsd2.
[89].
*)
9120 shlibpath_overrides_runpath
=no
9123 shlibpath_overrides_runpath
=yes
9127 shlibpath_overrides_runpath
=yes
9132 libname_spec
='$name'
9135 library_names_spec
='$libname${shared_ext} $libname.a'
9136 dynamic_linker
='OS/2 ld.exe'
9137 shlibpath_var
=LIBPATH
9140 osf3
* | osf4
* | osf5
*)
9144 soname_spec
='${libname}${release}${shared_ext}$major'
9145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9146 shlibpath_var
=LD_LIBRARY_PATH
9147 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9148 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9159 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9160 soname_spec
='${libname}${release}${shared_ext}$major'
9161 shlibpath_var
=LD_LIBRARY_PATH
9162 shlibpath_overrides_runpath
=yes
9163 hardcode_into_libs
=yes
9164 # ldd complains unless libraries are executable
9165 postinstall_cmds
='chmod +x $lib'
9170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9171 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9172 shlibpath_var
=LD_LIBRARY_PATH
9173 shlibpath_overrides_runpath
=yes
9174 if test "$with_gnu_ld" = yes; then
9182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9183 soname_spec
='${libname}${release}${shared_ext}$major'
9184 shlibpath_var
=LD_LIBRARY_PATH
9185 case $host_vendor in
9187 shlibpath_overrides_runpath
=no
9189 runpath_var
=LD_RUN_PATH
9197 shlibpath_overrides_runpath
=no
9198 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9204 if test -d /usr
/nec
;then
9206 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9207 soname_spec
='$libname${shared_ext}.$major'
9208 shlibpath_var
=LD_LIBRARY_PATH
9212 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9213 version_type
=freebsd
-elf
9216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9217 soname_spec
='${libname}${release}${shared_ext}$major'
9218 shlibpath_var
=LD_LIBRARY_PATH
9219 shlibpath_overrides_runpath
=yes
9220 hardcode_into_libs
=yes
9221 if test "$with_gnu_ld" = yes; then
9222 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9224 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9227 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9231 sys_lib_dlsearch_path_spec
='/usr/lib'
9235 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9240 shlibpath_var
=LD_LIBRARY_PATH
9241 shlibpath_overrides_runpath
=no
9242 hardcode_into_libs
=yes
9247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9248 soname_spec
='${libname}${release}${shared_ext}$major'
9249 shlibpath_var
=LD_LIBRARY_PATH
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9257 $as_echo "$dynamic_linker" >&6; }
9258 test "$dynamic_linker" = no
&& can_build_shared
=no
9260 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9261 if test "$GCC" = yes; then
9262 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9265 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9266 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9268 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9269 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9359 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9361 if test -n "$hardcode_libdir_flag_spec" ||
9362 test -n "$runpath_var" ||
9363 test "X$hardcode_automatic" = "Xyes" ; then
9365 # We can hardcode non-existent directories.
9366 if test "$hardcode_direct" != no
&&
9367 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9368 # have to relink, otherwise we might link with an installed library
9369 # when we should be linking with a yet-to-be-installed one
9370 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9371 test "$hardcode_minus_L" != no
; then
9372 # Linking always hardcodes the temporary library directory.
9373 hardcode_action
=relink
9375 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9376 hardcode_action
=immediate
9379 # We cannot hardcode anything, or else we can only hardcode existing
9381 hardcode_action
=unsupported
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9384 $as_echo "$hardcode_action" >&6; }
9386 if test "$hardcode_action" = relink
||
9387 test "$inherit_rpath" = yes; then
9388 # Fast installation is not supported
9389 enable_fast_install
=no
9390 elif test "$shlibpath_overrides_runpath" = yes ||
9391 test "$enable_shared" = no
; then
9392 # Fast installation is not necessary
9393 enable_fast_install
=needless
9401 if test "x$enable_dlopen" != xyes
; then
9402 enable_dlopen
=unknown
9403 enable_dlopen_self
=unknown
9404 enable_dlopen_self_static
=unknown
9411 lt_cv_dlopen
="load_add_on"
9413 lt_cv_dlopen_self
=yes
9416 mingw
* | pw32
* | cegcc
*)
9417 lt_cv_dlopen
="LoadLibrary"
9422 lt_cv_dlopen
="dlopen"
9427 # if libdl is installed we need to link against it
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9429 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9430 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9431 $as_echo_n "(cached) " >&6
9433 ac_check_lib_save_LIBS
=$LIBS
9435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9438 /* Override any GCC internal prototype to avoid an error.
9439 Use char because int might match the return type of a GCC
9440 builtin and then its argument prototype would still apply. */
9453 if ac_fn_c_try_link
"$LINENO"; then :
9454 ac_cv_lib_dl_dlopen
=yes
9456 ac_cv_lib_dl_dlopen
=no
9458 rm -f core conftest.err conftest.
$ac_objext \
9459 conftest
$ac_exeext conftest.
$ac_ext
9460 LIBS
=$ac_check_lib_save_LIBS
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9463 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9464 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9465 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9470 lt_cv_dlopen_self
=yes
9477 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9478 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9479 lt_cv_dlopen
="shl_load"
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9482 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9483 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9484 $as_echo_n "(cached) " >&6
9486 ac_check_lib_save_LIBS
=$LIBS
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9506 if ac_fn_c_try_link
"$LINENO"; then :
9507 ac_cv_lib_dld_shl_load
=yes
9509 ac_cv_lib_dld_shl_load
=no
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9516 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9517 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9518 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9520 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9521 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9522 lt_cv_dlopen
="dlopen"
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9525 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9526 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9527 $as_echo_n "(cached) " >&6
9529 ac_check_lib_save_LIBS
=$LIBS
9531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9549 if ac_fn_c_try_link
"$LINENO"; then :
9550 ac_cv_lib_dl_dlopen
=yes
9552 ac_cv_lib_dl_dlopen
=no
9554 rm -f core conftest.err conftest.
$ac_objext \
9555 conftest
$ac_exeext conftest.
$ac_ext
9556 LIBS
=$ac_check_lib_save_LIBS
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9559 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9560 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9561 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9564 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9565 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9566 $as_echo_n "(cached) " >&6
9568 ac_check_lib_save_LIBS
=$LIBS
9570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9588 if ac_fn_c_try_link
"$LINENO"; then :
9589 ac_cv_lib_svld_dlopen
=yes
9591 ac_cv_lib_svld_dlopen
=no
9593 rm -f core conftest.err conftest.
$ac_objext \
9594 conftest
$ac_exeext conftest.
$ac_ext
9595 LIBS
=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9598 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9599 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9600 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9603 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9604 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9605 $as_echo_n "(cached) " >&6
9607 ac_check_lib_save_LIBS
=$LIBS
9609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9627 if ac_fn_c_try_link
"$LINENO"; then :
9628 ac_cv_lib_dld_dld_link
=yes
9630 ac_cv_lib_dld_dld_link
=no
9632 rm -f core conftest.err conftest.
$ac_objext \
9633 conftest
$ac_exeext conftest.
$ac_ext
9634 LIBS
=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9637 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9638 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9639 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9660 if test "x$lt_cv_dlopen" != xno
; then
9666 case $lt_cv_dlopen in
9668 save_CPPFLAGS
="$CPPFLAGS"
9669 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9671 save_LDFLAGS
="$LDFLAGS"
9672 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9675 LIBS
="$lt_cv_dlopen_libs $LIBS"
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9678 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9679 if test "${lt_cv_dlopen_self+set}" = set; then :
9680 $as_echo_n "(cached) " >&6
9682 if test "$cross_compiling" = yes; then :
9683 lt_cv_dlopen_self
=cross
9685 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9686 lt_status
=$lt_dlunknown
9687 cat > conftest.
$ac_ext <<_LT_EOF
9688 #line 9688 "configure"
9689 #include "confdefs.h"
9698 # define LT_DLGLOBAL RTLD_GLOBAL
9701 # define LT_DLGLOBAL DL_GLOBAL
9703 # define LT_DLGLOBAL 0
9707 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9708 find out it does not work in some platform. */
9709 #ifndef LT_DLLAZY_OR_NOW
9711 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9714 # define LT_DLLAZY_OR_NOW DL_LAZY
9717 # define LT_DLLAZY_OR_NOW RTLD_NOW
9720 # define LT_DLLAZY_OR_NOW DL_NOW
9722 # define LT_DLLAZY_OR_NOW 0
9729 void fnord() { int i=42;}
9732 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9733 int status = $lt_dlunknown;
9737 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9738 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9739 /* dlclose (self); */
9747 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9748 (eval $ac_link) 2>&5
9750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9751 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9752 (.
/conftest
; exit; ) >&5 2>/dev
/null
9755 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9756 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9757 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9760 # compilation failed
9761 lt_cv_dlopen_self
=no
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9769 $as_echo "$lt_cv_dlopen_self" >&6; }
9771 if test "x$lt_cv_dlopen_self" = xyes
; then
9772 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9774 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9775 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9776 $as_echo_n "(cached) " >&6
9778 if test "$cross_compiling" = yes; then :
9779 lt_cv_dlopen_self_static
=cross
9781 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9782 lt_status
=$lt_dlunknown
9783 cat > conftest.
$ac_ext <<_LT_EOF
9784 #line 9784 "configure"
9785 #include "confdefs.h"
9794 # define LT_DLGLOBAL RTLD_GLOBAL
9797 # define LT_DLGLOBAL DL_GLOBAL
9799 # define LT_DLGLOBAL 0
9803 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9804 find out it does not work in some platform. */
9805 #ifndef LT_DLLAZY_OR_NOW
9807 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9810 # define LT_DLLAZY_OR_NOW DL_LAZY
9813 # define LT_DLLAZY_OR_NOW RTLD_NOW
9816 # define LT_DLLAZY_OR_NOW DL_NOW
9818 # define LT_DLLAZY_OR_NOW 0
9825 void fnord() { int i=42;}
9828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9829 int status = $lt_dlunknown;
9833 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9834 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9835 /* dlclose (self); */
9843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9844 (eval $ac_link) 2>&5
9846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9847 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9848 (.
/conftest
; exit; ) >&5 2>/dev
/null
9851 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9852 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9853 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9856 # compilation failed
9857 lt_cv_dlopen_self_static
=no
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9865 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9868 CPPFLAGS
="$save_CPPFLAGS"
9869 LDFLAGS
="$save_LDFLAGS"
9874 case $lt_cv_dlopen_self in
9875 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9876 *) enable_dlopen_self
=unknown
;;
9879 case $lt_cv_dlopen_self_static in
9880 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9881 *) enable_dlopen_self_static
=unknown
;;
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9904 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9905 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9906 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9907 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9909 $as_echo "yes" >&6; }
9911 # FIXME - insert some real tests, host_os isn't really good enough
9914 if test -n "$STRIP" ; then
9915 striplib
="$STRIP -x"
9916 old_striplib
="$STRIP -S"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9918 $as_echo "yes" >&6; }
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9921 $as_echo "no" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9926 $as_echo "no" >&6; }
9942 # Report which library types will actually be built
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9944 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9946 $as_echo "$can_build_shared" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9949 $as_echo_n "checking whether to build shared libraries... " >&6; }
9950 test "$can_build_shared" = "no" && enable_shared
=no
9952 # On AIX, shared libraries and static libraries use the same namespace, and
9953 # are all built from PIC.
9956 test "$enable_shared" = yes && enable_static
=no
9957 if test -n "$RANLIB"; then
9958 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9959 postinstall_cmds
='$RANLIB $lib'
9964 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9965 test "$enable_shared" = yes && enable_static
=no
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9970 $as_echo "$enable_shared" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9973 $as_echo_n "checking whether to build static libraries... " >&6; }
9974 # Make sure either enable_shared or enable_static is yes.
9975 test "$enable_shared" = yes || enable_static
=yes
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9977 $as_echo "$enable_static" >&6; }
9984 ac_cpp
='$CPP $CPPFLAGS'
9985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10003 ac_config_commands
="$ac_config_commands libtool"
10008 # Only expand once:
10017 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10018 if test -n "$ac_tool_prefix"; then
10019 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10020 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10022 $as_echo_n "checking for $ac_word... " >&6; }
10023 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10024 $as_echo_n "(cached) " >&6
10026 case $PKG_CONFIG in
10028 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10032 for as_dir
in $PATH
10035 test -z "$as_dir" && as_dir
=.
10036 for ac_exec_ext
in '' $ac_executable_extensions; do
10037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10049 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10050 if test -n "$PKG_CONFIG"; then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10052 $as_echo "$PKG_CONFIG" >&6; }
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10055 $as_echo "no" >&6; }
10060 if test -z "$ac_cv_path_PKG_CONFIG"; then
10061 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10062 # Extract the first word of "pkg-config", so it can be a program name with args.
10063 set dummy pkg
-config; ac_word
=$2
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10065 $as_echo_n "checking for $ac_word... " >&6; }
10066 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10067 $as_echo_n "(cached) " >&6
10069 case $ac_pt_PKG_CONFIG in
10071 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10075 for as_dir
in $PATH
10078 test -z "$as_dir" && as_dir
=.
10079 for ac_exec_ext
in '' $ac_executable_extensions; do
10080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10081 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10092 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10093 if test -n "$ac_pt_PKG_CONFIG"; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10095 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10098 $as_echo "no" >&6; }
10101 if test "x$ac_pt_PKG_CONFIG" = x
; then
10104 case $cross_compiling:$ac_tool_warned in
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10108 ac_tool_warned
=yes ;;
10110 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10113 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10117 if test -n "$PKG_CONFIG"; then
10118 _pkg_min_version
=0.22
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10120 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10121 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10123 $as_echo "yes" >&6; }
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10126 $as_echo "no" >&6; }
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10131 $as_echo_n "checking for GNU make... " >&6; }
10132 if test "${_cv_gnu_make_command+set}" = set; then :
10133 $as_echo_n "(cached) " >&6
10135 _cv_gnu_make_command
='' ;
10136 for a
in "$MAKE" make gmake gnumake
; do
10137 if test -z "$a" ; then continue ; fi ;
10138 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10139 _cv_gnu_make_command
=$a ;
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10146 $as_echo "$_cv_gnu_make_command" >&6; } ;
10147 if test "x$_cv_gnu_make_command" != "x" ; then
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10152 $as_echo "\"Not found\"" >&6; };
10156 GMAKE
=$_cv_gnu_make_command
10159 if test "x$GMAKE" = x
; then :
10160 as_fn_error $?
"You need GNU make" "$LINENO" 5
10162 for ac_prog
in bash
10164 # Extract the first word of "$ac_prog", so it can be a program name with args.
10165 set dummy
$ac_prog; ac_word
=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10167 $as_echo_n "checking for $ac_word... " >&6; }
10168 if test "${ac_cv_path__BASH+set}" = set; then :
10169 $as_echo_n "(cached) " >&6
10173 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10177 for as_dir
in $PATH
10180 test -z "$as_dir" && as_dir
=.
10181 for ac_exec_ext
in '' $ac_executable_extensions; do
10182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10183 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10194 _BASH
=$ac_cv_path__BASH
10195 if test -n "$_BASH"; then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10197 $as_echo "$_BASH" >&6; }
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10200 $as_echo "no" >&6; }
10204 test -n "$_BASH" && break
10207 if test "x$_BASH" = x
; then :
10208 as_fn_error $?
"You need GNU bash" "$LINENO" 5
10210 for ac_prog
in time
10212 # Extract the first word of "$ac_prog", so it can be a program name with args.
10213 set dummy
$ac_prog; ac_word
=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10215 $as_echo_n "checking for $ac_word... " >&6; }
10216 if test "${ac_cv_path_TIME+set}" = set; then :
10217 $as_echo_n "(cached) " >&6
10221 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 TIME
=$ac_cv_path_TIME
10243 if test -n "$TIME"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10245 $as_echo "$TIME" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10252 test -n "$TIME" && break
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
10259 $as_echo_n "checking for bison >= 2.3... " >&6; }
10260 if test -z "$BISON"; then
10261 ac_path_BISON_found
=false
10262 # Loop through the user's path and test for each of PROGNAME-LIST
10263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10264 for as_dir
in $PATH
10267 test -z "$as_dir" && as_dir
=.
10268 for ac_prog
in bison
; do
10269 for ac_exec_ext
in '' $ac_executable_extensions; do
10270 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
10271 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
10272 as_awk_strverscmp
='
10273 # Use only awk features that work with 7th edition Unix awk (1978).
10274 # My, what an old awk you have, Mr. Solaris!
10276 while (length(v1) && length(v2)) {
10277 # Set d1 to be the next thing to compare from v1, and likewise for d2.
10278 # Normally this is a single character, but if v1 and v2 contain digits,
10279 # compare them as integers and fractions as strverscmp does.
10280 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
10281 # Split v1 and v2 into their leading digit string components d1 and d2,
10282 # and advance v1 and v2 past the leading digit strings.
10283 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
10284 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
10285 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
10286 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
10289 # Compare two fractions.
10290 while (d1 ~ /^0/ && d2 ~ /^0/) {
10291 d1 = substr(d1, 2); len1--
10292 d2 = substr(d2, 2); len2--
10294 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
10295 # The two components differ in length, and the common prefix
10296 # contains only leading zeros. Consider the longer to be less.
10300 # Otherwise, compare as strings.
10305 # A fraction is less than an integer.
10310 # An integer is greater than a fraction.
10313 # Compare two integers.
10319 # The normal case, without worrying about digits.
10320 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
10321 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
10323 if (d1 < d2) exit 1
10324 if (d1 > d2) exit 2
10326 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
10327 # which mishandles some comparisons of empty strings to integers.
10328 if (length(v2)) exit 1
10329 if (length(v1)) exit 2
10332 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10334 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10339 ac_cv_path_BISON
=$ac_path_BISON
10342 ac_cv_path_BISON
=$ac_path_BISON
10348 $ac_path_BISON_found && break 3
10353 if test -z "$ac_cv_path_BISON"; then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10355 $as_echo "no" >&6; }
10356 as_fn_error $?
"You need bison 2.3 or greater" "$LINENO" 5
10360 ac_cv_path_BISON
=$BISON
10363 BISON
=$ac_cv_path_BISON
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
10366 $as_echo "$BISON" >&6; }
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
10371 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
10372 if test -z "$FLEX"; then
10373 ac_path_FLEX_found
=false
10374 # Loop through the user's path and test for each of PROGNAME-LIST
10375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10376 for as_dir
in $PATH
10379 test -z "$as_dir" && as_dir
=.
10380 for ac_prog
in flex
; do
10381 for ac_exec_ext
in '' $ac_executable_extensions; do
10382 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
10383 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
10384 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10386 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10391 ac_cv_path_FLEX
=$ac_path_FLEX
10394 ac_cv_path_FLEX
=$ac_path_FLEX
10400 $ac_path_FLEX_found && break 3
10405 if test -z "$ac_cv_path_FLEX"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10407 $as_echo "no" >&6; }
10408 as_fn_error $?
"You need flex 2.5.33 or greater" "$LINENO" 5
10412 ac_cv_path_FLEX
=$FLEX
10415 FLEX
=$ac_cv_path_FLEX
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
10418 $as_echo "$FLEX" >&6; }
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
10423 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
10424 if test -z "$GPERF"; then
10425 ac_path_GPERF_found
=false
10426 # Loop through the user's path and test for each of PROGNAME-LIST
10427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10428 for as_dir
in $PATH
10431 test -z "$as_dir" && as_dir
=.
10432 for ac_prog
in gperf
; do
10433 for ac_exec_ext
in '' $ac_executable_extensions; do
10434 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
10435 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
10436 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10438 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10443 ac_cv_path_GPERF
=$ac_path_GPERF
10446 ac_cv_path_GPERF
=$ac_path_GPERF
10452 $ac_path_GPERF_found && break 3
10457 if test -z "$ac_cv_path_GPERF"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10459 $as_echo "no" >&6; }
10460 as_fn_error $?
"You need gperf 3.0.3 or greater" "$LINENO" 5
10464 ac_cv_path_GPERF
=$GPERF
10467 GPERF
=$ac_cv_path_GPERF
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10470 $as_echo "$GPERF" >&6; }
10472 # Find a good install program. We prefer a C program (faster),
10473 # so one script is as good as another. But avoid the broken or
10474 # incompatible versions:
10475 # SysV /etc/install, /usr/sbin/install
10476 # SunOS /usr/etc/install
10477 # IRIX /sbin/install
10479 # AmigaOS /C/install, which installs bootblocks on floppy discs
10480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10483 # OS/2's system install, which has a completely different semantic
10484 # ./install, which can be erroneously created by make from ./install.sh.
10485 # Reject install programs that cannot install multiple files.
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10487 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10488 if test -z "$INSTALL"; then
10489 if test "${ac_cv_path_install+set}" = set; then :
10490 $as_echo_n "(cached) " >&6
10492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10493 for as_dir
in $PATH
10496 test -z "$as_dir" && as_dir
=.
10497 # Account for people who put trailing slashes in PATH elements.
10498 case $as_dir/ in #((
10499 .
/ | .
// | /[cC
]/* | \
10500 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10501 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
10504 # OSF1 and SCO ODT 3.0 have their own names for install.
10505 # Don't use installbsd from OSF since it installs stuff as root
10507 for ac_prog
in ginstall scoinst
install; do
10508 for ac_exec_ext
in '' $ac_executable_extensions; do
10509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10510 if test $ac_prog = install &&
10511 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10512 # AIX install. It has an incompatible calling convention.
10514 elif test $ac_prog = install &&
10515 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10516 # program-specific install script used by HP pwplus--don't use.
10519 rm -rf conftest.one conftest.two conftest.dir
10520 echo one
> conftest.one
10521 echo two
> conftest.two
10523 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10524 test -s conftest.one
&& test -s conftest.two
&&
10525 test -s conftest.dir
/conftest.one
&&
10526 test -s conftest.dir
/conftest.two
10528 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10541 rm -rf conftest.one conftest.two conftest.dir
10544 if test "${ac_cv_path_install+set}" = set; then
10545 INSTALL
=$ac_cv_path_install
10547 # As a last resort, use the slow shell script. Don't cache a
10548 # value for INSTALL within a source directory, because that will
10549 # break other packages using the cache if that directory is
10550 # removed, or if the value is a relative name.
10551 INSTALL
=$ac_install_sh
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10555 $as_echo "$INSTALL" >&6; }
10557 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10558 # It thinks the first close brace ends the variable substitution.
10559 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10561 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10563 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
10566 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
10567 if test -z "$GNUTAR"; then
10568 ac_path_GNUTAR_found
=false
10569 # Loop through the user's path and test for each of PROGNAME-LIST
10570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10571 for as_dir
in $PATH
10574 test -z "$as_dir" && as_dir
=.
10575 for ac_prog
in tar gtar gnutar
; do
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
10578 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
10580 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
10582 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
10584 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10590 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10594 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10602 $ac_path_GNUTAR_found && break 3
10607 if test -z "$ac_cv_path_GNUTAR"; then
10611 ac_cv_path_GNUTAR
=$GNUTAR
10614 if test "x$ac_cv_path_GNUTAR" != x
; then :
10616 GNUTAR
=$ac_cv_path_GNUTAR
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
10619 $as_echo "$GNUTAR" >&6; }
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10626 $as_echo "no" >&6; }
10631 # Extract the first word of "$ac_prog", so it can be a program name with args.
10632 set dummy
$ac_prog; ac_word
=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10634 $as_echo_n "checking for $ac_word... " >&6; }
10635 if test "${ac_cv_prog_SVN+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 if test -n "$SVN"; then
10639 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
10641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10642 for as_dir
in $PATH
10645 test -z "$as_dir" && as_dir
=.
10646 for ac_exec_ext
in '' $ac_executable_extensions; do
10647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10648 ac_cv_prog_SVN
="$ac_prog"
10649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10658 SVN
=$ac_cv_prog_SVN
10659 if test -n "$SVN"; then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
10661 $as_echo "$SVN" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10664 $as_echo "no" >&6; }
10668 test -n "$SVN" && break
10671 for ac_prog
in svnversion
10673 # Extract the first word of "$ac_prog", so it can be a program name with args.
10674 set dummy
$ac_prog; ac_word
=$2
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10676 $as_echo_n "checking for $ac_word... " >&6; }
10677 if test "${ac_cv_prog_SVNVERSION+set}" = set; then :
10678 $as_echo_n "(cached) " >&6
10680 if test -n "$SVNVERSION"; then
10681 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
10683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10684 for as_dir
in $PATH
10687 test -z "$as_dir" && as_dir
=.
10688 for ac_exec_ext
in '' $ac_executable_extensions; do
10689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10690 ac_cv_prog_SVNVERSION
="$ac_prog"
10691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10700 SVNVERSION
=$ac_cv_prog_SVNVERSION
10701 if test -n "$SVNVERSION"; then
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
10703 $as_echo "$SVNVERSION" >&6; }
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10706 $as_echo "no" >&6; }
10710 test -n "$SVNVERSION" && break
10714 ac_cpp
='$CXXCPP $CPPFLAGS'
10715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10718 if test -z "$CXX"; then
10719 if test -n "$CCC"; then
10722 if test -n "$ac_tool_prefix"; then
10723 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10726 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10728 $as_echo_n "checking for $ac_word... " >&6; }
10729 if test "${ac_cv_prog_CXX+set}" = set; then :
10730 $as_echo_n "(cached) " >&6
10732 if test -n "$CXX"; then
10733 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10736 for as_dir
in $PATH
10739 test -z "$as_dir" && as_dir
=.
10740 for ac_exec_ext
in '' $ac_executable_extensions; do
10741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10742 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10752 CXX
=$ac_cv_prog_CXX
10753 if test -n "$CXX"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10755 $as_echo "$CXX" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10758 $as_echo "no" >&6; }
10762 test -n "$CXX" && break
10765 if test -z "$CXX"; then
10767 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10769 # Extract the first word of "$ac_prog", so it can be a program name with args.
10770 set dummy
$ac_prog; ac_word
=$2
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10772 $as_echo_n "checking for $ac_word... " >&6; }
10773 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10774 $as_echo_n "(cached) " >&6
10776 if test -n "$ac_ct_CXX"; then
10777 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10780 for as_dir
in $PATH
10783 test -z "$as_dir" && as_dir
=.
10784 for ac_exec_ext
in '' $ac_executable_extensions; do
10785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10786 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10796 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10797 if test -n "$ac_ct_CXX"; then
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10799 $as_echo "$ac_ct_CXX" >&6; }
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10802 $as_echo "no" >&6; }
10806 test -n "$ac_ct_CXX" && break
10809 if test "x$ac_ct_CXX" = x
; then
10812 case $cross_compiling:$ac_tool_warned in
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10816 ac_tool_warned
=yes ;;
10824 # Provide some information about the compiler.
10825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10828 for ac_option
in --version -v -V -qversion; do
10829 { { ac_try
="$ac_compiler $ac_option >&5"
10830 case "(($ac_try" in
10831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10832 *) ac_try_echo=$ac_try;;
10834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10835 $as_echo "$ac_try_echo"; } >&5
10836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10838 if test -s conftest.err; then
10840 ... rest of stderr output deleted ...
10841 10q' conftest.err >conftest.er1
10842 cat conftest.er1 >&5
10844 rm -f conftest.er1 conftest.err
10845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10846 test $ac_status = 0; }
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10850 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10851 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10852 $as_echo_n "(cached) " >&6
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10868 if ac_fn_cxx_try_compile "$LINENO"; then :
10869 ac_compiler_gnu=yes
10873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10874 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10878 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10879 if test $ac_compiler_gnu = yes; then
10884 ac_test_CXXFLAGS=${CXXFLAGS+set}
10885 ac_save_CXXFLAGS=$CXXFLAGS
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10887 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10888 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10889 $as_echo_n "(cached) " >&6
10891 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10892 ac_cxx_werror_flag=yes
10893 ac_cv_prog_cxx_g=no
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10906 if ac_fn_cxx_try_compile "$LINENO"; then :
10907 ac_cv_prog_cxx_g=yes
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10921 if ac_fn_cxx_try_compile "$LINENO"; then :
10924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10937 if ac_fn_cxx_try_compile "$LINENO"; then :
10938 ac_cv_prog_cxx_g=yes
10940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10948 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10949 if test "$ac_test_CXXFLAGS" = set; then
10950 CXXFLAGS=$ac_save_CXXFLAGS
10951 elif test $ac_cv_prog_cxx_g = yes; then
10952 if test "$GXX" = yes; then
10958 if test "$GXX" = yes; then
10965 ac_cpp='$CPP $CPPFLAGS'
10966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10972 ac_cpp='$CXXCPP $CPPFLAGS'
10973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10976 if test -z "$CXX"; then
10977 if test -n "$CCC"; then
10980 if test -n "$ac_tool_prefix"; then
10981 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10986 $as_echo_n "checking for $ac_word... " >&6; }
10987 if test "${ac_cv_prog_CXX+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 if test -n "$CXX"; then
10991 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10994 for as_dir in $PATH
10997 test -z "$as_dir" && as_dir=.
10998 for ac_exec_ext in '' $ac_executable_extensions; do
10999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11000 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 CXX=$ac_cv_prog_CXX
11011 if test -n "$CXX"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11013 $as_echo "$CXX" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11020 test -n "$CXX" && break
11023 if test -z "$CXX"; then
11025 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11027 # Extract the first word of "$ac_prog", so it can be a program name with args.
11028 set dummy $ac_prog; ac_word=$2
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11030 $as_echo_n "checking for $ac_word... " >&6; }
11031 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11032 $as_echo_n "(cached) " >&6
11034 if test -n "$ac_ct_CXX"; then
11035 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11038 for as_dir in $PATH
11041 test -z "$as_dir" && as_dir=.
11042 for ac_exec_ext in '' $ac_executable_extensions; do
11043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11044 ac_cv_prog_ac_ct_CXX="$ac_prog"
11045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11054 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11055 if test -n "$ac_ct_CXX"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11057 $as_echo "$ac_ct_CXX" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11060 $as_echo "no" >&6; }
11064 test -n "$ac_ct_CXX" && break
11067 if test "x$ac_ct_CXX" = x; then
11070 case $cross_compiling:$ac_tool_warned in
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11074 ac_tool_warned=yes ;;
11082 # Provide some information about the compiler.
11083 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11086 for ac_option in --version -v -V -qversion; do
11087 { { ac_try="$ac_compiler $ac_option >&5"
11088 case "(($ac_try" in
11089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11090 *) ac_try_echo
=$ac_try;;
11092 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11093 $as_echo "$ac_try_echo"; } >&5
11094 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11096 if test -s conftest.err
; then
11098 ... rest of stderr output deleted ...
11099 10q' conftest.err
>conftest.er1
11100 cat conftest.er1
>&5
11102 rm -f conftest.er1 conftest.err
11103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11104 test $ac_status = 0; }
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11108 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11110 $as_echo_n "(cached) " >&6
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11126 if ac_fn_cxx_try_compile
"$LINENO"; then :
11127 ac_compiler_gnu
=yes
11131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11132 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11136 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11137 if test $ac_compiler_gnu = yes; then
11142 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11143 ac_save_CXXFLAGS
=$CXXFLAGS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11145 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11146 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11147 $as_echo_n "(cached) " >&6
11149 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11150 ac_cxx_werror_flag
=yes
11151 ac_cv_prog_cxx_g
=no
11153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11154 /* end confdefs.h. */
11164 if ac_fn_cxx_try_compile
"$LINENO"; then :
11165 ac_cv_prog_cxx_g
=yes
11168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h. */
11179 if ac_fn_cxx_try_compile
"$LINENO"; then :
11182 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11195 if ac_fn_cxx_try_compile
"$LINENO"; then :
11196 ac_cv_prog_cxx_g
=yes
11198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11203 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11206 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11207 if test "$ac_test_CXXFLAGS" = set; then
11208 CXXFLAGS
=$ac_save_CXXFLAGS
11209 elif test $ac_cv_prog_cxx_g = yes; then
11210 if test "$GXX" = yes; then
11216 if test "$GXX" = yes; then
11223 ac_cpp
='$CPP $CPPFLAGS'
11224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11228 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11229 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11230 (test "X$CXX" != "Xg++"))) ; then
11232 ac_cpp
='$CXXCPP $CPPFLAGS'
11233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11237 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11238 if test -z "$CXXCPP"; then
11239 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11240 $as_echo_n "(cached) " >&6
11242 # Double quotes because CXXCPP needs to be expanded
11243 for CXXCPP
in "$CXX -E" "/lib/cpp"
11245 ac_preproc_ok
=false
11246 for ac_cxx_preproc_warn_flag
in '' yes
11248 # Use a header file that comes with gcc, so configuring glibc
11249 # with a fresh cross-compiler works.
11250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11251 # <limits.h> exists even on freestanding compilers.
11252 # On the NeXT, cc -E runs the code through the compiler's parser,
11253 # not just through cpp. "Syntax error" is here to catch this case.
11254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 # include <limits.h>
11259 # include <assert.h>
11263 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11266 # Broken: fails on valid input.
11269 rm -f conftest.err conftest.i conftest.
$ac_ext
11271 # OK, works on sane cases. Now check whether nonexistent headers
11272 # can be detected and how.
11273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 #include <ac_nonexistent.h>
11277 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11278 # Broken: success on invalid input.
11281 # Passes both tests.
11285 rm -f conftest.err conftest.i conftest.
$ac_ext
11288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11289 rm -f conftest.i conftest.err conftest.
$ac_ext
11290 if $ac_preproc_ok; then :
11295 ac_cv_prog_CXXCPP
=$CXXCPP
11298 CXXCPP
=$ac_cv_prog_CXXCPP
11300 ac_cv_prog_CXXCPP
=$CXXCPP
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11303 $as_echo "$CXXCPP" >&6; }
11304 ac_preproc_ok
=false
11305 for ac_cxx_preproc_warn_flag
in '' yes
11307 # Use a header file that comes with gcc, so configuring glibc
11308 # with a fresh cross-compiler works.
11309 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11310 # <limits.h> exists even on freestanding compilers.
11311 # On the NeXT, cc -E runs the code through the compiler's parser,
11312 # not just through cpp. "Syntax error" is here to catch this case.
11313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 # include <limits.h>
11318 # include <assert.h>
11322 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11325 # Broken: fails on valid input.
11328 rm -f conftest.err conftest.i conftest.
$ac_ext
11330 # OK, works on sane cases. Now check whether nonexistent headers
11331 # can be detected and how.
11332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 #include <ac_nonexistent.h>
11336 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11337 # Broken: success on invalid input.
11340 # Passes both tests.
11344 rm -f conftest.err conftest.i conftest.
$ac_ext
11347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11348 rm -f conftest.i conftest.err conftest.
$ac_ext
11349 if $ac_preproc_ok; then :
11352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11354 _lt_caught_CXX_error
=yes; }
11358 ac_cpp
='$CPP $CPPFLAGS'
11359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11364 _lt_caught_CXX_error
=yes
11371 ac_cpp
='$CXXCPP $CPPFLAGS'
11372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11376 archive_cmds_need_lc_CXX
=no
11377 allow_undefined_flag_CXX
=
11378 always_export_symbols_CXX
=no
11379 archive_expsym_cmds_CXX
=
11380 compiler_needs_object_CXX
=no
11381 export_dynamic_flag_spec_CXX
=
11382 hardcode_direct_CXX
=no
11383 hardcode_direct_absolute_CXX
=no
11384 hardcode_libdir_flag_spec_CXX
=
11385 hardcode_libdir_flag_spec_ld_CXX
=
11386 hardcode_libdir_separator_CXX
=
11387 hardcode_minus_L_CXX
=no
11388 hardcode_shlibpath_var_CXX
=unsupported
11389 hardcode_automatic_CXX
=no
11390 inherit_rpath_CXX
=no
11392 module_expsym_cmds_CXX
=
11393 link_all_deplibs_CXX
=unknown
11394 old_archive_cmds_CXX
=$old_archive_cmds
11395 no_undefined_flag_CXX
=
11396 whole_archive_flag_spec_CXX
=
11397 enable_shared_with_static_runtimes_CXX
=no
11399 # Source file extension for C++ test sources.
11402 # Object file extension for compiled C++ test sources.
11406 # No sense in running all these tests if we already determined that
11407 # the CXX compiler isn't working. Some variables (like enable_shared)
11408 # are currently assumed to apply to all compilers on this platform,
11409 # and will be corrupted by setting them based on a non-working compiler.
11410 if test "$_lt_caught_CXX_error" != yes; then
11411 # Code to be used in simple compile tests
11412 lt_simple_compile_test_code
="int some_variable = 0;"
11414 # Code to be used in simple link tests
11415 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11417 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11424 # If no C compiler was specified, use CC.
11427 # If no C compiler flags were specified, use CFLAGS.
11428 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11430 # Allow CC to be a program name with arguments.
11434 # save warnings/boilerplate of simple test code
11435 ac_outfile
=conftest.
$ac_objext
11436 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11437 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11438 _lt_compiler_boilerplate
=`cat conftest.err`
11441 ac_outfile
=conftest.
$ac_objext
11442 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11443 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11444 _lt_linker_boilerplate
=`cat conftest.err`
11448 # Allow CC to be a program name with arguments.
11453 lt_save_with_gnu_ld
=$with_gnu_ld
11454 lt_save_path_LD
=$lt_cv_path_LD
11455 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11456 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11458 $as_unset lt_cv_prog_gnu_ld
11460 if test -n "${lt_cv_path_LDCXX+set}"; then
11461 lt_cv_path_LD
=$lt_cv_path_LDCXX
11463 $as_unset lt_cv_path_LD
11465 test -z "${LDCXX+set}" || LD
=$LDCXX
11469 for cc_temp
in $compiler""; do
11471 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11472 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11477 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11480 if test -n "$compiler"; then
11481 # We don't want -fno-exception when compiling C++ code, so set the
11482 # no_builtin_flag separately
11483 if test "$GXX" = yes; then
11484 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11486 lt_prog_compiler_no_builtin_flag_CXX
=
11489 if test "$GXX" = yes; then
11490 # Set up default GNU C++ configuration
11494 # Check whether --with-gnu-ld was given.
11495 if test "${with_gnu_ld+set}" = set; then :
11496 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11502 if test "$GCC" = yes; then
11503 # Check if gcc -print-prog-name=ld gives a path.
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11505 $as_echo_n "checking for ld used by $CC... " >&6; }
11508 # gcc leaves a trailing carriage return which upsets mingw
11509 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11511 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11514 # Accept absolute paths.
11516 re_direlt
='/[^/][^/]*/\.\./'
11517 # Canonicalize the pathname of ld
11518 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11519 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11520 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11522 test -z "$LD" && LD
="$ac_prog"
11525 # If it fails, then pretend we aren't using GCC.
11529 # If it is relative, then search for the first ld in PATH.
11530 with_gnu_ld
=unknown
11533 elif test "$with_gnu_ld" = yes; then
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11535 $as_echo_n "checking for GNU ld... " >&6; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11538 $as_echo_n "checking for non-GNU ld... " >&6; }
11540 if test "${lt_cv_path_LD+set}" = set; then :
11541 $as_echo_n "(cached) " >&6
11543 if test -z "$LD"; then
11544 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11545 for ac_dir
in $PATH; do
11547 test -z "$ac_dir" && ac_dir
=.
11548 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11549 lt_cv_path_LD
="$ac_dir/$ac_prog"
11550 # Check to see if the program is GNU ld. I'd rather use --version,
11551 # but apparently some variants of GNU ld only accept -v.
11552 # Break only if it was the GNU/non-GNU ld that we prefer.
11553 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11554 *GNU
* | *'with BFD'*)
11555 test "$with_gnu_ld" != no
&& break
11558 test "$with_gnu_ld" != yes && break
11565 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11569 LD
="$lt_cv_path_LD"
11570 if test -n "$LD"; then
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11572 $as_echo "$LD" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11575 $as_echo "no" >&6; }
11577 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11579 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11580 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11581 $as_echo_n "(cached) " >&6
11583 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11584 case `$LD -v 2>&1 </dev/null` in
11585 *GNU
* | *'with BFD'*)
11586 lt_cv_prog_gnu_ld
=yes
11589 lt_cv_prog_gnu_ld
=no
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11594 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11595 with_gnu_ld
=$lt_cv_prog_gnu_ld
11603 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11604 # archiving commands below assume that GNU ld is being used.
11605 if test "$with_gnu_ld" = yes; then
11606 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11607 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'
11609 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11610 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11612 # If archive_cmds runs LD, not CC, wlarc should be empty
11613 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11614 # investigate it a little bit more. (MM)
11617 # ancient GNU ld didn't support --whole-archive et. al.
11618 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11619 $GREP 'no-whole-archive' > /dev
/null
; then
11620 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11622 whole_archive_flag_spec_CXX
=
11628 # A generic and very simple default shared library creation
11629 # command for GNU C++ for the case where it uses the native
11630 # linker, instead of GNU ld. If possible, this setting should
11631 # overridden to take advantage of the native linker features on
11632 # the platform it is being used on.
11633 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11636 # Commands to make compiler produce verbose output that lists
11637 # what "hidden" libraries, object files and flags are used when
11638 # linking a shared library.
11639 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11647 # PORTME: fill in a description of your system's C++ link characteristics
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11649 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11653 # FIXME: insert proper C++ library support
11657 if test "$host_cpu" = ia64
; then
11658 # On IA64, the linker does run time linking by default, so we don't
11659 # have to do anything special.
11660 aix_use_runtimelinking
=no
11661 exp_sym_flag
='-Bexport'
11664 aix_use_runtimelinking
=no
11666 # Test if we are trying to use run time linking or normal
11667 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11668 # need to do runtime linking.
11669 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11670 for ld_flag
in $LDFLAGS; do
11673 aix_use_runtimelinking
=yes
11681 exp_sym_flag
='-bexport'
11682 no_entry_flag
='-bnoentry'
11685 # When large executables or shared objects are built, AIX ld can
11686 # have problems creating the table of contents. If linking a library
11687 # or program results in "error TOC overflow" add -mminimal-toc to
11688 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11689 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11691 archive_cmds_CXX
=''
11692 hardcode_direct_CXX
=yes
11693 hardcode_direct_absolute_CXX
=yes
11694 hardcode_libdir_separator_CXX
=':'
11695 link_all_deplibs_CXX
=yes
11696 file_list_spec_CXX
='${wl}-f,'
11698 if test "$GXX" = yes; then
11699 case $host_os in aix4.
[012]|aix4.
[012].
*)
11700 # We only want to do this on AIX 4.2 and lower, the check
11701 # below for broken collect2 doesn't work under 4.3+
11702 collect2name
=`${CC} -print-prog-name=collect2`
11703 if test -f "$collect2name" &&
11704 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11706 # We have reworked collect2
11709 # We have old collect2
11710 hardcode_direct_CXX
=unsupported
11711 # It fails to find uninstalled libraries when the uninstalled
11712 # path is not listed in the libpath. Setting hardcode_minus_L
11713 # to unsupported forces relinking
11714 hardcode_minus_L_CXX
=yes
11715 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11716 hardcode_libdir_separator_CXX
=
11719 shared_flag
='-shared'
11720 if test "$aix_use_runtimelinking" = yes; then
11721 shared_flag
="$shared_flag "'${wl}-G'
11725 if test "$host_cpu" = ia64
; then
11726 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11727 # chokes on -Wl,-G. The following line is correct:
11730 if test "$aix_use_runtimelinking" = yes; then
11731 shared_flag
='${wl}-G'
11733 shared_flag
='${wl}-bM:SRE'
11738 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11739 # It seems that -bexpall does not export symbols beginning with
11740 # underscore (_), so it is better to generate a list of symbols to
11742 always_export_symbols_CXX
=yes
11743 if test "$aix_use_runtimelinking" = yes; then
11744 # Warning - without using the other runtime loading flags (-brtl),
11745 # -berok will link without error, but may produce a broken library.
11746 allow_undefined_flag_CXX
='-berok'
11747 # Determine the default libpath from the value encoded in an empty
11749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h. */
11760 if ac_fn_cxx_try_link
"$LINENO"; then :
11762 lt_aix_libpath_sed
='
11763 /Import File Strings/,/^$/ {
11769 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11770 # Check for a 64-bit object if we didn't find anything.
11771 if test -z "$aix_libpath"; then
11772 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11775 rm -f core conftest.err conftest.
$ac_objext \
11776 conftest
$ac_exeext conftest.
$ac_ext
11777 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11779 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11781 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"
11783 if test "$host_cpu" = ia64
; then
11784 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11785 allow_undefined_flag_CXX
="-z nodefs"
11786 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"
11788 # Determine the default libpath from the value encoded in an
11789 # empty executable.
11790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11791 /* end confdefs.h. */
11801 if ac_fn_cxx_try_link
"$LINENO"; then :
11803 lt_aix_libpath_sed
='
11804 /Import File Strings/,/^$/ {
11810 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11811 # Check for a 64-bit object if we didn't find anything.
11812 if test -z "$aix_libpath"; then
11813 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11816 rm -f core conftest.err conftest.
$ac_objext \
11817 conftest
$ac_exeext conftest.
$ac_ext
11818 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11820 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11821 # Warning - without using the other run time loading flags,
11822 # -berok will link without error, but may produce a broken library.
11823 no_undefined_flag_CXX
=' ${wl}-bernotok'
11824 allow_undefined_flag_CXX
=' ${wl}-berok'
11825 # Exported symbols can be pulled into shared objects from archives
11826 whole_archive_flag_spec_CXX
='$convenience'
11827 archive_cmds_need_lc_CXX
=yes
11828 # This is similar to how AIX traditionally builds its shared
11830 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'
11836 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11837 allow_undefined_flag_CXX
=unsupported
11838 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11839 # support --undefined. This deserves some investigation. FIXME
11840 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11847 case $cc_basename in
11849 # FIXME: insert proper C++ library support
11855 cygwin
* | mingw
* | pw32
* | cegcc
*)
11856 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11857 # as there is no search path for DLLs.
11858 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11859 allow_undefined_flag_CXX
=unsupported
11860 always_export_symbols_CXX
=no
11861 enable_shared_with_static_runtimes_CXX
=yes
11863 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11864 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'
11865 # If the export-symbols file already is a .def file (1st line
11866 # is EXPORTS), use it as is; otherwise, prepend...
11867 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11868 cp $export_symbols $output_objdir/$soname.def;
11870 echo EXPORTS > $output_objdir/$soname.def;
11871 cat $export_symbols >> $output_objdir/$soname.def;
11873 $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'
11878 darwin
* | rhapsody
*)
11881 archive_cmds_need_lc_CXX
=no
11882 hardcode_direct_CXX
=no
11883 hardcode_automatic_CXX
=yes
11884 hardcode_shlibpath_var_CXX
=unsupported
11885 whole_archive_flag_spec_CXX
=''
11886 link_all_deplibs_CXX
=yes
11887 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11888 case $cc_basename in
11889 ifort
*) _lt_dar_can_shared
=yes ;;
11890 *) _lt_dar_can_shared
=$GCC ;;
11892 if test "$_lt_dar_can_shared" = "yes"; then
11893 output_verbose_link_cmd
=echo
11894 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}"
11895 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11896 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}"
11897 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}"
11898 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11899 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}"
11900 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}"
11910 case $cc_basename in
11912 # FIXME: insert proper C++ library support
11916 # Green Hills C++ Compiler
11917 # FIXME: insert proper C++ library support
11921 # FIXME: insert proper C++ library support
11928 # C++ shared libraries reported to be fairly broken before
11934 archive_cmds_need_lc_CXX
=no
11937 freebsd
* | dragonfly
*)
11938 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11947 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11948 hardcode_libdir_separator_CXX
=:
11949 export_dynamic_flag_spec_CXX
='${wl}-E'
11950 hardcode_direct_CXX
=yes
11951 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11952 # but as the default
11953 # location of the library.
11955 case $cc_basename in
11957 # FIXME: insert proper C++ library support
11961 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'
11962 # Commands to make compiler produce verbose output that lists
11963 # what "hidden" libraries, object files and flags are used when
11964 # linking a shared library.
11966 # There doesn't appear to be a way to prevent this compiler from
11967 # explicitly linking system object files so we need to strip them
11968 # from the output so that they don't get included in the library
11970 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'
11973 if test "$GXX" = yes; then
11974 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'
11976 # FIXME: insert proper C++ library support
11984 if test $with_gnu_ld = no
; then
11985 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11986 hardcode_libdir_separator_CXX
=:
11992 export_dynamic_flag_spec_CXX
='${wl}-E'
11998 hardcode_direct_CXX
=no
11999 hardcode_shlibpath_var_CXX
=no
12002 hardcode_direct_CXX
=yes
12003 hardcode_direct_absolute_CXX
=yes
12004 hardcode_minus_L_CXX
=yes # Not in the search PATH,
12005 # but as the default
12006 # location of the library.
12010 case $cc_basename in
12012 # FIXME: insert proper C++ library support
12018 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12021 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12024 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12027 # Commands to make compiler produce verbose output that lists
12028 # what "hidden" libraries, object files and flags are used when
12029 # linking a shared library.
12031 # There doesn't appear to be a way to prevent this compiler from
12032 # explicitly linking system object files so we need to strip them
12033 # from the output so that they don't get included in the library
12035 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'
12038 if test "$GXX" = yes; then
12039 if test $with_gnu_ld = no
; then
12042 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12045 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12048 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'
12053 # FIXME: insert proper C++ library support
12061 hardcode_direct_CXX
=no
12062 hardcode_shlibpath_var_CXX
=no
12063 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12064 export_dynamic_flag_spec_CXX
='${wl}-E'
12065 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12066 # Instead, shared libraries are loaded at an image base (0x10000000 by
12067 # default) and relocated if they conflict, which is a slow very memory
12068 # consuming and fragmenting process. To avoid this, we pick a random,
12069 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12070 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12071 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'
12072 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'
12075 case $cc_basename in
12078 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'
12080 # Archives containing C++ object files must be created using
12081 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12082 # necessary to make sure instantiated templates are included
12084 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12087 if test "$GXX" = yes; then
12088 if test "$with_gnu_ld" = no
; then
12089 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'
12091 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'
12094 link_all_deplibs_CXX
=yes
12097 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12098 hardcode_libdir_separator_CXX
=:
12099 inherit_rpath_CXX
=yes
12102 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12103 case $cc_basename in
12105 # Kuck and Associates, Inc. (KAI) C++ Compiler
12107 # KCC will only create a shared library if the output file
12108 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12109 # to its proper name (with version) after linking.
12110 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'
12111 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'
12112 # Commands to make compiler produce verbose output that lists
12113 # what "hidden" libraries, object files and flags are used when
12114 # linking a shared library.
12116 # There doesn't appear to be a way to prevent this compiler from
12117 # explicitly linking system object files so we need to strip them
12118 # from the output so that they don't get included in the library
12120 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'
12122 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12123 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12125 # Archives containing C++ object files must be created using
12126 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12127 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12132 # version 8.0 and above of icpc choke on multiply defined symbols
12133 # if we add $predep_objects and $postdep_objects, however 7.1 and
12134 # earlier do not add the objects themselves.
12135 case `$CC -V 2>&1` in
12137 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12138 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'
12140 *) # Version 8.0 or newer
12143 ia64
*) tmp_idyn
=' -i_dynamic';;
12145 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12146 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'
12149 archive_cmds_need_lc_CXX
=no
12150 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12151 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12152 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12155 # Portland Group C++ compiler
12157 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12158 prelink_cmds_CXX
='tpldir=Template.dir~
12160 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12161 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12162 old_archive_cmds_CXX
='tpldir=Template.dir~
12164 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12165 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12167 archive_cmds_CXX
='tpldir=Template.dir~
12169 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12170 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12171 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12173 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12174 $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'
12176 *) # Version 6 will use weak symbols
12177 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12178 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'
12182 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12183 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12184 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'
12188 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12189 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'
12191 runpath_var
=LD_RUN_PATH
12192 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12193 hardcode_libdir_separator_CXX
=:
12195 # Commands to make compiler produce verbose output that lists
12196 # what "hidden" libraries, object files and flags are used when
12197 # linking a shared library.
12199 # There doesn't appear to be a way to prevent this compiler from
12200 # explicitly linking system object files so we need to strip them
12201 # from the output so that they don't get included in the library
12203 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'
12206 # IBM XL 8.0 on PPC, with GNU ld
12207 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12208 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12209 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12210 if test "x$supports_anon_versioning" = xyes
; then
12211 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12212 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12213 echo "local: *; };" >> $output_objdir/$libname.ver~
12214 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12218 case `$CC -V 2>&1 | sed 5q` in
12221 no_undefined_flag_CXX
=' -zdefs'
12222 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12223 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'
12224 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12225 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'
12226 compiler_needs_object_CXX
=yes
12228 # Not sure whether something based on
12229 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12231 output_verbose_link_cmd
='echo'
12233 # Archives containing C++ object files must be created using
12234 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12235 # necessary to make sure instantiated templates are included
12237 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12245 # FIXME: insert proper C++ library support
12250 # FIXME: insert proper C++ library support
12255 case $cc_basename in
12257 # FIXME: insert proper C++ library support
12261 # FIXME: insert proper C++ library support
12268 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12269 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12271 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12272 hardcode_direct_CXX
=yes
12273 hardcode_shlibpath_var_CXX
=no
12275 # Workaround some broken pre-1.5 toolchains
12276 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12284 # C++ shared libraries are fairly broken
12289 if test -f /usr
/libexec
/ld.so
; then
12290 hardcode_direct_CXX
=yes
12291 hardcode_shlibpath_var_CXX
=no
12292 hardcode_direct_absolute_CXX
=yes
12293 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12294 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12295 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12296 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12297 export_dynamic_flag_spec_CXX
='${wl}-E'
12298 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12300 output_verbose_link_cmd
=echo
12306 osf3
* | osf4
* | osf5
*)
12307 case $cc_basename in
12309 # Kuck and Associates, Inc. (KAI) C++ Compiler
12311 # KCC will only create a shared library if the output file
12312 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12313 # to its proper name (with version) after linking.
12314 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'
12316 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12317 hardcode_libdir_separator_CXX
=:
12319 # Archives containing C++ object files must be created using
12320 # the KAI C++ compiler.
12322 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12323 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12327 # Rational C++ 2.4.1
12328 # FIXME: insert proper C++ library support
12334 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12335 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'
12336 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12339 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12340 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'
12341 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12342 echo "-hidden">> $lib.exp~
12343 $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~
12345 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12349 hardcode_libdir_separator_CXX
=:
12351 # Commands to make compiler produce verbose output that lists
12352 # what "hidden" libraries, object files and flags are used when
12353 # linking a shared library.
12355 # There doesn't appear to be a way to prevent this compiler from
12356 # explicitly linking system object files so we need to strip them
12357 # from the output so that they don't get included in the library
12359 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'
12362 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12363 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12366 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'
12369 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'
12373 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12374 hardcode_libdir_separator_CXX
=:
12376 # Commands to make compiler produce verbose output that lists
12377 # what "hidden" libraries, object files and flags are used when
12378 # linking a shared library.
12379 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12382 # FIXME: insert proper C++ library support
12390 # FIXME: insert proper C++ library support
12395 case $cc_basename in
12398 # FIXME: insert proper C++ library support
12403 # FIXME: insert proper C++ library support
12407 # FIXME: insert proper C++ library support
12414 case $cc_basename in
12416 # Sun C++ 4.2, 5.x and Centerline C++
12417 archive_cmds_need_lc_CXX
=yes
12418 no_undefined_flag_CXX
=' -zdefs'
12419 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12420 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12421 $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'
12423 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12424 hardcode_shlibpath_var_CXX
=no
12426 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12428 # The compiler driver will combine and reorder linker options,
12429 # but understands `-z linker_flag'.
12430 # Supported since Solaris 2.6 (maybe 2.5.1?)
12431 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12434 link_all_deplibs_CXX
=yes
12436 output_verbose_link_cmd
='echo'
12438 # Archives containing C++ object files must be created using
12439 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12440 # necessary to make sure instantiated templates are included
12442 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12445 # Green Hills C++ Compiler
12446 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12448 # The C++ compiler must be used to create the archive.
12449 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12452 # GNU C++ compiler with Solaris linker
12453 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12454 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12455 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12456 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12457 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12458 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12460 # Commands to make compiler produce verbose output that lists
12461 # what "hidden" libraries, object files and flags are used when
12462 # linking a shared library.
12463 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12465 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12467 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12468 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12469 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12471 # Commands to make compiler produce verbose output that lists
12472 # what "hidden" libraries, object files and flags are used when
12473 # linking a shared library.
12474 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12477 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12479 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12481 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12489 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12490 no_undefined_flag_CXX
='${wl}-z,text'
12491 archive_cmds_need_lc_CXX
=no
12492 hardcode_shlibpath_var_CXX
=no
12493 runpath_var
='LD_RUN_PATH'
12495 case $cc_basename in
12497 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12498 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12501 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12502 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12507 sysv5
* | sco3.2v5
* | sco5v6
*)
12508 # Note: We can NOT use -z defs as we might desire, because we do not
12509 # link with -lc, and that would cause any symbols used from libc to
12510 # always be unresolved, which means just about no library would
12511 # ever link correctly. If we're not using GNU ld we use -z text
12512 # though, which does catch some bad symbols but isn't as heavy-handed
12514 no_undefined_flag_CXX
='${wl}-z,text'
12515 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12516 archive_cmds_need_lc_CXX
=no
12517 hardcode_shlibpath_var_CXX
=no
12518 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12519 hardcode_libdir_separator_CXX
=':'
12520 link_all_deplibs_CXX
=yes
12521 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12522 runpath_var
='LD_RUN_PATH'
12524 case $cc_basename in
12526 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12527 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12530 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12531 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12537 case $cc_basename in
12539 # NonStop-UX NCC 3.20
12540 # FIXME: insert proper C++ library support
12544 # FIXME: insert proper C++ library support
12551 # FIXME: insert proper C++ library support
12556 # FIXME: insert proper C++ library support
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12562 $as_echo "$ld_shlibs_CXX" >&6; }
12563 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12569 ## There is no encapsulation within the following macros, do not change
12570 ## the running order or otherwise move them around unless you know exactly
12571 ## what you are doing...
12572 # Dependencies to place before and after the object being linked:
12573 predep_objects_CXX
=
12574 postdep_objects_CXX
=
12577 compiler_lib_search_path_CXX
=
12579 cat > conftest.
$ac_ext <<_LT_EOF
12583 Foo (void) { a = 0; }
12589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12590 (eval $ac_compile) 2>&5
12592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12593 test $ac_status = 0; }; then
12594 # Parse the compiler output and extract the necessary
12595 # objects, libraries and library flags.
12597 # Sentinel used to keep track of whether or not we are before
12598 # the conftest object file.
12599 pre_test_object_deps_done
=no
12601 for p
in `eval "$output_verbose_link_cmd"`; do
12605 # Some compilers place space between "-{L,R}" and the path.
12606 # Remove the space.
12607 if test $p = "-L" ||
12608 test $p = "-R"; then
12615 if test "$pre_test_object_deps_done" = no
; then
12618 # Internal compiler library paths should come after those
12619 # provided the user. The postdeps already come after the
12620 # user supplied libs so there is no need to process them.
12621 if test -z "$compiler_lib_search_path_CXX"; then
12622 compiler_lib_search_path_CXX
="${prev}${p}"
12624 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12627 # The "-l" case would never come before the object being
12628 # linked, so don't bother handling this case.
12631 if test -z "$postdeps_CXX"; then
12632 postdeps_CXX
="${prev}${p}"
12634 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12640 # This assumes that the test object file only shows up
12641 # once in the compiler output.
12642 if test "$p" = "conftest.$objext"; then
12643 pre_test_object_deps_done
=yes
12647 if test "$pre_test_object_deps_done" = no
; then
12648 if test -z "$predep_objects_CXX"; then
12649 predep_objects_CXX
="$p"
12651 predep_objects_CXX
="$predep_objects_CXX $p"
12654 if test -z "$postdep_objects_CXX"; then
12655 postdep_objects_CXX
="$p"
12657 postdep_objects_CXX
="$postdep_objects_CXX $p"
12662 *) ;; # Ignore the rest.
12670 echo "libtool.m4: error: problem compiling CXX test program"
12673 $RM -f confest.
$objext
12675 # PORTME: override above test on systems where it is broken
12678 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12679 # hack all around it, let's just trust "g++" to DTRT.
12680 predep_objects_CXX
=
12681 postdep_objects_CXX
=
12686 case `$CC -V 2>&1 | sed 5q` in
12690 # The more standards-conforming stlport4 library is
12691 # incompatible with the Cstd library. Avoid specifying
12692 # it if it's in CXXFLAGS. Ignore libCrun as
12693 # -library=stlport4 depends on it.
12694 case " $CXX $CXXFLAGS " in
12695 *" -library=stlport4 "*)
12696 solaris_use_stlport4
=yes
12700 if test "$solaris_use_stlport4" != yes; then
12701 postdeps_CXX
='-library=Cstd -library=Crun'
12708 case $cc_basename in
12710 # The more standards-conforming stlport4 library is
12711 # incompatible with the Cstd library. Avoid specifying
12712 # it if it's in CXXFLAGS. Ignore libCrun as
12713 # -library=stlport4 depends on it.
12714 case " $CXX $CXXFLAGS " in
12715 *" -library=stlport4 "*)
12716 solaris_use_stlport4
=yes
12720 # Adding this requires a known-good setup of shared libraries for
12721 # Sun compiler versions before 5.6, else PIC objects from an old
12722 # archive will be linked into the output, leading to subtle bugs.
12723 if test "$solaris_use_stlport4" != yes; then
12724 postdeps_CXX
='-library=Cstd -library=Crun'
12732 case " $postdeps_CXX " in
12733 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12735 compiler_lib_search_dirs_CXX
=
12736 if test -n "${compiler_lib_search_path_CXX}"; then
12737 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12770 lt_prog_compiler_wl_CXX
=
12771 lt_prog_compiler_pic_CXX
=
12772 lt_prog_compiler_static_CXX
=
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12775 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12777 # C++ specific cases for pic, static, wl, etc.
12778 if test "$GXX" = yes; then
12779 lt_prog_compiler_wl_CXX
='-Wl,'
12780 lt_prog_compiler_static_CXX
='-static'
12784 # All AIX code is PIC.
12785 if test "$host_cpu" = ia64
; then
12786 # AIX 5 now supports IA64 processor
12787 lt_prog_compiler_static_CXX
='-Bstatic'
12794 # see comment about AmigaOS4 .so support
12795 lt_prog_compiler_pic_CXX
='-fPIC'
12798 # FIXME: we need at least 68020 code to build shared libraries, but
12799 # adding the `-m68020' flag to GCC prevents building anything better,
12801 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12806 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12807 # PIC is the default for these OSes.
12809 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12810 # This hack is so that the source file can tell whether it is being
12811 # built for inclusion in a dll (and should export symbols for example).
12812 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12813 # (--disable-auto-import) libraries
12814 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12816 darwin
* | rhapsody
*)
12817 # PIC is the default on this platform
12818 # Common symbols not allowed in MH_DYLIB files
12819 lt_prog_compiler_pic_CXX
='-fno-common'
12822 # DJGPP does not support shared libraries at all
12823 lt_prog_compiler_pic_CXX
=
12826 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12827 # Instead, we relocate shared libraries at runtime.
12830 if test -d /usr
/nec
; then
12831 lt_prog_compiler_pic_CXX
=-Kconform_pic
12835 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12836 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12837 # sets the default TLS model and affects inlining.
12842 lt_prog_compiler_pic_CXX
='-fPIC'
12847 # QNX uses GNU C++, but need to define -shared option too, otherwise
12848 # it will coredump.
12849 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12852 lt_prog_compiler_pic_CXX
='-fPIC'
12858 # All AIX code is PIC.
12859 if test "$host_cpu" = ia64
; then
12860 # AIX 5 now supports IA64 processor
12861 lt_prog_compiler_static_CXX
='-Bstatic'
12863 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12867 case $cc_basename in
12869 # Green Hills C++ Compiler
12870 # _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"
12875 case $cc_basename in
12877 lt_prog_compiler_pic_CXX
='-KPIC'
12880 # Green Hills C++ Compiler
12881 lt_prog_compiler_pic_CXX
='-pic'
12887 freebsd
* | dragonfly
*)
12888 # FreeBSD uses GNU C++
12890 hpux9
* | hpux10
* | hpux11
*)
12891 case $cc_basename in
12893 lt_prog_compiler_wl_CXX
='-Wl,'
12894 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12895 if test "$host_cpu" != ia64
; then
12896 lt_prog_compiler_pic_CXX
='+Z'
12900 lt_prog_compiler_wl_CXX
='-Wl,'
12901 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12907 lt_prog_compiler_pic_CXX
='+Z'
12916 # This is c89, which is MS Visual C++ (no shared libs)
12917 # Anyone wants to do a port?
12919 irix5
* | irix6
* | nonstopux
*)
12920 case $cc_basename in
12922 lt_prog_compiler_wl_CXX
='-Wl,'
12923 lt_prog_compiler_static_CXX
='-non_shared'
12924 # CC pic flag -KPIC is the default.
12930 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12931 case $cc_basename in
12934 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12935 lt_prog_compiler_pic_CXX
='-fPIC'
12938 # old Intel C++ for x86_64 which still supported -KPIC.
12939 lt_prog_compiler_wl_CXX
='-Wl,'
12940 lt_prog_compiler_pic_CXX
='-KPIC'
12941 lt_prog_compiler_static_CXX
='-static'
12944 # Intel C++, used to be incompatible with GCC.
12945 # ICC 10 doesn't accept -KPIC any more.
12946 lt_prog_compiler_wl_CXX
='-Wl,'
12947 lt_prog_compiler_pic_CXX
='-fPIC'
12948 lt_prog_compiler_static_CXX
='-static'
12951 # Portland Group C++ compiler
12952 lt_prog_compiler_wl_CXX
='-Wl,'
12953 lt_prog_compiler_pic_CXX
='-fpic'
12954 lt_prog_compiler_static_CXX
='-Bstatic'
12958 # Make sure the PIC flag is empty. It appears that all Alpha
12959 # Linux and Compaq Tru64 Unix objects are PIC.
12960 lt_prog_compiler_pic_CXX
=
12961 lt_prog_compiler_static_CXX
='-non_shared'
12964 # IBM XL 8.0 on PPC
12965 lt_prog_compiler_wl_CXX
='-Wl,'
12966 lt_prog_compiler_pic_CXX
='-qpic'
12967 lt_prog_compiler_static_CXX
='-qstaticlink'
12970 case `$CC -V 2>&1 | sed 5q` in
12973 lt_prog_compiler_pic_CXX
='-KPIC'
12974 lt_prog_compiler_static_CXX
='-Bstatic'
12975 lt_prog_compiler_wl_CXX
='-Qoption ld '
12986 case $cc_basename in
12988 lt_prog_compiler_pic_CXX
='-W c,exportall'
12994 netbsd
* | netbsdelf
*-gnu)
12997 # QNX uses GNU C++, but need to define -shared option too, otherwise
12998 # it will coredump.
12999 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13001 osf3
* | osf4
* | osf5
*)
13002 case $cc_basename in
13004 lt_prog_compiler_wl_CXX
='--backend -Wl,'
13007 # Rational C++ 2.4.1
13008 lt_prog_compiler_pic_CXX
='-pic'
13011 # Digital/Compaq C++
13012 lt_prog_compiler_wl_CXX
='-Wl,'
13013 # Make sure the PIC flag is empty. It appears that all Alpha
13014 # Linux and Compaq Tru64 Unix objects are PIC.
13015 lt_prog_compiler_pic_CXX
=
13016 lt_prog_compiler_static_CXX
='-non_shared'
13025 case $cc_basename in
13027 # Sun C++ 4.2, 5.x and Centerline C++
13028 lt_prog_compiler_pic_CXX
='-KPIC'
13029 lt_prog_compiler_static_CXX
='-Bstatic'
13030 lt_prog_compiler_wl_CXX
='-Qoption ld '
13033 # Green Hills C++ Compiler
13034 lt_prog_compiler_pic_CXX
='-PIC'
13041 case $cc_basename in
13044 lt_prog_compiler_pic_CXX
='-pic'
13045 lt_prog_compiler_static_CXX
='-Bstatic'
13049 lt_prog_compiler_pic_CXX
='-pic'
13055 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13056 case $cc_basename in
13058 lt_prog_compiler_wl_CXX
='-Wl,'
13059 lt_prog_compiler_pic_CXX
='-KPIC'
13060 lt_prog_compiler_static_CXX
='-Bstatic'
13065 case $cc_basename in
13067 # NonStop-UX NCC 3.20
13068 lt_prog_compiler_pic_CXX
='-KPIC'
13077 lt_prog_compiler_can_build_shared_CXX
=no
13083 # For platforms which do not support PIC, -DPIC is meaningless:
13085 lt_prog_compiler_pic_CXX
=
13088 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13092 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13097 # Check to make sure the PIC flag actually works.
13099 if test -n "$lt_prog_compiler_pic_CXX"; then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13101 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13102 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13103 $as_echo_n "(cached) " >&6
13105 lt_cv_prog_compiler_pic_works_CXX
=no
13106 ac_outfile
=conftest.
$ac_objext
13107 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13108 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13109 # Insert the option either (1) after the last *FLAGS variable, or
13110 # (2) before a word containing "conftest.", or (3) at the end.
13111 # Note that $ac_compile itself does not contain backslashes and begins
13112 # with a dollar sign (not a hyphen), so the echo should work correctly.
13113 # The option is referenced via a variable to avoid confusing sed.
13114 lt_compile
=`echo "$ac_compile" | $SED \
13115 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13116 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13117 -e 's:$: $lt_compiler_flag:'`
13118 (eval echo "\"\$as_me:13118: $lt_compile\"" >&5)
13119 (eval "$lt_compile" 2>conftest.err
)
13121 cat conftest.err
>&5
13122 echo "$as_me:13122: \$? = $ac_status" >&5
13123 if (exit $ac_status) && test -s "$ac_outfile"; then
13124 # The compiler can only warn and ignore the option if not recognized
13125 # So say no if there are warnings other than the usual output.
13126 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13127 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13128 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13129 lt_cv_prog_compiler_pic_works_CXX
=yes
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13136 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13138 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13139 case $lt_prog_compiler_pic_CXX in
13141 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13144 lt_prog_compiler_pic_CXX
=
13145 lt_prog_compiler_can_build_shared_CXX
=no
13153 # Check to make sure the static flag actually works.
13155 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13157 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13158 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13159 $as_echo_n "(cached) " >&6
13161 lt_cv_prog_compiler_static_works_CXX
=no
13162 save_LDFLAGS
="$LDFLAGS"
13163 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13164 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13165 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13166 # The linker can only warn and ignore the option if not recognized
13167 # So say no if there are warnings
13168 if test -s conftest.err
; then
13169 # Append any errors to the config.log.
13170 cat conftest.err
1>&5
13171 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13172 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13173 if diff conftest.exp conftest.er2
>/dev
/null
; then
13174 lt_cv_prog_compiler_static_works_CXX
=yes
13177 lt_cv_prog_compiler_static_works_CXX
=yes
13181 LDFLAGS
="$save_LDFLAGS"
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13185 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13187 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13190 lt_prog_compiler_static_CXX
=
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13198 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13199 $as_echo_n "(cached) " >&6
13201 lt_cv_prog_compiler_c_o_CXX
=no
13202 $RM -r conftest
2>/dev
/null
13206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13208 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13209 # Insert the option either (1) after the last *FLAGS variable, or
13210 # (2) before a word containing "conftest.", or (3) at the end.
13211 # Note that $ac_compile itself does not contain backslashes and begins
13212 # with a dollar sign (not a hyphen), so the echo should work correctly.
13213 lt_compile
=`echo "$ac_compile" | $SED \
13214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13216 -e 's:$: $lt_compiler_flag:'`
13217 (eval echo "\"\$as_me:13217: $lt_compile\"" >&5)
13218 (eval "$lt_compile" 2>out
/conftest.err
)
13220 cat out
/conftest.err
>&5
13221 echo "$as_me:13221: \$? = $ac_status" >&5
13222 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13224 # The compiler can only warn and ignore the option if not recognized
13225 # So say no if there are warnings
13226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13227 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13228 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13229 lt_cv_prog_compiler_c_o_CXX
=yes
13234 # SGI C++ compiler will create directory out/ii_files/ for
13235 # template instantiation
13236 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13237 $RM out
/* && rmdir out
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13244 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13249 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13250 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13251 $as_echo_n "(cached) " >&6
13253 lt_cv_prog_compiler_c_o_CXX
=no
13254 $RM -r conftest
2>/dev
/null
13258 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13260 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13261 # Insert the option either (1) after the last *FLAGS variable, or
13262 # (2) before a word containing "conftest.", or (3) at the end.
13263 # Note that $ac_compile itself does not contain backslashes and begins
13264 # with a dollar sign (not a hyphen), so the echo should work correctly.
13265 lt_compile
=`echo "$ac_compile" | $SED \
13266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13268 -e 's:$: $lt_compiler_flag:'`
13269 (eval echo "\"\$as_me:13269: $lt_compile\"" >&5)
13270 (eval "$lt_compile" 2>out
/conftest.err
)
13272 cat out
/conftest.err
>&5
13273 echo "$as_me:13273: \$? = $ac_status" >&5
13274 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13276 # The compiler can only warn and ignore the option if not recognized
13277 # So say no if there are warnings
13278 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13279 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13280 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13281 lt_cv_prog_compiler_c_o_CXX
=yes
13286 # SGI C++ compiler will create directory out/ii_files/ for
13287 # template instantiation
13288 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13289 $RM out
/* && rmdir out
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13296 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13301 hard_links
="nottested"
13302 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13303 # do not overwrite the value of need_locks provided by the user
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13305 $as_echo_n "checking if we can lock with hard links... " >&6; }
13308 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13310 ln conftest.a conftest.b
2>&5 || hard_links
=no
13311 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13313 $as_echo "$hard_links" >&6; }
13314 if test "$hard_links" = no
; then
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13316 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13326 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13328 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13331 # If we're using GNU nm, then we don't want the "-C" option.
13332 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13333 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13334 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'
13336 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'
13340 export_symbols_cmds_CXX
="$ltdll_cmds"
13342 cygwin
* | mingw
* | cegcc
*)
13343 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'
13345 linux
* | k
*bsd
*-gnu)
13346 link_all_deplibs_CXX
=no
13349 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13352 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13355 $as_echo "$ld_shlibs_CXX" >&6; }
13356 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13358 with_gnu_ld_CXX
=$with_gnu_ld
13366 # Do we need to explicitly link libc?
13368 case "x$archive_cmds_need_lc_CXX" in
13370 # Assume -lc should be added
13371 archive_cmds_need_lc_CXX
=yes
13373 if test "$enable_shared" = yes && test "$GCC" = yes; then
13374 case $archive_cmds_CXX in
13376 # FIXME: we may have to deal with multi-command sequences.
13379 # Test whether the compiler implicitly links with -lc since on some
13380 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13381 # to ld, don't add -lc before -lgcc.
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13383 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13385 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13387 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13388 (eval $ac_compile) 2>&5
13390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13391 test $ac_status = 0; } 2>conftest.err
; then
13394 libobjs
=conftest.
$ac_objext
13396 wl
=$lt_prog_compiler_wl_CXX
13397 pic_flag
=$lt_prog_compiler_pic_CXX
13403 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13404 allow_undefined_flag_CXX
=
13405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13406 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13409 test $ac_status = 0; }
13411 archive_cmds_need_lc_CXX
=no
13413 archive_cmds_need_lc_CXX
=yes
13415 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13417 cat conftest.err
1>&5
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13421 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13492 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13494 library_names_spec
=
13495 libname_spec
='lib$name'
13499 postuninstall_cmds
=
13503 shlibpath_overrides_runpath
=unknown
13505 dynamic_linker
="$host_os ld.so"
13506 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13507 need_lib_prefix
=unknown
13508 hardcode_into_libs
=no
13510 # when you set need_version to no, make sure it does not cause -set_version
13511 # flags to be left without arguments
13512 need_version
=unknown
13517 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13518 shlibpath_var
=LIBPATH
13520 # AIX 3 has no versioning support, so we append a major version to the name.
13521 soname_spec
='${libname}${release}${shared_ext}$major'
13528 hardcode_into_libs
=yes
13529 if test "$host_cpu" = ia64
; then
13530 # AIX 5 supports IA64
13531 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13532 shlibpath_var
=LD_LIBRARY_PATH
13534 # With GCC up to 2.95.x, collect2 would create an import file
13535 # for dependence libraries. The import file would start with
13536 # the line `#! .'. This would cause the generated library to
13537 # depend on `.', always an invalid library. This was fixed in
13538 # development snapshots of GCC prior to 3.0.
13540 aix4
| aix4.
[01] | aix4.
[01].
*)
13541 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13543 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13546 can_build_shared
=no
13550 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13551 # soname into executable. Probably we can add versioning support to
13552 # collect2, so additional links can be useful in future.
13553 if test "$aix_use_runtimelinking" = yes; then
13554 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13555 # instead of lib<name>.a to let people know that these are not
13556 # typical AIX shared libraries.
13557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13559 # We preserve .a as extension for shared libraries through AIX4.2
13560 # and later when we are not doing run time linking.
13561 library_names_spec
='${libname}${release}.a $libname.a'
13562 soname_spec
='${libname}${release}${shared_ext}$major'
13564 shlibpath_var
=LIBPATH
13571 # Since July 2007 AmigaOS4 officially supports .so libraries.
13572 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13576 library_names_spec
='$libname.ixlibrary $libname.a'
13577 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13578 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'
13584 library_names_spec
='${libname}${shared_ext}'
13585 dynamic_linker
="$host_os ld.so"
13586 shlibpath_var
=LIBRARY_PATH
13592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13593 soname_spec
='${libname}${release}${shared_ext}$major'
13594 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13595 shlibpath_var
=LD_LIBRARY_PATH
13596 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13597 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13598 # the default ld.so.conf also contains /usr/contrib/lib and
13599 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13600 # libtool to hard-code these into programs
13603 cygwin
* | mingw
* | pw32
* | cegcc
*)
13604 version_type
=windows
13609 case $GCC,$host_os in
13610 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13611 library_names_spec
='$libname.dll.a'
13612 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13613 postinstall_cmds
='base_file=`basename \${file}`~
13614 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13615 dldir=$destdir/`dirname \$dlpath`~
13616 test -d \$dldir || mkdir -p \$dldir~
13617 $install_prog $dir/$dlname \$dldir/$dlname~
13618 chmod a+x \$dldir/$dlname~
13619 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13620 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13622 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13623 dlpath=$dir/\$dldll~
13625 shlibpath_overrides_runpath
=yes
13629 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13630 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13631 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13634 # MinGW DLLs use traditional 'lib' prefix
13635 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13636 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13637 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13638 # It is most probably a Windows format PATH printed by
13639 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13640 # path with ; separators, and with drive letters. We can handle the
13641 # drive letters (cygwin fileutils understands them), so leave them,
13642 # especially as we might pass files found there to a mingw objdump,
13643 # which wouldn't understand a cygwinified path. Ahh.
13644 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13646 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13650 # pw32 DLLs use 'pw' prefix rather than 'lib'
13651 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13657 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13660 dynamic_linker
='Win32 ld.exe'
13661 # FIXME: first we should search . and the directory the executable is in
13665 darwin
* | rhapsody
*)
13666 dynamic_linker
="$host_os dyld"
13667 version_type
=darwin
13670 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13671 soname_spec
='${libname}${release}${major}$shared_ext'
13672 shlibpath_overrides_runpath
=yes
13673 shlibpath_var
=DYLD_LIBRARY_PATH
13674 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13676 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13683 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13684 soname_spec
='${libname}${release}${shared_ext}$major'
13685 shlibpath_var
=LD_LIBRARY_PATH
13692 freebsd
* | dragonfly
*)
13693 # DragonFly does not have aout. When/if they implement a new
13694 # versioning mechanism, adjust this.
13695 if test -x /usr
/bin
/objformat
; then
13696 objformat
=`/usr/bin/objformat`
13699 freebsd
[123]*) objformat
=aout
;;
13700 *) objformat
=elf
;;
13703 version_type
=freebsd
-$objformat
13704 case $version_type in
13706 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13711 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13715 shlibpath_var
=LD_LIBRARY_PATH
13718 shlibpath_overrides_runpath
=yes
13720 freebsd3.
[01]* | freebsdelf3.
[01]*)
13721 shlibpath_overrides_runpath
=yes
13722 hardcode_into_libs
=yes
13724 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13725 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13726 shlibpath_overrides_runpath
=no
13727 hardcode_into_libs
=yes
13729 *) # from 4.6 on, and DragonFly
13730 shlibpath_overrides_runpath
=yes
13731 hardcode_into_libs
=yes
13740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13741 soname_spec
='${libname}${release}${shared_ext}$major'
13742 shlibpath_var
=LD_LIBRARY_PATH
13743 hardcode_into_libs
=yes
13746 hpux9
* | hpux10
* | hpux11
*)
13747 # Give a soname corresponding to the major version so that dld.sl refuses to
13748 # link against other versions.
13755 hardcode_into_libs
=yes
13756 dynamic_linker
="$host_os dld.so"
13757 shlibpath_var
=LD_LIBRARY_PATH
13758 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13760 soname_spec
='${libname}${release}${shared_ext}$major'
13761 if test "X$HPUX_IA64_MODE" = X32
; then
13762 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13764 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13766 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13770 hardcode_into_libs
=yes
13771 dynamic_linker
="$host_os dld.sl"
13772 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13773 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13774 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13775 soname_spec
='${libname}${release}${shared_ext}$major'
13776 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13777 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13781 dynamic_linker
="$host_os dld.sl"
13782 shlibpath_var
=SHLIB_PATH
13783 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13785 soname_spec
='${libname}${release}${shared_ext}$major'
13788 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13789 postinstall_cmds
='chmod 555 $lib'
13796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13797 soname_spec
='${libname}${release}${shared_ext}$major'
13798 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13799 shlibpath_var
=LD_LIBRARY_PATH
13800 shlibpath_overrides_runpath
=no
13801 hardcode_into_libs
=yes
13804 irix5
* | irix6
* | nonstopux
*)
13806 nonstopux
*) version_type
=nonstopux
;;
13808 if test "$lt_cv_prog_gnu_ld" = yes; then
13816 soname_spec
='${libname}${release}${shared_ext}$major'
13817 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13819 irix5
* | nonstopux
*)
13820 libsuff
= shlibsuff
=
13823 case $LD in # libtool.m4 will add one of these switches to LD
13824 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13825 libsuff
= shlibsuff
= libmagic
=32-bit;;
13826 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13827 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13828 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13829 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13830 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13834 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13835 shlibpath_overrides_runpath
=no
13836 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13837 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13838 hardcode_into_libs
=yes
13841 # No shared lib support for Linux oldld, aout, or coff.
13842 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13846 # This must be Linux ELF.
13847 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13852 soname_spec
='${libname}${release}${shared_ext}$major'
13853 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13854 shlibpath_var
=LD_LIBRARY_PATH
13855 shlibpath_overrides_runpath
=no
13856 # Some binutils ld are patched to set DT_RUNPATH
13857 save_LDFLAGS
=$LDFLAGS
13858 save_libdir
=$libdir
13859 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13860 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13872 if ac_fn_cxx_try_link
"$LINENO"; then :
13873 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13874 shlibpath_overrides_runpath
=yes
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13879 LDFLAGS
=$save_LDFLAGS
13880 libdir
=$save_libdir
13882 # This implies no fast_install, which is unacceptable.
13883 # Some rework will be needed to allow for fast_install
13884 # before this can be enabled.
13885 hardcode_into_libs
=yes
13887 # Append ld.so.conf contents to the search path
13888 if test -f /etc
/ld.so.conf
; then
13889 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' ' '`
13890 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13893 # We used to test for /lib/ld.so.1 and disable shared libraries on
13894 # powerpc, because MkLinux only supported shared libraries with the
13895 # GNU dynamic linker. Since this was broken with cross compilers,
13896 # most powerpc-linux boxes support dynamic linking these days and
13897 # people can always --disable-shared, the test was removed, and we
13898 # assume the GNU/Linux dynamic linker is in use.
13899 dynamic_linker
='GNU/Linux ld.so'
13906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13907 soname_spec
='${libname}${release}${shared_ext}$major'
13908 shlibpath_var
=LD_LIBRARY_PATH
13909 shlibpath_overrides_runpath
=no
13910 hardcode_into_libs
=yes
13911 dynamic_linker
='NetBSD ld.elf_so'
13918 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13919 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13920 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13921 dynamic_linker
='NetBSD (a.out) ld.so'
13923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13924 soname_spec
='${libname}${release}${shared_ext}$major'
13925 dynamic_linker
='NetBSD ld.elf_so'
13927 shlibpath_var
=LD_LIBRARY_PATH
13928 shlibpath_overrides_runpath
=yes
13929 hardcode_into_libs
=yes
13934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13935 shlibpath_var
=LD_LIBRARY_PATH
13936 shlibpath_overrides_runpath
=yes
13943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13944 soname_spec
='${libname}${release}${shared_ext}$major'
13945 shlibpath_var
=LD_LIBRARY_PATH
13946 shlibpath_overrides_runpath
=no
13947 hardcode_into_libs
=yes
13948 dynamic_linker
='ldqnx.so'
13953 sys_lib_dlsearch_path_spec
="/usr/lib"
13955 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13957 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13958 *) need_version
=no
;;
13960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13961 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13962 shlibpath_var
=LD_LIBRARY_PATH
13963 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13965 openbsd2.
[89] | openbsd2.
[89].
*)
13966 shlibpath_overrides_runpath
=no
13969 shlibpath_overrides_runpath
=yes
13973 shlibpath_overrides_runpath
=yes
13978 libname_spec
='$name'
13981 library_names_spec
='$libname${shared_ext} $libname.a'
13982 dynamic_linker
='OS/2 ld.exe'
13983 shlibpath_var
=LIBPATH
13986 osf3
* | osf4
* | osf5
*)
13990 soname_spec
='${libname}${release}${shared_ext}$major'
13991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13992 shlibpath_var
=LD_LIBRARY_PATH
13993 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13994 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
14005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006 soname_spec
='${libname}${release}${shared_ext}$major'
14007 shlibpath_var
=LD_LIBRARY_PATH
14008 shlibpath_overrides_runpath
=yes
14009 hardcode_into_libs
=yes
14010 # ldd complains unless libraries are executable
14011 postinstall_cmds
='chmod +x $lib'
14016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14017 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14018 shlibpath_var
=LD_LIBRARY_PATH
14019 shlibpath_overrides_runpath
=yes
14020 if test "$with_gnu_ld" = yes; then
14028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14029 soname_spec
='${libname}${release}${shared_ext}$major'
14030 shlibpath_var
=LD_LIBRARY_PATH
14031 case $host_vendor in
14033 shlibpath_overrides_runpath
=no
14035 runpath_var
=LD_RUN_PATH
14043 shlibpath_overrides_runpath
=no
14044 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14050 if test -d /usr
/nec
;then
14052 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14053 soname_spec
='$libname${shared_ext}.$major'
14054 shlibpath_var
=LD_LIBRARY_PATH
14058 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14059 version_type
=freebsd
-elf
14062 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14063 soname_spec
='${libname}${release}${shared_ext}$major'
14064 shlibpath_var
=LD_LIBRARY_PATH
14065 shlibpath_overrides_runpath
=yes
14066 hardcode_into_libs
=yes
14067 if test "$with_gnu_ld" = yes; then
14068 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14070 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14073 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14077 sys_lib_dlsearch_path_spec
='/usr/lib'
14081 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14086 shlibpath_var
=LD_LIBRARY_PATH
14087 shlibpath_overrides_runpath
=no
14088 hardcode_into_libs
=yes
14093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14094 soname_spec
='${libname}${release}${shared_ext}$major'
14095 shlibpath_var
=LD_LIBRARY_PATH
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14103 $as_echo "$dynamic_linker" >&6; }
14104 test "$dynamic_linker" = no
&& can_build_shared
=no
14106 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14107 if test "$GCC" = yes; then
14108 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14111 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14112 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14114 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14115 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14154 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14155 hardcode_action_CXX
=
14156 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14157 test -n "$runpath_var_CXX" ||
14158 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14160 # We can hardcode non-existent directories.
14161 if test "$hardcode_direct_CXX" != no
&&
14162 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14163 # have to relink, otherwise we might link with an installed library
14164 # when we should be linking with a yet-to-be-installed one
14165 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14166 test "$hardcode_minus_L_CXX" != no
; then
14167 # Linking always hardcodes the temporary library directory.
14168 hardcode_action_CXX
=relink
14170 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14171 hardcode_action_CXX
=immediate
14174 # We cannot hardcode anything, or else we can only hardcode existing
14176 hardcode_action_CXX
=unsupported
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14179 $as_echo "$hardcode_action_CXX" >&6; }
14181 if test "$hardcode_action_CXX" = relink
||
14182 test "$inherit_rpath_CXX" = yes; then
14183 # Fast installation is not supported
14184 enable_fast_install
=no
14185 elif test "$shlibpath_overrides_runpath" = yes ||
14186 test "$enable_shared" = no
; then
14187 # Fast installation is not necessary
14188 enable_fast_install
=needless
14197 fi # test -n "$compiler"
14203 with_gnu_ld
=$lt_save_with_gnu_ld
14204 lt_cv_path_LDCXX
=$lt_cv_path_LD
14205 lt_cv_path_LD
=$lt_save_path_LD
14206 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14207 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14208 fi # test "$_lt_caught_CXX_error" != yes
14211 ac_cpp
='$CPP $CPPFLAGS'
14212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14218 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14219 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14220 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14221 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14222 if test -n "$ac_tool_prefix"; then
14223 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14228 $as_echo_n "checking for $ac_word... " >&6; }
14229 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
14230 $as_echo_n "(cached) " >&6
14232 if test -n "$OBJCXX"; then
14233 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14242 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 OBJCXX
=$ac_cv_prog_OBJCXX
14253 if test -n "$OBJCXX"; then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14255 $as_echo "$OBJCXX" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14258 $as_echo "no" >&6; }
14262 test -n "$OBJCXX" && break
14265 if test -z "$OBJCXX"; then
14266 ac_ct_OBJCXX
=$OBJCXX
14267 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14269 # Extract the first word of "$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_prog; ac_word
=$2
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14272 $as_echo_n "checking for $ac_word... " >&6; }
14273 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
14274 $as_echo_n "(cached) " >&6
14276 if test -n "$ac_ct_OBJCXX"; then
14277 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
14287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
14297 if test -n "$ac_ct_OBJCXX"; then
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
14299 $as_echo "$ac_ct_OBJCXX" >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14302 $as_echo "no" >&6; }
14306 test -n "$ac_ct_OBJCXX" && break
14309 if test "x$ac_ct_OBJCXX" = x
; then
14312 case $cross_compiling:$ac_tool_warned in
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14316 ac_tool_warned
=yes ;;
14318 OBJCXX
=$ac_ct_OBJCXX
14322 # Provide some information about the compiler.
14323 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
14326 for ac_option
in --version -v -V -qversion; do
14327 { { ac_try
="$ac_compiler $ac_option >&5"
14328 case "(($ac_try" in
14329 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14330 *) ac_try_echo=$ac_try;;
14332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14333 $as_echo "$ac_try_echo"; } >&5
14334 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14336 if test -s conftest.err; then
14338 ... rest of stderr output deleted ...
14339 10q' conftest.err >conftest.er1
14340 cat conftest.er1 >&5
14342 rm -f conftest.er1 conftest.err
14343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14344 test $ac_status = 0; }
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
14348 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
14349 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
14350 $as_echo_n "(cached) " >&6
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14366 if ac_fn_objcxx_try_compile "$LINENO"; then :
14367 ac_compiler_gnu=yes
14371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14372 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
14376 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
14377 if test $ac_compiler_gnu = yes; then
14382 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
14383 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
14385 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
14386 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
14387 $as_echo_n "(cached) " >&6
14389 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
14390 ac_objcxx_werror_flag=yes
14391 ac_cv_prog_objcxx_g=no
14393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14394 /* end confdefs.h. */
14404 if ac_fn_objcxx_try_compile "$LINENO"; then :
14405 ac_cv_prog_objcxx_g=yes
14408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 /* end confdefs.h. */
14419 if ac_fn_objcxx_try_compile "$LINENO"; then :
14422 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14435 if ac_fn_objcxx_try_compile "$LINENO"; then :
14436 ac_cv_prog_objcxx_g=yes
14438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14443 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
14446 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
14447 if test "$ac_test_OBJCXXFLAGS" = set; then
14448 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
14449 elif test $ac_cv_prog_objcxx_g = yes; then
14450 if test "$GOBJCXX" = yes; then
14451 OBJCXXFLAGS="-g -O2"
14456 if test "$GOBJCXX" = yes; then
14463 ac_cpp='$CPP $CPPFLAGS'
14464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14469 ac_cpp='$CXXCPP $CPPFLAGS'
14470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14475 # Check whether --enable-universal-binary was given.
14476 if test "${enable_universal_binary+set}" = set; then :
14477 enableval=$enable_universal_binary;
14478 case $enableval in #(
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14484 $as_echo_n "checking for universal binary support... " >&6; }
14485 case $host_vendor in #(
14488 case $host_cpu in #(
14489 armv6|i386|x86_64) :
14491 for cy_arch in armv6 i386 x86_64; do
14492 cy_save_CXXFLAGS=$CXXFLAGS
14494 for element in "-arch $cy_arch"; do
14496 for x in $CXXFLAGS; do
14498 acl_save_prefix="$prefix"
14499 prefix="$acl_final_prefix"
14500 acl_save_exec_prefix="$exec_prefix"
14501 exec_prefix="$acl_final_exec_prefix"
14503 exec_prefix="$acl_save_exec_prefix"
14504 prefix="$acl_save_prefix"
14506 if test "X$x" = "X$element"; then
14511 if test -z "$haveit"; then
14512 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14527 if ac_fn_cxx_try_link "$LINENO"; then :
14530 for element in $cy_arch; do
14532 for x in $cy_arches; do
14534 acl_save_prefix="$prefix"
14535 prefix="$acl_final_prefix"
14536 acl_save_exec_prefix="$exec_prefix"
14537 exec_prefix="$acl_final_exec_prefix"
14539 exec_prefix="$acl_save_exec_prefix"
14540 prefix="$acl_save_prefix"
14542 if test "X$x" = "X$element"; then
14547 if test -z "$haveit"; then
14548 cy_arches="${cy_arches}${cy_arches:+ }$element"
14553 for element in "-arch $cy_arch"; do
14555 for x in $CFLAGS; do
14557 acl_save_prefix="$prefix"
14558 prefix="$acl_final_prefix"
14559 acl_save_exec_prefix="$exec_prefix"
14560 exec_prefix="$acl_final_exec_prefix"
14562 exec_prefix="$acl_save_exec_prefix"
14563 prefix="$acl_save_prefix"
14565 if test "X$x" = "X$element"; then
14570 if test -z "$haveit"; then
14571 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14576 for element in "-arch $cy_arch"; do
14578 for x in $LDFLAGS; do
14580 acl_save_prefix="$prefix"
14581 prefix="$acl_final_prefix"
14582 acl_save_exec_prefix="$exec_prefix"
14583 exec_prefix="$acl_final_exec_prefix"
14585 exec_prefix="$acl_save_exec_prefix"
14586 prefix="$acl_save_prefix"
14588 if test "X$x" = "X$element"; then
14593 if test -z "$haveit"; then
14594 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14599 for element in "-arch $cy_arch"; do
14601 for x in $OBJCXXFLAGS; do
14603 acl_save_prefix="$prefix"
14604 prefix="$acl_final_prefix"
14605 acl_save_exec_prefix="$exec_prefix"
14606 exec_prefix="$acl_final_exec_prefix"
14608 exec_prefix="$acl_save_exec_prefix"
14609 prefix="$acl_save_prefix"
14611 if test "X$x" = "X$element"; then
14616 if test -z "$haveit"; then
14617 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14624 CXXFLAGS=$cy_save_CXXFLAGS
14627 rm -f core conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14639 $as_echo "${cy_arches-no}" >&6; }
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14646 $as_echo_n "checking for universal binary support... " >&6; }
14647 case $host_vendor in #(
14650 case $host_cpu in #(
14651 armv6|i386|x86_64) :
14653 for cy_arch in armv6 i386 x86_64; do
14654 cy_save_CXXFLAGS=$CXXFLAGS
14656 for element in "-arch $cy_arch"; do
14658 for x in $CXXFLAGS; do
14660 acl_save_prefix="$prefix"
14661 prefix="$acl_final_prefix"
14662 acl_save_exec_prefix="$exec_prefix"
14663 exec_prefix="$acl_final_exec_prefix"
14665 exec_prefix="$acl_save_exec_prefix"
14666 prefix="$acl_save_prefix"
14668 if test "X$x" = "X$element"; then
14673 if test -z "$haveit"; then
14674 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14689 if ac_fn_cxx_try_link "$LINENO"; then :
14692 for element in $cy_arch; do
14694 for x in $cy_arches; do
14696 acl_save_prefix="$prefix"
14697 prefix="$acl_final_prefix"
14698 acl_save_exec_prefix="$exec_prefix"
14699 exec_prefix="$acl_final_exec_prefix"
14701 exec_prefix="$acl_save_exec_prefix"
14702 prefix="$acl_save_prefix"
14704 if test "X$x" = "X$element"; then
14709 if test -z "$haveit"; then
14710 cy_arches="${cy_arches}${cy_arches:+ }$element"
14715 for element in "-arch $cy_arch"; do
14717 for x in $CFLAGS; do
14719 acl_save_prefix="$prefix"
14720 prefix="$acl_final_prefix"
14721 acl_save_exec_prefix="$exec_prefix"
14722 exec_prefix="$acl_final_exec_prefix"
14724 exec_prefix="$acl_save_exec_prefix"
14725 prefix="$acl_save_prefix"
14727 if test "X$x" = "X$element"; then
14732 if test -z "$haveit"; then
14733 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14738 for element in "-arch $cy_arch"; do
14740 for x in $LDFLAGS; do
14742 acl_save_prefix="$prefix"
14743 prefix="$acl_final_prefix"
14744 acl_save_exec_prefix="$exec_prefix"
14745 exec_prefix="$acl_final_exec_prefix"
14747 exec_prefix="$acl_save_exec_prefix"
14748 prefix="$acl_save_prefix"
14750 if test "X$x" = "X$element"; then
14755 if test -z "$haveit"; then
14756 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14761 for element in "-arch $cy_arch"; do
14763 for x in $OBJCXXFLAGS; do
14765 acl_save_prefix="$prefix"
14766 prefix="$acl_final_prefix"
14767 acl_save_exec_prefix="$exec_prefix"
14768 exec_prefix="$acl_final_exec_prefix"
14770 exec_prefix="$acl_save_exec_prefix"
14771 prefix="$acl_save_prefix"
14773 if test "X$x" = "X$element"; then
14778 if test -z "$haveit"; then
14779 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14786 CXXFLAGS=$cy_save_CXXFLAGS
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14801 $as_echo "${cy_arches-no}" >&6; }
14806 # Check whether --with-frameworks was given.
14807 if test "${with_frameworks+set}" = set; then :
14808 withval=$with_frameworks;
14809 for cy_framework in $withval; do
14811 for element in -F$cy_framework; do
14813 for x in $CFLAGS; do
14815 acl_save_prefix="$prefix"
14816 prefix="$acl_final_prefix"
14817 acl_save_exec_prefix="$exec_prefix"
14818 exec_prefix="$acl_final_exec_prefix"
14820 exec_prefix="$acl_save_exec_prefix"
14821 prefix="$acl_save_prefix"
14823 if test "X$x" = "X$element"; then
14828 if test -z "$haveit"; then
14829 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14834 for element in -F$cy_framework; do
14836 for x in $CXXFLAGS; do
14838 acl_save_prefix="$prefix"
14839 prefix="$acl_final_prefix"
14840 acl_save_exec_prefix="$exec_prefix"
14841 exec_prefix="$acl_final_exec_prefix"
14843 exec_prefix="$acl_save_exec_prefix"
14844 prefix="$acl_save_prefix"
14846 if test "X$x" = "X$element"; then
14851 if test -z "$haveit"; then
14852 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14857 for element in -F$cy_framework; do
14859 for x in $OBJCCXXFLAGS; do
14861 acl_save_prefix="$prefix"
14862 prefix="$acl_final_prefix"
14863 acl_save_exec_prefix="$exec_prefix"
14864 exec_prefix="$acl_final_exec_prefix"
14866 exec_prefix="$acl_save_exec_prefix"
14867 prefix="$acl_save_prefix"
14869 if test "X$x" = "X$element"; then
14874 if test -z "$haveit"; then
14875 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14886 if test "$target_os" = "os2-emx"; then
14887 # Scripts don't pass test -x on OS/2
14893 acceptable_majors="1"
14895 apr_temp_acceptable_apr_config=""
14896 for apr_temp_major in $acceptable_majors
14898 case $apr_temp_major in
14900 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14903 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14909 $as_echo_n "checking for APR... " >&6; }
14911 # Check whether --with-apr was given.
14912 if test "${with_apr+set}" = set; then :
14914 if test "$withval" = "no" || test "$withval" = "yes"; then
14915 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
14918 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14920 for lookdir in "$withval/bin" "$withval"
14922 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14923 apr_config="$lookdir/$apr_temp_apr_config_file"
14931 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14932 apr_config="$withval"
14936 if test "$apr_found" != "yes"; then
14937 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
14942 if test -n "1" && test "1" = "1"; then
14943 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14945 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14946 apr_config="$apr_temp_apr_config_file"
14951 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14952 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14953 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14962 if test "$apr_found" = "no" && test -d ""; then
14963 apr_temp_abs_srcdir="`cd && pwd`"
14964 apr_found="reconfig"
14965 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14966 case $apr_bundled_major in
14968 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
14971 apr_temp_apr_config_file="apr-config"
14974 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14977 if test -n ""; then
14978 apr_config="/$apr_temp_apr_config_file"
14980 apr_config="/$apr_temp_apr_config_file"
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14988 $as_echo "$apr_found" >&6; }
14990 case $apr_found in #(
14994 for element in `$apr_config --includes`; do
14996 for x in $CPPFLAGS; do
14998 acl_save_prefix="$prefix"
14999 prefix="$acl_final_prefix"
15000 acl_save_exec_prefix="$exec_prefix"
15001 exec_prefix="$acl_final_exec_prefix"
15003 exec_prefix="$acl_save_exec_prefix"
15004 prefix="$acl_save_prefix"
15006 if test "X$x" = "X$element"; then
15011 if test -z "$haveit"; then
15012 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15016 LTLIBAPR=`$apr_config --link-libtool`
15020 as_fn_error $? "You need apr" "$LINENO" 5 ;;
15024 # Check whether --enable-javascript was given.
15025 if test "${enable_javascript+set}" = set; then :
15026 enableval=$enable_javascript;
15027 case $enableval in #(
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15034 $as_echo_n "checking for WEBKIT... " >&6; }
15036 if test -n "$WEBKIT_CFLAGS"; then
15037 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15038 elif test -n "$PKG_CONFIG"; then
15039 if test -n "$PKG_CONFIG" && \
15040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15041 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15044 test $ac_status = 0; }; then
15045 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15052 if test -n "$WEBKIT_LIBS"; then
15053 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15054 elif test -n "$PKG_CONFIG"; then
15055 if test -n "$PKG_CONFIG" && \
15056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15057 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15060 test $ac_status = 0; }; then
15061 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15071 if test $pkg_failed = yes; then
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15073 $as_echo "no" >&6; }
15075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15076 _pkg_short_errors_supported=yes
15078 _pkg_short_errors_supported=no
15080 if test $_pkg_short_errors_supported = yes; then
15081 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
15083 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
15085 # Put the nasty error message in config.log where it belongs
15086 echo "$WEBKIT_PKG_ERRORS" >&5
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15092 $as_echo_n "checking for WEBKIT... " >&6; }
15094 if test -n "$WEBKIT_CFLAGS"; then
15095 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15096 elif test -n "$PKG_CONFIG"; then
15097 if test -n "$PKG_CONFIG" && \
15098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15099 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15102 test $ac_status = 0; }; then
15103 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15110 if test -n "$WEBKIT_LIBS"; then
15111 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15112 elif test -n "$PKG_CONFIG"; then
15113 if test -n "$PKG_CONFIG" && \
15114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15115 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15118 test $ac_status = 0; }; then
15119 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15129 if test $pkg_failed = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15131 $as_echo "no" >&6; }
15133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15134 _pkg_short_errors_supported=yes
15136 _pkg_short_errors_supported=no
15138 if test $_pkg_short_errors_supported = yes; then
15139 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
15141 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
15143 # Put the nasty error message in config.log where it belongs
15144 echo "$WEBKIT_PKG_ERRORS" >&5
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15149 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15150 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15151 $as_echo_n "(cached) " >&6
15154 ac_check_framework_save_LIBS=$LIBS
15155 LIBS="-framework JavaScriptCore $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 #include <JavaScriptCore/JSBase.h>
15164 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15169 if ac_fn_cxx_try_link "$LINENO"; then :
15171 ac_cv_framework_JavaScriptCore=yes
15174 ac_cv_framework_JavaScriptCore=no
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15178 LIBS=$ac_check_framework_save_LIBS
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15182 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15183 if test $ac_cv_framework_JavaScriptCore = yes; then :
15186 for element in "-framework JavaScriptCore $LIBS"; do
15190 acl_save_prefix="$prefix"
15191 prefix="$acl_final_prefix"
15192 acl_save_exec_prefix="$exec_prefix"
15193 exec_prefix="$acl_final_exec_prefix"
15195 exec_prefix="$acl_save_exec_prefix"
15196 prefix="$acl_save_prefix"
15198 if test "X$x" = "X$element"; then
15203 if test -z "$haveit"; then
15204 LIBS="${LIBS}${LIBS:+ }$element"
15212 elif test $pkg_failed = untried; then
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15214 $as_echo "no" >&6; }
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15218 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15219 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15220 $as_echo_n "(cached) " >&6
15223 ac_check_framework_save_LIBS=$LIBS
15224 LIBS="-framework JavaScriptCore $LIBS"
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15226 /* end confdefs.h. */
15228 #include <JavaScriptCore/JSBase.h>
15233 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15238 if ac_fn_cxx_try_link "$LINENO"; then :
15240 ac_cv_framework_JavaScriptCore=yes
15243 ac_cv_framework_JavaScriptCore=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247 LIBS=$ac_check_framework_save_LIBS
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15251 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15252 if test $ac_cv_framework_JavaScriptCore = yes; then :
15255 for element in "-framework JavaScriptCore $LIBS"; do
15259 acl_save_prefix="$prefix"
15260 prefix="$acl_final_prefix"
15261 acl_save_exec_prefix="$exec_prefix"
15262 exec_prefix="$acl_final_exec_prefix"
15264 exec_prefix="$acl_save_exec_prefix"
15265 prefix="$acl_save_prefix"
15267 if test "X$x" = "X$element"; then
15272 if test -z "$haveit"; then
15273 LIBS="${LIBS}${LIBS:+ }$element"
15282 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15283 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15285 $as_echo "yes" >&6; }
15289 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15291 for x in $CXXFLAGS; do
15293 acl_save_prefix="$prefix"
15294 prefix="$acl_final_prefix"
15295 acl_save_exec_prefix="$exec_prefix"
15296 exec_prefix="$acl_final_exec_prefix"
15298 exec_prefix="$acl_save_exec_prefix"
15299 prefix="$acl_save_prefix"
15301 if test "X$x" = "X$element"; then
15306 if test -z "$haveit"; then
15307 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15312 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15316 acl_save_prefix="$prefix"
15317 prefix="$acl_final_prefix"
15318 acl_save_exec_prefix="$exec_prefix"
15319 exec_prefix="$acl_final_exec_prefix"
15321 exec_prefix="$acl_save_exec_prefix"
15322 prefix="$acl_save_prefix"
15324 if test "X$x" = "X$element"; then
15329 if test -z "$haveit"; then
15330 LIBS="${LIBS}${LIBS:+ }$element"
15337 elif test $pkg_failed = untried; then
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15339 $as_echo "no" >&6; }
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15344 $as_echo_n "checking for WEBKIT... " >&6; }
15346 if test -n "$WEBKIT_CFLAGS"; then
15347 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15348 elif test -n "$PKG_CONFIG"; then
15349 if test -n "$PKG_CONFIG" && \
15350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15351 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15354 test $ac_status = 0; }; then
15355 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15362 if test -n "$WEBKIT_LIBS"; then
15363 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15364 elif test -n "$PKG_CONFIG"; then
15365 if test -n "$PKG_CONFIG" && \
15366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15367 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15370 test $ac_status = 0; }; then
15371 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15381 if test $pkg_failed = yes; then
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15383 $as_echo "no" >&6; }
15385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15386 _pkg_short_errors_supported=yes
15388 _pkg_short_errors_supported=no
15390 if test $_pkg_short_errors_supported = yes; then
15391 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
15393 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
15395 # Put the nasty error message in config.log where it belongs
15396 echo "$WEBKIT_PKG_ERRORS" >&5
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15401 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15402 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15403 $as_echo_n "(cached) " >&6
15406 ac_check_framework_save_LIBS=$LIBS
15407 LIBS="-framework JavaScriptCore $LIBS"
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15411 #include <JavaScriptCore/JSBase.h>
15416 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15421 if ac_fn_cxx_try_link "$LINENO"; then :
15423 ac_cv_framework_JavaScriptCore=yes
15426 ac_cv_framework_JavaScriptCore=no
15428 rm -f core conftest.err conftest.$ac_objext \
15429 conftest$ac_exeext conftest.$ac_ext
15430 LIBS=$ac_check_framework_save_LIBS
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15434 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15435 if test $ac_cv_framework_JavaScriptCore = yes; then :
15438 for element in "-framework JavaScriptCore $LIBS"; do
15442 acl_save_prefix="$prefix"
15443 prefix="$acl_final_prefix"
15444 acl_save_exec_prefix="$exec_prefix"
15445 exec_prefix="$acl_final_exec_prefix"
15447 exec_prefix="$acl_save_exec_prefix"
15448 prefix="$acl_save_prefix"
15450 if test "X$x" = "X$element"; then
15455 if test -z "$haveit"; then
15456 LIBS="${LIBS}${LIBS:+ }$element"
15464 elif test $pkg_failed = untried; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15466 $as_echo "no" >&6; }
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15470 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15471 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15472 $as_echo_n "(cached) " >&6
15475 ac_check_framework_save_LIBS=$LIBS
15476 LIBS="-framework JavaScriptCore $LIBS"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 #include <JavaScriptCore/JSBase.h>
15485 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15490 if ac_fn_cxx_try_link "$LINENO"; then :
15492 ac_cv_framework_JavaScriptCore=yes
15495 ac_cv_framework_JavaScriptCore=no
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499 LIBS=$ac_check_framework_save_LIBS
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15503 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15504 if test $ac_cv_framework_JavaScriptCore = yes; then :
15507 for element in "-framework JavaScriptCore $LIBS"; do
15511 acl_save_prefix="$prefix"
15512 prefix="$acl_final_prefix"
15513 acl_save_exec_prefix="$exec_prefix"
15514 exec_prefix="$acl_final_exec_prefix"
15516 exec_prefix="$acl_save_exec_prefix"
15517 prefix="$acl_save_prefix"
15519 if test "X$x" = "X$element"; then
15524 if test -z "$haveit"; then
15525 LIBS="${LIBS}${LIBS:+ }$element"
15534 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15535 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15537 $as_echo "yes" >&6; }
15541 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15543 for x in $CXXFLAGS; do
15545 acl_save_prefix="$prefix"
15546 prefix="$acl_final_prefix"
15547 acl_save_exec_prefix="$exec_prefix"
15548 exec_prefix="$acl_final_exec_prefix"
15550 exec_prefix="$acl_save_exec_prefix"
15551 prefix="$acl_save_prefix"
15553 if test "X$x" = "X$element"; then
15558 if test -z "$haveit"; then
15559 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15564 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15568 acl_save_prefix="$prefix"
15569 prefix="$acl_final_prefix"
15570 acl_save_exec_prefix="$exec_prefix"
15571 exec_prefix="$acl_final_exec_prefix"
15573 exec_prefix="$acl_save_exec_prefix"
15574 prefix="$acl_save_prefix"
15576 if test "X$x" = "X$element"; then
15581 if test -z "$haveit"; then
15582 LIBS="${LIBS}${LIBS:+ }$element"
15590 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15591 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15593 $as_echo "yes" >&6; }
15597 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15599 for x in $CXXFLAGS; do
15601 acl_save_prefix="$prefix"
15602 prefix="$acl_final_prefix"
15603 acl_save_exec_prefix="$exec_prefix"
15604 exec_prefix="$acl_final_exec_prefix"
15606 exec_prefix="$acl_save_exec_prefix"
15607 prefix="$acl_save_prefix"
15609 if test "X$x" = "X$element"; then
15614 if test -z "$haveit"; then
15615 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15620 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15624 acl_save_prefix="$prefix"
15625 prefix="$acl_final_prefix"
15626 acl_save_exec_prefix="$exec_prefix"
15627 exec_prefix="$acl_final_exec_prefix"
15629 exec_prefix="$acl_save_exec_prefix"
15630 prefix="$acl_save_prefix"
15632 if test "X$x" = "X$element"; then
15637 if test -z "$haveit"; then
15638 LIBS="${LIBS}${LIBS:+ }$element"
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15657 $as_echo_n "checking for WEBKIT... " >&6; }
15659 if test -n "$WEBKIT_CFLAGS"; then
15660 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15661 elif test -n "$PKG_CONFIG"; then
15662 if test -n "$PKG_CONFIG" && \
15663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15664 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15667 test $ac_status = 0; }; then
15668 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15675 if test -n "$WEBKIT_LIBS"; then
15676 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15677 elif test -n "$PKG_CONFIG"; then
15678 if test -n "$PKG_CONFIG" && \
15679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15680 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15683 test $ac_status = 0; }; then
15684 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15694 if test $pkg_failed = yes; then
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15696 $as_echo "no" >&6; }
15698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15699 _pkg_short_errors_supported=yes
15701 _pkg_short_errors_supported=no
15703 if test $_pkg_short_errors_supported = yes; then
15704 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
15706 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
15708 # Put the nasty error message in config.log where it belongs
15709 echo "$WEBKIT_PKG_ERRORS" >&5
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15715 $as_echo_n "checking for WEBKIT... " >&6; }
15717 if test -n "$WEBKIT_CFLAGS"; then
15718 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15719 elif test -n "$PKG_CONFIG"; then
15720 if test -n "$PKG_CONFIG" && \
15721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15722 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15725 test $ac_status = 0; }; then
15726 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15733 if test -n "$WEBKIT_LIBS"; then
15734 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15735 elif test -n "$PKG_CONFIG"; then
15736 if test -n "$PKG_CONFIG" && \
15737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15738 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15741 test $ac_status = 0; }; then
15742 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15752 if test $pkg_failed = yes; then
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15754 $as_echo "no" >&6; }
15756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15757 _pkg_short_errors_supported=yes
15759 _pkg_short_errors_supported=no
15761 if test $_pkg_short_errors_supported = yes; then
15762 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
15764 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
15766 # Put the nasty error message in config.log where it belongs
15767 echo "$WEBKIT_PKG_ERRORS" >&5
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15772 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15773 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15774 $as_echo_n "(cached) " >&6
15777 ac_check_framework_save_LIBS=$LIBS
15778 LIBS="-framework JavaScriptCore $LIBS"
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15782 #include <JavaScriptCore/JSBase.h>
15787 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15792 if ac_fn_cxx_try_link "$LINENO"; then :
15794 ac_cv_framework_JavaScriptCore=yes
15797 ac_cv_framework_JavaScriptCore=no
15799 rm -f core conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 LIBS=$ac_check_framework_save_LIBS
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15805 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15806 if test $ac_cv_framework_JavaScriptCore = yes; then :
15809 for element in "-framework JavaScriptCore $LIBS"; do
15813 acl_save_prefix="$prefix"
15814 prefix="$acl_final_prefix"
15815 acl_save_exec_prefix="$exec_prefix"
15816 exec_prefix="$acl_final_exec_prefix"
15818 exec_prefix="$acl_save_exec_prefix"
15819 prefix="$acl_save_prefix"
15821 if test "X$x" = "X$element"; then
15826 if test -z "$haveit"; then
15827 LIBS="${LIBS}${LIBS:+ }$element"
15835 elif test $pkg_failed = untried; then
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15837 $as_echo "no" >&6; }
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15841 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15842 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15843 $as_echo_n "(cached) " >&6
15846 ac_check_framework_save_LIBS=$LIBS
15847 LIBS="-framework JavaScriptCore $LIBS"
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15851 #include <JavaScriptCore/JSBase.h>
15856 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15861 if ac_fn_cxx_try_link "$LINENO"; then :
15863 ac_cv_framework_JavaScriptCore=yes
15866 ac_cv_framework_JavaScriptCore=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 LIBS=$ac_check_framework_save_LIBS
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15874 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15875 if test $ac_cv_framework_JavaScriptCore = yes; then :
15878 for element in "-framework JavaScriptCore $LIBS"; do
15882 acl_save_prefix="$prefix"
15883 prefix="$acl_final_prefix"
15884 acl_save_exec_prefix="$exec_prefix"
15885 exec_prefix="$acl_final_exec_prefix"
15887 exec_prefix="$acl_save_exec_prefix"
15888 prefix="$acl_save_prefix"
15890 if test "X$x" = "X$element"; then
15895 if test -z "$haveit"; then
15896 LIBS="${LIBS}${LIBS:+ }$element"
15905 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15906 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15908 $as_echo "yes" >&6; }
15912 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15914 for x in $CXXFLAGS; do
15916 acl_save_prefix="$prefix"
15917 prefix="$acl_final_prefix"
15918 acl_save_exec_prefix="$exec_prefix"
15919 exec_prefix="$acl_final_exec_prefix"
15921 exec_prefix="$acl_save_exec_prefix"
15922 prefix="$acl_save_prefix"
15924 if test "X$x" = "X$element"; then
15929 if test -z "$haveit"; then
15930 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15935 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15939 acl_save_prefix="$prefix"
15940 prefix="$acl_final_prefix"
15941 acl_save_exec_prefix="$exec_prefix"
15942 exec_prefix="$acl_final_exec_prefix"
15944 exec_prefix="$acl_save_exec_prefix"
15945 prefix="$acl_save_prefix"
15947 if test "X$x" = "X$element"; then
15952 if test -z "$haveit"; then
15953 LIBS="${LIBS}${LIBS:+ }$element"
15960 elif test $pkg_failed = untried; then
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15962 $as_echo "no" >&6; }
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15967 $as_echo_n "checking for WEBKIT... " >&6; }
15969 if test -n "$WEBKIT_CFLAGS"; then
15970 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15971 elif test -n "$PKG_CONFIG"; then
15972 if test -n "$PKG_CONFIG" && \
15973 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15974 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15977 test $ac_status = 0; }; then
15978 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15985 if test -n "$WEBKIT_LIBS"; then
15986 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15987 elif test -n "$PKG_CONFIG"; then
15988 if test -n "$PKG_CONFIG" && \
15989 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15990 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15993 test $ac_status = 0; }; then
15994 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16004 if test $pkg_failed = yes; then
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16006 $as_echo "no" >&6; }
16008 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16009 _pkg_short_errors_supported=yes
16011 _pkg_short_errors_supported=no
16013 if test $_pkg_short_errors_supported = yes; then
16014 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16016 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16018 # Put the nasty error message in config.log where it belongs
16019 echo "$WEBKIT_PKG_ERRORS" >&5
16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16024 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16025 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16026 $as_echo_n "(cached) " >&6
16029 ac_check_framework_save_LIBS=$LIBS
16030 LIBS="-framework JavaScriptCore $LIBS"
16031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 /* end confdefs.h. */
16034 #include <JavaScriptCore/JSBase.h>
16039 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16044 if ac_fn_cxx_try_link "$LINENO"; then :
16046 ac_cv_framework_JavaScriptCore=yes
16049 ac_cv_framework_JavaScriptCore=no
16051 rm -f core conftest.err conftest.$ac_objext \
16052 conftest$ac_exeext conftest.$ac_ext
16053 LIBS=$ac_check_framework_save_LIBS
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16057 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16058 if test $ac_cv_framework_JavaScriptCore = yes; then :
16061 for element in "-framework JavaScriptCore $LIBS"; do
16065 acl_save_prefix="$prefix"
16066 prefix="$acl_final_prefix"
16067 acl_save_exec_prefix="$exec_prefix"
16068 exec_prefix="$acl_final_exec_prefix"
16070 exec_prefix="$acl_save_exec_prefix"
16071 prefix="$acl_save_prefix"
16073 if test "X$x" = "X$element"; then
16078 if test -z "$haveit"; then
16079 LIBS="${LIBS}${LIBS:+ }$element"
16087 elif test $pkg_failed = untried; then
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16089 $as_echo "no" >&6; }
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16093 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16094 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16095 $as_echo_n "(cached) " >&6
16098 ac_check_framework_save_LIBS=$LIBS
16099 LIBS="-framework JavaScriptCore $LIBS"
16100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101 /* end confdefs.h. */
16103 #include <JavaScriptCore/JSBase.h>
16108 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16113 if ac_fn_cxx_try_link "$LINENO"; then :
16115 ac_cv_framework_JavaScriptCore=yes
16118 ac_cv_framework_JavaScriptCore=no
16120 rm -f core conftest.err conftest.$ac_objext \
16121 conftest$ac_exeext conftest.$ac_ext
16122 LIBS=$ac_check_framework_save_LIBS
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16126 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16127 if test $ac_cv_framework_JavaScriptCore = yes; then :
16130 for element in "-framework JavaScriptCore $LIBS"; do
16134 acl_save_prefix="$prefix"
16135 prefix="$acl_final_prefix"
16136 acl_save_exec_prefix="$exec_prefix"
16137 exec_prefix="$acl_final_exec_prefix"
16139 exec_prefix="$acl_save_exec_prefix"
16140 prefix="$acl_save_prefix"
16142 if test "X$x" = "X$element"; then
16147 if test -z "$haveit"; then
16148 LIBS="${LIBS}${LIBS:+ }$element"
16157 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16158 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16160 $as_echo "yes" >&6; }
16164 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16166 for x in $CXXFLAGS; do
16168 acl_save_prefix="$prefix"
16169 prefix="$acl_final_prefix"
16170 acl_save_exec_prefix="$exec_prefix"
16171 exec_prefix="$acl_final_exec_prefix"
16173 exec_prefix="$acl_save_exec_prefix"
16174 prefix="$acl_save_prefix"
16176 if test "X$x" = "X$element"; then
16181 if test -z "$haveit"; then
16182 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16187 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16191 acl_save_prefix="$prefix"
16192 prefix="$acl_final_prefix"
16193 acl_save_exec_prefix="$exec_prefix"
16194 exec_prefix="$acl_final_exec_prefix"
16196 exec_prefix="$acl_save_exec_prefix"
16197 prefix="$acl_save_prefix"
16199 if test "X$x" = "X$element"; then
16204 if test -z "$haveit"; then
16205 LIBS="${LIBS}${LIBS:+ }$element"
16213 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16214 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16216 $as_echo "yes" >&6; }
16220 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16222 for x in $CXXFLAGS; do
16224 acl_save_prefix="$prefix"
16225 prefix="$acl_final_prefix"
16226 acl_save_exec_prefix="$exec_prefix"
16227 exec_prefix="$acl_final_exec_prefix"
16229 exec_prefix="$acl_save_exec_prefix"
16230 prefix="$acl_save_prefix"
16232 if test "X$x" = "X$element"; then
16237 if test -z "$haveit"; then
16238 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16243 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16247 acl_save_prefix="$prefix"
16248 prefix="$acl_final_prefix"
16249 acl_save_exec_prefix="$exec_prefix"
16250 exec_prefix="$acl_final_exec_prefix"
16252 exec_prefix="$acl_save_exec_prefix"
16253 prefix="$acl_save_prefix"
16255 if test "X$x" = "X$element"; then
16260 if test -z "$haveit"; then
16261 LIBS="${LIBS}${LIBS:+ }$element"
16270 as_fn_error $? "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16279 $as_echo_n "checking for WEBKIT... " >&6; }
16281 if test -n "$WEBKIT_CFLAGS"; then
16282 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16283 elif test -n "$PKG_CONFIG"; then
16284 if test -n "$PKG_CONFIG" && \
16285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16286 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16289 test $ac_status = 0; }; then
16290 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16297 if test -n "$WEBKIT_LIBS"; then
16298 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16299 elif test -n "$PKG_CONFIG"; then
16300 if test -n "$PKG_CONFIG" && \
16301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16302 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16305 test $ac_status = 0; }; then
16306 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16316 if test $pkg_failed = yes; then
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16318 $as_echo "no" >&6; }
16320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16321 _pkg_short_errors_supported=yes
16323 _pkg_short_errors_supported=no
16325 if test $_pkg_short_errors_supported = yes; then
16326 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "webkit-1.0" 2>&1`
16328 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "webkit-1.0" 2>&1`
16330 # Put the nasty error message in config.log where it belongs
16331 echo "$WEBKIT_PKG_ERRORS" >&5
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16337 $as_echo_n "checking for WEBKIT... " >&6; }
16339 if test -n "$WEBKIT_CFLAGS"; then
16340 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16341 elif test -n "$PKG_CONFIG"; then
16342 if test -n "$PKG_CONFIG" && \
16343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16344 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16347 test $ac_status = 0; }; then
16348 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16355 if test -n "$WEBKIT_LIBS"; then
16356 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16357 elif test -n "$PKG_CONFIG"; then
16358 if test -n "$PKG_CONFIG" && \
16359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16360 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16363 test $ac_status = 0; }; then
16364 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16374 if test $pkg_failed = yes; then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16376 $as_echo "no" >&6; }
16378 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16379 _pkg_short_errors_supported=yes
16381 _pkg_short_errors_supported=no
16383 if test $_pkg_short_errors_supported = yes; then
16384 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16386 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16388 # Put the nasty error message in config.log where it belongs
16389 echo "$WEBKIT_PKG_ERRORS" >&5
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16394 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16395 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16396 $as_echo_n "(cached) " >&6
16399 ac_check_framework_save_LIBS=$LIBS
16400 LIBS="-framework JavaScriptCore $LIBS"
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16404 #include <JavaScriptCore/JSBase.h>
16409 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16414 if ac_fn_cxx_try_link "$LINENO"; then :
16416 ac_cv_framework_JavaScriptCore=yes
16419 ac_cv_framework_JavaScriptCore=no
16421 rm -f core conftest.err conftest.$ac_objext \
16422 conftest$ac_exeext conftest.$ac_ext
16423 LIBS=$ac_check_framework_save_LIBS
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16427 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16428 if test $ac_cv_framework_JavaScriptCore = yes; then :
16431 for element in "-framework JavaScriptCore $LIBS"; do
16435 acl_save_prefix="$prefix"
16436 prefix="$acl_final_prefix"
16437 acl_save_exec_prefix="$exec_prefix"
16438 exec_prefix="$acl_final_exec_prefix"
16440 exec_prefix="$acl_save_exec_prefix"
16441 prefix="$acl_save_prefix"
16443 if test "X$x" = "X$element"; then
16448 if test -z "$haveit"; then
16449 LIBS="${LIBS}${LIBS:+ }$element"
16457 elif test $pkg_failed = untried; then
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16463 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16464 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16465 $as_echo_n "(cached) " >&6
16468 ac_check_framework_save_LIBS=$LIBS
16469 LIBS="-framework JavaScriptCore $LIBS"
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16473 #include <JavaScriptCore/JSBase.h>
16478 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16483 if ac_fn_cxx_try_link "$LINENO"; then :
16485 ac_cv_framework_JavaScriptCore=yes
16488 ac_cv_framework_JavaScriptCore=no
16490 rm -f core conftest.err conftest.$ac_objext \
16491 conftest$ac_exeext conftest.$ac_ext
16492 LIBS=$ac_check_framework_save_LIBS
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16496 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16497 if test $ac_cv_framework_JavaScriptCore = yes; then :
16500 for element in "-framework JavaScriptCore $LIBS"; do
16504 acl_save_prefix="$prefix"
16505 prefix="$acl_final_prefix"
16506 acl_save_exec_prefix="$exec_prefix"
16507 exec_prefix="$acl_final_exec_prefix"
16509 exec_prefix="$acl_save_exec_prefix"
16510 prefix="$acl_save_prefix"
16512 if test "X$x" = "X$element"; then
16517 if test -z "$haveit"; then
16518 LIBS="${LIBS}${LIBS:+ }$element"
16527 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16528 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16530 $as_echo "yes" >&6; }
16534 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16536 for x in $CXXFLAGS; do
16538 acl_save_prefix="$prefix"
16539 prefix="$acl_final_prefix"
16540 acl_save_exec_prefix="$exec_prefix"
16541 exec_prefix="$acl_final_exec_prefix"
16543 exec_prefix="$acl_save_exec_prefix"
16544 prefix="$acl_save_prefix"
16546 if test "X$x" = "X$element"; then
16551 if test -z "$haveit"; then
16552 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16557 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16561 acl_save_prefix="$prefix"
16562 prefix="$acl_final_prefix"
16563 acl_save_exec_prefix="$exec_prefix"
16564 exec_prefix="$acl_final_exec_prefix"
16566 exec_prefix="$acl_save_exec_prefix"
16567 prefix="$acl_save_prefix"
16569 if test "X$x" = "X$element"; then
16574 if test -z "$haveit"; then
16575 LIBS="${LIBS}${LIBS:+ }$element"
16582 elif test $pkg_failed = untried; then
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16584 $as_echo "no" >&6; }
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16589 $as_echo_n "checking for WEBKIT... " >&6; }
16591 if test -n "$WEBKIT_CFLAGS"; then
16592 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16593 elif test -n "$PKG_CONFIG"; then
16594 if test -n "$PKG_CONFIG" && \
16595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16596 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16599 test $ac_status = 0; }; then
16600 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16607 if test -n "$WEBKIT_LIBS"; then
16608 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16609 elif test -n "$PKG_CONFIG"; then
16610 if test -n "$PKG_CONFIG" && \
16611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16612 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16615 test $ac_status = 0; }; then
16616 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16626 if test $pkg_failed = yes; then
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16628 $as_echo "no" >&6; }
16630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16631 _pkg_short_errors_supported=yes
16633 _pkg_short_errors_supported=no
16635 if test $_pkg_short_errors_supported = yes; then
16636 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "WebKitGtk" 2>&1`
16638 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "WebKitGtk" 2>&1`
16640 # Put the nasty error message in config.log where it belongs
16641 echo "$WEBKIT_PKG_ERRORS" >&5
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16646 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16647 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16648 $as_echo_n "(cached) " >&6
16651 ac_check_framework_save_LIBS=$LIBS
16652 LIBS="-framework JavaScriptCore $LIBS"
16653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16656 #include <JavaScriptCore/JSBase.h>
16661 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16666 if ac_fn_cxx_try_link "$LINENO"; then :
16668 ac_cv_framework_JavaScriptCore=yes
16671 ac_cv_framework_JavaScriptCore=no
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16675 LIBS=$ac_check_framework_save_LIBS
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16679 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16680 if test $ac_cv_framework_JavaScriptCore = yes; then :
16683 for element in "-framework JavaScriptCore $LIBS"; do
16687 acl_save_prefix="$prefix"
16688 prefix="$acl_final_prefix"
16689 acl_save_exec_prefix="$exec_prefix"
16690 exec_prefix="$acl_final_exec_prefix"
16692 exec_prefix="$acl_save_exec_prefix"
16693 prefix="$acl_save_prefix"
16695 if test "X$x" = "X$element"; then
16700 if test -z "$haveit"; then
16701 LIBS="${LIBS}${LIBS:+ }$element"
16709 elif test $pkg_failed = untried; then
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16711 $as_echo "no" >&6; }
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16715 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16716 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16720 ac_check_framework_save_LIBS=$LIBS
16721 LIBS="-framework JavaScriptCore $LIBS"
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723 /* end confdefs.h. */
16725 #include <JavaScriptCore/JSBase.h>
16730 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16735 if ac_fn_cxx_try_link "$LINENO"; then :
16737 ac_cv_framework_JavaScriptCore=yes
16740 ac_cv_framework_JavaScriptCore=no
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16744 LIBS=$ac_check_framework_save_LIBS
16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16748 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16749 if test $ac_cv_framework_JavaScriptCore = yes; then :
16752 for element in "-framework JavaScriptCore $LIBS"; do
16756 acl_save_prefix="$prefix"
16757 prefix="$acl_final_prefix"
16758 acl_save_exec_prefix="$exec_prefix"
16759 exec_prefix="$acl_final_exec_prefix"
16761 exec_prefix="$acl_save_exec_prefix"
16762 prefix="$acl_save_prefix"
16764 if test "X$x" = "X$element"; then
16769 if test -z "$haveit"; then
16770 LIBS="${LIBS}${LIBS:+ }$element"
16779 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16780 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16782 $as_echo "yes" >&6; }
16786 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16788 for x in $CXXFLAGS; do
16790 acl_save_prefix="$prefix"
16791 prefix="$acl_final_prefix"
16792 acl_save_exec_prefix="$exec_prefix"
16793 exec_prefix="$acl_final_exec_prefix"
16795 exec_prefix="$acl_save_exec_prefix"
16796 prefix="$acl_save_prefix"
16798 if test "X$x" = "X$element"; then
16803 if test -z "$haveit"; then
16804 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16809 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16813 acl_save_prefix="$prefix"
16814 prefix="$acl_final_prefix"
16815 acl_save_exec_prefix="$exec_prefix"
16816 exec_prefix="$acl_final_exec_prefix"
16818 exec_prefix="$acl_save_exec_prefix"
16819 prefix="$acl_save_prefix"
16821 if test "X$x" = "X$element"; then
16826 if test -z "$haveit"; then
16827 LIBS="${LIBS}${LIBS:+ }$element"
16835 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16836 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16838 $as_echo "yes" >&6; }
16842 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16844 for x in $CXXFLAGS; do
16846 acl_save_prefix="$prefix"
16847 prefix="$acl_final_prefix"
16848 acl_save_exec_prefix="$exec_prefix"
16849 exec_prefix="$acl_final_exec_prefix"
16851 exec_prefix="$acl_save_exec_prefix"
16852 prefix="$acl_save_prefix"
16854 if test "X$x" = "X$element"; then
16859 if test -z "$haveit"; then
16860 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16865 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16869 acl_save_prefix="$prefix"
16870 prefix="$acl_final_prefix"
16871 acl_save_exec_prefix="$exec_prefix"
16872 exec_prefix="$acl_final_exec_prefix"
16874 exec_prefix="$acl_save_exec_prefix"
16875 prefix="$acl_save_prefix"
16877 if test "X$x" = "X$element"; then
16882 if test -z "$haveit"; then
16883 LIBS="${LIBS}${LIBS:+ }$element"
16896 case $CY_EXECUTE in #(
16900 for ac_header in ffi.h ffi/ffi.h
16902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16903 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16904 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16913 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16919 $as_echo_n "checking for LIBFFI... " >&6; }
16921 if test -n "$LIBFFI_CFLAGS"; then
16922 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
16923 elif test -n "$PKG_CONFIG"; then
16924 if test -n "$PKG_CONFIG" && \
16925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16926 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16929 test $ac_status = 0; }; then
16930 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
16937 if test -n "$LIBFFI_LIBS"; then
16938 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
16939 elif test -n "$PKG_CONFIG"; then
16940 if test -n "$PKG_CONFIG" && \
16941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16942 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16945 test $ac_status = 0; }; then
16946 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
16956 if test $pkg_failed = yes; then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16958 $as_echo "no" >&6; }
16960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16961 _pkg_short_errors_supported=yes
16963 _pkg_short_errors_supported=no
16965 if test $_pkg_short_errors_supported = yes; then
16966 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
16968 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
16970 # Put the nasty error message in config.log where it belongs
16971 echo "$LIBFFI_PKG_ERRORS" >&5
16974 as_fn_error $? "You need libffi" "$LINENO" 5
16976 elif test $pkg_failed = untried; then
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16978 $as_echo "no" >&6; }
16980 as_fn_error $? "You need libffi" "$LINENO" 5
16983 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16984 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16986 $as_echo "yes" >&6; }
16989 for element in `$PKG_CONFIG --cflags libffi
`; do
16991 for x in $CXXFLAGS; do
16993 acl_save_prefix="$prefix"
16994 prefix="$acl_final_prefix"
16995 acl_save_exec_prefix="$exec_prefix"
16996 exec_prefix="$acl_final_exec_prefix"
16998 exec_prefix="$acl_save_exec_prefix"
16999 prefix="$acl_save_prefix"
17001 if test "X$x" = "X$element"; then
17006 if test -z "$haveit"; then
17007 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17012 for element in `$PKG_CONFIG --libs libffi
`; do
17016 acl_save_prefix="$prefix"
17017 prefix="$acl_final_prefix"
17018 acl_save_exec_prefix="$exec_prefix"
17019 exec_prefix="$acl_final_exec_prefix"
17021 exec_prefix="$acl_save_exec_prefix"
17022 prefix="$acl_save_prefix"
17024 if test "X$x" = "X$element"; then
17029 if test -z "$haveit"; then
17030 LIBS="${LIBS}${LIBS:+ }$element"
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17041 $as_echo_n "checking for library containing ffi_call... " >&6; }
17042 if test "${ac_cv_search_ffi_call+set}" = set; then :
17043 $as_echo_n "(cached) " >&6
17045 ac_func_search_save_LIBS=$LIBS
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17049 /* Override any GCC internal prototype to avoid an error.
17050 Use char because int might match the return type of a GCC
17051 builtin and then its argument prototype would still apply. */
17059 return ffi_call ();
17064 for ac_lib in '' ffi; do
17065 if test -z "$ac_lib"; then
17066 ac_res="none required"
17069 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17071 if ac_fn_cxx_try_link "$LINENO"; then :
17072 ac_cv_search_ffi_call=$ac_res
17074 rm -f core conftest.err conftest.$ac_objext \
17076 if test "${ac_cv_search_ffi_call+set}" = set; then :
17080 if test "${ac_cv_search_ffi_call+set}" = set; then :
17083 ac_cv_search_ffi_call=no
17085 rm conftest.$ac_ext
17086 LIBS=$ac_func_search_save_LIBS
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17089 $as_echo "$ac_cv_search_ffi_call" >&6; }
17090 ac_res=$ac_cv_search_ffi_call
17091 if test "$ac_res" != no; then :
17092 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17096 case $ac_cv_search_ffi_call in #(
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17102 $as_echo_n "checking for LIBFFI... " >&6; }
17104 if test -n "$LIBFFI_CFLAGS"; then
17105 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17106 elif test -n "$PKG_CONFIG"; then
17107 if test -n "$PKG_CONFIG" && \
17108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17109 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17112 test $ac_status = 0; }; then
17113 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17120 if test -n "$LIBFFI_LIBS"; then
17121 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17122 elif test -n "$PKG_CONFIG"; then
17123 if test -n "$PKG_CONFIG" && \
17124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17125 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17128 test $ac_status = 0; }; then
17129 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17139 if test $pkg_failed = yes; then
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17141 $as_echo "no" >&6; }
17143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17144 _pkg_short_errors_supported=yes
17146 _pkg_short_errors_supported=no
17148 if test $_pkg_short_errors_supported = yes; then
17149 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi" 2>&1`
17151 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi" 2>&1`
17153 # Put the nasty error message in config.log where it belongs
17154 echo "$LIBFFI_PKG_ERRORS" >&5
17157 as_fn_error $? "You need libffi" "$LINENO" 5
17159 elif test $pkg_failed = untried; then
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17161 $as_echo "no" >&6; }
17163 as_fn_error $? "You need libffi" "$LINENO" 5
17166 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17167 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17169 $as_echo "yes" >&6; }
17172 for element in `$PKG_CONFIG --cflags libffi
`; do
17174 for x in $CXXFLAGS; do
17176 acl_save_prefix="$prefix"
17177 prefix="$acl_final_prefix"
17178 acl_save_exec_prefix="$exec_prefix"
17179 exec_prefix="$acl_final_exec_prefix"
17181 exec_prefix="$acl_save_exec_prefix"
17182 prefix="$acl_save_prefix"
17184 if test "X$x" = "X$element"; then
17189 if test -z "$haveit"; then
17190 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17195 for element in `$PKG_CONFIG --libs libffi
`; do
17199 acl_save_prefix="$prefix"
17200 prefix="$acl_final_prefix"
17201 acl_save_exec_prefix="$exec_prefix"
17202 exec_prefix="$acl_final_exec_prefix"
17204 exec_prefix="$acl_save_exec_prefix"
17205 prefix="$acl_save_prefix"
17207 if test "X$x" = "X$element"; then
17212 if test -z "$haveit"; then
17213 LIBS="${LIBS}${LIBS:+ }$element"
17226 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17227 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17232 $as_echo_n "checking if we really have Objective C++... " >&6; }
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 // This space intentionally left blank
17239 if ac_fn_objcxx_try_compile "$LINENO"; then :
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17243 $as_echo "yes" >&6; }
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17247 $as_echo "no" >&6; }
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17250 if test "x$CY_OBJECTIVEC" = x1; then :
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17254 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17255 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
17256 $as_echo_n "(cached) " >&6
17259 ac_check_framework_save_LIBS=$LIBS
17260 LIBS="-framework CoreFoundation $LIBS"
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 #include <CoreFoundation/CFBase.h>
17269 CFAllocatorGetDefault();
17274 if ac_fn_objcxx_try_link "$LINENO"; then :
17276 ac_cv_framework_CoreFoundation=yes
17279 ac_cv_framework_CoreFoundation=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_framework_save_LIBS
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
17287 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
17288 if test $ac_cv_framework_CoreFoundation = yes; then :
17291 for element in "-framework CoreFoundation $LIBS"; do
17295 acl_save_prefix="$prefix"
17296 prefix="$acl_final_prefix"
17297 acl_save_exec_prefix="$exec_prefix"
17298 exec_prefix="$acl_final_exec_prefix"
17300 exec_prefix="$acl_save_exec_prefix"
17301 prefix="$acl_save_prefix"
17303 if test "X$x" = "X$element"; then
17308 if test -z "$haveit"; then
17309 LIBS="${LIBS}${LIBS:+ }$element"
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
17318 $as_echo_n "checking for framework Foundation... " >&6; }
17319 if test "${ac_cv_framework_Foundation+set}" = set; then :
17320 $as_echo_n "(cached) " >&6
17323 ac_check_framework_save_LIBS=$LIBS
17324 LIBS="-framework Foundation $LIBS"
17325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17326 /* end confdefs.h. */
17328 #include <Foundation/NSObject.h>
17333 [[NSObject alloc] init];
17338 if ac_fn_objcxx_try_link "$LINENO"; then :
17340 ac_cv_framework_Foundation=yes
17343 ac_cv_framework_Foundation=no
17345 rm -f core conftest.err conftest.$ac_objext \
17346 conftest$ac_exeext conftest.$ac_ext
17347 LIBS=$ac_check_framework_save_LIBS
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
17351 $as_echo "$ac_cv_framework_Foundation" >&6; }
17352 if test $ac_cv_framework_Foundation = yes; then :
17355 for element in "-framework Foundation $LIBS"; do
17359 acl_save_prefix="$prefix"
17360 prefix="$acl_final_prefix"
17361 acl_save_exec_prefix="$exec_prefix"
17362 exec_prefix="$acl_final_exec_prefix"
17364 exec_prefix="$acl_save_exec_prefix"
17365 prefix="$acl_save_prefix"
17367 if test "X$x" = "X$element"; then
17372 if test -z "$haveit"; then
17373 LIBS="${LIBS}${LIBS:+ }$element"
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_FRAMEWORK_FOUNDATION 1
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
17386 $as_echo_n "checking for framework WebKit... " >&6; }
17387 if test "${ac_cv_framework_WebKit+set}" = set; then :
17388 $as_echo_n "(cached) " >&6
17391 ac_check_framework_save_LIBS=$LIBS
17392 LIBS="-framework WebKit $LIBS"
17393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394 /* end confdefs.h. */
17396 #include <WebKit/WebScriptObject.h>
17401 [[WebScriptObject alloc] init];
17406 if ac_fn_objcxx_try_link "$LINENO"; then :
17408 ac_cv_framework_WebKit=yes
17411 ac_cv_framework_WebKit=no
17413 rm -f core conftest.err conftest.$ac_objext \
17414 conftest$ac_exeext conftest.$ac_ext
17415 LIBS=$ac_check_framework_save_LIBS
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
17419 $as_echo "$ac_cv_framework_WebKit" >&6; }
17420 if test $ac_cv_framework_WebKit = yes; then :
17423 for element in "-framework WebKit $LIBS"; do
17427 acl_save_prefix="$prefix"
17428 prefix="$acl_final_prefix"
17429 acl_save_exec_prefix="$exec_prefix"
17430 exec_prefix="$acl_final_exec_prefix"
17432 exec_prefix="$acl_save_exec_prefix"
17433 prefix="$acl_save_prefix"
17435 if test "X$x" = "X$element"; then
17440 if test -z "$haveit"; then
17441 LIBS="${LIBS}${LIBS:+ }$element"
17445 cat >>confdefs.h <<_ACEOF
17446 #define HAVE_FRAMEWORK_WEBKIT 1
17456 for ac_prog in gnustep-config
17458 # Extract the first word of "$ac_prog", so it can be a program name with args.
17459 set dummy $ac_prog; ac_word=$2
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17461 $as_echo_n "checking for $ac_word... " >&6; }
17462 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
17463 $as_echo_n "(cached) " >&6
17465 if test -n "$GNUSTEP_CONFIG"; then
17466 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
17468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17469 for as_dir in $PATH
17472 test -z "$as_dir" && as_dir=.
17473 for ac_exec_ext in '' $ac_executable_extensions; do
17474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17475 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
17476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17485 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
17486 if test -n "$GNUSTEP_CONFIG"; then
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
17488 $as_echo "$GNUSTEP_CONFIG" >&6; }
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17491 $as_echo "no" >&6; }
17495 test -n "$GNUSTEP_CONFIG" && break
17498 if test "x$GNUSTEP_CONFIG" != x; then :
17502 for element in `$GNUSTEP_CONFIG --objc-flags`; do
17504 for x in $OBJCXXFLAGS; do
17506 acl_save_prefix="$prefix"
17507 prefix="$acl_final_prefix"
17508 acl_save_exec_prefix="$exec_prefix"
17509 exec_prefix="$acl_final_exec_prefix"
17511 exec_prefix="$acl_save_exec_prefix"
17512 prefix="$acl_save_prefix"
17514 if test "X$x" = "X$element"; then
17519 if test -z "$haveit"; then
17520 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17525 for element in `$GNUSTEP_CONFIG --base-libs`; do
17529 acl_save_prefix="$prefix"
17530 prefix="$acl_final_prefix"
17531 acl_save_exec_prefix="$exec_prefix"
17532 exec_prefix="$acl_final_exec_prefix"
17534 exec_prefix="$acl_save_exec_prefix"
17535 prefix="$acl_save_prefix"
17537 if test "X$x" = "X$element"; then
17542 if test -z "$haveit"; then
17543 LIBS="${LIBS}${LIBS:+ }$element"
17557 ac_cpp='$CXXCPP $CPPFLAGS'
17558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
17568 $as_echo_n "checking for a readline compatible library... " >&6; }
17569 if test "${vl_cv_lib_readline+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17574 for readline_lib in readline edit editline; do
17575 for termcap_lib in "" termcap curses ncurses; do
17576 if test -z "$termcap_lib"; then
17577 TRY_LIB="-l$readline_lib"
17579 TRY_LIB="-l$readline_lib -l$termcap_lib"
17581 LIBS="$ORIG_LIBS $TRY_LIB"
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17585 /* Override any GCC internal prototype to avoid an error.
17586 Use char because int might match the return type of a GCC
17587 builtin and then its argument prototype would still apply. */
17595 return readline ();
17600 if ac_fn_cxx_try_link "$LINENO"; then :
17601 vl_cv_lib_readline="$TRY_LIB"
17603 rm -f core conftest.err conftest.$ac_objext \
17604 conftest$ac_exeext conftest.$ac_ext
17605 if test -n "$vl_cv_lib_readline"; then
17609 if test -n "$vl_cv_lib_readline"; then
17613 if test -z "$vl_cv_lib_readline"; then
17614 vl_cv_lib_readline="no"
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
17620 $as_echo "$vl_cv_lib_readline" >&6; }
17622 if test "$vl_cv_lib_readline" != "no"; then
17624 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
17626 for ac_header in readline.h readline/readline.h
17628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17629 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17630 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17631 cat >>confdefs.h <<_ACEOF
17632 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
17640 $as_echo_n "checking whether readline supports history... " >&6; }
17641 if test "${vl_cv_lib_readline_history+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17645 vl_cv_lib_readline_history="no"
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17649 /* Override any GCC internal prototype to avoid an error.
17650 Use char because int might match the return type of a GCC
17651 builtin and then its argument prototype would still apply. */
17655 char add_history ();
17659 return add_history ();
17664 if ac_fn_cxx_try_link "$LINENO"; then :
17665 vl_cv_lib_readline_history="yes"
17667 rm -f core conftest.err conftest.$ac_objext \
17668 conftest$ac_exeext conftest.$ac_ext
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
17672 $as_echo "$vl_cv_lib_readline_history" >&6; }
17673 if test "$vl_cv_lib_readline_history" = "yes"; then
17675 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
17677 for ac_header in history.h readline/history.h
17679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17680 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17682 cat >>confdefs.h <<_ACEOF
17683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17693 case $vl_cv_lib_readline in #(
17695 as_fn_error $? "You need readline" "$LINENO" 5 ;; #(
17700 ac_cpp='$CPP $CPPFLAGS'
17701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17706 if test "X$prefix" = "XNONE"; then
17707 acl_final_prefix="$ac_default_prefix"
17709 acl_final_prefix="$prefix"
17711 if test "X$exec_prefix" = "XNONE"; then
17712 acl_final_exec_prefix='${prefix}'
17714 acl_final_exec_prefix="$exec_prefix"
17716 acl_save_prefix="$prefix"
17717 prefix="$acl_final_prefix"
17718 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17719 prefix="$acl_save_prefix"
17722 # Check whether --with-gnu-ld was given.
17723 if test "${with_gnu_ld+set}" = set; then :
17724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17729 # Prepare PATH_SEPARATOR.
17730 # The user is always right.
17731 if test "${PATH_SEPARATOR+set}" != set; then
17732 echo "#! /bin/sh" >conf$$.sh
17733 echo "exit 0" >>conf$$.sh
17735 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17743 if test "$GCC" = yes; then
17744 # Check if gcc -print-prog-name=ld gives a path.
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17746 $as_echo_n "checking for ld used by GCC... " >&6; }
17749 # gcc leaves a trailing carriage return which upsets mingw
17750 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
17752 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17755 # Accept absolute paths.
17756 [\\/]* | [A-Za-z]:[\\/]*)
17757 re_direlt='/[^/][^/]*/\.\./'
17758 # Canonicalize the path of ld
17759 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17760 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17761 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17763 test -z "$LD" && LD="$ac_prog"
17766 # If it fails, then pretend we aren't using GCC.
17770 # If it is relative, then search for the first ld in PATH.
17771 with_gnu_ld=unknown
17774 elif test "$with_gnu_ld" = yes; then
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17776 $as_echo_n "checking for GNU ld... " >&6; }
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17779 $as_echo_n "checking for non-GNU ld... " >&6; }
17781 if test "${acl_cv_path_LD+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17784 if test -z "$LD"; then
17785 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17786 for ac_dir in $PATH; do
17787 test -z "$ac_dir" && ac_dir=.
17788 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17789 acl_cv_path_LD="$ac_dir/$ac_prog"
17790 # Check to see if the program is GNU ld. I'd rather use --version,
17791 # but apparently some GNU ld's only accept -v.
17792 # Break only if it was the GNU/non-GNU ld that we prefer.
17793 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
17794 *GNU* | *'with BFD'*)
17795 test "$with_gnu_ld" != no && break ;;
17797 test "$with_gnu_ld" != yes && break ;;
17803 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17807 LD="$acl_cv_path_LD"
17808 if test -n "$LD"; then
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17810 $as_echo "$LD" >&6; }
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17815 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17817 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17818 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17819 $as_echo_n "(cached) " >&6
17821 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17822 case `$LD -v 2>&1 </dev
/null
` in
17823 *GNU* | *'with BFD'*)
17824 acl_cv_prog_gnu_ld=yes ;;
17826 acl_cv_prog_gnu_ld=no ;;
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17830 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17831 with_gnu_ld=$acl_cv_prog_gnu_ld
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17837 $as_echo_n "checking for shared library run path origin... " >&6; }
17838 if test "${acl_cv_rpath+set}" = set; then :
17839 $as_echo_n "(cached) " >&6
17842 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17843 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17845 rm -f ./conftest.sh
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17850 $as_echo "$acl_cv_rpath" >&6; }
17852 acl_libext="$acl_cv_libext"
17853 acl_shlibext="$acl_cv_shlibext"
17854 acl_libname_spec="$acl_cv_libname_spec"
17855 acl_library_names_spec="$acl_cv_library_names_spec"
17856 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17857 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17858 acl_hardcode_direct="$acl_cv_hardcode_direct"
17859 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17860 # Check whether --enable-rpath was given.
17861 if test "${enable_rpath+set}" = set; then :
17862 enableval=$enable_rpath; :
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
17875 $as_echo_n "checking for 64-bit host... " >&6; }
17876 if test "${gl_cv_solaris_64bit+set}" = set; then :
17877 $as_echo_n "(cached) " >&6
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17888 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
17889 gl_cv_solaris_64bit=yes
17891 gl_cv_solaris_64bit=no
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
17898 $as_echo "$gl_cv_solaris_64bit" >&6; }
17899 if test $gl_cv_solaris_64bit = yes; then
17900 acl_libdirstem=lib/64
17901 case "$host_cpu" in
17902 sparc*) acl_libdirstem2=lib/sparcv9 ;;
17903 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
17908 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17909 if test -n "$searchpath"; then
17910 acl_save_IFS="${IFS= }"; IFS=":"
17911 for searchdir in $searchpath; do
17912 if test -d "$searchdir"; then
17913 case "$searchdir" in
17914 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17916 # Better ignore directories of this form. They are misleading.
17918 *) searchdir=`cd "$searchdir" && pwd`
17919 case "$searchdir" in
17920 */lib64 ) acl_libdirstem=lib64 ;;
17925 IFS="$acl_save_IFS"
17929 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
17944 acl_save_prefix="$prefix"
17945 prefix="$acl_final_prefix"
17946 acl_save_exec_prefix="$exec_prefix"
17947 exec_prefix="$acl_final_exec_prefix"
17949 eval additional_includedir=\"$includedir\"
17950 eval additional_libdir=\"$libdir\"
17952 exec_prefix="$acl_save_exec_prefix"
17953 prefix="$acl_save_prefix"
17956 # Check whether --with-libiconv-prefix was given.
17957 if test "${with_libiconv_prefix+set}" = set; then :
17958 withval=$with_libiconv_prefix;
17959 if test "X$withval" = "Xno"; then
17962 if test "X$withval" = "X"; then
17964 acl_save_prefix="$prefix"
17965 prefix="$acl_final_prefix"
17966 acl_save_exec_prefix="$exec_prefix"
17967 exec_prefix="$acl_final_exec_prefix"
17969 eval additional_includedir=\"$includedir\"
17970 eval additional_libdir=\"$libdir\"
17972 exec_prefix="$acl_save_exec_prefix"
17973 prefix="$acl_save_prefix"
17976 additional_includedir="$withval/include"
17977 additional_libdir="$withval/$acl_libdirstem"
17978 if test "$acl_libdirstem2" != "$acl_libdirstem" \
17979 && ! test -d "$withval/$acl_libdirstem"; then
17980 additional_libdir="$withval/$acl_libdirstem2"
17994 names_already_handled=
17995 names_next_round='iconv '
17996 while test -n "$names_next_round"; do
17997 names_this_round="$names_next_round"
17999 for name in $names_this_round; do
18001 for n in $names_already_handled; do
18002 if test "$n" = "$name"; then
18003 already_handled=yes
18007 if test -z "$already_handled"; then
18008 names_already_handled="$names_already_handled $name"
18009 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18010 eval value=\"\$HAVE_LIB$uppername\"
18011 if test -n "$value"; then
18012 if test "$value" = yes; then
18013 eval value=\"\$LIB$uppername\"
18014 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18015 eval value=\"\$LTLIB$uppername\"
18016 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18025 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18026 if test -n "$acl_shlibext"; then
18027 shrext=".$acl_shlibext" # typically: shrext=.so
18031 if test $use_additional = yes; then
18032 dir="$additional_libdir"
18033 if test -n "$acl_shlibext"; then
18034 if test -f "$dir/$libname$shrext"; then
18036 found_so="$dir/$libname$shrext"
18038 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18039 ver=`(cd "$dir" && \
18040 for f
in "$libname$shrext".
*; do echo "$f"; done \
18041 | sed -e "s,^$libname$shrext\\\\.,," \
18042 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18043 | sed 1q
) 2>/dev
/null
`
18044 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18046 found_so="$dir/$libname$shrext.$ver"
18049 eval library_names=\"$acl_library_names_spec\"
18050 for f in $library_names; do
18051 if test -f "$dir/$f"; then
18060 if test "X$found_dir" = "X"; then
18061 if test -f "$dir/$libname.$acl_libext"; then
18063 found_a="$dir/$libname.$acl_libext"
18066 if test "X$found_dir" != "X"; then
18067 if test -f "$dir/$libname.la"; then
18068 found_la="$dir/$libname.la"
18072 if test "X$found_dir" = "X"; then
18073 for x in $LDFLAGS $LTLIBICONV; do
18075 acl_save_prefix="$prefix"
18076 prefix="$acl_final_prefix"
18077 acl_save_exec_prefix="$exec_prefix"
18078 exec_prefix="$acl_final_exec_prefix"
18080 exec_prefix="$acl_save_exec_prefix"
18081 prefix="$acl_save_prefix"
18085 dir=`echo "X$x" | sed -e 's/^X-L//'`
18086 if test -n "$acl_shlibext"; then
18087 if test -f "$dir/$libname$shrext"; then
18089 found_so="$dir/$libname$shrext"
18091 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18092 ver=`(cd "$dir" && \
18093 for f
in "$libname$shrext".
*; do echo "$f"; done \
18094 | sed -e "s,^$libname$shrext\\\\.,," \
18095 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18096 | sed 1q
) 2>/dev
/null
`
18097 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18099 found_so="$dir/$libname$shrext.$ver"
18102 eval library_names=\"$acl_library_names_spec\"
18103 for f in $library_names; do
18104 if test -f "$dir/$f"; then
18113 if test "X$found_dir" = "X"; then
18114 if test -f "$dir/$libname.$acl_libext"; then
18116 found_a="$dir/$libname.$acl_libext"
18119 if test "X$found_dir" != "X"; then
18120 if test -f "$dir/$libname.la"; then
18121 found_la="$dir/$libname.la"
18126 if test "X$found_dir" != "X"; then
18131 if test "X$found_dir" != "X"; then
18132 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18133 if test "X$found_so" != "X"; then
18134 if test "$enable_rpath" = no \
18135 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18136 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18137 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18140 for x in $ltrpathdirs; do
18141 if test "X$x" = "X$found_dir"; then
18146 if test -z "$haveit"; then
18147 ltrpathdirs="$ltrpathdirs $found_dir"
18149 if test "$acl_hardcode_direct" = yes; then
18150 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18152 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18153 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18155 for x in $rpathdirs; do
18156 if test "X$x" = "X$found_dir"; then
18161 if test -z "$haveit"; then
18162 rpathdirs="$rpathdirs $found_dir"
18166 for x in $LDFLAGS $LIBICONV; do
18168 acl_save_prefix="$prefix"
18169 prefix="$acl_final_prefix"
18170 acl_save_exec_prefix="$exec_prefix"
18171 exec_prefix="$acl_final_exec_prefix"
18173 exec_prefix="$acl_save_exec_prefix"
18174 prefix="$acl_save_prefix"
18176 if test "X$x" = "X-L$found_dir"; then
18181 if test -z "$haveit"; then
18182 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18184 if test "$acl_hardcode_minus_L" != no; then
18185 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18187 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18193 if test "X$found_a" != "X"; then
18194 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18196 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18199 additional_includedir=
18200 case "$found_dir" in
18201 */$acl_libdirstem | */$acl_libdirstem/)
18202 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18203 if test "$name" = 'iconv'; then
18204 LIBICONV_PREFIX="$basedir"
18206 additional_includedir="$basedir/include"
18208 */$acl_libdirstem2 | */$acl_libdirstem2/)
18209 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18210 if test "$name" = 'iconv'; then
18211 LIBICONV_PREFIX="$basedir"
18213 additional_includedir="$basedir/include"
18216 if test "X$additional_includedir" != "X"; then
18217 if test "X$additional_includedir" != "X/usr/include"; then
18219 if test "X$additional_includedir" = "X/usr/local/include"; then
18220 if test -n "$GCC"; then
18222 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18226 if test -z "$haveit"; then
18227 for x in $CPPFLAGS $INCICONV; do
18229 acl_save_prefix="$prefix"
18230 prefix="$acl_final_prefix"
18231 acl_save_exec_prefix="$exec_prefix"
18232 exec_prefix="$acl_final_exec_prefix"
18234 exec_prefix="$acl_save_exec_prefix"
18235 prefix="$acl_save_prefix"
18237 if test "X$x" = "X-I$additional_includedir"; then
18242 if test -z "$haveit"; then
18243 if test -d "$additional_includedir"; then
18244 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18250 if test -n "$found_la"; then
18251 save_libdir="$libdir"
18252 case "$found_la" in
18253 */* | *\\*) . "$found_la" ;;
18254 *) . "./$found_la" ;;
18256 libdir="$save_libdir"
18257 for dep in $dependency_libs; do
18260 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18261 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18262 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18264 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18265 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18266 if test -n "$GCC"; then
18268 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18272 if test -z "$haveit"; then
18274 for x in $LDFLAGS $LIBICONV; do
18276 acl_save_prefix="$prefix"
18277 prefix="$acl_final_prefix"
18278 acl_save_exec_prefix="$exec_prefix"
18279 exec_prefix="$acl_final_exec_prefix"
18281 exec_prefix="$acl_save_exec_prefix"
18282 prefix="$acl_save_prefix"
18284 if test "X$x" = "X-L$additional_libdir"; then
18289 if test -z "$haveit"; then
18290 if test -d "$additional_libdir"; then
18291 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18295 for x in $LDFLAGS $LTLIBICONV; do
18297 acl_save_prefix="$prefix"
18298 prefix="$acl_final_prefix"
18299 acl_save_exec_prefix="$exec_prefix"
18300 exec_prefix="$acl_final_exec_prefix"
18302 exec_prefix="$acl_save_exec_prefix"
18303 prefix="$acl_save_prefix"
18305 if test "X$x" = "X-L$additional_libdir"; then
18310 if test -z "$haveit"; then
18311 if test -d "$additional_libdir"; then
18312 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18319 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18320 if test "$enable_rpath" != no; then
18322 for x in $rpathdirs; do
18323 if test "X$x" = "X$dir"; then
18328 if test -z "$haveit"; then
18329 rpathdirs="$rpathdirs $dir"
18332 for x in $ltrpathdirs; do
18333 if test "X$x" = "X$dir"; then
18338 if test -z "$haveit"; then
18339 ltrpathdirs="$ltrpathdirs $dir"
18344 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18347 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18350 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18351 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18357 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18358 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18364 if test "X$rpathdirs" != "X"; then
18365 if test -n "$acl_hardcode_libdir_separator"; then
18367 for found_dir in $rpathdirs; do
18368 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18370 acl_save_libdir="$libdir"
18372 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18373 libdir="$acl_save_libdir"
18374 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18376 for found_dir in $rpathdirs; do
18377 acl_save_libdir="$libdir"
18378 libdir="$found_dir"
18379 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18380 libdir="$acl_save_libdir"
18381 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18385 if test "X$ltrpathdirs" != "X"; then
18386 for found_dir in $ltrpathdirs; do
18387 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18402 am_save_CPPFLAGS="$CPPFLAGS"
18404 for element in $INCICONV; do
18406 for x in $CPPFLAGS; do
18408 acl_save_prefix="$prefix"
18409 prefix="$acl_final_prefix"
18410 acl_save_exec_prefix="$exec_prefix"
18411 exec_prefix="$acl_final_exec_prefix"
18413 exec_prefix="$acl_save_exec_prefix"
18414 prefix="$acl_save_prefix"
18416 if test "X$x" = "X$element"; then
18421 if test -z "$haveit"; then
18422 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18428 $as_echo_n "checking for iconv... " >&6; }
18429 if test "${am_cv_func_iconv+set}" = set; then :
18430 $as_echo_n "(cached) " >&6
18433 am_cv_func_iconv="no, consider installing GNU libiconv"
18435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18437 #include <stdlib.h>
18442 iconv_t cd = iconv_open("","");
18443 iconv(cd,NULL,NULL,NULL,NULL);
18449 if ac_fn_c_try_link "$LINENO"; then :
18450 am_cv_func_iconv=yes
18452 rm -f core conftest.err conftest.$ac_objext \
18453 conftest$ac_exeext conftest.$ac_ext
18454 if test "$am_cv_func_iconv" != yes; then
18455 am_save_LIBS="$LIBS"
18456 LIBS="$LIBS $LIBICONV"
18457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18459 #include <stdlib.h>
18464 iconv_t cd = iconv_open("","");
18465 iconv(cd,NULL,NULL,NULL,NULL);
18471 if ac_fn_c_try_link "$LINENO"; then :
18472 am_cv_lib_iconv=yes
18473 am_cv_func_iconv=yes
18475 rm -f core conftest.err conftest.$ac_objext \
18476 conftest$ac_exeext conftest.$ac_ext
18477 LIBS="$am_save_LIBS"
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18482 $as_echo "$am_cv_func_iconv" >&6; }
18483 if test "$am_cv_func_iconv" = yes; then
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18485 $as_echo_n "checking for working iconv... " >&6; }
18486 if test "${am_cv_func_iconv_works+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18490 am_save_LIBS="$LIBS"
18491 if test $am_cv_lib_iconv = yes; then
18492 LIBS="$LIBS $LIBICONV"
18494 if test "$cross_compiling" = yes; then :
18496 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18497 *) am_cv_func_iconv_works="guessing yes" ;;
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18504 #include <string.h>
18507 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18510 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18511 if (cd_utf8_to_88591 != (iconv_t)(-1))
18513 static const char input[] = "\342\202\254"; /* EURO SIGN */
18515 const char *inptr = input;
18516 size_t inbytesleft = strlen (input);
18517 char *outptr = buf;
18518 size_t outbytesleft = sizeof (buf);
18519 size_t res = iconv (cd_utf8_to_88591,
18520 (char **) &inptr, &inbytesleft,
18521 &outptr, &outbytesleft);
18526 /* Test against Solaris 10 bug: Failures are not distinguishable from
18527 successful returns. */
18529 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
18530 if (cd_ascii_to_88591 != (iconv_t)(-1))
18532 static const char input[] = "\263";
18534 const char *inptr = input;
18535 size_t inbytesleft = strlen (input);
18536 char *outptr = buf;
18537 size_t outbytesleft = sizeof (buf);
18538 size_t res = iconv (cd_ascii_to_88591,
18539 (char **) &inptr, &inbytesleft,
18540 &outptr, &outbytesleft);
18545 #if 0 /* This bug could be worked around by the caller. */
18546 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18548 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18549 if (cd_88591_to_utf8 != (iconv_t)(-1))
18551 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18553 const char *inptr = input;
18554 size_t inbytesleft = strlen (input);
18555 char *outptr = buf;
18556 size_t outbytesleft = sizeof (buf);
18557 size_t res = iconv (cd_88591_to_utf8,
18558 (char **) &inptr, &inbytesleft,
18559 &outptr, &outbytesleft);
18565 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18567 if (/* Try standardized names. */
18568 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18569 /* Try IRIX, OSF/1 names. */
18570 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18571 /* Try AIX names. */
18572 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18573 /* Try HP-UX names. */
18574 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18579 if ac_fn_c_try_run "$LINENO"; then :
18580 am_cv_func_iconv_works=yes
18582 am_cv_func_iconv_works=no
18584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18585 conftest.$ac_objext conftest.beam conftest.$ac_ext
18588 LIBS="$am_save_LIBS"
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18592 $as_echo "$am_cv_func_iconv_works" >&6; }
18593 case "$am_cv_func_iconv_works" in
18594 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18595 *) am_func_iconv=yes ;;
18598 am_func_iconv=no am_cv_lib_iconv=no
18600 if test "$am_func_iconv" = yes; then
18602 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18605 if test "$am_cv_lib_iconv" = yes; then
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18607 $as_echo_n "checking how to link with libiconv... " >&6; }
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18609 $as_echo "$LIBICONV" >&6; }
18611 CPPFLAGS="$am_save_CPPFLAGS"
18618 if test "$am_cv_func_iconv" = yes; then
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18620 $as_echo_n "checking for iconv declaration... " >&6; }
18621 if test "${am_cv_proto_iconv+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18628 #include <stdlib.h>
18634 #if defined(__STDC__) || defined(__cplusplus)
18635 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18648 if ac_fn_c_try_compile "$LINENO"; then :
18649 am_cv_proto_iconv_arg1=""
18651 am_cv_proto_iconv_arg1="const"
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 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);"
18657 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result:
18659 $am_cv_proto_iconv" >&5
18661 $am_cv_proto_iconv" >&6; }
18663 cat >>confdefs.h <<_ACEOF
18664 #define ICONV_CONST $am_cv_proto_iconv_arg1
18669 case $am_cv_func_iconv in #(
18674 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
18675 case $cy_iconv_prefix_arg in #(
18679 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
18681 for x in $cy_iconv_prefixes; do
18683 acl_save_prefix="$prefix"
18684 prefix="$acl_final_prefix"
18685 acl_save_exec_prefix="$exec_prefix"
18686 exec_prefix="$acl_final_exec_prefix"
18688 exec_prefix="$acl_save_exec_prefix"
18689 prefix="$acl_save_prefix"
18691 if test "X$x" = "X$element"; then
18696 if test -z "$haveit"; then
18697 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18705 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
18707 for x in $cy_iconv_prefixes; do
18709 acl_save_prefix="$prefix"
18710 prefix="$acl_final_prefix"
18711 acl_save_exec_prefix="$exec_prefix"
18712 exec_prefix="$acl_final_exec_prefix"
18714 exec_prefix="$acl_save_exec_prefix"
18715 prefix="$acl_save_prefix"
18717 if test "X$x" = "X$element"; then
18722 if test -z "$haveit"; then
18723 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18732 for with_libiconv_prefix in $cy_iconv_prefixes; do
18733 { am_cv_func_iconv=; unset am_cv_func_iconv;}
18747 acl_save_prefix="$prefix"
18748 prefix="$acl_final_prefix"
18749 acl_save_exec_prefix="$exec_prefix"
18750 exec_prefix="$acl_final_exec_prefix"
18752 eval additional_includedir=\"$includedir\"
18753 eval additional_libdir=\"$libdir\"
18755 exec_prefix="$acl_save_exec_prefix"
18756 prefix="$acl_save_prefix"
18759 # Check whether --with-libiconv-prefix was given.
18760 if test "${with_libiconv_prefix+set}" = set; then :
18761 withval=$with_libiconv_prefix;
18762 if test "X$withval" = "Xno"; then
18765 if test "X$withval" = "X"; then
18767 acl_save_prefix="$prefix"
18768 prefix="$acl_final_prefix"
18769 acl_save_exec_prefix="$exec_prefix"
18770 exec_prefix="$acl_final_exec_prefix"
18772 eval additional_includedir=\"$includedir\"
18773 eval additional_libdir=\"$libdir\"
18775 exec_prefix="$acl_save_exec_prefix"
18776 prefix="$acl_save_prefix"
18779 additional_includedir="$withval/include"
18780 additional_libdir="$withval/$acl_libdirstem"
18781 if test "$acl_libdirstem2" != "$acl_libdirstem" \
18782 && ! test -d "$withval/$acl_libdirstem"; then
18783 additional_libdir="$withval/$acl_libdirstem2"
18797 names_already_handled=
18798 names_next_round='iconv '
18799 while test -n "$names_next_round"; do
18800 names_this_round="$names_next_round"
18802 for name in $names_this_round; do
18804 for n in $names_already_handled; do
18805 if test "$n" = "$name"; then
18806 already_handled=yes
18810 if test -z "$already_handled"; then
18811 names_already_handled="$names_already_handled $name"
18812 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18813 eval value=\"\$HAVE_LIB$uppername\"
18814 if test -n "$value"; then
18815 if test "$value" = yes; then
18816 eval value=\"\$LIB$uppername\"
18817 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18818 eval value=\"\$LTLIB$uppername\"
18819 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18828 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18829 if test -n "$acl_shlibext"; then
18830 shrext=".$acl_shlibext" # typically: shrext=.so
18834 if test $use_additional = yes; then
18835 dir="$additional_libdir"
18836 if test -n "$acl_shlibext"; then
18837 if test -f "$dir/$libname$shrext"; then
18839 found_so="$dir/$libname$shrext"
18841 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18842 ver=`(cd "$dir" && \
18843 for f
in "$libname$shrext".
*; do echo "$f"; done \
18844 | sed -e "s,^$libname$shrext\\\\.,," \
18845 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18846 | sed 1q
) 2>/dev
/null
`
18847 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18849 found_so="$dir/$libname$shrext.$ver"
18852 eval library_names=\"$acl_library_names_spec\"
18853 for f in $library_names; do
18854 if test -f "$dir/$f"; then
18863 if test "X$found_dir" = "X"; then
18864 if test -f "$dir/$libname.$acl_libext"; then
18866 found_a="$dir/$libname.$acl_libext"
18869 if test "X$found_dir" != "X"; then
18870 if test -f "$dir/$libname.la"; then
18871 found_la="$dir/$libname.la"
18875 if test "X$found_dir" = "X"; then
18876 for x in $LDFLAGS $LTLIBICONV; do
18878 acl_save_prefix="$prefix"
18879 prefix="$acl_final_prefix"
18880 acl_save_exec_prefix="$exec_prefix"
18881 exec_prefix="$acl_final_exec_prefix"
18883 exec_prefix="$acl_save_exec_prefix"
18884 prefix="$acl_save_prefix"
18888 dir=`echo "X$x" | sed -e 's/^X-L//'`
18889 if test -n "$acl_shlibext"; then
18890 if test -f "$dir/$libname$shrext"; then
18892 found_so="$dir/$libname$shrext"
18894 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18895 ver=`(cd "$dir" && \
18896 for f
in "$libname$shrext".
*; do echo "$f"; done \
18897 | sed -e "s,^$libname$shrext\\\\.,," \
18898 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18899 | sed 1q
) 2>/dev
/null
`
18900 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18902 found_so="$dir/$libname$shrext.$ver"
18905 eval library_names=\"$acl_library_names_spec\"
18906 for f in $library_names; do
18907 if test -f "$dir/$f"; then
18916 if test "X$found_dir" = "X"; then
18917 if test -f "$dir/$libname.$acl_libext"; then
18919 found_a="$dir/$libname.$acl_libext"
18922 if test "X$found_dir" != "X"; then
18923 if test -f "$dir/$libname.la"; then
18924 found_la="$dir/$libname.la"
18929 if test "X$found_dir" != "X"; then
18934 if test "X$found_dir" != "X"; then
18935 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18936 if test "X$found_so" != "X"; then
18937 if test "$enable_rpath" = no \
18938 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
18939 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18940 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18943 for x in $ltrpathdirs; do
18944 if test "X$x" = "X$found_dir"; then
18949 if test -z "$haveit"; then
18950 ltrpathdirs="$ltrpathdirs $found_dir"
18952 if test "$acl_hardcode_direct" = yes; then
18953 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18955 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18956 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18958 for x in $rpathdirs; do
18959 if test "X$x" = "X$found_dir"; then
18964 if test -z "$haveit"; then
18965 rpathdirs="$rpathdirs $found_dir"
18969 for x in $LDFLAGS $LIBICONV; do
18971 acl_save_prefix="$prefix"
18972 prefix="$acl_final_prefix"
18973 acl_save_exec_prefix="$exec_prefix"
18974 exec_prefix="$acl_final_exec_prefix"
18976 exec_prefix="$acl_save_exec_prefix"
18977 prefix="$acl_save_prefix"
18979 if test "X$x" = "X-L$found_dir"; then
18984 if test -z "$haveit"; then
18985 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18987 if test "$acl_hardcode_minus_L" != no; then
18988 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18990 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18996 if test "X$found_a" != "X"; then
18997 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18999 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
19002 additional_includedir=
19003 case "$found_dir" in
19004 */$acl_libdirstem | */$acl_libdirstem/)
19005 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19006 if test "$name" = 'iconv'; then
19007 LIBICONV_PREFIX="$basedir"
19009 additional_includedir="$basedir/include"
19011 */$acl_libdirstem2 | */$acl_libdirstem2/)
19012 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19013 if test "$name" = 'iconv'; then
19014 LIBICONV_PREFIX="$basedir"
19016 additional_includedir="$basedir/include"
19019 if test "X$additional_includedir" != "X"; then
19020 if test "X$additional_includedir" != "X/usr/include"; then
19022 if test "X$additional_includedir" = "X/usr/local/include"; then
19023 if test -n "$GCC"; then
19025 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19029 if test -z "$haveit"; then
19030 for x in $CPPFLAGS $INCICONV; do
19032 acl_save_prefix="$prefix"
19033 prefix="$acl_final_prefix"
19034 acl_save_exec_prefix="$exec_prefix"
19035 exec_prefix="$acl_final_exec_prefix"
19037 exec_prefix="$acl_save_exec_prefix"
19038 prefix="$acl_save_prefix"
19040 if test "X$x" = "X-I$additional_includedir"; then
19045 if test -z "$haveit"; then
19046 if test -d "$additional_includedir"; then
19047 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
19053 if test -n "$found_la"; then
19054 save_libdir="$libdir"
19055 case "$found_la" in
19056 */* | *\\*) . "$found_la" ;;
19057 *) . "./$found_la" ;;
19059 libdir="$save_libdir"
19060 for dep in $dependency_libs; do
19063 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19064 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19065 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19067 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19068 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19069 if test -n "$GCC"; then
19071 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19075 if test -z "$haveit"; then
19077 for x in $LDFLAGS $LIBICONV; do
19079 acl_save_prefix="$prefix"
19080 prefix="$acl_final_prefix"
19081 acl_save_exec_prefix="$exec_prefix"
19082 exec_prefix="$acl_final_exec_prefix"
19084 exec_prefix="$acl_save_exec_prefix"
19085 prefix="$acl_save_prefix"
19087 if test "X$x" = "X-L$additional_libdir"; then
19092 if test -z "$haveit"; then
19093 if test -d "$additional_libdir"; then
19094 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
19098 for x in $LDFLAGS $LTLIBICONV; do
19100 acl_save_prefix="$prefix"
19101 prefix="$acl_final_prefix"
19102 acl_save_exec_prefix="$exec_prefix"
19103 exec_prefix="$acl_final_exec_prefix"
19105 exec_prefix="$acl_save_exec_prefix"
19106 prefix="$acl_save_prefix"
19108 if test "X$x" = "X-L$additional_libdir"; then
19113 if test -z "$haveit"; then
19114 if test -d "$additional_libdir"; then
19115 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19122 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19123 if test "$enable_rpath" != no; then
19125 for x in $rpathdirs; do
19126 if test "X$x" = "X$dir"; then
19131 if test -z "$haveit"; then
19132 rpathdirs="$rpathdirs $dir"
19135 for x in $ltrpathdirs; do
19136 if test "X$x" = "X$dir"; then
19141 if test -z "$haveit"; then
19142 ltrpathdirs="$ltrpathdirs $dir"
19147 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19150 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19153 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19154 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19160 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19161 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19167 if test "X$rpathdirs" != "X"; then
19168 if test -n "$acl_hardcode_libdir_separator"; then
19170 for found_dir in $rpathdirs; do
19171 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19173 acl_save_libdir="$libdir"
19175 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19176 libdir="$acl_save_libdir"
19177 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19179 for found_dir in $rpathdirs; do
19180 acl_save_libdir="$libdir"
19181 libdir="$found_dir"
19182 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19183 libdir="$acl_save_libdir"
19184 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19188 if test "X$ltrpathdirs" != "X"; then
19189 for found_dir in $ltrpathdirs; do
19190 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19204 case $am_cv_func_iconv in #(
19208 as_fn_error $? "You need iconv" "$LINENO" 5 ;;
19211 ac_cpp='$CXXCPP $CPPFLAGS'
19212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19218 if test "x$CY_OBJECTIVEC" = x1; then :
19220 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19221 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19223 if test -n "$ac_tool_prefix"; then
19224 for ac_prog in otool
19226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19229 $as_echo_n "checking for $ac_word... " >&6; }
19230 if test "${ac_cv_prog__OTOOL+set}" = set; then :
19231 $as_echo_n "(cached) " >&6
19233 if test -n "$_OTOOL"; then
19234 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
19236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19237 for as_dir in $PATH
19240 test -z "$as_dir" && as_dir=.
19241 for ac_exec_ext in '' $ac_executable_extensions; do
19242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19243 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
19244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19253 _OTOOL=$ac_cv_prog__OTOOL
19254 if test -n "$_OTOOL"; then
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
19256 $as_echo "$_OTOOL" >&6; }
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19259 $as_echo "no" >&6; }
19263 test -n "$_OTOOL" && break
19266 if test -z "$_OTOOL"; then
19267 ac_ct__OTOOL=$_OTOOL
19268 for ac_prog in otool
19270 # Extract the first word of "$ac_prog", so it can be a program name with args.
19271 set dummy $ac_prog; ac_word=$2
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19273 $as_echo_n "checking for $ac_word... " >&6; }
19274 if test "${ac_cv_prog_ac_ct__OTOOL+set}" = set; then :
19275 $as_echo_n "(cached) " >&6
19277 if test -n "$ac_ct__OTOOL"; then
19278 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
19280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19281 for as_dir in $PATH
19284 test -z "$as_dir" && as_dir=.
19285 for ac_exec_ext in '' $ac_executable_extensions; do
19286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19287 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
19288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19297 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
19298 if test -n "$ac_ct__OTOOL"; then
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
19300 $as_echo "$ac_ct__OTOOL" >&6; }
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19303 $as_echo "no" >&6; }
19307 test -n "$ac_ct__OTOOL" && break
19310 if test "x$ac_ct__OTOOL" = x; then
19313 case $cross_compiling:$ac_tool_warned in
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19317 ac_tool_warned=yes ;;
19319 _OTOOL=$ac_ct__OTOOL
19323 if test "x$_OTOOL" = x; then :
19324 as_fn_error $? "You need otool" "$LINENO" 5
19326 if test -n "$ac_tool_prefix"; then
19327 for ac_prog in lipo
19329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19332 $as_echo_n "checking for $ac_word... " >&6; }
19333 if test "${ac_cv_prog__LIPO+set}" = set; then :
19334 $as_echo_n "(cached) " >&6
19336 if test -n "$_LIPO"; then
19337 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
19339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19340 for as_dir in $PATH
19343 test -z "$as_dir" && as_dir=.
19344 for ac_exec_ext in '' $ac_executable_extensions; do
19345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19346 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
19347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19356 _LIPO=$ac_cv_prog__LIPO
19357 if test -n "$_LIPO"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
19359 $as_echo "$_LIPO" >&6; }
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19362 $as_echo "no" >&6; }
19366 test -n "$_LIPO" && break
19369 if test -z "$_LIPO"; then
19371 for ac_prog in lipo
19373 # Extract the first word of "$ac_prog", so it can be a program name with args.
19374 set dummy $ac_prog; ac_word=$2
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19376 $as_echo_n "checking for $ac_word... " >&6; }
19377 if test "${ac_cv_prog_ac_ct__LIPO+set}" = set; then :
19378 $as_echo_n "(cached) " >&6
19380 if test -n "$ac_ct__LIPO"; then
19381 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
19383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19384 for as_dir in $PATH
19387 test -z "$as_dir" && as_dir=.
19388 for ac_exec_ext in '' $ac_executable_extensions; do
19389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19390 ac_cv_prog_ac_ct__LIPO="$ac_prog"
19391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19400 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
19401 if test -n "$ac_ct__LIPO"; then
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
19403 $as_echo "$ac_ct__LIPO" >&6; }
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19406 $as_echo "no" >&6; }
19410 test -n "$ac_ct__LIPO" && break
19413 if test "x$ac_ct__LIPO" = x; then
19416 case $cross_compiling:$ac_tool_warned in
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19420 ac_tool_warned=yes ;;
19426 if test "x$_LIPO" = x; then :
19427 as_fn_error $? "You need lipo" "$LINENO" 5
19429 if test -n "$ac_tool_prefix"; then
19432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19435 $as_echo_n "checking for $ac_word... " >&6; }
19436 if test "${ac_cv_prog__NM+set}" = set; then :
19437 $as_echo_n "(cached) " >&6
19439 if test -n "$_NM"; then
19440 ac_cv_prog__NM="$_NM" # Let the user override the test.
19442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19446 test -z "$as_dir" && as_dir=.
19447 for ac_exec_ext in '' $ac_executable_extensions; do
19448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19449 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
19450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19459 _NM=$ac_cv_prog__NM
19460 if test -n "$_NM"; then
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
19462 $as_echo "$_NM" >&6; }
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19465 $as_echo "no" >&6; }
19469 test -n "$_NM" && break
19472 if test -z "$_NM"; then
19476 # Extract the first word of "$ac_prog", so it can be a program name with args.
19477 set dummy $ac_prog; ac_word=$2
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19479 $as_echo_n "checking for $ac_word... " >&6; }
19480 if test "${ac_cv_prog_ac_ct__NM+set}" = set; then :
19481 $as_echo_n "(cached) " >&6
19483 if test -n "$ac_ct__NM"; then
19484 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
19486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19487 for as_dir in $PATH
19490 test -z "$as_dir" && as_dir=.
19491 for ac_exec_ext in '' $ac_executable_extensions; do
19492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19493 ac_cv_prog_ac_ct__NM="$ac_prog"
19494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19503 ac_ct__NM=$ac_cv_prog_ac_ct__NM
19504 if test -n "$ac_ct__NM"; then
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
19506 $as_echo "$ac_ct__NM" >&6; }
19508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19509 $as_echo "no" >&6; }
19513 test -n "$ac_ct__NM" && break
19516 if test "x$ac_ct__NM" = x; then
19519 case $cross_compiling:$ac_tool_warned in
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19523 ac_tool_warned=yes ;;
19529 if test "x$_NM" = x; then :
19530 as_fn_error $? "You need nm" "$LINENO" 5
19532 CY_OBJECTIVEC_MACH=1
19534 CY_ATTACH_GROUP=procmod
19542 if test "x$GMAKE" != xmake; then :
19544 ac_config_files="$ac_config_files Makefile"
19548 ac_config_files="$ac_config_files GNUmakefile"
19550 cat >confcache <<\_ACEOF
19551 # This file is a shell script that caches the results of configure
19552 # tests run on this system so they can be shared between configure
19553 # scripts and configure runs, see configure's option --config-cache.
19554 # It is not useful on other systems. If it contains results you don't
19555 # want to keep, you may remove or edit it.
19557 # config.status only pays attention to the cache file if you give it
19558 # the --recheck option to rerun configure.
19560 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19561 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19562 # following values.
19566 # The following way of writing the cache mishandles newlines in values,
19567 # but we know of no workaround that is simple, portable, and efficient.
19568 # So, we kill variables containing newlines.
19569 # Ultrix sh set writes to stderr and can't be redirected directly,
19570 # and sets the high bit in the cache file unless we assign to the vars.
19572 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19573 eval ac_val
=\$
$ac_var
19577 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19578 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19581 _
| IFS
| as_nl
) ;; #(
19582 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19583 *) { eval $ac_var=; unset $ac_var;} ;;
19589 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19590 *${as_nl}ac_space
=\
*)
19591 # `set' does not quote correctly, so add quotes: double-quote
19592 # substitution turns \\\\ into \\, and sed turns \\ into \.
19595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19598 # `set' quotes correctly as required by POSIX, so do not add quotes.
19599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19608 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19610 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19612 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19613 if test -w "$cache_file"; then
19614 test "x$cache_file" != "x/dev/null" &&
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19616 $as_echo "$as_me: updating cache $cache_file" >&6;}
19617 cat confcache
>$cache_file
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19625 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19626 # Let make expand exec_prefix.
19627 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19629 # Transform confdefs.h into DEFS.
19630 # Protect against shell expansion while executing Makefile rules.
19631 # Protect against Makefile macro expansion.
19633 # If the first sed substitution is executed (which looks for macros that
19634 # take arguments), then branch to the quote section. Otherwise,
19635 # look for a macro that doesn't take arguments.
19645 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19647 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19651 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19664 DEFS
=`sed -n "$ac_script" confdefs.h`
19670 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19671 # 1. Remove the extension, and $U if already installed.
19672 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19673 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19674 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19675 # will be set to the directory where LIBOBJS objects are built.
19676 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19677 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19679 LIBOBJS
=$ac_libobjs
19681 LTLIBOBJS
=$ac_ltlibobjs
19685 : ${CONFIG_STATUS=./config.status}
19687 ac_clean_files_save
=$ac_clean_files
19688 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19690 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19692 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19694 # Generated by $as_me.
19695 # Run this file to recreate the current configuration.
19696 # Compiler output produced by configure, useful for debugging
19697 # configure, is in config.log if it exists.
19700 ac_cs_recheck=false
19703 SHELL=\${CONFIG_SHELL-$SHELL}
19706 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19707 ## -------------------- ##
19708 ## M4sh Initialization. ##
19709 ## -------------------- ##
19711 # Be more Bourne compatible
19712 DUALCASE
=1; export DUALCASE
# for MKS sh
19713 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19716 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19717 # is contrary to our usage. Disable this feature.
19718 alias -g '${1+"$@"}'='"$@"'
19719 setopt NO_GLOB_SUBST
19721 case `(set -o) 2>/dev/null` in #(
19733 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19734 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19735 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19736 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19737 # Prefer a ksh shell builtin over an external printf program on Solaris,
19738 # but without wasting forks for bash or zsh.
19739 if test -z "$BASH_VERSION$ZSH_VERSION" \
19740 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19741 as_echo='print
-r --'
19742 as_echo_n='print
-rn --'
19743 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19744 as_echo='printf %s
\n'
19745 as_echo_n='printf %s
'
19747 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19748 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19749 as_echo_n='/usr
/ucb
/echo -n'
19751 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19752 as_echo_n_body='eval
19756 expr "X$arg" : "X\\(.*\\)$as_nl";
19757 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19759 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19761 export as_echo_n_body
19762 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19764 export as_echo_body
19765 as_echo='sh
-c $as_echo_body as_echo
'
19768 # The user is always right.
19769 if test "${PATH_SEPARATOR+set}" != set; then
19771 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19772 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19779 # We need space, tab and new line, in precisely that order. Quoting is
19780 # there to prevent editors from complaining about space-tab.
19781 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19782 # splitting by setting IFS to empty value.)
19785 # Find who we are. Look in the path if we contain no directory separator.
19787 *[\\/]* ) as_myself=$0 ;;
19788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19789 for as_dir in $PATH
19792 test -z "$as_dir" && as_dir=.
19793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19799 # We did not find ourselves, most probably we were run as `sh COMMAND'
19800 # in which case we are not to be found in the path.
19801 if test "x$as_myself" = x
; then
19804 if test ! -f "$as_myself"; then
19805 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19809 # Unset variables that we do not need and which cause bugs (e.g. in
19810 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19811 # suppresses any "Segmentation fault" message there. '((' could
19812 # trigger a bug in pdksh 5.2.14.
19813 for as_var
in BASH_ENV ENV MAIL MAILPATH
19814 do eval test x\
${$as_var+set} = xset \
19815 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19828 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19831 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19832 # ----------------------------------------
19833 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19834 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19835 # script with STATUS, using 1 if that was 0.
19838 as_status
=$1; test $as_status -eq 0 && as_status
=1
19840 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19841 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19843 $as_echo "$as_me: error: $2" >&2
19844 as_fn_exit
$as_status
19848 # as_fn_set_status STATUS
19849 # -----------------------
19850 # Set $? to STATUS, without forking.
19851 as_fn_set_status
()
19854 } # as_fn_set_status
19856 # as_fn_exit STATUS
19857 # -----------------
19858 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19862 as_fn_set_status
$1
19868 # Portably unset VAR.
19871 { eval $1=; unset $1;}
19873 as_unset
=as_fn_unset
19874 # as_fn_append VAR VALUE
19875 # ----------------------
19876 # Append the text in VALUE to the end of the definition contained in VAR. Take
19877 # advantage of any shell optimizations that allow amortized linear growth over
19878 # repeated appends, instead of the typical quadratic growth present in naive
19880 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19881 eval 'as_fn_append ()
19892 # as_fn_arith ARG...
19893 # ------------------
19894 # Perform arithmetic evaluation on the ARGs, and store the result in the
19895 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19896 # must be portable across $(()) and expr.
19897 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19898 eval 'as_fn_arith ()
19905 as_val
=`expr "$@" || test $? -eq 1`
19910 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19911 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19917 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19918 as_basename
=basename
19923 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19929 as_me
=`$as_basename -- "$0" ||
19930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19931 X"$0" : 'X\(//\)$' \| \
19932 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19934 sed '/^.*\/\([^/][^/]*\)\/*$/{
19948 # Avoid depending upon Character Ranges.
19949 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19950 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19951 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19952 as_cr_digits
='0123456789'
19953 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19955 ECHO_C
= ECHO_N
= ECHO_T
=
19956 case `echo -n x` in #(((((
19958 case `echo 'xy\c'` in
19959 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19961 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19968 rm -f conf$$ conf$$.exe conf$$.
file
19969 if test -d conf$$.dir
; then
19970 rm -f conf$$.dir
/conf$$.
file
19973 mkdir conf$$.dir
2>/dev
/null
19975 if (echo >conf$$.
file) 2>/dev
/null
; then
19976 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19978 # ... but there are two gotchas:
19979 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19980 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19981 # In both cases, we have to default to `cp -p'.
19982 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
19984 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19992 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19993 rmdir conf$$.dir
2>/dev
/null
19998 # Create "$as_dir" as a directory, including parents if necessary.
20003 -*) as_dir
=.
/$as_dir;;
20005 test -d "$as_dir" || eval $as_mkdir_p || {
20009 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20010 *) as_qdir
=$as_dir;;
20012 as_dirs
="'$as_qdir' $as_dirs"
20013 as_dir
=`$as_dirname -- "$as_dir" ||
20014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20015 X"$as_dir" : 'X\(//\)[^/]' \| \
20016 X"$as_dir" : 'X\(//\)$' \| \
20017 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20018 $as_echo X"$as_dir" |
20019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20023 /^X\(\/\/\)[^/].*/{
20036 test -d "$as_dir" && break
20038 test -z "$as_dirs" || eval "mkdir $as_dirs"
20039 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20043 if mkdir -p .
2>/dev
/null
; then
20044 as_mkdir_p
='mkdir -p "$as_dir"'
20046 test -d .
/-p && rmdir .
/-p
20050 if test -x / >/dev
/null
2>&1; then
20051 as_test_x
='test -x'
20053 if ls -dL / >/dev
/null
2>&1; then
20060 if test -d "$1"; then
20066 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20067 ???[sx]*):;;*)false;;esac;fi
20071 as_executable_p
=$as_test_x
20073 # Sed expression to map a string onto a valid CPP name.
20074 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20076 # Sed expression to map a string onto a valid variable name.
20077 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20081 ## ----------------------------------- ##
20082 ## Main body of $CONFIG_STATUS script. ##
20083 ## ----------------------------------- ##
20085 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20087 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20088 # Save the log message, to keep $0 and so on meaningful, and to
20089 # report actual input values of CONFIG_FILES etc. instead of their
20090 # values after options handling.
20092 This file was extended by Cycript $as_me 0.9, which was
20093 generated by GNU Autoconf 2.67. Invocation command line was
20095 CONFIG_FILES = $CONFIG_FILES
20096 CONFIG_HEADERS = $CONFIG_HEADERS
20097 CONFIG_LINKS = $CONFIG_LINKS
20098 CONFIG_COMMANDS = $CONFIG_COMMANDS
20101 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20106 case $ac_config_files in *"
20107 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20113 # Files that config.status was made for.
20114 config_files="$ac_config_files"
20115 config_commands="$ac_config_commands"
20119 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20121 \`$as_me' instantiates files and other configuration actions
20122 from templates according to the current configuration. Unless the files
20123 and actions are specified as TAGs, all are instantiated by default.
20125 Usage: $0 [OPTION]... [TAG]...
20127 -h, --help print this help, then exit
20128 -V, --version print version number and configuration settings, then exit
20129 --config print configuration, then exit
20130 -q, --quiet, --silent
20131 do not print progress messages
20132 -d, --debug don't remove temporary files
20133 --recheck update $as_me by reconfiguring in the same conditions
20134 --file=FILE[:TEMPLATE]
20135 instantiate the configuration file FILE
20137 Configuration files:
20140 Configuration commands:
20143 Report bugs to <saurik@saurik.com>.
20144 Cycript home page: <http://www.cycript.org/>."
20147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20150 Cycript config.status 0.9
20151 configured by $0, generated by GNU Autoconf 2.67,
20152 with options \\"\$ac_cs_config\\"
20154 Copyright (C) 2010 Free Software Foundation, Inc.
20155 This config.status script is free software; the Free Software Foundation
20156 gives unlimited permission to copy, distribute and modify it."
20161 test -n "\$AWK" || AWK=awk
20164 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20165 # The default lists apply if the user does not specify any file.
20171 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20172 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20176 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20188 # Handling of the options.
20189 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20191 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20192 $as_echo "$ac_cs_version"; exit ;;
20193 --config | --confi | --conf | --con | --co | --c )
20194 $as_echo "$ac_cs_config"; exit ;;
20195 --debug | --debu | --deb | --de | --d | -d )
20197 --file | --fil | --fi | --f )
20200 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20201 '') as_fn_error $?
"missing file argument" ;;
20203 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20204 ac_need_defaults
=false
;;
20205 --he | --h | --help | --hel | -h )
20206 $as_echo "$ac_cs_usage"; exit ;;
20207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20208 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20211 # This is an error.
20212 -*) as_fn_error $?
"unrecognized option: \`$1'
20213 Try \`$0 --help' for more information." ;;
20215 *) as_fn_append ac_config_targets
" $1"
20216 ac_need_defaults
=false
;;
20222 ac_configure_extra_args
=
20224 if $ac_cs_silent; then
20226 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20231 if \$ac_cs_recheck; then
20232 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20234 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20235 CONFIG_SHELL='$SHELL'
20236 export CONFIG_SHELL
20241 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20245 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20246 ## Running $as_me. ##
20252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20258 # The HP-UX ksh and POSIX shell print the target directory to stdout
20259 # if CDPATH is set.
20260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20262 sed_quote_subst='$sed_quote_subst'
20263 double_quote_subst='$double_quote_subst'
20264 delay_variable_subst='$delay_variable_subst'
20265 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20266 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20267 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20268 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20269 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20270 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20271 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20272 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20273 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20274 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20275 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20276 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20277 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20278 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20279 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20280 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20281 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20282 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20283 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20284 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20285 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20286 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20287 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20288 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20289 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20290 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20291 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20292 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20293 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20294 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20295 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20296 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20297 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20298 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20299 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20300 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20301 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20302 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20303 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20304 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20305 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20306 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20307 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20308 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20309 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"`'
20310 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"`'
20311 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20312 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20313 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20314 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20315 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20316 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20317 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20318 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20319 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20320 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20321 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20322 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20323 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20324 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20325 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20326 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20327 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20328 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20329 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20330 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20331 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20332 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20333 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20334 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20335 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20336 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20337 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20338 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20339 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20340 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20341 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20342 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20343 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20344 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20345 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20346 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20347 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20348 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20349 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20350 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20351 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20352 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20353 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20354 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20355 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20356 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20357 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20358 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20359 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20360 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20361 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20362 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20363 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20364 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20365 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20366 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20367 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20368 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20369 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20370 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20371 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20372 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20373 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20374 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20375 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20376 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20377 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20378 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20379 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20380 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20381 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20382 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20383 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20384 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20385 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20386 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20387 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20388 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20389 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20390 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20391 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20392 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20393 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20394 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20395 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20396 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20397 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20398 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20399 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20400 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20401 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20402 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20403 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20404 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20405 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20406 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20407 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20408 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20409 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20410 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20411 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20412 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20413 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20414 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20415 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20416 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20417 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20418 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20419 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20420 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20421 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20422 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20423 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20424 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20425 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20426 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20427 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20428 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20429 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20430 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20431 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20432 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20433 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20434 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20435 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20438 LTCFLAGS='$LTCFLAGS'
20439 compiler='$compiler_DEFAULT'
20441 # Quote evaled strings.
20453 deplibs_check_method \
20462 lt_cv_sys_global_symbol_pipe \
20463 lt_cv_sys_global_symbol_to_cdecl \
20464 lt_cv_sys_global_symbol_to_c_name_address \
20465 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20468 lt_prog_compiler_no_builtin_flag \
20469 lt_prog_compiler_wl \
20470 lt_prog_compiler_pic \
20471 lt_prog_compiler_static \
20472 lt_cv_prog_compiler_c_o \
20480 export_dynamic_flag_spec \
20481 whole_archive_flag_spec \
20482 compiler_needs_object \
20484 allow_undefined_flag \
20485 no_undefined_flag \
20486 hardcode_libdir_flag_spec \
20487 hardcode_libdir_flag_spec_ld \
20488 hardcode_libdir_separator \
20493 variables_saved_for_relink \
20495 library_names_spec \
20500 compiler_lib_search_dirs \
20505 compiler_lib_search_path \
20508 lt_prog_compiler_no_builtin_flag_CXX \
20509 lt_prog_compiler_wl_CXX \
20510 lt_prog_compiler_pic_CXX \
20511 lt_prog_compiler_static_CXX \
20512 lt_cv_prog_compiler_c_o_CXX \
20513 export_dynamic_flag_spec_CXX \
20514 whole_archive_flag_spec_CXX \
20515 compiler_needs_object_CXX \
20517 allow_undefined_flag_CXX \
20518 no_undefined_flag_CXX \
20519 hardcode_libdir_flag_spec_CXX \
20520 hardcode_libdir_flag_spec_ld_CXX \
20521 hardcode_libdir_separator_CXX \
20522 fix_srcfile_path_CXX \
20523 exclude_expsyms_CXX \
20524 include_expsyms_CXX \
20525 file_list_spec_CXX \
20526 compiler_lib_search_dirs_CXX \
20527 predep_objects_CXX \
20528 postdep_objects_CXX \
20531 compiler_lib_search_path_CXX; do
20532 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20533 *[\\\\\\\`\\"\\\$]*)
20534 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20537 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20542 # Double-quote double-evaled strings.
20543 for var in reload_cmds \
20544 old_postinstall_cmds \
20545 old_postuninstall_cmds \
20547 extract_expsyms_cmds \
20548 old_archive_from_new_cmds \
20549 old_archive_from_expsyms_cmds \
20551 archive_expsym_cmds \
20553 module_expsym_cmds \
20554 export_symbols_cmds \
20557 postuninstall_cmds \
20559 sys_lib_search_path_spec \
20560 sys_lib_dlsearch_path_spec \
20561 old_archive_cmds_CXX \
20562 old_archive_from_new_cmds_CXX \
20563 old_archive_from_expsyms_cmds_CXX \
20565 archive_expsym_cmds_CXX \
20567 module_expsym_cmds_CXX \
20568 export_symbols_cmds_CXX \
20569 prelink_cmds_CXX; do
20570 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20571 *[\\\\\\\`\\"\\\$]*)
20572 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20575 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20580 # Fix-up fallback echo if it was mangled by the above quoting rules.
20582 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20586 ac_aux_dir='$ac_aux_dir'
20587 xsi_shell='$xsi_shell'
20588 lt_shell_append='$lt_shell_append'
20590 # See if we are running on zsh, and set the options which allow our
20591 # commands through without removal of \ escapes INIT.
20592 if test -n "\${ZSH_VERSION+set}" ; then
20593 setopt NO_GLOB_SUBST
20599 TIMESTAMP='$TIMESTAMP'
20610 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20612 # Handling of arguments.
20613 for ac_config_target
in $ac_config_targets
20615 case $ac_config_target in
20616 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20617 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20618 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
20620 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
20625 # If the user did not use the arguments to specify the items to instantiate,
20626 # then the envvar interface is used. Set only those that are not.
20627 # We use the long form for the default assignment because of an extremely
20628 # bizarre bug on SunOS 4.1.3.
20629 if $ac_need_defaults; then
20630 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20631 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20634 # Have a temporary directory for convenience. Make it in the build tree
20635 # simply because there is no reason against having it here, and in addition,
20636 # creating and moving files from /tmp can sometimes cause problems.
20637 # Hook for its removal unless debugging.
20638 # Note that there is a small window in which the directory will not be cleaned:
20639 # after its creation but before its name has been assigned to `$tmp'.
20643 trap 'exit_status=$?
20644 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20646 trap 'as_fn_exit 1' 1 2 13 15
20648 # Create a (secure) tmp directory for tmp files.
20651 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20652 test -n "$tmp" && test -d "$tmp"
20655 tmp
=.
/conf$$
-$RANDOM
20656 (umask 077 && mkdir "$tmp")
20657 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20659 # Set up the scripts for CONFIG_FILES section.
20660 # No need to generate them if there are no CONFIG_FILES.
20661 # This happens for instance with `./config.status config.h'.
20662 if test -n "$CONFIG_FILES"; then
20665 ac_cr
=`echo X | tr X '\015'`
20666 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20667 # But we know of no other shell where ac_cr would be empty at this
20668 # point, so we can use a bashism as a fallback.
20669 if test "x$ac_cr" = x
; then
20670 eval ac_cr
=\$
\'\\r
\'
20672 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20673 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20676 ac_cs_awk_cr
=$ac_cr
20679 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20684 echo "cat >conf$$subs.awk <<_ACEOF" &&
20685 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20687 } >conf$$subs.sh ||
20688 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20689 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20691 for ac_last_try in false false false false false :; do
20692 . ./conf$$subs.sh ||
20693 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20695 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20696 if test $ac_delim_n = $ac_delim_num; then
20698 elif $ac_last_try; then
20699 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20701 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20704 rm -f conf$$subs.sh
20706 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20707 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20711 s/^/S["/; s
/!.
*/"]=/
20721 s/\(.\{148\}\)..*/\1/
20723 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20728 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20735 s/\(.\{148\}\)..*/\1/
20737 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20741 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20746 ' <conf$$subs.awk | sed '
20751 ' >>$CONFIG_STATUS || ac_write_fail=1
20752 rm -f conf$$subs.awk
20753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20755 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20756 for (key in S) S_is_set[key] = 1
20762 nfields = split(line, field, "@
")
20764 len = length(field[1])
20765 for (i = 2; i < nfields; i++) {
20767 keylen = length(key)
20768 if (S_is_set[key]) {
20770 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20771 len += length(value) + length(field[++i])
20782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20783 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20784 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20787 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20788 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
20791 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20792 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
20793 # trailing colons and then remove the whole line if VPATH becomes empty
20794 # (actually we leave an empty line to preserve line numbers).
20795 if test "x
$srcdir" = x.; then
20796 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20815 fi # test -n "$CONFIG_FILES"
20818 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
20823 :[FHLC]) ac_mode=$ac_tag; continue;;
20825 case $ac_mode$ac_tag in
20827 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5 ;;
20828 :[FH]-) ac_tag=-:-;;
20829 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20846 -) ac_f="$tmp/stdin";;
20847 *) # Look for the file first in the build tree, then in the source tree
20848 # (if the path is not absolute). The absolute path cannot be DOS-style,
20849 # because $ac_f cannot contain `:'.
20853 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20855 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
20857 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
20858 as_fn_append ac_file_inputs " '$ac_f'"
20861 # Let's still pretend it is `configure' which instantiates (i.e., don't
20862 # use $as_me), people would be surprised to read:
20863 # /* config.h. Generated by config.status. */
20864 configure_input='Generated from '`
20865 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20867 if test x"$ac_file" != x-; then
20868 configure_input="$ac_file.
$configure_input"
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
20870 $as_echo "$as_me: creating
$ac_file" >&6;}
20872 # Neutralize special characters interpreted by sed in replacement strings.
20873 case $configure_input in #(
20874 *\&* | *\|* | *\\* )
20875 ac_sed_conf_input=`$as_echo "$configure_input" |
20876 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20877 *) ac_sed_conf_input=$configure_input;;
20881 *:-:* | *:-) cat >"$tmp/stdin
" \
20882 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
20887 ac_dir=`$as_dirname -- "$ac_file" ||
20888 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20889 X"$ac_file" : 'X\(//\)[^/]' \| \
20890 X"$ac_file" : 'X\(//\)$' \| \
20891 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20892 $as_echo X"$ac_file" |
20893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20897 /^X\(\/\/\)[^/].*/{
20910 as_dir="$ac_dir"; as_fn_mkdir_p
20914 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20916 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20917 # A "..
" for each directory in $ac_dir_suffix.
20918 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20919 case $ac_top_builddir_sub in
20920 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20921 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20924 ac_abs_top_builddir=$ac_pwd
20925 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20926 # for backward compatibility:
20927 ac_top_builddir=$ac_top_build_prefix
20930 .) # We are building in place.
20932 ac_top_srcdir=$ac_top_builddir_sub
20933 ac_abs_top_srcdir=$ac_pwd ;;
20934 [\\/]* | ?:[\\/]* ) # Absolute name.
20935 ac_srcdir=$srcdir$ac_dir_suffix;
20936 ac_top_srcdir=$srcdir
20937 ac_abs_top_srcdir=$srcdir ;;
20938 *) # Relative name.
20939 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20940 ac_top_srcdir=$ac_top_build_prefix$srcdir
20941 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20943 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20953 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20954 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20959 # If the template does not know about datarootdir, expand it.
20960 # FIXME: This hack should be removed a few years after 2.60.
20961 ac_datarootdir_hack=; ac_datarootdir_seen=
20972 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
20973 *datarootdir*) ac_datarootdir_seen=yes;;
20974 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
20976 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
20978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20979 ac_datarootdir_hack='
20980 s&@datadir@&$datadir&g
20981 s&@docdir@&$docdir&g
20982 s&@infodir@&$infodir&g
20983 s&@localedir@&$localedir&g
20984 s&@mandir@&$mandir&g
20985 s&\\\${datarootdir}&$datarootdir&g' ;;
20989 # Neutralize VPATH when `$srcdir' = `.'.
20990 # Shell code in configure.ac might set extrasub.
20991 # FIXME: do we really want to maintain this feature?
20992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20993 ac_sed_extra="$ac_vpsub
20996 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20998 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
20999 s
|@configure_input@
|$ac_sed_conf_input|;t t
21000 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21001 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21002 s
&@srcdir@
&$ac_srcdir&;t t
21003 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21004 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21005 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21006 s
&@builddir@
&$ac_builddir&;t t
21007 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21008 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21009 s
&@INSTALL@
&$ac_INSTALL&;t t
21010 $ac_datarootdir_hack
21012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21013 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21016 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21019 which seems to be undefined. Please make sure it is defined" >&5
21020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21021 which seems to be undefined. Please make sure it is defined" >&2;}
21025 -) cat "$tmp/out" && rm -f "$tmp/out";;
21026 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21028 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21033 $as_echo "$as_me: executing $ac_file commands" >&6;}
21038 case $ac_file$ac_mode in
21041 # See if we are running on zsh, and set the options which allow our
21042 # commands through without removal of \ escapes.
21043 if test -n "${ZSH_VERSION+set}" ; then
21044 setopt NO_GLOB_SUBST
21047 cfgfile="${ofile}T"
21048 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21051 cat <<_LT_EOF >> "$cfgfile"
21054 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21055 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21056 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21057 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21059 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21060 # 2006, 2007, 2008 Free Software Foundation, Inc.
21061 # Written by Gordon Matzigkeit, 1996
21063 # This file is part of GNU Libtool.
21065 # GNU Libtool is free software; you can redistribute it and/or
21066 # modify it under the terms of the GNU General Public License as
21067 # published by the Free Software Foundation; either version 2 of
21068 # the License, or (at your option) any later version.
21070 # As a special exception to the GNU General Public License,
21071 # if you distribute this file as part of a program or library that
21072 # is built using GNU Libtool, you may include this file under the
21073 # same distribution terms that you use for the rest of that program.
21075 # GNU Libtool is distributed in the hope that it will be useful,
21076 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21077 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21078 # GNU General Public License for more details.
21080 # You should have received a copy of the GNU General Public License
21081 # along with GNU Libtool; see the file COPYING. If not, a copy
21082 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21083 # obtained by writing to the Free Software Foundation, Inc.,
21084 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21087 # The names of the tagged configurations supported by this script.
21088 available_tags="CXX "
21090 # ### BEGIN LIBTOOL CONFIG
21092 # Which release of libtool.m4 was used?
21093 macro_version=$macro_version
21094 macro_revision=$macro_revision
21096 # Whether or not to build static libraries.
21097 build_old_libs=$enable_static
21099 # Whether or not to build shared libraries.
21100 build_libtool_libs=$enable_shared
21102 # What type of objects to build.
21105 # Whether or not to optimize for fast installation.
21106 fast_install=$enable_fast_install
21109 host_alias=$host_alias
21113 # The build system.
21114 build_alias=$build_alias
21118 # A sed program that does not truncate output.
21121 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21122 Xsed="\$SED -e 1s/^X//"
21124 # A grep program that handles long lines.
21130 # A literal string matcher.
21133 # A BSD- or MS-compatible name lister.
21136 # Whether we need soft or hard links.
21139 # What is the maximum length of a command?
21140 max_cmd_len=$max_cmd_len
21142 # Object file suffix (normally "o").
21145 # Executable file suffix (normally "").
21148 # whether the shell understands "unset".
21151 # turn spaces into newlines.
21154 # turn newlines into spaces.
21157 # How to create reloadable object files.
21158 reload_flag=$lt_reload_flag
21159 reload_cmds=$lt_reload_cmds
21161 # An object symbol dumper.
21162 OBJDUMP=$lt_OBJDUMP
21164 # Method to check whether dependent libraries are shared objects.
21165 deplibs_check_method=$lt_deplibs_check_method
21167 # Command to use when deplibs_check_method == "file_magic".
21168 file_magic_cmd=$lt_file_magic_cmd
21172 AR_FLAGS=$lt_AR_FLAGS
21174 # A symbol stripping program.
21177 # Commands used to install an old-style archive.
21179 old_postinstall_cmds=$lt_old_postinstall_cmds
21180 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21185 # LTCC compiler flags.
21186 LTCFLAGS=$lt_CFLAGS
21188 # Take the output of nm and produce a listing of raw symbols and C names.
21189 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21191 # Transform the output of nm in a proper C declaration.
21192 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21194 # Transform the output of nm in a C name address pair.
21195 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21197 # Transform the output of nm in a C name address pair when lib prefix is needed.
21198 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21200 # The name of the directory that contains temporary libtool files.
21203 # Shell to use when invoking shell scripts.
21206 # An echo program that does not interpret backslashes.
21209 # Used to examine libraries when file_magic_cmd begins with "file".
21210 MAGIC_CMD=$MAGIC_CMD
21212 # Must we lock files when doing compilation?
21213 need_locks=$lt_need_locks
21215 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21216 DSYMUTIL=$lt_DSYMUTIL
21218 # Tool to change global to local symbols on Mac OS X.
21221 # Tool to manipulate fat objects and archives on Mac OS X.
21224 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21227 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21228 OTOOL64=$lt_OTOOL64
21230 # Old archive suffix (normally "a").
21233 # Shared library suffix (normally ".so").
21234 shrext_cmds=$lt_shrext_cmds
21236 # The commands to extract the exported symbol list from a shared archive.
21237 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21239 # Variables whose values should be saved in libtool wrapper scripts and
21240 # restored at link time.
21241 variables_saved_for_relink=$lt_variables_saved_for_relink
21243 # Do we need the "lib" prefix for modules?
21244 need_lib_prefix=$need_lib_prefix
21246 # Do we need a version for libraries?
21247 need_version=$need_version
21249 # Library versioning type.
21250 version_type=$version_type
21252 # Shared library runtime path variable.
21253 runpath_var=$runpath_var
21255 # Shared library path variable.
21256 shlibpath_var=$shlibpath_var
21258 # Is shlibpath searched before the hard-coded library search path?
21259 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21261 # Format of library name prefix.
21262 libname_spec=$lt_libname_spec
21264 # List of archive names. First name is the real one, the rest are links.
21265 # The last name is the one that the linker finds with -lNAME
21266 library_names_spec=$lt_library_names_spec
21268 # The coded name of the library, if different from the real name.
21269 soname_spec=$lt_soname_spec
21271 # Command to use after installation of a shared archive.
21272 postinstall_cmds=$lt_postinstall_cmds
21274 # Command to use after uninstallation of a shared archive.
21275 postuninstall_cmds=$lt_postuninstall_cmds
21277 # Commands used to finish a libtool library installation in a directory.
21278 finish_cmds=$lt_finish_cmds
21280 # As "finish_cmds", except a single script fragment to be evaled but
21282 finish_eval=$lt_finish_eval
21284 # Whether we should hardcode library paths into libraries.
21285 hardcode_into_libs=$hardcode_into_libs
21287 # Compile-time system search path for libraries.
21288 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21290 # Run-time system search path for libraries.
21291 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21293 # Whether dlopen is supported.
21294 dlopen_support=$enable_dlopen
21296 # Whether dlopen of programs is supported.
21297 dlopen_self=$enable_dlopen_self
21299 # Whether dlopen of statically linked programs is supported.
21300 dlopen_self_static=$enable_dlopen_self_static
21302 # Commands to strip libraries.
21303 old_striplib=$lt_old_striplib
21304 striplib=$lt_striplib
21307 # The linker used to build libraries.
21310 # Commands used to build an old-style archive.
21311 old_archive_cmds=$lt_old_archive_cmds
21313 # A language specific compiler.
21316 # Is the compiler the GNU compiler?
21319 # Compiler flag to turn off builtin functions.
21320 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21322 # How to pass a linker flag through the compiler.
21323 wl=$lt_lt_prog_compiler_wl
21325 # Additional compiler flags for building library objects.
21326 pic_flag=$lt_lt_prog_compiler_pic
21328 # Compiler flag to prevent dynamic linking.
21329 link_static_flag=$lt_lt_prog_compiler_static
21331 # Does compiler simultaneously support -c and -o options?
21332 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21334 # Whether or not to add -lc for building shared libraries.
21335 build_libtool_need_lc=$archive_cmds_need_lc
21337 # Whether or not to disallow shared libs when runtime libs are static.
21338 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21340 # Compiler flag to allow reflexive dlopens.
21341 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21343 # Compiler flag to generate shared objects directly from archives.
21344 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21346 # Whether the compiler copes with passing no objects directly.
21347 compiler_needs_object=$lt_compiler_needs_object
21349 # Create an old-style archive from a shared archive.
21350 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21352 # Create a temporary old-style archive to link instead of a shared archive.
21353 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21355 # Commands used to build a shared archive.
21356 archive_cmds=$lt_archive_cmds
21357 archive_expsym_cmds=$lt_archive_expsym_cmds
21359 # Commands used to build a loadable module if different from building
21360 # a shared archive.
21361 module_cmds=$lt_module_cmds
21362 module_expsym_cmds=$lt_module_expsym_cmds
21364 # Whether we are building with GNU ld or not.
21365 with_gnu_ld=$lt_with_gnu_ld
21367 # Flag that allows shared libraries with undefined symbols to be built.
21368 allow_undefined_flag=$lt_allow_undefined_flag
21370 # Flag that enforces no undefined symbols.
21371 no_undefined_flag=$lt_no_undefined_flag
21373 # Flag to hardcode \$libdir into a binary during linking.
21374 # This must work even if \$libdir does not exist
21375 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21377 # If ld is used when linking, flag to hardcode \$libdir into a binary
21378 # during linking. This must work even if \$libdir does not exist.
21379 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21381 # Whether we need a single "-rpath" flag with a separated argument.
21382 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21384 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21385 # DIR into the resulting binary.
21386 hardcode_direct=$hardcode_direct
21388 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21389 # DIR into the resulting binary and the resulting library dependency is
21390 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21391 # library is relocated.
21392 hardcode_direct_absolute=$hardcode_direct_absolute
21394 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21395 # into the resulting binary.
21396 hardcode_minus_L=$hardcode_minus_L
21398 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21399 # into the resulting binary.
21400 hardcode_shlibpath_var=$hardcode_shlibpath_var
21402 # Set to "yes" if building a shared library automatically hardcodes DIR
21403 # into the library and all subsequent libraries and executables linked
21405 hardcode_automatic=$hardcode_automatic
21407 # Set to yes if linker adds runtime paths of dependent libraries
21408 # to runtime path list.
21409 inherit_rpath=$inherit_rpath
21411 # Whether libtool must link a program against all its dependency libraries.
21412 link_all_deplibs=$link_all_deplibs
21414 # Fix the shell variable \$srcfile for the compiler.
21415 fix_srcfile_path=$lt_fix_srcfile_path
21417 # Set to "yes" if exported symbols are required.
21418 always_export_symbols=$always_export_symbols
21420 # The commands to list exported symbols.
21421 export_symbols_cmds=$lt_export_symbols_cmds
21423 # Symbols that should not be listed in the preloaded symbols.
21424 exclude_expsyms=$lt_exclude_expsyms
21426 # Symbols that must always be exported.
21427 include_expsyms=$lt_include_expsyms
21429 # Commands necessary for linking programs (against libraries) with templates.
21430 prelink_cmds=$lt_prelink_cmds
21432 # Specify filename containing input files.
21433 file_list_spec=$lt_file_list_spec
21435 # How to hardcode a shared library path into an executable.
21436 hardcode_action=$hardcode_action
21438 # The directories searched by this compiler when creating a shared library.
21439 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21441 # Dependencies to place before and after the objects being linked to
21442 # create a shared library.
21443 predep_objects=$lt_predep_objects
21444 postdep_objects=$lt_postdep_objects
21445 predeps=$lt_predeps
21446 postdeps=$lt_postdeps
21448 # The library search path used internally by the compiler when linking
21449 # a shared library.
21450 compiler_lib_search_path=$lt_compiler_lib_search_path
21452 # ### END LIBTOOL CONFIG
21458 cat <<\_LT_EOF >> "$cfgfile"
21459 # AIX sometimes has problems with the GCC collect2 program. For some
21460 # reason, if we set the COLLECT_NAMES environment variable, the problems
21461 # vanish in a puff of smoke.
21462 if test "X${COLLECT_NAMES+set}" != Xset; then
21464 export COLLECT_NAMES
21471 ltmain="$ac_aux_dir/ltmain.sh"
21474 # We use sed instead of cat because bash on DJGPP gets confused if
21475 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21476 # text mode, it properly converts lines to CR/LF. This bash problem
21477 # is reportedly fixed, but why not run on old versions too?
21478 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21479 || (rm -f "$cfgfile"; exit 1)
21483 cat << \_LT_EOF
>> "$cfgfile"
21485 # func_dirname file append nondir_replacement
21486 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21487 # otherwise set result to NONDIR_REPLACEMENT.
21491 */*) func_dirname_result
="${1%/*}${2}" ;;
21492 * ) func_dirname_result
="${3}" ;;
21496 # func_basename file
21499 func_basename_result
="${1##*/}"
21502 # func_dirname_and_basename file append nondir_replacement
21503 # perform func_basename and func_dirname in a single function
21505 # dirname: Compute the dirname of FILE. If nonempty,
21506 # add APPEND to the result, otherwise set result
21507 # to NONDIR_REPLACEMENT.
21508 # value returned in "$func_dirname_result"
21509 # basename: Compute filename of FILE.
21510 # value retuned in "$func_basename_result"
21511 # Implementation must be kept synchronized with func_dirname
21512 # and func_basename. For efficiency, we do not delegate to
21513 # those functions but instead duplicate the functionality here.
21514 func_dirname_and_basename
()
21517 */*) func_dirname_result
="${1%/*}${2}" ;;
21518 * ) func_dirname_result
="${3}" ;;
21520 func_basename_result
="${1##*/}"
21523 # func_stripname prefix suffix name
21524 # strip PREFIX and SUFFIX off of NAME.
21525 # PREFIX and SUFFIX must not contain globbing or regex special
21526 # characters, hashes, percent signs, but SUFFIX may contain a leading
21527 # dot (in which case that matches only a dot).
21530 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21531 # positional parameters, so assign one to ordinary parameter first.
21532 func_stripname_result
=${3}
21533 func_stripname_result
=${func_stripname_result#"${1}"}
21534 func_stripname_result
=${func_stripname_result%"${2}"}
21540 func_opt_split_opt
=${1%%=*}
21541 func_opt_split_arg
=${1#*=}
21548 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21549 *) func_lo2o_result
=${1} ;;
21553 # func_xform libobj-or-source
21556 func_xform_result
=${1%.*}.lo
21559 # func_arith arithmetic-term...
21562 func_arith_result
=$(( $* ))
21566 # STRING may not start with a hyphen.
21569 func_len_result
=${#1}
21574 *) # Bourne compatible functions.
21575 cat << \_LT_EOF
>> "$cfgfile"
21577 # func_dirname file append nondir_replacement
21578 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21579 # otherwise set result to NONDIR_REPLACEMENT.
21582 # Extract subdirectory from the argument.
21583 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21584 if test "X$func_dirname_result" = "X${1}"; then
21585 func_dirname_result
="${3}"
21587 func_dirname_result
="$func_dirname_result${2}"
21591 # func_basename file
21594 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21598 # func_stripname prefix suffix name
21599 # strip PREFIX and SUFFIX off of NAME.
21600 # PREFIX and SUFFIX must not contain globbing or regex special
21601 # characters, hashes, percent signs, but SUFFIX may contain a leading
21602 # dot (in which case that matches only a dot).
21603 # func_strip_suffix prefix name
21607 .
*) func_stripname_result
=`$ECHO "X${3}" \
21608 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21609 *) func_stripname_result
=`$ECHO "X${3}" \
21610 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21615 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21616 my_sed_long_arg
='1s/^-[^=]*=//'
21621 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21622 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21628 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21631 # func_xform libobj-or-source
21634 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21637 # func_arith arithmetic-term...
21640 func_arith_result
=`expr "$@"`
21644 # STRING may not start with a hyphen.
21647 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21653 case $lt_shell_append in
21655 cat << \_LT_EOF
>> "$cfgfile"
21657 # func_append var value
21658 # Append VALUE to the end of shell variable VAR.
21666 cat << \_LT_EOF
>> "$cfgfile"
21668 # func_append var value
21669 # Append VALUE to the end of shell variable VAR.
21680 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21681 || (rm -f "$cfgfile"; exit 1)
21683 mv -f "$cfgfile" "$ofile" ||
21684 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21688 cat <<_LT_EOF >> "$ofile"
21690 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21692 # The linker used to build libraries.
21695 # Commands used to build an old-style archive.
21696 old_archive_cmds=$lt_old_archive_cmds_CXX
21698 # A language specific compiler.
21699 CC=$lt_compiler_CXX
21701 # Is the compiler the GNU compiler?
21704 # Compiler flag to turn off builtin functions.
21705 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21707 # How to pass a linker flag through the compiler.
21708 wl=$lt_lt_prog_compiler_wl_CXX
21710 # Additional compiler flags for building library objects.
21711 pic_flag=$lt_lt_prog_compiler_pic_CXX
21713 # Compiler flag to prevent dynamic linking.
21714 link_static_flag=$lt_lt_prog_compiler_static_CXX
21716 # Does compiler simultaneously support -c and -o options?
21717 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21719 # Whether or not to add -lc for building shared libraries.
21720 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21722 # Whether or not to disallow shared libs when runtime libs are static.
21723 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21725 # Compiler flag to allow reflexive dlopens.
21726 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21728 # Compiler flag to generate shared objects directly from archives.
21729 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21731 # Whether the compiler copes with passing no objects directly.
21732 compiler_needs_object=$lt_compiler_needs_object_CXX
21734 # Create an old-style archive from a shared archive.
21735 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21737 # Create a temporary old-style archive to link instead of a shared archive.
21738 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21740 # Commands used to build a shared archive.
21741 archive_cmds=$lt_archive_cmds_CXX
21742 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21744 # Commands used to build a loadable module if different from building
21745 # a shared archive.
21746 module_cmds=$lt_module_cmds_CXX
21747 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21749 # Whether we are building with GNU ld or not.
21750 with_gnu_ld=$lt_with_gnu_ld_CXX
21752 # Flag that allows shared libraries with undefined symbols to be built.
21753 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21755 # Flag that enforces no undefined symbols.
21756 no_undefined_flag=$lt_no_undefined_flag_CXX
21758 # Flag to hardcode \$libdir into a binary during linking.
21759 # This must work even if \$libdir does not exist
21760 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21762 # If ld is used when linking, flag to hardcode \$libdir into a binary
21763 # during linking. This must work even if \$libdir does not exist.
21764 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21766 # Whether we need a single "-rpath" flag with a separated argument.
21767 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21769 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21770 # DIR into the resulting binary.
21771 hardcode_direct=$hardcode_direct_CXX
21773 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21774 # DIR into the resulting binary and the resulting library dependency is
21775 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21776 # library is relocated.
21777 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21779 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21780 # into the resulting binary.
21781 hardcode_minus_L=$hardcode_minus_L_CXX
21783 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21784 # into the resulting binary.
21785 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21787 # Set to "yes" if building a shared library automatically hardcodes DIR
21788 # into the library and all subsequent libraries and executables linked
21790 hardcode_automatic=$hardcode_automatic_CXX
21792 # Set to yes if linker adds runtime paths of dependent libraries
21793 # to runtime path list.
21794 inherit_rpath=$inherit_rpath_CXX
21796 # Whether libtool must link a program against all its dependency libraries.
21797 link_all_deplibs=$link_all_deplibs_CXX
21799 # Fix the shell variable \$srcfile for the compiler.
21800 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21802 # Set to "yes" if exported symbols are required.
21803 always_export_symbols=$always_export_symbols_CXX
21805 # The commands to list exported symbols.
21806 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21808 # Symbols that should not be listed in the preloaded symbols.
21809 exclude_expsyms=$lt_exclude_expsyms_CXX
21811 # Symbols that must always be exported.
21812 include_expsyms=$lt_include_expsyms_CXX
21814 # Commands necessary for linking programs (against libraries) with templates.
21815 prelink_cmds=$lt_prelink_cmds_CXX
21817 # Specify filename containing input files.
21818 file_list_spec=$lt_file_list_spec_CXX
21820 # How to hardcode a shared library path into an executable.
21821 hardcode_action=$hardcode_action_CXX
21823 # The directories searched by this compiler when creating a shared library.
21824 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21826 # Dependencies to place before and after the objects being linked to
21827 # create a shared library.
21828 predep_objects=$lt_predep_objects_CXX
21829 postdep_objects=$lt_postdep_objects_CXX
21830 predeps=$lt_predeps_CXX
21831 postdeps=$lt_postdeps_CXX
21833 # The library search path used internally by the compiler when linking
21834 # a shared library.
21835 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21837 # ### END LIBTOOL TAG CONFIG: CXX
21848 ac_clean_files
=$ac_clean_files_save
21850 test $ac_write_fail = 0 ||
21851 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21854 # configure is writing to config.log, and then calls config.status.
21855 # config.status does its own redirection, appending to config.log.
21856 # Unfortunately, on DOS this fails, as config.log is still kept open
21857 # by configure, so config.status won't be able to write to it; its
21858 # output is simply discarded. So we exec the FD to /dev/null,
21859 # effectively closing config.log, so it can be properly (re)opened and
21860 # appended to by config.status. When coming back to configure, we
21861 # need to make the FD available again.
21862 if test "$no_create" != yes; then
21864 ac_config_status_args
=
21865 test "$silent" = yes &&
21866 ac_config_status_args
="$ac_config_status_args --quiet"
21868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21871 # would make configure fail if this is the last instruction.
21872 $ac_cs_success || as_fn_exit
1
21874 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21876 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}