2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Cycript 0.9.
5 # Report bugs to <saurik@saurik.com>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and saurik@saurik.com
234 $0: about your system, including any error possibly output
235 $0: before this message. Then install a modern shell, or
236 $0: manually run the script under such a shell if you do
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir -p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X
--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X
--fallback-echo; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X
--fallback-echo; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh
|| test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" || exec 7<&0 </dev
/null
685 # hostname on some systems (SVR3.2, 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
843 program_transform_name
856 enable_option_checking
869 ac_precious_vars
='build_alias
895 # Initialize some variables set by options.
897 ac_init_version
=false
898 ac_unrecognized_opts
=
900 # The variables have the same names as the options, with
901 # dashes changed to underlines.
909 program_transform_name
=s
,x
,x
,
917 # Installation directory options.
918 # These are left unexpanded so users can "make install exec_prefix=/foo"
919 # and all the variables that are supposed to be based on exec_prefix
920 # by default will actually change.
921 # Use braces instead of parens because sh, perl, etc. also accept them.
922 # (The list follows the same order as the GNU Coding Standards.)
923 bindir
='${exec_prefix}/bin'
924 sbindir
='${exec_prefix}/sbin'
925 libexecdir
='${exec_prefix}/libexec'
926 datarootdir
='${prefix}/share'
927 datadir
='${datarootdir}'
928 sysconfdir
='${prefix}/etc'
929 sharedstatedir
='${prefix}/com'
930 localstatedir
='${prefix}/var'
931 includedir
='${prefix}/include'
932 oldincludedir
='/usr/include'
933 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
934 infodir
='${datarootdir}/info'
939 libdir
='${exec_prefix}/lib'
940 localedir
='${datarootdir}/locale'
941 mandir
='${datarootdir}/man'
947 # If the previous option needs an argument, assign it.
948 if test -n "$ac_prev"; then
949 eval $ac_prev=\
$ac_option
955 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 # Accept the important Cygnus configure options, so we can diagnose typos.
961 case $ac_dashdash$ac_option in
965 -bindir | --bindir | --bindi | --bind | --bin | --bi)
967 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 -build | --build | --buil | --bui | --bu)
971 ac_prev
=build_alias
;;
972 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
973 build_alias
=$ac_optarg ;;
975 -cache-file | --cache-file | --cache-fil | --cache-fi \
976 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
977 ac_prev
=cache_file
;;
978 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
979 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
980 cache_file
=$ac_optarg ;;
983 cache_file
=config.cache
;;
985 -datadir | --datadir | --datadi | --datad)
987 -datadir=* | --datadir=* | --datadi=* | --datad=*)
988 datadir
=$ac_optarg ;;
990 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
991 | --dataroo | --dataro | --datar)
992 ac_prev
=datarootdir
;;
993 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
994 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
995 datarootdir
=$ac_optarg ;;
997 -disable-* | --disable-*)
998 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1001 as_fn_error
"invalid feature name: $ac_useropt"
1002 ac_useropt_orig
=$ac_useropt
1003 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1006 "enable_
$ac_useropt"
1008 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1009 ac_unrecognized_sep
=', ';;
1011 eval enable_
$ac_useropt=no
;;
1013 -docdir | --docdir | --docdi | --doc | --do)
1015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1016 docdir
=$ac_optarg ;;
1018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1021 dvidir
=$ac_optarg ;;
1023 -enable-* | --enable-*)
1024 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error
"invalid feature name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1032 "enable_
$ac_useropt"
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval enable_
$ac_useropt=\
$ac_optarg ;;
1039 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1040 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1041 | --exec | --exe | --ex)
1042 ac_prev
=exec_prefix
;;
1043 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1044 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1045 | --exec=* | --exe=* | --ex=*)
1046 exec_prefix
=$ac_optarg ;;
1048 -gas | --gas | --ga | --g)
1049 # Obsolete; use --with-gas.
1052 -help | --help | --hel | --he | -h)
1053 ac_init_help
=long
;;
1054 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1055 ac_init_help
=recursive
;;
1056 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1057 ac_init_help
=short
;;
1059 -host | --host | --hos | --ho)
1060 ac_prev
=host_alias
;;
1061 -host=* | --host=* | --hos=* | --ho=*)
1062 host_alias
=$ac_optarg ;;
1064 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1066 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1068 htmldir
=$ac_optarg ;;
1070 -includedir | --includedir | --includedi | --included | --include \
1071 | --includ | --inclu | --incl | --inc)
1072 ac_prev
=includedir
;;
1073 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1074 | --includ=* | --inclu=* | --incl=* | --inc=*)
1075 includedir
=$ac_optarg ;;
1077 -infodir | --infodir | --infodi | --infod | --info | --inf)
1079 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1080 infodir
=$ac_optarg ;;
1082 -libdir | --libdir | --libdi | --libd)
1084 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1085 libdir
=$ac_optarg ;;
1087 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1088 | --libexe | --libex | --libe)
1089 ac_prev
=libexecdir
;;
1090 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1091 | --libexe=* | --libex=* | --libe=*)
1092 libexecdir
=$ac_optarg ;;
1094 -localedir | --localedir | --localedi | --localed | --locale)
1095 ac_prev
=localedir
;;
1096 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1097 localedir
=$ac_optarg ;;
1099 -localstatedir | --localstatedir | --localstatedi | --localstated \
1100 | --localstate | --localstat | --localsta | --localst | --locals)
1101 ac_prev
=localstatedir
;;
1102 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1103 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1104 localstatedir
=$ac_optarg ;;
1106 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1108 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1109 mandir
=$ac_optarg ;;
1111 -nfp | --nfp | --nf)
1112 # Obsolete; use --without-fp.
1115 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1116 | --no-cr | --no-c | -n)
1119 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1120 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1124 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1125 | --oldin | --oldi | --old | --ol | --o)
1126 ac_prev
=oldincludedir
;;
1127 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1128 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1129 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1130 oldincludedir
=$ac_optarg ;;
1132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1135 prefix
=$ac_optarg ;;
1137 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1138 | --program-pre | --program-pr | --program-p)
1139 ac_prev
=program_prefix
;;
1140 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1141 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1142 program_prefix
=$ac_optarg ;;
1144 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1145 | --program-suf | --program-su | --program-s)
1146 ac_prev
=program_suffix
;;
1147 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1148 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1149 program_suffix
=$ac_optarg ;;
1151 -program-transform-name | --program-transform-name \
1152 | --program-transform-nam | --program-transform-na \
1153 | --program-transform-n | --program-transform- \
1154 | --program-transform | --program-transfor \
1155 | --program-transfo | --program-transf \
1156 | --program-trans | --program-tran \
1157 | --progr-tra | --program-tr | --program-t)
1158 ac_prev
=program_transform_name
;;
1159 -program-transform-name=* | --program-transform-name=* \
1160 | --program-transform-nam=* | --program-transform-na=* \
1161 | --program-transform-n=* | --program-transform-=* \
1162 | --program-transform=* | --program-transfor=* \
1163 | --program-transfo=* | --program-transf=* \
1164 | --program-trans=* | --program-tran=* \
1165 | --progr-tra=* | --program-tr=* | --program-t=*)
1166 program_transform_name
=$ac_optarg ;;
1168 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1170 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1171 pdfdir
=$ac_optarg ;;
1173 -psdir | --psdir | --psdi | --psd | --ps)
1175 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1179 | -silent | --silent | --silen | --sile | --sil)
1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1186 sbindir
=$ac_optarg ;;
1188 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1189 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1190 | --sharedst | --shareds | --shared | --share | --shar \
1192 ac_prev
=sharedstatedir
;;
1193 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1194 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1195 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1197 sharedstatedir
=$ac_optarg ;;
1199 -site | --site | --sit)
1201 -site=* | --site=* | --sit=*)
1204 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1207 srcdir
=$ac_optarg ;;
1209 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1210 | --syscon | --sysco | --sysc | --sys | --sy)
1211 ac_prev
=sysconfdir
;;
1212 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1213 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1214 sysconfdir
=$ac_optarg ;;
1216 -target | --target | --targe | --targ | --tar | --ta | --t)
1217 ac_prev
=target_alias
;;
1218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1219 target_alias
=$ac_optarg ;;
1221 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 -version | --version | --versio | --versi | --vers | -V)
1225 ac_init_version
=: ;;
1228 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1231 as_fn_error
"invalid package name: $ac_useropt"
1232 ac_useropt_orig
=$ac_useropt
1233 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1234 case $ac_user_opts in
1238 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1239 ac_unrecognized_sep
=', ';;
1241 eval with_
$ac_useropt=\
$ac_optarg ;;
1243 -without-* | --without-*)
1244 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1245 # Reject names that are not valid shell variable names.
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1247 as_fn_error
"invalid package name: $ac_useropt"
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264 | --x-incl | --x-inc | --x-in | --x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) as_fn_error
"unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information."
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 case $ac_envvar in #(
1285 '' | [0-9]* | *[!_$as_cr_alnum]* )
1286 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 as_fn_error
"missing argument to $ac_option"
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1333 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1336 # There might be people who depend on the old broken behavior: `$host'
1337 # used to hold the argument of --host etc.
1338 # FIXME: To remove some day.
1341 target
=$target_alias
1343 # FIXME: To remove some day.
1344 if test "x$host_alias" != x
; then
1345 if test "x$build_alias" = x
; then
1346 cross_compiling
=maybe
1347 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1348 If a cross compiler is detected then cross compile mode will be used." >&2
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1357 test "$silent" = yes && exec 6>/dev
/null
1360 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di
=`ls -di .` &&
1362 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1363 as_fn_error
"working directory cannot be determined"
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 as_fn_error
"pwd does not report name of working directory"
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted
=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir
=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted
=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1404 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1406 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --build=BUILD configure
for building on BUILD
[guessed
]
1493 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1497 if test -n "$ac_init_help"; then
1498 case $ac_init_help in
1499 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1504 --disable-option-checking ignore unrecognized
--enable/--with options
1505 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1506 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1507 --enable-static[=PKGS
] build static libraries
[default
=no
]
1508 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1509 --enable-fast-install[=PKGS
]
1510 optimize
for fast installation
[default
=yes]
1511 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1512 --disable-rpath do not hardcode runtime library paths
1513 --enable-javascript[=ENGINE
]
1514 use a JavaScript runtime
(currently the only
1515 available option
for ENGINE is JavaScriptCore
)
1519 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1520 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1521 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1523 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1524 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1525 path
for frameworks with
-F
1526 --with-apr=PATH prefix
for installed APR or the full path to
1528 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1529 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1530 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1532 Some influential environment variables:
1533 CC C compiler command
1534 CFLAGS C compiler flags
1535 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1536 nonstandard directory <lib dir>
1537 LIBS libraries to pass to the linker, e.g. -l<library>
1538 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1539 you have headers in a nonstandard directory <include dir>
1541 PKG_CONFIG path to pkg-config utility
1542 BISON GNU Project parser generator (yacc replacement)
1543 FLEX the fast lexical analyser generator
1544 GPERF perfect hash function generator
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1547 CXXCPP C++ preprocessor
1548 OBJCXX Objective C++ compiler command
1549 OBJCXXFLAGS Objective C++ compiler flags
1551 C compiler flags for WEBKIT, overriding pkg-config
1552 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1554 C compiler flags for LIBFFI, overriding pkg-config
1555 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1557 prints information about the current gnustep installation
1559 Use these variables to override the choices made by `configure' or to
help
1560 it to
find libraries and programs with nonstandard names
/locations.
1562 Report bugs to
<saurik@saurik.com
>.
1563 Cycript home page
: <http
://www.cycript.org
/>.
1568 if test "$ac_init_help" = "recursive"; then
1569 # If there are subdirs, report their specific --help.
1570 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1571 test -d "$ac_dir" ||
1572 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1577 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1579 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1580 # A ".." for each directory in $ac_dir_suffix.
1581 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1582 case $ac_top_builddir_sub in
1583 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1584 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1587 ac_abs_top_builddir
=$ac_pwd
1588 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1589 # for backward compatibility:
1590 ac_top_builddir
=$ac_top_build_prefix
1593 .
) # We are building in place.
1595 ac_top_srcdir
=$ac_top_builddir_sub
1596 ac_abs_top_srcdir
=$ac_pwd ;;
1597 [\\/]* | ?
:[\\/]* ) # Absolute name.
1598 ac_srcdir
=$srcdir$ac_dir_suffix;
1599 ac_top_srcdir
=$srcdir
1600 ac_abs_top_srcdir
=$srcdir ;;
1602 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1603 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1604 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1606 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1608 cd "$ac_dir" || { ac_status
=$?
; continue; }
1609 # Check for guested configure.
1610 if test -f "$ac_srcdir/configure.gnu"; then
1612 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1613 elif test -f "$ac_srcdir/configure"; then
1615 $SHELL "$ac_srcdir/configure" --help=recursive
1617 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1619 cd "$ac_pwd" || { ac_status
=$?
; break; }
1623 test -n "$ac_init_help" && exit $ac_status
1624 if $ac_init_version; then
1626 Cycript configure
0.9
1627 generated by GNU Autoconf
2.65
1629 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1630 This configure
script is free software
; the Free Software Foundation
1631 gives unlimited permission to copy
, distribute and modify it.
1636 ## ------------------------ ##
1637 ## Autoconf initialization. ##
1638 ## ------------------------ ##
1640 # ac_fn_c_try_compile LINENO
1641 # --------------------------
1642 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1643 ac_fn_c_try_compile
()
1645 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1646 rm -f conftest.
$ac_objext
1647 if { { ac_try
="$ac_compile"
1649 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1650 *) ac_try_echo=$ac_try;;
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654 (eval "$ac_compile") 2>conftest.err
1656 if test -s conftest.err; then
1657 grep -v '^ *+' conftest.err >conftest.er1
1658 cat conftest.er1 >&5
1659 mv -f conftest.er1 conftest.err
1661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662 test $ac_status = 0; } && {
1663 test -z "$ac_c_werror_flag" ||
1664 test ! -s conftest.err
1665 } && test -s conftest.$ac_objext; then :
1668 $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1673 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674 as_fn_set_status $ac_retval
1676 } # ac_fn_c_try_compile
1678 # ac_fn_c_try_link LINENO
1679 # -----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 rm -f conftest.$ac_objext conftest$ac_exeext
1685 if { { ac_try="$ac_link"
1687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1688 *) ac_try_echo
=$ac_try;;
1690 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>conftest.err
1694 if test -s conftest.err
; then
1695 grep -v '^ *+' conftest.err
>conftest.er1
1696 cat conftest.er1
>&5
1697 mv -f conftest.er1 conftest.err
1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700 test $ac_status = 0; } && {
1701 test -z "$ac_c_werror_flag" ||
1702 test ! -s conftest.err
1703 } && test -s conftest
$ac_exeext && {
1704 test "$cross_compiling" = yes ||
1705 $as_test_x conftest
$ac_exeext
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.
$ac_ext >&5
1714 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1715 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1716 # interfere with the next link command; also delete a directory that is
1717 # left behind by Apple's compiler. We do this before executing the actions.
1718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1719 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1720 as_fn_set_status
$ac_retval
1722 } # ac_fn_c_try_link
1724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1725 # -------------------------------------------------------
1726 # Tests whether HEADER exists and can be compiled using the include files in
1727 # INCLUDES, setting the cache variable VAR accordingly.
1728 ac_fn_c_check_header_compile
()
1730 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1732 $as_echo_n "checking for $2... " >&6; }
1733 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1734 $as_echo_n "(cached) " >&6
1736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1737 /* end confdefs.h. */
1741 if ac_fn_c_try_compile
"$LINENO"; then :
1746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1750 $as_echo "$ac_res" >&6; }
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1753 } # ac_fn_c_check_header_compile
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1761 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } >/dev/null && {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 as_fn_set_status $ac_retval
1792 # ac_fn_c_try_run LINENO
1793 # ----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1795 # that executables *can* be run.
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1802 *) ac_try_echo
=$ac_try;;
1804 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>&5
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1810 { { case "(($ac_try" in
1811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1812 *) ac_try_echo=$ac_try;;
1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_try") 2>&5
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; }; }; then :
1822 $as_echo "$as_me: program exited with status $ac_status" >&5
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1826 ac_retval=$ac_status
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 as_fn_set_status $ac_retval
1834 # ac_fn_c_check_func LINENO FUNC VAR
1835 # ----------------------------------
1836 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1837 ac_fn_c_check_func ()
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1847 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1849 #define $2 innocuous_$2
1851 /* System header to define __stub macros and hopefully few prototypes,
1852 which can conflict with char $2 (); below.
1853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1854 <limits.h> exists even on freestanding compilers. */
1857 # include <limits.h>
1859 # include <assert.h>
1864 /* Override any GCC internal prototype to avoid an error.
1865 Use char because int might match the return type of a GCC
1866 builtin and then its argument prototype would still apply. */
1871 /* The GNU C library defines this for functions which it implements
1872 to always fail with ENOSYS. Some functions are actually named
1873 something starting with __ and the normal name is an alias. */
1874 #if defined __stub_$2 || defined __stub___$2
1886 if ac_fn_c_try_link "$LINENO"; then :
1891 rm -f core conftest.err conftest.$ac_objext \
1892 conftest$ac_exeext conftest.$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899 } # ac_fn_c_check_func
1901 # ac_fn_cxx_try_compile LINENO
1902 # ----------------------------
1903 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1904 ac_fn_cxx_try_compile ()
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 rm -f conftest.$ac_objext
1908 if { { ac_try="$ac_compile"
1910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1911 *) ac_try_echo
=$ac_try;;
1913 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_compile") 2>conftest.err
1917 if test -s conftest.err
; then
1918 grep -v '^ *+' conftest.err
>conftest.er1
1919 cat conftest.er1
>&5
1920 mv -f conftest.er1 conftest.err
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && {
1924 test -z "$ac_cxx_werror_flag" ||
1925 test ! -s conftest.err
1926 } && test -s conftest.
$ac_objext; then :
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.
$ac_ext >&5
1934 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1935 as_fn_set_status
$ac_retval
1937 } # ac_fn_cxx_try_compile
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp
()
1944 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1945 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } >/dev/null && {
1961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962 test ! -s conftest.err
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_cxx_try_cpp
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1986 *) ac_try_echo
=$ac_try;;
1988 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err
; then
1993 grep -v '^ *+' conftest.err
>conftest.er1
1994 cat conftest.er1
>&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest
$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 $as_test_x conftest
$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2018 as_fn_set_status
$ac_retval
2020 } # ac_fn_cxx_try_link
2022 # ac_fn_objcxx_try_compile LINENO
2023 # -------------------------------
2024 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2025 ac_fn_objcxx_try_compile
()
2027 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2028 rm -f conftest.
$ac_objext
2029 if { { ac_try
="$ac_compile"
2031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2032 *) ac_try_echo=$ac_try;;
2034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2035 $as_echo "$ac_try_echo"; } >&5
2036 (eval "$ac_compile") 2>conftest.err
2038 if test -s conftest.err; then
2039 grep -v '^ *+' conftest.err >conftest.er1
2040 cat conftest.er1 >&5
2041 mv -f conftest.er1 conftest.err
2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2044 test $ac_status = 0; } && {
2045 test -z "$ac_objcxx_werror_flag" ||
2046 test ! -s conftest.err
2047 } && test -s conftest.$ac_objext; then :
2050 $as_echo "$as_me: failed program was:" >&5
2051 sed 's/^/| /' conftest.$ac_ext >&5
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 as_fn_set_status $ac_retval
2058 } # ac_fn_objcxx_try_compile
2060 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2061 # ---------------------------------------------------------
2062 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2063 # the include files in INCLUDES and setting the cache variable VAR
2065 ac_fn_cxx_check_header_mongrel ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072 $as_echo_n "(cached) " >&6
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2078 # Is the header compilable?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2080 $as_echo_n "checking $2 usability... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2086 if ac_fn_cxx_try_compile "$LINENO"; then :
2087 ac_header_compiler=yes
2089 ac_header_compiler=no
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2093 $as_echo "$ac_header_compiler" >&6; }
2095 # Is the header present?
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2097 $as_echo_n "checking $2 presence... " >&6; }
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2102 if ac_fn_cxx_try_cpp "$LINENO"; then :
2103 ac_header_preproc=yes
2105 ac_header_preproc=no
2107 rm -f conftest.err conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2109 $as_echo "$ac_header_preproc" >&6; }
2111 # So? What about this header?
2112 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2115 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2121 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2123 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2125 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2127 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131 ## -------------------------------- ##
2132 ## Report this to saurik@saurik.com ##
2133 ## -------------------------------- ##
2135 ) | sed "s/^/$as_me: WARNING: /" >&2
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2139 $as_echo_n "checking for $2... " >&6; }
2140 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2141 $as_echo_n "(cached) " >&6
2143 eval "$3=\$ac_header_compiler"
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2149 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2151 } # ac_fn_cxx_check_header_mongrel
2153 # ac_fn_objcxx_try_link LINENO
2154 # ----------------------------
2155 # Try to link conftest.$ac_ext, and return whether this succeeded.
2156 ac_fn_objcxx_try_link ()
2158 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2159 rm -f conftest.$ac_objext conftest$ac_exeext
2160 if { { ac_try="$ac_link"
2162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2163 *) ac_try_echo
=$ac_try;;
2165 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2166 $as_echo "$ac_try_echo"; } >&5
2167 (eval "$ac_link") 2>conftest.err
2169 if test -s conftest.err
; then
2170 grep -v '^ *+' conftest.err
>conftest.er1
2171 cat conftest.er1
>&5
2172 mv -f conftest.er1 conftest.err
2174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2175 test $ac_status = 0; } && {
2176 test -z "$ac_objcxx_werror_flag" ||
2177 test ! -s conftest.err
2178 } && test -s conftest
$ac_exeext && {
2179 test "$cross_compiling" = yes ||
2180 $as_test_x conftest
$ac_exeext
2184 $as_echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.
$ac_ext >&5
2189 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2190 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2191 # interfere with the next link command; also delete a directory that is
2192 # left behind by Apple's compiler. We do this before executing the actions.
2193 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2195 as_fn_set_status
$ac_retval
2197 } # ac_fn_objcxx_try_link
2198 cat >config.log
<<_ACEOF
2199 This file contains any messages produced by compilers while
2200 running configure, to aid debugging if configure makes a mistake.
2202 It was created by Cycript $as_me 0.9, which was
2203 generated by GNU Autoconf 2.65. Invocation command line was
2215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2227 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir
=.
2239 $as_echo "PATH: $as_dir"
2255 # Keep a trace of the command line.
2256 # Strip out --no-create and --no-recursion so they do not pile up.
2257 # Strip out --silent because we don't want to record it for future runs.
2258 # Also quote any args containing shell meta-characters.
2259 # Make two passes to allow for proper duplicate-argument suppression.
2263 ac_must_keep_next
=false
2269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2271 | -silent | --silent | --silen | --sile | --sil)
2274 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2277 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2279 as_fn_append ac_configure_args1
" '$ac_arg'"
2280 if test $ac_must_keep_next = true
; then
2281 ac_must_keep_next
=false
# Got value, back to normal.
2284 *=* | --config-cache | -C | -disable-* | --disable-* \
2285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2287 | -with-* | --with-* | -without-* | --without-* | --x)
2288 case "$ac_configure_args0 " in
2289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2292 -* ) ac_must_keep_next
=true
;;
2295 as_fn_append ac_configure_args
" '$ac_arg'"
2300 { ac_configure_args0
=; unset ac_configure_args0
;}
2301 { ac_configure_args1
=; unset ac_configure_args1
;}
2303 # When interrupted or exit'd, cleanup temporary files, and complete
2304 # config.log. We remove comments because anyway the quotes in there
2305 # would cause problems or look ugly.
2306 # WARNING: Use '\'' to represent an apostrophe within the trap.
2307 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2308 trap 'exit_status=$?
2309 # Save into config.log some information that might help in debugging.
2314 ## ---------------- ##
2315 ## Cache variables. ##
2316 ## ---------------- ##
2319 # The following way of writing the cache mishandles newlines in values,
2321 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2322 eval ac_val=\$$ac_var
2326 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2327 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2330 _ | IFS | as_nl) ;; #(
2331 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2332 *) { eval $ac_var=; unset $ac_var;} ;;
2337 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2338 *${as_nl}ac_space=\ *)
2340 "s/'\''/'\''\\\\'\'''\''/g;
2341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2344 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2352 ## ----------------- ##
2353 ## Output variables. ##
2354 ## ----------------- ##
2357 for ac_var in $ac_subst_vars
2359 eval ac_val=\$$ac_var
2361 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2363 $as_echo "$ac_var='\''$ac_val'\''"
2367 if test -n "$ac_subst_files"; then
2369 ## ------------------- ##
2370 ## File substitutions. ##
2371 ## ------------------- ##
2374 for ac_var
in $ac_subst_files
2376 eval ac_val
=\$
$ac_var
2378 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2380 $as_echo "$ac_var='\''$ac_val'\''"
2385 if test -s confdefs.h; then
2395 test "$ac_signal" != 0 &&
2396 $as_echo "$as_me: caught signal $ac_signal"
2397 $as_echo "$as_me: exit $exit_status"
2399 rm -f core *.core core.conftest.* &&
2400 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2403 for ac_signal
in 1 2 13 15; do
2404 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2408 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2409 rm -f -r conftest
* confdefs.h
2411 $as_echo "/* confdefs.h */" > confdefs.h
2413 # Predefined preprocessor variables.
2415 cat >>confdefs.h
<<_ACEOF
2416 #define PACKAGE_NAME "$PACKAGE_NAME"
2419 cat >>confdefs.h
<<_ACEOF
2420 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2423 cat >>confdefs.h
<<_ACEOF
2424 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2427 cat >>confdefs.h
<<_ACEOF
2428 #define PACKAGE_STRING "$PACKAGE_STRING"
2431 cat >>confdefs.h
<<_ACEOF
2432 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2435 cat >>confdefs.h
<<_ACEOF
2436 #define PACKAGE_URL "$PACKAGE_URL"
2440 # Let the site file select an alternate cache file if it wants to.
2441 # Prefer an explicitly selected file to automatically selected ones.
2444 if test -n "$CONFIG_SITE"; then
2445 ac_site_file1
=$CONFIG_SITE
2446 elif test "x$prefix" != xNONE
; then
2447 ac_site_file1
=$prefix/share
/config.site
2448 ac_site_file2
=$prefix/etc
/config.site
2450 ac_site_file1
=$ac_default_prefix/share
/config.site
2451 ac_site_file2
=$ac_default_prefix/etc
/config.site
2453 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2455 test "x$ac_site_file" = xNONE
&& continue
2456 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2458 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2459 sed 's/^/| /' "$ac_site_file" >&5
2464 if test -r "$cache_file"; then
2465 # Some versions of bash will fail to source /dev/null (special files
2466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2467 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2469 $as_echo "$as_me: loading cache $cache_file" >&6;}
2471 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2472 *) .
"./$cache_file";;
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2477 $as_echo "$as_me: creating cache $cache_file" >&6;}
2481 # Check that the precious variables saved in the cache have kept the same
2483 ac_cache_corrupted
=false
2484 for ac_var
in $ac_precious_vars; do
2485 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2486 eval ac_new_set
=\
$ac_env_${ac_var}_set
2487 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2488 eval ac_new_val
=\
$ac_env_${ac_var}_value
2489 case $ac_old_set,$ac_new_set in
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2492 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2493 ac_cache_corrupted
=: ;;
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2496 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2497 ac_cache_corrupted
=: ;;
2500 if test "x$ac_old_val" != "x$ac_new_val"; then
2501 # differences in whitespace do not lead to failure.
2502 ac_old_val_w
=`echo x $ac_old_val`
2503 ac_new_val_w
=`echo x $ac_new_val`
2504 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2506 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2507 ac_cache_corrupted
=:
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2510 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2511 eval $ac_var=\
$ac_old_val
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2514 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2516 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2519 # Pass precious variables to config.status.
2520 if test "$ac_new_set" = set; then
2522 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2523 *) ac_arg
=$ac_var=$ac_new_val ;;
2525 case " $ac_configure_args " in
2526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2527 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2531 if $ac_cache_corrupted; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2535 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2536 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2538 ## -------------------- ##
2539 ## Main body of script. ##
2540 ## -------------------- ##
2543 ac_cpp
='$CPP $CPPFLAGS'
2544 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2551 for ac_dir
in .
"$srcdir"/.
; do
2552 for ac_t
in install-sh install.sh shtool
; do
2553 if test -f "$ac_dir/$ac_t"; then
2555 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2560 if test -z "$ac_aux_dir"; then
2561 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2564 # These three variables are undocumented and unsupported,
2565 # and are intended to be withdrawn in a future Autoconf release.
2566 # They can cause serious problems if a builder's source tree is in a directory
2567 # whose full name contains unusual characters.
2568 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2569 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2570 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2576 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2581 macro_version
='2.2.6b'
2582 macro_revision
='1.3017'
2596 ltmain
="$ac_aux_dir/ltmain.sh"
2598 # Make sure we can run config.sub.
2599 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2600 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2603 $as_echo_n "checking build system type... " >&6; }
2604 if test "${ac_cv_build+set}" = set; then :
2605 $as_echo_n "(cached) " >&6
2607 ac_build_alias
=$build_alias
2608 test "x$ac_build_alias" = x
&&
2609 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2610 test "x$ac_build_alias" = x
&&
2611 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2612 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2613 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2617 $as_echo "$ac_cv_build" >&6; }
2618 case $ac_cv_build in
2620 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2623 ac_save_IFS
=$IFS; IFS
='-'
2629 # Remember, the first character of IFS is used to create $*,
2630 # except with old shells:
2633 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2637 $as_echo_n "checking host system type... " >&6; }
2638 if test "${ac_cv_host+set}" = set; then :
2639 $as_echo_n "(cached) " >&6
2641 if test "x$host_alias" = x
; then
2642 ac_cv_host
=$ac_cv_build
2644 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2645 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2650 $as_echo "$ac_cv_host" >&6; }
2653 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2656 ac_save_IFS
=$IFS; IFS
='-'
2662 # Remember, the first character of IFS is used to create $*,
2663 # except with old shells:
2666 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2670 ac_cpp
='$CPP $CPPFLAGS'
2671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2674 if test -n "$ac_tool_prefix"; then
2675 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2676 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2678 $as_echo_n "checking for $ac_word... " >&6; }
2679 if test "${ac_cv_prog_CC+set}" = set; then :
2680 $as_echo_n "(cached) " >&6
2682 if test -n "$CC"; then
2683 ac_cv_prog_CC
="$CC" # Let the user override the test.
2685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2689 test -z "$as_dir" && as_dir
=.
2690 for ac_exec_ext
in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2692 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 if test -n "$CC"; then
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2705 $as_echo "$CC" >&6; }
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708 $as_echo "no" >&6; }
2713 if test -z "$ac_cv_prog_CC"; then
2715 # Extract the first word of "gcc", so it can be a program name with args.
2716 set dummy gcc
; ac_word
=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2720 $as_echo_n "(cached) " >&6
2722 if test -n "$ac_ct_CC"; then
2723 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir
=.
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 ac_cv_prog_ac_ct_CC
="gcc"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2743 if test -n "$ac_ct_CC"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2745 $as_echo "$ac_ct_CC" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2751 if test "x$ac_ct_CC" = x
; then
2754 case $cross_compiling:$ac_tool_warned in
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2758 ac_tool_warned
=yes ;;
2766 if test -z "$CC"; then
2767 if test -n "$ac_tool_prefix"; then
2768 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2769 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771 $as_echo_n "checking for $ac_word... " >&6; }
2772 if test "${ac_cv_prog_CC+set}" = set; then :
2773 $as_echo_n "(cached) " >&6
2775 if test -n "$CC"; then
2776 ac_cv_prog_CC
="$CC" # Let the user override the test.
2778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2782 test -z "$as_dir" && as_dir
=.
2783 for ac_exec_ext
in '' $ac_executable_extensions; do
2784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 if test -n "$CC"; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2798 $as_echo "$CC" >&6; }
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801 $as_echo "no" >&6; }
2807 if test -z "$CC"; then
2808 # Extract the first word of "cc", so it can be a program name with args.
2809 set dummy cc
; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if test "${ac_cv_prog_CC+set}" = set; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$CC"; then
2816 ac_cv_prog_CC
="$CC" # Let the user override the test.
2819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2823 test -z "$as_dir" && as_dir
=.
2824 for ac_exec_ext
in '' $ac_executable_extensions; do
2825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2826 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2827 ac_prog_rejected
=yes
2831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 if test $ac_prog_rejected = yes; then
2839 # We found a bogon in the path, so make sure we never use it.
2840 set dummy
$ac_cv_prog_CC
2842 if test $# != 0; then
2843 # We chose a different compiler from the bogus one.
2844 # However, it has the same basename, so the bogon will be chosen
2845 # first if we set CC to just the basename; use the full file name.
2847 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2853 if test -n "$CC"; then
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2855 $as_echo "$CC" >&6; }
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2863 if test -z "$CC"; then
2864 if test -n "$ac_tool_prefix"; then
2865 for ac_prog
in cl.exe
2867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2868 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if test "${ac_cv_prog_CC+set}" = set; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$CC"; then
2875 ac_cv_prog_CC
="$CC" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 if test -n "$CC"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2897 $as_echo "$CC" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2904 test -n "$CC" && break
2907 if test -z "$CC"; then
2909 for ac_prog
in cl.exe
2911 # Extract the first word of "$ac_prog", so it can be a program name with args.
2912 set dummy
$ac_prog; ac_word
=$2
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2914 $as_echo_n "checking for $ac_word... " >&6; }
2915 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2916 $as_echo_n "(cached) " >&6
2918 if test -n "$ac_ct_CC"; then
2919 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir
=.
2926 for ac_exec_ext
in '' $ac_executable_extensions; do
2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928 ac_cv_prog_ac_ct_CC
="$ac_prog"
2929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2938 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2939 if test -n "$ac_ct_CC"; then
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2941 $as_echo "$ac_ct_CC" >&6; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2948 test -n "$ac_ct_CC" && break
2951 if test "x$ac_ct_CC" = x
; then
2954 case $cross_compiling:$ac_tool_warned in
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2958 ac_tool_warned
=yes ;;
2967 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error
"no acceptable C compiler found in \$PATH
2970 See \`config.log' for more details." "$LINENO" 5; }
2972 # Provide some information about the compiler.
2973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2976 for ac_option
in --version -v -V -qversion; do
2977 { { ac_try
="$ac_compiler $ac_option >&5"
2979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2980 *) ac_try_echo=$ac_try;;
2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2983 $as_echo "$ac_try_echo"; } >&5
2984 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2986 if test -s conftest.err; then
2988 ... rest of stderr output deleted ...
2989 10q' conftest.err >conftest.er1
2990 cat conftest.er1 >&5
2992 rm -f conftest.er1 conftest.err
2993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2994 test $ac_status = 0; }
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3008 ac_clean_files_save=$ac_clean_files
3009 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3010 # Try to create an executable without -o first, disregard a.out.
3011 # It will help us diagnose broken compilers, and finding out an intuition
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3014 $as_echo_n "checking whether the C compiler works... " >&6; }
3015 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3017 # The possible output files:
3018 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3021 for ac_file in $ac_files
3024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3025 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3030 if { { ac_try="$ac_link_default"
3032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3033 *) ac_try_echo
=$ac_try;;
3035 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3036 $as_echo "$ac_try_echo"; } >&5
3037 (eval "$ac_link_default") 2>&5
3039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3040 test $ac_status = 0; }; then :
3041 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3042 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3043 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3044 # so that the user can short-circuit this test for compilers unknown to
3046 for ac_file
in $ac_files ''
3048 test -f "$ac_file" || continue
3050 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3053 # We found the default executable, but exeext='' is most
3057 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3059 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3061 # We set ac_cv_exeext here because the later test for it is not
3062 # safe: cross compilers may not add the suffix if given an `-o'
3063 # argument, so we may need to know it at that point already.
3064 # Even if this section looks crufty: it has the advantage of
3071 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3076 if test -z "$ac_file"; then :
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3079 $as_echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.
$ac_ext >&5
3082 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3084 { as_fn_set_status
77
3085 as_fn_error
"C compiler cannot create executables
3086 See \`config.log' for more details." "$LINENO" 5; }; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3089 $as_echo "yes" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3092 $as_echo_n "checking for C compiler default output file name... " >&6; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3094 $as_echo "$ac_file" >&6; }
3095 ac_exeext
=$ac_cv_exeext
3097 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3098 ac_clean_files
=$ac_clean_files_save
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3100 $as_echo_n "checking for suffix of executables... " >&6; }
3101 if { { ac_try
="$ac_link"
3103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_link") 2>&5
3110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3111 test $ac_status = 0; }; then :
3112 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3113 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3114 # work properly (i.e., refer to `conftest.exe'), while it won't with
3116 for ac_file
in conftest.exe conftest conftest.
*; do
3117 test -f "$ac_file" || continue
3119 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3120 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3128 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3129 See \`config.log' for more details." "$LINENO" 5; }
3131 rm -f conftest conftest
$ac_cv_exeext
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3133 $as_echo "$ac_cv_exeext" >&6; }
3135 rm -f conftest.
$ac_ext
3136 EXEEXT
=$ac_cv_exeext
3138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3144 FILE *f = fopen ("conftest.out", "w");
3145 return ferror (f) || fclose (f) != 0;
3151 ac_clean_files
="$ac_clean_files conftest.out"
3152 # Check that the compiler produces executables we can run. If not, either
3153 # the compiler is broken, or we cross compile.
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3155 $as_echo_n "checking whether we are cross compiling... " >&6; }
3156 if test "$cross_compiling" != yes; then
3157 { { ac_try
="$ac_link"
3159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3163 $as_echo "$ac_try_echo"; } >&5
3164 (eval "$ac_link") 2>&5
3166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3167 test $ac_status = 0; }
3168 if { ac_try='./conftest$ac_cv_exeext'
3169 { { case "(($ac_try" in
3170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3171 *) ac_try_echo
=$ac_try;;
3173 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_try") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }; }; then
3181 if test "$cross_compiling" = maybe
; then
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error
"cannot run C compiled programs.
3187 If you meant to cross compile, use \`--host'.
3188 See \`config.log' for more details." "$LINENO" 5; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3193 $as_echo "$cross_compiling" >&6; }
3195 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3196 ac_clean_files
=$ac_clean_files_save
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3198 $as_echo_n "checking for suffix of object files... " >&6; }
3199 if test "${ac_cv_objext+set}" = set; then :
3200 $as_echo_n "(cached) " >&6
3202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3213 rm -f conftest.o conftest.obj
3214 if { { ac_try
="$ac_compile"
3216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_compile") 2>&5
3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3224 test $ac_status = 0; }; then :
3225 for ac_file in conftest.o conftest.obj conftest.*; do
3226 test -f "$ac_file" || continue;
3228 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3229 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239 as_fn_error "cannot compute suffix of object files
: cannot compile
3240 See \
`config.log' for more details." "$LINENO" 5; }
3242 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3245 $as_echo "$ac_cv_objext" >&6; }
3246 OBJEXT=$ac_cv_objext
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3249 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3250 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3273 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3277 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3278 if test $ac_compiler_gnu = yes; then
3283 ac_test_CFLAGS=${CFLAGS+set}
3284 ac_save_CFLAGS=$CFLAGS
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3286 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3287 if test "${ac_cv_prog_cc_g+set}" = set; then :
3288 $as_echo_n "(cached) " >&6
3290 ac_save_c_werror_flag=$ac_c_werror_flag
3291 ac_c_werror_flag=yes
3294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3295 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3323 ac_c_werror_flag=$ac_save_c_werror_flag
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 if ac_fn_c_try_compile "$LINENO"; then :
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 ac_c_werror_flag=$ac_save_c_werror_flag
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3347 $as_echo "$ac_cv_prog_cc_g" >&6; }
3348 if test "$ac_test_CFLAGS" = set; then
3349 CFLAGS=$ac_save_CFLAGS
3350 elif test $ac_cv_prog_cc_g = yes; then
3351 if test "$GCC" = yes; then
3357 if test "$GCC" = yes; then
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3364 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3365 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3366 $as_echo_n "(cached) " >&6
3368 ac_cv_prog_cc_c89=no
3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3374 #include <sys/types.h>
3375 #include <sys/stat.h>
3376 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3377 struct buf { int x; };
3378 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3379 static char *e (p, i)
3385 static char *f (char * (*g) (char **, int), char **p, ...)
3390 s = g (p, va_arg (v,int));
3395 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3396 function prototypes and stuff, but not '\xHH' hex character constants.
3397 These don't provoke an error unfortunately, instead are silently treated
3398 as 'x'. The following induces an error, until -std is added to get
3399 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3400 array size at least. It's necessary to write '\x00'==0 to get something
3401 that's true only with -std. */
3402 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3404 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3405 inside strings and character constants. */
3407 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3409 int test (int i, double x);
3410 struct s1 {int (*f) (int a);};
3411 struct s2 {int (*f) (double a);};
3412 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3418 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3423 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3424 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3426 CC="$ac_save_CC $ac_arg"
3427 if ac_fn_c_try_compile "$LINENO"; then :
3428 ac_cv_prog_cc_c89=$ac_arg
3430 rm -f core conftest.err conftest.$ac_objext
3431 test "x$ac_cv_prog_cc_c89" != "xno" && break
3433 rm -f conftest.$ac_ext
3438 case "x$ac_cv_prog_cc_c89" in
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3441 $as_echo "none needed" >&6; } ;;
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3444 $as_echo "unsupported" >&6; } ;;
3446 CC="$CC $ac_cv_prog_cc_c89"
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3448 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3450 if test "x$ac_cv_prog_cc_c89" != xno; then :
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3461 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3462 if test "${ac_cv_path_SED+set}" = set; then :
3463 $as_echo_n "(cached) " >&6
3465 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3466 for ac_i in 1 2 3 4 5 6 7; do
3467 ac_script="$ac_script$as_nl$ac_script"
3469 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3470 { ac_script=; unset ac_script;}
3471 if test -z "$SED"; then
3472 ac_path_SED_found=false
3473 # Loop through the user's path and test for each of PROGNAME-LIST
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 test -z "$as_dir" && as_dir=.
3479 for ac_prog in sed gsed; do
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3482 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3483 # Check for GNU ac_path_SED and select it if it is found.
3484 # Check for GNU $ac_path_SED
3485 case `"$ac_path_SED" --version 2>&1` in
3487 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3490 $as_echo_n 0123456789 >"conftest.in"
3493 cat "conftest.in" "conftest.in" >"conftest.tmp"
3494 mv "conftest.tmp" "conftest.in"
3495 cp "conftest.in" "conftest.nl"
3496 $as_echo '' >> "conftest.nl"
3497 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3498 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3499 as_fn_arith $ac_count + 1 && ac_count=$as_val
3500 if test $ac_count -gt ${ac_path_SED_max-0}; then
3501 # Best one so far, save it but keep looking for a better one
3502 ac_cv_path_SED="$ac_path_SED"
3503 ac_path_SED_max=$ac_count
3505 # 10*(2^10) chars as input seems more than enough
3506 test $ac_count -gt 10 && break
3508 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3511 $ac_path_SED_found && break 3
3516 if test -z "$ac_cv_path_SED"; then
3517 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3525 $as_echo "$ac_cv_path_SED" >&6; }
3526 SED="$ac_cv_path_SED"
3529 test -z "$SED" && SED=sed
3530 Xsed="$SED -e 1s/^X//"
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3543 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3544 if test "${ac_cv_path_GREP+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -z "$GREP"; then
3548 ac_path_GREP_found=false
3549 # Loop through the user's path and test for each of PROGNAME-LIST
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3554 test -z "$as_dir" && as_dir=.
3555 for ac_prog in grep ggrep; do
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3558 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3559 # Check for GNU ac_path_GREP and select it if it is found.
3560 # Check for GNU $ac_path_GREP
3561 case `"$ac_path_GREP" --version 2>&1` in
3563 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3566 $as_echo_n 0123456789 >"conftest.in"
3569 cat "conftest.in" "conftest.in" >"conftest.tmp"
3570 mv "conftest.tmp" "conftest.in"
3571 cp "conftest.in" "conftest.nl"
3572 $as_echo 'GREP' >> "conftest.nl"
3573 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3574 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3575 as_fn_arith $ac_count + 1 && ac_count=$as_val
3576 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3577 # Best one so far, save it but keep looking for a better one
3578 ac_cv_path_GREP="$ac_path_GREP"
3579 ac_path_GREP_max=$ac_count
3581 # 10*(2^10) chars as input seems more than enough
3582 test $ac_count -gt 10 && break
3584 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3587 $ac_path_GREP_found && break 3
3592 if test -z "$ac_cv_path_GREP"; then
3593 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3596 ac_cv_path_GREP=$GREP
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3601 $as_echo "$ac_cv_path_GREP" >&6; }
3602 GREP="$ac_cv_path_GREP"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3606 $as_echo_n "checking for egrep... " >&6; }
3607 if test "${ac_cv_path_EGREP+set}" = set; then :
3608 $as_echo_n "(cached) " >&6
3610 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3611 then ac_cv_path_EGREP="$GREP -E"
3613 if test -z "$EGREP"; then
3614 ac_path_EGREP_found=false
3615 # Loop through the user's path and test for each of PROGNAME-LIST
3616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3620 test -z "$as_dir" && as_dir=.
3621 for ac_prog in egrep; do
3622 for ac_exec_ext in '' $ac_executable_extensions; do
3623 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3624 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3625 # Check for GNU ac_path_EGREP and select it if it is found.
3626 # Check for GNU $ac_path_EGREP
3627 case `"$ac_path_EGREP" --version 2>&1` in
3629 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3632 $as_echo_n 0123456789 >"conftest.in"
3635 cat "conftest.in" "conftest.in" >"conftest.tmp"
3636 mv "conftest.tmp" "conftest.in"
3637 cp "conftest.in" "conftest.nl"
3638 $as_echo 'EGREP' >> "conftest.nl"
3639 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3640 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3641 as_fn_arith $ac_count + 1 && ac_count=$as_val
3642 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3643 # Best one so far, save it but keep looking for a better one
3644 ac_cv_path_EGREP="$ac_path_EGREP"
3645 ac_path_EGREP_max=$ac_count
3647 # 10*(2^10) chars as input seems more than enough
3648 test $ac_count -gt 10 && break
3650 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3653 $ac_path_EGREP_found && break 3
3658 if test -z "$ac_cv_path_EGREP"; then
3659 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3662 ac_cv_path_EGREP=$EGREP
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3668 $as_echo "$ac_cv_path_EGREP" >&6; }
3669 EGREP="$ac_cv_path_EGREP"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3673 $as_echo_n "checking for fgrep... " >&6; }
3674 if test "${ac_cv_path_FGREP+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3677 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3678 then ac_cv_path_FGREP="$GREP -F"
3680 if test -z "$FGREP"; then
3681 ac_path_FGREP_found=false
3682 # Loop through the user's path and test for each of PROGNAME-LIST
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3687 test -z "$as_dir" && as_dir=.
3688 for ac_prog in fgrep; do
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3691 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3692 # Check for GNU ac_path_FGREP and select it if it is found.
3693 # Check for GNU $ac_path_FGREP
3694 case `"$ac_path_FGREP" --version 2>&1` in
3696 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3699 $as_echo_n 0123456789 >"conftest.in"
3702 cat "conftest.in" "conftest.in" >"conftest.tmp"
3703 mv "conftest.tmp" "conftest.in"
3704 cp "conftest.in" "conftest.nl"
3705 $as_echo 'FGREP' >> "conftest.nl"
3706 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3707 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3708 as_fn_arith $ac_count + 1 && ac_count=$as_val
3709 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3710 # Best one so far, save it but keep looking for a better one
3711 ac_cv_path_FGREP="$ac_path_FGREP"
3712 ac_path_FGREP_max=$ac_count
3714 # 10*(2^10) chars as input seems more than enough
3715 test $ac_count -gt 10 && break
3717 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3720 $ac_path_FGREP_found && break 3
3725 if test -z "$ac_cv_path_FGREP"; then
3726 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3729 ac_cv_path_FGREP=$FGREP
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3735 $as_echo "$ac_cv_path_FGREP" >&6; }
3736 FGREP="$ac_cv_path_FGREP"
3739 test -z "$GREP" && GREP=grep
3759 # Check whether --with-gnu-ld was given.
3760 if test "${with_gnu_ld+set}" = set; then :
3761 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3767 if test "$GCC" = yes; then
3768 # Check if gcc -print-prog-name=ld gives a path.
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3770 $as_echo_n "checking for ld used by $CC... " >&6; }
3773 # gcc leaves a trailing carriage return which upsets mingw
3774 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3776 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3779 # Accept absolute paths.
3781 re_direlt='/[^/][^/]*/\.\./'
3782 # Canonicalize the pathname of ld
3783 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3784 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3785 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3787 test -z "$LD" && LD="$ac_prog"
3790 # If it fails, then pretend we aren't using GCC.
3794 # If it is relative, then search for the first ld in PATH.
3798 elif test "$with_gnu_ld" = yes; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3800 $as_echo_n "checking for GNU ld... " >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3803 $as_echo_n "checking for non-GNU ld... " >&6; }
3805 if test "${lt_cv_path_LD+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3808 if test -z "$LD"; then
3809 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3810 for ac_dir in $PATH; do
3812 test -z "$ac_dir" && ac_dir=.
3813 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3814 lt_cv_path_LD="$ac_dir/$ac_prog"
3815 # Check to see if the program is GNU ld. I'd rather use --version,
3816 # but apparently some variants of GNU ld only accept -v.
3817 # Break only if it was the GNU/non-GNU ld that we prefer.
3818 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3819 *GNU* | *'with BFD'*)
3820 test "$with_gnu_ld" != no && break
3823 test "$with_gnu_ld" != yes && break
3830 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3835 if test -n "$LD"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3837 $as_echo "$LD" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3842 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3844 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3845 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3849 case `$LD -v 2>&1 </dev
/null
` in
3850 *GNU* | *'with BFD'*)
3851 lt_cv_prog_gnu_ld=yes
3854 lt_cv_prog_gnu_ld=no
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3859 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3860 with_gnu_ld=$lt_cv_prog_gnu_ld
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3871 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3872 if test "${lt_cv_path_NM+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$NM"; then
3876 # Let the user override the test.
3879 lt_nm_to_check="${ac_tool_prefix}nm"
3880 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3881 lt_nm_to_check="$lt_nm_to_check nm"
3883 for lt_tmp_nm in $lt_nm_to_check; do
3884 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3885 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3887 test -z "$ac_dir" && ac_dir=.
3888 tmp_nm="$ac_dir/$lt_tmp_nm"
3889 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3890 # Check to see if the nm accepts a BSD-compat flag.
3891 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3892 # nm: unknown option "B" ignored
3893 # Tru64's nm complains that
/dev
/null is an invalid object
file
3894 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3895 */dev
/null
* | *'Invalid file or object type'*)
3896 lt_cv_path_NM
="$tmp_nm -B"
3900 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3902 lt_cv_path_NM
="$tmp_nm -p"
3906 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3907 continue # so that we can try to find one that supports BSD flags
3916 : ${lt_cv_path_NM=no}
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3920 $as_echo "$lt_cv_path_NM" >&6; }
3921 if test "$lt_cv_path_NM" != "no"; then
3924 # Didn't find any BSD compatible name lister, look for dumpbin.
3925 if test -n "$ac_tool_prefix"; then
3926 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3929 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 if test -n "$DUMPBIN"; then
3936 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir
=.
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3945 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 DUMPBIN
=$ac_cv_prog_DUMPBIN
3956 if test -n "$DUMPBIN"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3958 $as_echo "$DUMPBIN" >&6; }
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3965 test -n "$DUMPBIN" && break
3968 if test -z "$DUMPBIN"; then
3969 ac_ct_DUMPBIN
=$DUMPBIN
3970 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3972 # Extract the first word of "$ac_prog", so it can be a program name with args.
3973 set dummy
$ac_prog; ac_word
=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$ac_ct_DUMPBIN"; then
3980 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3989 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4000 if test -n "$ac_ct_DUMPBIN"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4002 $as_echo "$ac_ct_DUMPBIN" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$ac_ct_DUMPBIN" && break
4012 if test "x$ac_ct_DUMPBIN" = x
; then
4015 case $cross_compiling:$ac_tool_warned in
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4019 ac_tool_warned
=yes ;;
4021 DUMPBIN
=$ac_ct_DUMPBIN
4026 if test "$DUMPBIN" != ":"; then
4030 test -z "$NM" && NM
=nm
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4038 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4039 if test "${lt_cv_nm_interface+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 lt_cv_nm_interface
="BSD nm"
4043 echo "int some_variable = 0;" > conftest.
$ac_ext
4044 (eval echo "\"\$as_me:4044: $ac_compile\"" >&5)
4045 (eval "$ac_compile" 2>conftest.err
)
4046 cat conftest.err
>&5
4047 (eval echo "\"\$as_me:4047: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4048 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4049 cat conftest.err
>&5
4050 (eval echo "\"\$as_me:4050: output\"" >&5)
4051 cat conftest.out
>&5
4052 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4053 lt_cv_nm_interface
="MS dumpbin"
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4058 $as_echo "$lt_cv_nm_interface" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4061 $as_echo_n "checking whether ln -s works... " >&6; }
4063 if test "$LN_S" = "ln -s"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4065 $as_echo "yes" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4068 $as_echo "no, using $LN_S" >&6; }
4071 # find the maximum length of command line arguments
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4073 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4074 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4082 # On DJGPP, this test can blow up pretty badly due to problems in libc
4083 # (any single argument exceeding 2000 bytes causes a buffer overrun
4084 # during glob expansion). Even if it were fixed, the result of this
4085 # check would be larger than it should be.
4086 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4090 # Under GNU Hurd, this test is not required because there is
4091 # no limit to the length of command line arguments.
4092 # Libtool will interpret -1 as no limit whatsoever
4093 lt_cv_sys_max_cmd_len
=-1;
4096 cygwin
* | mingw
* | cegcc
*)
4097 # On Win9x/ME, this test blows up -- it succeeds, but takes
4098 # about 5 minutes as the teststring grows exponentially.
4099 # Worse, since 9x/ME are not pre-emptively multitasking,
4100 # you end up with a "frozen" computer, even though with patience
4101 # the test eventually succeeds (with a max line length of 256k).
4102 # Instead, let's just punt: use the minimum linelength reported by
4103 # all of the supported platforms: 8192 (on NT/2K/XP).
4104 lt_cv_sys_max_cmd_len
=8192;
4108 # On AmigaOS with pdksh, this test takes hours, literally.
4109 # So we just punt and use a minimum line length of 8192.
4110 lt_cv_sys_max_cmd_len
=8192;
4113 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4114 # This has been around since 386BSD, at least. Likely further.
4115 if test -x /sbin
/sysctl
; then
4116 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4117 elif test -x /usr
/sbin
/sysctl
; then
4118 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4120 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4122 # And add a safety zone
4123 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4124 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4128 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4129 lt_cv_sys_max_cmd_len
=196608
4133 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4134 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4135 # nice to cause kernel panics so lets avoid the loop below.
4136 # First set a reasonable default.
4137 lt_cv_sys_max_cmd_len
=16384
4139 if test -x /sbin
/sysconfig
; then
4140 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4141 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4146 lt_cv_sys_max_cmd_len
=102400
4148 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4149 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4150 if test -n "$kargmax"; then
4151 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4153 lt_cv_sys_max_cmd_len
=32768
4157 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4158 if test -n "$lt_cv_sys_max_cmd_len"; then
4159 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4160 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4162 # Make teststring a little bigger before we do anything with it.
4163 # a 1K string should be a reasonable start.
4164 for i
in 1 2 3 4 5 6 7 8 ; do
4165 teststring
=$teststring$teststring
4167 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4168 # If test is not a shell built-in, we'll probably end up computing a
4169 # maximum length that is only half of the actual maximum length, but
4171 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4172 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4173 test $i != 17 # 1/2 MB should be enough
4176 teststring
=$teststring$teststring
4178 # Only check the string length outside the loop.
4179 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4181 # Add a significant safety factor because C++ compilers can tack on
4182 # massive amounts of additional arguments before passing them to the
4183 # linker. It appears as though 1/2 is a usable value.
4184 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4191 if test -n $lt_cv_sys_max_cmd_len ; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4193 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4196 $as_echo "none" >&6; }
4198 max_cmd_len
=$lt_cv_sys_max_cmd_len
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4210 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4211 # Try some XSI features
4214 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4216 && eval 'test $(( 1 + 1 )) -eq 2 \
4217 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4220 $as_echo "$xsi_shell" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4224 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4226 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4228 && lt_shell_append
=yes
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4230 $as_echo "$lt_shell_append" >&6; }
4233 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4243 # test EBCDIC or ASCII
4244 case `echo X|tr X '\101'` in
4245 A
) # ASCII based system
4246 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4247 lt_SP2NL
='tr \040 \012'
4248 lt_NL2SP
='tr \015\012 \040\040'
4250 *) # EBCDIC based system
4251 lt_SP2NL
='tr \100 \n'
4252 lt_NL2SP
='tr \r\n \100\100'
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4265 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4266 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4269 lt_cv_ld_reload_flag
='-r'
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4272 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4273 reload_flag
=$lt_cv_ld_reload_flag
4274 case $reload_flag in
4276 *) reload_flag
=" $reload_flag" ;;
4278 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4281 if test "$GCC" = yes; then
4282 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4284 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4297 if test -n "$ac_tool_prefix"; then
4298 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4299 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301 $as_echo_n "checking for $ac_word... " >&6; }
4302 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4303 $as_echo_n "(cached) " >&6
4305 if test -n "$OBJDUMP"; then
4306 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir
=.
4313 for ac_exec_ext
in '' $ac_executable_extensions; do
4314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 OBJDUMP
=$ac_cv_prog_OBJDUMP
4326 if test -n "$OBJDUMP"; then
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4328 $as_echo "$OBJDUMP" >&6; }
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331 $as_echo "no" >&6; }
4336 if test -z "$ac_cv_prog_OBJDUMP"; then
4337 ac_ct_OBJDUMP
=$OBJDUMP
4338 # Extract the first word of "objdump", so it can be a program name with args.
4339 set dummy objdump
; ac_word
=$2
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4341 $as_echo_n "checking for $ac_word... " >&6; }
4342 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4343 $as_echo_n "(cached) " >&6
4345 if test -n "$ac_ct_OBJDUMP"; then
4346 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4352 test -z "$as_dir" && as_dir
=.
4353 for ac_exec_ext
in '' $ac_executable_extensions; do
4354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4366 if test -n "$ac_ct_OBJDUMP"; then
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4368 $as_echo "$ac_ct_OBJDUMP" >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4371 $as_echo "no" >&6; }
4374 if test "x$ac_ct_OBJDUMP" = x
; then
4377 case $cross_compiling:$ac_tool_warned in
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4381 ac_tool_warned
=yes ;;
4383 OBJDUMP
=$ac_ct_OBJDUMP
4386 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4389 test -z "$OBJDUMP" && OBJDUMP
=objdump
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4400 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4401 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4402 $as_echo_n "(cached) " >&6
4404 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4405 lt_cv_file_magic_test_file
=
4406 lt_cv_deplibs_check_method
='unknown'
4407 # Need to set the preceding variable on all platforms that support
4408 # interlibrary dependencies.
4409 # 'none' -- dependencies not supported.
4410 # `unknown' -- same as none, but documents that we really don't know.
4411 # 'pass_all' -- all dependencies passed with no checks.
4412 # 'test_compile' -- check by making test program.
4413 # 'file_magic [[regex]]' -- check by looking for files in library path
4414 # which responds to the $file_magic_cmd with a given extended regex.
4415 # If you have `file' or equivalent on your system and you're not sure
4416 # whether `pass_all' will *always* work, you probably want this one.
4420 lt_cv_deplibs_check_method
=pass_all
4424 lt_cv_deplibs_check_method
=pass_all
4428 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4429 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4430 lt_cv_file_magic_test_file
=/shlib
/libc.so
4434 # func_win32_libid is a shell function defined in ltmain.sh
4435 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4436 lt_cv_file_magic_cmd
='func_win32_libid'
4440 # Base MSYS/MinGW do not provide the 'file' command needed by
4441 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4442 # unless we find 'file', for example because we are cross-compiling.
4443 if ( file / ) >/dev
/null
2>&1; then
4444 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4445 lt_cv_file_magic_cmd
='func_win32_libid'
4447 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4448 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4453 # use the weaker test based on 'objdump'. See mingw*.
4454 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4455 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4458 darwin
* | rhapsody
*)
4459 lt_cv_deplibs_check_method
=pass_all
4462 freebsd
* | dragonfly
*)
4463 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4466 # Not sure whether the presence of OpenBSD here was a mistake.
4467 # Let's accept both of them until this is cleared up.
4468 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4469 lt_cv_file_magic_cmd
=/usr
/bin
/file
4470 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4474 lt_cv_deplibs_check_method
=pass_all
4479 lt_cv_deplibs_check_method
=pass_all
4482 hpux10.20
* | hpux11
*)
4483 lt_cv_file_magic_cmd
=/usr
/bin
/file
4486 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4487 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4490 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]'
4491 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4494 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4495 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4501 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4502 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4505 irix5
* | irix6
* | nonstopux
*)
4507 *-32|*"-32 ") libmagic
=32-bit;;
4508 *-n32|*"-n32 ") libmagic
=N32
;;
4509 *-64|*"-64 ") libmagic
=64-bit;;
4510 *) libmagic
=never
-match;;
4512 lt_cv_deplibs_check_method
=pass_all
4515 # This must be Linux ELF.
4516 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4517 lt_cv_deplibs_check_method
=pass_all
4520 netbsd
* | netbsdelf
*-gnu)
4521 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4522 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4524 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4529 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4530 lt_cv_file_magic_cmd
=/usr
/bin
/file
4531 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4535 lt_cv_deplibs_check_method
=pass_all
4539 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4540 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4542 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4546 osf3
* | osf4
* | osf5
*)
4547 lt_cv_deplibs_check_method
=pass_all
4551 lt_cv_deplibs_check_method
=pass_all
4555 lt_cv_deplibs_check_method
=pass_all
4558 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4559 lt_cv_deplibs_check_method
=pass_all
4563 case $host_vendor in
4565 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]'
4566 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4569 lt_cv_deplibs_check_method
=pass_all
4572 lt_cv_file_magic_cmd
='/bin/file'
4573 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4576 lt_cv_file_magic_cmd
='/bin/file'
4577 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4578 lt_cv_file_magic_test_file
=/lib
/libc.so
4581 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_deplibs_check_method
=pass_all
4590 lt_cv_deplibs_check_method
=pass_all
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4596 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4597 file_magic_cmd
=$lt_cv_file_magic_cmd
4598 deplibs_check_method
=$lt_cv_deplibs_check_method
4599 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4612 if test -n "$ac_tool_prefix"; then
4613 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4614 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if test "${ac_cv_prog_AR+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$AR"; then
4621 ac_cv_prog_AR
="$AR" # Let the user override the test.
4623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir
=.
4628 for ac_exec_ext
in '' $ac_executable_extensions; do
4629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 if test -n "$AR"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4643 $as_echo "$AR" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4651 if test -z "$ac_cv_prog_AR"; then
4653 # Extract the first word of "ar", so it can be a program name with args.
4654 set dummy
ar; ac_word
=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$ac_ct_AR"; then
4661 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_ac_ct_AR
="ar"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4681 if test -n "$ac_ct_AR"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4683 $as_echo "$ac_ct_AR" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4689 if test "x$ac_ct_AR" = x
; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned
=yes ;;
4704 test -z "$AR" && AR
=ar
4705 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4717 if test -n "$ac_tool_prefix"; then
4718 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4719 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if test "${ac_cv_prog_STRIP+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$STRIP"; then
4726 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4735 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745 STRIP
=$ac_cv_prog_STRIP
4746 if test -n "$STRIP"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4748 $as_echo "$STRIP" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4756 if test -z "$ac_cv_prog_STRIP"; then
4758 # Extract the first word of "strip", so it can be a program name with args.
4759 set dummy strip
; ac_word
=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$ac_ct_STRIP"; then
4766 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir
=.
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4775 ac_cv_prog_ac_ct_STRIP
="strip"
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4786 if test -n "$ac_ct_STRIP"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4788 $as_echo "$ac_ct_STRIP" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4794 if test "x$ac_ct_STRIP" = x
; then
4797 case $cross_compiling:$ac_tool_warned in
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4801 ac_tool_warned
=yes ;;
4806 STRIP
="$ac_cv_prog_STRIP"
4809 test -z "$STRIP" && STRIP
=:
4816 if test -n "$ac_tool_prefix"; then
4817 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4818 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -n "$RANLIB"; then
4825 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4834 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 RANLIB
=$ac_cv_prog_RANLIB
4845 if test -n "$RANLIB"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4847 $as_echo "$RANLIB" >&6; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4855 if test -z "$ac_cv_prog_RANLIB"; then
4856 ac_ct_RANLIB
=$RANLIB
4857 # Extract the first word of "ranlib", so it can be a program name with args.
4858 set dummy ranlib
; ac_word
=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4864 if test -n "$ac_ct_RANLIB"; then
4865 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4885 if test -n "$ac_ct_RANLIB"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4887 $as_echo "$ac_ct_RANLIB" >&6; }
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4893 if test "x$ac_ct_RANLIB" = x
; then
4896 case $cross_compiling:$ac_tool_warned in
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned
=yes ;;
4902 RANLIB
=$ac_ct_RANLIB
4905 RANLIB
="$ac_cv_prog_RANLIB"
4908 test -z "$RANLIB" && RANLIB
=:
4915 # Determine commands to create old-style static archives.
4916 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4917 old_postinstall_cmds
='chmod 644 $oldlib'
4918 old_postuninstall_cmds
=
4920 if test -n "$RANLIB"; then
4923 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4926 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4929 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4965 # If no C compiler was specified, use CC.
4968 # If no C compiler flags were specified, use CFLAGS.
4969 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4971 # Allow CC to be a program name with arguments.
4975 # Check for command to grab the raw symbol name followed by C symbol from nm.
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4977 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4978 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4979 $as_echo_n "(cached) " >&6
4982 # These are sane defaults that work on at least a few old systems.
4983 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4985 # Character class describing NM global symbol codes.
4986 symcode
='[BCDEGRST]'
4988 # Regexp to match symbols that can be accessed directly from C.
4989 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4991 # Define system-specific variables.
4996 cygwin
* | mingw
* | pw32
* | cegcc
*)
4997 symcode
='[ABCDGISTW]'
5000 if test "$host_cpu" = ia64
; then
5001 symcode
='[ABCDEGRST]'
5005 symcode
='[BCDEGRST]'
5008 symcode
='[BCDEGQRST]'
5019 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5027 # If we're using GNU nm, then use its standard symbol codes.
5028 case `$NM -V 2>&1` in
5029 *GNU
* | *'with BFD'*)
5030 symcode
='[ABCDGIRSTW]' ;;
5033 # Transform an extracted symbol line into a proper C declaration.
5034 # Some systems (esp. on ia64) link data and code symbols differently,
5035 # so use this general approach.
5036 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5038 # Transform an extracted symbol line into symbol name and symbol address
5039 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5040 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'"
5042 # Handle CRLF in mingw tool chain
5046 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5050 # Try without a prefix underscore, then with it.
5051 for ac_symprfx
in "" "_"; do
5053 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5054 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5056 # Write the raw and C identifiers.
5057 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5058 # Fake it for dumpbin and say T for any non-static function
5059 # and D for any global variable.
5060 # Also find C++ and __fastcall symbols from MSVC++,
5061 # which start with @ or ?.
5062 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5063 " {last_section=section; section=\$ 3};"\
5064 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5065 " \$ 0!~/External *\|/{next};"\
5066 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5067 " {if(hide[section]) next};"\
5068 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5069 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5070 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5071 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5072 " ' prfx=^$ac_symprfx"
5074 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5077 # Check to see that the pipe works correctly.
5081 cat > conftest.
$ac_ext <<_LT_EOF
5086 void nm_test_func(void);
5087 void nm_test_func(void){}
5091 int main(){nm_test_var='a';nm_test_func();return(0);}
5094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5095 (eval $ac_compile) 2>&5
5097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5098 test $ac_status = 0; }; then
5099 # Now try to grab the symbols.
5101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5102 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; } && test -s "$nlist"; then
5106 # Try sorting and uniquifying the output.
5107 if sort "$nlist" | uniq > "$nlist"T
; then
5108 mv -f "$nlist"T
"$nlist"
5113 # Make sure that we snagged all the symbols we need.
5114 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5115 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5116 cat <<_LT_EOF > conftest.$ac_ext
5122 # Now generate the symbol file.
5123 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5125 cat <<_LT_EOF >> conftest.$ac_ext
5127 /* The mapping between symbol names and symbols. */
5132 lt__PROGRAM__LTX_preloaded_symbols[] =
5134 { "@PROGRAM@", (void *) 0 },
5136 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5137 cat <<\_LT_EOF
>> conftest.
$ac_ext
5141 /* This works around a problem
in FreeBSD linker
*/
5142 #ifdef FREEBSD_WORKAROUND
5143 static const void
*lt_preloaded_setup
() {
5144 return lt__PROGRAM__LTX_preloaded_symbols
;
5152 # Now try linking the two files.
5153 mv conftest.
$ac_objext conftstm.
$ac_objext
5154 lt_save_LIBS
="$LIBS"
5155 lt_save_CFLAGS
="$CFLAGS"
5156 LIBS
="conftstm.$ac_objext"
5157 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5159 (eval $ac_link) 2>&5
5161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5162 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5165 LIBS
="$lt_save_LIBS"
5166 CFLAGS
="$lt_save_CFLAGS"
5168 echo "cannot find nm_test_func in $nlist" >&5
5171 echo "cannot find nm_test_var in $nlist" >&5
5174 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5177 echo "$progname: failed program was:" >&5
5178 cat conftest.
$ac_ext >&5
5180 rm -rf conftest
* conftst
*
5182 # Do not use the global_symbol_pipe unless it works.
5183 if test "$pipe_works" = yes; then
5186 lt_cv_sys_global_symbol_pipe
=
5192 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5193 lt_cv_sys_global_symbol_to_cdecl
=
5195 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5197 $as_echo "failed" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5200 $as_echo "ok" >&6; }
5225 # Check whether --enable-libtool-lock was given.
5226 if test "${enable_libtool_lock+set}" = set; then :
5227 enableval
=$enable_libtool_lock;
5230 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5232 # Some flags need to be propagated to the compiler or linker for good
5236 # Find out which ABI we are using.
5237 echo 'int i;' > conftest.
$ac_ext
5238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5239 (eval $ac_compile) 2>&5
5241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5242 test $ac_status = 0; }; then
5243 case `/usr/bin/file conftest.$ac_objext` in
5255 # Find out which ABI we are using.
5256 echo '#line 5256 "configure"' > conftest.
$ac_ext
5257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5258 (eval $ac_compile) 2>&5
5260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }; then
5262 if test "$lt_cv_prog_gnu_ld" = yes; then
5263 case `/usr/bin/file conftest.$ac_objext` in
5265 LD
="${LD-ld} -melf32bsmip"
5268 LD
="${LD-ld} -melf32bmipn32"
5271 LD
="${LD-ld} -melf64bmip"
5275 case `/usr/bin/file conftest.$ac_objext` in
5291 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5292 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5293 # Find out which ABI we are using.
5294 echo 'int i;' > conftest.
$ac_ext
5295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5296 (eval $ac_compile) 2>&5
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }; then
5300 case `/usr/bin/file conftest.o` in
5303 x86_64
-*kfreebsd
*-gnu)
5304 LD
="${LD-ld} -m elf_i386_fbsd"
5307 LD
="${LD-ld} -m elf_i386"
5309 ppc64
-*linux
*|powerpc64
-*linux
*)
5310 LD
="${LD-ld} -m elf32ppclinux"
5313 LD
="${LD-ld} -m elf_s390"
5316 LD
="${LD-ld} -m elf32_sparc"
5322 x86_64
-*kfreebsd
*-gnu)
5323 LD
="${LD-ld} -m elf_x86_64_fbsd"
5326 LD
="${LD-ld} -m elf_x86_64"
5328 ppc
*-*linux
*|powerpc
*-*linux
*)
5329 LD
="${LD-ld} -m elf64ppc"
5331 s390
*-*linux
*|s390
*-*tpf
*)
5332 LD
="${LD-ld} -m elf64_s390"
5335 LD
="${LD-ld} -m elf64_sparc"
5345 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5346 SAVE_CFLAGS
="$CFLAGS"
5347 CFLAGS
="$CFLAGS -belf"
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5349 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5350 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5354 ac_cpp
='$CPP $CPPFLAGS'
5355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5360 /* end confdefs.h. */
5370 if ac_fn_c_try_link
"$LINENO"; then :
5371 lt_cv_cc_needs_belf
=yes
5373 lt_cv_cc_needs_belf
=no
5375 rm -f core conftest.err conftest.
$ac_objext \
5376 conftest
$ac_exeext conftest.
$ac_ext
5378 ac_cpp
='$CPP $CPPFLAGS'
5379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5385 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5386 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5387 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5388 CFLAGS
="$SAVE_CFLAGS"
5392 # Find out which ABI we are using.
5393 echo 'int i;' > conftest.
$ac_ext
5394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5395 (eval $ac_compile) 2>&5
5397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5398 test $ac_status = 0; }; then
5399 case `/usr/bin/file conftest.o` in
5401 case $lt_cv_prog_gnu_ld in
5402 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5404 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5416 need_locks
="$enable_libtool_lock"
5420 rhapsody
* | darwin
*)
5421 if test -n "$ac_tool_prefix"; then
5422 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5423 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5425 $as_echo_n "checking for $ac_word... " >&6; }
5426 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5427 $as_echo_n "(cached) " >&6
5429 if test -n "$DSYMUTIL"; then
5430 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5436 test -z "$as_dir" && as_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5439 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5449 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5450 if test -n "$DSYMUTIL"; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5452 $as_echo "$DSYMUTIL" >&6; }
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455 $as_echo "no" >&6; }
5460 if test -z "$ac_cv_prog_DSYMUTIL"; then
5461 ac_ct_DSYMUTIL
=$DSYMUTIL
5462 # Extract the first word of "dsymutil", so it can be a program name with args.
5463 set dummy dsymutil
; ac_word
=$2
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5465 $as_echo_n "checking for $ac_word... " >&6; }
5466 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5467 $as_echo_n "(cached) " >&6
5469 if test -n "$ac_ct_DSYMUTIL"; then
5470 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5476 test -z "$as_dir" && as_dir
=.
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5490 if test -n "$ac_ct_DSYMUTIL"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5492 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5498 if test "x$ac_ct_DSYMUTIL" = x
; then
5501 case $cross_compiling:$ac_tool_warned in
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5505 ac_tool_warned
=yes ;;
5507 DSYMUTIL
=$ac_ct_DSYMUTIL
5510 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5513 if test -n "$ac_tool_prefix"; then
5514 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5515 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$NMEDIT"; then
5522 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_exec_ext
in '' $ac_executable_extensions; do
5530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 NMEDIT
=$ac_cv_prog_NMEDIT
5542 if test -n "$NMEDIT"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5544 $as_echo "$NMEDIT" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5552 if test -z "$ac_cv_prog_NMEDIT"; then
5553 ac_ct_NMEDIT
=$NMEDIT
5554 # Extract the first word of "nmedit", so it can be a program name with args.
5555 set dummy nmedit
; ac_word
=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5559 $as_echo_n "(cached) " >&6
5561 if test -n "$ac_ct_NMEDIT"; then
5562 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5568 test -z "$as_dir" && as_dir
=.
5569 for ac_exec_ext
in '' $ac_executable_extensions; do
5570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5571 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5582 if test -n "$ac_ct_NMEDIT"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5584 $as_echo "$ac_ct_NMEDIT" >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5590 if test "x$ac_ct_NMEDIT" = x
; then
5593 case $cross_compiling:$ac_tool_warned in
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5597 ac_tool_warned
=yes ;;
5599 NMEDIT
=$ac_ct_NMEDIT
5602 NMEDIT
="$ac_cv_prog_NMEDIT"
5605 if test -n "$ac_tool_prefix"; then
5606 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5607 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if test "${ac_cv_prog_LIPO+set}" = set; then :
5611 $as_echo_n "(cached) " >&6
5613 if test -n "$LIPO"; then
5614 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5620 test -z "$as_dir" && as_dir
=.
5621 for ac_exec_ext
in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5633 LIPO
=$ac_cv_prog_LIPO
5634 if test -n "$LIPO"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5636 $as_echo "$LIPO" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5644 if test -z "$ac_cv_prog_LIPO"; then
5646 # Extract the first word of "lipo", so it can be a program name with args.
5647 set dummy lipo
; ac_word
=$2
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 $as_echo_n "checking for $ac_word... " >&6; }
5650 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5651 $as_echo_n "(cached) " >&6
5653 if test -n "$ac_ct_LIPO"; then
5654 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5660 test -z "$as_dir" && as_dir
=.
5661 for ac_exec_ext
in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_prog_ac_ct_LIPO
="lipo"
5664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5674 if test -n "$ac_ct_LIPO"; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5676 $as_echo "$ac_ct_LIPO" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }
5682 if test "x$ac_ct_LIPO" = x
; then
5685 case $cross_compiling:$ac_tool_warned in
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5689 ac_tool_warned
=yes ;;
5694 LIPO
="$ac_cv_prog_LIPO"
5697 if test -n "$ac_tool_prefix"; then
5698 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5699 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5701 $as_echo_n "checking for $ac_word... " >&6; }
5702 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5703 $as_echo_n "(cached) " >&6
5705 if test -n "$OTOOL"; then
5706 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 OTOOL
=$ac_cv_prog_OTOOL
5726 if test -n "$OTOOL"; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5728 $as_echo "$OTOOL" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5731 $as_echo "no" >&6; }
5736 if test -z "$ac_cv_prog_OTOOL"; then
5738 # Extract the first word of "otool", so it can be a program name with args.
5739 set dummy otool
; ac_word
=$2
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741 $as_echo_n "checking for $ac_word... " >&6; }
5742 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5745 if test -n "$ac_ct_OTOOL"; then
5746 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir
=.
5753 for ac_exec_ext
in '' $ac_executable_extensions; do
5754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755 ac_cv_prog_ac_ct_OTOOL
="otool"
5756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5766 if test -n "$ac_ct_OTOOL"; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5768 $as_echo "$ac_ct_OTOOL" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771 $as_echo "no" >&6; }
5774 if test "x$ac_ct_OTOOL" = x
; then
5777 case $cross_compiling:$ac_tool_warned in
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5781 ac_tool_warned
=yes ;;
5786 OTOOL
="$ac_cv_prog_OTOOL"
5789 if test -n "$ac_tool_prefix"; then
5790 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5791 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5793 $as_echo_n "checking for $ac_word... " >&6; }
5794 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5795 $as_echo_n "(cached) " >&6
5797 if test -n "$OTOOL64"; then
5798 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5804 test -z "$as_dir" && as_dir
=.
5805 for ac_exec_ext
in '' $ac_executable_extensions; do
5806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5807 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817 OTOOL64
=$ac_cv_prog_OTOOL64
5818 if test -n "$OTOOL64"; then
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5820 $as_echo "$OTOOL64" >&6; }
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5823 $as_echo "no" >&6; }
5828 if test -z "$ac_cv_prog_OTOOL64"; then
5829 ac_ct_OTOOL64
=$OTOOL64
5830 # Extract the first word of "otool64", so it can be a program name with args.
5831 set dummy otool64
; ac_word
=$2
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5833 $as_echo_n "checking for $ac_word... " >&6; }
5834 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5835 $as_echo_n "(cached) " >&6
5837 if test -n "$ac_ct_OTOOL64"; then
5838 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5844 test -z "$as_dir" && as_dir
=.
5845 for ac_exec_ext
in '' $ac_executable_extensions; do
5846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5847 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5858 if test -n "$ac_ct_OTOOL64"; then
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5860 $as_echo "$ac_ct_OTOOL64" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5866 if test "x$ac_ct_OTOOL64" = x
; then
5869 case $cross_compiling:$ac_tool_warned in
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5873 ac_tool_warned
=yes ;;
5875 OTOOL64
=$ac_ct_OTOOL64
5878 OTOOL64
="$ac_cv_prog_OTOOL64"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5908 $as_echo_n "checking for -single_module linker flag... " >&6; }
5909 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5910 $as_echo_n "(cached) " >&6
5912 lt_cv_apple_cc_single_mod
=no
5913 if test -z "${LT_MULTI_MODULE}"; then
5914 # By default we will add the -single_module flag. You can override
5915 # by either setting the environment variable LT_MULTI_MODULE
5916 # non-empty at configure time, or by adding -multi_module to the
5918 rm -rf libconftest.dylib
*
5919 echo "int foo(void){return 1;}" > conftest.c
5920 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5921 -dynamiclib -Wl,-single_module conftest.c" >&5
5922 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5923 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5925 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5926 lt_cv_apple_cc_single_mod
=yes
5928 cat conftest.err
>&5
5930 rm -rf libconftest.dylib
*
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5935 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5937 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5938 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 lt_cv_ld_exported_symbols_list
=no
5942 save_LDFLAGS
=$LDFLAGS
5943 echo "_main" > conftest.sym
5944 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5956 if ac_fn_c_try_link
"$LINENO"; then :
5957 lt_cv_ld_exported_symbols_list
=yes
5959 lt_cv_ld_exported_symbols_list
=no
5961 rm -f core conftest.err conftest.
$ac_objext \
5962 conftest
$ac_exeext conftest.
$ac_ext
5963 LDFLAGS
="$save_LDFLAGS"
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5967 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5969 rhapsody
* | darwin1.
[012])
5970 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5972 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5973 darwin
*) # darwin 5.x on
5974 # if running on 10.5 or later, the deployment target defaults
5975 # to the OS version, if on x86, and 10.4, the deployment
5976 # target defaults to 10.4. Don't you love it?
5977 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5978 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5979 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5981 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5983 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5987 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5988 _lt_dar_single_mod
='$single_module'
5990 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5991 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5993 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5995 if test "$DSYMUTIL" != ":"; then
5996 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6004 ac_cpp
='$CPP $CPPFLAGS'
6005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6010 # On Suns, sometimes $CPP names a directory.
6011 if test -n "$CPP" && test -d "$CPP"; then
6014 if test -z "$CPP"; then
6015 if test "${ac_cv_prog_CPP+set}" = set; then :
6016 $as_echo_n "(cached) " >&6
6018 # Double quotes because CPP needs to be expanded
6019 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6022 for ac_c_preproc_warn_flag
in '' yes
6024 # Use a header file that comes with gcc, so configuring glibc
6025 # with a fresh cross-compiler works.
6026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6027 # <limits.h> exists even on freestanding compilers.
6028 # On the NeXT, cc -E runs the code through the compiler's parser,
6029 # not just through cpp. "Syntax error" is here to catch this case.
6030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6031 /* end confdefs.h. */
6033 # include <limits.h>
6035 # include <assert.h>
6039 if ac_fn_c_try_cpp
"$LINENO"; then :
6042 # Broken: fails on valid input.
6045 rm -f conftest.err conftest.
$ac_ext
6047 # OK, works on sane cases. Now check whether nonexistent headers
6048 # can be detected and how.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6051 #include <ac_nonexistent.h>
6053 if ac_fn_c_try_cpp
"$LINENO"; then :
6054 # Broken: success on invalid input.
6057 # Passes both tests.
6061 rm -f conftest.err conftest.
$ac_ext
6064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6065 rm -f conftest.err conftest.
$ac_ext
6066 if $ac_preproc_ok; then :
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6079 $as_echo "$CPP" >&6; }
6081 for ac_c_preproc_warn_flag
in '' yes
6083 # Use a header file that comes with gcc, so configuring glibc
6084 # with a fresh cross-compiler works.
6085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6086 # <limits.h> exists even on freestanding compilers.
6087 # On the NeXT, cc -E runs the code through the compiler's parser,
6088 # not just through cpp. "Syntax error" is here to catch this case.
6089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6092 # include <limits.h>
6094 # include <assert.h>
6098 if ac_fn_c_try_cpp
"$LINENO"; then :
6101 # Broken: fails on valid input.
6104 rm -f conftest.err conftest.
$ac_ext
6106 # OK, works on sane cases. Now check whether nonexistent headers
6107 # can be detected and how.
6108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6109 /* end confdefs.h. */
6110 #include <ac_nonexistent.h>
6112 if ac_fn_c_try_cpp
"$LINENO"; then :
6113 # Broken: success on invalid input.
6116 # Passes both tests.
6120 rm -f conftest.err conftest.
$ac_ext
6123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6124 rm -f conftest.err conftest.
$ac_ext
6125 if $ac_preproc_ok; then :
6128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6130 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6131 See \`config.log' for more details." "$LINENO" 5; }
6135 ac_cpp
='$CPP $CPPFLAGS'
6136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6142 $as_echo_n "checking for ANSI C header files... " >&6; }
6143 if test "${ac_cv_header_stdc+set}" = set; then :
6144 $as_echo_n "(cached) " >&6
6146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6161 if ac_fn_c_try_compile
"$LINENO"; then :
6162 ac_cv_header_stdc
=yes
6164 ac_cv_header_stdc
=no
6166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6168 if test $ac_cv_header_stdc = yes; then
6169 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6171 /* end confdefs.h. */
6175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6176 $EGREP "memchr" >/dev
/null
2>&1; then :
6179 ac_cv_header_stdc
=no
6185 if test $ac_cv_header_stdc = yes; then
6186 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6193 $EGREP "free" >/dev
/null
2>&1; then :
6196 ac_cv_header_stdc
=no
6202 if test $ac_cv_header_stdc = yes; then
6203 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6204 if test "$cross_compiling" = yes; then :
6207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6208 /* end confdefs.h. */
6211 #if ((' ' & 0x0FF) == 0x020)
6212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6215 # define ISLOWER(c) \
6216 (('a' <= (c) && (c) <= 'i') \
6217 || ('j' <= (c) && (c) <= 'r') \
6218 || ('s' <= (c) && (c) <= 'z'))
6219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6227 for (i = 0; i < 256; i++)
6228 if (XOR (islower (i), ISLOWER (i))
6229 || toupper (i) != TOUPPER (i))
6234 if ac_fn_c_try_run
"$LINENO"; then :
6237 ac_cv_header_stdc
=no
6239 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6240 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6246 $as_echo "$ac_cv_header_stdc" >&6; }
6247 if test $ac_cv_header_stdc = yes; then
6249 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6253 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6254 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6255 inttypes.h stdint.h unistd.h
6257 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6258 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6260 eval as_val
=\$
$as_ac_Header
6261 if test "x$as_val" = x
""yes; then :
6262 cat >>confdefs.h
<<_ACEOF
6263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6271 for ac_header
in dlfcn.h
6273 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6275 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6276 cat >>confdefs.h
<<_ACEOF
6277 #define HAVE_DLFCN_H 1
6287 # Check whether --enable-static was given.
6288 if test "${enable_static+set}" = set; then :
6289 enableval
=$enable_static; p
=${PACKAGE-default}
6291 yes) enable_static
=yes ;;
6292 no
) enable_static
=no
;;
6295 # Look at the argument we got. We use all the common list separators.
6296 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6297 for pkg
in $enableval; do
6299 if test "X$pkg" = "X$p"; then
6325 # Check whether --enable-shared was given.
6326 if test "${enable_shared+set}" = set; then :
6327 enableval
=$enable_shared; p
=${PACKAGE-default}
6329 yes) enable_shared
=yes ;;
6330 no
) enable_shared
=no
;;
6333 # Look at the argument we got. We use all the common list separators.
6334 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6335 for pkg
in $enableval; do
6337 if test "X$pkg" = "X$p"; then
6358 # Check whether --with-pic was given.
6359 if test "${with_pic+set}" = set; then :
6360 withval
=$with_pic; pic_mode
="$withval"
6366 test -z "$pic_mode" && pic_mode
=default
6374 # Check whether --enable-fast-install was given.
6375 if test "${enable_fast_install+set}" = set; then :
6376 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6378 yes) enable_fast_install
=yes ;;
6379 no
) enable_fast_install
=no
;;
6381 enable_fast_install
=no
6382 # Look at the argument we got. We use all the common list separators.
6383 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6384 for pkg
in $enableval; do
6386 if test "X$pkg" = "X$p"; then
6387 enable_fast_install
=yes
6394 enable_fast_install
=yes
6407 # This can be used to rebuild libtool when needed
6408 LIBTOOL_DEPS
="$ltmain"
6410 # Always use our own libtool.
6411 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6437 test -z "$LN_S" && LN_S
="ln -s"
6452 if test -n "${ZSH_VERSION+set}" ; then
6453 setopt NO_GLOB_SUBST
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6457 $as_echo_n "checking for objdir... " >&6; }
6458 if test "${lt_cv_objdir+set}" = set; then :
6459 $as_echo_n "(cached) " >&6
6461 rm -f .libs
2>/dev
/null
6462 mkdir .libs
2>/dev
/null
6463 if test -d .libs
; then
6466 # MS-DOS does not allow filenames that begin with a dot.
6469 rmdir .libs
2>/dev
/null
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6472 $as_echo "$lt_cv_objdir" >&6; }
6473 objdir
=$lt_cv_objdir
6479 cat >>confdefs.h
<<_ACEOF
6480 #define LT_OBJDIR "$lt_cv_objdir/"
6501 # AIX sometimes has problems with the GCC collect2 program. For some
6502 # reason, if we set the COLLECT_NAMES environment variable, the problems
6503 # vanish in a puff of smoke.
6504 if test "X${COLLECT_NAMES+set}" != Xset
; then
6506 export COLLECT_NAMES
6511 # Sed substitution that helps us do robust quoting. It backslashifies
6512 # metacharacters that are still active within double-quoted strings.
6513 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6515 # Same as above, but do not quote variable references.
6516 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6518 # Sed substitution to delay expansion of an escaped shell variable in a
6519 # double_quote_subst'ed string.
6520 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6522 # Sed substitution to delay expansion of an escaped single quote.
6523 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6525 # Sed substitution to avoid accidental globbing in evaled expressions
6526 no_glob_subst
='s/\*/\\\*/g'
6530 can_build_shared
=yes
6532 # All known linkers require a `.a' archive for static linking (except MSVC,
6533 # which needs '.lib').
6536 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6539 old_CFLAGS
="$CFLAGS"
6541 # Set sane defaults for various variables
6542 test -z "$CC" && CC
=cc
6543 test -z "$LTCC" && LTCC
=$CC
6544 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6545 test -z "$LD" && LD
=ld
6546 test -z "$ac_objext" && ac_objext
=o
6548 for cc_temp
in $compiler""; do
6550 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6551 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6556 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6559 # Only perform the check for file, if the check method requires it
6560 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6561 case $deplibs_check_method in
6563 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6565 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6566 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6571 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6574 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6575 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6576 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6577 for ac_dir
in $ac_dummy; do
6579 test -z "$ac_dir" && ac_dir
=.
6580 if test -f $ac_dir/${ac_tool_prefix}file; then
6581 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6582 if test -n "$file_magic_test_file"; then
6583 case $deplibs_check_method in
6585 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6586 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6587 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6588 $EGREP "$file_magic_regex" > /dev
/null
; then
6593 *** Warning: the command libtool uses to detect shared libraries,
6594 *** $file_magic_cmd, produces output that libtool cannot recognize.
6595 *** The result is that libtool may fail to recognize shared libraries
6596 *** as such. This will affect the creation of libtool libraries that
6597 *** depend on shared libraries, but programs linked with such libtool
6598 *** libraries will work regardless of this problem. Nevertheless, you
6599 *** may want to report the problem to your system manager and/or to
6600 *** bug-libtool@gnu.org
6610 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6615 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6616 if test -n "$MAGIC_CMD"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6618 $as_echo "$MAGIC_CMD" >&6; }
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6628 if test -z "$lt_cv_path_MAGIC_CMD"; then
6629 if test -n "$ac_tool_prefix"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6631 $as_echo_n "checking for file... " >&6; }
6632 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6633 $as_echo_n "(cached) " >&6
6637 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6640 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6642 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6643 for ac_dir
in $ac_dummy; do
6645 test -z "$ac_dir" && ac_dir
=.
6646 if test -f $ac_dir/file; then
6647 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6648 if test -n "$file_magic_test_file"; then
6649 case $deplibs_check_method in
6651 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6652 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6653 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6654 $EGREP "$file_magic_regex" > /dev
/null
; then
6659 *** Warning: the command libtool uses to detect shared libraries,
6660 *** $file_magic_cmd, produces output that libtool cannot recognize.
6661 *** The result is that libtool may fail to recognize shared libraries
6662 *** as such. This will affect the creation of libtool libraries that
6663 *** depend on shared libraries, but programs linked with such libtool
6664 *** libraries will work regardless of this problem. Nevertheless, you
6665 *** may want to report the problem to your system manager and/or to
6666 *** bug-libtool@gnu.org
6676 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6681 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6682 if test -n "$MAGIC_CMD"; then
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6684 $as_echo "$MAGIC_CMD" >&6; }
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6700 # Use C for the default configuration in the libtool script
6704 ac_cpp
='$CPP $CPPFLAGS'
6705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6710 # Source file extension for C test sources.
6713 # Object file extension for compiled C test sources.
6717 # Code to be used in simple compile tests
6718 lt_simple_compile_test_code
="int some_variable = 0;"
6720 # Code to be used in simple link tests
6721 lt_simple_link_test_code
='int main(){return(0);}'
6729 # If no C compiler was specified, use CC.
6732 # If no C compiler flags were specified, use CFLAGS.
6733 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6735 # Allow CC to be a program name with arguments.
6738 # Save the default compiler, since it gets overwritten when the other
6739 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6740 compiler_DEFAULT
=$CC
6742 # save warnings/boilerplate of simple test code
6743 ac_outfile
=conftest.
$ac_objext
6744 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6745 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6746 _lt_compiler_boilerplate
=`cat conftest.err`
6749 ac_outfile
=conftest.
$ac_objext
6750 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6751 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6752 _lt_linker_boilerplate
=`cat conftest.err`
6756 if test -n "$compiler"; then
6758 lt_prog_compiler_no_builtin_flag
=
6760 if test "$GCC" = yes; then
6761 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6764 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6765 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6766 $as_echo_n "(cached) " >&6
6768 lt_cv_prog_compiler_rtti_exceptions
=no
6769 ac_outfile
=conftest.
$ac_objext
6770 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6771 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6772 # Insert the option either (1) after the last *FLAGS variable, or
6773 # (2) before a word containing "conftest.", or (3) at the end.
6774 # Note that $ac_compile itself does not contain backslashes and begins
6775 # with a dollar sign (not a hyphen), so the echo should work correctly.
6776 # The option is referenced via a variable to avoid confusing sed.
6777 lt_compile
=`echo "$ac_compile" | $SED \
6778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6780 -e 's:$: $lt_compiler_flag:'`
6781 (eval echo "\"\$as_me:6781: $lt_compile\"" >&5)
6782 (eval "$lt_compile" 2>conftest.err
)
6784 cat conftest.err
>&5
6785 echo "$as_me:6785: \$? = $ac_status" >&5
6786 if (exit $ac_status) && test -s "$ac_outfile"; then
6787 # The compiler can only warn and ignore the option if not recognized
6788 # So say no if there are warnings other than the usual output.
6789 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6790 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6791 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6792 lt_cv_prog_compiler_rtti_exceptions
=yes
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6799 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6801 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6802 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6814 lt_prog_compiler_wl
=
6815 lt_prog_compiler_pic
=
6816 lt_prog_compiler_static
=
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6819 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6821 if test "$GCC" = yes; then
6822 lt_prog_compiler_wl
='-Wl,'
6823 lt_prog_compiler_static
='-static'
6827 # All AIX code is PIC.
6828 if test "$host_cpu" = ia64
; then
6829 # AIX 5 now supports IA64 processor
6830 lt_prog_compiler_static
='-Bstatic'
6837 # see comment about AmigaOS4 .so support
6838 lt_prog_compiler_pic
='-fPIC'
6841 # FIXME: we need at least 68020 code to build shared libraries, but
6842 # adding the `-m68020' flag to GCC prevents building anything better,
6844 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6849 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6850 # PIC is the default for these OSes.
6853 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6854 # This hack is so that the source file can tell whether it is being
6855 # built for inclusion in a dll (and should export symbols for example).
6856 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6857 # (--disable-auto-import) libraries
6858 lt_prog_compiler_pic
='-DDLL_EXPORT'
6861 darwin
* | rhapsody
*)
6862 # PIC is the default on this platform
6863 # Common symbols not allowed in MH_DYLIB files
6864 lt_prog_compiler_pic
='-fno-common'
6868 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6869 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6870 # sets the default TLS model and affects inlining.
6876 lt_prog_compiler_pic
='-fPIC'
6882 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6883 # Instead, we relocate shared libraries at runtime.
6887 # Just because we use GCC doesn't mean we suddenly get shared libraries
6888 # on systems that don't support them.
6889 lt_prog_compiler_can_build_shared
=no
6894 # QNX uses GNU C++, but need to define -shared option too, otherwise
6896 lt_prog_compiler_pic
='-fPIC -shared'
6900 if test -d /usr
/nec
; then
6901 lt_prog_compiler_pic
=-Kconform_pic
6906 lt_prog_compiler_pic
='-fPIC'
6910 # PORTME Check for flag to pass linker flags through the system compiler.
6913 lt_prog_compiler_wl
='-Wl,'
6914 if test "$host_cpu" = ia64
; then
6915 # AIX 5 now supports IA64 processor
6916 lt_prog_compiler_static
='-Bstatic'
6918 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6922 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6923 # This hack is so that the source file can tell whether it is being
6924 # built for inclusion in a dll (and should export symbols for example).
6925 lt_prog_compiler_pic
='-DDLL_EXPORT'
6928 hpux9
* | hpux10
* | hpux11
*)
6929 lt_prog_compiler_wl
='-Wl,'
6930 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6937 lt_prog_compiler_pic
='+Z'
6940 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6941 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6944 irix5
* | irix6
* | nonstopux
*)
6945 lt_prog_compiler_wl
='-Wl,'
6946 # PIC (with -KPIC) is the default.
6947 lt_prog_compiler_static
='-non_shared'
6950 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6951 case $cc_basename in
6952 # old Intel for x86_64 which still supported -KPIC.
6954 lt_prog_compiler_wl
='-Wl,'
6955 lt_prog_compiler_pic
='-KPIC'
6956 lt_prog_compiler_static
='-static'
6958 # icc used to be incompatible with GCC.
6959 # ICC 10 doesn't accept -KPIC any more.
6961 lt_prog_compiler_wl
='-Wl,'
6962 lt_prog_compiler_pic
='-fPIC'
6963 lt_prog_compiler_static
='-static'
6965 # Lahey Fortran 8.1.
6967 lt_prog_compiler_wl
='-Wl,'
6968 lt_prog_compiler_pic
='--shared'
6969 lt_prog_compiler_static
='--static'
6971 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6972 # Portland Group compilers (*not* the Pentium gcc compiler,
6973 # which looks to be a dead project)
6974 lt_prog_compiler_wl
='-Wl,'
6975 lt_prog_compiler_pic
='-fpic'
6976 lt_prog_compiler_static
='-Bstatic'
6979 lt_prog_compiler_wl
='-Wl,'
6980 # All Alpha code is PIC.
6981 lt_prog_compiler_static
='-non_shared'
6984 # IBM XL C 8.0/Fortran 10.1 on PPC
6985 lt_prog_compiler_wl
='-Wl,'
6986 lt_prog_compiler_pic
='-qpic'
6987 lt_prog_compiler_static
='-qstaticlink'
6990 case `$CC -V 2>&1 | sed 5q` in
6993 lt_prog_compiler_pic
='-KPIC'
6994 lt_prog_compiler_static
='-Bstatic'
6995 lt_prog_compiler_wl
='-Wl,'
6998 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6999 lt_prog_compiler_pic
='-KPIC'
7000 lt_prog_compiler_static
='-Bstatic'
7001 lt_prog_compiler_wl
=''
7009 lt_prog_compiler_pic
='-KPIC'
7010 lt_prog_compiler_static
='-Bstatic'
7014 # QNX uses GNU C++, but need to define -shared option too, otherwise
7016 lt_prog_compiler_pic
='-fPIC -shared'
7019 osf3
* | osf4
* | osf5
*)
7020 lt_prog_compiler_wl
='-Wl,'
7021 # All OSF/1 code is PIC.
7022 lt_prog_compiler_static
='-non_shared'
7026 lt_prog_compiler_static
='-non_shared'
7030 lt_prog_compiler_pic
='-KPIC'
7031 lt_prog_compiler_static
='-Bstatic'
7032 case $cc_basename in
7034 lt_prog_compiler_wl
='-Qoption ld ';;
7036 lt_prog_compiler_wl
='-Wl,';;
7041 lt_prog_compiler_wl
='-Qoption ld '
7042 lt_prog_compiler_pic
='-PIC'
7043 lt_prog_compiler_static
='-Bstatic'
7046 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7047 lt_prog_compiler_wl
='-Wl,'
7048 lt_prog_compiler_pic
='-KPIC'
7049 lt_prog_compiler_static
='-Bstatic'
7053 if test -d /usr
/nec
;then
7054 lt_prog_compiler_pic
='-Kconform_pic'
7055 lt_prog_compiler_static
='-Bstatic'
7059 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7060 lt_prog_compiler_wl
='-Wl,'
7061 lt_prog_compiler_pic
='-KPIC'
7062 lt_prog_compiler_static
='-Bstatic'
7066 lt_prog_compiler_wl
='-Wl,'
7067 lt_prog_compiler_can_build_shared
=no
7071 lt_prog_compiler_pic
='-pic'
7072 lt_prog_compiler_static
='-Bstatic'
7076 lt_prog_compiler_can_build_shared
=no
7082 # For platforms which do not support PIC, -DPIC is meaningless:
7084 lt_prog_compiler_pic
=
7087 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7091 $as_echo "$lt_prog_compiler_pic" >&6; }
7099 # Check to make sure the PIC flag actually works.
7101 if test -n "$lt_prog_compiler_pic"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7103 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7104 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7105 $as_echo_n "(cached) " >&6
7107 lt_cv_prog_compiler_pic_works
=no
7108 ac_outfile
=conftest.
$ac_objext
7109 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7110 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7111 # Insert the option either (1) after the last *FLAGS variable, or
7112 # (2) before a word containing "conftest.", or (3) at the end.
7113 # Note that $ac_compile itself does not contain backslashes and begins
7114 # with a dollar sign (not a hyphen), so the echo should work correctly.
7115 # The option is referenced via a variable to avoid confusing sed.
7116 lt_compile
=`echo "$ac_compile" | $SED \
7117 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7118 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7119 -e 's:$: $lt_compiler_flag:'`
7120 (eval echo "\"\$as_me:7120: $lt_compile\"" >&5)
7121 (eval "$lt_compile" 2>conftest.err
)
7123 cat conftest.err
>&5
7124 echo "$as_me:7124: \$? = $ac_status" >&5
7125 if (exit $ac_status) && test -s "$ac_outfile"; then
7126 # The compiler can only warn and ignore the option if not recognized
7127 # So say no if there are warnings other than the usual output.
7128 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7129 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7130 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7131 lt_cv_prog_compiler_pic_works
=yes
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7138 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7140 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7141 case $lt_prog_compiler_pic in
7143 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7146 lt_prog_compiler_pic
=
7147 lt_prog_compiler_can_build_shared
=no
7158 # Check to make sure the static flag actually works.
7160 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7162 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7163 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7164 $as_echo_n "(cached) " >&6
7166 lt_cv_prog_compiler_static_works
=no
7167 save_LDFLAGS
="$LDFLAGS"
7168 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7169 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7170 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7171 # The linker can only warn and ignore the option if not recognized
7172 # So say no if there are warnings
7173 if test -s conftest.err
; then
7174 # Append any errors to the config.log.
7175 cat conftest.err
1>&5
7176 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7177 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7178 if diff conftest.exp conftest.er2
>/dev
/null
; then
7179 lt_cv_prog_compiler_static_works
=yes
7182 lt_cv_prog_compiler_static_works
=yes
7186 LDFLAGS
="$save_LDFLAGS"
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7190 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7192 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7195 lt_prog_compiler_static
=
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7205 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7206 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7207 $as_echo_n "(cached) " >&6
7209 lt_cv_prog_compiler_c_o
=no
7210 $RM -r conftest
2>/dev
/null
7214 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7216 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7217 # Insert the option either (1) after the last *FLAGS variable, or
7218 # (2) before a word containing "conftest.", or (3) at the end.
7219 # Note that $ac_compile itself does not contain backslashes and begins
7220 # with a dollar sign (not a hyphen), so the echo should work correctly.
7221 lt_compile
=`echo "$ac_compile" | $SED \
7222 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7224 -e 's:$: $lt_compiler_flag:'`
7225 (eval echo "\"\$as_me:7225: $lt_compile\"" >&5)
7226 (eval "$lt_compile" 2>out
/conftest.err
)
7228 cat out
/conftest.err
>&5
7229 echo "$as_me:7229: \$? = $ac_status" >&5
7230 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7232 # The compiler can only warn and ignore the option if not recognized
7233 # So say no if there are warnings
7234 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7235 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7236 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7237 lt_cv_prog_compiler_c_o
=yes
7242 # SGI C++ compiler will create directory out/ii_files/ for
7243 # template instantiation
7244 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7245 $RM out
/* && rmdir out
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7252 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7260 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7261 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7264 lt_cv_prog_compiler_c_o
=no
7265 $RM -r conftest
2>/dev
/null
7269 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7271 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7272 # Insert the option either (1) after the last *FLAGS variable, or
7273 # (2) before a word containing "conftest.", or (3) at the end.
7274 # Note that $ac_compile itself does not contain backslashes and begins
7275 # with a dollar sign (not a hyphen), so the echo should work correctly.
7276 lt_compile
=`echo "$ac_compile" | $SED \
7277 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7278 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7279 -e 's:$: $lt_compiler_flag:'`
7280 (eval echo "\"\$as_me:7280: $lt_compile\"" >&5)
7281 (eval "$lt_compile" 2>out
/conftest.err
)
7283 cat out
/conftest.err
>&5
7284 echo "$as_me:7284: \$? = $ac_status" >&5
7285 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7287 # The compiler can only warn and ignore the option if not recognized
7288 # So say no if there are warnings
7289 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7290 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7291 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7292 lt_cv_prog_compiler_c_o
=yes
7297 # SGI C++ compiler will create directory out/ii_files/ for
7298 # template instantiation
7299 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7300 $RM out
/* && rmdir out
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7307 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7312 hard_links
="nottested"
7313 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7314 # do not overwrite the value of need_locks provided by the user
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7316 $as_echo_n "checking if we can lock with hard links... " >&6; }
7319 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7321 ln conftest.a conftest.b
2>&5 || hard_links
=no
7322 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7324 $as_echo "$hard_links" >&6; }
7325 if test "$hard_links" = no
; then
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7327 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7340 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7343 allow_undefined_flag
=
7344 always_export_symbols
=no
7346 archive_expsym_cmds
=
7347 compiler_needs_object
=no
7348 enable_shared_with_static_runtimes
=no
7349 export_dynamic_flag_spec
=
7350 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7351 hardcode_automatic
=no
7353 hardcode_direct_absolute
=no
7354 hardcode_libdir_flag_spec
=
7355 hardcode_libdir_flag_spec_ld
=
7356 hardcode_libdir_separator
=
7358 hardcode_shlibpath_var
=unsupported
7360 link_all_deplibs
=unknown
7363 old_archive_from_new_cmds
=
7364 old_archive_from_expsyms_cmds
=
7365 thread_safe_flag_spec
=
7366 whole_archive_flag_spec
=
7367 # include_expsyms should be a list of space-separated symbols to be *always*
7368 # included in the symbol list
7370 # exclude_expsyms can be an extended regexp of symbols to exclude
7371 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7372 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7373 # as well as any symbol that contains `d'.
7374 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7375 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7376 # platforms (ab)use it in PIC code, but their linkers get confused if
7377 # the symbol is explicitly referenced. Since portable code cannot
7378 # rely on this symbol name, it's probably fine to never include it in
7379 # preloaded symbol tables.
7380 # Exclude shared library initialization/finalization symbols.
7381 extract_expsyms_cmds
=
7384 cygwin
* | mingw
* | pw32
* | cegcc
*)
7385 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7386 # When not using gcc, we currently assume that we are using
7387 # Microsoft Visual C++.
7388 if test "$GCC" != yes; then
7393 # we just hope/assume this is gcc and not c89 (= MSVC++)
7399 linux
* | k
*bsd
*-gnu)
7405 if test "$with_gnu_ld" = yes; then
7406 # If archive_cmds runs LD, not CC, wlarc should be empty
7409 # Set some defaults for GNU ld with shared library support. These
7410 # are reset later if shared libraries are not supported. Putting them
7411 # here allows them to be overridden if necessary.
7412 runpath_var
=LD_RUN_PATH
7413 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7414 export_dynamic_flag_spec
='${wl}--export-dynamic'
7415 # ancient GNU ld didn't support --whole-archive et. al.
7416 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7417 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7419 whole_archive_flag_spec
=
7421 supports_anon_versioning
=no
7422 case `$LD -v 2>&1` in
7423 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7424 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7425 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7426 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7427 *\
2.11.
*) ;; # other 2.11 versions
7428 *) supports_anon_versioning
=yes ;;
7431 # See if GNU ld supports shared libraries.
7434 # On AIX/PPC, the GNU linker is very broken
7435 if test "$host_cpu" != ia64
; then
7439 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7440 *** to be unable to reliably create shared libraries on AIX.
7441 *** Therefore, libtool is disabling shared libraries support. If you
7442 *** really care for shared libraries, you may want to modify your PATH
7443 *** so that a non-GNU linker is found, and then restart.
7452 # see comment about AmigaOS4 .so support
7453 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7454 archive_expsym_cmds
=''
7457 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)'
7458 hardcode_libdir_flag_spec
='-L$libdir'
7459 hardcode_minus_L
=yes
7465 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7466 allow_undefined_flag
=unsupported
7467 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7468 # support --undefined. This deserves some investigation. FIXME
7469 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7475 cygwin
* | mingw
* | pw32
* | cegcc
*)
7476 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7477 # as there is no search path for DLLs.
7478 hardcode_libdir_flag_spec
='-L$libdir'
7479 allow_undefined_flag
=unsupported
7480 always_export_symbols
=no
7481 enable_shared_with_static_runtimes
=yes
7482 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7484 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7486 # If the export-symbols file already is a .def file (1st line
7487 # is EXPORTS), use it as is; otherwise, prepend...
7488 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7489 cp $export_symbols $output_objdir/$soname.def;
7491 echo EXPORTS > $output_objdir/$soname.def;
7492 cat $export_symbols >> $output_objdir/$soname.def;
7494 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7502 hardcode_shlibpath_var
=no
7503 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7504 export_dynamic_flag_spec
='${wl}-E'
7505 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7506 # Instead, shared libraries are loaded at an image base (0x10000000 by
7507 # default) and relocated if they conflict, which is a slow very memory
7508 # consuming and fragmenting process. To avoid this, we pick a random,
7509 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7510 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7511 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7512 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'
7515 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7517 if test "$host_os" = linux
-dietlibc; then
7518 case $cc_basename in
7519 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7522 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7523 && test "$tmp_diet" = no
7526 tmp_sharedflag
='-shared'
7527 case $cc_basename,$host_cpu in
7528 pgcc
*) # Portland Group C compiler
7529 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'
7530 tmp_addflag
=' $pic_flag'
7532 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7533 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'
7534 tmp_addflag
=' $pic_flag -Mnomain' ;;
7535 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7536 tmp_addflag
=' -i_dynamic' ;;
7537 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7538 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7539 ifc
* | ifort
*) # Intel Fortran compiler
7540 tmp_addflag
=' -nofor_main' ;;
7541 lf95
*) # Lahey Fortran 8.1
7542 whole_archive_flag_spec
=
7543 tmp_sharedflag
='--shared' ;;
7544 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7545 tmp_sharedflag
='-qmkshrobj'
7548 case `$CC -V 2>&1 | sed 5q` in
7549 *Sun\ C
*) # Sun C 5.9
7550 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'
7551 compiler_needs_object
=yes
7552 tmp_sharedflag
='-G' ;;
7553 *Sun\ F
*) # Sun Fortran 8.3
7554 tmp_sharedflag
='-G' ;;
7556 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7558 if test "x$supports_anon_versioning" = xyes
; then
7559 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7560 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7561 echo "local: *; };" >> $output_objdir/$libname.ver~
7562 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7565 case $cc_basename in
7567 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7568 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7569 hardcode_libdir_flag_spec
=
7570 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7571 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7572 if test "x$supports_anon_versioning" = xyes
; then
7573 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7574 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7575 echo "local: *; };" >> $output_objdir/$libname.ver~
7576 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7585 netbsd
* | netbsdelf
*-gnu)
7586 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7587 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7590 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7591 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7596 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7600 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7601 *** create shared libraries on Solaris systems. Therefore, libtool
7602 *** is disabling shared libraries support. We urge you to upgrade GNU
7603 *** binutils to release 2.9.1 or newer. Another option is to modify
7604 *** your PATH or compiler configuration so that the native linker is
7605 *** used, and then restart.
7608 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7609 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7610 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7616 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7617 case `$LD -v 2>&1` in
7618 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7622 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7623 *** reliably create shared libraries on SCO systems. Therefore, libtool
7624 *** is disabling shared libraries support. We urge you to upgrade GNU
7625 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7626 *** your PATH or compiler configuration so that the native linker is
7627 *** used, and then restart.
7632 # For security reasons, it is highly recommended that you always
7633 # use absolute paths for naming shared libraries, and exclude the
7634 # DT_RUNPATH tag from executables and libraries. But doing so
7635 # requires that you compile everything twice, which is a pain.
7636 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7637 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7638 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7639 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7648 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7651 hardcode_shlibpath_var
=no
7655 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7656 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7657 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7664 if test "$ld_shlibs" = no
; then
7666 hardcode_libdir_flag_spec
=
7667 export_dynamic_flag_spec
=
7668 whole_archive_flag_spec
=
7671 # PORTME fill in a description of your system's linker (not GNU ld)
7674 allow_undefined_flag
=unsupported
7675 always_export_symbols
=yes
7676 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'
7677 # Note: this linker hardcodes the directories in LIBPATH if there
7678 # are no directories specified by -L.
7679 hardcode_minus_L
=yes
7680 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7681 # Neither direct hardcoding nor static linking is supported with a
7683 hardcode_direct
=unsupported
7688 if test "$host_cpu" = ia64
; then
7689 # On IA64, the linker does run time linking by default, so we don't
7690 # have to do anything special.
7691 aix_use_runtimelinking
=no
7692 exp_sym_flag
='-Bexport'
7695 # If we're using GNU nm, then we don't want the "-C" option.
7696 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7697 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7698 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'
7700 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'
7702 aix_use_runtimelinking
=no
7704 # Test if we are trying to use run time linking or normal
7705 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7706 # need to do runtime linking.
7707 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7708 for ld_flag
in $LDFLAGS; do
7709 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7710 aix_use_runtimelinking
=yes
7717 exp_sym_flag
='-bexport'
7718 no_entry_flag
='-bnoentry'
7721 # When large executables or shared objects are built, AIX ld can
7722 # have problems creating the table of contents. If linking a library
7723 # or program results in "error TOC overflow" add -mminimal-toc to
7724 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7725 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7729 hardcode_direct_absolute
=yes
7730 hardcode_libdir_separator
=':'
7731 link_all_deplibs
=yes
7732 file_list_spec
='${wl}-f,'
7734 if test "$GCC" = yes; then
7735 case $host_os in aix4.
[012]|aix4.
[012].
*)
7736 # We only want to do this on AIX 4.2 and lower, the check
7737 # below for broken collect2 doesn't work under 4.3+
7738 collect2name
=`${CC} -print-prog-name=collect2`
7739 if test -f "$collect2name" &&
7740 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7742 # We have reworked collect2
7745 # We have old collect2
7746 hardcode_direct
=unsupported
7747 # It fails to find uninstalled libraries when the uninstalled
7748 # path is not listed in the libpath. Setting hardcode_minus_L
7749 # to unsupported forces relinking
7750 hardcode_minus_L
=yes
7751 hardcode_libdir_flag_spec
='-L$libdir'
7752 hardcode_libdir_separator
=
7756 shared_flag
='-shared'
7757 if test "$aix_use_runtimelinking" = yes; then
7758 shared_flag
="$shared_flag "'${wl}-G'
7763 if test "$host_cpu" = ia64
; then
7764 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7765 # chokes on -Wl,-G. The following line is correct:
7768 if test "$aix_use_runtimelinking" = yes; then
7769 shared_flag
='${wl}-G'
7771 shared_flag
='${wl}-bM:SRE'
7776 export_dynamic_flag_spec
='${wl}-bexpall'
7777 # It seems that -bexpall does not export symbols beginning with
7778 # underscore (_), so it is better to generate a list of symbols to export.
7779 always_export_symbols
=yes
7780 if test "$aix_use_runtimelinking" = yes; then
7781 # Warning - without using the other runtime loading flags (-brtl),
7782 # -berok will link without error, but may produce a broken library.
7783 allow_undefined_flag
='-berok'
7784 # Determine the default libpath from the value encoded in an
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7797 if ac_fn_c_try_link
"$LINENO"; then :
7799 lt_aix_libpath_sed
='
7800 /Import File Strings/,/^$/ {
7806 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7807 # Check for a 64-bit object if we didn't find anything.
7808 if test -z "$aix_libpath"; then
7809 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7812 rm -f core conftest.err conftest.
$ac_objext \
7813 conftest
$ac_exeext conftest.
$ac_ext
7814 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7816 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7817 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"
7819 if test "$host_cpu" = ia64
; then
7820 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7821 allow_undefined_flag
="-z nodefs"
7822 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"
7824 # Determine the default libpath from the value encoded in an
7826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7827 /* end confdefs.h. */
7837 if ac_fn_c_try_link
"$LINENO"; then :
7839 lt_aix_libpath_sed
='
7840 /Import File Strings/,/^$/ {
7846 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7847 # Check for a 64-bit object if we didn't find anything.
7848 if test -z "$aix_libpath"; then
7849 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7852 rm -f core conftest.err conftest.
$ac_objext \
7853 conftest
$ac_exeext conftest.
$ac_ext
7854 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7856 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7857 # Warning - without using the other run time loading flags,
7858 # -berok will link without error, but may produce a broken library.
7859 no_undefined_flag
=' ${wl}-bernotok'
7860 allow_undefined_flag
=' ${wl}-berok'
7861 # Exported symbols can be pulled into shared objects from archives
7862 whole_archive_flag_spec
='$convenience'
7863 archive_cmds_need_lc
=yes
7864 # This is similar to how AIX traditionally builds its shared libraries.
7865 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'
7873 # see comment about AmigaOS4 .so support
7874 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7875 archive_expsym_cmds
=''
7878 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)'
7879 hardcode_libdir_flag_spec
='-L$libdir'
7880 hardcode_minus_L
=yes
7886 export_dynamic_flag_spec
=-rdynamic
7889 cygwin
* | mingw
* | pw32
* | cegcc
*)
7890 # When not using gcc, we currently assume that we are using
7891 # Microsoft Visual C++.
7892 # hardcode_libdir_flag_spec is actually meaningless, as there is
7893 # no search path for DLLs.
7894 hardcode_libdir_flag_spec
=' '
7895 allow_undefined_flag
=unsupported
7896 # Tell ltmain to make .lib files, not .a files.
7898 # Tell ltmain to make .dll files, not .so files.
7900 # FIXME: Setting linknames here is a bad hack.
7901 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7902 # The linker will automatically build a .lib file if we build a DLL.
7903 old_archive_from_new_cmds
='true'
7904 # FIXME: Should let the user specify the lib program.
7905 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7906 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7907 enable_shared_with_static_runtimes
=yes
7910 darwin
* | rhapsody
*)
7913 archive_cmds_need_lc
=no
7915 hardcode_automatic
=yes
7916 hardcode_shlibpath_var
=unsupported
7917 whole_archive_flag_spec
=''
7918 link_all_deplibs
=yes
7919 allow_undefined_flag
="$_lt_dar_allow_undefined"
7920 case $cc_basename in
7921 ifort
*) _lt_dar_can_shared
=yes ;;
7922 *) _lt_dar_can_shared
=$GCC ;;
7924 if test "$_lt_dar_can_shared" = "yes"; then
7925 output_verbose_link_cmd
=echo
7926 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7927 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7928 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}"
7929 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}"
7938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7939 hardcode_libdir_flag_spec
='-L$libdir'
7940 hardcode_shlibpath_var
=no
7947 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7948 # support. Future versions do this automatically, but an explicit c++rt0.o
7949 # does not break anything, and helps significantly (at the cost of a little
7952 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7953 hardcode_libdir_flag_spec
='-R$libdir'
7955 hardcode_shlibpath_var
=no
7958 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7960 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7962 hardcode_minus_L
=yes
7963 hardcode_shlibpath_var
=no
7966 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7967 freebsd
* | dragonfly
*)
7968 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7969 hardcode_libdir_flag_spec
='-R$libdir'
7971 hardcode_shlibpath_var
=no
7975 if test "$GCC" = yes; then
7976 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'
7978 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'
7980 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7981 hardcode_libdir_separator
=:
7984 # hardcode_minus_L: Not really in the search PATH,
7985 # but as the default location of the library.
7986 hardcode_minus_L
=yes
7987 export_dynamic_flag_spec
='${wl}-E'
7991 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7992 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7994 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7996 if test "$with_gnu_ld" = no
; then
7997 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7998 hardcode_libdir_flag_spec_ld
='+b $libdir'
7999 hardcode_libdir_separator
=:
8001 hardcode_direct_absolute
=yes
8002 export_dynamic_flag_spec
='${wl}-E'
8003 # hardcode_minus_L: Not really in the search PATH,
8004 # but as the default location of the library.
8005 hardcode_minus_L
=yes
8010 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8013 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8016 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8019 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8025 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8028 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8035 if test "$with_gnu_ld" = no
; then
8036 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8037 hardcode_libdir_separator
=:
8042 hardcode_shlibpath_var
=no
8046 hardcode_direct_absolute
=yes
8047 export_dynamic_flag_spec
='${wl}-E'
8049 # hardcode_minus_L: Not really in the search PATH,
8050 # but as the default location of the library.
8051 hardcode_minus_L
=yes
8057 irix5
* | irix6
* | nonstopux
*)
8058 if test "$GCC" = yes; then
8059 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'
8060 # Try to use the -exported_symbol ld option, if it does not
8061 # work, assume that -exports_file does not work either and
8062 # implicitly export all symbols.
8063 save_LDFLAGS
="$LDFLAGS"
8064 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8066 /* end confdefs.h. */
8069 if ac_fn_c_try_link
"$LINENO"; then :
8070 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'
8073 rm -f core conftest.err conftest.
$ac_objext \
8074 conftest
$ac_exeext conftest.
$ac_ext
8075 LDFLAGS
="$save_LDFLAGS"
8077 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'
8078 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'
8080 archive_cmds_need_lc
='no'
8081 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8082 hardcode_libdir_separator
=:
8084 link_all_deplibs
=yes
8087 netbsd
* | netbsdelf
*-gnu)
8088 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8089 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8091 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8093 hardcode_libdir_flag_spec
='-R$libdir'
8095 hardcode_shlibpath_var
=no
8099 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8101 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8102 hardcode_libdir_separator
=:
8103 hardcode_shlibpath_var
=no
8110 if test -f /usr
/libexec
/ld.so
; then
8112 hardcode_shlibpath_var
=no
8113 hardcode_direct_absolute
=yes
8114 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8115 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8116 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8117 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8118 export_dynamic_flag_spec
='${wl}-E'
8121 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8122 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8123 hardcode_libdir_flag_spec
='-R$libdir'
8126 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8127 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8137 hardcode_libdir_flag_spec
='-L$libdir'
8138 hardcode_minus_L
=yes
8139 allow_undefined_flag
=unsupported
8140 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'
8141 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8145 if test "$GCC" = yes; then
8146 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8147 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'
8149 allow_undefined_flag
=' -expect_unresolved \*'
8150 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'
8152 archive_cmds_need_lc
='no'
8153 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8154 hardcode_libdir_separator
=:
8157 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8158 if test "$GCC" = yes; then
8159 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8160 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'
8161 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8163 allow_undefined_flag
=' -expect_unresolved \*'
8164 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'
8165 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~
8166 $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'
8168 # Both c and cxx compiler support -rpath directly
8169 hardcode_libdir_flag_spec
='-rpath $libdir'
8171 archive_cmds_need_lc
='no'
8172 hardcode_libdir_separator
=:
8176 no_undefined_flag
=' -z defs'
8177 if test "$GCC" = yes; then
8179 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8180 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8181 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8183 case `$CC -V 2>&1` in
8186 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8187 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8192 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8193 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8194 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8198 hardcode_libdir_flag_spec
='-R$libdir'
8199 hardcode_shlibpath_var
=no
8201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8203 # The compiler driver will combine and reorder linker options,
8204 # but understands `-z linker_flag'. GCC discards it without `$wl',
8205 # but is careful enough not to reorder.
8206 # Supported since Solaris 2.6 (maybe 2.5.1?)
8207 if test "$GCC" = yes; then
8208 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8210 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8214 link_all_deplibs
=yes
8218 if test "x$host_vendor" = xsequent
; then
8219 # Use $CC to link under sequent, because it throws in some extra .o
8220 # files that make .init and .fini sections work.
8221 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8223 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8225 hardcode_libdir_flag_spec
='-L$libdir'
8227 hardcode_minus_L
=yes
8228 hardcode_shlibpath_var
=no
8232 case $host_vendor in
8234 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8235 hardcode_direct
=yes # is this really true???
8238 ## LD is ld it makes a PLAMLIB
8239 ## CC just makes a GrossModule.
8240 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8241 reload_cmds
='$CC -r -o $output$reload_objs'
8245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8246 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8249 runpath_var
='LD_RUN_PATH'
8250 hardcode_shlibpath_var
=no
8254 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8255 hardcode_shlibpath_var
=no
8256 export_dynamic_flag_spec
='-Bexport'
8260 if test -d /usr
/nec
; then
8261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8262 hardcode_shlibpath_var
=no
8263 runpath_var
=LD_RUN_PATH
8264 hardcode_runpath_var
=yes
8269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8270 no_undefined_flag
='${wl}-z,text'
8271 archive_cmds_need_lc
=no
8272 hardcode_shlibpath_var
=no
8273 runpath_var
='LD_RUN_PATH'
8275 if test "$GCC" = yes; then
8276 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8277 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8279 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8284 sysv5
* | sco3.2v5
* | sco5v6
*)
8285 # Note: We can NOT use -z defs as we might desire, because we do not
8286 # link with -lc, and that would cause any symbols used from libc to
8287 # always be unresolved, which means just about no library would
8288 # ever link correctly. If we're not using GNU ld we use -z text
8289 # though, which does catch some bad symbols but isn't as heavy-handed
8291 no_undefined_flag
='${wl}-z,text'
8292 allow_undefined_flag
='${wl}-z,nodefs'
8293 archive_cmds_need_lc
=no
8294 hardcode_shlibpath_var
=no
8295 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8296 hardcode_libdir_separator
=':'
8297 link_all_deplibs
=yes
8298 export_dynamic_flag_spec
='${wl}-Bexport'
8299 runpath_var
='LD_RUN_PATH'
8301 if test "$GCC" = yes; then
8302 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8303 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8305 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8306 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8312 hardcode_libdir_flag_spec
='-L$libdir'
8313 hardcode_shlibpath_var
=no
8321 if test x
$host_vendor = xsni
; then
8323 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8324 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8331 $as_echo "$ld_shlibs" >&6; }
8332 test "$ld_shlibs" = no
&& can_build_shared
=no
8334 with_gnu_ld
=$with_gnu_ld
8351 # Do we need to explicitly link libc?
8353 case "x$archive_cmds_need_lc" in
8355 # Assume -lc should be added
8356 archive_cmds_need_lc
=yes
8358 if test "$enable_shared" = yes && test "$GCC" = yes; then
8359 case $archive_cmds in
8361 # FIXME: we may have to deal with multi-command sequences.
8364 # Test whether the compiler implicitly links with -lc since on some
8365 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8366 # to ld, don't add -lc before -lgcc.
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8368 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8370 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8372 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8373 (eval $ac_compile) 2>&5
8375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8376 test $ac_status = 0; } 2>conftest.err
; then
8379 libobjs
=conftest.
$ac_objext
8381 wl
=$lt_prog_compiler_wl
8382 pic_flag
=$lt_prog_compiler_pic
8388 lt_save_allow_undefined_flag
=$allow_undefined_flag
8389 allow_undefined_flag
=
8390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8391 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8394 test $ac_status = 0; }
8396 archive_cmds_need_lc
=no
8398 archive_cmds_need_lc
=yes
8400 allow_undefined_flag
=$lt_save_allow_undefined_flag
8402 cat conftest.err
1>&5
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8406 $as_echo "$archive_cmds_need_lc" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8570 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8572 if test "$GCC" = yes; then
8574 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8575 *) lt_awk_arg
="/^libraries:/" ;;
8577 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8578 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8579 # if the path contains ";" then we assume it to be the separator
8580 # otherwise default to the standard path separator (i.e. ":") - it is
8581 # assumed that no part of a normal pathname contains ";" but that should
8582 # okay in the real world where ";" in dirpaths is itself problematic.
8583 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8585 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8587 # Ok, now we have the path, separated by spaces, we can step through it
8588 # and add multilib dir if necessary.
8589 lt_tmp_lt_search_path_spec
=
8590 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8591 for lt_sys_path
in $lt_search_path_spec; do
8592 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8593 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8595 test -d "$lt_sys_path" && \
8596 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8599 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8600 BEGIN {RS=" "; FS="/|\n";} {
8603 for (lt_i = NF; lt_i > 0; lt_i--) {
8604 if ($lt_i != "" && $lt_i != ".") {
8605 if ($lt_i == "..") {
8608 if (lt_count == 0) {
8609 lt_foo="/" $lt_i lt_foo;
8616 if (lt_foo != "") { lt_freq[lt_foo]++; }
8617 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8619 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8621 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8624 libname_spec
='lib$name'
8632 shlibpath_overrides_runpath
=unknown
8634 dynamic_linker
="$host_os ld.so"
8635 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8636 need_lib_prefix
=unknown
8637 hardcode_into_libs
=no
8639 # when you set need_version to no, make sure it does not cause -set_version
8640 # flags to be left without arguments
8641 need_version
=unknown
8646 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8647 shlibpath_var
=LIBPATH
8649 # AIX 3 has no versioning support, so we append a major version to the name.
8650 soname_spec
='${libname}${release}${shared_ext}$major'
8657 hardcode_into_libs
=yes
8658 if test "$host_cpu" = ia64
; then
8659 # AIX 5 supports IA64
8660 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8661 shlibpath_var
=LD_LIBRARY_PATH
8663 # With GCC up to 2.95.x, collect2 would create an import file
8664 # for dependence libraries. The import file would start with
8665 # the line `#! .'. This would cause the generated library to
8666 # depend on `.', always an invalid library. This was fixed in
8667 # development snapshots of GCC prior to 3.0.
8669 aix4
| aix4.
[01] | aix4.
[01].
*)
8670 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8672 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8679 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8680 # soname into executable. Probably we can add versioning support to
8681 # collect2, so additional links can be useful in future.
8682 if test "$aix_use_runtimelinking" = yes; then
8683 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8684 # instead of lib<name>.a to let people know that these are not
8685 # typical AIX shared libraries.
8686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8688 # We preserve .a as extension for shared libraries through AIX4.2
8689 # and later when we are not doing run time linking.
8690 library_names_spec
='${libname}${release}.a $libname.a'
8691 soname_spec
='${libname}${release}${shared_ext}$major'
8693 shlibpath_var
=LIBPATH
8700 # Since July 2007 AmigaOS4 officially supports .so libraries.
8701 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8705 library_names_spec
='$libname.ixlibrary $libname.a'
8706 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8707 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'
8713 library_names_spec
='${libname}${shared_ext}'
8714 dynamic_linker
="$host_os ld.so"
8715 shlibpath_var
=LIBRARY_PATH
8721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8722 soname_spec
='${libname}${release}${shared_ext}$major'
8723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8724 shlibpath_var
=LD_LIBRARY_PATH
8725 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8726 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8727 # the default ld.so.conf also contains /usr/contrib/lib and
8728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8729 # libtool to hard-code these into programs
8732 cygwin
* | mingw
* | pw32
* | cegcc
*)
8733 version_type
=windows
8738 case $GCC,$host_os in
8739 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8740 library_names_spec
='$libname.dll.a'
8741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8742 postinstall_cmds
='base_file=`basename \${file}`~
8743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8744 dldir=$destdir/`dirname \$dlpath`~
8745 test -d \$dldir || mkdir -p \$dldir~
8746 $install_prog $dir/$dlname \$dldir/$dlname~
8747 chmod a+x \$dldir/$dlname~
8748 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8749 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8751 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8752 dlpath=$dir/\$dldll~
8754 shlibpath_overrides_runpath
=yes
8758 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8759 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8760 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8763 # MinGW DLLs use traditional 'lib' prefix
8764 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8765 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8766 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8767 # It is most probably a Windows format PATH printed by
8768 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8769 # path with ; separators, and with drive letters. We can handle the
8770 # drive letters (cygwin fileutils understands them), so leave them,
8771 # especially as we might pass files found there to a mingw objdump,
8772 # which wouldn't understand a cygwinified path. Ahh.
8773 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8775 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8779 # pw32 DLLs use 'pw' prefix rather than 'lib'
8780 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8786 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8789 dynamic_linker
='Win32 ld.exe'
8790 # FIXME: first we should search . and the directory the executable is in
8794 darwin
* | rhapsody
*)
8795 dynamic_linker
="$host_os dyld"
8799 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8800 soname_spec
='${libname}${release}${major}$shared_ext'
8801 shlibpath_overrides_runpath
=yes
8802 shlibpath_var
=DYLD_LIBRARY_PATH
8803 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8805 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8806 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8814 soname_spec
='${libname}${release}${shared_ext}$major'
8815 shlibpath_var
=LD_LIBRARY_PATH
8822 freebsd
* | dragonfly
*)
8823 # DragonFly does not have aout. When/if they implement a new
8824 # versioning mechanism, adjust this.
8825 if test -x /usr
/bin
/objformat
; then
8826 objformat
=`/usr/bin/objformat`
8829 freebsd
[123]*) objformat
=aout
;;
8833 version_type
=freebsd
-$objformat
8834 case $version_type in
8836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8841 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8845 shlibpath_var
=LD_LIBRARY_PATH
8848 shlibpath_overrides_runpath
=yes
8850 freebsd3.
[01]* | freebsdelf3.
[01]*)
8851 shlibpath_overrides_runpath
=yes
8852 hardcode_into_libs
=yes
8854 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8855 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8856 shlibpath_overrides_runpath
=no
8857 hardcode_into_libs
=yes
8859 *) # from 4.6 on, and DragonFly
8860 shlibpath_overrides_runpath
=yes
8861 hardcode_into_libs
=yes
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8872 shlibpath_var
=LD_LIBRARY_PATH
8873 hardcode_into_libs
=yes
8876 hpux9
* | hpux10
* | hpux11
*)
8877 # Give a soname corresponding to the major version so that dld.sl refuses to
8878 # link against other versions.
8885 hardcode_into_libs
=yes
8886 dynamic_linker
="$host_os dld.so"
8887 shlibpath_var
=LD_LIBRARY_PATH
8888 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8890 soname_spec
='${libname}${release}${shared_ext}$major'
8891 if test "X$HPUX_IA64_MODE" = X32
; then
8892 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8894 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8896 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8900 hardcode_into_libs
=yes
8901 dynamic_linker
="$host_os dld.sl"
8902 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8903 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8905 soname_spec
='${libname}${release}${shared_ext}$major'
8906 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8911 dynamic_linker
="$host_os dld.sl"
8912 shlibpath_var
=SHLIB_PATH
8913 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8915 soname_spec
='${libname}${release}${shared_ext}$major'
8918 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8919 postinstall_cmds
='chmod 555 $lib'
8926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8927 soname_spec
='${libname}${release}${shared_ext}$major'
8928 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8929 shlibpath_var
=LD_LIBRARY_PATH
8930 shlibpath_overrides_runpath
=no
8931 hardcode_into_libs
=yes
8934 irix5
* | irix6
* | nonstopux
*)
8936 nonstopux
*) version_type
=nonstopux
;;
8938 if test "$lt_cv_prog_gnu_ld" = yes; then
8946 soname_spec
='${libname}${release}${shared_ext}$major'
8947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8949 irix5
* | nonstopux
*)
8953 case $LD in # libtool.m4 will add one of these switches to LD
8954 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8955 libsuff
= shlibsuff
= libmagic
=32-bit;;
8956 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8957 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8958 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8959 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8960 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8964 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8965 shlibpath_overrides_runpath
=no
8966 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8967 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8968 hardcode_into_libs
=yes
8971 # No shared lib support for Linux oldld, aout, or coff.
8972 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8976 # This must be Linux ELF.
8977 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8982 soname_spec
='${libname}${release}${shared_ext}$major'
8983 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8984 shlibpath_var
=LD_LIBRARY_PATH
8985 shlibpath_overrides_runpath
=no
8986 # Some binutils ld are patched to set DT_RUNPATH
8987 save_LDFLAGS
=$LDFLAGS
8989 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8990 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8992 /* end confdefs.h. */
9002 if ac_fn_c_try_link
"$LINENO"; then :
9003 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9004 shlibpath_overrides_runpath
=yes
9007 rm -f core conftest.err conftest.
$ac_objext \
9008 conftest
$ac_exeext conftest.
$ac_ext
9009 LDFLAGS
=$save_LDFLAGS
9012 # This implies no fast_install, which is unacceptable.
9013 # Some rework will be needed to allow for fast_install
9014 # before this can be enabled.
9015 hardcode_into_libs
=yes
9017 # Append ld.so.conf contents to the search path
9018 if test -f /etc
/ld.so.conf
; then
9019 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' ' '`
9020 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9023 # We used to test for /lib/ld.so.1 and disable shared libraries on
9024 # powerpc, because MkLinux only supported shared libraries with the
9025 # GNU dynamic linker. Since this was broken with cross compilers,
9026 # most powerpc-linux boxes support dynamic linking these days and
9027 # people can always --disable-shared, the test was removed, and we
9028 # assume the GNU/Linux dynamic linker is in use.
9029 dynamic_linker
='GNU/Linux ld.so'
9036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9037 soname_spec
='${libname}${release}${shared_ext}$major'
9038 shlibpath_var
=LD_LIBRARY_PATH
9039 shlibpath_overrides_runpath
=no
9040 hardcode_into_libs
=yes
9041 dynamic_linker
='NetBSD ld.elf_so'
9048 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9050 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9051 dynamic_linker
='NetBSD (a.out) ld.so'
9053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9054 soname_spec
='${libname}${release}${shared_ext}$major'
9055 dynamic_linker
='NetBSD ld.elf_so'
9057 shlibpath_var
=LD_LIBRARY_PATH
9058 shlibpath_overrides_runpath
=yes
9059 hardcode_into_libs
=yes
9064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9065 shlibpath_var
=LD_LIBRARY_PATH
9066 shlibpath_overrides_runpath
=yes
9073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9074 soname_spec
='${libname}${release}${shared_ext}$major'
9075 shlibpath_var
=LD_LIBRARY_PATH
9076 shlibpath_overrides_runpath
=no
9077 hardcode_into_libs
=yes
9078 dynamic_linker
='ldqnx.so'
9083 sys_lib_dlsearch_path_spec
="/usr/lib"
9085 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9087 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9088 *) need_version
=no
;;
9090 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9091 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9092 shlibpath_var
=LD_LIBRARY_PATH
9093 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9095 openbsd2.
[89] | openbsd2.
[89].
*)
9096 shlibpath_overrides_runpath
=no
9099 shlibpath_overrides_runpath
=yes
9103 shlibpath_overrides_runpath
=yes
9108 libname_spec
='$name'
9111 library_names_spec
='$libname${shared_ext} $libname.a'
9112 dynamic_linker
='OS/2 ld.exe'
9113 shlibpath_var
=LIBPATH
9116 osf3
* | osf4
* | osf5
*)
9120 soname_spec
='${libname}${release}${shared_ext}$major'
9121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9124 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9136 soname_spec
='${libname}${release}${shared_ext}$major'
9137 shlibpath_var
=LD_LIBRARY_PATH
9138 shlibpath_overrides_runpath
=yes
9139 hardcode_into_libs
=yes
9140 # ldd complains unless libraries are executable
9141 postinstall_cmds
='chmod +x $lib'
9146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9147 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9148 shlibpath_var
=LD_LIBRARY_PATH
9149 shlibpath_overrides_runpath
=yes
9150 if test "$with_gnu_ld" = yes; then
9158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9159 soname_spec
='${libname}${release}${shared_ext}$major'
9160 shlibpath_var
=LD_LIBRARY_PATH
9161 case $host_vendor in
9163 shlibpath_overrides_runpath
=no
9165 runpath_var
=LD_RUN_PATH
9173 shlibpath_overrides_runpath
=no
9174 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9180 if test -d /usr
/nec
;then
9182 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9183 soname_spec
='$libname${shared_ext}.$major'
9184 shlibpath_var
=LD_LIBRARY_PATH
9188 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9189 version_type
=freebsd
-elf
9192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9193 soname_spec
='${libname}${release}${shared_ext}$major'
9194 shlibpath_var
=LD_LIBRARY_PATH
9195 shlibpath_overrides_runpath
=yes
9196 hardcode_into_libs
=yes
9197 if test "$with_gnu_ld" = yes; then
9198 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9200 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9203 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9207 sys_lib_dlsearch_path_spec
='/usr/lib'
9211 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9216 shlibpath_var
=LD_LIBRARY_PATH
9217 shlibpath_overrides_runpath
=no
9218 hardcode_into_libs
=yes
9223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9224 soname_spec
='${libname}${release}${shared_ext}$major'
9225 shlibpath_var
=LD_LIBRARY_PATH
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9233 $as_echo "$dynamic_linker" >&6; }
9234 test "$dynamic_linker" = no
&& can_build_shared
=no
9236 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9237 if test "$GCC" = yes; then
9238 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9241 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9242 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9244 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9245 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9335 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9337 if test -n "$hardcode_libdir_flag_spec" ||
9338 test -n "$runpath_var" ||
9339 test "X$hardcode_automatic" = "Xyes" ; then
9341 # We can hardcode non-existent directories.
9342 if test "$hardcode_direct" != no
&&
9343 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9344 # have to relink, otherwise we might link with an installed library
9345 # when we should be linking with a yet-to-be-installed one
9346 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9347 test "$hardcode_minus_L" != no
; then
9348 # Linking always hardcodes the temporary library directory.
9349 hardcode_action
=relink
9351 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9352 hardcode_action
=immediate
9355 # We cannot hardcode anything, or else we can only hardcode existing
9357 hardcode_action
=unsupported
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9360 $as_echo "$hardcode_action" >&6; }
9362 if test "$hardcode_action" = relink
||
9363 test "$inherit_rpath" = yes; then
9364 # Fast installation is not supported
9365 enable_fast_install
=no
9366 elif test "$shlibpath_overrides_runpath" = yes ||
9367 test "$enable_shared" = no
; then
9368 # Fast installation is not necessary
9369 enable_fast_install
=needless
9377 if test "x$enable_dlopen" != xyes
; then
9378 enable_dlopen
=unknown
9379 enable_dlopen_self
=unknown
9380 enable_dlopen_self_static
=unknown
9387 lt_cv_dlopen
="load_add_on"
9389 lt_cv_dlopen_self
=yes
9392 mingw
* | pw32
* | cegcc
*)
9393 lt_cv_dlopen
="LoadLibrary"
9398 lt_cv_dlopen
="dlopen"
9403 # if libdl is installed we need to link against it
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9405 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9406 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9407 $as_echo_n "(cached) " >&6
9409 ac_check_lib_save_LIBS
=$LIBS
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9429 if ac_fn_c_try_link
"$LINENO"; then :
9430 ac_cv_lib_dl_dlopen
=yes
9432 ac_cv_lib_dl_dlopen
=no
9434 rm -f core conftest.err conftest.
$ac_objext \
9435 conftest
$ac_exeext conftest.
$ac_ext
9436 LIBS
=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9439 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9440 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9441 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9446 lt_cv_dlopen_self
=yes
9453 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9454 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9455 lt_cv_dlopen
="shl_load"
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9458 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9459 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9460 $as_echo_n "(cached) " >&6
9462 ac_check_lib_save_LIBS
=$LIBS
9464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9465 /* end confdefs.h. */
9467 /* Override any GCC internal prototype to avoid an error.
9468 Use char because int might match the return type of a GCC
9469 builtin and then its argument prototype would still apply. */
9482 if ac_fn_c_try_link
"$LINENO"; then :
9483 ac_cv_lib_dld_shl_load
=yes
9485 ac_cv_lib_dld_shl_load
=no
9487 rm -f core conftest.err conftest.
$ac_objext \
9488 conftest
$ac_exeext conftest.
$ac_ext
9489 LIBS
=$ac_check_lib_save_LIBS
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9492 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9493 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9494 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9496 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9497 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9498 lt_cv_dlopen
="dlopen"
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9501 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9502 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9503 $as_echo_n "(cached) " >&6
9505 ac_check_lib_save_LIBS
=$LIBS
9507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9525 if ac_fn_c_try_link
"$LINENO"; then :
9526 ac_cv_lib_dl_dlopen
=yes
9528 ac_cv_lib_dl_dlopen
=no
9530 rm -f core conftest.err conftest.
$ac_objext \
9531 conftest
$ac_exeext conftest.
$ac_ext
9532 LIBS
=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9535 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9536 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9537 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9540 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9541 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9542 $as_echo_n "(cached) " >&6
9544 ac_check_lib_save_LIBS
=$LIBS
9546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9549 /* Override any GCC internal prototype to avoid an error.
9550 Use char because int might match the return type of a GCC
9551 builtin and then its argument prototype would still apply. */
9564 if ac_fn_c_try_link
"$LINENO"; then :
9565 ac_cv_lib_svld_dlopen
=yes
9567 ac_cv_lib_svld_dlopen
=no
9569 rm -f core conftest.err conftest.
$ac_objext \
9570 conftest
$ac_exeext conftest.
$ac_ext
9571 LIBS
=$ac_check_lib_save_LIBS
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9574 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9575 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9576 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9579 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9580 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9581 $as_echo_n "(cached) " >&6
9583 ac_check_lib_save_LIBS
=$LIBS
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9603 if ac_fn_c_try_link
"$LINENO"; then :
9604 ac_cv_lib_dld_dld_link
=yes
9606 ac_cv_lib_dld_dld_link
=no
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LIBS
=$ac_check_lib_save_LIBS
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9613 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9614 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9615 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9636 if test "x$lt_cv_dlopen" != xno
; then
9642 case $lt_cv_dlopen in
9644 save_CPPFLAGS
="$CPPFLAGS"
9645 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9647 save_LDFLAGS
="$LDFLAGS"
9648 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9651 LIBS
="$lt_cv_dlopen_libs $LIBS"
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9654 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9655 if test "${lt_cv_dlopen_self+set}" = set; then :
9656 $as_echo_n "(cached) " >&6
9658 if test "$cross_compiling" = yes; then :
9659 lt_cv_dlopen_self
=cross
9661 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9662 lt_status
=$lt_dlunknown
9663 cat > conftest.
$ac_ext <<_LT_EOF
9664 #line 9664 "configure"
9665 #include "confdefs.h"
9674 # define LT_DLGLOBAL RTLD_GLOBAL
9677 # define LT_DLGLOBAL DL_GLOBAL
9679 # define LT_DLGLOBAL 0
9683 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9684 find out it does not work in some platform. */
9685 #ifndef LT_DLLAZY_OR_NOW
9687 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9690 # define LT_DLLAZY_OR_NOW DL_LAZY
9693 # define LT_DLLAZY_OR_NOW RTLD_NOW
9696 # define LT_DLLAZY_OR_NOW DL_NOW
9698 # define LT_DLLAZY_OR_NOW 0
9705 void fnord() { int i=42;}
9708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9709 int status = $lt_dlunknown;
9713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9714 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9715 /* dlclose (self); */
9723 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9724 (eval $ac_link) 2>&5
9726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9727 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9728 (.
/conftest
; exit; ) >&5 2>/dev
/null
9731 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9732 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9733 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9736 # compilation failed
9737 lt_cv_dlopen_self
=no
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9745 $as_echo "$lt_cv_dlopen_self" >&6; }
9747 if test "x$lt_cv_dlopen_self" = xyes
; then
9748 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9750 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9751 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9752 $as_echo_n "(cached) " >&6
9754 if test "$cross_compiling" = yes; then :
9755 lt_cv_dlopen_self_static
=cross
9757 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9758 lt_status
=$lt_dlunknown
9759 cat > conftest.
$ac_ext <<_LT_EOF
9760 #line 9760 "configure"
9761 #include "confdefs.h"
9770 # define LT_DLGLOBAL RTLD_GLOBAL
9773 # define LT_DLGLOBAL DL_GLOBAL
9775 # define LT_DLGLOBAL 0
9779 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9780 find out it does not work in some platform. */
9781 #ifndef LT_DLLAZY_OR_NOW
9783 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9786 # define LT_DLLAZY_OR_NOW DL_LAZY
9789 # define LT_DLLAZY_OR_NOW RTLD_NOW
9792 # define LT_DLLAZY_OR_NOW DL_NOW
9794 # define LT_DLLAZY_OR_NOW 0
9801 void fnord() { int i=42;}
9804 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9805 int status = $lt_dlunknown;
9809 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9810 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9811 /* dlclose (self); */
9819 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9820 (eval $ac_link) 2>&5
9822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9823 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9824 (.
/conftest
; exit; ) >&5 2>/dev
/null
9827 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9828 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9829 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9832 # compilation failed
9833 lt_cv_dlopen_self_static
=no
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9841 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9844 CPPFLAGS
="$save_CPPFLAGS"
9845 LDFLAGS
="$save_LDFLAGS"
9850 case $lt_cv_dlopen_self in
9851 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9852 *) enable_dlopen_self
=unknown
;;
9855 case $lt_cv_dlopen_self_static in
9856 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9857 *) enable_dlopen_self_static
=unknown
;;
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9880 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9881 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9882 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9883 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9885 $as_echo "yes" >&6; }
9887 # FIXME - insert some real tests, host_os isn't really good enough
9890 if test -n "$STRIP" ; then
9891 striplib
="$STRIP -x"
9892 old_striplib
="$STRIP -S"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9894 $as_echo "yes" >&6; }
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9902 $as_echo "no" >&6; }
9918 # Report which library types will actually be built
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9920 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9922 $as_echo "$can_build_shared" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9925 $as_echo_n "checking whether to build shared libraries... " >&6; }
9926 test "$can_build_shared" = "no" && enable_shared
=no
9928 # On AIX, shared libraries and static libraries use the same namespace, and
9929 # are all built from PIC.
9932 test "$enable_shared" = yes && enable_static
=no
9933 if test -n "$RANLIB"; then
9934 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9935 postinstall_cmds
='$RANLIB $lib'
9940 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9941 test "$enable_shared" = yes && enable_static
=no
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9946 $as_echo "$enable_shared" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9949 $as_echo_n "checking whether to build static libraries... " >&6; }
9950 # Make sure either enable_shared or enable_static is yes.
9951 test "$enable_shared" = yes || enable_static
=yes
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9953 $as_echo "$enable_static" >&6; }
9960 ac_cpp
='$CPP $CPPFLAGS'
9961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9979 ac_config_commands
="$ac_config_commands libtool"
9989 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9990 if test -n "$ac_tool_prefix"; then
9991 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9992 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9994 $as_echo_n "checking for $ac_word... " >&6; }
9995 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9996 $as_echo_n "(cached) " >&6
10000 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10004 for as_dir
in $PATH
10007 test -z "$as_dir" && as_dir
=.
10008 for ac_exec_ext
in '' $ac_executable_extensions; do
10009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10010 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10021 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10022 if test -n "$PKG_CONFIG"; then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10024 $as_echo "$PKG_CONFIG" >&6; }
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10027 $as_echo "no" >&6; }
10032 if test -z "$ac_cv_path_PKG_CONFIG"; then
10033 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10034 # Extract the first word of "pkg-config", so it can be a program name with args.
10035 set dummy pkg
-config; ac_word
=$2
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10037 $as_echo_n "checking for $ac_word... " >&6; }
10038 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10039 $as_echo_n "(cached) " >&6
10041 case $ac_pt_PKG_CONFIG in
10043 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10047 for as_dir
in $PATH
10050 test -z "$as_dir" && as_dir
=.
10051 for ac_exec_ext
in '' $ac_executable_extensions; do
10052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10053 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10064 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10065 if test -n "$ac_pt_PKG_CONFIG"; then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10067 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10070 $as_echo "no" >&6; }
10073 if test "x$ac_pt_PKG_CONFIG" = x
; then
10076 case $cross_compiling:$ac_tool_warned in
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10080 ac_tool_warned
=yes ;;
10082 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10085 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10089 if test -n "$PKG_CONFIG"; then
10090 _pkg_min_version
=0.22
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10092 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10093 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10095 $as_echo "yes" >&6; }
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10098 $as_echo "no" >&6; }
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10104 $as_echo_n "checking for GNU make... " >&6; }
10105 if test "${_cv_gnu_make_command+set}" = set; then :
10106 $as_echo_n "(cached) " >&6
10108 _cv_gnu_make_command
='' ;
10109 for a
in "$MAKE" make gmake gnumake
; do
10110 if test -z "$a" ; then continue ; fi ;
10111 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10112 _cv_gnu_make_command
=$a ;
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10119 $as_echo "$_cv_gnu_make_command" >&6; } ;
10120 if test "x$_cv_gnu_make_command" != "x" ; then
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10125 $as_echo "\"Not found\"" >&6; };
10129 GMAKE
=$_cv_gnu_make_command
10131 if test "x$GMAKE" = x
; then :
10132 as_fn_error
"You need GNU make" "$LINENO" 5
10134 for ac_prog
in bash
10136 # Extract the first word of "$ac_prog", so it can be a program name with args.
10137 set dummy
$ac_prog; ac_word
=$2
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10139 $as_echo_n "checking for $ac_word... " >&6; }
10140 if test "${ac_cv_path__BASH+set}" = set; then :
10141 $as_echo_n "(cached) " >&6
10145 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10149 for as_dir
in $PATH
10152 test -z "$as_dir" && as_dir
=.
10153 for ac_exec_ext
in '' $ac_executable_extensions; do
10154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10155 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 _BASH
=$ac_cv_path__BASH
10167 if test -n "$_BASH"; then
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10169 $as_echo "$_BASH" >&6; }
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10172 $as_echo "no" >&6; }
10176 test -n "$_BASH" && break
10179 if test "x$_BASH" = x
; then :
10180 as_fn_error
"You need GNU bash" "$LINENO" 5
10182 for ac_prog
in time
10184 # Extract the first word of "$ac_prog", so it can be a program name with args.
10185 set dummy
$ac_prog; ac_word
=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10187 $as_echo_n "checking for $ac_word... " >&6; }
10188 if test "${ac_cv_path_TIME+set}" = set; then :
10189 $as_echo_n "(cached) " >&6
10193 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
10196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10197 for as_dir
in $PATH
10200 test -z "$as_dir" && as_dir
=.
10201 for ac_exec_ext
in '' $ac_executable_extensions; do
10202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10203 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10214 TIME
=$ac_cv_path_TIME
10215 if test -n "$TIME"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10217 $as_echo "$TIME" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10224 test -n "$TIME" && break
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
10231 $as_echo_n "checking for bison >= 2.3... " >&6; }
10232 if test -z "$BISON"; then
10233 ac_path_BISON_found
=false
10234 # Loop through the user's path and test for each of PROGNAME-LIST
10235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10236 for as_dir
in $PATH
10239 test -z "$as_dir" && as_dir
=.
10240 for ac_prog
in bison
; do
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
10243 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
10244 as_awk_strverscmp
='
10245 # Use only awk features that work with 7th edition Unix awk (1978).
10246 # My, what an old awk you have, Mr. Solaris!
10248 while (length(v1) && length(v2)) {
10249 # Set d1 to be the next thing to compare from v1, and likewise for d2.
10250 # Normally this is a single character, but if v1 and v2 contain digits,
10251 # compare them as integers and fractions as strverscmp does.
10252 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
10253 # Split v1 and v2 into their leading digit string components d1 and d2,
10254 # and advance v1 and v2 past the leading digit strings.
10255 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
10256 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
10257 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
10258 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
10261 # Compare two fractions.
10262 while (d1 ~ /^0/ && d2 ~ /^0/) {
10263 d1 = substr(d1, 2); len1--
10264 d2 = substr(d2, 2); len2--
10266 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
10267 # The two components differ in length, and the common prefix
10268 # contains only leading zeros. Consider the longer to be less.
10272 # Otherwise, compare as strings.
10277 # A fraction is less than an integer.
10282 # An integer is greater than a fraction.
10285 # Compare two integers.
10291 # The normal case, without worrying about digits.
10292 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
10293 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
10295 if (d1 < d2) exit 1
10296 if (d1 > d2) exit 2
10298 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
10299 # which mishandles some comparisons of empty strings to integers.
10300 if (length(v2)) exit 1
10301 if (length(v1)) exit 2
10304 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10306 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10311 ac_cv_path_BISON
=$ac_path_BISON
10314 ac_cv_path_BISON
=$ac_path_BISON
10320 $ac_path_BISON_found && break 3
10325 if test -z "$ac_cv_path_BISON"; then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10327 $as_echo "not found" >&6; }
10328 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
10332 ac_cv_path_BISON
=$BISON
10335 BISON
=$ac_cv_path_BISON
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
10338 $as_echo "$BISON" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
10343 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
10344 if test -z "$FLEX"; then
10345 ac_path_FLEX_found
=false
10346 # Loop through the user's path and test for each of PROGNAME-LIST
10347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10348 for as_dir
in $PATH
10351 test -z "$as_dir" && as_dir
=.
10352 for ac_prog
in flex
; do
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
10355 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
10356 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10358 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10363 ac_cv_path_FLEX
=$ac_path_FLEX
10366 ac_cv_path_FLEX
=$ac_path_FLEX
10372 $ac_path_FLEX_found && break 3
10377 if test -z "$ac_cv_path_FLEX"; then
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10379 $as_echo "not found" >&6; }
10380 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
10384 ac_cv_path_FLEX
=$FLEX
10387 FLEX
=$ac_cv_path_FLEX
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
10390 $as_echo "$FLEX" >&6; }
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
10395 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
10396 if test -z "$GPERF"; then
10397 ac_path_GPERF_found
=false
10398 # Loop through the user's path and test for each of PROGNAME-LIST
10399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10400 for as_dir
in $PATH
10403 test -z "$as_dir" && as_dir
=.
10404 for ac_prog
in gperf
; do
10405 for ac_exec_ext
in '' $ac_executable_extensions; do
10406 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
10407 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
10408 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10410 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10415 ac_cv_path_GPERF
=$ac_path_GPERF
10418 ac_cv_path_GPERF
=$ac_path_GPERF
10424 $ac_path_GPERF_found && break 3
10429 if test -z "$ac_cv_path_GPERF"; then
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10431 $as_echo "not found" >&6; }
10432 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
10436 ac_cv_path_GPERF
=$GPERF
10439 GPERF
=$ac_cv_path_GPERF
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10442 $as_echo "$GPERF" >&6; }
10444 # Find a good install program. We prefer a C program (faster),
10445 # so one script is as good as another. But avoid the broken or
10446 # incompatible versions:
10447 # SysV /etc/install, /usr/sbin/install
10448 # SunOS /usr/etc/install
10449 # IRIX /sbin/install
10451 # AmigaOS /C/install, which installs bootblocks on floppy discs
10452 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10453 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10454 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10455 # OS/2's system install, which has a completely different semantic
10456 # ./install, which can be erroneously created by make from ./install.sh.
10457 # Reject install programs that cannot install multiple files.
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10459 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10460 if test -z "$INSTALL"; then
10461 if test "${ac_cv_path_install+set}" = set; then :
10462 $as_echo_n "(cached) " >&6
10464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10465 for as_dir
in $PATH
10468 test -z "$as_dir" && as_dir
=.
10469 # Account for people who put trailing slashes in PATH elements.
10470 case $as_dir/ in #((
10471 .
/ | .
// | /[cC
]/* | \
10472 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10473 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
10476 # OSF1 and SCO ODT 3.0 have their own names for install.
10477 # Don't use installbsd from OSF since it installs stuff as root
10479 for ac_prog
in ginstall scoinst
install; do
10480 for ac_exec_ext
in '' $ac_executable_extensions; do
10481 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10482 if test $ac_prog = install &&
10483 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10484 # AIX install. It has an incompatible calling convention.
10486 elif test $ac_prog = install &&
10487 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10488 # program-specific install script used by HP pwplus--don't use.
10491 rm -rf conftest.one conftest.two conftest.dir
10492 echo one
> conftest.one
10493 echo two
> conftest.two
10495 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10496 test -s conftest.one
&& test -s conftest.two
&&
10497 test -s conftest.dir
/conftest.one
&&
10498 test -s conftest.dir
/conftest.two
10500 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10513 rm -rf conftest.one conftest.two conftest.dir
10516 if test "${ac_cv_path_install+set}" = set; then
10517 INSTALL
=$ac_cv_path_install
10519 # As a last resort, use the slow shell script. Don't cache a
10520 # value for INSTALL within a source directory, because that will
10521 # break other packages using the cache if that directory is
10522 # removed, or if the value is a relative name.
10523 INSTALL
=$ac_install_sh
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10527 $as_echo "$INSTALL" >&6; }
10529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10530 # It thinks the first close brace ends the variable substitution.
10531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10535 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar" >&5
10538 $as_echo_n "checking for GNU tar... " >&6; }
10539 if test -z "$GNUTAR"; then
10540 ac_path_GNUTAR_found
=false
10541 # Loop through the user's path and test for each of PROGNAME-LIST
10542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10543 for as_dir
in $PATH
10546 test -z "$as_dir" && as_dir
=.
10547 for ac_prog
in tar gtar gnutar
; do
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
10550 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
10552 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
10554 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10558 $ac_path_GNUTAR_found && break 3
10563 if test -z "$ac_cv_path_GNUTAR"; then
10567 ac_cv_path_GNUTAR
=$GNUTAR
10570 if test "x$ac_cv_path_GNUTAR" != x
; then :
10572 GNUTAR
=$ac_cv_path_GNUTAR
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
10575 $as_echo "$GNUTAR" >&6; }
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10582 $as_echo "not found" >&6; }
10587 # Extract the first word of "$ac_prog", so it can be a program name with args.
10588 set dummy
$ac_prog; ac_word
=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10590 $as_echo_n "checking for $ac_word... " >&6; }
10591 if test "${ac_cv_prog_SVN+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10594 if test -n "$SVN"; then
10595 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
10597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10598 for as_dir
in $PATH
10601 test -z "$as_dir" && as_dir
=.
10602 for ac_exec_ext
in '' $ac_executable_extensions; do
10603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10604 ac_cv_prog_SVN
="$ac_prog"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10614 SVN
=$ac_cv_prog_SVN
10615 if test -n "$SVN"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
10617 $as_echo "$SVN" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10620 $as_echo "no" >&6; }
10624 test -n "$SVN" && break
10627 for ac_prog
in svnversion
10629 # Extract the first word of "$ac_prog", so it can be a program name with args.
10630 set dummy
$ac_prog; ac_word
=$2
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10632 $as_echo_n "checking for $ac_word... " >&6; }
10633 if test "${ac_cv_prog_SVNVERSION+set}" = set; then :
10634 $as_echo_n "(cached) " >&6
10636 if test -n "$SVNVERSION"; then
10637 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
10639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10640 for as_dir
in $PATH
10643 test -z "$as_dir" && as_dir
=.
10644 for ac_exec_ext
in '' $ac_executable_extensions; do
10645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10646 ac_cv_prog_SVNVERSION
="$ac_prog"
10647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10656 SVNVERSION
=$ac_cv_prog_SVNVERSION
10657 if test -n "$SVNVERSION"; then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
10659 $as_echo "$SVNVERSION" >&6; }
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10662 $as_echo "no" >&6; }
10666 test -n "$SVNVERSION" && break
10670 ac_cpp
='$CXXCPP $CPPFLAGS'
10671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10674 if test -z "$CXX"; then
10675 if test -n "$CCC"; then
10678 if test -n "$ac_tool_prefix"; then
10679 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10682 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10684 $as_echo_n "checking for $ac_word... " >&6; }
10685 if test "${ac_cv_prog_CXX+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10688 if test -n "$CXX"; then
10689 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10692 for as_dir
in $PATH
10695 test -z "$as_dir" && as_dir
=.
10696 for ac_exec_ext
in '' $ac_executable_extensions; do
10697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10698 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10708 CXX
=$ac_cv_prog_CXX
10709 if test -n "$CXX"; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10711 $as_echo "$CXX" >&6; }
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10714 $as_echo "no" >&6; }
10718 test -n "$CXX" && break
10721 if test -z "$CXX"; 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_prog", so it can be a program name with args.
10726 set dummy
$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_ac_ct_CXX+set}" = set; then :
10730 $as_echo_n "(cached) " >&6
10732 if test -n "$ac_ct_CXX"; then
10733 ac_cv_prog_ac_ct_CXX
="$ac_ct_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_ac_ct_CXX
="$ac_prog"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10752 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10753 if test -n "$ac_ct_CXX"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10755 $as_echo "$ac_ct_CXX" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10758 $as_echo "no" >&6; }
10762 test -n "$ac_ct_CXX" && break
10765 if test "x$ac_ct_CXX" = x
; then
10768 case $cross_compiling:$ac_tool_warned in
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10772 ac_tool_warned
=yes ;;
10780 # Provide some information about the compiler.
10781 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10784 for ac_option
in --version -v -V -qversion; do
10785 { { ac_try
="$ac_compiler $ac_option >&5"
10786 case "(($ac_try" in
10787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10791 $as_echo "$ac_try_echo"; } >&5
10792 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10794 if test -s conftest.err; then
10796 ... rest of stderr output deleted ...
10797 10q' conftest.err >conftest.er1
10798 cat conftest.er1 >&5
10800 rm -f conftest.er1 conftest.err
10801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10802 test $ac_status = 0; }
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10806 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10807 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10808 $as_echo_n "(cached) " >&6
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10824 if ac_fn_cxx_try_compile "$LINENO"; then :
10825 ac_compiler_gnu=yes
10829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10830 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10834 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10835 if test $ac_compiler_gnu = yes; then
10840 ac_test_CXXFLAGS=${CXXFLAGS+set}
10841 ac_save_CXXFLAGS=$CXXFLAGS
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10843 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10844 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10847 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10848 ac_cxx_werror_flag=yes
10849 ac_cv_prog_cxx_g=no
10851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10852 /* end confdefs.h. */
10862 if ac_fn_cxx_try_compile "$LINENO"; then :
10863 ac_cv_prog_cxx_g=yes
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10877 if ac_fn_cxx_try_compile "$LINENO"; then :
10880 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10893 if ac_fn_cxx_try_compile "$LINENO"; then :
10894 ac_cv_prog_cxx_g=yes
10896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10901 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10904 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10905 if test "$ac_test_CXXFLAGS" = set; then
10906 CXXFLAGS=$ac_save_CXXFLAGS
10907 elif test $ac_cv_prog_cxx_g = yes; then
10908 if test "$GXX" = yes; then
10914 if test "$GXX" = yes; then
10921 ac_cpp='$CPP $CPPFLAGS'
10922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10928 ac_cpp='$CXXCPP $CPPFLAGS'
10929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10932 if test -z "$CXX"; then
10933 if test -n "$CCC"; then
10936 if test -n "$ac_tool_prefix"; then
10937 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10942 $as_echo_n "checking for $ac_word... " >&6; }
10943 if test "${ac_cv_prog_CXX+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 if test -n "$CXX"; then
10947 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $PATH
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10956 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 CXX=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10969 $as_echo "$CXX" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972 $as_echo "no" >&6; }
10976 test -n "$CXX" && break
10979 if test -z "$CXX"; 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_prog", so it can be a program name with args.
10984 set dummy $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_ac_ct_CXX+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 if test -n "$ac_ct_CXX"; then
10991 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$ac_prog"
11001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11010 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11011 if test -n "$ac_ct_CXX"; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11013 $as_echo "$ac_ct_CXX" >&6; }
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11016 $as_echo "no" >&6; }
11020 test -n "$ac_ct_CXX" && break
11023 if test "x$ac_ct_CXX" = x; then
11026 case $cross_compiling:$ac_tool_warned in
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11030 ac_tool_warned=yes ;;
11038 # Provide some information about the compiler.
11039 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11042 for ac_option in --version -v -V -qversion; do
11043 { { ac_try="$ac_compiler $ac_option >&5"
11044 case "(($ac_try" in
11045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11046 *) ac_try_echo
=$ac_try;;
11048 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11049 $as_echo "$ac_try_echo"; } >&5
11050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11052 if test -s conftest.err
; then
11054 ... rest of stderr output deleted ...
11055 10q' conftest.err
>conftest.er1
11056 cat conftest.er1
>&5
11058 rm -f conftest.er1 conftest.err
11059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11060 test $ac_status = 0; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11064 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11065 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11066 $as_echo_n "(cached) " >&6
11068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11082 if ac_fn_cxx_try_compile
"$LINENO"; then :
11083 ac_compiler_gnu
=yes
11087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11088 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11092 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11093 if test $ac_compiler_gnu = yes; then
11098 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11099 ac_save_CXXFLAGS
=$CXXFLAGS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11101 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11102 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11103 $as_echo_n "(cached) " >&6
11105 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11106 ac_cxx_werror_flag
=yes
11107 ac_cv_prog_cxx_g
=no
11109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11120 if ac_fn_cxx_try_compile
"$LINENO"; then :
11121 ac_cv_prog_cxx_g
=yes
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11135 if ac_fn_cxx_try_compile
"$LINENO"; then :
11138 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11151 if ac_fn_cxx_try_compile
"$LINENO"; then :
11152 ac_cv_prog_cxx_g
=yes
11154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11156 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11159 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11162 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11163 if test "$ac_test_CXXFLAGS" = set; then
11164 CXXFLAGS
=$ac_save_CXXFLAGS
11165 elif test $ac_cv_prog_cxx_g = yes; then
11166 if test "$GXX" = yes; then
11172 if test "$GXX" = yes; then
11179 ac_cpp
='$CPP $CPPFLAGS'
11180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11184 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11185 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11186 (test "X$CXX" != "Xg++"))) ; then
11188 ac_cpp
='$CXXCPP $CPPFLAGS'
11189 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11193 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11194 if test -z "$CXXCPP"; then
11195 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11196 $as_echo_n "(cached) " >&6
11198 # Double quotes because CXXCPP needs to be expanded
11199 for CXXCPP
in "$CXX -E" "/lib/cpp"
11201 ac_preproc_ok
=false
11202 for ac_cxx_preproc_warn_flag
in '' yes
11204 # Use a header file that comes with gcc, so configuring glibc
11205 # with a fresh cross-compiler works.
11206 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11207 # <limits.h> exists even on freestanding compilers.
11208 # On the NeXT, cc -E runs the code through the compiler's parser,
11209 # not just through cpp. "Syntax error" is here to catch this case.
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 # include <limits.h>
11215 # include <assert.h>
11219 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11222 # Broken: fails on valid input.
11225 rm -f conftest.err conftest.
$ac_ext
11227 # OK, works on sane cases. Now check whether nonexistent headers
11228 # can be detected and how.
11229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11231 #include <ac_nonexistent.h>
11233 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11234 # Broken: success on invalid input.
11237 # Passes both tests.
11241 rm -f conftest.err conftest.
$ac_ext
11244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11245 rm -f conftest.err conftest.
$ac_ext
11246 if $ac_preproc_ok; then :
11251 ac_cv_prog_CXXCPP
=$CXXCPP
11254 CXXCPP
=$ac_cv_prog_CXXCPP
11256 ac_cv_prog_CXXCPP
=$CXXCPP
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11259 $as_echo "$CXXCPP" >&6; }
11260 ac_preproc_ok
=false
11261 for ac_cxx_preproc_warn_flag
in '' yes
11263 # Use a header file that comes with gcc, so configuring glibc
11264 # with a fresh cross-compiler works.
11265 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11266 # <limits.h> exists even on freestanding compilers.
11267 # On the NeXT, cc -E runs the code through the compiler's parser,
11268 # not just through cpp. "Syntax error" is here to catch this case.
11269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11272 # include <limits.h>
11274 # include <assert.h>
11278 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11281 # Broken: fails on valid input.
11284 rm -f conftest.err conftest.
$ac_ext
11286 # OK, works on sane cases. Now check whether nonexistent headers
11287 # can be detected and how.
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11290 #include <ac_nonexistent.h>
11292 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11293 # Broken: success on invalid input.
11296 # Passes both tests.
11300 rm -f conftest.err conftest.
$ac_ext
11303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11304 rm -f conftest.err conftest.
$ac_ext
11305 if $ac_preproc_ok; then :
11308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11310 _lt_caught_CXX_error
=yes; }
11314 ac_cpp
='$CPP $CPPFLAGS'
11315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11320 _lt_caught_CXX_error
=yes
11327 ac_cpp
='$CXXCPP $CPPFLAGS'
11328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11332 archive_cmds_need_lc_CXX
=no
11333 allow_undefined_flag_CXX
=
11334 always_export_symbols_CXX
=no
11335 archive_expsym_cmds_CXX
=
11336 compiler_needs_object_CXX
=no
11337 export_dynamic_flag_spec_CXX
=
11338 hardcode_direct_CXX
=no
11339 hardcode_direct_absolute_CXX
=no
11340 hardcode_libdir_flag_spec_CXX
=
11341 hardcode_libdir_flag_spec_ld_CXX
=
11342 hardcode_libdir_separator_CXX
=
11343 hardcode_minus_L_CXX
=no
11344 hardcode_shlibpath_var_CXX
=unsupported
11345 hardcode_automatic_CXX
=no
11346 inherit_rpath_CXX
=no
11348 module_expsym_cmds_CXX
=
11349 link_all_deplibs_CXX
=unknown
11350 old_archive_cmds_CXX
=$old_archive_cmds
11351 no_undefined_flag_CXX
=
11352 whole_archive_flag_spec_CXX
=
11353 enable_shared_with_static_runtimes_CXX
=no
11355 # Source file extension for C++ test sources.
11358 # Object file extension for compiled C++ test sources.
11362 # No sense in running all these tests if we already determined that
11363 # the CXX compiler isn't working. Some variables (like enable_shared)
11364 # are currently assumed to apply to all compilers on this platform,
11365 # and will be corrupted by setting them based on a non-working compiler.
11366 if test "$_lt_caught_CXX_error" != yes; then
11367 # Code to be used in simple compile tests
11368 lt_simple_compile_test_code
="int some_variable = 0;"
11370 # Code to be used in simple link tests
11371 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11373 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11380 # If no C compiler was specified, use CC.
11383 # If no C compiler flags were specified, use CFLAGS.
11384 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11386 # Allow CC to be a program name with arguments.
11390 # save warnings/boilerplate of simple test code
11391 ac_outfile
=conftest.
$ac_objext
11392 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11393 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11394 _lt_compiler_boilerplate
=`cat conftest.err`
11397 ac_outfile
=conftest.
$ac_objext
11398 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11399 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11400 _lt_linker_boilerplate
=`cat conftest.err`
11404 # Allow CC to be a program name with arguments.
11409 lt_save_with_gnu_ld
=$with_gnu_ld
11410 lt_save_path_LD
=$lt_cv_path_LD
11411 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11412 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11414 $as_unset lt_cv_prog_gnu_ld
11416 if test -n "${lt_cv_path_LDCXX+set}"; then
11417 lt_cv_path_LD
=$lt_cv_path_LDCXX
11419 $as_unset lt_cv_path_LD
11421 test -z "${LDCXX+set}" || LD
=$LDCXX
11425 for cc_temp
in $compiler""; do
11427 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11428 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11433 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11436 if test -n "$compiler"; then
11437 # We don't want -fno-exception when compiling C++ code, so set the
11438 # no_builtin_flag separately
11439 if test "$GXX" = yes; then
11440 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11442 lt_prog_compiler_no_builtin_flag_CXX
=
11445 if test "$GXX" = yes; then
11446 # Set up default GNU C++ configuration
11450 # Check whether --with-gnu-ld was given.
11451 if test "${with_gnu_ld+set}" = set; then :
11452 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11458 if test "$GCC" = yes; then
11459 # Check if gcc -print-prog-name=ld gives a path.
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11461 $as_echo_n "checking for ld used by $CC... " >&6; }
11464 # gcc leaves a trailing carriage return which upsets mingw
11465 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11467 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11470 # Accept absolute paths.
11472 re_direlt
='/[^/][^/]*/\.\./'
11473 # Canonicalize the pathname of ld
11474 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11475 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11476 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11478 test -z "$LD" && LD
="$ac_prog"
11481 # If it fails, then pretend we aren't using GCC.
11485 # If it is relative, then search for the first ld in PATH.
11486 with_gnu_ld
=unknown
11489 elif test "$with_gnu_ld" = yes; then
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11491 $as_echo_n "checking for GNU ld... " >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11494 $as_echo_n "checking for non-GNU ld... " >&6; }
11496 if test "${lt_cv_path_LD+set}" = set; then :
11497 $as_echo_n "(cached) " >&6
11499 if test -z "$LD"; then
11500 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11501 for ac_dir
in $PATH; do
11503 test -z "$ac_dir" && ac_dir
=.
11504 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11505 lt_cv_path_LD
="$ac_dir/$ac_prog"
11506 # Check to see if the program is GNU ld. I'd rather use --version,
11507 # but apparently some variants of GNU ld only accept -v.
11508 # Break only if it was the GNU/non-GNU ld that we prefer.
11509 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11510 *GNU
* | *'with BFD'*)
11511 test "$with_gnu_ld" != no
&& break
11514 test "$with_gnu_ld" != yes && break
11521 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11525 LD
="$lt_cv_path_LD"
11526 if test -n "$LD"; then
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11528 $as_echo "$LD" >&6; }
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531 $as_echo "no" >&6; }
11533 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11535 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11536 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11537 $as_echo_n "(cached) " >&6
11539 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11540 case `$LD -v 2>&1 </dev/null` in
11541 *GNU
* | *'with BFD'*)
11542 lt_cv_prog_gnu_ld
=yes
11545 lt_cv_prog_gnu_ld
=no
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11550 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11551 with_gnu_ld
=$lt_cv_prog_gnu_ld
11559 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11560 # archiving commands below assume that GNU ld is being used.
11561 if test "$with_gnu_ld" = yes; then
11562 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11563 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'
11565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11566 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11568 # If archive_cmds runs LD, not CC, wlarc should be empty
11569 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11570 # investigate it a little bit more. (MM)
11573 # ancient GNU ld didn't support --whole-archive et. al.
11574 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11575 $GREP 'no-whole-archive' > /dev
/null
; then
11576 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11578 whole_archive_flag_spec_CXX
=
11584 # A generic and very simple default shared library creation
11585 # command for GNU C++ for the case where it uses the native
11586 # linker, instead of GNU ld. If possible, this setting should
11587 # overridden to take advantage of the native linker features on
11588 # the platform it is being used on.
11589 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11592 # Commands to make compiler produce verbose output that lists
11593 # what "hidden" libraries, object files and flags are used when
11594 # linking a shared library.
11595 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11603 # PORTME: fill in a description of your system's C++ link characteristics
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11605 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11609 # FIXME: insert proper C++ library support
11613 if test "$host_cpu" = ia64
; then
11614 # On IA64, the linker does run time linking by default, so we don't
11615 # have to do anything special.
11616 aix_use_runtimelinking
=no
11617 exp_sym_flag
='-Bexport'
11620 aix_use_runtimelinking
=no
11622 # Test if we are trying to use run time linking or normal
11623 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11624 # need to do runtime linking.
11625 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11626 for ld_flag
in $LDFLAGS; do
11629 aix_use_runtimelinking
=yes
11637 exp_sym_flag
='-bexport'
11638 no_entry_flag
='-bnoentry'
11641 # When large executables or shared objects are built, AIX ld can
11642 # have problems creating the table of contents. If linking a library
11643 # or program results in "error TOC overflow" add -mminimal-toc to
11644 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11645 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11647 archive_cmds_CXX
=''
11648 hardcode_direct_CXX
=yes
11649 hardcode_direct_absolute_CXX
=yes
11650 hardcode_libdir_separator_CXX
=':'
11651 link_all_deplibs_CXX
=yes
11652 file_list_spec_CXX
='${wl}-f,'
11654 if test "$GXX" = yes; then
11655 case $host_os in aix4.
[012]|aix4.
[012].
*)
11656 # We only want to do this on AIX 4.2 and lower, the check
11657 # below for broken collect2 doesn't work under 4.3+
11658 collect2name
=`${CC} -print-prog-name=collect2`
11659 if test -f "$collect2name" &&
11660 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11662 # We have reworked collect2
11665 # We have old collect2
11666 hardcode_direct_CXX
=unsupported
11667 # It fails to find uninstalled libraries when the uninstalled
11668 # path is not listed in the libpath. Setting hardcode_minus_L
11669 # to unsupported forces relinking
11670 hardcode_minus_L_CXX
=yes
11671 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11672 hardcode_libdir_separator_CXX
=
11675 shared_flag
='-shared'
11676 if test "$aix_use_runtimelinking" = yes; then
11677 shared_flag
="$shared_flag "'${wl}-G'
11681 if test "$host_cpu" = ia64
; then
11682 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11683 # chokes on -Wl,-G. The following line is correct:
11686 if test "$aix_use_runtimelinking" = yes; then
11687 shared_flag
='${wl}-G'
11689 shared_flag
='${wl}-bM:SRE'
11694 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11695 # It seems that -bexpall does not export symbols beginning with
11696 # underscore (_), so it is better to generate a list of symbols to
11698 always_export_symbols_CXX
=yes
11699 if test "$aix_use_runtimelinking" = yes; then
11700 # Warning - without using the other runtime loading flags (-brtl),
11701 # -berok will link without error, but may produce a broken library.
11702 allow_undefined_flag_CXX
='-berok'
11703 # Determine the default libpath from the value encoded in an empty
11705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11716 if ac_fn_cxx_try_link
"$LINENO"; then :
11718 lt_aix_libpath_sed
='
11719 /Import File Strings/,/^$/ {
11725 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11726 # Check for a 64-bit object if we didn't find anything.
11727 if test -z "$aix_libpath"; then
11728 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11735 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11737 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"
11739 if test "$host_cpu" = ia64
; then
11740 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11741 allow_undefined_flag_CXX
="-z nodefs"
11742 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"
11744 # Determine the default libpath from the value encoded in an
11745 # empty executable.
11746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11757 if ac_fn_cxx_try_link
"$LINENO"; then :
11759 lt_aix_libpath_sed
='
11760 /Import File Strings/,/^$/ {
11766 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11767 # Check for a 64-bit object if we didn't find anything.
11768 if test -z "$aix_libpath"; then
11769 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11772 rm -f core conftest.err conftest.
$ac_objext \
11773 conftest
$ac_exeext conftest.
$ac_ext
11774 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11776 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11777 # Warning - without using the other run time loading flags,
11778 # -berok will link without error, but may produce a broken library.
11779 no_undefined_flag_CXX
=' ${wl}-bernotok'
11780 allow_undefined_flag_CXX
=' ${wl}-berok'
11781 # Exported symbols can be pulled into shared objects from archives
11782 whole_archive_flag_spec_CXX
='$convenience'
11783 archive_cmds_need_lc_CXX
=yes
11784 # This is similar to how AIX traditionally builds its shared
11786 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'
11792 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11793 allow_undefined_flag_CXX
=unsupported
11794 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11795 # support --undefined. This deserves some investigation. FIXME
11796 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11803 case $cc_basename in
11805 # FIXME: insert proper C++ library support
11811 cygwin
* | mingw
* | pw32
* | cegcc
*)
11812 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11813 # as there is no search path for DLLs.
11814 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11815 allow_undefined_flag_CXX
=unsupported
11816 always_export_symbols_CXX
=no
11817 enable_shared_with_static_runtimes_CXX
=yes
11819 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11820 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'
11821 # If the export-symbols file already is a .def file (1st line
11822 # is EXPORTS), use it as is; otherwise, prepend...
11823 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11824 cp $export_symbols $output_objdir/$soname.def;
11826 echo EXPORTS > $output_objdir/$soname.def;
11827 cat $export_symbols >> $output_objdir/$soname.def;
11829 $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'
11834 darwin
* | rhapsody
*)
11837 archive_cmds_need_lc_CXX
=no
11838 hardcode_direct_CXX
=no
11839 hardcode_automatic_CXX
=yes
11840 hardcode_shlibpath_var_CXX
=unsupported
11841 whole_archive_flag_spec_CXX
=''
11842 link_all_deplibs_CXX
=yes
11843 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11844 case $cc_basename in
11845 ifort
*) _lt_dar_can_shared
=yes ;;
11846 *) _lt_dar_can_shared
=$GCC ;;
11848 if test "$_lt_dar_can_shared" = "yes"; then
11849 output_verbose_link_cmd
=echo
11850 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}"
11851 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11852 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}"
11853 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}"
11854 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11855 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}"
11856 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}"
11866 case $cc_basename in
11868 # FIXME: insert proper C++ library support
11872 # Green Hills C++ Compiler
11873 # FIXME: insert proper C++ library support
11877 # FIXME: insert proper C++ library support
11884 # C++ shared libraries reported to be fairly broken before
11890 archive_cmds_need_lc_CXX
=no
11893 freebsd
* | dragonfly
*)
11894 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11903 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11904 hardcode_libdir_separator_CXX
=:
11905 export_dynamic_flag_spec_CXX
='${wl}-E'
11906 hardcode_direct_CXX
=yes
11907 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11908 # but as the default
11909 # location of the library.
11911 case $cc_basename in
11913 # FIXME: insert proper C++ library support
11917 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'
11918 # Commands to make compiler produce verbose output that lists
11919 # what "hidden" libraries, object files and flags are used when
11920 # linking a shared library.
11922 # There doesn't appear to be a way to prevent this compiler from
11923 # explicitly linking system object files so we need to strip them
11924 # from the output so that they don't get included in the library
11926 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'
11929 if test "$GXX" = yes; then
11930 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'
11932 # FIXME: insert proper C++ library support
11940 if test $with_gnu_ld = no
; then
11941 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11942 hardcode_libdir_separator_CXX
=:
11948 export_dynamic_flag_spec_CXX
='${wl}-E'
11954 hardcode_direct_CXX
=no
11955 hardcode_shlibpath_var_CXX
=no
11958 hardcode_direct_CXX
=yes
11959 hardcode_direct_absolute_CXX
=yes
11960 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11961 # but as the default
11962 # location of the library.
11966 case $cc_basename in
11968 # FIXME: insert proper C++ library support
11974 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11977 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11980 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11983 # Commands to make compiler produce verbose output that lists
11984 # what "hidden" libraries, object files and flags are used when
11985 # linking a shared library.
11987 # There doesn't appear to be a way to prevent this compiler from
11988 # explicitly linking system object files so we need to strip them
11989 # from the output so that they don't get included in the library
11991 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'
11994 if test "$GXX" = yes; then
11995 if test $with_gnu_ld = no
; then
11998 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12001 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12004 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'
12009 # FIXME: insert proper C++ library support
12017 hardcode_direct_CXX
=no
12018 hardcode_shlibpath_var_CXX
=no
12019 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12020 export_dynamic_flag_spec_CXX
='${wl}-E'
12021 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12022 # Instead, shared libraries are loaded at an image base (0x10000000 by
12023 # default) and relocated if they conflict, which is a slow very memory
12024 # consuming and fragmenting process. To avoid this, we pick a random,
12025 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12026 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12027 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'
12028 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'
12031 case $cc_basename in
12034 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'
12036 # Archives containing C++ object files must be created using
12037 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12038 # necessary to make sure instantiated templates are included
12040 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12043 if test "$GXX" = yes; then
12044 if test "$with_gnu_ld" = no
; then
12045 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'
12047 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'
12050 link_all_deplibs_CXX
=yes
12053 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12054 hardcode_libdir_separator_CXX
=:
12055 inherit_rpath_CXX
=yes
12058 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12059 case $cc_basename in
12061 # Kuck and Associates, Inc. (KAI) C++ Compiler
12063 # KCC will only create a shared library if the output file
12064 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12065 # to its proper name (with version) after linking.
12066 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'
12067 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'
12068 # Commands to make compiler produce verbose output that lists
12069 # what "hidden" libraries, object files and flags are used when
12070 # linking a shared library.
12072 # There doesn't appear to be a way to prevent this compiler from
12073 # explicitly linking system object files so we need to strip them
12074 # from the output so that they don't get included in the library
12076 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'
12078 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12079 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12081 # Archives containing C++ object files must be created using
12082 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12083 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12088 # version 8.0 and above of icpc choke on multiply defined symbols
12089 # if we add $predep_objects and $postdep_objects, however 7.1 and
12090 # earlier do not add the objects themselves.
12091 case `$CC -V 2>&1` in
12093 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12094 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'
12096 *) # Version 8.0 or newer
12099 ia64
*) tmp_idyn
=' -i_dynamic';;
12101 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12102 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'
12105 archive_cmds_need_lc_CXX
=no
12106 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12107 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12108 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12111 # Portland Group C++ compiler
12113 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12114 prelink_cmds_CXX
='tpldir=Template.dir~
12116 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12117 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12118 old_archive_cmds_CXX
='tpldir=Template.dir~
12120 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12121 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12123 archive_cmds_CXX
='tpldir=Template.dir~
12125 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12126 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12127 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12129 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12130 $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'
12132 *) # Version 6 will use weak symbols
12133 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12134 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'
12138 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12139 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12140 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'
12144 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12145 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'
12147 runpath_var
=LD_RUN_PATH
12148 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12149 hardcode_libdir_separator_CXX
=:
12151 # Commands to make compiler produce verbose output that lists
12152 # what "hidden" libraries, object files and flags are used when
12153 # linking a shared library.
12155 # There doesn't appear to be a way to prevent this compiler from
12156 # explicitly linking system object files so we need to strip them
12157 # from the output so that they don't get included in the library
12159 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'
12162 # IBM XL 8.0 on PPC, with GNU ld
12163 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12164 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12165 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12166 if test "x$supports_anon_versioning" = xyes
; then
12167 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12168 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12169 echo "local: *; };" >> $output_objdir/$libname.ver~
12170 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12174 case `$CC -V 2>&1 | sed 5q` in
12177 no_undefined_flag_CXX
=' -zdefs'
12178 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12179 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'
12180 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12181 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'
12182 compiler_needs_object_CXX
=yes
12184 # Not sure whether something based on
12185 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12187 output_verbose_link_cmd
='echo'
12189 # Archives containing C++ object files must be created using
12190 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12191 # necessary to make sure instantiated templates are included
12193 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12201 # FIXME: insert proper C++ library support
12206 # FIXME: insert proper C++ library support
12211 case $cc_basename in
12213 # FIXME: insert proper C++ library support
12217 # FIXME: insert proper C++ library support
12224 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12225 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12227 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12228 hardcode_direct_CXX
=yes
12229 hardcode_shlibpath_var_CXX
=no
12231 # Workaround some broken pre-1.5 toolchains
12232 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12240 # C++ shared libraries are fairly broken
12245 if test -f /usr
/libexec
/ld.so
; then
12246 hardcode_direct_CXX
=yes
12247 hardcode_shlibpath_var_CXX
=no
12248 hardcode_direct_absolute_CXX
=yes
12249 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12250 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12251 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12252 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12253 export_dynamic_flag_spec_CXX
='${wl}-E'
12254 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12256 output_verbose_link_cmd
=echo
12262 osf3
* | osf4
* | osf5
*)
12263 case $cc_basename in
12265 # Kuck and Associates, Inc. (KAI) C++ Compiler
12267 # KCC will only create a shared library if the output file
12268 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12269 # to its proper name (with version) after linking.
12270 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'
12272 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12273 hardcode_libdir_separator_CXX
=:
12275 # Archives containing C++ object files must be created using
12276 # the KAI C++ compiler.
12278 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12279 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12283 # Rational C++ 2.4.1
12284 # FIXME: insert proper C++ library support
12290 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12291 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'
12292 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12295 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12296 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'
12297 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12298 echo "-hidden">> $lib.exp~
12299 $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~
12301 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12305 hardcode_libdir_separator_CXX
=:
12307 # Commands to make compiler produce verbose output that lists
12308 # what "hidden" libraries, object files and flags are used when
12309 # linking a shared library.
12311 # There doesn't appear to be a way to prevent this compiler from
12312 # explicitly linking system object files so we need to strip them
12313 # from the output so that they don't get included in the library
12315 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'
12318 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12319 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12322 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'
12325 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'
12329 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12330 hardcode_libdir_separator_CXX
=:
12332 # Commands to make compiler produce verbose output that lists
12333 # what "hidden" libraries, object files and flags are used when
12334 # linking a shared library.
12335 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12338 # FIXME: insert proper C++ library support
12346 # FIXME: insert proper C++ library support
12351 case $cc_basename in
12354 # FIXME: insert proper C++ library support
12359 # FIXME: insert proper C++ library support
12363 # FIXME: insert proper C++ library support
12370 case $cc_basename in
12372 # Sun C++ 4.2, 5.x and Centerline C++
12373 archive_cmds_need_lc_CXX
=yes
12374 no_undefined_flag_CXX
=' -zdefs'
12375 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12376 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12377 $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'
12379 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12380 hardcode_shlibpath_var_CXX
=no
12382 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12384 # The compiler driver will combine and reorder linker options,
12385 # but understands `-z linker_flag'.
12386 # Supported since Solaris 2.6 (maybe 2.5.1?)
12387 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12390 link_all_deplibs_CXX
=yes
12392 output_verbose_link_cmd
='echo'
12394 # Archives containing C++ object files must be created using
12395 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12396 # necessary to make sure instantiated templates are included
12398 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12401 # Green Hills C++ Compiler
12402 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12404 # The C++ compiler must be used to create the archive.
12405 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12408 # GNU C++ compiler with Solaris linker
12409 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12410 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12411 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12412 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12413 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12414 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12416 # Commands to make compiler produce verbose output that lists
12417 # what "hidden" libraries, object files and flags are used when
12418 # linking a shared library.
12419 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12421 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12423 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12424 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12425 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12427 # Commands to make compiler produce verbose output that lists
12428 # what "hidden" libraries, object files and flags are used when
12429 # linking a shared library.
12430 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12433 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12435 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12437 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12445 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12446 no_undefined_flag_CXX
='${wl}-z,text'
12447 archive_cmds_need_lc_CXX
=no
12448 hardcode_shlibpath_var_CXX
=no
12449 runpath_var
='LD_RUN_PATH'
12451 case $cc_basename in
12453 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12454 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12457 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12458 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 sysv5
* | sco3.2v5
* | sco5v6
*)
12464 # Note: We can NOT use -z defs as we might desire, because we do not
12465 # link with -lc, and that would cause any symbols used from libc to
12466 # always be unresolved, which means just about no library would
12467 # ever link correctly. If we're not using GNU ld we use -z text
12468 # though, which does catch some bad symbols but isn't as heavy-handed
12470 no_undefined_flag_CXX
='${wl}-z,text'
12471 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12472 archive_cmds_need_lc_CXX
=no
12473 hardcode_shlibpath_var_CXX
=no
12474 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12475 hardcode_libdir_separator_CXX
=':'
12476 link_all_deplibs_CXX
=yes
12477 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12478 runpath_var
='LD_RUN_PATH'
12480 case $cc_basename in
12482 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12483 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12486 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12487 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12493 case $cc_basename in
12495 # NonStop-UX NCC 3.20
12496 # FIXME: insert proper C++ library support
12500 # FIXME: insert proper C++ library support
12507 # FIXME: insert proper C++ library support
12512 # FIXME: insert proper C++ library support
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12518 $as_echo "$ld_shlibs_CXX" >&6; }
12519 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12525 ## There is no encapsulation within the following macros, do not change
12526 ## the running order or otherwise move them around unless you know exactly
12527 ## what you are doing...
12528 # Dependencies to place before and after the object being linked:
12529 predep_objects_CXX
=
12530 postdep_objects_CXX
=
12533 compiler_lib_search_path_CXX
=
12535 cat > conftest.
$ac_ext <<_LT_EOF
12539 Foo (void) { a = 0; }
12545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12546 (eval $ac_compile) 2>&5
12548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12549 test $ac_status = 0; }; then
12550 # Parse the compiler output and extract the necessary
12551 # objects, libraries and library flags.
12553 # Sentinel used to keep track of whether or not we are before
12554 # the conftest object file.
12555 pre_test_object_deps_done
=no
12557 for p
in `eval "$output_verbose_link_cmd"`; do
12561 # Some compilers place space between "-{L,R}" and the path.
12562 # Remove the space.
12563 if test $p = "-L" ||
12564 test $p = "-R"; then
12571 if test "$pre_test_object_deps_done" = no
; then
12574 # Internal compiler library paths should come after those
12575 # provided the user. The postdeps already come after the
12576 # user supplied libs so there is no need to process them.
12577 if test -z "$compiler_lib_search_path_CXX"; then
12578 compiler_lib_search_path_CXX
="${prev}${p}"
12580 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12583 # The "-l" case would never come before the object being
12584 # linked, so don't bother handling this case.
12587 if test -z "$postdeps_CXX"; then
12588 postdeps_CXX
="${prev}${p}"
12590 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12596 # This assumes that the test object file only shows up
12597 # once in the compiler output.
12598 if test "$p" = "conftest.$objext"; then
12599 pre_test_object_deps_done
=yes
12603 if test "$pre_test_object_deps_done" = no
; then
12604 if test -z "$predep_objects_CXX"; then
12605 predep_objects_CXX
="$p"
12607 predep_objects_CXX
="$predep_objects_CXX $p"
12610 if test -z "$postdep_objects_CXX"; then
12611 postdep_objects_CXX
="$p"
12613 postdep_objects_CXX
="$postdep_objects_CXX $p"
12618 *) ;; # Ignore the rest.
12626 echo "libtool.m4: error: problem compiling CXX test program"
12629 $RM -f confest.
$objext
12631 # PORTME: override above test on systems where it is broken
12634 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12635 # hack all around it, let's just trust "g++" to DTRT.
12636 predep_objects_CXX
=
12637 postdep_objects_CXX
=
12642 case `$CC -V 2>&1 | sed 5q` in
12646 # The more standards-conforming stlport4 library is
12647 # incompatible with the Cstd library. Avoid specifying
12648 # it if it's in CXXFLAGS. Ignore libCrun as
12649 # -library=stlport4 depends on it.
12650 case " $CXX $CXXFLAGS " in
12651 *" -library=stlport4 "*)
12652 solaris_use_stlport4
=yes
12656 if test "$solaris_use_stlport4" != yes; then
12657 postdeps_CXX
='-library=Cstd -library=Crun'
12664 case $cc_basename in
12666 # The more standards-conforming stlport4 library is
12667 # incompatible with the Cstd library. Avoid specifying
12668 # it if it's in CXXFLAGS. Ignore libCrun as
12669 # -library=stlport4 depends on it.
12670 case " $CXX $CXXFLAGS " in
12671 *" -library=stlport4 "*)
12672 solaris_use_stlport4
=yes
12676 # Adding this requires a known-good setup of shared libraries for
12677 # Sun compiler versions before 5.6, else PIC objects from an old
12678 # archive will be linked into the output, leading to subtle bugs.
12679 if test "$solaris_use_stlport4" != yes; then
12680 postdeps_CXX
='-library=Cstd -library=Crun'
12688 case " $postdeps_CXX " in
12689 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12691 compiler_lib_search_dirs_CXX
=
12692 if test -n "${compiler_lib_search_path_CXX}"; then
12693 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12726 lt_prog_compiler_wl_CXX
=
12727 lt_prog_compiler_pic_CXX
=
12728 lt_prog_compiler_static_CXX
=
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12731 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12733 # C++ specific cases for pic, static, wl, etc.
12734 if test "$GXX" = yes; then
12735 lt_prog_compiler_wl_CXX
='-Wl,'
12736 lt_prog_compiler_static_CXX
='-static'
12740 # All AIX code is PIC.
12741 if test "$host_cpu" = ia64
; then
12742 # AIX 5 now supports IA64 processor
12743 lt_prog_compiler_static_CXX
='-Bstatic'
12750 # see comment about AmigaOS4 .so support
12751 lt_prog_compiler_pic_CXX
='-fPIC'
12754 # FIXME: we need at least 68020 code to build shared libraries, but
12755 # adding the `-m68020' flag to GCC prevents building anything better,
12757 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12762 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12763 # PIC is the default for these OSes.
12765 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12766 # This hack is so that the source file can tell whether it is being
12767 # built for inclusion in a dll (and should export symbols for example).
12768 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12769 # (--disable-auto-import) libraries
12770 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12772 darwin
* | rhapsody
*)
12773 # PIC is the default on this platform
12774 # Common symbols not allowed in MH_DYLIB files
12775 lt_prog_compiler_pic_CXX
='-fno-common'
12778 # DJGPP does not support shared libraries at all
12779 lt_prog_compiler_pic_CXX
=
12782 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12783 # Instead, we relocate shared libraries at runtime.
12786 if test -d /usr
/nec
; then
12787 lt_prog_compiler_pic_CXX
=-Kconform_pic
12791 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12792 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12793 # sets the default TLS model and affects inlining.
12798 lt_prog_compiler_pic_CXX
='-fPIC'
12803 # QNX uses GNU C++, but need to define -shared option too, otherwise
12804 # it will coredump.
12805 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12808 lt_prog_compiler_pic_CXX
='-fPIC'
12814 # All AIX code is PIC.
12815 if test "$host_cpu" = ia64
; then
12816 # AIX 5 now supports IA64 processor
12817 lt_prog_compiler_static_CXX
='-Bstatic'
12819 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12823 case $cc_basename in
12825 # Green Hills C++ Compiler
12826 # _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"
12831 case $cc_basename in
12833 lt_prog_compiler_pic_CXX
='-KPIC'
12836 # Green Hills C++ Compiler
12837 lt_prog_compiler_pic_CXX
='-pic'
12843 freebsd
* | dragonfly
*)
12844 # FreeBSD uses GNU C++
12846 hpux9
* | hpux10
* | hpux11
*)
12847 case $cc_basename in
12849 lt_prog_compiler_wl_CXX
='-Wl,'
12850 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12851 if test "$host_cpu" != ia64
; then
12852 lt_prog_compiler_pic_CXX
='+Z'
12856 lt_prog_compiler_wl_CXX
='-Wl,'
12857 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12863 lt_prog_compiler_pic_CXX
='+Z'
12872 # This is c89, which is MS Visual C++ (no shared libs)
12873 # Anyone wants to do a port?
12875 irix5
* | irix6
* | nonstopux
*)
12876 case $cc_basename in
12878 lt_prog_compiler_wl_CXX
='-Wl,'
12879 lt_prog_compiler_static_CXX
='-non_shared'
12880 # CC pic flag -KPIC is the default.
12886 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12887 case $cc_basename in
12890 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12891 lt_prog_compiler_pic_CXX
='-fPIC'
12894 # old Intel C++ for x86_64 which still supported -KPIC.
12895 lt_prog_compiler_wl_CXX
='-Wl,'
12896 lt_prog_compiler_pic_CXX
='-KPIC'
12897 lt_prog_compiler_static_CXX
='-static'
12900 # Intel C++, used to be incompatible with GCC.
12901 # ICC 10 doesn't accept -KPIC any more.
12902 lt_prog_compiler_wl_CXX
='-Wl,'
12903 lt_prog_compiler_pic_CXX
='-fPIC'
12904 lt_prog_compiler_static_CXX
='-static'
12907 # Portland Group C++ compiler
12908 lt_prog_compiler_wl_CXX
='-Wl,'
12909 lt_prog_compiler_pic_CXX
='-fpic'
12910 lt_prog_compiler_static_CXX
='-Bstatic'
12914 # Make sure the PIC flag is empty. It appears that all Alpha
12915 # Linux and Compaq Tru64 Unix objects are PIC.
12916 lt_prog_compiler_pic_CXX
=
12917 lt_prog_compiler_static_CXX
='-non_shared'
12920 # IBM XL 8.0 on PPC
12921 lt_prog_compiler_wl_CXX
='-Wl,'
12922 lt_prog_compiler_pic_CXX
='-qpic'
12923 lt_prog_compiler_static_CXX
='-qstaticlink'
12926 case `$CC -V 2>&1 | sed 5q` in
12929 lt_prog_compiler_pic_CXX
='-KPIC'
12930 lt_prog_compiler_static_CXX
='-Bstatic'
12931 lt_prog_compiler_wl_CXX
='-Qoption ld '
12942 case $cc_basename in
12944 lt_prog_compiler_pic_CXX
='-W c,exportall'
12950 netbsd
* | netbsdelf
*-gnu)
12953 # QNX uses GNU C++, but need to define -shared option too, otherwise
12954 # it will coredump.
12955 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12957 osf3
* | osf4
* | osf5
*)
12958 case $cc_basename in
12960 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12963 # Rational C++ 2.4.1
12964 lt_prog_compiler_pic_CXX
='-pic'
12967 # Digital/Compaq C++
12968 lt_prog_compiler_wl_CXX
='-Wl,'
12969 # Make sure the PIC flag is empty. It appears that all Alpha
12970 # Linux and Compaq Tru64 Unix objects are PIC.
12971 lt_prog_compiler_pic_CXX
=
12972 lt_prog_compiler_static_CXX
='-non_shared'
12981 case $cc_basename in
12983 # Sun C++ 4.2, 5.x and Centerline C++
12984 lt_prog_compiler_pic_CXX
='-KPIC'
12985 lt_prog_compiler_static_CXX
='-Bstatic'
12986 lt_prog_compiler_wl_CXX
='-Qoption ld '
12989 # Green Hills C++ Compiler
12990 lt_prog_compiler_pic_CXX
='-PIC'
12997 case $cc_basename in
13000 lt_prog_compiler_pic_CXX
='-pic'
13001 lt_prog_compiler_static_CXX
='-Bstatic'
13005 lt_prog_compiler_pic_CXX
='-pic'
13011 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13012 case $cc_basename in
13014 lt_prog_compiler_wl_CXX
='-Wl,'
13015 lt_prog_compiler_pic_CXX
='-KPIC'
13016 lt_prog_compiler_static_CXX
='-Bstatic'
13021 case $cc_basename in
13023 # NonStop-UX NCC 3.20
13024 lt_prog_compiler_pic_CXX
='-KPIC'
13033 lt_prog_compiler_can_build_shared_CXX
=no
13039 # For platforms which do not support PIC, -DPIC is meaningless:
13041 lt_prog_compiler_pic_CXX
=
13044 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13048 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13053 # Check to make sure the PIC flag actually works.
13055 if test -n "$lt_prog_compiler_pic_CXX"; then
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13057 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13058 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13059 $as_echo_n "(cached) " >&6
13061 lt_cv_prog_compiler_pic_works_CXX
=no
13062 ac_outfile
=conftest.
$ac_objext
13063 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13064 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13065 # Insert the option either (1) after the last *FLAGS variable, or
13066 # (2) before a word containing "conftest.", or (3) at the end.
13067 # Note that $ac_compile itself does not contain backslashes and begins
13068 # with a dollar sign (not a hyphen), so the echo should work correctly.
13069 # The option is referenced via a variable to avoid confusing sed.
13070 lt_compile
=`echo "$ac_compile" | $SED \
13071 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13072 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13073 -e 's:$: $lt_compiler_flag:'`
13074 (eval echo "\"\$as_me:13074: $lt_compile\"" >&5)
13075 (eval "$lt_compile" 2>conftest.err
)
13077 cat conftest.err
>&5
13078 echo "$as_me:13078: \$? = $ac_status" >&5
13079 if (exit $ac_status) && test -s "$ac_outfile"; then
13080 # The compiler can only warn and ignore the option if not recognized
13081 # So say no if there are warnings other than the usual output.
13082 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13083 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13084 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13085 lt_cv_prog_compiler_pic_works_CXX
=yes
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13092 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13094 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13095 case $lt_prog_compiler_pic_CXX in
13097 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13100 lt_prog_compiler_pic_CXX
=
13101 lt_prog_compiler_can_build_shared_CXX
=no
13109 # Check to make sure the static flag actually works.
13111 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13113 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13114 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13115 $as_echo_n "(cached) " >&6
13117 lt_cv_prog_compiler_static_works_CXX
=no
13118 save_LDFLAGS
="$LDFLAGS"
13119 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13120 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13121 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13122 # The linker can only warn and ignore the option if not recognized
13123 # So say no if there are warnings
13124 if test -s conftest.err
; then
13125 # Append any errors to the config.log.
13126 cat conftest.err
1>&5
13127 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13128 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13129 if diff conftest.exp conftest.er2
>/dev
/null
; then
13130 lt_cv_prog_compiler_static_works_CXX
=yes
13133 lt_cv_prog_compiler_static_works_CXX
=yes
13137 LDFLAGS
="$save_LDFLAGS"
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13141 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13143 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13146 lt_prog_compiler_static_CXX
=
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13153 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13154 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13155 $as_echo_n "(cached) " >&6
13157 lt_cv_prog_compiler_c_o_CXX
=no
13158 $RM -r conftest
2>/dev
/null
13162 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13164 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13165 # Insert the option either (1) after the last *FLAGS variable, or
13166 # (2) before a word containing "conftest.", or (3) at the end.
13167 # Note that $ac_compile itself does not contain backslashes and begins
13168 # with a dollar sign (not a hyphen), so the echo should work correctly.
13169 lt_compile
=`echo "$ac_compile" | $SED \
13170 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13171 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13172 -e 's:$: $lt_compiler_flag:'`
13173 (eval echo "\"\$as_me:13173: $lt_compile\"" >&5)
13174 (eval "$lt_compile" 2>out
/conftest.err
)
13176 cat out
/conftest.err
>&5
13177 echo "$as_me:13177: \$? = $ac_status" >&5
13178 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13180 # The compiler can only warn and ignore the option if not recognized
13181 # So say no if there are warnings
13182 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13183 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13184 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13185 lt_cv_prog_compiler_c_o_CXX
=yes
13190 # SGI C++ compiler will create directory out/ii_files/ for
13191 # template instantiation
13192 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13193 $RM out
/* && rmdir out
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13200 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13205 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13206 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13207 $as_echo_n "(cached) " >&6
13209 lt_cv_prog_compiler_c_o_CXX
=no
13210 $RM -r conftest
2>/dev
/null
13214 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13216 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13217 # Insert the option either (1) after the last *FLAGS variable, or
13218 # (2) before a word containing "conftest.", or (3) at the end.
13219 # Note that $ac_compile itself does not contain backslashes and begins
13220 # with a dollar sign (not a hyphen), so the echo should work correctly.
13221 lt_compile
=`echo "$ac_compile" | $SED \
13222 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13223 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13224 -e 's:$: $lt_compiler_flag:'`
13225 (eval echo "\"\$as_me:13225: $lt_compile\"" >&5)
13226 (eval "$lt_compile" 2>out
/conftest.err
)
13228 cat out
/conftest.err
>&5
13229 echo "$as_me:13229: \$? = $ac_status" >&5
13230 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13232 # The compiler can only warn and ignore the option if not recognized
13233 # So say no if there are warnings
13234 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13235 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13236 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13237 lt_cv_prog_compiler_c_o_CXX
=yes
13242 # SGI C++ compiler will create directory out/ii_files/ for
13243 # template instantiation
13244 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13245 $RM out
/* && rmdir out
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13252 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13257 hard_links
="nottested"
13258 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13259 # do not overwrite the value of need_locks provided by the user
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13261 $as_echo_n "checking if we can lock with hard links... " >&6; }
13264 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13266 ln conftest.a conftest.b
2>&5 || hard_links
=no
13267 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13269 $as_echo "$hard_links" >&6; }
13270 if test "$hard_links" = no
; then
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13272 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13282 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13284 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13287 # If we're using GNU nm, then we don't want the "-C" option.
13288 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13289 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13290 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'
13292 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'
13296 export_symbols_cmds_CXX
="$ltdll_cmds"
13298 cygwin
* | mingw
* | cegcc
*)
13299 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'
13301 linux
* | k
*bsd
*-gnu)
13302 link_all_deplibs_CXX
=no
13305 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13308 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13311 $as_echo "$ld_shlibs_CXX" >&6; }
13312 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13314 with_gnu_ld_CXX
=$with_gnu_ld
13322 # Do we need to explicitly link libc?
13324 case "x$archive_cmds_need_lc_CXX" in
13326 # Assume -lc should be added
13327 archive_cmds_need_lc_CXX
=yes
13329 if test "$enable_shared" = yes && test "$GCC" = yes; then
13330 case $archive_cmds_CXX in
13332 # FIXME: we may have to deal with multi-command sequences.
13335 # Test whether the compiler implicitly links with -lc since on some
13336 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13337 # to ld, don't add -lc before -lgcc.
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13339 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13341 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13343 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13344 (eval $ac_compile) 2>&5
13346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13347 test $ac_status = 0; } 2>conftest.err
; then
13350 libobjs
=conftest.
$ac_objext
13352 wl
=$lt_prog_compiler_wl_CXX
13353 pic_flag
=$lt_prog_compiler_pic_CXX
13359 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13360 allow_undefined_flag_CXX
=
13361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13362 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13365 test $ac_status = 0; }
13367 archive_cmds_need_lc_CXX
=no
13369 archive_cmds_need_lc_CXX
=yes
13371 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13373 cat conftest.err
1>&5
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13377 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13448 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13450 library_names_spec
=
13451 libname_spec
='lib$name'
13455 postuninstall_cmds
=
13459 shlibpath_overrides_runpath
=unknown
13461 dynamic_linker
="$host_os ld.so"
13462 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13463 need_lib_prefix
=unknown
13464 hardcode_into_libs
=no
13466 # when you set need_version to no, make sure it does not cause -set_version
13467 # flags to be left without arguments
13468 need_version
=unknown
13473 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13474 shlibpath_var
=LIBPATH
13476 # AIX 3 has no versioning support, so we append a major version to the name.
13477 soname_spec
='${libname}${release}${shared_ext}$major'
13484 hardcode_into_libs
=yes
13485 if test "$host_cpu" = ia64
; then
13486 # AIX 5 supports IA64
13487 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13488 shlibpath_var
=LD_LIBRARY_PATH
13490 # With GCC up to 2.95.x, collect2 would create an import file
13491 # for dependence libraries. The import file would start with
13492 # the line `#! .'. This would cause the generated library to
13493 # depend on `.', always an invalid library. This was fixed in
13494 # development snapshots of GCC prior to 3.0.
13496 aix4
| aix4.
[01] | aix4.
[01].
*)
13497 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13499 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13502 can_build_shared
=no
13506 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13507 # soname into executable. Probably we can add versioning support to
13508 # collect2, so additional links can be useful in future.
13509 if test "$aix_use_runtimelinking" = yes; then
13510 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13511 # instead of lib<name>.a to let people know that these are not
13512 # typical AIX shared libraries.
13513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 # We preserve .a as extension for shared libraries through AIX4.2
13516 # and later when we are not doing run time linking.
13517 library_names_spec
='${libname}${release}.a $libname.a'
13518 soname_spec
='${libname}${release}${shared_ext}$major'
13520 shlibpath_var
=LIBPATH
13527 # Since July 2007 AmigaOS4 officially supports .so libraries.
13528 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 library_names_spec
='$libname.ixlibrary $libname.a'
13533 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13534 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'
13540 library_names_spec
='${libname}${shared_ext}'
13541 dynamic_linker
="$host_os ld.so"
13542 shlibpath_var
=LIBRARY_PATH
13548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13549 soname_spec
='${libname}${release}${shared_ext}$major'
13550 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13551 shlibpath_var
=LD_LIBRARY_PATH
13552 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13553 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13554 # the default ld.so.conf also contains /usr/contrib/lib and
13555 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13556 # libtool to hard-code these into programs
13559 cygwin
* | mingw
* | pw32
* | cegcc
*)
13560 version_type
=windows
13565 case $GCC,$host_os in
13566 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13567 library_names_spec
='$libname.dll.a'
13568 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13569 postinstall_cmds
='base_file=`basename \${file}`~
13570 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13571 dldir=$destdir/`dirname \$dlpath`~
13572 test -d \$dldir || mkdir -p \$dldir~
13573 $install_prog $dir/$dlname \$dldir/$dlname~
13574 chmod a+x \$dldir/$dlname~
13575 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13576 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13578 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13579 dlpath=$dir/\$dldll~
13581 shlibpath_overrides_runpath
=yes
13585 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13586 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13587 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13590 # MinGW DLLs use traditional 'lib' prefix
13591 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13592 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13593 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13594 # It is most probably a Windows format PATH printed by
13595 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13596 # path with ; separators, and with drive letters. We can handle the
13597 # drive letters (cygwin fileutils understands them), so leave them,
13598 # especially as we might pass files found there to a mingw objdump,
13599 # which wouldn't understand a cygwinified path. Ahh.
13600 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13602 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13606 # pw32 DLLs use 'pw' prefix rather than 'lib'
13607 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13613 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13616 dynamic_linker
='Win32 ld.exe'
13617 # FIXME: first we should search . and the directory the executable is in
13621 darwin
* | rhapsody
*)
13622 dynamic_linker
="$host_os dyld"
13623 version_type
=darwin
13626 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13627 soname_spec
='${libname}${release}${major}$shared_ext'
13628 shlibpath_overrides_runpath
=yes
13629 shlibpath_var
=DYLD_LIBRARY_PATH
13630 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13632 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13639 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13640 soname_spec
='${libname}${release}${shared_ext}$major'
13641 shlibpath_var
=LD_LIBRARY_PATH
13648 freebsd
* | dragonfly
*)
13649 # DragonFly does not have aout. When/if they implement a new
13650 # versioning mechanism, adjust this.
13651 if test -x /usr
/bin
/objformat
; then
13652 objformat
=`/usr/bin/objformat`
13655 freebsd
[123]*) objformat
=aout
;;
13656 *) objformat
=elf
;;
13659 version_type
=freebsd
-$objformat
13660 case $version_type in
13662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13667 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13671 shlibpath_var
=LD_LIBRARY_PATH
13674 shlibpath_overrides_runpath
=yes
13676 freebsd3.
[01]* | freebsdelf3.
[01]*)
13677 shlibpath_overrides_runpath
=yes
13678 hardcode_into_libs
=yes
13680 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13681 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13682 shlibpath_overrides_runpath
=no
13683 hardcode_into_libs
=yes
13685 *) # from 4.6 on, and DragonFly
13686 shlibpath_overrides_runpath
=yes
13687 hardcode_into_libs
=yes
13696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13697 soname_spec
='${libname}${release}${shared_ext}$major'
13698 shlibpath_var
=LD_LIBRARY_PATH
13699 hardcode_into_libs
=yes
13702 hpux9
* | hpux10
* | hpux11
*)
13703 # Give a soname corresponding to the major version so that dld.sl refuses to
13704 # link against other versions.
13711 hardcode_into_libs
=yes
13712 dynamic_linker
="$host_os dld.so"
13713 shlibpath_var
=LD_LIBRARY_PATH
13714 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13716 soname_spec
='${libname}${release}${shared_ext}$major'
13717 if test "X$HPUX_IA64_MODE" = X32
; then
13718 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13720 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13722 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13726 hardcode_into_libs
=yes
13727 dynamic_linker
="$host_os dld.sl"
13728 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13729 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13730 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13731 soname_spec
='${libname}${release}${shared_ext}$major'
13732 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13733 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13737 dynamic_linker
="$host_os dld.sl"
13738 shlibpath_var
=SHLIB_PATH
13739 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
13744 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13745 postinstall_cmds
='chmod 555 $lib'
13752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13753 soname_spec
='${libname}${release}${shared_ext}$major'
13754 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13755 shlibpath_var
=LD_LIBRARY_PATH
13756 shlibpath_overrides_runpath
=no
13757 hardcode_into_libs
=yes
13760 irix5
* | irix6
* | nonstopux
*)
13762 nonstopux
*) version_type
=nonstopux
;;
13764 if test "$lt_cv_prog_gnu_ld" = yes; then
13772 soname_spec
='${libname}${release}${shared_ext}$major'
13773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13775 irix5
* | nonstopux
*)
13776 libsuff
= shlibsuff
=
13779 case $LD in # libtool.m4 will add one of these switches to LD
13780 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13781 libsuff
= shlibsuff
= libmagic
=32-bit;;
13782 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13783 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13784 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13785 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13786 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13790 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13791 shlibpath_overrides_runpath
=no
13792 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13793 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13794 hardcode_into_libs
=yes
13797 # No shared lib support for Linux oldld, aout, or coff.
13798 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13802 # This must be Linux ELF.
13803 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13807 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13808 soname_spec
='${libname}${release}${shared_ext}$major'
13809 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13810 shlibpath_var
=LD_LIBRARY_PATH
13811 shlibpath_overrides_runpath
=no
13812 # Some binutils ld are patched to set DT_RUNPATH
13813 save_LDFLAGS
=$LDFLAGS
13814 save_libdir
=$libdir
13815 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13816 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13828 if ac_fn_cxx_try_link
"$LINENO"; then :
13829 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13830 shlibpath_overrides_runpath
=yes
13833 rm -f core conftest.err conftest.
$ac_objext \
13834 conftest
$ac_exeext conftest.
$ac_ext
13835 LDFLAGS
=$save_LDFLAGS
13836 libdir
=$save_libdir
13838 # This implies no fast_install, which is unacceptable.
13839 # Some rework will be needed to allow for fast_install
13840 # before this can be enabled.
13841 hardcode_into_libs
=yes
13843 # Append ld.so.conf contents to the search path
13844 if test -f /etc
/ld.so.conf
; then
13845 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' ' '`
13846 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13849 # We used to test for /lib/ld.so.1 and disable shared libraries on
13850 # powerpc, because MkLinux only supported shared libraries with the
13851 # GNU dynamic linker. Since this was broken with cross compilers,
13852 # most powerpc-linux boxes support dynamic linking these days and
13853 # people can always --disable-shared, the test was removed, and we
13854 # assume the GNU/Linux dynamic linker is in use.
13855 dynamic_linker
='GNU/Linux ld.so'
13862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13863 soname_spec
='${libname}${release}${shared_ext}$major'
13864 shlibpath_var
=LD_LIBRARY_PATH
13865 shlibpath_overrides_runpath
=no
13866 hardcode_into_libs
=yes
13867 dynamic_linker
='NetBSD ld.elf_so'
13874 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13876 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13877 dynamic_linker
='NetBSD (a.out) ld.so'
13879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13880 soname_spec
='${libname}${release}${shared_ext}$major'
13881 dynamic_linker
='NetBSD ld.elf_so'
13883 shlibpath_var
=LD_LIBRARY_PATH
13884 shlibpath_overrides_runpath
=yes
13885 hardcode_into_libs
=yes
13890 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13891 shlibpath_var
=LD_LIBRARY_PATH
13892 shlibpath_overrides_runpath
=yes
13899 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13900 soname_spec
='${libname}${release}${shared_ext}$major'
13901 shlibpath_var
=LD_LIBRARY_PATH
13902 shlibpath_overrides_runpath
=no
13903 hardcode_into_libs
=yes
13904 dynamic_linker
='ldqnx.so'
13909 sys_lib_dlsearch_path_spec
="/usr/lib"
13911 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13913 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13914 *) need_version
=no
;;
13916 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13917 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13918 shlibpath_var
=LD_LIBRARY_PATH
13919 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13921 openbsd2.
[89] | openbsd2.
[89].
*)
13922 shlibpath_overrides_runpath
=no
13925 shlibpath_overrides_runpath
=yes
13929 shlibpath_overrides_runpath
=yes
13934 libname_spec
='$name'
13937 library_names_spec
='$libname${shared_ext} $libname.a'
13938 dynamic_linker
='OS/2 ld.exe'
13939 shlibpath_var
=LIBPATH
13942 osf3
* | osf4
* | osf5
*)
13946 soname_spec
='${libname}${release}${shared_ext}$major'
13947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13948 shlibpath_var
=LD_LIBRARY_PATH
13949 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13950 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13962 soname_spec
='${libname}${release}${shared_ext}$major'
13963 shlibpath_var
=LD_LIBRARY_PATH
13964 shlibpath_overrides_runpath
=yes
13965 hardcode_into_libs
=yes
13966 # ldd complains unless libraries are executable
13967 postinstall_cmds
='chmod +x $lib'
13972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13973 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13974 shlibpath_var
=LD_LIBRARY_PATH
13975 shlibpath_overrides_runpath
=yes
13976 if test "$with_gnu_ld" = yes; then
13984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13985 soname_spec
='${libname}${release}${shared_ext}$major'
13986 shlibpath_var
=LD_LIBRARY_PATH
13987 case $host_vendor in
13989 shlibpath_overrides_runpath
=no
13991 runpath_var
=LD_RUN_PATH
13999 shlibpath_overrides_runpath
=no
14000 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14006 if test -d /usr
/nec
;then
14008 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14009 soname_spec
='$libname${shared_ext}.$major'
14010 shlibpath_var
=LD_LIBRARY_PATH
14014 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14015 version_type
=freebsd
-elf
14018 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14019 soname_spec
='${libname}${release}${shared_ext}$major'
14020 shlibpath_var
=LD_LIBRARY_PATH
14021 shlibpath_overrides_runpath
=yes
14022 hardcode_into_libs
=yes
14023 if test "$with_gnu_ld" = yes; then
14024 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14026 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14029 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14033 sys_lib_dlsearch_path_spec
='/usr/lib'
14037 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14042 shlibpath_var
=LD_LIBRARY_PATH
14043 shlibpath_overrides_runpath
=no
14044 hardcode_into_libs
=yes
14049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14050 soname_spec
='${libname}${release}${shared_ext}$major'
14051 shlibpath_var
=LD_LIBRARY_PATH
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14059 $as_echo "$dynamic_linker" >&6; }
14060 test "$dynamic_linker" = no
&& can_build_shared
=no
14062 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14063 if test "$GCC" = yes; then
14064 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14067 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14068 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14070 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14071 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14110 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14111 hardcode_action_CXX
=
14112 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14113 test -n "$runpath_var_CXX" ||
14114 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14116 # We can hardcode non-existent directories.
14117 if test "$hardcode_direct_CXX" != no
&&
14118 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14119 # have to relink, otherwise we might link with an installed library
14120 # when we should be linking with a yet-to-be-installed one
14121 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14122 test "$hardcode_minus_L_CXX" != no
; then
14123 # Linking always hardcodes the temporary library directory.
14124 hardcode_action_CXX
=relink
14126 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14127 hardcode_action_CXX
=immediate
14130 # We cannot hardcode anything, or else we can only hardcode existing
14132 hardcode_action_CXX
=unsupported
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14135 $as_echo "$hardcode_action_CXX" >&6; }
14137 if test "$hardcode_action_CXX" = relink
||
14138 test "$inherit_rpath_CXX" = yes; then
14139 # Fast installation is not supported
14140 enable_fast_install
=no
14141 elif test "$shlibpath_overrides_runpath" = yes ||
14142 test "$enable_shared" = no
; then
14143 # Fast installation is not necessary
14144 enable_fast_install
=needless
14153 fi # test -n "$compiler"
14159 with_gnu_ld
=$lt_save_with_gnu_ld
14160 lt_cv_path_LDCXX
=$lt_cv_path_LD
14161 lt_cv_path_LD
=$lt_save_path_LD
14162 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14163 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14164 fi # test "$_lt_caught_CXX_error" != yes
14167 ac_cpp
='$CPP $CPPFLAGS'
14168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14174 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14175 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14176 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14177 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14178 if test -n "$ac_tool_prefix"; then
14179 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14182 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14184 $as_echo_n "checking for $ac_word... " >&6; }
14185 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
14186 $as_echo_n "(cached) " >&6
14188 if test -n "$OBJCXX"; then
14189 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14192 for as_dir
in $PATH
14195 test -z "$as_dir" && as_dir
=.
14196 for ac_exec_ext
in '' $ac_executable_extensions; do
14197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14198 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14208 OBJCXX
=$ac_cv_prog_OBJCXX
14209 if test -n "$OBJCXX"; then
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14211 $as_echo "$OBJCXX" >&6; }
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14214 $as_echo "no" >&6; }
14218 test -n "$OBJCXX" && break
14221 if test -z "$OBJCXX"; then
14222 ac_ct_OBJCXX
=$OBJCXX
14223 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14225 # Extract the first word of "$ac_prog", so it can be a program name with args.
14226 set dummy
$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_ac_ct_OBJCXX+set}" = set; then :
14230 $as_echo_n "(cached) " >&6
14232 if test -n "$ac_ct_OBJCXX"; then
14233 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_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_ac_ct_OBJCXX
="$ac_prog"
14243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14252 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
14253 if test -n "$ac_ct_OBJCXX"; then
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
14255 $as_echo "$ac_ct_OBJCXX" >&6; }
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14258 $as_echo "no" >&6; }
14262 test -n "$ac_ct_OBJCXX" && break
14265 if test "x$ac_ct_OBJCXX" = x
; then
14268 case $cross_compiling:$ac_tool_warned in
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14272 ac_tool_warned
=yes ;;
14274 OBJCXX
=$ac_ct_OBJCXX
14278 # Provide some information about the compiler.
14279 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
14282 for ac_option
in --version -v -V -qversion; do
14283 { { ac_try
="$ac_compiler $ac_option >&5"
14284 case "(($ac_try" in
14285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14289 $as_echo "$ac_try_echo"; } >&5
14290 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14292 if test -s conftest.err; then
14294 ... rest of stderr output deleted ...
14295 10q' conftest.err >conftest.er1
14296 cat conftest.er1 >&5
14298 rm -f conftest.er1 conftest.err
14299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14300 test $ac_status = 0; }
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
14304 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
14305 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
14306 $as_echo_n "(cached) " >&6
14308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14322 if ac_fn_objcxx_try_compile "$LINENO"; then :
14323 ac_compiler_gnu=yes
14327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14328 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
14332 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
14333 if test $ac_compiler_gnu = yes; then
14338 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
14339 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
14341 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
14342 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
14343 $as_echo_n "(cached) " >&6
14345 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
14346 ac_objcxx_werror_flag=yes
14347 ac_cv_prog_objcxx_g=no
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14360 if ac_fn_objcxx_try_compile "$LINENO"; then :
14361 ac_cv_prog_objcxx_g=yes
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14375 if ac_fn_objcxx_try_compile "$LINENO"; then :
14378 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14391 if ac_fn_objcxx_try_compile "$LINENO"; then :
14392 ac_cv_prog_objcxx_g=yes
14394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14399 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
14402 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
14403 if test "$ac_test_OBJCXXFLAGS" = set; then
14404 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
14405 elif test $ac_cv_prog_objcxx_g = yes; then
14406 if test "$GOBJCXX" = yes; then
14407 OBJCXXFLAGS="-g -O2"
14412 if test "$GOBJCXX" = yes; then
14419 ac_cpp='$CPP $CPPFLAGS'
14420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14425 # Check whether --with-frameworks was given.
14426 if test "${with_frameworks+set}" = set; then :
14427 withval=$with_frameworks;
14428 for framework in $withval; do
14430 for element in -F$framework; do
14432 for x in $CFLAGS; do
14434 acl_save_prefix="$prefix"
14435 prefix="$acl_final_prefix"
14436 acl_save_exec_prefix="$exec_prefix"
14437 exec_prefix="$acl_final_exec_prefix"
14439 exec_prefix="$acl_save_exec_prefix"
14440 prefix="$acl_save_prefix"
14442 if test "X$x" = "X$element"; then
14447 if test -z "$haveit"; then
14448 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14453 for element in -F$framework; do
14455 for x in $CXXFLAGS; do
14457 acl_save_prefix="$prefix"
14458 prefix="$acl_final_prefix"
14459 acl_save_exec_prefix="$exec_prefix"
14460 exec_prefix="$acl_final_exec_prefix"
14462 exec_prefix="$acl_save_exec_prefix"
14463 prefix="$acl_save_prefix"
14465 if test "X$x" = "X$element"; then
14470 if test -z "$haveit"; then
14471 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14476 for element in -F$framework; do
14478 for x in $OBJCCXXFLAGS; do
14480 acl_save_prefix="$prefix"
14481 prefix="$acl_final_prefix"
14482 acl_save_exec_prefix="$exec_prefix"
14483 exec_prefix="$acl_final_exec_prefix"
14485 exec_prefix="$acl_save_exec_prefix"
14486 prefix="$acl_save_prefix"
14488 if test "X$x" = "X$element"; then
14493 if test -z "$haveit"; then
14494 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14503 ac_cpp='$CXXCPP $CPPFLAGS'
14504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14511 if test "$target_os" = "os2-emx"; then
14512 # Scripts don't pass test -x on OS/2
14518 acceptable_majors="1"
14520 apr_temp_acceptable_apr_config=""
14521 for apr_temp_major in $acceptable_majors
14523 case $apr_temp_major in
14525 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14528 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14534 $as_echo_n "checking for APR... " >&6; }
14536 # Check whether --with-apr was given.
14537 if test "${with_apr+set}" = set; then :
14539 if test "$withval" = "no" || test "$withval" = "yes"; then
14540 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14543 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14545 for lookdir in "$withval/bin" "$withval"
14547 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14548 apr_config="$lookdir/$apr_temp_apr_config_file"
14556 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14557 apr_config="$withval"
14561 if test "$apr_found" != "yes"; then
14562 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
14567 if test -n "1" && test "1" = "1"; then
14568 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14570 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14571 apr_config="$apr_temp_apr_config_file"
14576 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14577 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14578 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14587 if test "$apr_found" = "no" && test -d ""; then
14588 apr_temp_abs_srcdir="`cd && pwd`"
14589 apr_found="reconfig"
14590 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14591 case $apr_bundled_major in
14593 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14596 apr_temp_apr_config_file="apr-config"
14599 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14602 if test -n ""; then
14603 apr_config="/$apr_temp_apr_config_file"
14605 apr_config="/$apr_temp_apr_config_file"
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14613 $as_echo "$apr_found" >&6; }
14615 case $apr_found in #(
14619 for element in `$apr_config --includes`; do
14621 for x in $CPPFLAGS; do
14623 acl_save_prefix="$prefix"
14624 prefix="$acl_final_prefix"
14625 acl_save_exec_prefix="$exec_prefix"
14626 exec_prefix="$acl_final_exec_prefix"
14628 exec_prefix="$acl_save_exec_prefix"
14629 prefix="$acl_save_prefix"
14631 if test "X$x" = "X$element"; then
14636 if test -z "$haveit"; then
14637 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14641 LTLIBAPR=`$apr_config --link-libtool`
14645 as_fn_error "You need apr" "$LINENO" 5 ;;
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
14650 $as_echo_n "checking for a readline compatible library... " >&6; }
14651 if test "${vl_cv_lib_readline+set}" = set; then :
14652 $as_echo_n "(cached) " >&6
14656 for readline_lib in readline edit editline; do
14657 for termcap_lib in "" termcap curses ncurses; do
14658 if test -z "$termcap_lib"; then
14659 TRY_LIB="-l$readline_lib"
14661 TRY_LIB="-l$readline_lib -l$termcap_lib"
14663 LIBS="$ORIG_LIBS $TRY_LIB"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14677 return readline ();
14682 if ac_fn_cxx_try_link "$LINENO"; then :
14683 vl_cv_lib_readline="$TRY_LIB"
14685 rm -f core conftest.err conftest.$ac_objext \
14686 conftest$ac_exeext conftest.$ac_ext
14687 if test -n "$vl_cv_lib_readline"; then
14691 if test -n "$vl_cv_lib_readline"; then
14695 if test -z "$vl_cv_lib_readline"; then
14696 vl_cv_lib_readline="no"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
14702 $as_echo "$vl_cv_lib_readline" >&6; }
14704 if test "$vl_cv_lib_readline" != "no"; then
14706 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
14708 for ac_header in readline.h readline/readline.h
14710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14711 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14712 eval as_val=\$$as_ac_Header
14713 if test "x$as_val" = x""yes; then :
14714 cat >>confdefs.h <<_ACEOF
14715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
14723 $as_echo_n "checking whether readline supports history... " >&6; }
14724 if test "${vl_cv_lib_readline_history+set}" = set; then :
14725 $as_echo_n "(cached) " >&6
14728 vl_cv_lib_readline_history="no"
14729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14730 /* end confdefs.h. */
14732 /* Override any GCC internal prototype to avoid an error.
14733 Use char because int might match the return type of a GCC
14734 builtin and then its argument prototype would still apply. */
14738 char add_history ();
14742 return add_history ();
14747 if ac_fn_cxx_try_link "$LINENO"; then :
14748 vl_cv_lib_readline_history="yes"
14750 rm -f core conftest.err conftest.$ac_objext \
14751 conftest$ac_exeext conftest.$ac_ext
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
14755 $as_echo "$vl_cv_lib_readline_history" >&6; }
14756 if test "$vl_cv_lib_readline_history" = "yes"; then
14758 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
14760 for ac_header in history.h readline/history.h
14762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14763 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14764 eval as_val=\$$as_ac_Header
14765 if test "x$as_val" = x""yes; then :
14766 cat >>confdefs.h <<_ACEOF
14767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14778 ac_cpp='$CPP $CPPFLAGS'
14779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14784 if test "X$prefix" = "XNONE"; then
14785 acl_final_prefix="$ac_default_prefix"
14787 acl_final_prefix="$prefix"
14789 if test "X$exec_prefix" = "XNONE"; then
14790 acl_final_exec_prefix='${prefix}'
14792 acl_final_exec_prefix="$exec_prefix"
14794 acl_save_prefix="$prefix"
14795 prefix="$acl_final_prefix"
14796 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14797 prefix="$acl_save_prefix"
14800 # Check whether --with-gnu-ld was given.
14801 if test "${with_gnu_ld+set}" = set; then :
14802 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14807 # Prepare PATH_SEPARATOR.
14808 # The user is always right.
14809 if test "${PATH_SEPARATOR+set}" != set; then
14810 echo "#! /bin/sh" >conf$$.sh
14811 echo "exit 0" >>conf$$.sh
14813 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14821 if test "$GCC" = yes; then
14822 # Check if gcc -print-prog-name=ld gives a path.
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14824 $as_echo_n "checking for ld used by GCC... " >&6; }
14827 # gcc leaves a trailing carriage return which upsets mingw
14828 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
14830 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
14833 # Accept absolute paths.
14834 [\\/]* | [A-Za-z]:[\\/]*)
14835 re_direlt='/[^/][^/]*/\.\./'
14836 # Canonicalize the path of ld
14837 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14838 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14839 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14841 test -z "$LD" && LD="$ac_prog"
14844 # If it fails, then pretend we aren't using GCC.
14848 # If it is relative, then search for the first ld in PATH.
14849 with_gnu_ld=unknown
14852 elif test "$with_gnu_ld" = yes; then
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14854 $as_echo_n "checking for GNU ld... " >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14857 $as_echo_n "checking for non-GNU ld... " >&6; }
14859 if test "${acl_cv_path_LD+set}" = set; then :
14860 $as_echo_n "(cached) " >&6
14862 if test -z "$LD"; then
14863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14864 for ac_dir in $PATH; do
14865 test -z "$ac_dir" && ac_dir=.
14866 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14867 acl_cv_path_LD="$ac_dir/$ac_prog"
14868 # Check to see if the program is GNU ld. I'd rather use --version,
14869 # but apparently some GNU ld's only accept -v.
14870 # Break only if it was the GNU/non-GNU ld that we prefer.
14871 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
14872 *GNU* | *'with BFD'*)
14873 test "$with_gnu_ld" != no && break ;;
14875 test "$with_gnu_ld" != yes && break ;;
14881 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14885 LD="$acl_cv_path_LD"
14886 if test -n "$LD"; then
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14888 $as_echo "$LD" >&6; }
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14891 $as_echo "no" >&6; }
14893 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14895 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14896 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
14897 $as_echo_n "(cached) " >&6
14899 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14900 case `$LD -v 2>&1 </dev
/null
` in
14901 *GNU* | *'with BFD'*)
14902 acl_cv_prog_gnu_ld=yes ;;
14904 acl_cv_prog_gnu_ld=no ;;
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14908 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14909 with_gnu_ld=$acl_cv_prog_gnu_ld
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14915 $as_echo_n "checking for shared library run path origin... " >&6; }
14916 if test "${acl_cv_rpath+set}" = set; then :
14917 $as_echo_n "(cached) " >&6
14920 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14921 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14923 rm -f ./conftest.sh
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14928 $as_echo "$acl_cv_rpath" >&6; }
14930 acl_libext="$acl_cv_libext"
14931 acl_shlibext="$acl_cv_shlibext"
14932 acl_libname_spec="$acl_cv_libname_spec"
14933 acl_library_names_spec="$acl_cv_library_names_spec"
14934 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14935 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14936 acl_hardcode_direct="$acl_cv_hardcode_direct"
14937 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14938 # Check whether --enable-rpath was given.
14939 if test "${enable_rpath+set}" = set; then :
14940 enableval=$enable_rpath; :
14948 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14949 if test -n "$searchpath"; then
14950 acl_save_IFS="${IFS= }"; IFS=":"
14951 for searchdir in $searchpath; do
14952 if test -d "$searchdir"; then
14953 case "$searchdir" in
14954 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14955 *) searchdir=`cd "$searchdir" && pwd`
14956 case "$searchdir" in
14957 */lib64 ) acl_libdirstem=lib64 ;;
14962 IFS="$acl_save_IFS"
14975 acl_save_prefix="$prefix"
14976 prefix="$acl_final_prefix"
14977 acl_save_exec_prefix="$exec_prefix"
14978 exec_prefix="$acl_final_exec_prefix"
14980 eval additional_includedir=\"$includedir\"
14981 eval additional_libdir=\"$libdir\"
14983 exec_prefix="$acl_save_exec_prefix"
14984 prefix="$acl_save_prefix"
14987 # Check whether --with-libiconv-prefix was given.
14988 if test "${with_libiconv_prefix+set}" = set; then :
14989 withval=$with_libiconv_prefix;
14990 if test "X$withval" = "Xno"; then
14993 if test "X$withval" = "X"; then
14995 acl_save_prefix="$prefix"
14996 prefix="$acl_final_prefix"
14997 acl_save_exec_prefix="$exec_prefix"
14998 exec_prefix="$acl_final_exec_prefix"
15000 eval additional_includedir=\"$includedir\"
15001 eval additional_libdir=\"$libdir\"
15003 exec_prefix="$acl_save_exec_prefix"
15004 prefix="$acl_save_prefix"
15007 additional_includedir="$withval/include"
15008 additional_libdir="$withval/$acl_libdirstem"
15020 names_already_handled=
15021 names_next_round='iconv '
15022 while test -n "$names_next_round"; do
15023 names_this_round="$names_next_round"
15025 for name in $names_this_round; do
15027 for n in $names_already_handled; do
15028 if test "$n" = "$name"; then
15029 already_handled=yes
15033 if test -z "$already_handled"; then
15034 names_already_handled="$names_already_handled $name"
15035 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15036 eval value=\"\$HAVE_LIB$uppername\"
15037 if test -n "$value"; then
15038 if test "$value" = yes; then
15039 eval value=\"\$LIB$uppername\"
15040 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
15041 eval value=\"\$LTLIB$uppername\"
15042 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
15051 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15052 if test -n "$acl_shlibext"; then
15053 shrext=".$acl_shlibext" # typically: shrext=.so
15057 if test $use_additional = yes; then
15058 dir="$additional_libdir"
15059 if test -n "$acl_shlibext"; then
15060 if test -f "$dir/$libname$shrext"; then
15062 found_so="$dir/$libname$shrext"
15064 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15065 ver=`(cd "$dir" && \
15066 for f
in "$libname$shrext".
*; do echo "$f"; done \
15067 | sed -e "s,^$libname$shrext\\\\.,," \
15068 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15069 | sed 1q
) 2>/dev
/null
`
15070 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15072 found_so="$dir/$libname$shrext.$ver"
15075 eval library_names=\"$acl_library_names_spec\"
15076 for f in $library_names; do
15077 if test -f "$dir/$f"; then
15086 if test "X$found_dir" = "X"; then
15087 if test -f "$dir/$libname.$acl_libext"; then
15089 found_a="$dir/$libname.$acl_libext"
15092 if test "X$found_dir" != "X"; then
15093 if test -f "$dir/$libname.la"; then
15094 found_la="$dir/$libname.la"
15098 if test "X$found_dir" = "X"; then
15099 for x in $LDFLAGS $LTLIBICONV; do
15101 acl_save_prefix="$prefix"
15102 prefix="$acl_final_prefix"
15103 acl_save_exec_prefix="$exec_prefix"
15104 exec_prefix="$acl_final_exec_prefix"
15106 exec_prefix="$acl_save_exec_prefix"
15107 prefix="$acl_save_prefix"
15111 dir=`echo "X$x" | sed -e 's/^X-L//'`
15112 if test -n "$acl_shlibext"; then
15113 if test -f "$dir/$libname$shrext"; then
15115 found_so="$dir/$libname$shrext"
15117 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15118 ver=`(cd "$dir" && \
15119 for f
in "$libname$shrext".
*; do echo "$f"; done \
15120 | sed -e "s,^$libname$shrext\\\\.,," \
15121 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15122 | sed 1q
) 2>/dev
/null
`
15123 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15125 found_so="$dir/$libname$shrext.$ver"
15128 eval library_names=\"$acl_library_names_spec\"
15129 for f in $library_names; do
15130 if test -f "$dir/$f"; then
15139 if test "X$found_dir" = "X"; then
15140 if test -f "$dir/$libname.$acl_libext"; then
15142 found_a="$dir/$libname.$acl_libext"
15145 if test "X$found_dir" != "X"; then
15146 if test -f "$dir/$libname.la"; then
15147 found_la="$dir/$libname.la"
15152 if test "X$found_dir" != "X"; then
15157 if test "X$found_dir" != "X"; then
15158 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15159 if test "X$found_so" != "X"; then
15160 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15161 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15164 for x in $ltrpathdirs; do
15165 if test "X$x" = "X$found_dir"; then
15170 if test -z "$haveit"; then
15171 ltrpathdirs="$ltrpathdirs $found_dir"
15173 if test "$acl_hardcode_direct" = yes; then
15174 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15176 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15177 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15179 for x in $rpathdirs; do
15180 if test "X$x" = "X$found_dir"; then
15185 if test -z "$haveit"; then
15186 rpathdirs="$rpathdirs $found_dir"
15190 for x in $LDFLAGS $LIBICONV; do
15192 acl_save_prefix="$prefix"
15193 prefix="$acl_final_prefix"
15194 acl_save_exec_prefix="$exec_prefix"
15195 exec_prefix="$acl_final_exec_prefix"
15197 exec_prefix="$acl_save_exec_prefix"
15198 prefix="$acl_save_prefix"
15200 if test "X$x" = "X-L$found_dir"; then
15205 if test -z "$haveit"; then
15206 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15208 if test "$acl_hardcode_minus_L" != no; then
15209 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15211 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15217 if test "X$found_a" != "X"; then
15218 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15220 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15223 additional_includedir=
15224 case "$found_dir" in
15225 */$acl_libdirstem | */$acl_libdirstem/)
15226 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15227 LIBICONV_PREFIX="$basedir"
15228 additional_includedir="$basedir/include"
15231 if test "X$additional_includedir" != "X"; then
15232 if test "X$additional_includedir" != "X/usr/include"; then
15234 if test "X$additional_includedir" = "X/usr/local/include"; then
15235 if test -n "$GCC"; then
15237 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15241 if test -z "$haveit"; then
15242 for x in $CPPFLAGS $INCICONV; do
15244 acl_save_prefix="$prefix"
15245 prefix="$acl_final_prefix"
15246 acl_save_exec_prefix="$exec_prefix"
15247 exec_prefix="$acl_final_exec_prefix"
15249 exec_prefix="$acl_save_exec_prefix"
15250 prefix="$acl_save_prefix"
15252 if test "X$x" = "X-I$additional_includedir"; then
15257 if test -z "$haveit"; then
15258 if test -d "$additional_includedir"; then
15259 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15265 if test -n "$found_la"; then
15266 save_libdir="$libdir"
15267 case "$found_la" in
15268 */* | *\\*) . "$found_la" ;;
15269 *) . "./$found_la" ;;
15271 libdir="$save_libdir"
15272 for dep in $dependency_libs; do
15275 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15276 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15278 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15279 if test -n "$GCC"; then
15281 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15285 if test -z "$haveit"; then
15287 for x in $LDFLAGS $LIBICONV; do
15289 acl_save_prefix="$prefix"
15290 prefix="$acl_final_prefix"
15291 acl_save_exec_prefix="$exec_prefix"
15292 exec_prefix="$acl_final_exec_prefix"
15294 exec_prefix="$acl_save_exec_prefix"
15295 prefix="$acl_save_prefix"
15297 if test "X$x" = "X-L$additional_libdir"; then
15302 if test -z "$haveit"; then
15303 if test -d "$additional_libdir"; then
15304 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15308 for x in $LDFLAGS $LTLIBICONV; do
15310 acl_save_prefix="$prefix"
15311 prefix="$acl_final_prefix"
15312 acl_save_exec_prefix="$exec_prefix"
15313 exec_prefix="$acl_final_exec_prefix"
15315 exec_prefix="$acl_save_exec_prefix"
15316 prefix="$acl_save_prefix"
15318 if test "X$x" = "X-L$additional_libdir"; then
15323 if test -z "$haveit"; then
15324 if test -d "$additional_libdir"; then
15325 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15332 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15333 if test "$enable_rpath" != no; then
15335 for x in $rpathdirs; do
15336 if test "X$x" = "X$dir"; then
15341 if test -z "$haveit"; then
15342 rpathdirs="$rpathdirs $dir"
15345 for x in $ltrpathdirs; do
15346 if test "X$x" = "X$dir"; then
15351 if test -z "$haveit"; then
15352 ltrpathdirs="$ltrpathdirs $dir"
15357 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15360 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15363 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15364 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15370 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15371 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15377 if test "X$rpathdirs" != "X"; then
15378 if test -n "$acl_hardcode_libdir_separator"; then
15380 for found_dir in $rpathdirs; do
15381 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15383 acl_save_libdir="$libdir"
15385 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15386 libdir="$acl_save_libdir"
15387 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15389 for found_dir in $rpathdirs; do
15390 acl_save_libdir="$libdir"
15391 libdir="$found_dir"
15392 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15393 libdir="$acl_save_libdir"
15394 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15398 if test "X$ltrpathdirs" != "X"; then
15399 for found_dir in $ltrpathdirs; do
15400 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15410 am_save_CPPFLAGS="$CPPFLAGS"
15412 for element in $INCICONV; do
15414 for x in $CPPFLAGS; do
15416 acl_save_prefix="$prefix"
15417 prefix="$acl_final_prefix"
15418 acl_save_exec_prefix="$exec_prefix"
15419 exec_prefix="$acl_final_exec_prefix"
15421 exec_prefix="$acl_save_exec_prefix"
15422 prefix="$acl_save_prefix"
15424 if test "X$x" = "X$element"; then
15429 if test -z "$haveit"; then
15430 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15436 $as_echo_n "checking for iconv... " >&6; }
15437 if test "${am_cv_func_iconv+set}" = set; then :
15438 $as_echo_n "(cached) " >&6
15441 am_cv_func_iconv="no, consider installing GNU libiconv"
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15445 #include <stdlib.h>
15450 iconv_t cd = iconv_open("","");
15451 iconv(cd,NULL,NULL,NULL,NULL);
15457 if ac_fn_c_try_link "$LINENO"; then :
15458 am_cv_func_iconv=yes
15460 rm -f core conftest.err conftest.$ac_objext \
15461 conftest$ac_exeext conftest.$ac_ext
15462 if test "$am_cv_func_iconv" != yes; then
15463 am_save_LIBS="$LIBS"
15464 LIBS="$LIBS $LIBICONV"
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15467 #include <stdlib.h>
15472 iconv_t cd = iconv_open("","");
15473 iconv(cd,NULL,NULL,NULL,NULL);
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 am_cv_lib_iconv=yes
15481 am_cv_func_iconv=yes
15483 rm -f core conftest.err conftest.$ac_objext \
15484 conftest$ac_exeext conftest.$ac_ext
15485 LIBS="$am_save_LIBS"
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15490 $as_echo "$am_cv_func_iconv" >&6; }
15491 if test "$am_cv_func_iconv" = yes; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15493 $as_echo_n "checking for working iconv... " >&6; }
15494 if test "${am_cv_func_iconv_works+set}" = set; then :
15495 $as_echo_n "(cached) " >&6
15498 am_save_LIBS="$LIBS"
15499 if test $am_cv_lib_iconv = yes; then
15500 LIBS="$LIBS $LIBICONV"
15502 if test "$cross_compiling" = yes; then :
15504 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15505 *) am_cv_func_iconv_works="guessing yes" ;;
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15512 #include <string.h>
15515 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15518 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15519 if (cd_utf8_to_88591 != (iconv_t)(-1))
15521 static const char input[] = "\342\202\254"; /* EURO SIGN */
15523 const char *inptr = input;
15524 size_t inbytesleft = strlen (input);
15525 char *outptr = buf;
15526 size_t outbytesleft = sizeof (buf);
15527 size_t res = iconv (cd_utf8_to_88591,
15528 (char **) &inptr, &inbytesleft,
15529 &outptr, &outbytesleft);
15534 #if 0 /* This bug could be worked around by the caller. */
15535 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15537 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15538 if (cd_88591_to_utf8 != (iconv_t)(-1))
15540 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15542 const char *inptr = input;
15543 size_t inbytesleft = strlen (input);
15544 char *outptr = buf;
15545 size_t outbytesleft = sizeof (buf);
15546 size_t res = iconv (cd_88591_to_utf8,
15547 (char **) &inptr, &inbytesleft,
15548 &outptr, &outbytesleft);
15554 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15556 if (/* Try standardized names. */
15557 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15558 /* Try IRIX, OSF/1 names. */
15559 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15560 /* Try AIX names. */
15561 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15562 /* Try HP-UX names. */
15563 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15568 if ac_fn_c_try_run "$LINENO"; then :
15569 am_cv_func_iconv_works=yes
15571 am_cv_func_iconv_works=no
15573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15574 conftest.$ac_objext conftest.beam conftest.$ac_ext
15577 LIBS="$am_save_LIBS"
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15581 $as_echo "$am_cv_func_iconv_works" >&6; }
15582 case "$am_cv_func_iconv_works" in
15583 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15584 *) am_func_iconv=yes ;;
15587 am_func_iconv=no am_cv_lib_iconv=no
15589 if test "$am_func_iconv" = yes; then
15591 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15594 if test "$am_cv_lib_iconv" = yes; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15596 $as_echo_n "checking how to link with libiconv... " >&6; }
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15598 $as_echo "$LIBICONV" >&6; }
15600 CPPFLAGS="$am_save_CPPFLAGS"
15607 if test "$am_cv_func_iconv" = yes; then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15609 $as_echo_n "checking for iconv declaration... " >&6; }
15610 if test "${am_cv_proto_iconv+set}" = set; then :
15611 $as_echo_n "(cached) " >&6
15614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15615 /* end confdefs.h. */
15617 #include <stdlib.h>
15623 #if defined(__STDC__) || defined(__cplusplus)
15624 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15637 if ac_fn_c_try_compile "$LINENO"; then :
15638 am_cv_proto_iconv_arg1=""
15640 am_cv_proto_iconv_arg1="const"
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15643 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);"
15646 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
15648 }$am_cv_proto_iconv" >&5
15650 }$am_cv_proto_iconv" >&6; }
15652 cat >>confdefs.h <<_ACEOF
15653 #define ICONV_CONST $am_cv_proto_iconv_arg1
15659 ac_cpp='$CXXCPP $CPPFLAGS'
15660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15664 case $am_cv_func_iconv in #(
15668 as_fn_error "You need iconv" "$LINENO" 5 ;;
15672 # Check whether --enable-javascript was given.
15673 if test "${enable_javascript+set}" = set; then :
15674 enableval=$enable_javascript;
15675 case $enableval in #(
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15682 $as_echo_n "checking for WEBKIT... " >&6; }
15684 if test -n "$PKG_CONFIG"; then
15685 if test -n "$WEBKIT_CFLAGS"; then
15686 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15688 if test -n "$PKG_CONFIG" && \
15689 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15690 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15693 test $ac_status = 0; }; then
15694 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15702 if test -n "$PKG_CONFIG"; then
15703 if test -n "$WEBKIT_LIBS"; then
15704 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15706 if test -n "$PKG_CONFIG" && \
15707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15708 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15711 test $ac_status = 0; }; then
15712 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15723 if test $pkg_failed = yes; then
15725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15726 _pkg_short_errors_supported=yes
15728 _pkg_short_errors_supported=no
15730 if test $_pkg_short_errors_supported = yes; then
15731 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15733 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15735 # Put the nasty error message in config.log where it belongs
15736 echo "$WEBKIT_PKG_ERRORS" >&5
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15739 $as_echo "no" >&6; }
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15744 $as_echo_n "checking for WEBKIT... " >&6; }
15746 if test -n "$PKG_CONFIG"; then
15747 if test -n "$WEBKIT_CFLAGS"; then
15748 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15750 if test -n "$PKG_CONFIG" && \
15751 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15752 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15755 test $ac_status = 0; }; then
15756 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15764 if test -n "$PKG_CONFIG"; then
15765 if test -n "$WEBKIT_LIBS"; then
15766 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15768 if test -n "$PKG_CONFIG" && \
15769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15770 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15773 test $ac_status = 0; }; then
15774 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15785 if test $pkg_failed = yes; then
15787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15788 _pkg_short_errors_supported=yes
15790 _pkg_short_errors_supported=no
15792 if test $_pkg_short_errors_supported = yes; then
15793 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15795 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15797 # Put the nasty error message in config.log where it belongs
15798 echo "$WEBKIT_PKG_ERRORS" >&5
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15801 $as_echo "no" >&6; }
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15805 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15806 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15807 $as_echo_n "(cached) " >&6
15810 ac_check_framework_save_LIBS=$LIBS
15811 LIBS="-framework JavaScriptCore $LIBS"
15812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15815 #include <JavaScriptCore/JSBase.h>
15820 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15825 if ac_fn_cxx_try_link "$LINENO"; then :
15827 ac_cv_framework_JavaScriptCore=yes
15830 ac_cv_framework_JavaScriptCore=no
15832 rm -f core conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15834 LIBS=$ac_check_framework_save_LIBS
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15838 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15839 if test $ac_cv_framework_JavaScriptCore = yes; then :
15842 for element in "-framework JavaScriptCore $LIBS"; do
15846 acl_save_prefix="$prefix"
15847 prefix="$acl_final_prefix"
15848 acl_save_exec_prefix="$exec_prefix"
15849 exec_prefix="$acl_final_exec_prefix"
15851 exec_prefix="$acl_save_exec_prefix"
15852 prefix="$acl_save_prefix"
15854 if test "X$x" = "X$element"; then
15859 if test -z "$haveit"; then
15860 LIBS="${LIBS}${LIBS:+ }$element"
15868 elif test $pkg_failed = untried; then
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15872 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15873 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15874 $as_echo_n "(cached) " >&6
15877 ac_check_framework_save_LIBS=$LIBS
15878 LIBS="-framework JavaScriptCore $LIBS"
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15882 #include <JavaScriptCore/JSBase.h>
15887 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15892 if ac_fn_cxx_try_link "$LINENO"; then :
15894 ac_cv_framework_JavaScriptCore=yes
15897 ac_cv_framework_JavaScriptCore=no
15899 rm -f core conftest.err conftest.$ac_objext \
15900 conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_framework_save_LIBS
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15905 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15906 if test $ac_cv_framework_JavaScriptCore = yes; then :
15909 for element in "-framework JavaScriptCore $LIBS"; do
15913 acl_save_prefix="$prefix"
15914 prefix="$acl_final_prefix"
15915 acl_save_exec_prefix="$exec_prefix"
15916 exec_prefix="$acl_final_exec_prefix"
15918 exec_prefix="$acl_save_exec_prefix"
15919 prefix="$acl_save_prefix"
15921 if test "X$x" = "X$element"; then
15926 if test -z "$haveit"; then
15927 LIBS="${LIBS}${LIBS:+ }$element"
15936 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15937 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15939 $as_echo "yes" >&6; }
15943 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15945 for x in $CXXFLAGS; do
15947 acl_save_prefix="$prefix"
15948 prefix="$acl_final_prefix"
15949 acl_save_exec_prefix="$exec_prefix"
15950 exec_prefix="$acl_final_exec_prefix"
15952 exec_prefix="$acl_save_exec_prefix"
15953 prefix="$acl_save_prefix"
15955 if test "X$x" = "X$element"; then
15960 if test -z "$haveit"; then
15961 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15966 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15970 acl_save_prefix="$prefix"
15971 prefix="$acl_final_prefix"
15972 acl_save_exec_prefix="$exec_prefix"
15973 exec_prefix="$acl_final_exec_prefix"
15975 exec_prefix="$acl_save_exec_prefix"
15976 prefix="$acl_save_prefix"
15978 if test "X$x" = "X$element"; then
15983 if test -z "$haveit"; then
15984 LIBS="${LIBS}${LIBS:+ }$element"
15991 elif test $pkg_failed = untried; then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15996 $as_echo_n "checking for WEBKIT... " >&6; }
15998 if test -n "$PKG_CONFIG"; then
15999 if test -n "$WEBKIT_CFLAGS"; then
16000 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16002 if test -n "$PKG_CONFIG" && \
16003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16004 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16016 if test -n "$PKG_CONFIG"; then
16017 if test -n "$WEBKIT_LIBS"; then
16018 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16020 if test -n "$PKG_CONFIG" && \
16021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16022 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16025 test $ac_status = 0; }; then
16026 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16037 if test $pkg_failed = yes; then
16039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16040 _pkg_short_errors_supported=yes
16042 _pkg_short_errors_supported=no
16044 if test $_pkg_short_errors_supported = yes; then
16045 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16047 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16049 # Put the nasty error message in config.log where it belongs
16050 echo "$WEBKIT_PKG_ERRORS" >&5
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16053 $as_echo "no" >&6; }
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16057 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16058 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16059 $as_echo_n "(cached) " >&6
16062 ac_check_framework_save_LIBS=$LIBS
16063 LIBS="-framework JavaScriptCore $LIBS"
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16065 /* end confdefs.h. */
16067 #include <JavaScriptCore/JSBase.h>
16072 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16077 if ac_fn_cxx_try_link "$LINENO"; then :
16079 ac_cv_framework_JavaScriptCore=yes
16082 ac_cv_framework_JavaScriptCore=no
16084 rm -f core conftest.err conftest.$ac_objext \
16085 conftest$ac_exeext conftest.$ac_ext
16086 LIBS=$ac_check_framework_save_LIBS
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16090 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16091 if test $ac_cv_framework_JavaScriptCore = yes; then :
16094 for element in "-framework JavaScriptCore $LIBS"; do
16098 acl_save_prefix="$prefix"
16099 prefix="$acl_final_prefix"
16100 acl_save_exec_prefix="$exec_prefix"
16101 exec_prefix="$acl_final_exec_prefix"
16103 exec_prefix="$acl_save_exec_prefix"
16104 prefix="$acl_save_prefix"
16106 if test "X$x" = "X$element"; then
16111 if test -z "$haveit"; then
16112 LIBS="${LIBS}${LIBS:+ }$element"
16120 elif test $pkg_failed = untried; then
16123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16124 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16125 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16126 $as_echo_n "(cached) " >&6
16129 ac_check_framework_save_LIBS=$LIBS
16130 LIBS="-framework JavaScriptCore $LIBS"
16131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 /* end confdefs.h. */
16134 #include <JavaScriptCore/JSBase.h>
16139 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16144 if ac_fn_cxx_try_link "$LINENO"; then :
16146 ac_cv_framework_JavaScriptCore=yes
16149 ac_cv_framework_JavaScriptCore=no
16151 rm -f core conftest.err conftest.$ac_objext \
16152 conftest$ac_exeext conftest.$ac_ext
16153 LIBS=$ac_check_framework_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16157 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16158 if test $ac_cv_framework_JavaScriptCore = yes; then :
16161 for element in "-framework JavaScriptCore $LIBS"; do
16165 acl_save_prefix="$prefix"
16166 prefix="$acl_final_prefix"
16167 acl_save_exec_prefix="$exec_prefix"
16168 exec_prefix="$acl_final_exec_prefix"
16170 exec_prefix="$acl_save_exec_prefix"
16171 prefix="$acl_save_prefix"
16173 if test "X$x" = "X$element"; then
16178 if test -z "$haveit"; then
16179 LIBS="${LIBS}${LIBS:+ }$element"
16188 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16189 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16191 $as_echo "yes" >&6; }
16195 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16197 for x in $CXXFLAGS; do
16199 acl_save_prefix="$prefix"
16200 prefix="$acl_final_prefix"
16201 acl_save_exec_prefix="$exec_prefix"
16202 exec_prefix="$acl_final_exec_prefix"
16204 exec_prefix="$acl_save_exec_prefix"
16205 prefix="$acl_save_prefix"
16207 if test "X$x" = "X$element"; then
16212 if test -z "$haveit"; then
16213 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16218 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16222 acl_save_prefix="$prefix"
16223 prefix="$acl_final_prefix"
16224 acl_save_exec_prefix="$exec_prefix"
16225 exec_prefix="$acl_final_exec_prefix"
16227 exec_prefix="$acl_save_exec_prefix"
16228 prefix="$acl_save_prefix"
16230 if test "X$x" = "X$element"; then
16235 if test -z "$haveit"; then
16236 LIBS="${LIBS}${LIBS:+ }$element"
16244 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16245 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16247 $as_echo "yes" >&6; }
16251 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16253 for x in $CXXFLAGS; do
16255 acl_save_prefix="$prefix"
16256 prefix="$acl_final_prefix"
16257 acl_save_exec_prefix="$exec_prefix"
16258 exec_prefix="$acl_final_exec_prefix"
16260 exec_prefix="$acl_save_exec_prefix"
16261 prefix="$acl_save_prefix"
16263 if test "X$x" = "X$element"; then
16268 if test -z "$haveit"; then
16269 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16274 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16278 acl_save_prefix="$prefix"
16279 prefix="$acl_final_prefix"
16280 acl_save_exec_prefix="$exec_prefix"
16281 exec_prefix="$acl_final_exec_prefix"
16283 exec_prefix="$acl_save_exec_prefix"
16284 prefix="$acl_save_prefix"
16286 if test "X$x" = "X$element"; then
16291 if test -z "$haveit"; then
16292 LIBS="${LIBS}${LIBS:+ }$element"
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16311 $as_echo_n "checking for WEBKIT... " >&6; }
16313 if test -n "$PKG_CONFIG"; then
16314 if test -n "$WEBKIT_CFLAGS"; then
16315 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16317 if test -n "$PKG_CONFIG" && \
16318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16319 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16322 test $ac_status = 0; }; then
16323 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16331 if test -n "$PKG_CONFIG"; then
16332 if test -n "$WEBKIT_LIBS"; then
16333 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16335 if test -n "$PKG_CONFIG" && \
16336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16337 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16340 test $ac_status = 0; }; then
16341 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16352 if test $pkg_failed = yes; then
16354 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16355 _pkg_short_errors_supported=yes
16357 _pkg_short_errors_supported=no
16359 if test $_pkg_short_errors_supported = yes; then
16360 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16362 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16364 # Put the nasty error message in config.log where it belongs
16365 echo "$WEBKIT_PKG_ERRORS" >&5
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16368 $as_echo "no" >&6; }
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16373 $as_echo_n "checking for WEBKIT... " >&6; }
16375 if test -n "$PKG_CONFIG"; then
16376 if test -n "$WEBKIT_CFLAGS"; then
16377 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16379 if test -n "$PKG_CONFIG" && \
16380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16381 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16384 test $ac_status = 0; }; then
16385 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16393 if test -n "$PKG_CONFIG"; then
16394 if test -n "$WEBKIT_LIBS"; then
16395 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16397 if test -n "$PKG_CONFIG" && \
16398 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16399 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16402 test $ac_status = 0; }; then
16403 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16414 if test $pkg_failed = yes; then
16416 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16417 _pkg_short_errors_supported=yes
16419 _pkg_short_errors_supported=no
16421 if test $_pkg_short_errors_supported = yes; then
16422 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16424 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16426 # Put the nasty error message in config.log where it belongs
16427 echo "$WEBKIT_PKG_ERRORS" >&5
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16430 $as_echo "no" >&6; }
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16434 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16435 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16436 $as_echo_n "(cached) " >&6
16439 ac_check_framework_save_LIBS=$LIBS
16440 LIBS="-framework JavaScriptCore $LIBS"
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 #include <JavaScriptCore/JSBase.h>
16449 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16454 if ac_fn_cxx_try_link "$LINENO"; then :
16456 ac_cv_framework_JavaScriptCore=yes
16459 ac_cv_framework_JavaScriptCore=no
16461 rm -f core conftest.err conftest.$ac_objext \
16462 conftest$ac_exeext conftest.$ac_ext
16463 LIBS=$ac_check_framework_save_LIBS
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16467 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16468 if test $ac_cv_framework_JavaScriptCore = yes; then :
16471 for element in "-framework JavaScriptCore $LIBS"; do
16475 acl_save_prefix="$prefix"
16476 prefix="$acl_final_prefix"
16477 acl_save_exec_prefix="$exec_prefix"
16478 exec_prefix="$acl_final_exec_prefix"
16480 exec_prefix="$acl_save_exec_prefix"
16481 prefix="$acl_save_prefix"
16483 if test "X$x" = "X$element"; then
16488 if test -z "$haveit"; then
16489 LIBS="${LIBS}${LIBS:+ }$element"
16497 elif test $pkg_failed = untried; then
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16501 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16502 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16503 $as_echo_n "(cached) " >&6
16506 ac_check_framework_save_LIBS=$LIBS
16507 LIBS="-framework JavaScriptCore $LIBS"
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16511 #include <JavaScriptCore/JSBase.h>
16516 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16521 if ac_fn_cxx_try_link "$LINENO"; then :
16523 ac_cv_framework_JavaScriptCore=yes
16526 ac_cv_framework_JavaScriptCore=no
16528 rm -f core conftest.err conftest.$ac_objext \
16529 conftest$ac_exeext conftest.$ac_ext
16530 LIBS=$ac_check_framework_save_LIBS
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16534 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16535 if test $ac_cv_framework_JavaScriptCore = yes; then :
16538 for element in "-framework JavaScriptCore $LIBS"; do
16542 acl_save_prefix="$prefix"
16543 prefix="$acl_final_prefix"
16544 acl_save_exec_prefix="$exec_prefix"
16545 exec_prefix="$acl_final_exec_prefix"
16547 exec_prefix="$acl_save_exec_prefix"
16548 prefix="$acl_save_prefix"
16550 if test "X$x" = "X$element"; then
16555 if test -z "$haveit"; then
16556 LIBS="${LIBS}${LIBS:+ }$element"
16565 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16566 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16568 $as_echo "yes" >&6; }
16572 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16574 for x in $CXXFLAGS; do
16576 acl_save_prefix="$prefix"
16577 prefix="$acl_final_prefix"
16578 acl_save_exec_prefix="$exec_prefix"
16579 exec_prefix="$acl_final_exec_prefix"
16581 exec_prefix="$acl_save_exec_prefix"
16582 prefix="$acl_save_prefix"
16584 if test "X$x" = "X$element"; then
16589 if test -z "$haveit"; then
16590 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16595 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16599 acl_save_prefix="$prefix"
16600 prefix="$acl_final_prefix"
16601 acl_save_exec_prefix="$exec_prefix"
16602 exec_prefix="$acl_final_exec_prefix"
16604 exec_prefix="$acl_save_exec_prefix"
16605 prefix="$acl_save_prefix"
16607 if test "X$x" = "X$element"; then
16612 if test -z "$haveit"; then
16613 LIBS="${LIBS}${LIBS:+ }$element"
16620 elif test $pkg_failed = untried; then
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16625 $as_echo_n "checking for WEBKIT... " >&6; }
16627 if test -n "$PKG_CONFIG"; then
16628 if test -n "$WEBKIT_CFLAGS"; then
16629 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16631 if test -n "$PKG_CONFIG" && \
16632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16633 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16636 test $ac_status = 0; }; then
16637 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16645 if test -n "$PKG_CONFIG"; then
16646 if test -n "$WEBKIT_LIBS"; then
16647 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16649 if test -n "$PKG_CONFIG" && \
16650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16651 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16654 test $ac_status = 0; }; then
16655 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16666 if test $pkg_failed = yes; then
16668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16669 _pkg_short_errors_supported=yes
16671 _pkg_short_errors_supported=no
16673 if test $_pkg_short_errors_supported = yes; then
16674 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16676 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16678 # Put the nasty error message in config.log where it belongs
16679 echo "$WEBKIT_PKG_ERRORS" >&5
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16682 $as_echo "no" >&6; }
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16686 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16687 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16688 $as_echo_n "(cached) " >&6
16691 ac_check_framework_save_LIBS=$LIBS
16692 LIBS="-framework JavaScriptCore $LIBS"
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16696 #include <JavaScriptCore/JSBase.h>
16701 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16706 if ac_fn_cxx_try_link "$LINENO"; then :
16708 ac_cv_framework_JavaScriptCore=yes
16711 ac_cv_framework_JavaScriptCore=no
16713 rm -f core conftest.err conftest.$ac_objext \
16714 conftest$ac_exeext conftest.$ac_ext
16715 LIBS=$ac_check_framework_save_LIBS
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16719 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16720 if test $ac_cv_framework_JavaScriptCore = yes; then :
16723 for element in "-framework JavaScriptCore $LIBS"; do
16727 acl_save_prefix="$prefix"
16728 prefix="$acl_final_prefix"
16729 acl_save_exec_prefix="$exec_prefix"
16730 exec_prefix="$acl_final_exec_prefix"
16732 exec_prefix="$acl_save_exec_prefix"
16733 prefix="$acl_save_prefix"
16735 if test "X$x" = "X$element"; then
16740 if test -z "$haveit"; then
16741 LIBS="${LIBS}${LIBS:+ }$element"
16749 elif test $pkg_failed = untried; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16753 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16754 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16758 ac_check_framework_save_LIBS=$LIBS
16759 LIBS="-framework JavaScriptCore $LIBS"
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 #include <JavaScriptCore/JSBase.h>
16768 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16773 if ac_fn_cxx_try_link "$LINENO"; then :
16775 ac_cv_framework_JavaScriptCore=yes
16778 ac_cv_framework_JavaScriptCore=no
16780 rm -f core conftest.err conftest.$ac_objext \
16781 conftest$ac_exeext conftest.$ac_ext
16782 LIBS=$ac_check_framework_save_LIBS
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16786 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16787 if test $ac_cv_framework_JavaScriptCore = yes; then :
16790 for element in "-framework JavaScriptCore $LIBS"; do
16794 acl_save_prefix="$prefix"
16795 prefix="$acl_final_prefix"
16796 acl_save_exec_prefix="$exec_prefix"
16797 exec_prefix="$acl_final_exec_prefix"
16799 exec_prefix="$acl_save_exec_prefix"
16800 prefix="$acl_save_prefix"
16802 if test "X$x" = "X$element"; then
16807 if test -z "$haveit"; then
16808 LIBS="${LIBS}${LIBS:+ }$element"
16817 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16818 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16820 $as_echo "yes" >&6; }
16824 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16826 for x in $CXXFLAGS; do
16828 acl_save_prefix="$prefix"
16829 prefix="$acl_final_prefix"
16830 acl_save_exec_prefix="$exec_prefix"
16831 exec_prefix="$acl_final_exec_prefix"
16833 exec_prefix="$acl_save_exec_prefix"
16834 prefix="$acl_save_prefix"
16836 if test "X$x" = "X$element"; then
16841 if test -z "$haveit"; then
16842 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16847 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16851 acl_save_prefix="$prefix"
16852 prefix="$acl_final_prefix"
16853 acl_save_exec_prefix="$exec_prefix"
16854 exec_prefix="$acl_final_exec_prefix"
16856 exec_prefix="$acl_save_exec_prefix"
16857 prefix="$acl_save_prefix"
16859 if test "X$x" = "X$element"; then
16864 if test -z "$haveit"; then
16865 LIBS="${LIBS}${LIBS:+ }$element"
16873 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16874 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16876 $as_echo "yes" >&6; }
16880 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16882 for x in $CXXFLAGS; do
16884 acl_save_prefix="$prefix"
16885 prefix="$acl_final_prefix"
16886 acl_save_exec_prefix="$exec_prefix"
16887 exec_prefix="$acl_final_exec_prefix"
16889 exec_prefix="$acl_save_exec_prefix"
16890 prefix="$acl_save_prefix"
16892 if test "X$x" = "X$element"; then
16897 if test -z "$haveit"; then
16898 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16903 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16907 acl_save_prefix="$prefix"
16908 prefix="$acl_final_prefix"
16909 acl_save_exec_prefix="$exec_prefix"
16910 exec_prefix="$acl_final_exec_prefix"
16912 exec_prefix="$acl_save_exec_prefix"
16913 prefix="$acl_save_prefix"
16915 if test "X$x" = "X$element"; then
16920 if test -z "$haveit"; then
16921 LIBS="${LIBS}${LIBS:+ }$element"
16930 as_fn_error "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16939 $as_echo_n "checking for WEBKIT... " >&6; }
16941 if test -n "$PKG_CONFIG"; then
16942 if test -n "$WEBKIT_CFLAGS"; then
16943 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16945 if test -n "$PKG_CONFIG" && \
16946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16947 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16950 test $ac_status = 0; }; then
16951 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16959 if test -n "$PKG_CONFIG"; then
16960 if test -n "$WEBKIT_LIBS"; then
16961 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16963 if test -n "$PKG_CONFIG" && \
16964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16965 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16968 test $ac_status = 0; }; then
16969 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16980 if test $pkg_failed = yes; then
16982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16983 _pkg_short_errors_supported=yes
16985 _pkg_short_errors_supported=no
16987 if test $_pkg_short_errors_supported = yes; then
16988 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16990 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16992 # Put the nasty error message in config.log where it belongs
16993 echo "$WEBKIT_PKG_ERRORS" >&5
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16996 $as_echo "no" >&6; }
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17001 $as_echo_n "checking for WEBKIT... " >&6; }
17003 if test -n "$PKG_CONFIG"; then
17004 if test -n "$WEBKIT_CFLAGS"; then
17005 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17007 if test -n "$PKG_CONFIG" && \
17008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17009 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17012 test $ac_status = 0; }; then
17013 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17021 if test -n "$PKG_CONFIG"; then
17022 if test -n "$WEBKIT_LIBS"; then
17023 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17025 if test -n "$PKG_CONFIG" && \
17026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17027 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17030 test $ac_status = 0; }; then
17031 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17042 if test $pkg_failed = yes; then
17044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17045 _pkg_short_errors_supported=yes
17047 _pkg_short_errors_supported=no
17049 if test $_pkg_short_errors_supported = yes; then
17050 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17052 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17054 # Put the nasty error message in config.log where it belongs
17055 echo "$WEBKIT_PKG_ERRORS" >&5
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17058 $as_echo "no" >&6; }
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17062 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17063 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17064 $as_echo_n "(cached) " >&6
17067 ac_check_framework_save_LIBS=$LIBS
17068 LIBS="-framework JavaScriptCore $LIBS"
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17072 #include <JavaScriptCore/JSBase.h>
17077 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17082 if ac_fn_cxx_try_link "$LINENO"; then :
17084 ac_cv_framework_JavaScriptCore=yes
17087 ac_cv_framework_JavaScriptCore=no
17089 rm -f core conftest.err conftest.$ac_objext \
17090 conftest$ac_exeext conftest.$ac_ext
17091 LIBS=$ac_check_framework_save_LIBS
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17095 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17096 if test $ac_cv_framework_JavaScriptCore = yes; then :
17099 for element in "-framework JavaScriptCore $LIBS"; do
17103 acl_save_prefix="$prefix"
17104 prefix="$acl_final_prefix"
17105 acl_save_exec_prefix="$exec_prefix"
17106 exec_prefix="$acl_final_exec_prefix"
17108 exec_prefix="$acl_save_exec_prefix"
17109 prefix="$acl_save_prefix"
17111 if test "X$x" = "X$element"; then
17116 if test -z "$haveit"; then
17117 LIBS="${LIBS}${LIBS:+ }$element"
17125 elif test $pkg_failed = untried; then
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17129 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17130 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17131 $as_echo_n "(cached) " >&6
17134 ac_check_framework_save_LIBS=$LIBS
17135 LIBS="-framework JavaScriptCore $LIBS"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 #include <JavaScriptCore/JSBase.h>
17144 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17149 if ac_fn_cxx_try_link "$LINENO"; then :
17151 ac_cv_framework_JavaScriptCore=yes
17154 ac_cv_framework_JavaScriptCore=no
17156 rm -f core conftest.err conftest.$ac_objext \
17157 conftest$ac_exeext conftest.$ac_ext
17158 LIBS=$ac_check_framework_save_LIBS
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17162 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17163 if test $ac_cv_framework_JavaScriptCore = yes; then :
17166 for element in "-framework JavaScriptCore $LIBS"; do
17170 acl_save_prefix="$prefix"
17171 prefix="$acl_final_prefix"
17172 acl_save_exec_prefix="$exec_prefix"
17173 exec_prefix="$acl_final_exec_prefix"
17175 exec_prefix="$acl_save_exec_prefix"
17176 prefix="$acl_save_prefix"
17178 if test "X$x" = "X$element"; then
17183 if test -z "$haveit"; then
17184 LIBS="${LIBS}${LIBS:+ }$element"
17193 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17194 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17196 $as_echo "yes" >&6; }
17200 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17202 for x in $CXXFLAGS; do
17204 acl_save_prefix="$prefix"
17205 prefix="$acl_final_prefix"
17206 acl_save_exec_prefix="$exec_prefix"
17207 exec_prefix="$acl_final_exec_prefix"
17209 exec_prefix="$acl_save_exec_prefix"
17210 prefix="$acl_save_prefix"
17212 if test "X$x" = "X$element"; then
17217 if test -z "$haveit"; then
17218 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17223 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17227 acl_save_prefix="$prefix"
17228 prefix="$acl_final_prefix"
17229 acl_save_exec_prefix="$exec_prefix"
17230 exec_prefix="$acl_final_exec_prefix"
17232 exec_prefix="$acl_save_exec_prefix"
17233 prefix="$acl_save_prefix"
17235 if test "X$x" = "X$element"; then
17240 if test -z "$haveit"; then
17241 LIBS="${LIBS}${LIBS:+ }$element"
17248 elif test $pkg_failed = untried; then
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
17253 $as_echo_n "checking for WEBKIT... " >&6; }
17255 if test -n "$PKG_CONFIG"; then
17256 if test -n "$WEBKIT_CFLAGS"; then
17257 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
17259 if test -n "$PKG_CONFIG" && \
17260 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17261 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17264 test $ac_status = 0; }; then
17265 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
17273 if test -n "$PKG_CONFIG"; then
17274 if test -n "$WEBKIT_LIBS"; then
17275 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
17277 if test -n "$PKG_CONFIG" && \
17278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
17279 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
17281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17282 test $ac_status = 0; }; then
17283 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
17294 if test $pkg_failed = yes; then
17296 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17297 _pkg_short_errors_supported=yes
17299 _pkg_short_errors_supported=no
17301 if test $_pkg_short_errors_supported = yes; then
17302 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
17304 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
17306 # Put the nasty error message in config.log where it belongs
17307 echo "$WEBKIT_PKG_ERRORS" >&5
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17310 $as_echo "no" >&6; }
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17314 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17315 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17319 ac_check_framework_save_LIBS=$LIBS
17320 LIBS="-framework JavaScriptCore $LIBS"
17321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 /* end confdefs.h. */
17324 #include <JavaScriptCore/JSBase.h>
17329 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17334 if ac_fn_cxx_try_link "$LINENO"; then :
17336 ac_cv_framework_JavaScriptCore=yes
17339 ac_cv_framework_JavaScriptCore=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 LIBS=$ac_check_framework_save_LIBS
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17347 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17348 if test $ac_cv_framework_JavaScriptCore = yes; then :
17351 for element in "-framework JavaScriptCore $LIBS"; do
17355 acl_save_prefix="$prefix"
17356 prefix="$acl_final_prefix"
17357 acl_save_exec_prefix="$exec_prefix"
17358 exec_prefix="$acl_final_exec_prefix"
17360 exec_prefix="$acl_save_exec_prefix"
17361 prefix="$acl_save_prefix"
17363 if test "X$x" = "X$element"; then
17368 if test -z "$haveit"; then
17369 LIBS="${LIBS}${LIBS:+ }$element"
17377 elif test $pkg_failed = untried; then
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
17381 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
17382 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
17383 $as_echo_n "(cached) " >&6
17386 ac_check_framework_save_LIBS=$LIBS
17387 LIBS="-framework JavaScriptCore $LIBS"
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17391 #include <JavaScriptCore/JSBase.h>
17396 JSEvaluateScript(0, 0, 0, 0, 0, 0);
17401 if ac_fn_cxx_try_link "$LINENO"; then :
17403 ac_cv_framework_JavaScriptCore=yes
17406 ac_cv_framework_JavaScriptCore=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 LIBS=$ac_check_framework_save_LIBS
17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
17414 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
17415 if test $ac_cv_framework_JavaScriptCore = yes; then :
17418 for element in "-framework JavaScriptCore $LIBS"; do
17422 acl_save_prefix="$prefix"
17423 prefix="$acl_final_prefix"
17424 acl_save_exec_prefix="$exec_prefix"
17425 exec_prefix="$acl_final_exec_prefix"
17427 exec_prefix="$acl_save_exec_prefix"
17428 prefix="$acl_save_prefix"
17430 if test "X$x" = "X$element"; then
17435 if test -z "$haveit"; then
17436 LIBS="${LIBS}${LIBS:+ }$element"
17445 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17446 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17448 $as_echo "yes" >&6; }
17452 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
17454 for x in $CXXFLAGS; do
17456 acl_save_prefix="$prefix"
17457 prefix="$acl_final_prefix"
17458 acl_save_exec_prefix="$exec_prefix"
17459 exec_prefix="$acl_final_exec_prefix"
17461 exec_prefix="$acl_save_exec_prefix"
17462 prefix="$acl_save_prefix"
17464 if test "X$x" = "X$element"; then
17469 if test -z "$haveit"; then
17470 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17475 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
17479 acl_save_prefix="$prefix"
17480 prefix="$acl_final_prefix"
17481 acl_save_exec_prefix="$exec_prefix"
17482 exec_prefix="$acl_final_exec_prefix"
17484 exec_prefix="$acl_save_exec_prefix"
17485 prefix="$acl_save_prefix"
17487 if test "X$x" = "X$element"; then
17492 if test -z "$haveit"; then
17493 LIBS="${LIBS}${LIBS:+ }$element"
17501 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
17502 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17504 $as_echo "yes" >&6; }
17508 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
17510 for x in $CXXFLAGS; do
17512 acl_save_prefix="$prefix"
17513 prefix="$acl_final_prefix"
17514 acl_save_exec_prefix="$exec_prefix"
17515 exec_prefix="$acl_final_exec_prefix"
17517 exec_prefix="$acl_save_exec_prefix"
17518 prefix="$acl_save_prefix"
17520 if test "X$x" = "X$element"; then
17525 if test -z "$haveit"; then
17526 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17531 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
17535 acl_save_prefix="$prefix"
17536 prefix="$acl_final_prefix"
17537 acl_save_exec_prefix="$exec_prefix"
17538 exec_prefix="$acl_final_exec_prefix"
17540 exec_prefix="$acl_save_exec_prefix"
17541 prefix="$acl_save_prefix"
17543 if test "X$x" = "X$element"; then
17548 if test -z "$haveit"; then
17549 LIBS="${LIBS}${LIBS:+ }$element"
17560 case $CY_EXECUTE in #(
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17567 $as_echo_n "checking for LIBFFI... " >&6; }
17569 if test -n "$PKG_CONFIG"; then
17570 if test -n "$LIBFFI_CFLAGS"; then
17571 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17573 if test -n "$PKG_CONFIG" && \
17574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17575 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17578 test $ac_status = 0; }; then
17579 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17587 if test -n "$PKG_CONFIG"; then
17588 if test -n "$LIBFFI_LIBS"; then
17589 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17591 if test -n "$PKG_CONFIG" && \
17592 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17593 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17596 test $ac_status = 0; }; then
17597 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17608 if test $pkg_failed = yes; then
17610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17611 _pkg_short_errors_supported=yes
17613 _pkg_short_errors_supported=no
17615 if test $_pkg_short_errors_supported = yes; then
17616 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17618 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17620 # Put the nasty error message in config.log where it belongs
17621 echo "$LIBFFI_PKG_ERRORS" >&5
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17624 $as_echo "no" >&6; }
17626 for ac_header in ffi.h ffi/ffi.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 eval as_val=\$$as_ac_Header
17631 if test "x$as_val" = x""yes; then :
17632 cat >>confdefs.h <<_ACEOF
17633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17640 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
17642 as_fn_error "You need libffi" "$LINENO" 5
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17646 $as_echo_n "checking for library containing ffi_call... " >&6; }
17647 if test "${ac_cv_search_ffi_call+set}" = set; then :
17648 $as_echo_n "(cached) " >&6
17650 ac_func_search_save_LIBS=$LIBS
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17654 /* Override any GCC internal prototype to avoid an error.
17655 Use char because int might match the return type of a GCC
17656 builtin and then its argument prototype would still apply. */
17664 return ffi_call ();
17669 for ac_lib in '' ffi; do
17670 if test -z "$ac_lib"; then
17671 ac_res="none required"
17674 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17676 if ac_fn_cxx_try_link "$LINENO"; then :
17677 ac_cv_search_ffi_call=$ac_res
17679 rm -f core conftest.err conftest.$ac_objext \
17681 if test "${ac_cv_search_ffi_call+set}" = set; then :
17685 if test "${ac_cv_search_ffi_call+set}" = set; then :
17688 ac_cv_search_ffi_call=no
17690 rm conftest.$ac_ext
17691 LIBS=$ac_func_search_save_LIBS
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17694 $as_echo "$ac_cv_search_ffi_call" >&6; }
17695 ac_res=$ac_cv_search_ffi_call
17696 if test "$ac_res" != no; then :
17697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17701 case $ac_cv_search_ffi_call in #(
17704 as_fn_error "You need libffi" "$LINENO" 5
17710 elif test $pkg_failed = untried; then
17712 for ac_header in ffi.h ffi/ffi.h
17714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17715 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17716 eval as_val=\$$as_ac_Header
17717 if test "x$as_val" = x""yes; then :
17718 cat >>confdefs.h <<_ACEOF
17719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17726 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
17728 as_fn_error "You need libffi" "$LINENO" 5
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17732 $as_echo_n "checking for library containing ffi_call... " >&6; }
17733 if test "${ac_cv_search_ffi_call+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17736 ac_func_search_save_LIBS=$LIBS
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17740 /* Override any GCC internal prototype to avoid an error.
17741 Use char because int might match the return type of a GCC
17742 builtin and then its argument prototype would still apply. */
17750 return ffi_call ();
17755 for ac_lib in '' ffi; do
17756 if test -z "$ac_lib"; then
17757 ac_res="none required"
17760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17762 if ac_fn_cxx_try_link "$LINENO"; then :
17763 ac_cv_search_ffi_call=$ac_res
17765 rm -f core conftest.err conftest.$ac_objext \
17767 if test "${ac_cv_search_ffi_call+set}" = set; then :
17771 if test "${ac_cv_search_ffi_call+set}" = set; then :
17774 ac_cv_search_ffi_call=no
17776 rm conftest.$ac_ext
17777 LIBS=$ac_func_search_save_LIBS
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17780 $as_echo "$ac_cv_search_ffi_call" >&6; }
17781 ac_res=$ac_cv_search_ffi_call
17782 if test "$ac_res" != no; then :
17783 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17787 case $ac_cv_search_ffi_call in #(
17790 as_fn_error "You need libffi" "$LINENO" 5
17797 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17798 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17800 $as_echo "yes" >&6; }
17803 for element in `$PKG_CONFIG --cflags libffi
`; do
17805 for x in $CXXFLAGS; do
17807 acl_save_prefix="$prefix"
17808 prefix="$acl_final_prefix"
17809 acl_save_exec_prefix="$exec_prefix"
17810 exec_prefix="$acl_final_exec_prefix"
17812 exec_prefix="$acl_save_exec_prefix"
17813 prefix="$acl_save_prefix"
17815 if test "X$x" = "X$element"; then
17820 if test -z "$haveit"; then
17821 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17826 for element in `$PKG_CONFIG --libs libffi
`; do
17830 acl_save_prefix="$prefix"
17831 prefix="$acl_final_prefix"
17832 acl_save_exec_prefix="$exec_prefix"
17833 exec_prefix="$acl_final_exec_prefix"
17835 exec_prefix="$acl_save_exec_prefix"
17836 prefix="$acl_save_prefix"
17838 if test "X$x" = "X$element"; then
17843 if test -z "$haveit"; then
17844 LIBS="${LIBS}${LIBS:+ }$element"
17851 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17852 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17857 $as_echo_n "checking if we really have Objective C++... " >&6; }
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17861 // This space intentionally left blank
17864 if ac_fn_objcxx_try_compile "$LINENO"; then :
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17868 $as_echo "yes" >&6; }
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17872 $as_echo "no" >&6; }
17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17875 if test "x$CY_OBJECTIVEC" = x1; then :
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17879 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17880 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17884 ac_check_framework_save_LIBS=$LIBS
17885 LIBS="-framework CoreFoundation $LIBS"
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17889 #include <CoreFoundation/CFBase.h>
17894 CFAllocatorGetDefault();
17899 if ac_fn_objcxx_try_link "$LINENO"; then :
17901 ac_cv_framework_CoreFoundation=yes
17904 ac_cv_framework_CoreFoundation=no
17906 rm -f core conftest.err conftest.$ac_objext \
17907 conftest$ac_exeext conftest.$ac_ext
17908 LIBS=$ac_check_framework_save_LIBS
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
17912 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
17913 if test $ac_cv_framework_CoreFoundation = yes; then :
17916 for element in "-framework CoreFoundation $LIBS"; do
17920 acl_save_prefix="$prefix"
17921 prefix="$acl_final_prefix"
17922 acl_save_exec_prefix="$exec_prefix"
17923 exec_prefix="$acl_final_exec_prefix"
17925 exec_prefix="$acl_save_exec_prefix"
17926 prefix="$acl_save_prefix"
17928 if test "X$x" = "X$element"; then
17933 if test -z "$haveit"; then
17934 LIBS="${LIBS}${LIBS:+ }$element"
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
17943 $as_echo_n "checking for framework Foundation... " >&6; }
17944 if test "${ac_cv_framework_Foundation+set}" = set; then :
17945 $as_echo_n "(cached) " >&6
17948 ac_check_framework_save_LIBS=$LIBS
17949 LIBS="-framework Foundation $LIBS"
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17953 #include <Foundation/NSObject.h>
17958 [[NSObject alloc] init];
17963 if ac_fn_objcxx_try_link "$LINENO"; then :
17965 ac_cv_framework_Foundation=yes
17968 ac_cv_framework_Foundation=no
17970 rm -f core conftest.err conftest.$ac_objext \
17971 conftest$ac_exeext conftest.$ac_ext
17972 LIBS=$ac_check_framework_save_LIBS
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
17976 $as_echo "$ac_cv_framework_Foundation" >&6; }
17977 if test $ac_cv_framework_Foundation = yes; then :
17980 for element in "-framework Foundation $LIBS"; do
17984 acl_save_prefix="$prefix"
17985 prefix="$acl_final_prefix"
17986 acl_save_exec_prefix="$exec_prefix"
17987 exec_prefix="$acl_final_exec_prefix"
17989 exec_prefix="$acl_save_exec_prefix"
17990 prefix="$acl_save_prefix"
17992 if test "X$x" = "X$element"; then
17997 if test -z "$haveit"; then
17998 LIBS="${LIBS}${LIBS:+ }$element"
18002 cat >>confdefs.h <<_ACEOF
18003 #define HAVE_FRAMEWORK_FOUNDATION 1
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
18011 $as_echo_n "checking for framework WebKit... " >&6; }
18012 if test "${ac_cv_framework_WebKit+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18016 ac_check_framework_save_LIBS=$LIBS
18017 LIBS="-framework WebKit $LIBS"
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18021 #include <WebKit/WebScriptObject.h>
18026 [[WebScriptObject alloc] init];
18031 if ac_fn_objcxx_try_link "$LINENO"; then :
18033 ac_cv_framework_WebKit=yes
18036 ac_cv_framework_WebKit=no
18038 rm -f core conftest.err conftest.$ac_objext \
18039 conftest$ac_exeext conftest.$ac_ext
18040 LIBS=$ac_check_framework_save_LIBS
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
18044 $as_echo "$ac_cv_framework_WebKit" >&6; }
18045 if test $ac_cv_framework_WebKit = yes; then :
18048 for element in "-framework WebKit $LIBS"; do
18052 acl_save_prefix="$prefix"
18053 prefix="$acl_final_prefix"
18054 acl_save_exec_prefix="$exec_prefix"
18055 exec_prefix="$acl_final_exec_prefix"
18057 exec_prefix="$acl_save_exec_prefix"
18058 prefix="$acl_save_prefix"
18060 if test "X$x" = "X$element"; then
18065 if test -z "$haveit"; then
18066 LIBS="${LIBS}${LIBS:+ }$element"
18070 cat >>confdefs.h <<_ACEOF
18071 #define HAVE_FRAMEWORK_WEBKIT 1
18081 for ac_prog in gnustep-config
18083 # Extract the first word of "$ac_prog", so it can be a program name with args.
18084 set dummy $ac_prog; ac_word=$2
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18086 $as_echo_n "checking for $ac_word... " >&6; }
18087 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
18088 $as_echo_n "(cached) " >&6
18090 if test -n "$GNUSTEP_CONFIG"; then
18091 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
18093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18094 for as_dir in $PATH
18097 test -z "$as_dir" && as_dir=.
18098 for ac_exec_ext in '' $ac_executable_extensions; do
18099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18100 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
18101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18110 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
18111 if test -n "$GNUSTEP_CONFIG"; then
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
18113 $as_echo "$GNUSTEP_CONFIG" >&6; }
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18116 $as_echo "no" >&6; }
18120 test -n "$GNUSTEP_CONFIG" && break
18123 if test "x$GNUSTEP_CONFIG" != x; then :
18127 for element in `$GNUSTEP_CONFIG --objc-flags`; do
18129 for x in $OBJCXXFLAGS; do
18131 acl_save_prefix="$prefix"
18132 prefix="$acl_final_prefix"
18133 acl_save_exec_prefix="$exec_prefix"
18134 exec_prefix="$acl_final_exec_prefix"
18136 exec_prefix="$acl_save_exec_prefix"
18137 prefix="$acl_save_prefix"
18139 if test "X$x" = "X$element"; then
18144 if test -z "$haveit"; then
18145 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
18150 for element in `$GNUSTEP_CONFIG --base-libs`; do
18154 acl_save_prefix="$prefix"
18155 prefix="$acl_final_prefix"
18156 acl_save_exec_prefix="$exec_prefix"
18157 exec_prefix="$acl_final_exec_prefix"
18159 exec_prefix="$acl_save_exec_prefix"
18160 prefix="$acl_save_prefix"
18162 if test "X$x" = "X$element"; then
18167 if test -z "$haveit"; then
18168 LIBS="${LIBS}${LIBS:+ }$element"
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18191 if test "x$CY_OBJECTIVEC" = x1; then :
18193 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
18194 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
18199 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
18201 CY_OBJECTIVEC_MACH=1
18210 if test "x$GMAKE" != xmake; then :
18212 ac_config_files="$ac_config_files Makefile"
18216 ac_config_files="$ac_config_files GNUmakefile"
18218 cat >confcache <<\_ACEOF
18219 # This file is a shell script that caches the results of configure
18220 # tests run on this system so they can be shared between configure
18221 # scripts and configure runs, see configure's option --config-cache.
18222 # It is not useful on other systems. If it contains results you don't
18223 # want to keep, you may remove or edit it.
18225 # config.status only pays attention to the cache file if you give it
18226 # the --recheck option to rerun configure.
18228 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
18229 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18230 # following values.
18234 # The following way of writing the cache mishandles newlines in values,
18235 # but we know of no workaround that is simple, portable, and efficient.
18236 # So, we kill variables containing newlines.
18237 # Ultrix sh set writes to stderr and can't be redirected directly,
18238 # and sets the high bit in the cache file unless we assign to the vars.
18240 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18241 eval ac_val
=\$
$ac_var
18245 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18246 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18249 _
| IFS
| as_nl
) ;; #(
18250 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
18251 *) { eval $ac_var=; unset $ac_var;} ;;
18257 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18258 *${as_nl}ac_space
=\
*)
18259 # `set' does not quote correctly, so add quotes: double-quote
18260 # substitution turns \\\\ into \\, and sed turns \\ into \.
18263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18266 # `set' quotes correctly as required by POSIX, so do not add quotes.
18267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18276 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18278 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18280 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18281 if test -w "$cache_file"; then
18282 test "x$cache_file" != "x/dev/null" &&
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18284 $as_echo "$as_me: updating cache $cache_file" >&6;}
18285 cat confcache
>$cache_file
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18288 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18293 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18294 # Let make expand exec_prefix.
18295 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18297 # Transform confdefs.h into DEFS.
18298 # Protect against shell expansion while executing Makefile rules.
18299 # Protect against Makefile macro expansion.
18301 # If the first sed substitution is executed (which looks for macros that
18302 # take arguments), then branch to the quote section. Otherwise,
18303 # look for a macro that doesn't take arguments.
18313 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
18315 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
18319 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
18332 DEFS
=`sed -n "$ac_script" confdefs.h`
18337 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18338 # 1. Remove the extension, and $U if already installed.
18339 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18340 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18341 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18342 # will be set to the directory where LIBOBJS objects are built.
18343 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18344 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18346 LIBOBJS
=$ac_libobjs
18348 LTLIBOBJS
=$ac_ltlibobjs
18352 : ${CONFIG_STATUS=./config.status}
18354 ac_clean_files_save
=$ac_clean_files
18355 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18357 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18359 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18361 # Generated by $as_me.
18362 # Run this file to recreate the current configuration.
18363 # Compiler output produced by configure, useful for debugging
18364 # configure, is in config.log if it exists.
18367 ac_cs_recheck=false
18370 SHELL=\${CONFIG_SHELL-$SHELL}
18373 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
18374 ## -------------------- ##
18375 ## M4sh Initialization. ##
18376 ## -------------------- ##
18378 # Be more Bourne compatible
18379 DUALCASE
=1; export DUALCASE
# for MKS sh
18380 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18383 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18384 # is contrary to our usage. Disable this feature.
18385 alias -g '${1+"$@"}'='"$@"'
18386 setopt NO_GLOB_SUBST
18388 case `(set -o) 2>/dev/null` in #(
18400 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18401 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18402 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18403 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18404 # Prefer a ksh shell builtin over an external printf program on Solaris,
18405 # but without wasting forks for bash or zsh.
18406 if test -z "$BASH_VERSION$ZSH_VERSION" \
18407 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18408 as_echo='print
-r --'
18409 as_echo_n='print
-rn --'
18410 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18411 as_echo='printf %s
\n'
18412 as_echo_n='printf %s
'
18414 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18415 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18416 as_echo_n='/usr
/ucb
/echo -n'
18418 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18419 as_echo_n_body='eval
18423 expr "X$arg" : "X\\(.*\\)$as_nl";
18424 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18426 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18428 export as_echo_n_body
18429 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18431 export as_echo_body
18432 as_echo='sh
-c $as_echo_body as_echo
'
18435 # The user is always right.
18436 if test "${PATH_SEPARATOR+set}" != set; then
18438 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18439 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18446 # We need space, tab and new line, in precisely that order. Quoting is
18447 # there to prevent editors from complaining about space-tab.
18448 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18449 # splitting by setting IFS to empty value.)
18452 # Find who we are. Look in the path if we contain no directory separator.
18454 *[\\/]* ) as_myself=$0 ;;
18455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18456 for as_dir in $PATH
18459 test -z "$as_dir" && as_dir=.
18460 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18466 # We did not find ourselves, most probably we were run as `sh COMMAND'
18467 # in which case we are not to be found in the path.
18468 if test "x$as_myself" = x
; then
18471 if test ! -f "$as_myself"; then
18472 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18476 # Unset variables that we do not need and which cause bugs (e.g. in
18477 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18478 # suppresses any "Segmentation fault" message there. '((' could
18479 # trigger a bug in pdksh 5.2.14.
18480 for as_var
in BASH_ENV ENV MAIL MAILPATH
18481 do eval test x\
${$as_var+set} = xset \
18482 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
18495 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18498 # as_fn_error ERROR [LINENO LOG_FD]
18499 # ---------------------------------
18500 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18501 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18502 # script with status $?, using 1 if that was 0.
18505 as_status
=$?
; test $as_status -eq 0 && as_status
=1
18507 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18508 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
18510 $as_echo "$as_me: error: $1" >&2
18511 as_fn_exit
$as_status
18515 # as_fn_set_status STATUS
18516 # -----------------------
18517 # Set $? to STATUS, without forking.
18518 as_fn_set_status
()
18521 } # as_fn_set_status
18523 # as_fn_exit STATUS
18524 # -----------------
18525 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18529 as_fn_set_status
$1
18535 # Portably unset VAR.
18538 { eval $1=; unset $1;}
18540 as_unset
=as_fn_unset
18541 # as_fn_append VAR VALUE
18542 # ----------------------
18543 # Append the text in VALUE to the end of the definition contained in VAR. Take
18544 # advantage of any shell optimizations that allow amortized linear growth over
18545 # repeated appends, instead of the typical quadratic growth present in naive
18547 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18548 eval 'as_fn_append ()
18559 # as_fn_arith ARG...
18560 # ------------------
18561 # Perform arithmetic evaluation on the ARGs, and store the result in the
18562 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18563 # must be portable across $(()) and expr.
18564 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18565 eval 'as_fn_arith ()
18572 as_val
=`expr "$@" || test $? -eq 1`
18577 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18578 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18584 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18585 as_basename
=basename
18590 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18596 as_me
=`$as_basename -- "$0" ||
18597 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18598 X"$0" : 'X\(//\)$' \| \
18599 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18601 sed '/^.*\/\([^/][^/]*\)\/*$/{
18615 # Avoid depending upon Character Ranges.
18616 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18617 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18618 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18619 as_cr_digits
='0123456789'
18620 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18622 ECHO_C
= ECHO_N
= ECHO_T
=
18623 case `echo -n x` in #(((((
18625 case `echo 'xy\c'` in
18626 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18628 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18635 rm -f conf$$ conf$$.exe conf$$.
file
18636 if test -d conf$$.dir
; then
18637 rm -f conf$$.dir
/conf$$.
file
18640 mkdir conf$$.dir
2>/dev
/null
18642 if (echo >conf$$.
file) 2>/dev
/null
; then
18643 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18645 # ... but there are two gotchas:
18646 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18647 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18648 # In both cases, we have to default to `cp -p'.
18649 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
18651 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18659 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18660 rmdir conf$$.dir
2>/dev
/null
18665 # Create "$as_dir" as a directory, including parents if necessary.
18670 -*) as_dir
=.
/$as_dir;;
18672 test -d "$as_dir" || eval $as_mkdir_p || {
18676 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18677 *) as_qdir
=$as_dir;;
18679 as_dirs
="'$as_qdir' $as_dirs"
18680 as_dir
=`$as_dirname -- "$as_dir" ||
18681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18682 X"$as_dir" : 'X\(//\)[^/]' \| \
18683 X"$as_dir" : 'X\(//\)$' \| \
18684 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18685 $as_echo X"$as_dir" |
18686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18690 /^X\(\/\/\)[^/].*/{
18703 test -d "$as_dir" && break
18705 test -z "$as_dirs" || eval "mkdir $as_dirs"
18706 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
18710 if mkdir -p .
2>/dev
/null
; then
18711 as_mkdir_p
='mkdir -p "$as_dir"'
18713 test -d .
/-p && rmdir .
/-p
18717 if test -x / >/dev
/null
2>&1; then
18718 as_test_x
='test -x'
18720 if ls -dL / >/dev
/null
2>&1; then
18727 if test -d "$1"; then
18733 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18734 ???[sx]*):;;*)false;;esac;fi
18738 as_executable_p
=$as_test_x
18740 # Sed expression to map a string onto a valid CPP name.
18741 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18743 # Sed expression to map a string onto a valid variable name.
18744 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18748 ## ----------------------------------- ##
18749 ## Main body of $CONFIG_STATUS script. ##
18750 ## ----------------------------------- ##
18752 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18754 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18755 # Save the log message, to keep $0 and so on meaningful, and to
18756 # report actual input values of CONFIG_FILES etc. instead of their
18757 # values after options handling.
18759 This file was extended by Cycript $as_me 0.9, which was
18760 generated by GNU Autoconf 2.65. Invocation command line was
18762 CONFIG_FILES = $CONFIG_FILES
18763 CONFIG_HEADERS = $CONFIG_HEADERS
18764 CONFIG_LINKS = $CONFIG_LINKS
18765 CONFIG_COMMANDS = $CONFIG_COMMANDS
18768 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18773 case $ac_config_files in *"
18774 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18780 # Files that config.status was made for.
18781 config_files="$ac_config_files"
18782 config_commands="$ac_config_commands"
18786 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18788 \`$as_me' instantiates files and other configuration actions
18789 from templates according to the current configuration. Unless the files
18790 and actions are specified as TAGs, all are instantiated by default.
18792 Usage: $0 [OPTION]... [TAG]...
18794 -h, --help print this help, then exit
18795 -V, --version print version number and configuration settings, then exit
18796 --config print configuration, then exit
18797 -q, --quiet, --silent
18798 do not print progress messages
18799 -d, --debug don't remove temporary files
18800 --recheck update $as_me by reconfiguring in the same conditions
18801 --file=FILE[:TEMPLATE]
18802 instantiate the configuration file FILE
18804 Configuration files:
18807 Configuration commands:
18810 Report bugs to <saurik@saurik.com>.
18811 Cycript home page: <http://www.cycript.org/>."
18814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18815 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18817 Cycript config.status 0.9
18818 configured by $0, generated by GNU Autoconf 2.65,
18819 with options \\"\$ac_cs_config\\"
18821 Copyright (C) 2009 Free Software Foundation, Inc.
18822 This config.status script is free software; the Free Software Foundation
18823 gives unlimited permission to copy, distribute and modify it."
18828 test -n "\$AWK" || AWK=awk
18831 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18832 # The default lists apply if the user does not specify any file.
18838 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18839 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18850 # Handling of the options.
18851 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18853 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18854 $as_echo "$ac_cs_version"; exit ;;
18855 --config | --confi | --conf | --con | --co | --c )
18856 $as_echo "$ac_cs_config"; exit ;;
18857 --debug | --debu | --deb | --de | --d | -d )
18859 --file | --fil | --fi | --f )
18862 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18864 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18865 ac_need_defaults
=false
;;
18866 --he | --h | --help | --hel | -h )
18867 $as_echo "$ac_cs_usage"; exit ;;
18868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18869 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18872 # This is an error.
18873 -*) as_fn_error
"unrecognized option: \`$1'
18874 Try \`$0 --help' for more information." ;;
18876 *) as_fn_append ac_config_targets
" $1"
18877 ac_need_defaults
=false
;;
18883 ac_configure_extra_args
=
18885 if $ac_cs_silent; then
18887 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18892 if \$ac_cs_recheck; then
18893 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18895 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18896 CONFIG_SHELL='$SHELL'
18897 export CONFIG_SHELL
18902 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
18906 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18907 ## Running $as_me. ##
18913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18919 # The HP-UX ksh and POSIX shell print the target directory to stdout
18920 # if CDPATH is set.
18921 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18923 sed_quote_subst='$sed_quote_subst'
18924 double_quote_subst='$double_quote_subst'
18925 delay_variable_subst='$delay_variable_subst'
18926 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18927 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18928 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18929 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18930 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18931 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18932 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18933 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18934 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18935 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18936 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18937 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18938 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18939 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18940 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18941 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18942 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18943 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18944 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18945 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18946 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18947 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18948 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18949 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18950 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18951 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18952 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18953 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18954 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18955 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18956 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18957 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18958 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18959 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18960 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18961 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18962 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18963 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18964 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18965 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18966 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18967 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18968 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18969 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18970 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"`'
18971 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"`'
18972 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18973 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18974 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18975 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18976 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18977 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18978 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18979 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18980 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18981 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18982 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18983 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18984 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18985 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18986 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18987 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18988 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18989 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18990 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18991 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18992 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18993 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18994 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18995 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18996 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18997 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18998 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18999 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19000 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19001 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19002 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19003 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19004 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19005 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19006 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19007 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19008 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19009 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19010 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19011 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19012 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19013 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19014 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19015 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19016 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19017 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19018 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19019 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19020 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19021 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19022 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19023 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19024 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19025 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19026 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19027 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19028 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19029 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19030 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19031 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19032 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19033 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19034 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19035 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19036 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19037 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19038 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19039 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19040 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19041 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19042 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19043 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19044 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19045 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19046 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19047 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19048 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19049 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19050 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19051 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19052 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19053 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19054 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19055 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19056 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19057 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19058 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19059 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19060 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19061 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19062 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19063 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19064 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19065 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19066 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19067 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19068 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19069 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19070 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19071 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19072 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19073 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19074 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19075 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19076 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19077 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19078 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19079 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19080 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19081 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19082 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19083 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19084 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19085 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19086 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19087 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19088 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19089 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19090 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19091 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19092 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19093 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19094 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19095 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19096 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19099 LTCFLAGS='$LTCFLAGS'
19100 compiler='$compiler_DEFAULT'
19102 # Quote evaled strings.
19114 deplibs_check_method \
19123 lt_cv_sys_global_symbol_pipe \
19124 lt_cv_sys_global_symbol_to_cdecl \
19125 lt_cv_sys_global_symbol_to_c_name_address \
19126 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19129 lt_prog_compiler_no_builtin_flag \
19130 lt_prog_compiler_wl \
19131 lt_prog_compiler_pic \
19132 lt_prog_compiler_static \
19133 lt_cv_prog_compiler_c_o \
19141 export_dynamic_flag_spec \
19142 whole_archive_flag_spec \
19143 compiler_needs_object \
19145 allow_undefined_flag \
19146 no_undefined_flag \
19147 hardcode_libdir_flag_spec \
19148 hardcode_libdir_flag_spec_ld \
19149 hardcode_libdir_separator \
19154 variables_saved_for_relink \
19156 library_names_spec \
19161 compiler_lib_search_dirs \
19166 compiler_lib_search_path \
19169 lt_prog_compiler_no_builtin_flag_CXX \
19170 lt_prog_compiler_wl_CXX \
19171 lt_prog_compiler_pic_CXX \
19172 lt_prog_compiler_static_CXX \
19173 lt_cv_prog_compiler_c_o_CXX \
19174 export_dynamic_flag_spec_CXX \
19175 whole_archive_flag_spec_CXX \
19176 compiler_needs_object_CXX \
19178 allow_undefined_flag_CXX \
19179 no_undefined_flag_CXX \
19180 hardcode_libdir_flag_spec_CXX \
19181 hardcode_libdir_flag_spec_ld_CXX \
19182 hardcode_libdir_separator_CXX \
19183 fix_srcfile_path_CXX \
19184 exclude_expsyms_CXX \
19185 include_expsyms_CXX \
19186 file_list_spec_CXX \
19187 compiler_lib_search_dirs_CXX \
19188 predep_objects_CXX \
19189 postdep_objects_CXX \
19192 compiler_lib_search_path_CXX; do
19193 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19194 *[\\\\\\\`\\"\\\$]*)
19195 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19198 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19203 # Double-quote double-evaled strings.
19204 for var in reload_cmds \
19205 old_postinstall_cmds \
19206 old_postuninstall_cmds \
19208 extract_expsyms_cmds \
19209 old_archive_from_new_cmds \
19210 old_archive_from_expsyms_cmds \
19212 archive_expsym_cmds \
19214 module_expsym_cmds \
19215 export_symbols_cmds \
19218 postuninstall_cmds \
19220 sys_lib_search_path_spec \
19221 sys_lib_dlsearch_path_spec \
19222 old_archive_cmds_CXX \
19223 old_archive_from_new_cmds_CXX \
19224 old_archive_from_expsyms_cmds_CXX \
19226 archive_expsym_cmds_CXX \
19228 module_expsym_cmds_CXX \
19229 export_symbols_cmds_CXX \
19230 prelink_cmds_CXX; do
19231 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19232 *[\\\\\\\`\\"\\\$]*)
19233 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19236 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19241 # Fix-up fallback echo if it was mangled by the above quoting rules.
19243 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19247 ac_aux_dir='$ac_aux_dir'
19248 xsi_shell='$xsi_shell'
19249 lt_shell_append='$lt_shell_append'
19251 # See if we are running on zsh, and set the options which allow our
19252 # commands through without removal of \ escapes INIT.
19253 if test -n "\${ZSH_VERSION+set}" ; then
19254 setopt NO_GLOB_SUBST
19260 TIMESTAMP='$TIMESTAMP'
19271 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19273 # Handling of arguments.
19274 for ac_config_target
in $ac_config_targets
19276 case $ac_config_target in
19277 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
19278 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19279 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
19281 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19286 # If the user did not use the arguments to specify the items to instantiate,
19287 # then the envvar interface is used. Set only those that are not.
19288 # We use the long form for the default assignment because of an extremely
19289 # bizarre bug on SunOS 4.1.3.
19290 if $ac_need_defaults; then
19291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19295 # Have a temporary directory for convenience. Make it in the build tree
19296 # simply because there is no reason against having it here, and in addition,
19297 # creating and moving files from /tmp can sometimes cause problems.
19298 # Hook for its removal unless debugging.
19299 # Note that there is a small window in which the directory will not be cleaned:
19300 # after its creation but before its name has been assigned to `$tmp'.
19304 trap 'exit_status=$?
19305 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19307 trap 'as_fn_exit 1' 1 2 13 15
19309 # Create a (secure) tmp directory for tmp files.
19312 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19313 test -n "$tmp" && test -d "$tmp"
19316 tmp
=.
/conf$$
-$RANDOM
19317 (umask 077 && mkdir "$tmp")
19318 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
19320 # Set up the scripts for CONFIG_FILES section.
19321 # No need to generate them if there are no CONFIG_FILES.
19322 # This happens for instance with `./config.status config.h'.
19323 if test -n "$CONFIG_FILES"; then
19326 ac_cr
=`echo X | tr X '\015'`
19327 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19328 # But we know of no other shell where ac_cr would be empty at this
19329 # point, so we can use a bashism as a fallback.
19330 if test "x$ac_cr" = x
; then
19331 eval ac_cr
=\$
\'\\r
\'
19333 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19334 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19337 ac_cs_awk_cr
=$ac_cr
19340 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19345 echo "cat >conf$$subs.awk <<_ACEOF" &&
19346 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19348 } >conf$$subs.sh ||
19349 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19350 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19352 for ac_last_try in false false false false false :; do
19353 . ./conf$$subs.sh ||
19354 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19356 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
19357 if test $ac_delim_n = $ac_delim_num; then
19359 elif $ac_last_try; then
19360 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
19362 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
19365 rm -f conf$$subs.sh
19367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19368 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
19372 s/^/S["/; s
/!.
*/"]=/
19382 s/\(.\{148\}\)..*/\1/
19384 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
19389 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19396 s/\(.\{148\}\)..*/\1/
19398 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
19402 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
19407 ' <conf$$subs.awk | sed '
19412 ' >>$CONFIG_STATUS || ac_write_fail=1
19413 rm -f conf$$subs.awk
19414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19416 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
19417 for (key in S) S_is_set[key] = 1
19423 nfields = split(line, field, "@
")
19425 len = length(field[1])
19426 for (i = 2; i < nfields; i++) {
19428 keylen = length(key)
19429 if (S_is_set[key]) {
19431 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19432 len += length(value) + length(field[++i])
19443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19444 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19445 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
19448 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
19449 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
19452 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19453 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
19454 # trailing colons and then remove the whole line if VPATH becomes empty
19455 # (actually we leave an empty line to preserve line numbers).
19456 if test "x
$srcdir" = x.; then
19457 ac_vpsub='/^[ ]*VPATH[ ]*=/{
19458 s/:*\$(srcdir):*/:/
19459 s/:*\${srcdir}:*/:/
19461 s/^\([^=]*=[ ]*\):*/\1/
19467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19468 fi # test -n "$CONFIG_FILES"
19471 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
19476 :[FHLC]) ac_mode=$ac_tag; continue;;
19478 case $ac_mode$ac_tag in
19480 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
19481 :[FH]-) ac_tag=-:-;;
19482 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19499 -) ac_f="$tmp/stdin";;
19500 *) # Look for the file first in the build tree, then in the source tree
19501 # (if the path is not absolute). The absolute path cannot be DOS-style,
19502 # because $ac_f cannot contain `:'.
19506 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19508 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19510 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
19511 as_fn_append ac_file_inputs " '$ac_f'"
19514 # Let's still pretend it is `configure' which instantiates (i.e., don't
19515 # use $as_me), people would be surprised to read:
19516 # /* config.h. Generated by config.status. */
19517 configure_input='Generated from '`
19518 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19520 if test x"$ac_file" != x-; then
19521 configure_input="$ac_file.
$configure_input"
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
19523 $as_echo "$as_me: creating
$ac_file" >&6;}
19525 # Neutralize special characters interpreted by sed in replacement strings.
19526 case $configure_input in #(
19527 *\&* | *\|* | *\\* )
19528 ac_sed_conf_input=`$as_echo "$configure_input" |
19529 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19530 *) ac_sed_conf_input=$configure_input;;
19534 *:-:* | *:-) cat >"$tmp/stdin
" \
19535 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
19540 ac_dir=`$as_dirname -- "$ac_file" ||
19541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19542 X"$ac_file" : 'X\(//\)[^/]' \| \
19543 X"$ac_file" : 'X\(//\)$' \| \
19544 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19545 $as_echo X"$ac_file" |
19546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19550 /^X\(\/\/\)[^/].*/{
19563 as_dir="$ac_dir"; as_fn_mkdir_p
19567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19570 # A "..
" for each directory in $ac_dir_suffix.
19571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19572 case $ac_top_builddir_sub in
19573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19577 ac_abs_top_builddir=$ac_pwd
19578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19579 # for backward compatibility:
19580 ac_top_builddir=$ac_top_build_prefix
19583 .) # We are building in place.
19585 ac_top_srcdir=$ac_top_builddir_sub
19586 ac_abs_top_srcdir=$ac_pwd ;;
19587 [\\/]* | ?:[\\/]* ) # Absolute name.
19588 ac_srcdir=$srcdir$ac_dir_suffix;
19589 ac_top_srcdir=$srcdir
19590 ac_abs_top_srcdir=$srcdir ;;
19591 *) # Relative name.
19592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19593 ac_top_srcdir=$ac_top_build_prefix$srcdir
19594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19606 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19607 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19612 # If the template does not know about datarootdir, expand it.
19613 # FIXME: This hack should be removed a few years after 2.60.
19614 ac_datarootdir_hack=; ac_datarootdir_seen=
19625 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
19626 *datarootdir*) ac_datarootdir_seen=yes;;
19627 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
19629 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
19631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19632 ac_datarootdir_hack='
19633 s&@datadir@&$datadir&g
19634 s&@docdir@&$docdir&g
19635 s&@infodir@&$infodir&g
19636 s&@localedir@&$localedir&g
19637 s&@mandir@&$mandir&g
19638 s&\\\${datarootdir}&$datarootdir&g' ;;
19642 # Neutralize VPATH when `$srcdir' = `.'.
19643 # Shell code in configure.ac might set extrasub.
19644 # FIXME: do we really want to maintain this feature?
19645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19646 ac_sed_extra="$ac_vpsub
19649 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19651 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
19652 s
|@configure_input@
|$ac_sed_conf_input|;t t
19653 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19654 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19655 s
&@srcdir@
&$ac_srcdir&;t t
19656 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19657 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19658 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19659 s
&@builddir@
&$ac_builddir&;t t
19660 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19661 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19662 s
&@INSTALL@
&$ac_INSTALL&;t t
19663 $ac_datarootdir_hack
19665 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
19666 || as_fn_error "could not create
$ac_file" "$LINENO" 5
19668 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19669 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
19670 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19672 which seems to be undefined. Please make sure it is defined." >&5
19673 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19674 which seems to be undefined. Please make sure it is defined." >&2;}
19678 -) cat "$tmp/out" && rm -f "$tmp/out";;
19679 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19681 || as_fn_error "could not create $ac_file" "$LINENO" 5
19685 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19686 $as_echo "$as_me: executing $ac_file commands" >&6;}
19691 case $ac_file$ac_mode in
19694 # See if we are running on zsh, and set the options which allow our
19695 # commands through without removal of \ escapes.
19696 if test -n "${ZSH_VERSION+set}" ; then
19697 setopt NO_GLOB_SUBST
19700 cfgfile="${ofile}T"
19701 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19704 cat <<_LT_EOF >> "$cfgfile"
19707 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
19708 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19709 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19710 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19712 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19713 # 2006, 2007, 2008 Free Software Foundation, Inc.
19714 # Written by Gordon Matzigkeit, 1996
19716 # This file is part of GNU Libtool.
19718 # GNU Libtool is free software; you can redistribute it and/or
19719 # modify it under the terms of the GNU General Public License as
19720 # published by the Free Software Foundation; either version 2 of
19721 # the License, or (at your option) any later version.
19723 # As a special exception to the GNU General Public License,
19724 # if you distribute this file as part of a program or library that
19725 # is built using GNU Libtool, you may include this file under the
19726 # same distribution terms that you use for the rest of that program.
19728 # GNU Libtool is distributed in the hope that it will be useful,
19729 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19730 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19731 # GNU General Public License for more details.
19733 # You should have received a copy of the GNU General Public License
19734 # along with GNU Libtool; see the file COPYING. If not, a copy
19735 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19736 # obtained by writing to the Free Software Foundation, Inc.,
19737 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19740 # The names of the tagged configurations supported by this script.
19741 available_tags="CXX "
19743 # ### BEGIN LIBTOOL CONFIG
19745 # Which release of libtool.m4 was used?
19746 macro_version=$macro_version
19747 macro_revision=$macro_revision
19749 # Whether or not to build static libraries.
19750 build_old_libs=$enable_static
19752 # Whether or not to build shared libraries.
19753 build_libtool_libs=$enable_shared
19755 # What type of objects to build.
19758 # Whether or not to optimize for fast installation.
19759 fast_install=$enable_fast_install
19762 host_alias=$host_alias
19766 # The build system.
19767 build_alias=$build_alias
19771 # A sed program that does not truncate output.
19774 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19775 Xsed="\$SED -e 1s/^X//"
19777 # A grep program that handles long lines.
19783 # A literal string matcher.
19786 # A BSD- or MS-compatible name lister.
19789 # Whether we need soft or hard links.
19792 # What is the maximum length of a command?
19793 max_cmd_len=$max_cmd_len
19795 # Object file suffix (normally "o").
19798 # Executable file suffix (normally "").
19801 # whether the shell understands "unset".
19804 # turn spaces into newlines.
19807 # turn newlines into spaces.
19810 # How to create reloadable object files.
19811 reload_flag=$lt_reload_flag
19812 reload_cmds=$lt_reload_cmds
19814 # An object symbol dumper.
19815 OBJDUMP=$lt_OBJDUMP
19817 # Method to check whether dependent libraries are shared objects.
19818 deplibs_check_method=$lt_deplibs_check_method
19820 # Command to use when deplibs_check_method == "file_magic".
19821 file_magic_cmd=$lt_file_magic_cmd
19825 AR_FLAGS=$lt_AR_FLAGS
19827 # A symbol stripping program.
19830 # Commands used to install an old-style archive.
19832 old_postinstall_cmds=$lt_old_postinstall_cmds
19833 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19838 # LTCC compiler flags.
19839 LTCFLAGS=$lt_CFLAGS
19841 # Take the output of nm and produce a listing of raw symbols and C names.
19842 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19844 # Transform the output of nm in a proper C declaration.
19845 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19847 # Transform the output of nm in a C name address pair.
19848 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19850 # Transform the output of nm in a C name address pair when lib prefix is needed.
19851 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19853 # The name of the directory that contains temporary libtool files.
19856 # Shell to use when invoking shell scripts.
19859 # An echo program that does not interpret backslashes.
19862 # Used to examine libraries when file_magic_cmd begins with "file".
19863 MAGIC_CMD=$MAGIC_CMD
19865 # Must we lock files when doing compilation?
19866 need_locks=$lt_need_locks
19868 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19869 DSYMUTIL=$lt_DSYMUTIL
19871 # Tool to change global to local symbols on Mac OS X.
19874 # Tool to manipulate fat objects and archives on Mac OS X.
19877 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19880 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19881 OTOOL64=$lt_OTOOL64
19883 # Old archive suffix (normally "a").
19886 # Shared library suffix (normally ".so").
19887 shrext_cmds=$lt_shrext_cmds
19889 # The commands to extract the exported symbol list from a shared archive.
19890 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19892 # Variables whose values should be saved in libtool wrapper scripts and
19893 # restored at link time.
19894 variables_saved_for_relink=$lt_variables_saved_for_relink
19896 # Do we need the "lib" prefix for modules?
19897 need_lib_prefix=$need_lib_prefix
19899 # Do we need a version for libraries?
19900 need_version=$need_version
19902 # Library versioning type.
19903 version_type=$version_type
19905 # Shared library runtime path variable.
19906 runpath_var=$runpath_var
19908 # Shared library path variable.
19909 shlibpath_var=$shlibpath_var
19911 # Is shlibpath searched before the hard-coded library search path?
19912 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19914 # Format of library name prefix.
19915 libname_spec=$lt_libname_spec
19917 # List of archive names. First name is the real one, the rest are links.
19918 # The last name is the one that the linker finds with -lNAME
19919 library_names_spec=$lt_library_names_spec
19921 # The coded name of the library, if different from the real name.
19922 soname_spec=$lt_soname_spec
19924 # Command to use after installation of a shared archive.
19925 postinstall_cmds=$lt_postinstall_cmds
19927 # Command to use after uninstallation of a shared archive.
19928 postuninstall_cmds=$lt_postuninstall_cmds
19930 # Commands used to finish a libtool library installation in a directory.
19931 finish_cmds=$lt_finish_cmds
19933 # As "finish_cmds", except a single script fragment to be evaled but
19935 finish_eval=$lt_finish_eval
19937 # Whether we should hardcode library paths into libraries.
19938 hardcode_into_libs=$hardcode_into_libs
19940 # Compile-time system search path for libraries.
19941 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19943 # Run-time system search path for libraries.
19944 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19946 # Whether dlopen is supported.
19947 dlopen_support=$enable_dlopen
19949 # Whether dlopen of programs is supported.
19950 dlopen_self=$enable_dlopen_self
19952 # Whether dlopen of statically linked programs is supported.
19953 dlopen_self_static=$enable_dlopen_self_static
19955 # Commands to strip libraries.
19956 old_striplib=$lt_old_striplib
19957 striplib=$lt_striplib
19960 # The linker used to build libraries.
19963 # Commands used to build an old-style archive.
19964 old_archive_cmds=$lt_old_archive_cmds
19966 # A language specific compiler.
19969 # Is the compiler the GNU compiler?
19972 # Compiler flag to turn off builtin functions.
19973 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19975 # How to pass a linker flag through the compiler.
19976 wl=$lt_lt_prog_compiler_wl
19978 # Additional compiler flags for building library objects.
19979 pic_flag=$lt_lt_prog_compiler_pic
19981 # Compiler flag to prevent dynamic linking.
19982 link_static_flag=$lt_lt_prog_compiler_static
19984 # Does compiler simultaneously support -c and -o options?
19985 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19987 # Whether or not to add -lc for building shared libraries.
19988 build_libtool_need_lc=$archive_cmds_need_lc
19990 # Whether or not to disallow shared libs when runtime libs are static.
19991 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19993 # Compiler flag to allow reflexive dlopens.
19994 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19996 # Compiler flag to generate shared objects directly from archives.
19997 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19999 # Whether the compiler copes with passing no objects directly.
20000 compiler_needs_object=$lt_compiler_needs_object
20002 # Create an old-style archive from a shared archive.
20003 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20005 # Create a temporary old-style archive to link instead of a shared archive.
20006 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20008 # Commands used to build a shared archive.
20009 archive_cmds=$lt_archive_cmds
20010 archive_expsym_cmds=$lt_archive_expsym_cmds
20012 # Commands used to build a loadable module if different from building
20013 # a shared archive.
20014 module_cmds=$lt_module_cmds
20015 module_expsym_cmds=$lt_module_expsym_cmds
20017 # Whether we are building with GNU ld or not.
20018 with_gnu_ld=$lt_with_gnu_ld
20020 # Flag that allows shared libraries with undefined symbols to be built.
20021 allow_undefined_flag=$lt_allow_undefined_flag
20023 # Flag that enforces no undefined symbols.
20024 no_undefined_flag=$lt_no_undefined_flag
20026 # Flag to hardcode \$libdir into a binary during linking.
20027 # This must work even if \$libdir does not exist
20028 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20030 # If ld is used when linking, flag to hardcode \$libdir into a binary
20031 # during linking. This must work even if \$libdir does not exist.
20032 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20034 # Whether we need a single "-rpath" flag with a separated argument.
20035 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20038 # DIR into the resulting binary.
20039 hardcode_direct=$hardcode_direct
20041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20042 # DIR into the resulting binary and the resulting library dependency is
20043 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20044 # library is relocated.
20045 hardcode_direct_absolute=$hardcode_direct_absolute
20047 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20048 # into the resulting binary.
20049 hardcode_minus_L=$hardcode_minus_L
20051 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20052 # into the resulting binary.
20053 hardcode_shlibpath_var=$hardcode_shlibpath_var
20055 # Set to "yes" if building a shared library automatically hardcodes DIR
20056 # into the library and all subsequent libraries and executables linked
20058 hardcode_automatic=$hardcode_automatic
20060 # Set to yes if linker adds runtime paths of dependent libraries
20061 # to runtime path list.
20062 inherit_rpath=$inherit_rpath
20064 # Whether libtool must link a program against all its dependency libraries.
20065 link_all_deplibs=$link_all_deplibs
20067 # Fix the shell variable \$srcfile for the compiler.
20068 fix_srcfile_path=$lt_fix_srcfile_path
20070 # Set to "yes" if exported symbols are required.
20071 always_export_symbols=$always_export_symbols
20073 # The commands to list exported symbols.
20074 export_symbols_cmds=$lt_export_symbols_cmds
20076 # Symbols that should not be listed in the preloaded symbols.
20077 exclude_expsyms=$lt_exclude_expsyms
20079 # Symbols that must always be exported.
20080 include_expsyms=$lt_include_expsyms
20082 # Commands necessary for linking programs (against libraries) with templates.
20083 prelink_cmds=$lt_prelink_cmds
20085 # Specify filename containing input files.
20086 file_list_spec=$lt_file_list_spec
20088 # How to hardcode a shared library path into an executable.
20089 hardcode_action=$hardcode_action
20091 # The directories searched by this compiler when creating a shared library.
20092 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20094 # Dependencies to place before and after the objects being linked to
20095 # create a shared library.
20096 predep_objects=$lt_predep_objects
20097 postdep_objects=$lt_postdep_objects
20098 predeps=$lt_predeps
20099 postdeps=$lt_postdeps
20101 # The library search path used internally by the compiler when linking
20102 # a shared library.
20103 compiler_lib_search_path=$lt_compiler_lib_search_path
20105 # ### END LIBTOOL CONFIG
20111 cat <<\_LT_EOF >> "$cfgfile"
20112 # AIX sometimes has problems with the GCC collect2 program. For some
20113 # reason, if we set the COLLECT_NAMES environment variable, the problems
20114 # vanish in a puff of smoke.
20115 if test "X${COLLECT_NAMES+set}" != Xset; then
20117 export COLLECT_NAMES
20124 ltmain="$ac_aux_dir/ltmain.sh"
20127 # We use sed instead of cat because bash on DJGPP gets confused if
20128 # if finds mixed CR/LF and LF-only lines. Since sed operates in
20129 # text mode, it properly converts lines to CR/LF. This bash problem
20130 # is reportedly fixed, but why not run on old versions too?
20131 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20132 || (rm -f "$cfgfile"; exit 1)
20136 cat << \_LT_EOF
>> "$cfgfile"
20138 # func_dirname file append nondir_replacement
20139 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20140 # otherwise set result to NONDIR_REPLACEMENT.
20144 */*) func_dirname_result
="${1%/*}${2}" ;;
20145 * ) func_dirname_result
="${3}" ;;
20149 # func_basename file
20152 func_basename_result
="${1##*/}"
20155 # func_dirname_and_basename file append nondir_replacement
20156 # perform func_basename and func_dirname in a single function
20158 # dirname: Compute the dirname of FILE. If nonempty,
20159 # add APPEND to the result, otherwise set result
20160 # to NONDIR_REPLACEMENT.
20161 # value returned in "$func_dirname_result"
20162 # basename: Compute filename of FILE.
20163 # value retuned in "$func_basename_result"
20164 # Implementation must be kept synchronized with func_dirname
20165 # and func_basename. For efficiency, we do not delegate to
20166 # those functions but instead duplicate the functionality here.
20167 func_dirname_and_basename
()
20170 */*) func_dirname_result
="${1%/*}${2}" ;;
20171 * ) func_dirname_result
="${3}" ;;
20173 func_basename_result
="${1##*/}"
20176 # func_stripname prefix suffix name
20177 # strip PREFIX and SUFFIX off of NAME.
20178 # PREFIX and SUFFIX must not contain globbing or regex special
20179 # characters, hashes, percent signs, but SUFFIX may contain a leading
20180 # dot (in which case that matches only a dot).
20183 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20184 # positional parameters, so assign one to ordinary parameter first.
20185 func_stripname_result
=${3}
20186 func_stripname_result
=${func_stripname_result#"${1}"}
20187 func_stripname_result
=${func_stripname_result%"${2}"}
20193 func_opt_split_opt
=${1%%=*}
20194 func_opt_split_arg
=${1#*=}
20201 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
20202 *) func_lo2o_result
=${1} ;;
20206 # func_xform libobj-or-source
20209 func_xform_result
=${1%.*}.lo
20212 # func_arith arithmetic-term...
20215 func_arith_result
=$(( $* ))
20219 # STRING may not start with a hyphen.
20222 func_len_result
=${#1}
20227 *) # Bourne compatible functions.
20228 cat << \_LT_EOF
>> "$cfgfile"
20230 # func_dirname file append nondir_replacement
20231 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
20232 # otherwise set result to NONDIR_REPLACEMENT.
20235 # Extract subdirectory from the argument.
20236 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20237 if test "X$func_dirname_result" = "X${1}"; then
20238 func_dirname_result
="${3}"
20240 func_dirname_result
="$func_dirname_result${2}"
20244 # func_basename file
20247 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
20251 # func_stripname prefix suffix name
20252 # strip PREFIX and SUFFIX off of NAME.
20253 # PREFIX and SUFFIX must not contain globbing or regex special
20254 # characters, hashes, percent signs, but SUFFIX may contain a leading
20255 # dot (in which case that matches only a dot).
20256 # func_strip_suffix prefix name
20260 .
*) func_stripname_result
=`$ECHO "X${3}" \
20261 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20262 *) func_stripname_result
=`$ECHO "X${3}" \
20263 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20268 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
20269 my_sed_long_arg
='1s/^-[^=]*=//'
20274 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20275 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20281 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20284 # func_xform libobj-or-source
20287 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20290 # func_arith arithmetic-term...
20293 func_arith_result
=`expr "$@"`
20297 # STRING may not start with a hyphen.
20300 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20306 case $lt_shell_append in
20308 cat << \_LT_EOF
>> "$cfgfile"
20310 # func_append var value
20311 # Append VALUE to the end of shell variable VAR.
20319 cat << \_LT_EOF
>> "$cfgfile"
20321 # func_append var value
20322 # Append VALUE to the end of shell variable VAR.
20333 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20334 || (rm -f "$cfgfile"; exit 1)
20336 mv -f "$cfgfile" "$ofile" ||
20337 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20341 cat <<_LT_EOF >> "$ofile"
20343 # ### BEGIN LIBTOOL TAG CONFIG: CXX
20345 # The linker used to build libraries.
20348 # Commands used to build an old-style archive.
20349 old_archive_cmds=$lt_old_archive_cmds_CXX
20351 # A language specific compiler.
20352 CC=$lt_compiler_CXX
20354 # Is the compiler the GNU compiler?
20357 # Compiler flag to turn off builtin functions.
20358 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20360 # How to pass a linker flag through the compiler.
20361 wl=$lt_lt_prog_compiler_wl_CXX
20363 # Additional compiler flags for building library objects.
20364 pic_flag=$lt_lt_prog_compiler_pic_CXX
20366 # Compiler flag to prevent dynamic linking.
20367 link_static_flag=$lt_lt_prog_compiler_static_CXX
20369 # Does compiler simultaneously support -c and -o options?
20370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20372 # Whether or not to add -lc for building shared libraries.
20373 build_libtool_need_lc=$archive_cmds_need_lc_CXX
20375 # Whether or not to disallow shared libs when runtime libs are static.
20376 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20378 # Compiler flag to allow reflexive dlopens.
20379 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20381 # Compiler flag to generate shared objects directly from archives.
20382 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20384 # Whether the compiler copes with passing no objects directly.
20385 compiler_needs_object=$lt_compiler_needs_object_CXX
20387 # Create an old-style archive from a shared archive.
20388 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20390 # Create a temporary old-style archive to link instead of a shared archive.
20391 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20393 # Commands used to build a shared archive.
20394 archive_cmds=$lt_archive_cmds_CXX
20395 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20397 # Commands used to build a loadable module if different from building
20398 # a shared archive.
20399 module_cmds=$lt_module_cmds_CXX
20400 module_expsym_cmds=$lt_module_expsym_cmds_CXX
20402 # Whether we are building with GNU ld or not.
20403 with_gnu_ld=$lt_with_gnu_ld_CXX
20405 # Flag that allows shared libraries with undefined symbols to be built.
20406 allow_undefined_flag=$lt_allow_undefined_flag_CXX
20408 # Flag that enforces no undefined symbols.
20409 no_undefined_flag=$lt_no_undefined_flag_CXX
20411 # Flag to hardcode \$libdir into a binary during linking.
20412 # This must work even if \$libdir does not exist
20413 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20415 # If ld is used when linking, flag to hardcode \$libdir into a binary
20416 # during linking. This must work even if \$libdir does not exist.
20417 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20419 # Whether we need a single "-rpath" flag with a separated argument.
20420 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20422 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20423 # DIR into the resulting binary.
20424 hardcode_direct=$hardcode_direct_CXX
20426 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20427 # DIR into the resulting binary and the resulting library dependency is
20428 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20429 # library is relocated.
20430 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20432 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20433 # into the resulting binary.
20434 hardcode_minus_L=$hardcode_minus_L_CXX
20436 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20437 # into the resulting binary.
20438 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20440 # Set to "yes" if building a shared library automatically hardcodes DIR
20441 # into the library and all subsequent libraries and executables linked
20443 hardcode_automatic=$hardcode_automatic_CXX
20445 # Set to yes if linker adds runtime paths of dependent libraries
20446 # to runtime path list.
20447 inherit_rpath=$inherit_rpath_CXX
20449 # Whether libtool must link a program against all its dependency libraries.
20450 link_all_deplibs=$link_all_deplibs_CXX
20452 # Fix the shell variable \$srcfile for the compiler.
20453 fix_srcfile_path=$lt_fix_srcfile_path_CXX
20455 # Set to "yes" if exported symbols are required.
20456 always_export_symbols=$always_export_symbols_CXX
20458 # The commands to list exported symbols.
20459 export_symbols_cmds=$lt_export_symbols_cmds_CXX
20461 # Symbols that should not be listed in the preloaded symbols.
20462 exclude_expsyms=$lt_exclude_expsyms_CXX
20464 # Symbols that must always be exported.
20465 include_expsyms=$lt_include_expsyms_CXX
20467 # Commands necessary for linking programs (against libraries) with templates.
20468 prelink_cmds=$lt_prelink_cmds_CXX
20470 # Specify filename containing input files.
20471 file_list_spec=$lt_file_list_spec_CXX
20473 # How to hardcode a shared library path into an executable.
20474 hardcode_action=$hardcode_action_CXX
20476 # The directories searched by this compiler when creating a shared library.
20477 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20479 # Dependencies to place before and after the objects being linked to
20480 # create a shared library.
20481 predep_objects=$lt_predep_objects_CXX
20482 postdep_objects=$lt_postdep_objects_CXX
20483 predeps=$lt_predeps_CXX
20484 postdeps=$lt_postdeps_CXX
20486 # The library search path used internally by the compiler when linking
20487 # a shared library.
20488 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20490 # ### END LIBTOOL TAG CONFIG: CXX
20501 ac_clean_files
=$ac_clean_files_save
20503 test $ac_write_fail = 0 ||
20504 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
20507 # configure is writing to config.log, and then calls config.status.
20508 # config.status does its own redirection, appending to config.log.
20509 # Unfortunately, on DOS this fails, as config.log is still kept open
20510 # by configure, so config.status won't be able to write to it; its
20511 # output is simply discarded. So we exec the FD to /dev/null,
20512 # effectively closing config.log, so it can be properly (re)opened and
20513 # appended to by config.status. When coming back to configure, we
20514 # need to make the FD available again.
20515 if test "$no_create" != yes; then
20517 ac_config_status_args
=
20518 test "$silent" = yes &&
20519 ac_config_status_args
="$ac_config_status_args --quiet"
20521 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
20523 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20524 # would make configure fail if this is the last instruction.
20525 $ac_cs_success || as_fn_exit $?
20527 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20529 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}