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
863 enable_universal_binary
870 ac_precious_vars
='build_alias
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 ac_unrecognized_opts
=
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
910 program_transform_name
=s
,x
,x
,
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir
='${exec_prefix}/bin'
925 sbindir
='${exec_prefix}/sbin'
926 libexecdir
='${exec_prefix}/libexec'
927 datarootdir
='${prefix}/share'
928 datadir
='${datarootdir}'
929 sysconfdir
='${prefix}/etc'
930 sharedstatedir
='${prefix}/com'
931 localstatedir
='${prefix}/var'
932 includedir
='${prefix}/include'
933 oldincludedir
='/usr/include'
934 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir
='${datarootdir}/info'
940 libdir
='${exec_prefix}/lib'
941 localedir
='${datarootdir}/locale'
942 mandir
='${datarootdir}/man'
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\
$ac_option
956 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
960 # Accept the important Cygnus configure options, so we can diagnose typos.
962 case $ac_dashdash$ac_option in
966 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
971 -build | --build | --buil | --bui | --bu)
972 ac_prev
=build_alias
;;
973 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
974 build_alias
=$ac_optarg ;;
976 -cache-file | --cache-file | --cache-fil | --cache-fi \
977 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
978 ac_prev
=cache_file
;;
979 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
980 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
981 cache_file
=$ac_optarg ;;
984 cache_file
=config.cache
;;
986 -datadir | --datadir | --datadi | --datad)
988 -datadir=* | --datadir=* | --datadi=* | --datad=*)
989 datadir
=$ac_optarg ;;
991 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
992 | --dataroo | --dataro | --datar)
993 ac_prev
=datarootdir
;;
994 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
995 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
996 datarootdir
=$ac_optarg ;;
998 -disable-* | --disable-*)
999 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1002 as_fn_error
"invalid feature name: $ac_useropt"
1003 ac_useropt_orig
=$ac_useropt
1004 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "enable_
$ac_useropt"
1009 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1010 ac_unrecognized_sep
=', ';;
1012 eval enable_
$ac_useropt=no
;;
1014 -docdir | --docdir | --docdi | --doc | --do)
1016 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1017 docdir
=$ac_optarg ;;
1019 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1022 dvidir
=$ac_optarg ;;
1024 -enable-* | --enable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=\
$ac_optarg ;;
1040 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1041 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1042 | --exec | --exe | --ex)
1043 ac_prev
=exec_prefix
;;
1044 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1045 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1046 | --exec=* | --exe=* | --ex=*)
1047 exec_prefix
=$ac_optarg ;;
1049 -gas | --gas | --ga | --g)
1050 # Obsolete; use --with-gas.
1053 -help | --help | --hel | --he | -h)
1054 ac_init_help
=long
;;
1055 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1056 ac_init_help
=recursive
;;
1057 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1058 ac_init_help
=short
;;
1060 -host | --host | --hos | --ho)
1061 ac_prev
=host_alias
;;
1062 -host=* | --host=* | --hos=* | --ho=*)
1063 host_alias
=$ac_optarg ;;
1065 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 htmldir
=$ac_optarg ;;
1071 -includedir | --includedir | --includedi | --included | --include \
1072 | --includ | --inclu | --incl | --inc)
1073 ac_prev
=includedir
;;
1074 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1075 | --includ=* | --inclu=* | --incl=* | --inc=*)
1076 includedir
=$ac_optarg ;;
1078 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1081 infodir
=$ac_optarg ;;
1083 -libdir | --libdir | --libdi | --libd)
1085 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1086 libdir
=$ac_optarg ;;
1088 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1089 | --libexe | --libex | --libe)
1090 ac_prev
=libexecdir
;;
1091 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1092 | --libexe=* | --libex=* | --libe=*)
1093 libexecdir
=$ac_optarg ;;
1095 -localedir | --localedir | --localedi | --localed | --locale)
1096 ac_prev
=localedir
;;
1097 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1098 localedir
=$ac_optarg ;;
1100 -localstatedir | --localstatedir | --localstatedi | --localstated \
1101 | --localstate | --localstat | --localsta | --localst | --locals)
1102 ac_prev
=localstatedir
;;
1103 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1104 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1105 localstatedir
=$ac_optarg ;;
1107 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1110 mandir
=$ac_optarg ;;
1112 -nfp | --nfp | --nf)
1113 # Obsolete; use --without-fp.
1116 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1117 | --no-cr | --no-c | -n)
1120 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1121 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1124 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1125 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1126 | --oldin | --oldi | --old | --ol | --o)
1127 ac_prev
=oldincludedir
;;
1128 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1129 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1130 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1131 oldincludedir
=$ac_optarg ;;
1133 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1136 prefix
=$ac_optarg ;;
1138 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1139 | --program-pre | --program-pr | --program-p)
1140 ac_prev
=program_prefix
;;
1141 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1142 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1143 program_prefix
=$ac_optarg ;;
1145 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1146 | --program-suf | --program-su | --program-s)
1147 ac_prev
=program_suffix
;;
1148 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1149 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1150 program_suffix
=$ac_optarg ;;
1152 -program-transform-name | --program-transform-name \
1153 | --program-transform-nam | --program-transform-na \
1154 | --program-transform-n | --program-transform- \
1155 | --program-transform | --program-transfor \
1156 | --program-transfo | --program-transf \
1157 | --program-trans | --program-tran \
1158 | --progr-tra | --program-tr | --program-t)
1159 ac_prev
=program_transform_name
;;
1160 -program-transform-name=* | --program-transform-name=* \
1161 | --program-transform-nam=* | --program-transform-na=* \
1162 | --program-transform-n=* | --program-transform-=* \
1163 | --program-transform=* | --program-transfor=* \
1164 | --program-transfo=* | --program-transf=* \
1165 | --program-trans=* | --program-tran=* \
1166 | --progr-tra=* | --program-tr=* | --program-t=*)
1167 program_transform_name
=$ac_optarg ;;
1169 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1172 pdfdir
=$ac_optarg ;;
1174 -psdir | --psdir | --psdi | --psd | --ps)
1176 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1180 | -silent | --silent | --silen | --sile | --sil)
1183 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 sbindir
=$ac_optarg ;;
1189 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1190 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1191 | --sharedst | --shareds | --shared | --share | --shar \
1193 ac_prev
=sharedstatedir
;;
1194 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1195 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1196 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 sharedstatedir
=$ac_optarg ;;
1200 -site | --site | --sit)
1202 -site=* | --site=* | --sit=*)
1205 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1208 srcdir
=$ac_optarg ;;
1210 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1211 | --syscon | --sysco | --sysc | --sys | --sy)
1212 ac_prev
=sysconfdir
;;
1213 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1214 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1215 sysconfdir
=$ac_optarg ;;
1217 -target | --target | --targe | --targ | --tar | --ta | --t)
1218 ac_prev
=target_alias
;;
1219 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1220 target_alias
=$ac_optarg ;;
1222 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1225 -version | --version | --versio | --versi | --vers | -V)
1226 ac_init_version
=: ;;
1229 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1232 as_fn_error
"invalid package name: $ac_useropt"
1233 ac_useropt_orig
=$ac_useropt
1234 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1239 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1240 ac_unrecognized_sep
=', ';;
1242 eval with_
$ac_useropt=\
$ac_optarg ;;
1244 -without-* | --without-*)
1245 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1248 as_fn_error
"invalid package name: $ac_useropt"
1249 ac_useropt_orig
=$ac_useropt
1250 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251 case $ac_user_opts in
1255 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1256 ac_unrecognized_sep
=', ';;
1258 eval with_
$ac_useropt=no
;;
1261 # Obsolete; use --with-x.
1264 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1265 | --x-incl | --x-inc | --x-in | --x-i)
1266 ac_prev
=x_includes
;;
1267 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1268 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1269 x_includes
=$ac_optarg ;;
1271 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1272 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1273 ac_prev
=x_libraries
;;
1274 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1275 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1276 x_libraries
=$ac_optarg ;;
1278 -*) as_fn_error
"unrecognized option: \`$ac_option'
1279 Try \`$0 --help' for more information."
1283 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 case $ac_envvar in #(
1286 '' | [0-9]* | *[!_$as_cr_alnum]* )
1287 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1289 eval $ac_envvar=\
$ac_optarg
1290 export $ac_envvar ;;
1293 # FIXME: should be removed in autoconf 3.0.
1294 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1295 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1296 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1297 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1303 if test -n "$ac_prev"; then
1304 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1305 as_fn_error
"missing argument to $ac_option"
1308 if test -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1311 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316 # Check all directory arguments for consistency.
1317 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val
=\$
$ac_var
1323 # Remove trailing slashes.
1326 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\
$ac_val;;
1329 # Be sure to have absolute directory names.
1331 [\\/$
]* | ?
:[\\/]* ) continue;;
1332 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1334 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1342 target
=$target_alias
1344 # FIXME: To remove some day.
1345 if test "x$host_alias" != x
; then
1346 if test "x$build_alias" = x
; then
1347 cross_compiling
=maybe
1348 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1349 If a cross compiler is detected then cross compile mode will be used." >&2
1350 elif test "x$build_alias" != "x$host_alias"; then
1356 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1358 test "$silent" = yes && exec 6>/dev
/null
1361 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di
=`ls -di .` &&
1363 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1364 as_fn_error
"working directory cannot be determined"
1365 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366 as_fn_error
"pwd does not report name of working directory"
1369 # Find the source files, if location was not specified.
1370 if test -z "$srcdir"; then
1371 ac_srcdir_defaulted
=yes
1372 # Try the directory containing this script, then the parent directory.
1373 ac_confdir
=`$as_dirname -- "$as_myself" ||
1374 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375 X"$as_myself" : 'X\(//\)[^/]' \| \
1376 X"$as_myself" : 'X\(//\)$' \| \
1377 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378 $as_echo X"$as_myself" |
1379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1397 if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted
=no
1403 if test ! -r "$srcdir/$ac_unique_file"; then
1404 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1405 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1407 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 # When building in place, set srcdir=.
1412 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415 # Remove unnecessary trailing slashes from srcdir.
1416 # Double slashes in file names in object file debugging info
1417 # mess up M-x gdb in Emacs.
1419 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 for ac_var
in $ac_precious_vars; do
1422 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1423 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1424 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1425 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1429 # Report the --help message.
1431 if test "$ac_init_help" = "long"; then
1432 # Omit some internal or obsolete options to make the list less imposing.
1433 # This message is too long to be a string in the A/UX 3.1 sh.
1435 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1437 Usage: $0 [OPTION]... [VAR=VALUE]...
1439 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440 VAR=VALUE. See below for descriptions of some of the useful variables.
1442 Defaults for the options are specified in brackets.
1445 -h, --help display this help and exit
1446 --help=short display options specific to this package
1447 --help=recursive display the short help of all the included packages
1448 -V, --version display version information and exit
1449 -q, --quiet, --silent do not print \`checking...' messages
1450 --cache-file=FILE cache test results in FILE [disabled]
1451 -C, --config-cache alias for \`--cache-file=config.cache'
1452 -n, --no-create do not create output files
1453 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455 Installation directories:
1456 --prefix=PREFIX install architecture-independent files in PREFIX
1457 [$ac_default_prefix]
1458 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1461 By default, \`make install' will install all the files in
1462 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1463 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464 for instance \`--prefix=\$HOME'.
1466 For better control, use the options below.
1468 Fine tuning of the installation directories:
1469 --bindir=DIR user executables [EPREFIX/bin]
1470 --sbindir=DIR system admin executables [EPREFIX/sbin]
1471 --libexecdir=DIR program executables [EPREFIX/libexec]
1472 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1473 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1474 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1475 --libdir=DIR object code libraries [EPREFIX/lib]
1476 --includedir=DIR C header files [PREFIX/include]
1477 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1478 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1479 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1480 --infodir=DIR info documentation [DATAROOTDIR/info]
1481 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1482 --mandir=DIR man documentation [DATAROOTDIR/man]
1483 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1484 --htmldir=DIR html documentation [DOCDIR]
1485 --dvidir=DIR dvi documentation [DOCDIR]
1486 --pdfdir=DIR pdf documentation [DOCDIR]
1487 --psdir=DIR ps documentation [DOCDIR]
1493 --build=BUILD configure
for building on BUILD
[guessed
]
1494 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1498 if test -n "$ac_init_help"; then
1499 case $ac_init_help in
1500 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1505 --disable-option-checking ignore unrecognized
--enable/--with options
1506 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1507 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1508 --enable-static[=PKGS
] build static libraries
[default
=no
]
1509 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1510 --enable-fast-install[=PKGS
]
1511 optimize
for fast installation
[default
=yes]
1512 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1513 --disable-universal-binary
1514 do not build with universal binary support on Darwin
1515 --enable-javascript[=ENGINE
]
1516 use a JavaScript runtime
(currently the only
1517 available option
for ENGINE is JavaScriptCore
)
1519 --disable-rpath do not hardcode runtime library paths
1522 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1523 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1524 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1526 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1527 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1528 path
for frameworks with
-F
1529 --with-apr=PATH prefix
for installed APR or the full path to
1531 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1532 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1533 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1535 Some influential environment variables:
1536 CC C compiler command
1537 CFLAGS C compiler flags
1538 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1539 nonstandard directory <lib dir>
1540 LIBS libraries to pass to the linker, e.g. -l<library>
1541 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1542 you have headers in a nonstandard directory <include dir>
1544 PKG_CONFIG path to pkg-config utility
1545 BISON GNU Project parser generator (yacc replacement)
1546 FLEX the fast lexical analyser generator
1547 GPERF perfect hash function generator
1548 CXX C++ compiler command
1549 CXXFLAGS C++ compiler flags
1550 CXXCPP C++ preprocessor
1551 OBJCXX Objective C++ compiler command
1552 OBJCXXFLAGS Objective C++ compiler flags
1554 C compiler flags for WEBKIT, overriding pkg-config
1555 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1557 C compiler flags for LIBFFI, overriding pkg-config
1558 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1560 prints information about the current gnustep installation
1562 Use these variables to override the choices made by `configure' or to
help
1563 it to
find libraries and programs with nonstandard names
/locations.
1565 Report bugs to
<saurik@saurik.com
>.
1566 Cycript home page
: <http
://www.cycript.org
/>.
1571 if test "$ac_init_help" = "recursive"; then
1572 # If there are subdirs, report their specific --help.
1573 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1574 test -d "$ac_dir" ||
1575 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1580 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1582 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1583 # A ".." for each directory in $ac_dir_suffix.
1584 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1585 case $ac_top_builddir_sub in
1586 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1587 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1590 ac_abs_top_builddir
=$ac_pwd
1591 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1592 # for backward compatibility:
1593 ac_top_builddir
=$ac_top_build_prefix
1596 .
) # We are building in place.
1598 ac_top_srcdir
=$ac_top_builddir_sub
1599 ac_abs_top_srcdir
=$ac_pwd ;;
1600 [\\/]* | ?
:[\\/]* ) # Absolute name.
1601 ac_srcdir
=$srcdir$ac_dir_suffix;
1602 ac_top_srcdir
=$srcdir
1603 ac_abs_top_srcdir
=$srcdir ;;
1605 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1606 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1607 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1609 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1611 cd "$ac_dir" || { ac_status
=$?
; continue; }
1612 # Check for guested configure.
1613 if test -f "$ac_srcdir/configure.gnu"; then
1615 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1616 elif test -f "$ac_srcdir/configure"; then
1618 $SHELL "$ac_srcdir/configure" --help=recursive
1620 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1622 cd "$ac_pwd" || { ac_status
=$?
; break; }
1626 test -n "$ac_init_help" && exit $ac_status
1627 if $ac_init_version; then
1629 Cycript configure
0.9
1630 generated by GNU Autoconf
2.65
1632 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1633 This configure
script is free software
; the Free Software Foundation
1634 gives unlimited permission to copy
, distribute and modify it.
1639 ## ------------------------ ##
1640 ## Autoconf initialization. ##
1641 ## ------------------------ ##
1643 # ac_fn_c_try_compile LINENO
1644 # --------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_compile
()
1648 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1649 rm -f conftest.
$ac_objext
1650 if { { ac_try
="$ac_compile"
1652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_compile") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest.$ac_objext; then :
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1677 as_fn_set_status $ac_retval
1679 } # ac_fn_c_try_compile
1681 # ac_fn_c_try_link LINENO
1682 # -----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext conftest$ac_exeext
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1691 *) ac_try_echo
=$ac_try;;
1693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>conftest.err
1697 if test -s conftest.err
; then
1698 grep -v '^ *+' conftest.err
>conftest.er1
1699 cat conftest.er1
>&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest
$ac_exeext && {
1707 test "$cross_compiling" = yes ||
1708 $as_test_x conftest
$ac_exeext
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.
$ac_ext >&5
1717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1719 # interfere with the next link command; also delete a directory that is
1720 # left behind by Apple's compiler. We do this before executing the actions.
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1723 as_fn_set_status
$ac_retval
1725 } # ac_fn_c_try_link
1727 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1728 # -------------------------------------------------------
1729 # Tests whether HEADER exists and can be compiled using the include files in
1730 # INCLUDES, setting the cache variable VAR accordingly.
1731 ac_fn_c_check_header_compile
()
1733 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1737 $as_echo_n "(cached) " >&6
1739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1744 if ac_fn_c_try_compile
"$LINENO"; then :
1749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753 $as_echo "$ac_res" >&6; }
1754 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1756 } # ac_fn_c_check_header_compile
1758 # ac_fn_c_try_cpp LINENO
1759 # ----------------------
1760 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } >/dev/null && {
1780 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1781 test ! -s conftest.err
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1791 as_fn_set_status $ac_retval
1795 # ac_fn_c_try_run LINENO
1796 # ----------------------
1797 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1798 # that executables *can* be run.
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if { { ac_try="$ac_link"
1804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1805 *) ac_try_echo
=$ac_try;;
1807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1808 $as_echo "$ac_try_echo"; } >&5
1809 (eval "$ac_link") 2>&5
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1813 { { case "(($ac_try" in
1814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_try") 2>&5
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; }; }; then :
1825 $as_echo "$as_me: program exited with status $ac_status" >&5
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=$ac_status
1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 as_fn_set_status $ac_retval
1837 # ac_fn_c_check_func LINENO FUNC VAR
1838 # ----------------------------------
1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1840 ac_fn_c_check_func ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1846 $as_echo_n "(cached) " >&6
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1852 #define $2 innocuous_$2
1854 /* System header to define __stub macros and hopefully few prototypes,
1855 which can conflict with char $2 (); below.
1856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1857 <limits.h> exists even on freestanding compilers. */
1860 # include <limits.h>
1862 # include <assert.h>
1867 /* Override any GCC internal prototype to avoid an error.
1868 Use char because int might match the return type of a GCC
1869 builtin and then its argument prototype would still apply. */
1874 /* The GNU C library defines this for functions which it implements
1875 to always fail with ENOSYS. Some functions are actually named
1876 something starting with __ and the normal name is an alias. */
1877 #if defined __stub_$2 || defined __stub___$2
1889 if ac_fn_c_try_link "$LINENO"; then :
1894 rm -f core conftest.err conftest.$ac_objext \
1895 conftest$ac_exeext conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_func
1904 # ac_fn_cxx_try_compile LINENO
1905 # ----------------------------
1906 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1907 ac_fn_cxx_try_compile ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 rm -f conftest.$ac_objext
1911 if { { ac_try="$ac_compile"
1913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1914 *) ac_try_echo
=$ac_try;;
1916 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_compile") 2>conftest.err
1920 if test -s conftest.err
; then
1921 grep -v '^ *+' conftest.err
>conftest.er1
1922 cat conftest.er1
>&5
1923 mv -f conftest.er1 conftest.err
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } && {
1927 test -z "$ac_cxx_werror_flag" ||
1928 test ! -s conftest.err
1929 } && test -s conftest.
$ac_objext; then :
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.
$ac_ext >&5
1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_cxx_try_compile
1942 # ac_fn_cxx_try_cpp LINENO
1943 # ------------------------
1944 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_cxx_try_cpp
()
1947 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1948 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1951 *) ac_try_echo=$ac_try;;
1953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1954 $as_echo "$ac_try_echo"; } >&5
1955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1957 if test -s conftest.err; then
1958 grep -v '^ *+' conftest.err >conftest.er1
1959 cat conftest.er1 >&5
1960 mv -f conftest.er1 conftest.err
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; } >/dev/null && {
1964 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1965 test ! -s conftest.err
1969 $as_echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.$ac_ext >&5
1974 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975 as_fn_set_status $ac_retval
1977 } # ac_fn_cxx_try_cpp
1979 # ac_fn_cxx_try_link LINENO
1980 # -------------------------
1981 # Try to link conftest.$ac_ext, and return whether this succeeded.
1982 ac_fn_cxx_try_link ()
1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1985 rm -f conftest.$ac_objext conftest$ac_exeext
1986 if { { ac_try="$ac_link"
1988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1989 *) ac_try_echo
=$ac_try;;
1991 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1992 $as_echo "$ac_try_echo"; } >&5
1993 (eval "$ac_link") 2>conftest.err
1995 if test -s conftest.err
; then
1996 grep -v '^ *+' conftest.err
>conftest.er1
1997 cat conftest.er1
>&5
1998 mv -f conftest.er1 conftest.err
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } && {
2002 test -z "$ac_cxx_werror_flag" ||
2003 test ! -s conftest.err
2004 } && test -s conftest
$ac_exeext && {
2005 test "$cross_compiling" = yes ||
2006 $as_test_x conftest
$ac_exeext
2010 $as_echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2016 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2017 # interfere with the next link command; also delete a directory that is
2018 # left behind by Apple's compiler. We do this before executing the actions.
2019 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2020 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2021 as_fn_set_status
$ac_retval
2023 } # ac_fn_cxx_try_link
2025 # ac_fn_objcxx_try_compile LINENO
2026 # -------------------------------
2027 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2028 ac_fn_objcxx_try_compile
()
2030 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2031 rm -f conftest.
$ac_objext
2032 if { { ac_try
="$ac_compile"
2034 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_compile") 2>conftest.err
2041 if test -s conftest.err; then
2042 grep -v '^ *+' conftest.err >conftest.er1
2043 cat conftest.er1 >&5
2044 mv -f conftest.er1 conftest.err
2046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2047 test $ac_status = 0; } && {
2048 test -z "$ac_objcxx_werror_flag" ||
2049 test ! -s conftest.err
2050 } && test -s conftest.$ac_objext; then :
2053 $as_echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2058 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2059 as_fn_set_status $ac_retval
2061 } # ac_fn_objcxx_try_compile
2063 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2064 # ---------------------------------------------------------
2065 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2066 # the include files in INCLUDES and setting the cache variable VAR
2068 ac_fn_cxx_check_header_mongrel ()
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2073 $as_echo_n "checking for $2... " >&6; }
2074 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2075 $as_echo_n "(cached) " >&6
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2081 # Is the header compilable?
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2083 $as_echo_n "checking $2 usability... " >&6; }
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2089 if ac_fn_cxx_try_compile "$LINENO"; then :
2090 ac_header_compiler=yes
2092 ac_header_compiler=no
2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2096 $as_echo "$ac_header_compiler" >&6; }
2098 # Is the header present?
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2100 $as_echo_n "checking $2 presence... " >&6; }
2101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2105 if ac_fn_cxx_try_cpp "$LINENO"; then :
2106 ac_header_preproc=yes
2108 ac_header_preproc=no
2110 rm -f conftest.err conftest.$ac_ext
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2112 $as_echo "$ac_header_preproc" >&6; }
2114 # So? What about this header?
2115 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2118 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2120 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2124 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2126 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2128 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2130 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2132 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 ## -------------------------------- ##
2135 ## Report this to saurik@saurik.com ##
2136 ## -------------------------------- ##
2138 ) | sed "s/^/$as_me: WARNING: /" >&2
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2146 eval "$3=\$ac_header_compiler"
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2154 } # ac_fn_cxx_check_header_mongrel
2156 # ac_fn_objcxx_try_link LINENO
2157 # ----------------------------
2158 # Try to link conftest.$ac_ext, and return whether this succeeded.
2159 ac_fn_objcxx_try_link ()
2161 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2162 rm -f conftest.$ac_objext conftest$ac_exeext
2163 if { { ac_try="$ac_link"
2165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2166 *) ac_try_echo
=$ac_try;;
2168 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2169 $as_echo "$ac_try_echo"; } >&5
2170 (eval "$ac_link") 2>conftest.err
2172 if test -s conftest.err
; then
2173 grep -v '^ *+' conftest.err
>conftest.er1
2174 cat conftest.er1
>&5
2175 mv -f conftest.er1 conftest.err
2177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2178 test $ac_status = 0; } && {
2179 test -z "$ac_objcxx_werror_flag" ||
2180 test ! -s conftest.err
2181 } && test -s conftest
$ac_exeext && {
2182 test "$cross_compiling" = yes ||
2183 $as_test_x conftest
$ac_exeext
2187 $as_echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2192 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2193 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2194 # interfere with the next link command; also delete a directory that is
2195 # left behind by Apple's compiler. We do this before executing the actions.
2196 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2197 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2198 as_fn_set_status
$ac_retval
2200 } # ac_fn_objcxx_try_link
2201 cat >config.log
<<_ACEOF
2202 This file contains any messages produced by compilers while
2203 running configure, to aid debugging if configure makes a mistake.
2205 It was created by Cycript $as_me 0.9, which was
2206 generated by GNU Autoconf 2.65. Invocation command line was
2218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2230 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir
=.
2242 $as_echo "PATH: $as_dir"
2258 # Keep a trace of the command line.
2259 # Strip out --no-create and --no-recursion so they do not pile up.
2260 # Strip out --silent because we don't want to record it for future runs.
2261 # Also quote any args containing shell meta-characters.
2262 # Make two passes to allow for proper duplicate-argument suppression.
2266 ac_must_keep_next
=false
2272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2274 | -silent | --silent | --silen | --sile | --sil)
2277 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2280 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2282 as_fn_append ac_configure_args1
" '$ac_arg'"
2283 if test $ac_must_keep_next = true
; then
2284 ac_must_keep_next
=false
# Got value, back to normal.
2287 *=* | --config-cache | -C | -disable-* | --disable-* \
2288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2290 | -with-* | --with-* | -without-* | --without-* | --x)
2291 case "$ac_configure_args0 " in
2292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2295 -* ) ac_must_keep_next
=true
;;
2298 as_fn_append ac_configure_args
" '$ac_arg'"
2303 { ac_configure_args0
=; unset ac_configure_args0
;}
2304 { ac_configure_args1
=; unset ac_configure_args1
;}
2306 # When interrupted or exit'd, cleanup temporary files, and complete
2307 # config.log. We remove comments because anyway the quotes in there
2308 # would cause problems or look ugly.
2309 # WARNING: Use '\'' to represent an apostrophe within the trap.
2310 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2311 trap 'exit_status=$?
2312 # Save into config.log some information that might help in debugging.
2317 ## ---------------- ##
2318 ## Cache variables. ##
2319 ## ---------------- ##
2322 # The following way of writing the cache mishandles newlines in values,
2324 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2325 eval ac_val=\$$ac_var
2329 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2330 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333 _ | IFS | as_nl) ;; #(
2334 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2335 *) { eval $ac_var=; unset $ac_var;} ;;
2340 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2341 *${as_nl}ac_space=\ *)
2343 "s/'\''/'\''\\\\'\'''\''/g;
2344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2347 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2355 ## ----------------- ##
2356 ## Output variables. ##
2357 ## ----------------- ##
2360 for ac_var in $ac_subst_vars
2362 eval ac_val=\$$ac_var
2364 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2366 $as_echo "$ac_var='\''$ac_val'\''"
2370 if test -n "$ac_subst_files"; then
2372 ## ------------------- ##
2373 ## File substitutions. ##
2374 ## ------------------- ##
2377 for ac_var
in $ac_subst_files
2379 eval ac_val
=\$
$ac_var
2381 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2383 $as_echo "$ac_var='\''$ac_val'\''"
2388 if test -s confdefs.h; then
2398 test "$ac_signal" != 0 &&
2399 $as_echo "$as_me: caught signal $ac_signal"
2400 $as_echo "$as_me: exit $exit_status"
2402 rm -f core *.core core.conftest.* &&
2403 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2406 for ac_signal
in 1 2 13 15; do
2407 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2411 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2412 rm -f -r conftest
* confdefs.h
2414 $as_echo "/* confdefs.h */" > confdefs.h
2416 # Predefined preprocessor variables.
2418 cat >>confdefs.h
<<_ACEOF
2419 #define PACKAGE_NAME "$PACKAGE_NAME"
2422 cat >>confdefs.h
<<_ACEOF
2423 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2430 cat >>confdefs.h
<<_ACEOF
2431 #define PACKAGE_STRING "$PACKAGE_STRING"
2434 cat >>confdefs.h
<<_ACEOF
2435 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2438 cat >>confdefs.h
<<_ACEOF
2439 #define PACKAGE_URL "$PACKAGE_URL"
2443 # Let the site file select an alternate cache file if it wants to.
2444 # Prefer an explicitly selected file to automatically selected ones.
2447 if test -n "$CONFIG_SITE"; then
2448 ac_site_file1
=$CONFIG_SITE
2449 elif test "x$prefix" != xNONE
; then
2450 ac_site_file1
=$prefix/share
/config.site
2451 ac_site_file2
=$prefix/etc
/config.site
2453 ac_site_file1
=$ac_default_prefix/share
/config.site
2454 ac_site_file2
=$ac_default_prefix/etc
/config.site
2456 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2458 test "x$ac_site_file" = xNONE
&& continue
2459 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2461 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2462 sed 's/^/| /' "$ac_site_file" >&5
2467 if test -r "$cache_file"; then
2468 # Some versions of bash will fail to source /dev/null (special files
2469 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2470 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2472 $as_echo "$as_me: loading cache $cache_file" >&6;}
2474 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2475 *) .
"./$cache_file";;
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2480 $as_echo "$as_me: creating cache $cache_file" >&6;}
2484 # Check that the precious variables saved in the cache have kept the same
2486 ac_cache_corrupted
=false
2487 for ac_var
in $ac_precious_vars; do
2488 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2489 eval ac_new_set
=\
$ac_env_${ac_var}_set
2490 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2491 eval ac_new_val
=\
$ac_env_${ac_var}_value
2492 case $ac_old_set,$ac_new_set in
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2495 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2496 ac_cache_corrupted
=: ;;
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2499 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2500 ac_cache_corrupted
=: ;;
2503 if test "x$ac_old_val" != "x$ac_new_val"; then
2504 # differences in whitespace do not lead to failure.
2505 ac_old_val_w
=`echo x $ac_old_val`
2506 ac_new_val_w
=`echo x $ac_new_val`
2507 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2509 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2510 ac_cache_corrupted
=:
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2513 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2514 eval $ac_var=\
$ac_old_val
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2517 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2519 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2522 # Pass precious variables to config.status.
2523 if test "$ac_new_set" = set; then
2525 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2526 *) ac_arg
=$ac_var=$ac_new_val ;;
2528 case " $ac_configure_args " in
2529 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2530 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2534 if $ac_cache_corrupted; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2538 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2539 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2541 ## -------------------- ##
2542 ## Main body of script. ##
2543 ## -------------------- ##
2546 ac_cpp
='$CPP $CPPFLAGS'
2547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2554 for ac_dir
in .
"$srcdir"/.
; do
2555 for ac_t
in install-sh install.sh shtool
; do
2556 if test -f "$ac_dir/$ac_t"; then
2558 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2563 if test -z "$ac_aux_dir"; then
2564 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2567 # These three variables are undocumented and unsupported,
2568 # and are intended to be withdrawn in a future Autoconf release.
2569 # They can cause serious problems if a builder's source tree is in a directory
2570 # whose full name contains unusual characters.
2571 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2572 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2573 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2579 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2584 macro_version
='2.2.6b'
2585 macro_revision
='1.3017'
2599 ltmain
="$ac_aux_dir/ltmain.sh"
2601 # Make sure we can run config.sub.
2602 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2603 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2606 $as_echo_n "checking build system type... " >&6; }
2607 if test "${ac_cv_build+set}" = set; then :
2608 $as_echo_n "(cached) " >&6
2610 ac_build_alias
=$build_alias
2611 test "x$ac_build_alias" = x
&&
2612 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2613 test "x$ac_build_alias" = x
&&
2614 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2615 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2616 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2620 $as_echo "$ac_cv_build" >&6; }
2621 case $ac_cv_build in
2623 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2626 ac_save_IFS
=$IFS; IFS
='-'
2632 # Remember, the first character of IFS is used to create $*,
2633 # except with old shells:
2636 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2640 $as_echo_n "checking host system type... " >&6; }
2641 if test "${ac_cv_host+set}" = set; then :
2642 $as_echo_n "(cached) " >&6
2644 if test "x$host_alias" = x
; then
2645 ac_cv_host
=$ac_cv_build
2647 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2648 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2653 $as_echo "$ac_cv_host" >&6; }
2656 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2659 ac_save_IFS
=$IFS; IFS
='-'
2665 # Remember, the first character of IFS is used to create $*,
2666 # except with old shells:
2669 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2673 ac_cpp
='$CPP $CPPFLAGS'
2674 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2675 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2676 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2679 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if test "${ac_cv_prog_CC+set}" = set; then :
2683 $as_echo_n "(cached) " >&6
2685 if test -n "$CC"; then
2686 ac_cv_prog_CC
="$CC" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 if test -n "$CC"; then
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2708 $as_echo "$CC" >&6; }
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2716 if test -z "$ac_cv_prog_CC"; then
2718 # Extract the first word of "gcc", so it can be a program name with args.
2719 set dummy gcc
; ac_word
=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$ac_ct_CC"; then
2726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir
=.
2733 for ac_exec_ext
in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_ac_ct_CC
="gcc"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2746 if test -n "$ac_ct_CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2748 $as_echo "$ac_ct_CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2754 if test "x$ac_ct_CC" = x
; then
2757 case $cross_compiling:$ac_tool_warned in
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761 ac_tool_warned
=yes ;;
2769 if test -z "$CC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2772 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2774 $as_echo_n "checking for $ac_word... " >&6; }
2775 if test "${ac_cv_prog_CC+set}" = set; then :
2776 $as_echo_n "(cached) " >&6
2778 if test -n "$CC"; then
2779 ac_cv_prog_CC
="$CC" # Let the user override the test.
2781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2785 test -z "$as_dir" && as_dir
=.
2786 for ac_exec_ext
in '' $ac_executable_extensions; do
2787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2788 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799 if test -n "$CC"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2801 $as_echo "$CC" >&6; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2804 $as_echo "no" >&6; }
2810 if test -z "$CC"; then
2811 # Extract the first word of "cc", so it can be a program name with args.
2812 set dummy cc
; ac_word
=$2
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814 $as_echo_n "checking for $ac_word... " >&6; }
2815 if test "${ac_cv_prog_CC+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 if test -n "$CC"; then
2819 ac_cv_prog_CC
="$CC" # Let the user override the test.
2822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir
=.
2827 for ac_exec_ext
in '' $ac_executable_extensions; do
2828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2829 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2830 ac_prog_rejected
=yes
2834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841 if test $ac_prog_rejected = yes; then
2842 # We found a bogon in the path, so make sure we never use it.
2843 set dummy
$ac_cv_prog_CC
2845 if test $# != 0; then
2846 # We chose a different compiler from the bogus one.
2847 # However, it has the same basename, so the bogon will be chosen
2848 # first if we set CC to just the basename; use the full file name.
2850 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2856 if test -n "$CC"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2858 $as_echo "$CC" >&6; }
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2861 $as_echo "no" >&6; }
2866 if test -z "$CC"; then
2867 if test -n "$ac_tool_prefix"; then
2868 for ac_prog
in cl.exe
2870 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2871 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if test "${ac_cv_prog_CC+set}" = set; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$CC"; then
2878 ac_cv_prog_CC
="$CC" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2887 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898 if test -n "$CC"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2900 $as_echo "$CC" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2907 test -n "$CC" && break
2910 if test -z "$CC"; then
2912 for ac_prog
in cl.exe
2914 # Extract the first word of "$ac_prog", so it can be a program name with args.
2915 set dummy
$ac_prog; ac_word
=$2
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917 $as_echo_n "checking for $ac_word... " >&6; }
2918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2919 $as_echo_n "(cached) " >&6
2921 if test -n "$ac_ct_CC"; then
2922 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir
=.
2929 for ac_exec_ext
in '' $ac_executable_extensions; do
2930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931 ac_cv_prog_ac_ct_CC
="$ac_prog"
2932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2942 if test -n "$ac_ct_CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2944 $as_echo "$ac_ct_CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2951 test -n "$ac_ct_CC" && break
2954 if test "x$ac_ct_CC" = x
; then
2957 case $cross_compiling:$ac_tool_warned in
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2961 ac_tool_warned
=yes ;;
2970 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2972 as_fn_error
"no acceptable C compiler found in \$PATH
2973 See \`config.log' for more details." "$LINENO" 5; }
2975 # Provide some information about the compiler.
2976 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2979 for ac_option
in --version -v -V -qversion; do
2980 { { ac_try
="$ac_compiler $ac_option >&5"
2982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2989 if test -s conftest.err; then
2991 ... rest of stderr output deleted ...
2992 10q' conftest.err >conftest.er1
2993 cat conftest.er1 >&5
2995 rm -f conftest.er1 conftest.err
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; }
3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3001 /* end confdefs.h. */
3011 ac_clean_files_save=$ac_clean_files
3012 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3013 # Try to create an executable without -o first, disregard a.out.
3014 # It will help us diagnose broken compilers, and finding out an intuition
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3017 $as_echo_n "checking whether the C compiler works... " >&6; }
3018 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3020 # The possible output files:
3021 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3024 for ac_file in $ac_files
3027 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3028 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3033 if { { ac_try="$ac_link_default"
3035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3036 *) ac_try_echo
=$ac_try;;
3038 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_link_default") 2>&5
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; }; then :
3044 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3045 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3046 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3047 # so that the user can short-circuit this test for compilers unknown to
3049 for ac_file
in $ac_files ''
3051 test -f "$ac_file" || continue
3053 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3056 # We found the default executable, but exeext='' is most
3060 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3062 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3064 # We set ac_cv_exeext here because the later test for it is not
3065 # safe: cross compilers may not add the suffix if given an `-o'
3066 # argument, so we may need to know it at that point already.
3067 # Even if this section looks crufty: it has the advantage of
3074 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3079 if test -z "$ac_file"; then :
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081 $as_echo "no" >&6; }
3082 $as_echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.
$ac_ext >&5
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 { as_fn_set_status
77
3088 as_fn_error
"C compiler cannot create executables
3089 See \`config.log' for more details." "$LINENO" 5; }; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3092 $as_echo "yes" >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3095 $as_echo_n "checking for C compiler default output file name... " >&6; }
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3097 $as_echo "$ac_file" >&6; }
3098 ac_exeext
=$ac_cv_exeext
3100 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3101 ac_clean_files
=$ac_clean_files_save
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3103 $as_echo_n "checking for suffix of executables... " >&6; }
3104 if { { ac_try
="$ac_link"
3106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; }; then :
3115 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3116 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3117 # work properly (i.e., refer to `conftest.exe'), while it won't with
3119 for ac_file
in conftest.exe conftest conftest.
*; do
3120 test -f "$ac_file" || continue
3122 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3123 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3131 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3132 See \`config.log' for more details." "$LINENO" 5; }
3134 rm -f conftest conftest
$ac_cv_exeext
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3136 $as_echo "$ac_cv_exeext" >&6; }
3138 rm -f conftest.
$ac_ext
3139 EXEEXT
=$ac_cv_exeext
3141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3147 FILE *f = fopen ("conftest.out", "w");
3148 return ferror (f) || fclose (f) != 0;
3154 ac_clean_files
="$ac_clean_files conftest.out"
3155 # Check that the compiler produces executables we can run. If not, either
3156 # the compiler is broken, or we cross compile.
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3158 $as_echo_n "checking whether we are cross compiling... " >&6; }
3159 if test "$cross_compiling" != yes; then
3160 { { ac_try
="$ac_link"
3162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_link") 2>&5
3169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3170 test $ac_status = 0; }
3171 if { ac_try='./conftest$ac_cv_exeext'
3172 { { case "(($ac_try" in
3173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3174 *) ac_try_echo
=$ac_try;;
3176 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3177 $as_echo "$ac_try_echo"; } >&5
3178 (eval "$ac_try") 2>&5
3180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3181 test $ac_status = 0; }; }; then
3184 if test "$cross_compiling" = maybe
; then
3187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error
"cannot run C compiled programs.
3190 If you meant to cross compile, use \`--host'.
3191 See \`config.log' for more details." "$LINENO" 5; }
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3196 $as_echo "$cross_compiling" >&6; }
3198 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3199 ac_clean_files
=$ac_clean_files_save
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3201 $as_echo_n "checking for suffix of object files... " >&6; }
3202 if test "${ac_cv_objext+set}" = set; then :
3203 $as_echo_n "(cached) " >&6
3205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3206 /* end confdefs.h. */
3216 rm -f conftest.o conftest.obj
3217 if { { ac_try
="$ac_compile"
3219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_compile") 2>&5
3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227 test $ac_status = 0; }; then :
3228 for ac_file in conftest.o conftest.obj conftest.*; do
3229 test -f "$ac_file" || continue;
3231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3232 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242 as_fn_error "cannot compute suffix of object files
: cannot compile
3243 See \
`config.log' for more details." "$LINENO" 5; }
3245 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3248 $as_echo "$ac_cv_objext" >&6; }
3249 OBJEXT=$ac_cv_objext
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3252 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3253 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3270 if ac_fn_c_try_compile "$LINENO"; then :
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3280 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3281 if test $ac_compiler_gnu = yes; then
3286 ac_test_CFLAGS=${CFLAGS+set}
3287 ac_save_CFLAGS=$CFLAGS
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3289 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3290 if test "${ac_cv_prog_cc_g+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3293 ac_save_c_werror_flag=$ac_c_werror_flag
3294 ac_c_werror_flag=yes
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3308 if ac_fn_c_try_compile "$LINENO"; then :
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3323 if ac_fn_c_try_compile "$LINENO"; then :
3326 ac_c_werror_flag=$ac_save_c_werror_flag
3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3329 /* end confdefs.h. */
3339 if ac_fn_c_try_compile "$LINENO"; then :
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 ac_c_werror_flag=$ac_save_c_werror_flag
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3350 $as_echo "$ac_cv_prog_cc_g" >&6; }
3351 if test "$ac_test_CFLAGS" = set; then
3352 CFLAGS=$ac_save_CFLAGS
3353 elif test $ac_cv_prog_cc_g = yes; then
3354 if test "$GCC" = yes; then
3360 if test "$GCC" = yes; then
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3367 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3368 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3369 $as_echo_n "(cached) " >&6
3371 ac_cv_prog_cc_c89=no
3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3374 /* end confdefs.h. */
3377 #include <sys/types.h>
3378 #include <sys/stat.h>
3379 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3380 struct buf { int x; };
3381 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3382 static char *e (p, i)
3388 static char *f (char * (*g) (char **, int), char **p, ...)
3393 s = g (p, va_arg (v,int));
3398 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3399 function prototypes and stuff, but not '\xHH' hex character constants.
3400 These don't provoke an error unfortunately, instead are silently treated
3401 as 'x'. The following induces an error, until -std is added to get
3402 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3403 array size at least. It's necessary to write '\x00'==0 to get something
3404 that's true only with -std. */
3405 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3407 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3408 inside strings and character constants. */
3410 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3412 int test (int i, double x);
3413 struct s1 {int (*f) (int a);};
3414 struct s2 {int (*f) (double a);};
3415 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3421 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3426 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3427 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3429 CC="$ac_save_CC $ac_arg"
3430 if ac_fn_c_try_compile "$LINENO"; then :
3431 ac_cv_prog_cc_c89=$ac_arg
3433 rm -f core conftest.err conftest.$ac_objext
3434 test "x$ac_cv_prog_cc_c89" != "xno" && break
3436 rm -f conftest.$ac_ext
3441 case "x$ac_cv_prog_cc_c89" in
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3444 $as_echo "none needed" >&6; } ;;
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3447 $as_echo "unsupported" >&6; } ;;
3449 CC="$CC $ac_cv_prog_cc_c89"
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3451 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3453 if test "x$ac_cv_prog_cc_c89" != xno; then :
3458 ac_cpp='$CPP $CPPFLAGS'
3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3464 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3465 if test "${ac_cv_path_SED+set}" = set; then :
3466 $as_echo_n "(cached) " >&6
3468 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3469 for ac_i in 1 2 3 4 5 6 7; do
3470 ac_script="$ac_script$as_nl$ac_script"
3472 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3473 { ac_script=; unset ac_script;}
3474 if test -z "$SED"; then
3475 ac_path_SED_found=false
3476 # Loop through the user's path and test for each of PROGNAME-LIST
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_prog in sed gsed; do
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3485 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3486 # Check for GNU ac_path_SED and select it if it is found.
3487 # Check for GNU $ac_path_SED
3488 case `"$ac_path_SED" --version 2>&1` in
3490 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3493 $as_echo_n 0123456789 >"conftest.in"
3496 cat "conftest.in" "conftest.in" >"conftest.tmp"
3497 mv "conftest.tmp" "conftest.in"
3498 cp "conftest.in" "conftest.nl"
3499 $as_echo '' >> "conftest.nl"
3500 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3502 as_fn_arith $ac_count + 1 && ac_count=$as_val
3503 if test $ac_count -gt ${ac_path_SED_max-0}; then
3504 # Best one so far, save it but keep looking for a better one
3505 ac_cv_path_SED="$ac_path_SED"
3506 ac_path_SED_max=$ac_count
3508 # 10*(2^10) chars as input seems more than enough
3509 test $ac_count -gt 10 && break
3511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3514 $ac_path_SED_found && break 3
3519 if test -z "$ac_cv_path_SED"; then
3520 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3528 $as_echo "$ac_cv_path_SED" >&6; }
3529 SED="$ac_cv_path_SED"
3532 test -z "$SED" && SED=sed
3533 Xsed="$SED -e 1s/^X//"
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3546 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3547 if test "${ac_cv_path_GREP+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -z "$GREP"; then
3551 ac_path_GREP_found=false
3552 # Loop through the user's path and test for each of PROGNAME-LIST
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3557 test -z "$as_dir" && as_dir=.
3558 for ac_prog in grep ggrep; do
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3561 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3562 # Check for GNU ac_path_GREP and select it if it is found.
3563 # Check for GNU $ac_path_GREP
3564 case `"$ac_path_GREP" --version 2>&1` in
3566 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3569 $as_echo_n 0123456789 >"conftest.in"
3572 cat "conftest.in" "conftest.in" >"conftest.tmp"
3573 mv "conftest.tmp" "conftest.in"
3574 cp "conftest.in" "conftest.nl"
3575 $as_echo 'GREP' >> "conftest.nl"
3576 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3577 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3578 as_fn_arith $ac_count + 1 && ac_count=$as_val
3579 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3580 # Best one so far, save it but keep looking for a better one
3581 ac_cv_path_GREP="$ac_path_GREP"
3582 ac_path_GREP_max=$ac_count
3584 # 10*(2^10) chars as input seems more than enough
3585 test $ac_count -gt 10 && break
3587 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3590 $ac_path_GREP_found && break 3
3595 if test -z "$ac_cv_path_GREP"; then
3596 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3599 ac_cv_path_GREP=$GREP
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3604 $as_echo "$ac_cv_path_GREP" >&6; }
3605 GREP="$ac_cv_path_GREP"
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3609 $as_echo_n "checking for egrep... " >&6; }
3610 if test "${ac_cv_path_EGREP+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3614 then ac_cv_path_EGREP="$GREP -E"
3616 if test -z "$EGREP"; then
3617 ac_path_EGREP_found=false
3618 # Loop through the user's path and test for each of PROGNAME-LIST
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3623 test -z "$as_dir" && as_dir=.
3624 for ac_prog in egrep; do
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3627 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3628 # Check for GNU ac_path_EGREP and select it if it is found.
3629 # Check for GNU $ac_path_EGREP
3630 case `"$ac_path_EGREP" --version 2>&1` in
3632 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3635 $as_echo_n 0123456789 >"conftest.in"
3638 cat "conftest.in" "conftest.in" >"conftest.tmp"
3639 mv "conftest.tmp" "conftest.in"
3640 cp "conftest.in" "conftest.nl"
3641 $as_echo 'EGREP' >> "conftest.nl"
3642 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3644 as_fn_arith $ac_count + 1 && ac_count=$as_val
3645 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3646 # Best one so far, save it but keep looking for a better one
3647 ac_cv_path_EGREP="$ac_path_EGREP"
3648 ac_path_EGREP_max=$ac_count
3650 # 10*(2^10) chars as input seems more than enough
3651 test $ac_count -gt 10 && break
3653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3656 $ac_path_EGREP_found && break 3
3661 if test -z "$ac_cv_path_EGREP"; then
3662 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3665 ac_cv_path_EGREP=$EGREP
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3671 $as_echo "$ac_cv_path_EGREP" >&6; }
3672 EGREP="$ac_cv_path_EGREP"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3676 $as_echo_n "checking for fgrep... " >&6; }
3677 if test "${ac_cv_path_FGREP+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3680 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3681 then ac_cv_path_FGREP="$GREP -F"
3683 if test -z "$FGREP"; then
3684 ac_path_FGREP_found=false
3685 # Loop through the user's path and test for each of PROGNAME-LIST
3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3690 test -z "$as_dir" && as_dir=.
3691 for ac_prog in fgrep; do
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3694 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3695 # Check for GNU ac_path_FGREP and select it if it is found.
3696 # Check for GNU $ac_path_FGREP
3697 case `"$ac_path_FGREP" --version 2>&1` in
3699 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3702 $as_echo_n 0123456789 >"conftest.in"
3705 cat "conftest.in" "conftest.in" >"conftest.tmp"
3706 mv "conftest.tmp" "conftest.in"
3707 cp "conftest.in" "conftest.nl"
3708 $as_echo 'FGREP' >> "conftest.nl"
3709 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3711 as_fn_arith $ac_count + 1 && ac_count=$as_val
3712 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3713 # Best one so far, save it but keep looking for a better one
3714 ac_cv_path_FGREP="$ac_path_FGREP"
3715 ac_path_FGREP_max=$ac_count
3717 # 10*(2^10) chars as input seems more than enough
3718 test $ac_count -gt 10 && break
3720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3723 $ac_path_FGREP_found && break 3
3728 if test -z "$ac_cv_path_FGREP"; then
3729 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3732 ac_cv_path_FGREP=$FGREP
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3738 $as_echo "$ac_cv_path_FGREP" >&6; }
3739 FGREP="$ac_cv_path_FGREP"
3742 test -z "$GREP" && GREP=grep
3762 # Check whether --with-gnu-ld was given.
3763 if test "${with_gnu_ld+set}" = set; then :
3764 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3770 if test "$GCC" = yes; then
3771 # Check if gcc -print-prog-name=ld gives a path.
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3773 $as_echo_n "checking for ld used by $CC... " >&6; }
3776 # gcc leaves a trailing carriage return which upsets mingw
3777 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3779 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3782 # Accept absolute paths.
3784 re_direlt='/[^/][^/]*/\.\./'
3785 # Canonicalize the pathname of ld
3786 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3787 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3788 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3790 test -z "$LD" && LD="$ac_prog"
3793 # If it fails, then pretend we aren't using GCC.
3797 # If it is relative, then search for the first ld in PATH.
3801 elif test "$with_gnu_ld" = yes; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3803 $as_echo_n "checking for GNU ld... " >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3806 $as_echo_n "checking for non-GNU ld... " >&6; }
3808 if test "${lt_cv_path_LD+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -z "$LD"; then
3812 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3813 for ac_dir in $PATH; do
3815 test -z "$ac_dir" && ac_dir=.
3816 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3817 lt_cv_path_LD="$ac_dir/$ac_prog"
3818 # Check to see if the program is GNU ld. I'd rather use --version,
3819 # but apparently some variants of GNU ld only accept -v.
3820 # Break only if it was the GNU/non-GNU ld that we prefer.
3821 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3822 *GNU* | *'with BFD'*)
3823 test "$with_gnu_ld" != no && break
3826 test "$with_gnu_ld" != yes && break
3833 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3838 if test -n "$LD"; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3840 $as_echo "$LD" >&6; }
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3845 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3847 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3848 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3849 $as_echo_n "(cached) " >&6
3851 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3852 case `$LD -v 2>&1 </dev
/null
` in
3853 *GNU* | *'with BFD'*)
3854 lt_cv_prog_gnu_ld=yes
3857 lt_cv_prog_gnu_ld=no
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3862 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3863 with_gnu_ld=$lt_cv_prog_gnu_ld
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3874 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3875 if test "${lt_cv_path_NM+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3878 if test -n "$NM"; then
3879 # Let the user override the test.
3882 lt_nm_to_check="${ac_tool_prefix}nm"
3883 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3884 lt_nm_to_check="$lt_nm_to_check nm"
3886 for lt_tmp_nm in $lt_nm_to_check; do
3887 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3888 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3890 test -z "$ac_dir" && ac_dir=.
3891 tmp_nm="$ac_dir/$lt_tmp_nm"
3892 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3893 # Check to see if the nm accepts a BSD-compat flag.
3894 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3895 # nm: unknown option "B" ignored
3896 # Tru64's nm complains that
/dev
/null is an invalid object
file
3897 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3898 */dev
/null
* | *'Invalid file or object type'*)
3899 lt_cv_path_NM
="$tmp_nm -B"
3903 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3905 lt_cv_path_NM
="$tmp_nm -p"
3909 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3910 continue # so that we can try to find one that supports BSD flags
3919 : ${lt_cv_path_NM=no}
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3923 $as_echo "$lt_cv_path_NM" >&6; }
3924 if test "$lt_cv_path_NM" != "no"; then
3927 # Didn't find any BSD compatible name lister, look for dumpbin.
3928 if test -n "$ac_tool_prefix"; then
3929 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3931 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3932 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$DUMPBIN"; then
3939 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 DUMPBIN
=$ac_cv_prog_DUMPBIN
3959 if test -n "$DUMPBIN"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3961 $as_echo "$DUMPBIN" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3968 test -n "$DUMPBIN" && break
3971 if test -z "$DUMPBIN"; then
3972 ac_ct_DUMPBIN
=$DUMPBIN
3973 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3975 # Extract the first word of "$ac_prog", so it can be a program name with args.
3976 set dummy
$ac_prog; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$ac_ct_DUMPBIN"; then
3983 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4003 if test -n "$ac_ct_DUMPBIN"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4005 $as_echo "$ac_ct_DUMPBIN" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4012 test -n "$ac_ct_DUMPBIN" && break
4015 if test "x$ac_ct_DUMPBIN" = x
; then
4018 case $cross_compiling:$ac_tool_warned in
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4022 ac_tool_warned
=yes ;;
4024 DUMPBIN
=$ac_ct_DUMPBIN
4029 if test "$DUMPBIN" != ":"; then
4033 test -z "$NM" && NM
=nm
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4041 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4042 if test "${lt_cv_nm_interface+set}" = set; then :
4043 $as_echo_n "(cached) " >&6
4045 lt_cv_nm_interface
="BSD nm"
4046 echo "int some_variable = 0;" > conftest.
$ac_ext
4047 (eval echo "\"\$as_me:4047: $ac_compile\"" >&5)
4048 (eval "$ac_compile" 2>conftest.err
)
4049 cat conftest.err
>&5
4050 (eval echo "\"\$as_me:4050: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4051 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4052 cat conftest.err
>&5
4053 (eval echo "\"\$as_me:4053: output\"" >&5)
4054 cat conftest.out
>&5
4055 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4056 lt_cv_nm_interface
="MS dumpbin"
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4061 $as_echo "$lt_cv_nm_interface" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4064 $as_echo_n "checking whether ln -s works... " >&6; }
4066 if test "$LN_S" = "ln -s"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4068 $as_echo "yes" >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4071 $as_echo "no, using $LN_S" >&6; }
4074 # find the maximum length of command line arguments
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4076 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4077 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4085 # On DJGPP, this test can blow up pretty badly due to problems in libc
4086 # (any single argument exceeding 2000 bytes causes a buffer overrun
4087 # during glob expansion). Even if it were fixed, the result of this
4088 # check would be larger than it should be.
4089 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4093 # Under GNU Hurd, this test is not required because there is
4094 # no limit to the length of command line arguments.
4095 # Libtool will interpret -1 as no limit whatsoever
4096 lt_cv_sys_max_cmd_len
=-1;
4099 cygwin
* | mingw
* | cegcc
*)
4100 # On Win9x/ME, this test blows up -- it succeeds, but takes
4101 # about 5 minutes as the teststring grows exponentially.
4102 # Worse, since 9x/ME are not pre-emptively multitasking,
4103 # you end up with a "frozen" computer, even though with patience
4104 # the test eventually succeeds (with a max line length of 256k).
4105 # Instead, let's just punt: use the minimum linelength reported by
4106 # all of the supported platforms: 8192 (on NT/2K/XP).
4107 lt_cv_sys_max_cmd_len
=8192;
4111 # On AmigaOS with pdksh, this test takes hours, literally.
4112 # So we just punt and use a minimum line length of 8192.
4113 lt_cv_sys_max_cmd_len
=8192;
4116 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4117 # This has been around since 386BSD, at least. Likely further.
4118 if test -x /sbin
/sysctl
; then
4119 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4120 elif test -x /usr
/sbin
/sysctl
; then
4121 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4123 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4125 # And add a safety zone
4126 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4127 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4131 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4132 lt_cv_sys_max_cmd_len
=196608
4136 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4137 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4138 # nice to cause kernel panics so lets avoid the loop below.
4139 # First set a reasonable default.
4140 lt_cv_sys_max_cmd_len
=16384
4142 if test -x /sbin
/sysconfig
; then
4143 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4144 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4149 lt_cv_sys_max_cmd_len
=102400
4151 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4152 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4153 if test -n "$kargmax"; then
4154 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4156 lt_cv_sys_max_cmd_len
=32768
4160 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4161 if test -n "$lt_cv_sys_max_cmd_len"; then
4162 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4163 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4165 # Make teststring a little bigger before we do anything with it.
4166 # a 1K string should be a reasonable start.
4167 for i
in 1 2 3 4 5 6 7 8 ; do
4168 teststring
=$teststring$teststring
4170 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4171 # If test is not a shell built-in, we'll probably end up computing a
4172 # maximum length that is only half of the actual maximum length, but
4174 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4175 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4176 test $i != 17 # 1/2 MB should be enough
4179 teststring
=$teststring$teststring
4181 # Only check the string length outside the loop.
4182 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4184 # Add a significant safety factor because C++ compilers can tack on
4185 # massive amounts of additional arguments before passing them to the
4186 # linker. It appears as though 1/2 is a usable value.
4187 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4194 if test -n $lt_cv_sys_max_cmd_len ; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4196 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4199 $as_echo "none" >&6; }
4201 max_cmd_len
=$lt_cv_sys_max_cmd_len
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4213 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4214 # Try some XSI features
4217 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4219 && eval 'test $(( 1 + 1 )) -eq 2 \
4220 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4223 $as_echo "$xsi_shell" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4227 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4229 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4231 && lt_shell_append
=yes
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4233 $as_echo "$lt_shell_append" >&6; }
4236 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4246 # test EBCDIC or ASCII
4247 case `echo X|tr X '\101'` in
4248 A
) # ASCII based system
4249 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4250 lt_SP2NL
='tr \040 \012'
4251 lt_NL2SP
='tr \015\012 \040\040'
4253 *) # EBCDIC based system
4254 lt_SP2NL
='tr \100 \n'
4255 lt_NL2SP
='tr \r\n \100\100'
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4268 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4269 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4270 $as_echo_n "(cached) " >&6
4272 lt_cv_ld_reload_flag
='-r'
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4275 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4276 reload_flag
=$lt_cv_ld_reload_flag
4277 case $reload_flag in
4279 *) reload_flag
=" $reload_flag" ;;
4281 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4284 if test "$GCC" = yes; then
4285 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4287 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4300 if test -n "$ac_tool_prefix"; then
4301 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4302 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$OBJDUMP"; then
4309 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 OBJDUMP
=$ac_cv_prog_OBJDUMP
4329 if test -n "$OBJDUMP"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4331 $as_echo "$OBJDUMP" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4339 if test -z "$ac_cv_prog_OBJDUMP"; then
4340 ac_ct_OBJDUMP
=$OBJDUMP
4341 # Extract the first word of "objdump", so it can be a program name with args.
4342 set dummy objdump
; ac_word
=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -n "$ac_ct_OBJDUMP"; then
4349 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4355 test -z "$as_dir" && as_dir
=.
4356 for ac_exec_ext
in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4368 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4369 if test -n "$ac_ct_OBJDUMP"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4371 $as_echo "$ac_ct_OBJDUMP" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4377 if test "x$ac_ct_OBJDUMP" = x
; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned
=yes ;;
4386 OBJDUMP
=$ac_ct_OBJDUMP
4389 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4392 test -z "$OBJDUMP" && OBJDUMP
=objdump
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4403 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4404 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4405 $as_echo_n "(cached) " >&6
4407 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4408 lt_cv_file_magic_test_file
=
4409 lt_cv_deplibs_check_method
='unknown'
4410 # Need to set the preceding variable on all platforms that support
4411 # interlibrary dependencies.
4412 # 'none' -- dependencies not supported.
4413 # `unknown' -- same as none, but documents that we really don't know.
4414 # 'pass_all' -- all dependencies passed with no checks.
4415 # 'test_compile' -- check by making test program.
4416 # 'file_magic [[regex]]' -- check by looking for files in library path
4417 # which responds to the $file_magic_cmd with a given extended regex.
4418 # If you have `file' or equivalent on your system and you're not sure
4419 # whether `pass_all' will *always* work, you probably want this one.
4423 lt_cv_deplibs_check_method
=pass_all
4427 lt_cv_deplibs_check_method
=pass_all
4431 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4432 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4433 lt_cv_file_magic_test_file
=/shlib
/libc.so
4437 # func_win32_libid is a shell function defined in ltmain.sh
4438 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4439 lt_cv_file_magic_cmd
='func_win32_libid'
4443 # Base MSYS/MinGW do not provide the 'file' command needed by
4444 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4445 # unless we find 'file', for example because we are cross-compiling.
4446 if ( file / ) >/dev
/null
2>&1; then
4447 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4448 lt_cv_file_magic_cmd
='func_win32_libid'
4450 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4451 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4456 # use the weaker test based on 'objdump'. See mingw*.
4457 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4458 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4461 darwin
* | rhapsody
*)
4462 lt_cv_deplibs_check_method
=pass_all
4465 freebsd
* | dragonfly
*)
4466 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4469 # Not sure whether the presence of OpenBSD here was a mistake.
4470 # Let's accept both of them until this is cleared up.
4471 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4472 lt_cv_file_magic_cmd
=/usr
/bin
/file
4473 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4477 lt_cv_deplibs_check_method
=pass_all
4482 lt_cv_deplibs_check_method
=pass_all
4485 hpux10.20
* | hpux11
*)
4486 lt_cv_file_magic_cmd
=/usr
/bin
/file
4489 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4490 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4493 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4494 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4497 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4498 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4504 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4505 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4508 irix5
* | irix6
* | nonstopux
*)
4510 *-32|*"-32 ") libmagic
=32-bit;;
4511 *-n32|*"-n32 ") libmagic
=N32
;;
4512 *-64|*"-64 ") libmagic
=64-bit;;
4513 *) libmagic
=never
-match;;
4515 lt_cv_deplibs_check_method
=pass_all
4518 # This must be Linux ELF.
4519 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4520 lt_cv_deplibs_check_method
=pass_all
4523 netbsd
* | netbsdelf
*-gnu)
4524 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4525 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4527 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4532 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4533 lt_cv_file_magic_cmd
=/usr
/bin
/file
4534 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4538 lt_cv_deplibs_check_method
=pass_all
4542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4543 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4545 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4549 osf3
* | osf4
* | osf5
*)
4550 lt_cv_deplibs_check_method
=pass_all
4554 lt_cv_deplibs_check_method
=pass_all
4558 lt_cv_deplibs_check_method
=pass_all
4561 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4562 lt_cv_deplibs_check_method
=pass_all
4566 case $host_vendor in
4568 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4569 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4572 lt_cv_deplibs_check_method
=pass_all
4575 lt_cv_file_magic_cmd
='/bin/file'
4576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4579 lt_cv_file_magic_cmd
='/bin/file'
4580 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4581 lt_cv_file_magic_test_file
=/lib
/libc.so
4584 lt_cv_deplibs_check_method
=pass_all
4587 lt_cv_deplibs_check_method
=pass_all
4593 lt_cv_deplibs_check_method
=pass_all
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4599 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4600 file_magic_cmd
=$lt_cv_file_magic_cmd
4601 deplibs_check_method
=$lt_cv_deplibs_check_method
4602 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4615 if test -n "$ac_tool_prefix"; then
4616 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4617 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_AR+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$AR"; then
4624 ac_cv_prog_AR
="$AR" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 if test -n "$AR"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4646 $as_echo "$AR" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4654 if test -z "$ac_cv_prog_AR"; then
4656 # Extract the first word of "ar", so it can be a program name with args.
4657 set dummy
ar; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$ac_ct_AR"; then
4664 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673 ac_cv_prog_ac_ct_AR
="ar"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4684 if test -n "$ac_ct_AR"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4686 $as_echo "$ac_ct_AR" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4692 if test "x$ac_ct_AR" = x
; then
4695 case $cross_compiling:$ac_tool_warned in
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned
=yes ;;
4707 test -z "$AR" && AR
=ar
4708 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4720 if test -n "$ac_tool_prefix"; then
4721 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4722 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if test "${ac_cv_prog_STRIP+set}" = set; then :
4726 $as_echo_n "(cached) " >&6
4728 if test -n "$STRIP"; then
4729 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_exec_ext
in '' $ac_executable_extensions; do
4737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4738 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 STRIP
=$ac_cv_prog_STRIP
4749 if test -n "$STRIP"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4751 $as_echo "$STRIP" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4759 if test -z "$ac_cv_prog_STRIP"; then
4761 # Extract the first word of "strip", so it can be a program name with args.
4762 set dummy strip
; ac_word
=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$ac_ct_STRIP"; then
4769 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4778 ac_cv_prog_ac_ct_STRIP
="strip"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4789 if test -n "$ac_ct_STRIP"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4791 $as_echo "$ac_ct_STRIP" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4797 if test "x$ac_ct_STRIP" = x
; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned
=yes ;;
4809 STRIP
="$ac_cv_prog_STRIP"
4812 test -z "$STRIP" && STRIP
=:
4819 if test -n "$ac_tool_prefix"; then
4820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4821 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$RANLIB"; then
4828 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 RANLIB
=$ac_cv_prog_RANLIB
4848 if test -n "$RANLIB"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4850 $as_echo "$RANLIB" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$ac_cv_prog_RANLIB"; then
4859 ac_ct_RANLIB
=$RANLIB
4860 # Extract the first word of "ranlib", so it can be a program name with args.
4861 set dummy ranlib
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$ac_ct_RANLIB"; then
4868 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4888 if test -n "$ac_ct_RANLIB"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4890 $as_echo "$ac_ct_RANLIB" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4896 if test "x$ac_ct_RANLIB" = x
; then
4899 case $cross_compiling:$ac_tool_warned in
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4903 ac_tool_warned
=yes ;;
4905 RANLIB
=$ac_ct_RANLIB
4908 RANLIB
="$ac_cv_prog_RANLIB"
4911 test -z "$RANLIB" && RANLIB
=:
4918 # Determine commands to create old-style static archives.
4919 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4920 old_postinstall_cmds
='chmod 644 $oldlib'
4921 old_postuninstall_cmds
=
4923 if test -n "$RANLIB"; then
4926 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4929 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4932 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4968 # If no C compiler was specified, use CC.
4971 # If no C compiler flags were specified, use CFLAGS.
4972 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4974 # Allow CC to be a program name with arguments.
4978 # Check for command to grab the raw symbol name followed by C symbol from nm.
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4980 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4981 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4985 # These are sane defaults that work on at least a few old systems.
4986 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4988 # Character class describing NM global symbol codes.
4989 symcode
='[BCDEGRST]'
4991 # Regexp to match symbols that can be accessed directly from C.
4992 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
4994 # Define system-specific variables.
4999 cygwin
* | mingw
* | pw32
* | cegcc
*)
5000 symcode
='[ABCDGISTW]'
5003 if test "$host_cpu" = ia64
; then
5004 symcode
='[ABCDEGRST]'
5008 symcode
='[BCDEGRST]'
5011 symcode
='[BCDEGQRST]'
5022 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5030 # If we're using GNU nm, then use its standard symbol codes.
5031 case `$NM -V 2>&1` in
5032 *GNU
* | *'with BFD'*)
5033 symcode
='[ABCDGIRSTW]' ;;
5036 # Transform an extracted symbol line into a proper C declaration.
5037 # Some systems (esp. on ia64) link data and code symbols differently,
5038 # so use this general approach.
5039 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5041 # Transform an extracted symbol line into symbol name and symbol address
5042 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5043 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5045 # Handle CRLF in mingw tool chain
5049 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5053 # Try without a prefix underscore, then with it.
5054 for ac_symprfx
in "" "_"; do
5056 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5057 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5059 # Write the raw and C identifiers.
5060 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5061 # Fake it for dumpbin and say T for any non-static function
5062 # and D for any global variable.
5063 # Also find C++ and __fastcall symbols from MSVC++,
5064 # which start with @ or ?.
5065 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5066 " {last_section=section; section=\$ 3};"\
5067 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5068 " \$ 0!~/External *\|/{next};"\
5069 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5070 " {if(hide[section]) next};"\
5071 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5072 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5073 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5074 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5075 " ' prfx=^$ac_symprfx"
5077 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5080 # Check to see that the pipe works correctly.
5084 cat > conftest.
$ac_ext <<_LT_EOF
5089 void nm_test_func(void);
5090 void nm_test_func(void){}
5094 int main(){nm_test_var='a';nm_test_func();return(0);}
5097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5098 (eval $ac_compile) 2>&5
5100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101 test $ac_status = 0; }; then
5102 # Now try to grab the symbols.
5104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5105 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5108 test $ac_status = 0; } && test -s "$nlist"; then
5109 # Try sorting and uniquifying the output.
5110 if sort "$nlist" | uniq > "$nlist"T
; then
5111 mv -f "$nlist"T
"$nlist"
5116 # Make sure that we snagged all the symbols we need.
5117 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5118 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5119 cat <<_LT_EOF > conftest.$ac_ext
5125 # Now generate the symbol file.
5126 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5128 cat <<_LT_EOF >> conftest.$ac_ext
5130 /* The mapping between symbol names and symbols. */
5135 lt__PROGRAM__LTX_preloaded_symbols[] =
5137 { "@PROGRAM@", (void *) 0 },
5139 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5140 cat <<\_LT_EOF
>> conftest.
$ac_ext
5144 /* This works around a problem
in FreeBSD linker
*/
5145 #ifdef FREEBSD_WORKAROUND
5146 static const void
*lt_preloaded_setup
() {
5147 return lt__PROGRAM__LTX_preloaded_symbols
;
5155 # Now try linking the two files.
5156 mv conftest.
$ac_objext conftstm.
$ac_objext
5157 lt_save_LIBS
="$LIBS"
5158 lt_save_CFLAGS
="$CFLAGS"
5159 LIBS
="conftstm.$ac_objext"
5160 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5162 (eval $ac_link) 2>&5
5164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5165 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5168 LIBS
="$lt_save_LIBS"
5169 CFLAGS
="$lt_save_CFLAGS"
5171 echo "cannot find nm_test_func in $nlist" >&5
5174 echo "cannot find nm_test_var in $nlist" >&5
5177 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5180 echo "$progname: failed program was:" >&5
5181 cat conftest.
$ac_ext >&5
5183 rm -rf conftest
* conftst
*
5185 # Do not use the global_symbol_pipe unless it works.
5186 if test "$pipe_works" = yes; then
5189 lt_cv_sys_global_symbol_pipe
=
5195 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5196 lt_cv_sys_global_symbol_to_cdecl
=
5198 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5200 $as_echo "failed" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5203 $as_echo "ok" >&6; }
5228 # Check whether --enable-libtool-lock was given.
5229 if test "${enable_libtool_lock+set}" = set; then :
5230 enableval
=$enable_libtool_lock;
5233 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5235 # Some flags need to be propagated to the compiler or linker for good
5239 # Find out which ABI we are using.
5240 echo 'int i;' > conftest.
$ac_ext
5241 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5242 (eval $ac_compile) 2>&5
5244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; then
5246 case `/usr/bin/file conftest.$ac_objext` in
5258 # Find out which ABI we are using.
5259 echo '#line 5259 "configure"' > conftest.
$ac_ext
5260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5261 (eval $ac_compile) 2>&5
5263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5264 test $ac_status = 0; }; then
5265 if test "$lt_cv_prog_gnu_ld" = yes; then
5266 case `/usr/bin/file conftest.$ac_objext` in
5268 LD
="${LD-ld} -melf32bsmip"
5271 LD
="${LD-ld} -melf32bmipn32"
5274 LD
="${LD-ld} -melf64bmip"
5278 case `/usr/bin/file conftest.$ac_objext` in
5294 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5295 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5296 # Find out which ABI we are using.
5297 echo 'int i;' > conftest.
$ac_ext
5298 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5299 (eval $ac_compile) 2>&5
5301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302 test $ac_status = 0; }; then
5303 case `/usr/bin/file conftest.o` in
5306 x86_64
-*kfreebsd
*-gnu)
5307 LD
="${LD-ld} -m elf_i386_fbsd"
5310 LD
="${LD-ld} -m elf_i386"
5312 ppc64
-*linux
*|powerpc64
-*linux
*)
5313 LD
="${LD-ld} -m elf32ppclinux"
5316 LD
="${LD-ld} -m elf_s390"
5319 LD
="${LD-ld} -m elf32_sparc"
5325 x86_64
-*kfreebsd
*-gnu)
5326 LD
="${LD-ld} -m elf_x86_64_fbsd"
5329 LD
="${LD-ld} -m elf_x86_64"
5331 ppc
*-*linux
*|powerpc
*-*linux
*)
5332 LD
="${LD-ld} -m elf64ppc"
5334 s390
*-*linux
*|s390
*-*tpf
*)
5335 LD
="${LD-ld} -m elf64_s390"
5338 LD
="${LD-ld} -m elf64_sparc"
5348 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5349 SAVE_CFLAGS
="$CFLAGS"
5350 CFLAGS
="$CFLAGS -belf"
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5352 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5353 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5357 ac_cpp
='$CPP $CPPFLAGS'
5358 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5359 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5360 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5373 if ac_fn_c_try_link
"$LINENO"; then :
5374 lt_cv_cc_needs_belf
=yes
5376 lt_cv_cc_needs_belf
=no
5378 rm -f core conftest.err conftest.
$ac_objext \
5379 conftest
$ac_exeext conftest.
$ac_ext
5381 ac_cpp
='$CPP $CPPFLAGS'
5382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5388 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5389 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5390 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5391 CFLAGS
="$SAVE_CFLAGS"
5395 # Find out which ABI we are using.
5396 echo 'int i;' > conftest.
$ac_ext
5397 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5398 (eval $ac_compile) 2>&5
5400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5401 test $ac_status = 0; }; then
5402 case `/usr/bin/file conftest.o` in
5404 case $lt_cv_prog_gnu_ld in
5405 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5407 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5419 need_locks
="$enable_libtool_lock"
5423 rhapsody
* | darwin
*)
5424 if test -n "$ac_tool_prefix"; then
5425 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5426 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$DSYMUTIL"; then
5433 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5442 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5453 if test -n "$DSYMUTIL"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5455 $as_echo "$DSYMUTIL" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5463 if test -z "$ac_cv_prog_DSYMUTIL"; then
5464 ac_ct_DSYMUTIL
=$DSYMUTIL
5465 # Extract the first word of "dsymutil", so it can be a program name with args.
5466 set dummy dsymutil
; ac_word
=$2
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5468 $as_echo_n "checking for $ac_word... " >&6; }
5469 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5470 $as_echo_n "(cached) " >&6
5472 if test -n "$ac_ct_DSYMUTIL"; then
5473 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5479 test -z "$as_dir" && as_dir
=.
5480 for ac_exec_ext
in '' $ac_executable_extensions; do
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5482 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5493 if test -n "$ac_ct_DSYMUTIL"; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5495 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5498 $as_echo "no" >&6; }
5501 if test "x$ac_ct_DSYMUTIL" = x
; then
5504 case $cross_compiling:$ac_tool_warned in
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5508 ac_tool_warned
=yes ;;
5510 DSYMUTIL
=$ac_ct_DSYMUTIL
5513 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5516 if test -n "$ac_tool_prefix"; then
5517 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5518 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5520 $as_echo_n "checking for $ac_word... " >&6; }
5521 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -n "$NMEDIT"; then
5525 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5531 test -z "$as_dir" && as_dir
=.
5532 for ac_exec_ext
in '' $ac_executable_extensions; do
5533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5534 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 NMEDIT
=$ac_cv_prog_NMEDIT
5545 if test -n "$NMEDIT"; then
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5547 $as_echo "$NMEDIT" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5550 $as_echo "no" >&6; }
5555 if test -z "$ac_cv_prog_NMEDIT"; then
5556 ac_ct_NMEDIT
=$NMEDIT
5557 # Extract the first word of "nmedit", so it can be a program name with args.
5558 set dummy nmedit
; ac_word
=$2
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5561 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5562 $as_echo_n "(cached) " >&6
5564 if test -n "$ac_ct_NMEDIT"; then
5565 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5571 test -z "$as_dir" && as_dir
=.
5572 for ac_exec_ext
in '' $ac_executable_extensions; do
5573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5574 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5585 if test -n "$ac_ct_NMEDIT"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5587 $as_echo "$ac_ct_NMEDIT" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5593 if test "x$ac_ct_NMEDIT" = x
; then
5596 case $cross_compiling:$ac_tool_warned in
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5600 ac_tool_warned
=yes ;;
5602 NMEDIT
=$ac_ct_NMEDIT
5605 NMEDIT
="$ac_cv_prog_NMEDIT"
5608 if test -n "$ac_tool_prefix"; then
5609 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5610 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if test "${ac_cv_prog_LIPO+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5616 if test -n "$LIPO"; then
5617 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir
=.
5624 for ac_exec_ext
in '' $ac_executable_extensions; do
5625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5626 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 LIPO
=$ac_cv_prog_LIPO
5637 if test -n "$LIPO"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5639 $as_echo "$LIPO" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5647 if test -z "$ac_cv_prog_LIPO"; then
5649 # Extract the first word of "lipo", so it can be a program name with args.
5650 set dummy lipo
; ac_word
=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5656 if test -n "$ac_ct_LIPO"; then
5657 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5663 test -z "$as_dir" && as_dir
=.
5664 for ac_exec_ext
in '' $ac_executable_extensions; do
5665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5666 ac_cv_prog_ac_ct_LIPO
="lipo"
5667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5677 if test -n "$ac_ct_LIPO"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5679 $as_echo "$ac_ct_LIPO" >&6; }
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5685 if test "x$ac_ct_LIPO" = x
; then
5688 case $cross_compiling:$ac_tool_warned in
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5692 ac_tool_warned
=yes ;;
5697 LIPO
="$ac_cv_prog_LIPO"
5700 if test -n "$ac_tool_prefix"; then
5701 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5702 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$OTOOL"; then
5709 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5718 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 OTOOL
=$ac_cv_prog_OTOOL
5729 if test -n "$OTOOL"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5731 $as_echo "$OTOOL" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5739 if test -z "$ac_cv_prog_OTOOL"; then
5741 # Extract the first word of "otool", so it can be a program name with args.
5742 set dummy otool
; ac_word
=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5746 $as_echo_n "(cached) " >&6
5748 if test -n "$ac_ct_OTOOL"; then
5749 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5755 test -z "$as_dir" && as_dir
=.
5756 for ac_exec_ext
in '' $ac_executable_extensions; do
5757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5758 ac_cv_prog_ac_ct_OTOOL
="otool"
5759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5769 if test -n "$ac_ct_OTOOL"; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5771 $as_echo "$ac_ct_OTOOL" >&6; }
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5777 if test "x$ac_ct_OTOOL" = x
; then
5780 case $cross_compiling:$ac_tool_warned in
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned
=yes ;;
5789 OTOOL
="$ac_cv_prog_OTOOL"
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5794 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5796 $as_echo_n "checking for $ac_word... " >&6; }
5797 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5798 $as_echo_n "(cached) " >&6
5800 if test -n "$OTOOL64"; then
5801 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir
=.
5808 for ac_exec_ext
in '' $ac_executable_extensions; do
5809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5810 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 OTOOL64
=$ac_cv_prog_OTOOL64
5821 if test -n "$OTOOL64"; then
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5823 $as_echo "$OTOOL64" >&6; }
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5831 if test -z "$ac_cv_prog_OTOOL64"; then
5832 ac_ct_OTOOL64
=$OTOOL64
5833 # Extract the first word of "otool64", so it can be a program name with args.
5834 set dummy otool64
; ac_word
=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -n "$ac_ct_OTOOL64"; then
5841 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir
=.
5848 for ac_exec_ext
in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5861 if test -n "$ac_ct_OTOOL64"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5863 $as_echo "$ac_ct_OTOOL64" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5869 if test "x$ac_ct_OTOOL64" = x
; then
5872 case $cross_compiling:$ac_tool_warned in
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5876 ac_tool_warned
=yes ;;
5878 OTOOL64
=$ac_ct_OTOOL64
5881 OTOOL64
="$ac_cv_prog_OTOOL64"
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5911 $as_echo_n "checking for -single_module linker flag... " >&6; }
5912 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 lt_cv_apple_cc_single_mod
=no
5916 if test -z "${LT_MULTI_MODULE}"; then
5917 # By default we will add the -single_module flag. You can override
5918 # by either setting the environment variable LT_MULTI_MODULE
5919 # non-empty at configure time, or by adding -multi_module to the
5921 rm -rf libconftest.dylib
*
5922 echo "int foo(void){return 1;}" > conftest.c
5923 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5924 -dynamiclib -Wl,-single_module conftest.c" >&5
5925 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5926 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5928 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5929 lt_cv_apple_cc_single_mod
=yes
5931 cat conftest.err
>&5
5933 rm -rf libconftest.dylib
*
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5938 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5940 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5941 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5944 lt_cv_ld_exported_symbols_list
=no
5945 save_LDFLAGS
=$LDFLAGS
5946 echo "_main" > conftest.sym
5947 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5959 if ac_fn_c_try_link
"$LINENO"; then :
5960 lt_cv_ld_exported_symbols_list
=yes
5962 lt_cv_ld_exported_symbols_list
=no
5964 rm -f core conftest.err conftest.
$ac_objext \
5965 conftest
$ac_exeext conftest.
$ac_ext
5966 LDFLAGS
="$save_LDFLAGS"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5970 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5972 rhapsody
* | darwin1.
[012])
5973 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5975 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5976 darwin
*) # darwin 5.x on
5977 # if running on 10.5 or later, the deployment target defaults
5978 # to the OS version, if on x86, and 10.4, the deployment
5979 # target defaults to 10.4. Don't you love it?
5980 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5981 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5982 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5984 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5986 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5990 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5991 _lt_dar_single_mod
='$single_module'
5993 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5994 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5996 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5998 if test "$DSYMUTIL" != ":"; then
5999 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6007 ac_cpp
='$CPP $CPPFLAGS'
6008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6012 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6013 # On Suns, sometimes $CPP names a directory.
6014 if test -n "$CPP" && test -d "$CPP"; then
6017 if test -z "$CPP"; then
6018 if test "${ac_cv_prog_CPP+set}" = set; then :
6019 $as_echo_n "(cached) " >&6
6021 # Double quotes because CPP needs to be expanded
6022 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6025 for ac_c_preproc_warn_flag
in '' yes
6027 # Use a header file that comes with gcc, so configuring glibc
6028 # with a fresh cross-compiler works.
6029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6030 # <limits.h> exists even on freestanding compilers.
6031 # On the NeXT, cc -E runs the code through the compiler's parser,
6032 # not just through cpp. "Syntax error" is here to catch this case.
6033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6036 # include <limits.h>
6038 # include <assert.h>
6042 if ac_fn_c_try_cpp
"$LINENO"; then :
6045 # Broken: fails on valid input.
6048 rm -f conftest.err conftest.
$ac_ext
6050 # OK, works on sane cases. Now check whether nonexistent headers
6051 # can be detected and how.
6052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6054 #include <ac_nonexistent.h>
6056 if ac_fn_c_try_cpp
"$LINENO"; then :
6057 # Broken: success on invalid input.
6060 # Passes both tests.
6064 rm -f conftest.err conftest.
$ac_ext
6067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6068 rm -f conftest.err conftest.
$ac_ext
6069 if $ac_preproc_ok; then :
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6082 $as_echo "$CPP" >&6; }
6084 for ac_c_preproc_warn_flag
in '' yes
6086 # Use a header file that comes with gcc, so configuring glibc
6087 # with a fresh cross-compiler works.
6088 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6089 # <limits.h> exists even on freestanding compilers.
6090 # On the NeXT, cc -E runs the code through the compiler's parser,
6091 # not just through cpp. "Syntax error" is here to catch this case.
6092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h. */
6095 # include <limits.h>
6097 # include <assert.h>
6101 if ac_fn_c_try_cpp
"$LINENO"; then :
6104 # Broken: fails on valid input.
6107 rm -f conftest.err conftest.
$ac_ext
6109 # OK, works on sane cases. Now check whether nonexistent headers
6110 # can be detected and how.
6111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6112 /* end confdefs.h. */
6113 #include <ac_nonexistent.h>
6115 if ac_fn_c_try_cpp
"$LINENO"; then :
6116 # Broken: success on invalid input.
6119 # Passes both tests.
6123 rm -f conftest.err conftest.
$ac_ext
6126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6127 rm -f conftest.err conftest.
$ac_ext
6128 if $ac_preproc_ok; then :
6131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6133 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6134 See \`config.log' for more details." "$LINENO" 5; }
6138 ac_cpp
='$CPP $CPPFLAGS'
6139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6145 $as_echo_n "checking for ANSI C header files... " >&6; }
6146 if test "${ac_cv_header_stdc+set}" = set; then :
6147 $as_echo_n "(cached) " >&6
6149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6164 if ac_fn_c_try_compile
"$LINENO"; then :
6165 ac_cv_header_stdc
=yes
6167 ac_cv_header_stdc
=no
6169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6171 if test $ac_cv_header_stdc = yes; then
6172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6179 $EGREP "memchr" >/dev
/null
2>&1; then :
6182 ac_cv_header_stdc
=no
6188 if test $ac_cv_header_stdc = yes; then
6189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6196 $EGREP "free" >/dev
/null
2>&1; then :
6199 ac_cv_header_stdc
=no
6205 if test $ac_cv_header_stdc = yes; then
6206 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6207 if test "$cross_compiling" = yes; then :
6210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6214 #if ((' ' & 0x0FF) == 0x020)
6215 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6216 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6218 # define ISLOWER(c) \
6219 (('a' <= (c) && (c) <= 'i') \
6220 || ('j' <= (c) && (c) <= 'r') \
6221 || ('s' <= (c) && (c) <= 'z'))
6222 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6225 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6230 for (i = 0; i < 256; i++)
6231 if (XOR (islower (i), ISLOWER (i))
6232 || toupper (i) != TOUPPER (i))
6237 if ac_fn_c_try_run
"$LINENO"; then :
6240 ac_cv_header_stdc
=no
6242 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6243 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6249 $as_echo "$ac_cv_header_stdc" >&6; }
6250 if test $ac_cv_header_stdc = yes; then
6252 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6256 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6257 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6258 inttypes.h stdint.h unistd.h
6260 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6261 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6263 eval as_val
=\$
$as_ac_Header
6264 if test "x$as_val" = x
""yes; then :
6265 cat >>confdefs.h
<<_ACEOF
6266 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6274 for ac_header
in dlfcn.h
6276 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6278 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6279 cat >>confdefs.h
<<_ACEOF
6280 #define HAVE_DLFCN_H 1
6290 # Check whether --enable-static was given.
6291 if test "${enable_static+set}" = set; then :
6292 enableval
=$enable_static; p
=${PACKAGE-default}
6294 yes) enable_static
=yes ;;
6295 no
) enable_static
=no
;;
6298 # Look at the argument we got. We use all the common list separators.
6299 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6300 for pkg
in $enableval; do
6302 if test "X$pkg" = "X$p"; then
6328 # Check whether --enable-shared was given.
6329 if test "${enable_shared+set}" = set; then :
6330 enableval
=$enable_shared; p
=${PACKAGE-default}
6332 yes) enable_shared
=yes ;;
6333 no
) enable_shared
=no
;;
6336 # Look at the argument we got. We use all the common list separators.
6337 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6338 for pkg
in $enableval; do
6340 if test "X$pkg" = "X$p"; then
6361 # Check whether --with-pic was given.
6362 if test "${with_pic+set}" = set; then :
6363 withval
=$with_pic; pic_mode
="$withval"
6369 test -z "$pic_mode" && pic_mode
=default
6377 # Check whether --enable-fast-install was given.
6378 if test "${enable_fast_install+set}" = set; then :
6379 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6381 yes) enable_fast_install
=yes ;;
6382 no
) enable_fast_install
=no
;;
6384 enable_fast_install
=no
6385 # Look at the argument we got. We use all the common list separators.
6386 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6387 for pkg
in $enableval; do
6389 if test "X$pkg" = "X$p"; then
6390 enable_fast_install
=yes
6397 enable_fast_install
=yes
6410 # This can be used to rebuild libtool when needed
6411 LIBTOOL_DEPS
="$ltmain"
6413 # Always use our own libtool.
6414 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6440 test -z "$LN_S" && LN_S
="ln -s"
6455 if test -n "${ZSH_VERSION+set}" ; then
6456 setopt NO_GLOB_SUBST
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6460 $as_echo_n "checking for objdir... " >&6; }
6461 if test "${lt_cv_objdir+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6464 rm -f .libs
2>/dev
/null
6465 mkdir .libs
2>/dev
/null
6466 if test -d .libs
; then
6469 # MS-DOS does not allow filenames that begin with a dot.
6472 rmdir .libs
2>/dev
/null
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6475 $as_echo "$lt_cv_objdir" >&6; }
6476 objdir
=$lt_cv_objdir
6482 cat >>confdefs.h
<<_ACEOF
6483 #define LT_OBJDIR "$lt_cv_objdir/"
6504 # AIX sometimes has problems with the GCC collect2 program. For some
6505 # reason, if we set the COLLECT_NAMES environment variable, the problems
6506 # vanish in a puff of smoke.
6507 if test "X${COLLECT_NAMES+set}" != Xset
; then
6509 export COLLECT_NAMES
6514 # Sed substitution that helps us do robust quoting. It backslashifies
6515 # metacharacters that are still active within double-quoted strings.
6516 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6518 # Same as above, but do not quote variable references.
6519 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6521 # Sed substitution to delay expansion of an escaped shell variable in a
6522 # double_quote_subst'ed string.
6523 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6525 # Sed substitution to delay expansion of an escaped single quote.
6526 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6528 # Sed substitution to avoid accidental globbing in evaled expressions
6529 no_glob_subst
='s/\*/\\\*/g'
6533 can_build_shared
=yes
6535 # All known linkers require a `.a' archive for static linking (except MSVC,
6536 # which needs '.lib').
6539 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6542 old_CFLAGS
="$CFLAGS"
6544 # Set sane defaults for various variables
6545 test -z "$CC" && CC
=cc
6546 test -z "$LTCC" && LTCC
=$CC
6547 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6548 test -z "$LD" && LD
=ld
6549 test -z "$ac_objext" && ac_objext
=o
6551 for cc_temp
in $compiler""; do
6553 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6554 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6559 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6562 # Only perform the check for file, if the check method requires it
6563 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6564 case $deplibs_check_method in
6566 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6568 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6574 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6577 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6578 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6579 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6580 for ac_dir
in $ac_dummy; do
6582 test -z "$ac_dir" && ac_dir
=.
6583 if test -f $ac_dir/${ac_tool_prefix}file; then
6584 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6585 if test -n "$file_magic_test_file"; then
6586 case $deplibs_check_method in
6588 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6589 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6590 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6591 $EGREP "$file_magic_regex" > /dev
/null
; then
6596 *** Warning: the command libtool uses to detect shared libraries,
6597 *** $file_magic_cmd, produces output that libtool cannot recognize.
6598 *** The result is that libtool may fail to recognize shared libraries
6599 *** as such. This will affect the creation of libtool libraries that
6600 *** depend on shared libraries, but programs linked with such libtool
6601 *** libraries will work regardless of this problem. Nevertheless, you
6602 *** may want to report the problem to your system manager and/or to
6603 *** bug-libtool@gnu.org
6613 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6618 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6619 if test -n "$MAGIC_CMD"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6621 $as_echo "$MAGIC_CMD" >&6; }
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6631 if test -z "$lt_cv_path_MAGIC_CMD"; then
6632 if test -n "$ac_tool_prefix"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6634 $as_echo_n "checking for file... " >&6; }
6635 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6636 $as_echo_n "(cached) " >&6
6640 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6643 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6644 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6645 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6646 for ac_dir
in $ac_dummy; do
6648 test -z "$ac_dir" && ac_dir
=.
6649 if test -f $ac_dir/file; then
6650 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6651 if test -n "$file_magic_test_file"; then
6652 case $deplibs_check_method in
6654 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6655 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6656 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6657 $EGREP "$file_magic_regex" > /dev
/null
; then
6662 *** Warning: the command libtool uses to detect shared libraries,
6663 *** $file_magic_cmd, produces output that libtool cannot recognize.
6664 *** The result is that libtool may fail to recognize shared libraries
6665 *** as such. This will affect the creation of libtool libraries that
6666 *** depend on shared libraries, but programs linked with such libtool
6667 *** libraries will work regardless of this problem. Nevertheless, you
6668 *** may want to report the problem to your system manager and/or to
6669 *** bug-libtool@gnu.org
6679 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6684 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6685 if test -n "$MAGIC_CMD"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6687 $as_echo "$MAGIC_CMD" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6703 # Use C for the default configuration in the libtool script
6707 ac_cpp
='$CPP $CPPFLAGS'
6708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6713 # Source file extension for C test sources.
6716 # Object file extension for compiled C test sources.
6720 # Code to be used in simple compile tests
6721 lt_simple_compile_test_code
="int some_variable = 0;"
6723 # Code to be used in simple link tests
6724 lt_simple_link_test_code
='int main(){return(0);}'
6732 # If no C compiler was specified, use CC.
6735 # If no C compiler flags were specified, use CFLAGS.
6736 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6738 # Allow CC to be a program name with arguments.
6741 # Save the default compiler, since it gets overwritten when the other
6742 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6743 compiler_DEFAULT
=$CC
6745 # save warnings/boilerplate of simple test code
6746 ac_outfile
=conftest.
$ac_objext
6747 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6748 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6749 _lt_compiler_boilerplate
=`cat conftest.err`
6752 ac_outfile
=conftest.
$ac_objext
6753 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6754 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6755 _lt_linker_boilerplate
=`cat conftest.err`
6759 if test -n "$compiler"; then
6761 lt_prog_compiler_no_builtin_flag
=
6763 if test "$GCC" = yes; then
6764 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6767 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6768 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6769 $as_echo_n "(cached) " >&6
6771 lt_cv_prog_compiler_rtti_exceptions
=no
6772 ac_outfile
=conftest.
$ac_objext
6773 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6774 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6775 # Insert the option either (1) after the last *FLAGS variable, or
6776 # (2) before a word containing "conftest.", or (3) at the end.
6777 # Note that $ac_compile itself does not contain backslashes and begins
6778 # with a dollar sign (not a hyphen), so the echo should work correctly.
6779 # The option is referenced via a variable to avoid confusing sed.
6780 lt_compile
=`echo "$ac_compile" | $SED \
6781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6783 -e 's:$: $lt_compiler_flag:'`
6784 (eval echo "\"\$as_me:6784: $lt_compile\"" >&5)
6785 (eval "$lt_compile" 2>conftest.err
)
6787 cat conftest.err
>&5
6788 echo "$as_me:6788: \$? = $ac_status" >&5
6789 if (exit $ac_status) && test -s "$ac_outfile"; then
6790 # The compiler can only warn and ignore the option if not recognized
6791 # So say no if there are warnings other than the usual output.
6792 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6793 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6794 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6795 lt_cv_prog_compiler_rtti_exceptions
=yes
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6802 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6804 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6805 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6817 lt_prog_compiler_wl
=
6818 lt_prog_compiler_pic
=
6819 lt_prog_compiler_static
=
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6822 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6824 if test "$GCC" = yes; then
6825 lt_prog_compiler_wl
='-Wl,'
6826 lt_prog_compiler_static
='-static'
6830 # All AIX code is PIC.
6831 if test "$host_cpu" = ia64
; then
6832 # AIX 5 now supports IA64 processor
6833 lt_prog_compiler_static
='-Bstatic'
6840 # see comment about AmigaOS4 .so support
6841 lt_prog_compiler_pic
='-fPIC'
6844 # FIXME: we need at least 68020 code to build shared libraries, but
6845 # adding the `-m68020' flag to GCC prevents building anything better,
6847 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6852 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6853 # PIC is the default for these OSes.
6856 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6857 # This hack is so that the source file can tell whether it is being
6858 # built for inclusion in a dll (and should export symbols for example).
6859 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6860 # (--disable-auto-import) libraries
6861 lt_prog_compiler_pic
='-DDLL_EXPORT'
6864 darwin
* | rhapsody
*)
6865 # PIC is the default on this platform
6866 # Common symbols not allowed in MH_DYLIB files
6867 lt_prog_compiler_pic
='-fno-common'
6871 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6872 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6873 # sets the default TLS model and affects inlining.
6879 lt_prog_compiler_pic
='-fPIC'
6885 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6886 # Instead, we relocate shared libraries at runtime.
6890 # Just because we use GCC doesn't mean we suddenly get shared libraries
6891 # on systems that don't support them.
6892 lt_prog_compiler_can_build_shared
=no
6897 # QNX uses GNU C++, but need to define -shared option too, otherwise
6899 lt_prog_compiler_pic
='-fPIC -shared'
6903 if test -d /usr
/nec
; then
6904 lt_prog_compiler_pic
=-Kconform_pic
6909 lt_prog_compiler_pic
='-fPIC'
6913 # PORTME Check for flag to pass linker flags through the system compiler.
6916 lt_prog_compiler_wl
='-Wl,'
6917 if test "$host_cpu" = ia64
; then
6918 # AIX 5 now supports IA64 processor
6919 lt_prog_compiler_static
='-Bstatic'
6921 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6925 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6926 # This hack is so that the source file can tell whether it is being
6927 # built for inclusion in a dll (and should export symbols for example).
6928 lt_prog_compiler_pic
='-DDLL_EXPORT'
6931 hpux9
* | hpux10
* | hpux11
*)
6932 lt_prog_compiler_wl
='-Wl,'
6933 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6940 lt_prog_compiler_pic
='+Z'
6943 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6944 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6947 irix5
* | irix6
* | nonstopux
*)
6948 lt_prog_compiler_wl
='-Wl,'
6949 # PIC (with -KPIC) is the default.
6950 lt_prog_compiler_static
='-non_shared'
6953 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6954 case $cc_basename in
6955 # old Intel for x86_64 which still supported -KPIC.
6957 lt_prog_compiler_wl
='-Wl,'
6958 lt_prog_compiler_pic
='-KPIC'
6959 lt_prog_compiler_static
='-static'
6961 # icc used to be incompatible with GCC.
6962 # ICC 10 doesn't accept -KPIC any more.
6964 lt_prog_compiler_wl
='-Wl,'
6965 lt_prog_compiler_pic
='-fPIC'
6966 lt_prog_compiler_static
='-static'
6968 # Lahey Fortran 8.1.
6970 lt_prog_compiler_wl
='-Wl,'
6971 lt_prog_compiler_pic
='--shared'
6972 lt_prog_compiler_static
='--static'
6974 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6975 # Portland Group compilers (*not* the Pentium gcc compiler,
6976 # which looks to be a dead project)
6977 lt_prog_compiler_wl
='-Wl,'
6978 lt_prog_compiler_pic
='-fpic'
6979 lt_prog_compiler_static
='-Bstatic'
6982 lt_prog_compiler_wl
='-Wl,'
6983 # All Alpha code is PIC.
6984 lt_prog_compiler_static
='-non_shared'
6987 # IBM XL C 8.0/Fortran 10.1 on PPC
6988 lt_prog_compiler_wl
='-Wl,'
6989 lt_prog_compiler_pic
='-qpic'
6990 lt_prog_compiler_static
='-qstaticlink'
6993 case `$CC -V 2>&1 | sed 5q` in
6996 lt_prog_compiler_pic
='-KPIC'
6997 lt_prog_compiler_static
='-Bstatic'
6998 lt_prog_compiler_wl
='-Wl,'
7001 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7002 lt_prog_compiler_pic
='-KPIC'
7003 lt_prog_compiler_static
='-Bstatic'
7004 lt_prog_compiler_wl
=''
7012 lt_prog_compiler_pic
='-KPIC'
7013 lt_prog_compiler_static
='-Bstatic'
7017 # QNX uses GNU C++, but need to define -shared option too, otherwise
7019 lt_prog_compiler_pic
='-fPIC -shared'
7022 osf3
* | osf4
* | osf5
*)
7023 lt_prog_compiler_wl
='-Wl,'
7024 # All OSF/1 code is PIC.
7025 lt_prog_compiler_static
='-non_shared'
7029 lt_prog_compiler_static
='-non_shared'
7033 lt_prog_compiler_pic
='-KPIC'
7034 lt_prog_compiler_static
='-Bstatic'
7035 case $cc_basename in
7037 lt_prog_compiler_wl
='-Qoption ld ';;
7039 lt_prog_compiler_wl
='-Wl,';;
7044 lt_prog_compiler_wl
='-Qoption ld '
7045 lt_prog_compiler_pic
='-PIC'
7046 lt_prog_compiler_static
='-Bstatic'
7049 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7050 lt_prog_compiler_wl
='-Wl,'
7051 lt_prog_compiler_pic
='-KPIC'
7052 lt_prog_compiler_static
='-Bstatic'
7056 if test -d /usr
/nec
;then
7057 lt_prog_compiler_pic
='-Kconform_pic'
7058 lt_prog_compiler_static
='-Bstatic'
7062 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7063 lt_prog_compiler_wl
='-Wl,'
7064 lt_prog_compiler_pic
='-KPIC'
7065 lt_prog_compiler_static
='-Bstatic'
7069 lt_prog_compiler_wl
='-Wl,'
7070 lt_prog_compiler_can_build_shared
=no
7074 lt_prog_compiler_pic
='-pic'
7075 lt_prog_compiler_static
='-Bstatic'
7079 lt_prog_compiler_can_build_shared
=no
7085 # For platforms which do not support PIC, -DPIC is meaningless:
7087 lt_prog_compiler_pic
=
7090 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7094 $as_echo "$lt_prog_compiler_pic" >&6; }
7102 # Check to make sure the PIC flag actually works.
7104 if test -n "$lt_prog_compiler_pic"; then
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7106 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7107 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7108 $as_echo_n "(cached) " >&6
7110 lt_cv_prog_compiler_pic_works
=no
7111 ac_outfile
=conftest.
$ac_objext
7112 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7113 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7114 # Insert the option either (1) after the last *FLAGS variable, or
7115 # (2) before a word containing "conftest.", or (3) at the end.
7116 # Note that $ac_compile itself does not contain backslashes and begins
7117 # with a dollar sign (not a hyphen), so the echo should work correctly.
7118 # The option is referenced via a variable to avoid confusing sed.
7119 lt_compile
=`echo "$ac_compile" | $SED \
7120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7122 -e 's:$: $lt_compiler_flag:'`
7123 (eval echo "\"\$as_me:7123: $lt_compile\"" >&5)
7124 (eval "$lt_compile" 2>conftest.err
)
7126 cat conftest.err
>&5
7127 echo "$as_me:7127: \$? = $ac_status" >&5
7128 if (exit $ac_status) && test -s "$ac_outfile"; then
7129 # The compiler can only warn and ignore the option if not recognized
7130 # So say no if there are warnings other than the usual output.
7131 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7132 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7133 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7134 lt_cv_prog_compiler_pic_works
=yes
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7141 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7143 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7144 case $lt_prog_compiler_pic in
7146 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7149 lt_prog_compiler_pic
=
7150 lt_prog_compiler_can_build_shared
=no
7161 # Check to make sure the static flag actually works.
7163 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7165 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7166 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7167 $as_echo_n "(cached) " >&6
7169 lt_cv_prog_compiler_static_works
=no
7170 save_LDFLAGS
="$LDFLAGS"
7171 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7172 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7173 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7174 # The linker can only warn and ignore the option if not recognized
7175 # So say no if there are warnings
7176 if test -s conftest.err
; then
7177 # Append any errors to the config.log.
7178 cat conftest.err
1>&5
7179 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7180 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7181 if diff conftest.exp conftest.er2
>/dev
/null
; then
7182 lt_cv_prog_compiler_static_works
=yes
7185 lt_cv_prog_compiler_static_works
=yes
7189 LDFLAGS
="$save_LDFLAGS"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7193 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7195 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7198 lt_prog_compiler_static
=
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7208 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7209 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7210 $as_echo_n "(cached) " >&6
7212 lt_cv_prog_compiler_c_o
=no
7213 $RM -r conftest
2>/dev
/null
7217 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7219 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7220 # Insert the option either (1) after the last *FLAGS variable, or
7221 # (2) before a word containing "conftest.", or (3) at the end.
7222 # Note that $ac_compile itself does not contain backslashes and begins
7223 # with a dollar sign (not a hyphen), so the echo should work correctly.
7224 lt_compile
=`echo "$ac_compile" | $SED \
7225 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7226 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7227 -e 's:$: $lt_compiler_flag:'`
7228 (eval echo "\"\$as_me:7228: $lt_compile\"" >&5)
7229 (eval "$lt_compile" 2>out
/conftest.err
)
7231 cat out
/conftest.err
>&5
7232 echo "$as_me:7232: \$? = $ac_status" >&5
7233 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7235 # The compiler can only warn and ignore the option if not recognized
7236 # So say no if there are warnings
7237 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7238 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7239 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7240 lt_cv_prog_compiler_c_o
=yes
7245 # SGI C++ compiler will create directory out/ii_files/ for
7246 # template instantiation
7247 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7248 $RM out
/* && rmdir out
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7255 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7263 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7264 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7267 lt_cv_prog_compiler_c_o
=no
7268 $RM -r conftest
2>/dev
/null
7272 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7274 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7275 # Insert the option either (1) after the last *FLAGS variable, or
7276 # (2) before a word containing "conftest.", or (3) at the end.
7277 # Note that $ac_compile itself does not contain backslashes and begins
7278 # with a dollar sign (not a hyphen), so the echo should work correctly.
7279 lt_compile
=`echo "$ac_compile" | $SED \
7280 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7281 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7282 -e 's:$: $lt_compiler_flag:'`
7283 (eval echo "\"\$as_me:7283: $lt_compile\"" >&5)
7284 (eval "$lt_compile" 2>out
/conftest.err
)
7286 cat out
/conftest.err
>&5
7287 echo "$as_me:7287: \$? = $ac_status" >&5
7288 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7290 # The compiler can only warn and ignore the option if not recognized
7291 # So say no if there are warnings
7292 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7293 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7294 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7295 lt_cv_prog_compiler_c_o
=yes
7300 # SGI C++ compiler will create directory out/ii_files/ for
7301 # template instantiation
7302 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7303 $RM out
/* && rmdir out
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7310 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7315 hard_links
="nottested"
7316 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7317 # do not overwrite the value of need_locks provided by the user
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7319 $as_echo_n "checking if we can lock with hard links... " >&6; }
7322 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7324 ln conftest.a conftest.b
2>&5 || hard_links
=no
7325 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7327 $as_echo "$hard_links" >&6; }
7328 if test "$hard_links" = no
; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7330 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7346 allow_undefined_flag
=
7347 always_export_symbols
=no
7349 archive_expsym_cmds
=
7350 compiler_needs_object
=no
7351 enable_shared_with_static_runtimes
=no
7352 export_dynamic_flag_spec
=
7353 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7354 hardcode_automatic
=no
7356 hardcode_direct_absolute
=no
7357 hardcode_libdir_flag_spec
=
7358 hardcode_libdir_flag_spec_ld
=
7359 hardcode_libdir_separator
=
7361 hardcode_shlibpath_var
=unsupported
7363 link_all_deplibs
=unknown
7366 old_archive_from_new_cmds
=
7367 old_archive_from_expsyms_cmds
=
7368 thread_safe_flag_spec
=
7369 whole_archive_flag_spec
=
7370 # include_expsyms should be a list of space-separated symbols to be *always*
7371 # included in the symbol list
7373 # exclude_expsyms can be an extended regexp of symbols to exclude
7374 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7375 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7376 # as well as any symbol that contains `d'.
7377 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7378 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7379 # platforms (ab)use it in PIC code, but their linkers get confused if
7380 # the symbol is explicitly referenced. Since portable code cannot
7381 # rely on this symbol name, it's probably fine to never include it in
7382 # preloaded symbol tables.
7383 # Exclude shared library initialization/finalization symbols.
7384 extract_expsyms_cmds
=
7387 cygwin
* | mingw
* | pw32
* | cegcc
*)
7388 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7389 # When not using gcc, we currently assume that we are using
7390 # Microsoft Visual C++.
7391 if test "$GCC" != yes; then
7396 # we just hope/assume this is gcc and not c89 (= MSVC++)
7402 linux
* | k
*bsd
*-gnu)
7408 if test "$with_gnu_ld" = yes; then
7409 # If archive_cmds runs LD, not CC, wlarc should be empty
7412 # Set some defaults for GNU ld with shared library support. These
7413 # are reset later if shared libraries are not supported. Putting them
7414 # here allows them to be overridden if necessary.
7415 runpath_var
=LD_RUN_PATH
7416 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7417 export_dynamic_flag_spec
='${wl}--export-dynamic'
7418 # ancient GNU ld didn't support --whole-archive et. al.
7419 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7420 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7422 whole_archive_flag_spec
=
7424 supports_anon_versioning
=no
7425 case `$LD -v 2>&1` in
7426 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7427 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7428 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7429 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7430 *\
2.11.
*) ;; # other 2.11 versions
7431 *) supports_anon_versioning
=yes ;;
7434 # See if GNU ld supports shared libraries.
7437 # On AIX/PPC, the GNU linker is very broken
7438 if test "$host_cpu" != ia64
; then
7442 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7443 *** to be unable to reliably create shared libraries on AIX.
7444 *** Therefore, libtool is disabling shared libraries support. If you
7445 *** really care for shared libraries, you may want to modify your PATH
7446 *** so that a non-GNU linker is found, and then restart.
7455 # see comment about AmigaOS4 .so support
7456 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7457 archive_expsym_cmds
=''
7460 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7461 hardcode_libdir_flag_spec
='-L$libdir'
7462 hardcode_minus_L
=yes
7468 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7469 allow_undefined_flag
=unsupported
7470 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7471 # support --undefined. This deserves some investigation. FIXME
7472 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7478 cygwin
* | mingw
* | pw32
* | cegcc
*)
7479 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7480 # as there is no search path for DLLs.
7481 hardcode_libdir_flag_spec
='-L$libdir'
7482 allow_undefined_flag
=unsupported
7483 always_export_symbols
=no
7484 enable_shared_with_static_runtimes
=yes
7485 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7487 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7488 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7489 # If the export-symbols file already is a .def file (1st line
7490 # is EXPORTS), use it as is; otherwise, prepend...
7491 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7492 cp $export_symbols $output_objdir/$soname.def;
7494 echo EXPORTS > $output_objdir/$soname.def;
7495 cat $export_symbols >> $output_objdir/$soname.def;
7497 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7505 hardcode_shlibpath_var
=no
7506 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7507 export_dynamic_flag_spec
='${wl}-E'
7508 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7509 # Instead, shared libraries are loaded at an image base (0x10000000 by
7510 # default) and relocated if they conflict, which is a slow very memory
7511 # consuming and fragmenting process. To avoid this, we pick a random,
7512 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7513 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7514 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7515 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7518 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7520 if test "$host_os" = linux
-dietlibc; then
7521 case $cc_basename in
7522 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7525 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7526 && test "$tmp_diet" = no
7529 tmp_sharedflag
='-shared'
7530 case $cc_basename,$host_cpu in
7531 pgcc
*) # Portland Group C compiler
7532 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7533 tmp_addflag
=' $pic_flag'
7535 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7536 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7537 tmp_addflag
=' $pic_flag -Mnomain' ;;
7538 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7539 tmp_addflag
=' -i_dynamic' ;;
7540 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7541 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7542 ifc
* | ifort
*) # Intel Fortran compiler
7543 tmp_addflag
=' -nofor_main' ;;
7544 lf95
*) # Lahey Fortran 8.1
7545 whole_archive_flag_spec
=
7546 tmp_sharedflag
='--shared' ;;
7547 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7548 tmp_sharedflag
='-qmkshrobj'
7551 case `$CC -V 2>&1 | sed 5q` in
7552 *Sun\ C
*) # Sun C 5.9
7553 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7554 compiler_needs_object
=yes
7555 tmp_sharedflag
='-G' ;;
7556 *Sun\ F
*) # Sun Fortran 8.3
7557 tmp_sharedflag
='-G' ;;
7559 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7561 if test "x$supports_anon_versioning" = xyes
; then
7562 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7563 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7564 echo "local: *; };" >> $output_objdir/$libname.ver~
7565 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7568 case $cc_basename in
7570 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7571 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7572 hardcode_libdir_flag_spec
=
7573 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7574 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7575 if test "x$supports_anon_versioning" = xyes
; then
7576 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7577 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7578 echo "local: *; };" >> $output_objdir/$libname.ver~
7579 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7588 netbsd
* | netbsdelf
*-gnu)
7589 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7590 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7593 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7594 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7599 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7603 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7604 *** create shared libraries on Solaris systems. Therefore, libtool
7605 *** is disabling shared libraries support. We urge you to upgrade GNU
7606 *** binutils to release 2.9.1 or newer. Another option is to modify
7607 *** your PATH or compiler configuration so that the native linker is
7608 *** used, and then restart.
7611 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7612 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7613 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7619 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7620 case `$LD -v 2>&1` in
7621 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7625 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7626 *** reliably create shared libraries on SCO systems. Therefore, libtool
7627 *** is disabling shared libraries support. We urge you to upgrade GNU
7628 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7629 *** your PATH or compiler configuration so that the native linker is
7630 *** used, and then restart.
7635 # For security reasons, it is highly recommended that you always
7636 # use absolute paths for naming shared libraries, and exclude the
7637 # DT_RUNPATH tag from executables and libraries. But doing so
7638 # requires that you compile everything twice, which is a pain.
7639 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7640 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7642 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7651 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7654 hardcode_shlibpath_var
=no
7658 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7659 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7660 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7667 if test "$ld_shlibs" = no
; then
7669 hardcode_libdir_flag_spec
=
7670 export_dynamic_flag_spec
=
7671 whole_archive_flag_spec
=
7674 # PORTME fill in a description of your system's linker (not GNU ld)
7677 allow_undefined_flag
=unsupported
7678 always_export_symbols
=yes
7679 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7680 # Note: this linker hardcodes the directories in LIBPATH if there
7681 # are no directories specified by -L.
7682 hardcode_minus_L
=yes
7683 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7684 # Neither direct hardcoding nor static linking is supported with a
7686 hardcode_direct
=unsupported
7691 if test "$host_cpu" = ia64
; then
7692 # On IA64, the linker does run time linking by default, so we don't
7693 # have to do anything special.
7694 aix_use_runtimelinking
=no
7695 exp_sym_flag
='-Bexport'
7698 # If we're using GNU nm, then we don't want the "-C" option.
7699 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7700 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7701 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7703 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7705 aix_use_runtimelinking
=no
7707 # Test if we are trying to use run time linking or normal
7708 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7709 # need to do runtime linking.
7710 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7711 for ld_flag
in $LDFLAGS; do
7712 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7713 aix_use_runtimelinking
=yes
7720 exp_sym_flag
='-bexport'
7721 no_entry_flag
='-bnoentry'
7724 # When large executables or shared objects are built, AIX ld can
7725 # have problems creating the table of contents. If linking a library
7726 # or program results in "error TOC overflow" add -mminimal-toc to
7727 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7728 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7732 hardcode_direct_absolute
=yes
7733 hardcode_libdir_separator
=':'
7734 link_all_deplibs
=yes
7735 file_list_spec
='${wl}-f,'
7737 if test "$GCC" = yes; then
7738 case $host_os in aix4.
[012]|aix4.
[012].
*)
7739 # We only want to do this on AIX 4.2 and lower, the check
7740 # below for broken collect2 doesn't work under 4.3+
7741 collect2name
=`${CC} -print-prog-name=collect2`
7742 if test -f "$collect2name" &&
7743 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7745 # We have reworked collect2
7748 # We have old collect2
7749 hardcode_direct
=unsupported
7750 # It fails to find uninstalled libraries when the uninstalled
7751 # path is not listed in the libpath. Setting hardcode_minus_L
7752 # to unsupported forces relinking
7753 hardcode_minus_L
=yes
7754 hardcode_libdir_flag_spec
='-L$libdir'
7755 hardcode_libdir_separator
=
7759 shared_flag
='-shared'
7760 if test "$aix_use_runtimelinking" = yes; then
7761 shared_flag
="$shared_flag "'${wl}-G'
7766 if test "$host_cpu" = ia64
; then
7767 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7768 # chokes on -Wl,-G. The following line is correct:
7771 if test "$aix_use_runtimelinking" = yes; then
7772 shared_flag
='${wl}-G'
7774 shared_flag
='${wl}-bM:SRE'
7779 export_dynamic_flag_spec
='${wl}-bexpall'
7780 # It seems that -bexpall does not export symbols beginning with
7781 # underscore (_), so it is better to generate a list of symbols to export.
7782 always_export_symbols
=yes
7783 if test "$aix_use_runtimelinking" = yes; then
7784 # Warning - without using the other runtime loading flags (-brtl),
7785 # -berok will link without error, but may produce a broken library.
7786 allow_undefined_flag
='-berok'
7787 # Determine the default libpath from the value encoded in an
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7800 if ac_fn_c_try_link
"$LINENO"; then :
7802 lt_aix_libpath_sed
='
7803 /Import File Strings/,/^$/ {
7809 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7810 # Check for a 64-bit object if we didn't find anything.
7811 if test -z "$aix_libpath"; then
7812 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7815 rm -f core conftest.err conftest.
$ac_objext \
7816 conftest
$ac_exeext conftest.
$ac_ext
7817 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7819 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7820 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7822 if test "$host_cpu" = ia64
; then
7823 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7824 allow_undefined_flag
="-z nodefs"
7825 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7827 # Determine the default libpath from the value encoded in an
7829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7840 if ac_fn_c_try_link
"$LINENO"; then :
7842 lt_aix_libpath_sed
='
7843 /Import File Strings/,/^$/ {
7849 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7850 # Check for a 64-bit object if we didn't find anything.
7851 if test -z "$aix_libpath"; then
7852 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7855 rm -f core conftest.err conftest.
$ac_objext \
7856 conftest
$ac_exeext conftest.
$ac_ext
7857 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7859 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7860 # Warning - without using the other run time loading flags,
7861 # -berok will link without error, but may produce a broken library.
7862 no_undefined_flag
=' ${wl}-bernotok'
7863 allow_undefined_flag
=' ${wl}-berok'
7864 # Exported symbols can be pulled into shared objects from archives
7865 whole_archive_flag_spec
='$convenience'
7866 archive_cmds_need_lc
=yes
7867 # This is similar to how AIX traditionally builds its shared libraries.
7868 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7876 # see comment about AmigaOS4 .so support
7877 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7878 archive_expsym_cmds
=''
7881 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_minus_L
=yes
7889 export_dynamic_flag_spec
=-rdynamic
7892 cygwin
* | mingw
* | pw32
* | cegcc
*)
7893 # When not using gcc, we currently assume that we are using
7894 # Microsoft Visual C++.
7895 # hardcode_libdir_flag_spec is actually meaningless, as there is
7896 # no search path for DLLs.
7897 hardcode_libdir_flag_spec
=' '
7898 allow_undefined_flag
=unsupported
7899 # Tell ltmain to make .lib files, not .a files.
7901 # Tell ltmain to make .dll files, not .so files.
7903 # FIXME: Setting linknames here is a bad hack.
7904 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7905 # The linker will automatically build a .lib file if we build a DLL.
7906 old_archive_from_new_cmds
='true'
7907 # FIXME: Should let the user specify the lib program.
7908 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7909 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7910 enable_shared_with_static_runtimes
=yes
7913 darwin
* | rhapsody
*)
7916 archive_cmds_need_lc
=no
7918 hardcode_automatic
=yes
7919 hardcode_shlibpath_var
=unsupported
7920 whole_archive_flag_spec
=''
7921 link_all_deplibs
=yes
7922 allow_undefined_flag
="$_lt_dar_allow_undefined"
7923 case $cc_basename in
7924 ifort
*) _lt_dar_can_shared
=yes ;;
7925 *) _lt_dar_can_shared
=$GCC ;;
7927 if test "$_lt_dar_can_shared" = "yes"; then
7928 output_verbose_link_cmd
=echo
7929 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7930 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7931 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
7932 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7941 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7942 hardcode_libdir_flag_spec
='-L$libdir'
7943 hardcode_shlibpath_var
=no
7950 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7951 # support. Future versions do this automatically, but an explicit c++rt0.o
7952 # does not break anything, and helps significantly (at the cost of a little
7955 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7956 hardcode_libdir_flag_spec
='-R$libdir'
7958 hardcode_shlibpath_var
=no
7961 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7963 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7965 hardcode_minus_L
=yes
7966 hardcode_shlibpath_var
=no
7969 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7970 freebsd
* | dragonfly
*)
7971 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7972 hardcode_libdir_flag_spec
='-R$libdir'
7974 hardcode_shlibpath_var
=no
7978 if test "$GCC" = yes; then
7979 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7981 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7983 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7984 hardcode_libdir_separator
=:
7987 # hardcode_minus_L: Not really in the search PATH,
7988 # but as the default location of the library.
7989 hardcode_minus_L
=yes
7990 export_dynamic_flag_spec
='${wl}-E'
7994 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7995 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7997 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7999 if test "$with_gnu_ld" = no
; then
8000 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8001 hardcode_libdir_flag_spec_ld
='+b $libdir'
8002 hardcode_libdir_separator
=:
8004 hardcode_direct_absolute
=yes
8005 export_dynamic_flag_spec
='${wl}-E'
8006 # hardcode_minus_L: Not really in the search PATH,
8007 # but as the default location of the library.
8008 hardcode_minus_L
=yes
8013 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8016 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8019 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8022 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8028 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8034 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8038 if test "$with_gnu_ld" = no
; then
8039 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8040 hardcode_libdir_separator
=:
8045 hardcode_shlibpath_var
=no
8049 hardcode_direct_absolute
=yes
8050 export_dynamic_flag_spec
='${wl}-E'
8052 # hardcode_minus_L: Not really in the search PATH,
8053 # but as the default location of the library.
8054 hardcode_minus_L
=yes
8060 irix5
* | irix6
* | nonstopux
*)
8061 if test "$GCC" = yes; then
8062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8063 # Try to use the -exported_symbol ld option, if it does not
8064 # work, assume that -exports_file does not work either and
8065 # implicitly export all symbols.
8066 save_LDFLAGS
="$LDFLAGS"
8067 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8069 /* end confdefs.h. */
8072 if ac_fn_c_try_link
"$LINENO"; then :
8073 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8076 rm -f core conftest.err conftest.
$ac_objext \
8077 conftest
$ac_exeext conftest.
$ac_ext
8078 LDFLAGS
="$save_LDFLAGS"
8080 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8081 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8083 archive_cmds_need_lc
='no'
8084 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8085 hardcode_libdir_separator
=:
8087 link_all_deplibs
=yes
8090 netbsd
* | netbsdelf
*-gnu)
8091 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8092 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8094 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8096 hardcode_libdir_flag_spec
='-R$libdir'
8098 hardcode_shlibpath_var
=no
8102 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8104 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8105 hardcode_libdir_separator
=:
8106 hardcode_shlibpath_var
=no
8113 if test -f /usr
/libexec
/ld.so
; then
8115 hardcode_shlibpath_var
=no
8116 hardcode_direct_absolute
=yes
8117 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8118 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8119 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8120 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8121 export_dynamic_flag_spec
='${wl}-E'
8124 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8125 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8126 hardcode_libdir_flag_spec
='-R$libdir'
8129 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8130 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8140 hardcode_libdir_flag_spec
='-L$libdir'
8141 hardcode_minus_L
=yes
8142 allow_undefined_flag
=unsupported
8143 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8144 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8148 if test "$GCC" = yes; then
8149 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8150 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8152 allow_undefined_flag
=' -expect_unresolved \*'
8153 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8155 archive_cmds_need_lc
='no'
8156 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8157 hardcode_libdir_separator
=:
8160 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8161 if test "$GCC" = yes; then
8162 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8163 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8166 allow_undefined_flag
=' -expect_unresolved \*'
8167 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8168 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8169 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8171 # Both c and cxx compiler support -rpath directly
8172 hardcode_libdir_flag_spec
='-rpath $libdir'
8174 archive_cmds_need_lc
='no'
8175 hardcode_libdir_separator
=:
8179 no_undefined_flag
=' -z defs'
8180 if test "$GCC" = yes; then
8182 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8183 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8184 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8186 case `$CC -V 2>&1` in
8189 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8190 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8191 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8195 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8196 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8197 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8201 hardcode_libdir_flag_spec
='-R$libdir'
8202 hardcode_shlibpath_var
=no
8204 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8206 # The compiler driver will combine and reorder linker options,
8207 # but understands `-z linker_flag'. GCC discards it without `$wl',
8208 # but is careful enough not to reorder.
8209 # Supported since Solaris 2.6 (maybe 2.5.1?)
8210 if test "$GCC" = yes; then
8211 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8213 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8217 link_all_deplibs
=yes
8221 if test "x$host_vendor" = xsequent
; then
8222 # Use $CC to link under sequent, because it throws in some extra .o
8223 # files that make .init and .fini sections work.
8224 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8226 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8228 hardcode_libdir_flag_spec
='-L$libdir'
8230 hardcode_minus_L
=yes
8231 hardcode_shlibpath_var
=no
8235 case $host_vendor in
8237 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8238 hardcode_direct
=yes # is this really true???
8241 ## LD is ld it makes a PLAMLIB
8242 ## CC just makes a GrossModule.
8243 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8244 reload_cmds
='$CC -r -o $output$reload_objs'
8248 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8249 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8252 runpath_var
='LD_RUN_PATH'
8253 hardcode_shlibpath_var
=no
8257 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8258 hardcode_shlibpath_var
=no
8259 export_dynamic_flag_spec
='-Bexport'
8263 if test -d /usr
/nec
; then
8264 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8265 hardcode_shlibpath_var
=no
8266 runpath_var
=LD_RUN_PATH
8267 hardcode_runpath_var
=yes
8272 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8273 no_undefined_flag
='${wl}-z,text'
8274 archive_cmds_need_lc
=no
8275 hardcode_shlibpath_var
=no
8276 runpath_var
='LD_RUN_PATH'
8278 if test "$GCC" = yes; then
8279 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8280 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8282 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8283 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8287 sysv5
* | sco3.2v5
* | sco5v6
*)
8288 # Note: We can NOT use -z defs as we might desire, because we do not
8289 # link with -lc, and that would cause any symbols used from libc to
8290 # always be unresolved, which means just about no library would
8291 # ever link correctly. If we're not using GNU ld we use -z text
8292 # though, which does catch some bad symbols but isn't as heavy-handed
8294 no_undefined_flag
='${wl}-z,text'
8295 allow_undefined_flag
='${wl}-z,nodefs'
8296 archive_cmds_need_lc
=no
8297 hardcode_shlibpath_var
=no
8298 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8299 hardcode_libdir_separator
=':'
8300 link_all_deplibs
=yes
8301 export_dynamic_flag_spec
='${wl}-Bexport'
8302 runpath_var
='LD_RUN_PATH'
8304 if test "$GCC" = yes; then
8305 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8306 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8308 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8309 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8314 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8315 hardcode_libdir_flag_spec
='-L$libdir'
8316 hardcode_shlibpath_var
=no
8324 if test x
$host_vendor = xsni
; then
8326 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8327 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8334 $as_echo "$ld_shlibs" >&6; }
8335 test "$ld_shlibs" = no
&& can_build_shared
=no
8337 with_gnu_ld
=$with_gnu_ld
8354 # Do we need to explicitly link libc?
8356 case "x$archive_cmds_need_lc" in
8358 # Assume -lc should be added
8359 archive_cmds_need_lc
=yes
8361 if test "$enable_shared" = yes && test "$GCC" = yes; then
8362 case $archive_cmds in
8364 # FIXME: we may have to deal with multi-command sequences.
8367 # Test whether the compiler implicitly links with -lc since on some
8368 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8369 # to ld, don't add -lc before -lgcc.
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8371 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8376 (eval $ac_compile) 2>&5
8378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8379 test $ac_status = 0; } 2>conftest.err
; then
8382 libobjs
=conftest.
$ac_objext
8384 wl
=$lt_prog_compiler_wl
8385 pic_flag
=$lt_prog_compiler_pic
8391 lt_save_allow_undefined_flag
=$allow_undefined_flag
8392 allow_undefined_flag
=
8393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8394 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8397 test $ac_status = 0; }
8399 archive_cmds_need_lc
=no
8401 archive_cmds_need_lc
=yes
8403 allow_undefined_flag
=$lt_save_allow_undefined_flag
8405 cat conftest.err
1>&5
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8409 $as_echo "$archive_cmds_need_lc" >&6; }
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8573 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8575 if test "$GCC" = yes; then
8577 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8578 *) lt_awk_arg
="/^libraries:/" ;;
8580 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8581 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8582 # if the path contains ";" then we assume it to be the separator
8583 # otherwise default to the standard path separator (i.e. ":") - it is
8584 # assumed that no part of a normal pathname contains ";" but that should
8585 # okay in the real world where ";" in dirpaths is itself problematic.
8586 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8588 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8590 # Ok, now we have the path, separated by spaces, we can step through it
8591 # and add multilib dir if necessary.
8592 lt_tmp_lt_search_path_spec
=
8593 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8594 for lt_sys_path
in $lt_search_path_spec; do
8595 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8596 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8598 test -d "$lt_sys_path" && \
8599 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8602 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8603 BEGIN {RS=" "; FS="/|\n";} {
8606 for (lt_i = NF; lt_i > 0; lt_i--) {
8607 if ($lt_i != "" && $lt_i != ".") {
8608 if ($lt_i == "..") {
8611 if (lt_count == 0) {
8612 lt_foo="/" $lt_i lt_foo;
8619 if (lt_foo != "") { lt_freq[lt_foo]++; }
8620 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8622 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8624 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8627 libname_spec
='lib$name'
8635 shlibpath_overrides_runpath
=unknown
8637 dynamic_linker
="$host_os ld.so"
8638 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8639 need_lib_prefix
=unknown
8640 hardcode_into_libs
=no
8642 # when you set need_version to no, make sure it does not cause -set_version
8643 # flags to be left without arguments
8644 need_version
=unknown
8649 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8650 shlibpath_var
=LIBPATH
8652 # AIX 3 has no versioning support, so we append a major version to the name.
8653 soname_spec
='${libname}${release}${shared_ext}$major'
8660 hardcode_into_libs
=yes
8661 if test "$host_cpu" = ia64
; then
8662 # AIX 5 supports IA64
8663 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8664 shlibpath_var
=LD_LIBRARY_PATH
8666 # With GCC up to 2.95.x, collect2 would create an import file
8667 # for dependence libraries. The import file would start with
8668 # the line `#! .'. This would cause the generated library to
8669 # depend on `.', always an invalid library. This was fixed in
8670 # development snapshots of GCC prior to 3.0.
8672 aix4
| aix4.
[01] | aix4.
[01].
*)
8673 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8675 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8682 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8683 # soname into executable. Probably we can add versioning support to
8684 # collect2, so additional links can be useful in future.
8685 if test "$aix_use_runtimelinking" = yes; then
8686 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8687 # instead of lib<name>.a to let people know that these are not
8688 # typical AIX shared libraries.
8689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8691 # We preserve .a as extension for shared libraries through AIX4.2
8692 # and later when we are not doing run time linking.
8693 library_names_spec
='${libname}${release}.a $libname.a'
8694 soname_spec
='${libname}${release}${shared_ext}$major'
8696 shlibpath_var
=LIBPATH
8703 # Since July 2007 AmigaOS4 officially supports .so libraries.
8704 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8708 library_names_spec
='$libname.ixlibrary $libname.a'
8709 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8710 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8716 library_names_spec
='${libname}${shared_ext}'
8717 dynamic_linker
="$host_os ld.so"
8718 shlibpath_var
=LIBRARY_PATH
8724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8725 soname_spec
='${libname}${release}${shared_ext}$major'
8726 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8727 shlibpath_var
=LD_LIBRARY_PATH
8728 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8729 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8730 # the default ld.so.conf also contains /usr/contrib/lib and
8731 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8732 # libtool to hard-code these into programs
8735 cygwin
* | mingw
* | pw32
* | cegcc
*)
8736 version_type
=windows
8741 case $GCC,$host_os in
8742 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8743 library_names_spec
='$libname.dll.a'
8744 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8745 postinstall_cmds
='base_file=`basename \${file}`~
8746 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8747 dldir=$destdir/`dirname \$dlpath`~
8748 test -d \$dldir || mkdir -p \$dldir~
8749 $install_prog $dir/$dlname \$dldir/$dlname~
8750 chmod a+x \$dldir/$dlname~
8751 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8752 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8754 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8755 dlpath=$dir/\$dldll~
8757 shlibpath_overrides_runpath
=yes
8761 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8762 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8763 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8766 # MinGW DLLs use traditional 'lib' prefix
8767 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8768 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8769 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8770 # It is most probably a Windows format PATH printed by
8771 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8772 # path with ; separators, and with drive letters. We can handle the
8773 # drive letters (cygwin fileutils understands them), so leave them,
8774 # especially as we might pass files found there to a mingw objdump,
8775 # which wouldn't understand a cygwinified path. Ahh.
8776 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8778 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8782 # pw32 DLLs use 'pw' prefix rather than 'lib'
8783 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8789 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8792 dynamic_linker
='Win32 ld.exe'
8793 # FIXME: first we should search . and the directory the executable is in
8797 darwin
* | rhapsody
*)
8798 dynamic_linker
="$host_os dyld"
8802 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8803 soname_spec
='${libname}${release}${major}$shared_ext'
8804 shlibpath_overrides_runpath
=yes
8805 shlibpath_var
=DYLD_LIBRARY_PATH
8806 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8808 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8809 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8817 soname_spec
='${libname}${release}${shared_ext}$major'
8818 shlibpath_var
=LD_LIBRARY_PATH
8825 freebsd
* | dragonfly
*)
8826 # DragonFly does not have aout. When/if they implement a new
8827 # versioning mechanism, adjust this.
8828 if test -x /usr
/bin
/objformat
; then
8829 objformat
=`/usr/bin/objformat`
8832 freebsd
[123]*) objformat
=aout
;;
8836 version_type
=freebsd
-$objformat
8837 case $version_type in
8839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8844 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8848 shlibpath_var
=LD_LIBRARY_PATH
8851 shlibpath_overrides_runpath
=yes
8853 freebsd3.
[01]* | freebsdelf3.
[01]*)
8854 shlibpath_overrides_runpath
=yes
8855 hardcode_into_libs
=yes
8857 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8858 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8859 shlibpath_overrides_runpath
=no
8860 hardcode_into_libs
=yes
8862 *) # from 4.6 on, and DragonFly
8863 shlibpath_overrides_runpath
=yes
8864 hardcode_into_libs
=yes
8873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8874 soname_spec
='${libname}${release}${shared_ext}$major'
8875 shlibpath_var
=LD_LIBRARY_PATH
8876 hardcode_into_libs
=yes
8879 hpux9
* | hpux10
* | hpux11
*)
8880 # Give a soname corresponding to the major version so that dld.sl refuses to
8881 # link against other versions.
8888 hardcode_into_libs
=yes
8889 dynamic_linker
="$host_os dld.so"
8890 shlibpath_var
=LD_LIBRARY_PATH
8891 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8893 soname_spec
='${libname}${release}${shared_ext}$major'
8894 if test "X$HPUX_IA64_MODE" = X32
; then
8895 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8897 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8899 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8903 hardcode_into_libs
=yes
8904 dynamic_linker
="$host_os dld.sl"
8905 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8906 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8908 soname_spec
='${libname}${release}${shared_ext}$major'
8909 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8910 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8914 dynamic_linker
="$host_os dld.sl"
8915 shlibpath_var
=SHLIB_PATH
8916 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8918 soname_spec
='${libname}${release}${shared_ext}$major'
8921 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8922 postinstall_cmds
='chmod 555 $lib'
8929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8930 soname_spec
='${libname}${release}${shared_ext}$major'
8931 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8932 shlibpath_var
=LD_LIBRARY_PATH
8933 shlibpath_overrides_runpath
=no
8934 hardcode_into_libs
=yes
8937 irix5
* | irix6
* | nonstopux
*)
8939 nonstopux
*) version_type
=nonstopux
;;
8941 if test "$lt_cv_prog_gnu_ld" = yes; then
8949 soname_spec
='${libname}${release}${shared_ext}$major'
8950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8952 irix5
* | nonstopux
*)
8956 case $LD in # libtool.m4 will add one of these switches to LD
8957 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8958 libsuff
= shlibsuff
= libmagic
=32-bit;;
8959 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8960 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8961 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8962 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8963 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8967 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8968 shlibpath_overrides_runpath
=no
8969 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8970 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8971 hardcode_into_libs
=yes
8974 # No shared lib support for Linux oldld, aout, or coff.
8975 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8979 # This must be Linux ELF.
8980 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8985 soname_spec
='${libname}${release}${shared_ext}$major'
8986 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8987 shlibpath_var
=LD_LIBRARY_PATH
8988 shlibpath_overrides_runpath
=no
8989 # Some binutils ld are patched to set DT_RUNPATH
8990 save_LDFLAGS
=$LDFLAGS
8992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
9005 if ac_fn_c_try_link
"$LINENO"; then :
9006 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9007 shlibpath_overrides_runpath
=yes
9010 rm -f core conftest.err conftest.
$ac_objext \
9011 conftest
$ac_exeext conftest.
$ac_ext
9012 LDFLAGS
=$save_LDFLAGS
9015 # This implies no fast_install, which is unacceptable.
9016 # Some rework will be needed to allow for fast_install
9017 # before this can be enabled.
9018 hardcode_into_libs
=yes
9020 # Append ld.so.conf contents to the search path
9021 if test -f /etc
/ld.so.conf
; then
9022 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9023 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9026 # We used to test for /lib/ld.so.1 and disable shared libraries on
9027 # powerpc, because MkLinux only supported shared libraries with the
9028 # GNU dynamic linker. Since this was broken with cross compilers,
9029 # most powerpc-linux boxes support dynamic linking these days and
9030 # people can always --disable-shared, the test was removed, and we
9031 # assume the GNU/Linux dynamic linker is in use.
9032 dynamic_linker
='GNU/Linux ld.so'
9039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9040 soname_spec
='${libname}${release}${shared_ext}$major'
9041 shlibpath_var
=LD_LIBRARY_PATH
9042 shlibpath_overrides_runpath
=no
9043 hardcode_into_libs
=yes
9044 dynamic_linker
='NetBSD ld.elf_so'
9051 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9053 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9054 dynamic_linker
='NetBSD (a.out) ld.so'
9056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9057 soname_spec
='${libname}${release}${shared_ext}$major'
9058 dynamic_linker
='NetBSD ld.elf_so'
9060 shlibpath_var
=LD_LIBRARY_PATH
9061 shlibpath_overrides_runpath
=yes
9062 hardcode_into_libs
=yes
9067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9068 shlibpath_var
=LD_LIBRARY_PATH
9069 shlibpath_overrides_runpath
=yes
9076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9077 soname_spec
='${libname}${release}${shared_ext}$major'
9078 shlibpath_var
=LD_LIBRARY_PATH
9079 shlibpath_overrides_runpath
=no
9080 hardcode_into_libs
=yes
9081 dynamic_linker
='ldqnx.so'
9086 sys_lib_dlsearch_path_spec
="/usr/lib"
9088 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9090 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9091 *) need_version
=no
;;
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9095 shlibpath_var
=LD_LIBRARY_PATH
9096 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9098 openbsd2.
[89] | openbsd2.
[89].
*)
9099 shlibpath_overrides_runpath
=no
9102 shlibpath_overrides_runpath
=yes
9106 shlibpath_overrides_runpath
=yes
9111 libname_spec
='$name'
9114 library_names_spec
='$libname${shared_ext} $libname.a'
9115 dynamic_linker
='OS/2 ld.exe'
9116 shlibpath_var
=LIBPATH
9119 osf3
* | osf4
* | osf5
*)
9123 soname_spec
='${libname}${release}${shared_ext}$major'
9124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9125 shlibpath_var
=LD_LIBRARY_PATH
9126 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9127 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9139 soname_spec
='${libname}${release}${shared_ext}$major'
9140 shlibpath_var
=LD_LIBRARY_PATH
9141 shlibpath_overrides_runpath
=yes
9142 hardcode_into_libs
=yes
9143 # ldd complains unless libraries are executable
9144 postinstall_cmds
='chmod +x $lib'
9149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9150 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9151 shlibpath_var
=LD_LIBRARY_PATH
9152 shlibpath_overrides_runpath
=yes
9153 if test "$with_gnu_ld" = yes; then
9161 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9162 soname_spec
='${libname}${release}${shared_ext}$major'
9163 shlibpath_var
=LD_LIBRARY_PATH
9164 case $host_vendor in
9166 shlibpath_overrides_runpath
=no
9168 runpath_var
=LD_RUN_PATH
9176 shlibpath_overrides_runpath
=no
9177 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9183 if test -d /usr
/nec
;then
9185 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9186 soname_spec
='$libname${shared_ext}.$major'
9187 shlibpath_var
=LD_LIBRARY_PATH
9191 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9192 version_type
=freebsd
-elf
9195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9196 soname_spec
='${libname}${release}${shared_ext}$major'
9197 shlibpath_var
=LD_LIBRARY_PATH
9198 shlibpath_overrides_runpath
=yes
9199 hardcode_into_libs
=yes
9200 if test "$with_gnu_ld" = yes; then
9201 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9203 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9206 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9210 sys_lib_dlsearch_path_spec
='/usr/lib'
9214 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9219 shlibpath_var
=LD_LIBRARY_PATH
9220 shlibpath_overrides_runpath
=no
9221 hardcode_into_libs
=yes
9226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9227 soname_spec
='${libname}${release}${shared_ext}$major'
9228 shlibpath_var
=LD_LIBRARY_PATH
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9236 $as_echo "$dynamic_linker" >&6; }
9237 test "$dynamic_linker" = no
&& can_build_shared
=no
9239 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9240 if test "$GCC" = yes; then
9241 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9244 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9245 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9247 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9248 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9338 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9340 if test -n "$hardcode_libdir_flag_spec" ||
9341 test -n "$runpath_var" ||
9342 test "X$hardcode_automatic" = "Xyes" ; then
9344 # We can hardcode non-existent directories.
9345 if test "$hardcode_direct" != no
&&
9346 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9347 # have to relink, otherwise we might link with an installed library
9348 # when we should be linking with a yet-to-be-installed one
9349 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9350 test "$hardcode_minus_L" != no
; then
9351 # Linking always hardcodes the temporary library directory.
9352 hardcode_action
=relink
9354 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9355 hardcode_action
=immediate
9358 # We cannot hardcode anything, or else we can only hardcode existing
9360 hardcode_action
=unsupported
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9363 $as_echo "$hardcode_action" >&6; }
9365 if test "$hardcode_action" = relink
||
9366 test "$inherit_rpath" = yes; then
9367 # Fast installation is not supported
9368 enable_fast_install
=no
9369 elif test "$shlibpath_overrides_runpath" = yes ||
9370 test "$enable_shared" = no
; then
9371 # Fast installation is not necessary
9372 enable_fast_install
=needless
9380 if test "x$enable_dlopen" != xyes
; then
9381 enable_dlopen
=unknown
9382 enable_dlopen_self
=unknown
9383 enable_dlopen_self_static
=unknown
9390 lt_cv_dlopen
="load_add_on"
9392 lt_cv_dlopen_self
=yes
9395 mingw
* | pw32
* | cegcc
*)
9396 lt_cv_dlopen
="LoadLibrary"
9401 lt_cv_dlopen
="dlopen"
9406 # if libdl is installed we need to link against it
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9408 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9409 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9410 $as_echo_n "(cached) " >&6
9412 ac_check_lib_save_LIBS
=$LIBS
9414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9432 if ac_fn_c_try_link
"$LINENO"; then :
9433 ac_cv_lib_dl_dlopen
=yes
9435 ac_cv_lib_dl_dlopen
=no
9437 rm -f core conftest.err conftest.
$ac_objext \
9438 conftest
$ac_exeext conftest.
$ac_ext
9439 LIBS
=$ac_check_lib_save_LIBS
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9442 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9443 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9444 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9449 lt_cv_dlopen_self
=yes
9456 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9457 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9458 lt_cv_dlopen
="shl_load"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9461 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9463 $as_echo_n "(cached) " >&6
9465 ac_check_lib_save_LIBS
=$LIBS
9467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9485 if ac_fn_c_try_link
"$LINENO"; then :
9486 ac_cv_lib_dld_shl_load
=yes
9488 ac_cv_lib_dld_shl_load
=no
9490 rm -f core conftest.err conftest.
$ac_objext \
9491 conftest
$ac_exeext conftest.
$ac_ext
9492 LIBS
=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9495 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9496 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9497 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9499 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9500 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9501 lt_cv_dlopen
="dlopen"
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9504 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9505 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9506 $as_echo_n "(cached) " >&6
9508 ac_check_lib_save_LIBS
=$LIBS
9510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9528 if ac_fn_c_try_link
"$LINENO"; then :
9529 ac_cv_lib_dl_dlopen
=yes
9531 ac_cv_lib_dl_dlopen
=no
9533 rm -f core conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9538 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9539 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9540 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9543 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9544 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9545 $as_echo_n "(cached) " >&6
9547 ac_check_lib_save_LIBS
=$LIBS
9549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9567 if ac_fn_c_try_link
"$LINENO"; then :
9568 ac_cv_lib_svld_dlopen
=yes
9570 ac_cv_lib_svld_dlopen
=no
9572 rm -f core conftest.err conftest.
$ac_objext \
9573 conftest
$ac_exeext conftest.
$ac_ext
9574 LIBS
=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9577 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9578 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9579 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9582 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9583 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9584 $as_echo_n "(cached) " >&6
9586 ac_check_lib_save_LIBS
=$LIBS
9588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9606 if ac_fn_c_try_link
"$LINENO"; then :
9607 ac_cv_lib_dld_dld_link
=yes
9609 ac_cv_lib_dld_dld_link
=no
9611 rm -f core conftest.err conftest.
$ac_objext \
9612 conftest
$ac_exeext conftest.
$ac_ext
9613 LIBS
=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9616 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9617 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9618 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9639 if test "x$lt_cv_dlopen" != xno
; then
9645 case $lt_cv_dlopen in
9647 save_CPPFLAGS
="$CPPFLAGS"
9648 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9650 save_LDFLAGS
="$LDFLAGS"
9651 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9654 LIBS
="$lt_cv_dlopen_libs $LIBS"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9657 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9658 if test "${lt_cv_dlopen_self+set}" = set; then :
9659 $as_echo_n "(cached) " >&6
9661 if test "$cross_compiling" = yes; then :
9662 lt_cv_dlopen_self
=cross
9664 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9665 lt_status
=$lt_dlunknown
9666 cat > conftest.
$ac_ext <<_LT_EOF
9667 #line 9667 "configure"
9668 #include "confdefs.h"
9677 # define LT_DLGLOBAL RTLD_GLOBAL
9680 # define LT_DLGLOBAL DL_GLOBAL
9682 # define LT_DLGLOBAL 0
9686 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9687 find out it does not work in some platform. */
9688 #ifndef LT_DLLAZY_OR_NOW
9690 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9693 # define LT_DLLAZY_OR_NOW DL_LAZY
9696 # define LT_DLLAZY_OR_NOW RTLD_NOW
9699 # define LT_DLLAZY_OR_NOW DL_NOW
9701 # define LT_DLLAZY_OR_NOW 0
9708 void fnord() { int i=42;}
9711 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9712 int status = $lt_dlunknown;
9716 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9717 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9718 /* dlclose (self); */
9726 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9727 (eval $ac_link) 2>&5
9729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9730 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9731 (.
/conftest
; exit; ) >&5 2>/dev
/null
9734 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9735 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9736 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9739 # compilation failed
9740 lt_cv_dlopen_self
=no
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9748 $as_echo "$lt_cv_dlopen_self" >&6; }
9750 if test "x$lt_cv_dlopen_self" = xyes
; then
9751 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9753 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9754 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9755 $as_echo_n "(cached) " >&6
9757 if test "$cross_compiling" = yes; then :
9758 lt_cv_dlopen_self_static
=cross
9760 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9761 lt_status
=$lt_dlunknown
9762 cat > conftest.
$ac_ext <<_LT_EOF
9763 #line 9763 "configure"
9764 #include "confdefs.h"
9773 # define LT_DLGLOBAL RTLD_GLOBAL
9776 # define LT_DLGLOBAL DL_GLOBAL
9778 # define LT_DLGLOBAL 0
9782 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9783 find out it does not work in some platform. */
9784 #ifndef LT_DLLAZY_OR_NOW
9786 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9789 # define LT_DLLAZY_OR_NOW DL_LAZY
9792 # define LT_DLLAZY_OR_NOW RTLD_NOW
9795 # define LT_DLLAZY_OR_NOW DL_NOW
9797 # define LT_DLLAZY_OR_NOW 0
9804 void fnord() { int i=42;}
9807 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9808 int status = $lt_dlunknown;
9812 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9813 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9814 /* dlclose (self); */
9822 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9823 (eval $ac_link) 2>&5
9825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9826 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9827 (.
/conftest
; exit; ) >&5 2>/dev
/null
9830 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9831 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9832 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9835 # compilation failed
9836 lt_cv_dlopen_self_static
=no
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9844 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9847 CPPFLAGS
="$save_CPPFLAGS"
9848 LDFLAGS
="$save_LDFLAGS"
9853 case $lt_cv_dlopen_self in
9854 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9855 *) enable_dlopen_self
=unknown
;;
9858 case $lt_cv_dlopen_self_static in
9859 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9860 *) enable_dlopen_self_static
=unknown
;;
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9883 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9884 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9885 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9886 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9888 $as_echo "yes" >&6; }
9890 # FIXME - insert some real tests, host_os isn't really good enough
9893 if test -n "$STRIP" ; then
9894 striplib
="$STRIP -x"
9895 old_striplib
="$STRIP -S"
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9897 $as_echo "yes" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 $as_echo "no" >&6; }
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9905 $as_echo "no" >&6; }
9921 # Report which library types will actually be built
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9923 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9925 $as_echo "$can_build_shared" >&6; }
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9928 $as_echo_n "checking whether to build shared libraries... " >&6; }
9929 test "$can_build_shared" = "no" && enable_shared
=no
9931 # On AIX, shared libraries and static libraries use the same namespace, and
9932 # are all built from PIC.
9935 test "$enable_shared" = yes && enable_static
=no
9936 if test -n "$RANLIB"; then
9937 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9938 postinstall_cmds
='$RANLIB $lib'
9943 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9944 test "$enable_shared" = yes && enable_static
=no
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9949 $as_echo "$enable_shared" >&6; }
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9952 $as_echo_n "checking whether to build static libraries... " >&6; }
9953 # Make sure either enable_shared or enable_static is yes.
9954 test "$enable_shared" = yes || enable_static
=yes
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9956 $as_echo "$enable_static" >&6; }
9963 ac_cpp
='$CPP $CPPFLAGS'
9964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9982 ac_config_commands
="$ac_config_commands libtool"
9992 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9993 if test -n "$ac_tool_prefix"; then
9994 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9995 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9997 $as_echo_n "checking for $ac_word... " >&6; }
9998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
9999 $as_echo_n "(cached) " >&6
10001 case $PKG_CONFIG in
10003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in $PATH
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10025 if test -n "$PKG_CONFIG"; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10027 $as_echo "$PKG_CONFIG" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 $as_echo "no" >&6; }
10035 if test -z "$ac_cv_path_PKG_CONFIG"; then
10036 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10037 # Extract the first word of "pkg-config", so it can be a program name with args.
10038 set dummy pkg
-config; ac_word
=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10040 $as_echo_n "checking for $ac_word... " >&6; }
10041 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10042 $as_echo_n "(cached) " >&6
10044 case $ac_pt_PKG_CONFIG in
10046 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10050 for as_dir
in $PATH
10053 test -z "$as_dir" && as_dir
=.
10054 for ac_exec_ext
in '' $ac_executable_extensions; do
10055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10056 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10068 if test -n "$ac_pt_PKG_CONFIG"; then
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10070 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10073 $as_echo "no" >&6; }
10076 if test "x$ac_pt_PKG_CONFIG" = x
; then
10079 case $cross_compiling:$ac_tool_warned in
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10083 ac_tool_warned
=yes ;;
10085 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10088 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10092 if test -n "$PKG_CONFIG"; then
10093 _pkg_min_version
=0.22
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10095 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10096 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10098 $as_echo "yes" >&6; }
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10101 $as_echo "no" >&6; }
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10107 $as_echo_n "checking for GNU make... " >&6; }
10108 if test "${_cv_gnu_make_command+set}" = set; then :
10109 $as_echo_n "(cached) " >&6
10111 _cv_gnu_make_command
='' ;
10112 for a
in "$MAKE" make gmake gnumake
; do
10113 if test -z "$a" ; then continue ; fi ;
10114 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10115 _cv_gnu_make_command
=$a ;
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10122 $as_echo "$_cv_gnu_make_command" >&6; } ;
10123 if test "x$_cv_gnu_make_command" != "x" ; then
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10128 $as_echo "\"Not found\"" >&6; };
10132 GMAKE
=$_cv_gnu_make_command
10134 if test "x$GMAKE" = x
; then :
10135 as_fn_error
"You need GNU make" "$LINENO" 5
10137 for ac_prog
in bash
10139 # Extract the first word of "$ac_prog", so it can be a program name with args.
10140 set dummy
$ac_prog; ac_word
=$2
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10142 $as_echo_n "checking for $ac_word... " >&6; }
10143 if test "${ac_cv_path__BASH+set}" = set; then :
10144 $as_echo_n "(cached) " >&6
10148 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10152 for as_dir
in $PATH
10155 test -z "$as_dir" && as_dir
=.
10156 for ac_exec_ext
in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10169 _BASH
=$ac_cv_path__BASH
10170 if test -n "$_BASH"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10172 $as_echo "$_BASH" >&6; }
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10179 test -n "$_BASH" && break
10182 if test "x$_BASH" = x
; then :
10183 as_fn_error
"You need GNU bash" "$LINENO" 5
10185 for ac_prog
in time
10187 # Extract the first word of "$ac_prog", so it can be a program name with args.
10188 set dummy
$ac_prog; ac_word
=$2
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10190 $as_echo_n "checking for $ac_word... " >&6; }
10191 if test "${ac_cv_path_TIME+set}" = set; then :
10192 $as_echo_n "(cached) " >&6
10196 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
10199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10200 for as_dir
in $PATH
10203 test -z "$as_dir" && as_dir
=.
10204 for ac_exec_ext
in '' $ac_executable_extensions; do
10205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10206 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
10207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10217 TIME
=$ac_cv_path_TIME
10218 if test -n "$TIME"; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10220 $as_echo "$TIME" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10223 $as_echo "no" >&6; }
10227 test -n "$TIME" && break
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
10234 $as_echo_n "checking for bison >= 2.3... " >&6; }
10235 if test -z "$BISON"; then
10236 ac_path_BISON_found
=false
10237 # Loop through the user's path and test for each of PROGNAME-LIST
10238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10239 for as_dir
in $PATH
10242 test -z "$as_dir" && as_dir
=.
10243 for ac_prog
in bison
; do
10244 for ac_exec_ext
in '' $ac_executable_extensions; do
10245 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
10246 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
10247 as_awk_strverscmp
='
10248 # Use only awk features that work with 7th edition Unix awk (1978).
10249 # My, what an old awk you have, Mr. Solaris!
10251 while (length(v1) && length(v2)) {
10252 # Set d1 to be the next thing to compare from v1, and likewise for d2.
10253 # Normally this is a single character, but if v1 and v2 contain digits,
10254 # compare them as integers and fractions as strverscmp does.
10255 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
10256 # Split v1 and v2 into their leading digit string components d1 and d2,
10257 # and advance v1 and v2 past the leading digit strings.
10258 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
10259 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
10260 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
10261 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
10264 # Compare two fractions.
10265 while (d1 ~ /^0/ && d2 ~ /^0/) {
10266 d1 = substr(d1, 2); len1--
10267 d2 = substr(d2, 2); len2--
10269 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
10270 # The two components differ in length, and the common prefix
10271 # contains only leading zeros. Consider the longer to be less.
10275 # Otherwise, compare as strings.
10280 # A fraction is less than an integer.
10285 # An integer is greater than a fraction.
10288 # Compare two integers.
10294 # The normal case, without worrying about digits.
10295 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
10296 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
10298 if (d1 < d2) exit 1
10299 if (d1 > d2) exit 2
10301 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
10302 # which mishandles some comparisons of empty strings to integers.
10303 if (length(v2)) exit 1
10304 if (length(v1)) exit 2
10307 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10309 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10314 ac_cv_path_BISON
=$ac_path_BISON
10317 ac_cv_path_BISON
=$ac_path_BISON
10323 $ac_path_BISON_found && break 3
10328 if test -z "$ac_cv_path_BISON"; then
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10330 $as_echo "no" >&6; }
10331 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
10335 ac_cv_path_BISON
=$BISON
10338 BISON
=$ac_cv_path_BISON
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
10341 $as_echo "$BISON" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
10346 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
10347 if test -z "$FLEX"; then
10348 ac_path_FLEX_found
=false
10349 # Loop through the user's path and test for each of PROGNAME-LIST
10350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10351 for as_dir
in $PATH
10354 test -z "$as_dir" && as_dir
=.
10355 for ac_prog
in flex
; do
10356 for ac_exec_ext
in '' $ac_executable_extensions; do
10357 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
10358 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
10359 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10361 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10366 ac_cv_path_FLEX
=$ac_path_FLEX
10369 ac_cv_path_FLEX
=$ac_path_FLEX
10375 $ac_path_FLEX_found && break 3
10380 if test -z "$ac_cv_path_FLEX"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10382 $as_echo "no" >&6; }
10383 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
10387 ac_cv_path_FLEX
=$FLEX
10390 FLEX
=$ac_cv_path_FLEX
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
10393 $as_echo "$FLEX" >&6; }
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
10398 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
10399 if test -z "$GPERF"; then
10400 ac_path_GPERF_found
=false
10401 # Loop through the user's path and test for each of PROGNAME-LIST
10402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10403 for as_dir
in $PATH
10406 test -z "$as_dir" && as_dir
=.
10407 for ac_prog
in gperf
; do
10408 for ac_exec_ext
in '' $ac_executable_extensions; do
10409 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
10410 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
10411 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10413 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10418 ac_cv_path_GPERF
=$ac_path_GPERF
10421 ac_cv_path_GPERF
=$ac_path_GPERF
10427 $ac_path_GPERF_found && break 3
10432 if test -z "$ac_cv_path_GPERF"; then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10434 $as_echo "no" >&6; }
10435 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
10439 ac_cv_path_GPERF
=$GPERF
10442 GPERF
=$ac_cv_path_GPERF
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10445 $as_echo "$GPERF" >&6; }
10447 # Find a good install program. We prefer a C program (faster),
10448 # so one script is as good as another. But avoid the broken or
10449 # incompatible versions:
10450 # SysV /etc/install, /usr/sbin/install
10451 # SunOS /usr/etc/install
10452 # IRIX /sbin/install
10454 # AmigaOS /C/install, which installs bootblocks on floppy discs
10455 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10456 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10457 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10458 # OS/2's system install, which has a completely different semantic
10459 # ./install, which can be erroneously created by make from ./install.sh.
10460 # Reject install programs that cannot install multiple files.
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10462 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10463 if test -z "$INSTALL"; then
10464 if test "${ac_cv_path_install+set}" = set; then :
10465 $as_echo_n "(cached) " >&6
10467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10468 for as_dir
in $PATH
10471 test -z "$as_dir" && as_dir
=.
10472 # Account for people who put trailing slashes in PATH elements.
10473 case $as_dir/ in #((
10474 .
/ | .
// | /[cC
]/* | \
10475 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10476 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
10479 # OSF1 and SCO ODT 3.0 have their own names for install.
10480 # Don't use installbsd from OSF since it installs stuff as root
10482 for ac_prog
in ginstall scoinst
install; do
10483 for ac_exec_ext
in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10485 if test $ac_prog = install &&
10486 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10487 # AIX install. It has an incompatible calling convention.
10489 elif test $ac_prog = install &&
10490 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10491 # program-specific install script used by HP pwplus--don't use.
10494 rm -rf conftest.one conftest.two conftest.dir
10495 echo one
> conftest.one
10496 echo two
> conftest.two
10498 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10499 test -s conftest.one
&& test -s conftest.two
&&
10500 test -s conftest.dir
/conftest.one
&&
10501 test -s conftest.dir
/conftest.two
10503 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10516 rm -rf conftest.one conftest.two conftest.dir
10519 if test "${ac_cv_path_install+set}" = set; then
10520 INSTALL
=$ac_cv_path_install
10522 # As a last resort, use the slow shell script. Don't cache a
10523 # value for INSTALL within a source directory, because that will
10524 # break other packages using the cache if that directory is
10525 # removed, or if the value is a relative name.
10526 INSTALL
=$ac_install_sh
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10530 $as_echo "$INSTALL" >&6; }
10532 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10533 # It thinks the first close brace ends the variable substitution.
10534 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10536 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10538 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
10541 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
10542 if test -z "$GNUTAR"; then
10543 ac_path_GNUTAR_found
=false
10544 # Loop through the user's path and test for each of PROGNAME-LIST
10545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10546 for as_dir
in $PATH
10549 test -z "$as_dir" && as_dir
=.
10550 for ac_prog
in tar gtar gnutar
; do
10551 for ac_exec_ext
in '' $ac_executable_extensions; do
10552 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
10553 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
10555 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
10557 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
10559 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10565 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10569 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10577 $ac_path_GNUTAR_found && break 3
10582 if test -z "$ac_cv_path_GNUTAR"; then
10586 ac_cv_path_GNUTAR
=$GNUTAR
10589 if test "x$ac_cv_path_GNUTAR" != x
; then :
10591 GNUTAR
=$ac_cv_path_GNUTAR
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
10594 $as_echo "$GNUTAR" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10601 $as_echo "no" >&6; }
10606 # Extract the first word of "$ac_prog", so it can be a program name with args.
10607 set dummy
$ac_prog; ac_word
=$2
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10609 $as_echo_n "checking for $ac_word... " >&6; }
10610 if test "${ac_cv_prog_SVN+set}" = set; then :
10611 $as_echo_n "(cached) " >&6
10613 if test -n "$SVN"; then
10614 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
10616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10617 for as_dir
in $PATH
10620 test -z "$as_dir" && as_dir
=.
10621 for ac_exec_ext
in '' $ac_executable_extensions; do
10622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10623 ac_cv_prog_SVN
="$ac_prog"
10624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10633 SVN
=$ac_cv_prog_SVN
10634 if test -n "$SVN"; then
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
10636 $as_echo "$SVN" >&6; }
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10639 $as_echo "no" >&6; }
10643 test -n "$SVN" && break
10646 for ac_prog
in svnversion
10648 # Extract the first word of "$ac_prog", so it can be a program name with args.
10649 set dummy
$ac_prog; ac_word
=$2
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10651 $as_echo_n "checking for $ac_word... " >&6; }
10652 if test "${ac_cv_prog_SVNVERSION+set}" = set; then :
10653 $as_echo_n "(cached) " >&6
10655 if test -n "$SVNVERSION"; then
10656 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
10658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10659 for as_dir
in $PATH
10662 test -z "$as_dir" && as_dir
=.
10663 for ac_exec_ext
in '' $ac_executable_extensions; do
10664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10665 ac_cv_prog_SVNVERSION
="$ac_prog"
10666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10675 SVNVERSION
=$ac_cv_prog_SVNVERSION
10676 if test -n "$SVNVERSION"; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
10678 $as_echo "$SVNVERSION" >&6; }
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10681 $as_echo "no" >&6; }
10685 test -n "$SVNVERSION" && break
10689 ac_cpp
='$CXXCPP $CPPFLAGS'
10690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10693 if test -z "$CXX"; then
10694 if test -n "$CCC"; then
10697 if test -n "$ac_tool_prefix"; then
10698 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10700 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10701 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10703 $as_echo_n "checking for $ac_word... " >&6; }
10704 if test "${ac_cv_prog_CXX+set}" = set; then :
10705 $as_echo_n "(cached) " >&6
10707 if test -n "$CXX"; then
10708 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10711 for as_dir
in $PATH
10714 test -z "$as_dir" && as_dir
=.
10715 for ac_exec_ext
in '' $ac_executable_extensions; do
10716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10717 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10727 CXX
=$ac_cv_prog_CXX
10728 if test -n "$CXX"; then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10730 $as_echo "$CXX" >&6; }
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10733 $as_echo "no" >&6; }
10737 test -n "$CXX" && break
10740 if test -z "$CXX"; then
10742 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10744 # Extract the first word of "$ac_prog", so it can be a program name with args.
10745 set dummy
$ac_prog; ac_word
=$2
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10747 $as_echo_n "checking for $ac_word... " >&6; }
10748 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10749 $as_echo_n "(cached) " >&6
10751 if test -n "$ac_ct_CXX"; then
10752 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10755 for as_dir
in $PATH
10758 test -z "$as_dir" && as_dir
=.
10759 for ac_exec_ext
in '' $ac_executable_extensions; do
10760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10761 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10771 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10772 if test -n "$ac_ct_CXX"; then
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10774 $as_echo "$ac_ct_CXX" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10777 $as_echo "no" >&6; }
10781 test -n "$ac_ct_CXX" && break
10784 if test "x$ac_ct_CXX" = x
; then
10787 case $cross_compiling:$ac_tool_warned in
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10791 ac_tool_warned
=yes ;;
10799 # Provide some information about the compiler.
10800 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10803 for ac_option
in --version -v -V -qversion; do
10804 { { ac_try
="$ac_compiler $ac_option >&5"
10805 case "(($ac_try" in
10806 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10807 *) ac_try_echo=$ac_try;;
10809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10810 $as_echo "$ac_try_echo"; } >&5
10811 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10813 if test -s conftest.err; then
10815 ... rest of stderr output deleted ...
10816 10q' conftest.err >conftest.er1
10817 cat conftest.er1 >&5
10819 rm -f conftest.er1 conftest.err
10820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10821 test $ac_status = 0; }
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10825 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10826 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10827 $as_echo_n "(cached) " >&6
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10843 if ac_fn_cxx_try_compile "$LINENO"; then :
10844 ac_compiler_gnu=yes
10848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10849 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10853 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10854 if test $ac_compiler_gnu = yes; then
10859 ac_test_CXXFLAGS=${CXXFLAGS+set}
10860 ac_save_CXXFLAGS=$CXXFLAGS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10862 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10863 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10864 $as_echo_n "(cached) " >&6
10866 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10867 ac_cxx_werror_flag=yes
10868 ac_cv_prog_cxx_g=no
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10881 if ac_fn_cxx_try_compile "$LINENO"; then :
10882 ac_cv_prog_cxx_g=yes
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10896 if ac_fn_cxx_try_compile "$LINENO"; then :
10899 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10912 if ac_fn_cxx_try_compile "$LINENO"; then :
10913 ac_cv_prog_cxx_g=yes
10915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10920 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10923 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10924 if test "$ac_test_CXXFLAGS" = set; then
10925 CXXFLAGS=$ac_save_CXXFLAGS
10926 elif test $ac_cv_prog_cxx_g = yes; then
10927 if test "$GXX" = yes; then
10933 if test "$GXX" = yes; then
10940 ac_cpp='$CPP $CPPFLAGS'
10941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10947 ac_cpp='$CXXCPP $CPPFLAGS'
10948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10951 if test -z "$CXX"; then
10952 if test -n "$CCC"; then
10955 if test -n "$ac_tool_prefix"; then
10956 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10961 $as_echo_n "checking for $ac_word... " >&6; }
10962 if test "${ac_cv_prog_CXX+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10965 if test -n "$CXX"; then
10966 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969 for as_dir in $PATH
10972 test -z "$as_dir" && as_dir=.
10973 for ac_exec_ext in '' $ac_executable_extensions; do
10974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10985 CXX=$ac_cv_prog_CXX
10986 if test -n "$CXX"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10988 $as_echo "$CXX" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10991 $as_echo "no" >&6; }
10995 test -n "$CXX" && break
10998 if test -z "$CXX"; then
11000 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11002 # Extract the first word of "$ac_prog", so it can be a program name with args.
11003 set dummy $ac_prog; ac_word=$2
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11005 $as_echo_n "checking for $ac_word... " >&6; }
11006 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11007 $as_echo_n "(cached) " >&6
11009 if test -n "$ac_ct_CXX"; then
11010 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11013 for as_dir in $PATH
11016 test -z "$as_dir" && as_dir=.
11017 for ac_exec_ext in '' $ac_executable_extensions; do
11018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11019 ac_cv_prog_ac_ct_CXX="$ac_prog"
11020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11029 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11030 if test -n "$ac_ct_CXX"; then
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11032 $as_echo "$ac_ct_CXX" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11035 $as_echo "no" >&6; }
11039 test -n "$ac_ct_CXX" && break
11042 if test "x$ac_ct_CXX" = x; then
11045 case $cross_compiling:$ac_tool_warned in
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11049 ac_tool_warned=yes ;;
11057 # Provide some information about the compiler.
11058 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11061 for ac_option in --version -v -V -qversion; do
11062 { { ac_try="$ac_compiler $ac_option >&5"
11063 case "(($ac_try" in
11064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11065 *) ac_try_echo
=$ac_try;;
11067 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11068 $as_echo "$ac_try_echo"; } >&5
11069 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11071 if test -s conftest.err
; then
11073 ... rest of stderr output deleted ...
11074 10q' conftest.err
>conftest.er1
11075 cat conftest.er1
>&5
11077 rm -f conftest.er1 conftest.err
11078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11079 test $ac_status = 0; }
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11083 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11084 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11085 $as_echo_n "(cached) " >&6
11087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11101 if ac_fn_cxx_try_compile
"$LINENO"; then :
11102 ac_compiler_gnu
=yes
11106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11107 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11111 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11112 if test $ac_compiler_gnu = yes; then
11117 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11118 ac_save_CXXFLAGS
=$CXXFLAGS
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11120 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11121 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11122 $as_echo_n "(cached) " >&6
11124 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11125 ac_cxx_werror_flag
=yes
11126 ac_cv_prog_cxx_g
=no
11128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11129 /* end confdefs.h. */
11139 if ac_fn_cxx_try_compile
"$LINENO"; then :
11140 ac_cv_prog_cxx_g
=yes
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11154 if ac_fn_cxx_try_compile
"$LINENO"; then :
11157 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11170 if ac_fn_cxx_try_compile
"$LINENO"; then :
11171 ac_cv_prog_cxx_g
=yes
11173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11178 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11181 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11182 if test "$ac_test_CXXFLAGS" = set; then
11183 CXXFLAGS
=$ac_save_CXXFLAGS
11184 elif test $ac_cv_prog_cxx_g = yes; then
11185 if test "$GXX" = yes; then
11191 if test "$GXX" = yes; then
11198 ac_cpp
='$CPP $CPPFLAGS'
11199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11203 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11204 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11205 (test "X$CXX" != "Xg++"))) ; then
11207 ac_cpp
='$CXXCPP $CPPFLAGS'
11208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11212 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11213 if test -z "$CXXCPP"; then
11214 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11215 $as_echo_n "(cached) " >&6
11217 # Double quotes because CXXCPP needs to be expanded
11218 for CXXCPP
in "$CXX -E" "/lib/cpp"
11220 ac_preproc_ok
=false
11221 for ac_cxx_preproc_warn_flag
in '' yes
11223 # Use a header file that comes with gcc, so configuring glibc
11224 # with a fresh cross-compiler works.
11225 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11226 # <limits.h> exists even on freestanding compilers.
11227 # On the NeXT, cc -E runs the code through the compiler's parser,
11228 # not just through cpp. "Syntax error" is here to catch this case.
11229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 # include <limits.h>
11234 # include <assert.h>
11238 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11241 # Broken: fails on valid input.
11244 rm -f conftest.err conftest.
$ac_ext
11246 # OK, works on sane cases. Now check whether nonexistent headers
11247 # can be detected and how.
11248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 #include <ac_nonexistent.h>
11252 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11253 # Broken: success on invalid input.
11256 # Passes both tests.
11260 rm -f conftest.err conftest.
$ac_ext
11263 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11264 rm -f conftest.err conftest.
$ac_ext
11265 if $ac_preproc_ok; then :
11270 ac_cv_prog_CXXCPP
=$CXXCPP
11273 CXXCPP
=$ac_cv_prog_CXXCPP
11275 ac_cv_prog_CXXCPP
=$CXXCPP
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11278 $as_echo "$CXXCPP" >&6; }
11279 ac_preproc_ok
=false
11280 for ac_cxx_preproc_warn_flag
in '' yes
11282 # Use a header file that comes with gcc, so configuring glibc
11283 # with a fresh cross-compiler works.
11284 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11285 # <limits.h> exists even on freestanding compilers.
11286 # On the NeXT, cc -E runs the code through the compiler's parser,
11287 # not just through cpp. "Syntax error" is here to catch this case.
11288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h. */
11291 # include <limits.h>
11293 # include <assert.h>
11297 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11300 # Broken: fails on valid input.
11303 rm -f conftest.err conftest.
$ac_ext
11305 # OK, works on sane cases. Now check whether nonexistent headers
11306 # can be detected and how.
11307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11309 #include <ac_nonexistent.h>
11311 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11312 # Broken: success on invalid input.
11315 # Passes both tests.
11319 rm -f conftest.err conftest.
$ac_ext
11322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11323 rm -f conftest.err conftest.
$ac_ext
11324 if $ac_preproc_ok; then :
11327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11329 _lt_caught_CXX_error
=yes; }
11333 ac_cpp
='$CPP $CPPFLAGS'
11334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11339 _lt_caught_CXX_error
=yes
11346 ac_cpp
='$CXXCPP $CPPFLAGS'
11347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11351 archive_cmds_need_lc_CXX
=no
11352 allow_undefined_flag_CXX
=
11353 always_export_symbols_CXX
=no
11354 archive_expsym_cmds_CXX
=
11355 compiler_needs_object_CXX
=no
11356 export_dynamic_flag_spec_CXX
=
11357 hardcode_direct_CXX
=no
11358 hardcode_direct_absolute_CXX
=no
11359 hardcode_libdir_flag_spec_CXX
=
11360 hardcode_libdir_flag_spec_ld_CXX
=
11361 hardcode_libdir_separator_CXX
=
11362 hardcode_minus_L_CXX
=no
11363 hardcode_shlibpath_var_CXX
=unsupported
11364 hardcode_automatic_CXX
=no
11365 inherit_rpath_CXX
=no
11367 module_expsym_cmds_CXX
=
11368 link_all_deplibs_CXX
=unknown
11369 old_archive_cmds_CXX
=$old_archive_cmds
11370 no_undefined_flag_CXX
=
11371 whole_archive_flag_spec_CXX
=
11372 enable_shared_with_static_runtimes_CXX
=no
11374 # Source file extension for C++ test sources.
11377 # Object file extension for compiled C++ test sources.
11381 # No sense in running all these tests if we already determined that
11382 # the CXX compiler isn't working. Some variables (like enable_shared)
11383 # are currently assumed to apply to all compilers on this platform,
11384 # and will be corrupted by setting them based on a non-working compiler.
11385 if test "$_lt_caught_CXX_error" != yes; then
11386 # Code to be used in simple compile tests
11387 lt_simple_compile_test_code
="int some_variable = 0;"
11389 # Code to be used in simple link tests
11390 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11392 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11399 # If no C compiler was specified, use CC.
11402 # If no C compiler flags were specified, use CFLAGS.
11403 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11405 # Allow CC to be a program name with arguments.
11409 # save warnings/boilerplate of simple test code
11410 ac_outfile
=conftest.
$ac_objext
11411 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11412 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11413 _lt_compiler_boilerplate
=`cat conftest.err`
11416 ac_outfile
=conftest.
$ac_objext
11417 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11418 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11419 _lt_linker_boilerplate
=`cat conftest.err`
11423 # Allow CC to be a program name with arguments.
11428 lt_save_with_gnu_ld
=$with_gnu_ld
11429 lt_save_path_LD
=$lt_cv_path_LD
11430 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11431 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11433 $as_unset lt_cv_prog_gnu_ld
11435 if test -n "${lt_cv_path_LDCXX+set}"; then
11436 lt_cv_path_LD
=$lt_cv_path_LDCXX
11438 $as_unset lt_cv_path_LD
11440 test -z "${LDCXX+set}" || LD
=$LDCXX
11444 for cc_temp
in $compiler""; do
11446 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11447 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11452 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11455 if test -n "$compiler"; then
11456 # We don't want -fno-exception when compiling C++ code, so set the
11457 # no_builtin_flag separately
11458 if test "$GXX" = yes; then
11459 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11461 lt_prog_compiler_no_builtin_flag_CXX
=
11464 if test "$GXX" = yes; then
11465 # Set up default GNU C++ configuration
11469 # Check whether --with-gnu-ld was given.
11470 if test "${with_gnu_ld+set}" = set; then :
11471 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11477 if test "$GCC" = yes; then
11478 # Check if gcc -print-prog-name=ld gives a path.
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11480 $as_echo_n "checking for ld used by $CC... " >&6; }
11483 # gcc leaves a trailing carriage return which upsets mingw
11484 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11486 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11489 # Accept absolute paths.
11491 re_direlt
='/[^/][^/]*/\.\./'
11492 # Canonicalize the pathname of ld
11493 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11494 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11495 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11497 test -z "$LD" && LD
="$ac_prog"
11500 # If it fails, then pretend we aren't using GCC.
11504 # If it is relative, then search for the first ld in PATH.
11505 with_gnu_ld
=unknown
11508 elif test "$with_gnu_ld" = yes; then
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11510 $as_echo_n "checking for GNU ld... " >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11513 $as_echo_n "checking for non-GNU ld... " >&6; }
11515 if test "${lt_cv_path_LD+set}" = set; then :
11516 $as_echo_n "(cached) " >&6
11518 if test -z "$LD"; then
11519 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11520 for ac_dir
in $PATH; do
11522 test -z "$ac_dir" && ac_dir
=.
11523 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11524 lt_cv_path_LD
="$ac_dir/$ac_prog"
11525 # Check to see if the program is GNU ld. I'd rather use --version,
11526 # but apparently some variants of GNU ld only accept -v.
11527 # Break only if it was the GNU/non-GNU ld that we prefer.
11528 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11529 *GNU
* | *'with BFD'*)
11530 test "$with_gnu_ld" != no
&& break
11533 test "$with_gnu_ld" != yes && break
11540 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11544 LD
="$lt_cv_path_LD"
11545 if test -n "$LD"; then
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11547 $as_echo "$LD" >&6; }
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11550 $as_echo "no" >&6; }
11552 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11554 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11555 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11556 $as_echo_n "(cached) " >&6
11558 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11559 case `$LD -v 2>&1 </dev/null` in
11560 *GNU
* | *'with BFD'*)
11561 lt_cv_prog_gnu_ld
=yes
11564 lt_cv_prog_gnu_ld
=no
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11569 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11570 with_gnu_ld
=$lt_cv_prog_gnu_ld
11578 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11579 # archiving commands below assume that GNU ld is being used.
11580 if test "$with_gnu_ld" = yes; then
11581 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11582 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'
11584 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11585 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11587 # If archive_cmds runs LD, not CC, wlarc should be empty
11588 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11589 # investigate it a little bit more. (MM)
11592 # ancient GNU ld didn't support --whole-archive et. al.
11593 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11594 $GREP 'no-whole-archive' > /dev
/null
; then
11595 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11597 whole_archive_flag_spec_CXX
=
11603 # A generic and very simple default shared library creation
11604 # command for GNU C++ for the case where it uses the native
11605 # linker, instead of GNU ld. If possible, this setting should
11606 # overridden to take advantage of the native linker features on
11607 # the platform it is being used on.
11608 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11611 # Commands to make compiler produce verbose output that lists
11612 # what "hidden" libraries, object files and flags are used when
11613 # linking a shared library.
11614 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11622 # PORTME: fill in a description of your system's C++ link characteristics
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11624 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11628 # FIXME: insert proper C++ library support
11632 if test "$host_cpu" = ia64
; then
11633 # On IA64, the linker does run time linking by default, so we don't
11634 # have to do anything special.
11635 aix_use_runtimelinking
=no
11636 exp_sym_flag
='-Bexport'
11639 aix_use_runtimelinking
=no
11641 # Test if we are trying to use run time linking or normal
11642 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11643 # need to do runtime linking.
11644 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11645 for ld_flag
in $LDFLAGS; do
11648 aix_use_runtimelinking
=yes
11656 exp_sym_flag
='-bexport'
11657 no_entry_flag
='-bnoentry'
11660 # When large executables or shared objects are built, AIX ld can
11661 # have problems creating the table of contents. If linking a library
11662 # or program results in "error TOC overflow" add -mminimal-toc to
11663 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11664 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11666 archive_cmds_CXX
=''
11667 hardcode_direct_CXX
=yes
11668 hardcode_direct_absolute_CXX
=yes
11669 hardcode_libdir_separator_CXX
=':'
11670 link_all_deplibs_CXX
=yes
11671 file_list_spec_CXX
='${wl}-f,'
11673 if test "$GXX" = yes; then
11674 case $host_os in aix4.
[012]|aix4.
[012].
*)
11675 # We only want to do this on AIX 4.2 and lower, the check
11676 # below for broken collect2 doesn't work under 4.3+
11677 collect2name
=`${CC} -print-prog-name=collect2`
11678 if test -f "$collect2name" &&
11679 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11681 # We have reworked collect2
11684 # We have old collect2
11685 hardcode_direct_CXX
=unsupported
11686 # It fails to find uninstalled libraries when the uninstalled
11687 # path is not listed in the libpath. Setting hardcode_minus_L
11688 # to unsupported forces relinking
11689 hardcode_minus_L_CXX
=yes
11690 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11691 hardcode_libdir_separator_CXX
=
11694 shared_flag
='-shared'
11695 if test "$aix_use_runtimelinking" = yes; then
11696 shared_flag
="$shared_flag "'${wl}-G'
11700 if test "$host_cpu" = ia64
; then
11701 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11702 # chokes on -Wl,-G. The following line is correct:
11705 if test "$aix_use_runtimelinking" = yes; then
11706 shared_flag
='${wl}-G'
11708 shared_flag
='${wl}-bM:SRE'
11713 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11714 # It seems that -bexpall does not export symbols beginning with
11715 # underscore (_), so it is better to generate a list of symbols to
11717 always_export_symbols_CXX
=yes
11718 if test "$aix_use_runtimelinking" = yes; then
11719 # Warning - without using the other runtime loading flags (-brtl),
11720 # -berok will link without error, but may produce a broken library.
11721 allow_undefined_flag_CXX
='-berok'
11722 # Determine the default libpath from the value encoded in an empty
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11735 if ac_fn_cxx_try_link
"$LINENO"; then :
11737 lt_aix_libpath_sed
='
11738 /Import File Strings/,/^$/ {
11744 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11745 # Check for a 64-bit object if we didn't find anything.
11746 if test -z "$aix_libpath"; then
11747 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11750 rm -f core conftest.err conftest.
$ac_objext \
11751 conftest
$ac_exeext conftest.
$ac_ext
11752 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11754 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11756 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"
11758 if test "$host_cpu" = ia64
; then
11759 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11760 allow_undefined_flag_CXX
="-z nodefs"
11761 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"
11763 # Determine the default libpath from the value encoded in an
11764 # empty executable.
11765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11776 if ac_fn_cxx_try_link
"$LINENO"; then :
11778 lt_aix_libpath_sed
='
11779 /Import File Strings/,/^$/ {
11785 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11786 # Check for a 64-bit object if we didn't find anything.
11787 if test -z "$aix_libpath"; then
11788 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11791 rm -f core conftest.err conftest.
$ac_objext \
11792 conftest
$ac_exeext conftest.
$ac_ext
11793 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11795 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11796 # Warning - without using the other run time loading flags,
11797 # -berok will link without error, but may produce a broken library.
11798 no_undefined_flag_CXX
=' ${wl}-bernotok'
11799 allow_undefined_flag_CXX
=' ${wl}-berok'
11800 # Exported symbols can be pulled into shared objects from archives
11801 whole_archive_flag_spec_CXX
='$convenience'
11802 archive_cmds_need_lc_CXX
=yes
11803 # This is similar to how AIX traditionally builds its shared
11805 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'
11811 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11812 allow_undefined_flag_CXX
=unsupported
11813 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11814 # support --undefined. This deserves some investigation. FIXME
11815 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11822 case $cc_basename in
11824 # FIXME: insert proper C++ library support
11830 cygwin
* | mingw
* | pw32
* | cegcc
*)
11831 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11832 # as there is no search path for DLLs.
11833 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11834 allow_undefined_flag_CXX
=unsupported
11835 always_export_symbols_CXX
=no
11836 enable_shared_with_static_runtimes_CXX
=yes
11838 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11839 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'
11840 # If the export-symbols file already is a .def file (1st line
11841 # is EXPORTS), use it as is; otherwise, prepend...
11842 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11843 cp $export_symbols $output_objdir/$soname.def;
11845 echo EXPORTS > $output_objdir/$soname.def;
11846 cat $export_symbols >> $output_objdir/$soname.def;
11848 $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'
11853 darwin
* | rhapsody
*)
11856 archive_cmds_need_lc_CXX
=no
11857 hardcode_direct_CXX
=no
11858 hardcode_automatic_CXX
=yes
11859 hardcode_shlibpath_var_CXX
=unsupported
11860 whole_archive_flag_spec_CXX
=''
11861 link_all_deplibs_CXX
=yes
11862 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11863 case $cc_basename in
11864 ifort
*) _lt_dar_can_shared
=yes ;;
11865 *) _lt_dar_can_shared
=$GCC ;;
11867 if test "$_lt_dar_can_shared" = "yes"; then
11868 output_verbose_link_cmd
=echo
11869 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}"
11870 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11871 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}"
11872 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}"
11873 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11874 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}"
11875 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}"
11885 case $cc_basename in
11887 # FIXME: insert proper C++ library support
11891 # Green Hills C++ Compiler
11892 # FIXME: insert proper C++ library support
11896 # FIXME: insert proper C++ library support
11903 # C++ shared libraries reported to be fairly broken before
11909 archive_cmds_need_lc_CXX
=no
11912 freebsd
* | dragonfly
*)
11913 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11922 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11923 hardcode_libdir_separator_CXX
=:
11924 export_dynamic_flag_spec_CXX
='${wl}-E'
11925 hardcode_direct_CXX
=yes
11926 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11927 # but as the default
11928 # location of the library.
11930 case $cc_basename in
11932 # FIXME: insert proper C++ library support
11936 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'
11937 # Commands to make compiler produce verbose output that lists
11938 # what "hidden" libraries, object files and flags are used when
11939 # linking a shared library.
11941 # There doesn't appear to be a way to prevent this compiler from
11942 # explicitly linking system object files so we need to strip them
11943 # from the output so that they don't get included in the library
11945 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'
11948 if test "$GXX" = yes; then
11949 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'
11951 # FIXME: insert proper C++ library support
11959 if test $with_gnu_ld = no
; then
11960 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11961 hardcode_libdir_separator_CXX
=:
11967 export_dynamic_flag_spec_CXX
='${wl}-E'
11973 hardcode_direct_CXX
=no
11974 hardcode_shlibpath_var_CXX
=no
11977 hardcode_direct_CXX
=yes
11978 hardcode_direct_absolute_CXX
=yes
11979 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11980 # but as the default
11981 # location of the library.
11985 case $cc_basename in
11987 # FIXME: insert proper C++ library support
11993 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11996 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11999 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12002 # Commands to make compiler produce verbose output that lists
12003 # what "hidden" libraries, object files and flags are used when
12004 # linking a shared library.
12006 # There doesn't appear to be a way to prevent this compiler from
12007 # explicitly linking system object files so we need to strip them
12008 # from the output so that they don't get included in the library
12010 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'
12013 if test "$GXX" = yes; then
12014 if test $with_gnu_ld = no
; then
12017 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12020 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12023 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'
12028 # FIXME: insert proper C++ library support
12036 hardcode_direct_CXX
=no
12037 hardcode_shlibpath_var_CXX
=no
12038 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12039 export_dynamic_flag_spec_CXX
='${wl}-E'
12040 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12041 # Instead, shared libraries are loaded at an image base (0x10000000 by
12042 # default) and relocated if they conflict, which is a slow very memory
12043 # consuming and fragmenting process. To avoid this, we pick a random,
12044 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12045 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12046 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'
12047 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'
12050 case $cc_basename in
12053 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'
12055 # Archives containing C++ object files must be created using
12056 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12057 # necessary to make sure instantiated templates are included
12059 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12062 if test "$GXX" = yes; then
12063 if test "$with_gnu_ld" = no
; then
12064 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'
12066 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'
12069 link_all_deplibs_CXX
=yes
12072 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12073 hardcode_libdir_separator_CXX
=:
12074 inherit_rpath_CXX
=yes
12077 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12078 case $cc_basename in
12080 # Kuck and Associates, Inc. (KAI) C++ Compiler
12082 # KCC will only create a shared library if the output file
12083 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12084 # to its proper name (with version) after linking.
12085 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'
12086 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'
12087 # Commands to make compiler produce verbose output that lists
12088 # what "hidden" libraries, object files and flags are used when
12089 # linking a shared library.
12091 # There doesn't appear to be a way to prevent this compiler from
12092 # explicitly linking system object files so we need to strip them
12093 # from the output so that they don't get included in the library
12095 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'
12097 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12098 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12100 # Archives containing C++ object files must be created using
12101 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12102 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12107 # version 8.0 and above of icpc choke on multiply defined symbols
12108 # if we add $predep_objects and $postdep_objects, however 7.1 and
12109 # earlier do not add the objects themselves.
12110 case `$CC -V 2>&1` in
12112 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12113 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'
12115 *) # Version 8.0 or newer
12118 ia64
*) tmp_idyn
=' -i_dynamic';;
12120 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12121 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'
12124 archive_cmds_need_lc_CXX
=no
12125 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12126 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12127 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12130 # Portland Group C++ compiler
12132 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12133 prelink_cmds_CXX
='tpldir=Template.dir~
12135 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12136 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12137 old_archive_cmds_CXX
='tpldir=Template.dir~
12139 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12140 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12142 archive_cmds_CXX
='tpldir=Template.dir~
12144 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12145 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12146 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12148 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12149 $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'
12151 *) # Version 6 will use weak symbols
12152 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12153 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'
12157 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12158 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12159 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'
12163 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12164 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'
12166 runpath_var
=LD_RUN_PATH
12167 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12168 hardcode_libdir_separator_CXX
=:
12170 # Commands to make compiler produce verbose output that lists
12171 # what "hidden" libraries, object files and flags are used when
12172 # linking a shared library.
12174 # There doesn't appear to be a way to prevent this compiler from
12175 # explicitly linking system object files so we need to strip them
12176 # from the output so that they don't get included in the library
12178 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'
12181 # IBM XL 8.0 on PPC, with GNU ld
12182 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12183 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12184 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12185 if test "x$supports_anon_versioning" = xyes
; then
12186 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12187 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12188 echo "local: *; };" >> $output_objdir/$libname.ver~
12189 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12193 case `$CC -V 2>&1 | sed 5q` in
12196 no_undefined_flag_CXX
=' -zdefs'
12197 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12198 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'
12199 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12200 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'
12201 compiler_needs_object_CXX
=yes
12203 # Not sure whether something based on
12204 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12206 output_verbose_link_cmd
='echo'
12208 # Archives containing C++ object files must be created using
12209 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12210 # necessary to make sure instantiated templates are included
12212 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12220 # FIXME: insert proper C++ library support
12225 # FIXME: insert proper C++ library support
12230 case $cc_basename in
12232 # FIXME: insert proper C++ library support
12236 # FIXME: insert proper C++ library support
12243 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12244 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12246 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12247 hardcode_direct_CXX
=yes
12248 hardcode_shlibpath_var_CXX
=no
12250 # Workaround some broken pre-1.5 toolchains
12251 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12259 # C++ shared libraries are fairly broken
12264 if test -f /usr
/libexec
/ld.so
; then
12265 hardcode_direct_CXX
=yes
12266 hardcode_shlibpath_var_CXX
=no
12267 hardcode_direct_absolute_CXX
=yes
12268 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12269 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12270 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12271 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12272 export_dynamic_flag_spec_CXX
='${wl}-E'
12273 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12275 output_verbose_link_cmd
=echo
12281 osf3
* | osf4
* | osf5
*)
12282 case $cc_basename in
12284 # Kuck and Associates, Inc. (KAI) C++ Compiler
12286 # KCC will only create a shared library if the output file
12287 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12288 # to its proper name (with version) after linking.
12289 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'
12291 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12292 hardcode_libdir_separator_CXX
=:
12294 # Archives containing C++ object files must be created using
12295 # the KAI C++ compiler.
12297 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12298 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12302 # Rational C++ 2.4.1
12303 # FIXME: insert proper C++ library support
12309 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12310 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'
12311 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12314 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12315 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'
12316 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12317 echo "-hidden">> $lib.exp~
12318 $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~
12320 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12324 hardcode_libdir_separator_CXX
=:
12326 # Commands to make compiler produce verbose output that lists
12327 # what "hidden" libraries, object files and flags are used when
12328 # linking a shared library.
12330 # There doesn't appear to be a way to prevent this compiler from
12331 # explicitly linking system object files so we need to strip them
12332 # from the output so that they don't get included in the library
12334 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'
12337 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12338 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12341 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'
12344 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'
12348 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12349 hardcode_libdir_separator_CXX
=:
12351 # Commands to make compiler produce verbose output that lists
12352 # what "hidden" libraries, object files and flags are used when
12353 # linking a shared library.
12354 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12357 # FIXME: insert proper C++ library support
12365 # FIXME: insert proper C++ library support
12370 case $cc_basename in
12373 # FIXME: insert proper C++ library support
12378 # FIXME: insert proper C++ library support
12382 # FIXME: insert proper C++ library support
12389 case $cc_basename in
12391 # Sun C++ 4.2, 5.x and Centerline C++
12392 archive_cmds_need_lc_CXX
=yes
12393 no_undefined_flag_CXX
=' -zdefs'
12394 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12395 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12396 $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'
12398 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12399 hardcode_shlibpath_var_CXX
=no
12401 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12403 # The compiler driver will combine and reorder linker options,
12404 # but understands `-z linker_flag'.
12405 # Supported since Solaris 2.6 (maybe 2.5.1?)
12406 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12409 link_all_deplibs_CXX
=yes
12411 output_verbose_link_cmd
='echo'
12413 # Archives containing C++ object files must be created using
12414 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12415 # necessary to make sure instantiated templates are included
12417 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12420 # Green Hills C++ Compiler
12421 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12423 # The C++ compiler must be used to create the archive.
12424 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12427 # GNU C++ compiler with Solaris linker
12428 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12429 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12430 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12431 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12432 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12433 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12435 # Commands to make compiler produce verbose output that lists
12436 # what "hidden" libraries, object files and flags are used when
12437 # linking a shared library.
12438 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12440 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12442 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12443 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12444 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12446 # Commands to make compiler produce verbose output that lists
12447 # what "hidden" libraries, object files and flags are used when
12448 # linking a shared library.
12449 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12452 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12454 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12456 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12464 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12465 no_undefined_flag_CXX
='${wl}-z,text'
12466 archive_cmds_need_lc_CXX
=no
12467 hardcode_shlibpath_var_CXX
=no
12468 runpath_var
='LD_RUN_PATH'
12470 case $cc_basename in
12472 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12473 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12476 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12477 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12482 sysv5
* | sco3.2v5
* | sco5v6
*)
12483 # Note: We can NOT use -z defs as we might desire, because we do not
12484 # link with -lc, and that would cause any symbols used from libc to
12485 # always be unresolved, which means just about no library would
12486 # ever link correctly. If we're not using GNU ld we use -z text
12487 # though, which does catch some bad symbols but isn't as heavy-handed
12489 no_undefined_flag_CXX
='${wl}-z,text'
12490 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12491 archive_cmds_need_lc_CXX
=no
12492 hardcode_shlibpath_var_CXX
=no
12493 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12494 hardcode_libdir_separator_CXX
=':'
12495 link_all_deplibs_CXX
=yes
12496 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12497 runpath_var
='LD_RUN_PATH'
12499 case $cc_basename in
12501 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12502 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12505 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12506 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12512 case $cc_basename in
12514 # NonStop-UX NCC 3.20
12515 # FIXME: insert proper C++ library support
12519 # FIXME: insert proper C++ library support
12526 # FIXME: insert proper C++ library support
12531 # FIXME: insert proper C++ library support
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12537 $as_echo "$ld_shlibs_CXX" >&6; }
12538 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12544 ## There is no encapsulation within the following macros, do not change
12545 ## the running order or otherwise move them around unless you know exactly
12546 ## what you are doing...
12547 # Dependencies to place before and after the object being linked:
12548 predep_objects_CXX
=
12549 postdep_objects_CXX
=
12552 compiler_lib_search_path_CXX
=
12554 cat > conftest.
$ac_ext <<_LT_EOF
12558 Foo (void) { a = 0; }
12564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12565 (eval $ac_compile) 2>&5
12567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12568 test $ac_status = 0; }; then
12569 # Parse the compiler output and extract the necessary
12570 # objects, libraries and library flags.
12572 # Sentinel used to keep track of whether or not we are before
12573 # the conftest object file.
12574 pre_test_object_deps_done
=no
12576 for p
in `eval "$output_verbose_link_cmd"`; do
12580 # Some compilers place space between "-{L,R}" and the path.
12581 # Remove the space.
12582 if test $p = "-L" ||
12583 test $p = "-R"; then
12590 if test "$pre_test_object_deps_done" = no
; then
12593 # Internal compiler library paths should come after those
12594 # provided the user. The postdeps already come after the
12595 # user supplied libs so there is no need to process them.
12596 if test -z "$compiler_lib_search_path_CXX"; then
12597 compiler_lib_search_path_CXX
="${prev}${p}"
12599 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12602 # The "-l" case would never come before the object being
12603 # linked, so don't bother handling this case.
12606 if test -z "$postdeps_CXX"; then
12607 postdeps_CXX
="${prev}${p}"
12609 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12615 # This assumes that the test object file only shows up
12616 # once in the compiler output.
12617 if test "$p" = "conftest.$objext"; then
12618 pre_test_object_deps_done
=yes
12622 if test "$pre_test_object_deps_done" = no
; then
12623 if test -z "$predep_objects_CXX"; then
12624 predep_objects_CXX
="$p"
12626 predep_objects_CXX
="$predep_objects_CXX $p"
12629 if test -z "$postdep_objects_CXX"; then
12630 postdep_objects_CXX
="$p"
12632 postdep_objects_CXX
="$postdep_objects_CXX $p"
12637 *) ;; # Ignore the rest.
12645 echo "libtool.m4: error: problem compiling CXX test program"
12648 $RM -f confest.
$objext
12650 # PORTME: override above test on systems where it is broken
12653 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12654 # hack all around it, let's just trust "g++" to DTRT.
12655 predep_objects_CXX
=
12656 postdep_objects_CXX
=
12661 case `$CC -V 2>&1 | sed 5q` in
12665 # The more standards-conforming stlport4 library is
12666 # incompatible with the Cstd library. Avoid specifying
12667 # it if it's in CXXFLAGS. Ignore libCrun as
12668 # -library=stlport4 depends on it.
12669 case " $CXX $CXXFLAGS " in
12670 *" -library=stlport4 "*)
12671 solaris_use_stlport4
=yes
12675 if test "$solaris_use_stlport4" != yes; then
12676 postdeps_CXX
='-library=Cstd -library=Crun'
12683 case $cc_basename in
12685 # The more standards-conforming stlport4 library is
12686 # incompatible with the Cstd library. Avoid specifying
12687 # it if it's in CXXFLAGS. Ignore libCrun as
12688 # -library=stlport4 depends on it.
12689 case " $CXX $CXXFLAGS " in
12690 *" -library=stlport4 "*)
12691 solaris_use_stlport4
=yes
12695 # Adding this requires a known-good setup of shared libraries for
12696 # Sun compiler versions before 5.6, else PIC objects from an old
12697 # archive will be linked into the output, leading to subtle bugs.
12698 if test "$solaris_use_stlport4" != yes; then
12699 postdeps_CXX
='-library=Cstd -library=Crun'
12707 case " $postdeps_CXX " in
12708 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12710 compiler_lib_search_dirs_CXX
=
12711 if test -n "${compiler_lib_search_path_CXX}"; then
12712 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12745 lt_prog_compiler_wl_CXX
=
12746 lt_prog_compiler_pic_CXX
=
12747 lt_prog_compiler_static_CXX
=
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12752 # C++ specific cases for pic, static, wl, etc.
12753 if test "$GXX" = yes; then
12754 lt_prog_compiler_wl_CXX
='-Wl,'
12755 lt_prog_compiler_static_CXX
='-static'
12759 # All AIX code is PIC.
12760 if test "$host_cpu" = ia64
; then
12761 # AIX 5 now supports IA64 processor
12762 lt_prog_compiler_static_CXX
='-Bstatic'
12769 # see comment about AmigaOS4 .so support
12770 lt_prog_compiler_pic_CXX
='-fPIC'
12773 # FIXME: we need at least 68020 code to build shared libraries, but
12774 # adding the `-m68020' flag to GCC prevents building anything better,
12776 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12781 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12782 # PIC is the default for these OSes.
12784 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12785 # This hack is so that the source file can tell whether it is being
12786 # built for inclusion in a dll (and should export symbols for example).
12787 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12788 # (--disable-auto-import) libraries
12789 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12791 darwin
* | rhapsody
*)
12792 # PIC is the default on this platform
12793 # Common symbols not allowed in MH_DYLIB files
12794 lt_prog_compiler_pic_CXX
='-fno-common'
12797 # DJGPP does not support shared libraries at all
12798 lt_prog_compiler_pic_CXX
=
12801 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12802 # Instead, we relocate shared libraries at runtime.
12805 if test -d /usr
/nec
; then
12806 lt_prog_compiler_pic_CXX
=-Kconform_pic
12810 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12811 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12812 # sets the default TLS model and affects inlining.
12817 lt_prog_compiler_pic_CXX
='-fPIC'
12822 # QNX uses GNU C++, but need to define -shared option too, otherwise
12823 # it will coredump.
12824 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12827 lt_prog_compiler_pic_CXX
='-fPIC'
12833 # All AIX code is PIC.
12834 if test "$host_cpu" = ia64
; then
12835 # AIX 5 now supports IA64 processor
12836 lt_prog_compiler_static_CXX
='-Bstatic'
12838 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12842 case $cc_basename in
12844 # Green Hills C++ Compiler
12845 # _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"
12850 case $cc_basename in
12852 lt_prog_compiler_pic_CXX
='-KPIC'
12855 # Green Hills C++ Compiler
12856 lt_prog_compiler_pic_CXX
='-pic'
12862 freebsd
* | dragonfly
*)
12863 # FreeBSD uses GNU C++
12865 hpux9
* | hpux10
* | hpux11
*)
12866 case $cc_basename in
12868 lt_prog_compiler_wl_CXX
='-Wl,'
12869 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12870 if test "$host_cpu" != ia64
; then
12871 lt_prog_compiler_pic_CXX
='+Z'
12875 lt_prog_compiler_wl_CXX
='-Wl,'
12876 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12882 lt_prog_compiler_pic_CXX
='+Z'
12891 # This is c89, which is MS Visual C++ (no shared libs)
12892 # Anyone wants to do a port?
12894 irix5
* | irix6
* | nonstopux
*)
12895 case $cc_basename in
12897 lt_prog_compiler_wl_CXX
='-Wl,'
12898 lt_prog_compiler_static_CXX
='-non_shared'
12899 # CC pic flag -KPIC is the default.
12905 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12906 case $cc_basename in
12909 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12910 lt_prog_compiler_pic_CXX
='-fPIC'
12913 # old Intel C++ for x86_64 which still supported -KPIC.
12914 lt_prog_compiler_wl_CXX
='-Wl,'
12915 lt_prog_compiler_pic_CXX
='-KPIC'
12916 lt_prog_compiler_static_CXX
='-static'
12919 # Intel C++, used to be incompatible with GCC.
12920 # ICC 10 doesn't accept -KPIC any more.
12921 lt_prog_compiler_wl_CXX
='-Wl,'
12922 lt_prog_compiler_pic_CXX
='-fPIC'
12923 lt_prog_compiler_static_CXX
='-static'
12926 # Portland Group C++ compiler
12927 lt_prog_compiler_wl_CXX
='-Wl,'
12928 lt_prog_compiler_pic_CXX
='-fpic'
12929 lt_prog_compiler_static_CXX
='-Bstatic'
12933 # Make sure the PIC flag is empty. It appears that all Alpha
12934 # Linux and Compaq Tru64 Unix objects are PIC.
12935 lt_prog_compiler_pic_CXX
=
12936 lt_prog_compiler_static_CXX
='-non_shared'
12939 # IBM XL 8.0 on PPC
12940 lt_prog_compiler_wl_CXX
='-Wl,'
12941 lt_prog_compiler_pic_CXX
='-qpic'
12942 lt_prog_compiler_static_CXX
='-qstaticlink'
12945 case `$CC -V 2>&1 | sed 5q` in
12948 lt_prog_compiler_pic_CXX
='-KPIC'
12949 lt_prog_compiler_static_CXX
='-Bstatic'
12950 lt_prog_compiler_wl_CXX
='-Qoption ld '
12961 case $cc_basename in
12963 lt_prog_compiler_pic_CXX
='-W c,exportall'
12969 netbsd
* | netbsdelf
*-gnu)
12972 # QNX uses GNU C++, but need to define -shared option too, otherwise
12973 # it will coredump.
12974 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12976 osf3
* | osf4
* | osf5
*)
12977 case $cc_basename in
12979 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12982 # Rational C++ 2.4.1
12983 lt_prog_compiler_pic_CXX
='-pic'
12986 # Digital/Compaq C++
12987 lt_prog_compiler_wl_CXX
='-Wl,'
12988 # Make sure the PIC flag is empty. It appears that all Alpha
12989 # Linux and Compaq Tru64 Unix objects are PIC.
12990 lt_prog_compiler_pic_CXX
=
12991 lt_prog_compiler_static_CXX
='-non_shared'
13000 case $cc_basename in
13002 # Sun C++ 4.2, 5.x and Centerline C++
13003 lt_prog_compiler_pic_CXX
='-KPIC'
13004 lt_prog_compiler_static_CXX
='-Bstatic'
13005 lt_prog_compiler_wl_CXX
='-Qoption ld '
13008 # Green Hills C++ Compiler
13009 lt_prog_compiler_pic_CXX
='-PIC'
13016 case $cc_basename in
13019 lt_prog_compiler_pic_CXX
='-pic'
13020 lt_prog_compiler_static_CXX
='-Bstatic'
13024 lt_prog_compiler_pic_CXX
='-pic'
13030 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13031 case $cc_basename in
13033 lt_prog_compiler_wl_CXX
='-Wl,'
13034 lt_prog_compiler_pic_CXX
='-KPIC'
13035 lt_prog_compiler_static_CXX
='-Bstatic'
13040 case $cc_basename in
13042 # NonStop-UX NCC 3.20
13043 lt_prog_compiler_pic_CXX
='-KPIC'
13052 lt_prog_compiler_can_build_shared_CXX
=no
13058 # For platforms which do not support PIC, -DPIC is meaningless:
13060 lt_prog_compiler_pic_CXX
=
13063 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13067 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13072 # Check to make sure the PIC flag actually works.
13074 if test -n "$lt_prog_compiler_pic_CXX"; then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13076 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13077 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13078 $as_echo_n "(cached) " >&6
13080 lt_cv_prog_compiler_pic_works_CXX
=no
13081 ac_outfile
=conftest.
$ac_objext
13082 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13083 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13084 # Insert the option either (1) after the last *FLAGS variable, or
13085 # (2) before a word containing "conftest.", or (3) at the end.
13086 # Note that $ac_compile itself does not contain backslashes and begins
13087 # with a dollar sign (not a hyphen), so the echo should work correctly.
13088 # The option is referenced via a variable to avoid confusing sed.
13089 lt_compile
=`echo "$ac_compile" | $SED \
13090 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13091 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13092 -e 's:$: $lt_compiler_flag:'`
13093 (eval echo "\"\$as_me:13093: $lt_compile\"" >&5)
13094 (eval "$lt_compile" 2>conftest.err
)
13096 cat conftest.err
>&5
13097 echo "$as_me:13097: \$? = $ac_status" >&5
13098 if (exit $ac_status) && test -s "$ac_outfile"; then
13099 # The compiler can only warn and ignore the option if not recognized
13100 # So say no if there are warnings other than the usual output.
13101 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13102 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13103 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13104 lt_cv_prog_compiler_pic_works_CXX
=yes
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13111 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13113 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13114 case $lt_prog_compiler_pic_CXX in
13116 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13119 lt_prog_compiler_pic_CXX
=
13120 lt_prog_compiler_can_build_shared_CXX
=no
13128 # Check to make sure the static flag actually works.
13130 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13132 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13133 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13134 $as_echo_n "(cached) " >&6
13136 lt_cv_prog_compiler_static_works_CXX
=no
13137 save_LDFLAGS
="$LDFLAGS"
13138 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13139 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13140 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13141 # The linker can only warn and ignore the option if not recognized
13142 # So say no if there are warnings
13143 if test -s conftest.err
; then
13144 # Append any errors to the config.log.
13145 cat conftest.err
1>&5
13146 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13147 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13148 if diff conftest.exp conftest.er2
>/dev
/null
; then
13149 lt_cv_prog_compiler_static_works_CXX
=yes
13152 lt_cv_prog_compiler_static_works_CXX
=yes
13156 LDFLAGS
="$save_LDFLAGS"
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13160 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13162 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13165 lt_prog_compiler_static_CXX
=
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13172 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13173 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13174 $as_echo_n "(cached) " >&6
13176 lt_cv_prog_compiler_c_o_CXX
=no
13177 $RM -r conftest
2>/dev
/null
13181 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13183 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13184 # Insert the option either (1) after the last *FLAGS variable, or
13185 # (2) before a word containing "conftest.", or (3) at the end.
13186 # Note that $ac_compile itself does not contain backslashes and begins
13187 # with a dollar sign (not a hyphen), so the echo should work correctly.
13188 lt_compile
=`echo "$ac_compile" | $SED \
13189 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13190 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13191 -e 's:$: $lt_compiler_flag:'`
13192 (eval echo "\"\$as_me:13192: $lt_compile\"" >&5)
13193 (eval "$lt_compile" 2>out
/conftest.err
)
13195 cat out
/conftest.err
>&5
13196 echo "$as_me:13196: \$? = $ac_status" >&5
13197 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13199 # The compiler can only warn and ignore the option if not recognized
13200 # So say no if there are warnings
13201 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13202 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13203 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13204 lt_cv_prog_compiler_c_o_CXX
=yes
13209 # SGI C++ compiler will create directory out/ii_files/ for
13210 # template instantiation
13211 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13212 $RM out
/* && rmdir out
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13219 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13224 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13225 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13226 $as_echo_n "(cached) " >&6
13228 lt_cv_prog_compiler_c_o_CXX
=no
13229 $RM -r conftest
2>/dev
/null
13233 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13235 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13236 # Insert the option either (1) after the last *FLAGS variable, or
13237 # (2) before a word containing "conftest.", or (3) at the end.
13238 # Note that $ac_compile itself does not contain backslashes and begins
13239 # with a dollar sign (not a hyphen), so the echo should work correctly.
13240 lt_compile
=`echo "$ac_compile" | $SED \
13241 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13243 -e 's:$: $lt_compiler_flag:'`
13244 (eval echo "\"\$as_me:13244: $lt_compile\"" >&5)
13245 (eval "$lt_compile" 2>out
/conftest.err
)
13247 cat out
/conftest.err
>&5
13248 echo "$as_me:13248: \$? = $ac_status" >&5
13249 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13251 # The compiler can only warn and ignore the option if not recognized
13252 # So say no if there are warnings
13253 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13254 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13255 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13256 lt_cv_prog_compiler_c_o_CXX
=yes
13261 # SGI C++ compiler will create directory out/ii_files/ for
13262 # template instantiation
13263 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13264 $RM out
/* && rmdir out
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13271 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13276 hard_links
="nottested"
13277 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13278 # do not overwrite the value of need_locks provided by the user
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13280 $as_echo_n "checking if we can lock with hard links... " >&6; }
13283 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13285 ln conftest.a conftest.b
2>&5 || hard_links
=no
13286 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13288 $as_echo "$hard_links" >&6; }
13289 if test "$hard_links" = no
; then
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13291 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13301 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13303 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13306 # If we're using GNU nm, then we don't want the "-C" option.
13307 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13308 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13309 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'
13311 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'
13315 export_symbols_cmds_CXX
="$ltdll_cmds"
13317 cygwin
* | mingw
* | cegcc
*)
13318 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'
13320 linux
* | k
*bsd
*-gnu)
13321 link_all_deplibs_CXX
=no
13324 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13327 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13330 $as_echo "$ld_shlibs_CXX" >&6; }
13331 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13333 with_gnu_ld_CXX
=$with_gnu_ld
13341 # Do we need to explicitly link libc?
13343 case "x$archive_cmds_need_lc_CXX" in
13345 # Assume -lc should be added
13346 archive_cmds_need_lc_CXX
=yes
13348 if test "$enable_shared" = yes && test "$GCC" = yes; then
13349 case $archive_cmds_CXX in
13351 # FIXME: we may have to deal with multi-command sequences.
13354 # Test whether the compiler implicitly links with -lc since on some
13355 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13356 # to ld, don't add -lc before -lgcc.
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13362 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13363 (eval $ac_compile) 2>&5
13365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13366 test $ac_status = 0; } 2>conftest.err
; then
13369 libobjs
=conftest.
$ac_objext
13371 wl
=$lt_prog_compiler_wl_CXX
13372 pic_flag
=$lt_prog_compiler_pic_CXX
13378 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13379 allow_undefined_flag_CXX
=
13380 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13381 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13384 test $ac_status = 0; }
13386 archive_cmds_need_lc_CXX
=no
13388 archive_cmds_need_lc_CXX
=yes
13390 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13392 cat conftest.err
1>&5
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13396 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13467 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13469 library_names_spec
=
13470 libname_spec
='lib$name'
13474 postuninstall_cmds
=
13478 shlibpath_overrides_runpath
=unknown
13480 dynamic_linker
="$host_os ld.so"
13481 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13482 need_lib_prefix
=unknown
13483 hardcode_into_libs
=no
13485 # when you set need_version to no, make sure it does not cause -set_version
13486 # flags to be left without arguments
13487 need_version
=unknown
13492 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13493 shlibpath_var
=LIBPATH
13495 # AIX 3 has no versioning support, so we append a major version to the name.
13496 soname_spec
='${libname}${release}${shared_ext}$major'
13503 hardcode_into_libs
=yes
13504 if test "$host_cpu" = ia64
; then
13505 # AIX 5 supports IA64
13506 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13507 shlibpath_var
=LD_LIBRARY_PATH
13509 # With GCC up to 2.95.x, collect2 would create an import file
13510 # for dependence libraries. The import file would start with
13511 # the line `#! .'. This would cause the generated library to
13512 # depend on `.', always an invalid library. This was fixed in
13513 # development snapshots of GCC prior to 3.0.
13515 aix4
| aix4.
[01] | aix4.
[01].
*)
13516 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13518 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13521 can_build_shared
=no
13525 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13526 # soname into executable. Probably we can add versioning support to
13527 # collect2, so additional links can be useful in future.
13528 if test "$aix_use_runtimelinking" = yes; then
13529 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13530 # instead of lib<name>.a to let people know that these are not
13531 # typical AIX shared libraries.
13532 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13534 # We preserve .a as extension for shared libraries through AIX4.2
13535 # and later when we are not doing run time linking.
13536 library_names_spec
='${libname}${release}.a $libname.a'
13537 soname_spec
='${libname}${release}${shared_ext}$major'
13539 shlibpath_var
=LIBPATH
13546 # Since July 2007 AmigaOS4 officially supports .so libraries.
13547 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13551 library_names_spec
='$libname.ixlibrary $libname.a'
13552 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13553 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'
13559 library_names_spec
='${libname}${shared_ext}'
13560 dynamic_linker
="$host_os ld.so"
13561 shlibpath_var
=LIBRARY_PATH
13567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13568 soname_spec
='${libname}${release}${shared_ext}$major'
13569 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13570 shlibpath_var
=LD_LIBRARY_PATH
13571 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13572 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13573 # the default ld.so.conf also contains /usr/contrib/lib and
13574 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13575 # libtool to hard-code these into programs
13578 cygwin
* | mingw
* | pw32
* | cegcc
*)
13579 version_type
=windows
13584 case $GCC,$host_os in
13585 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13586 library_names_spec
='$libname.dll.a'
13587 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13588 postinstall_cmds
='base_file=`basename \${file}`~
13589 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13590 dldir=$destdir/`dirname \$dlpath`~
13591 test -d \$dldir || mkdir -p \$dldir~
13592 $install_prog $dir/$dlname \$dldir/$dlname~
13593 chmod a+x \$dldir/$dlname~
13594 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13595 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13597 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13598 dlpath=$dir/\$dldll~
13600 shlibpath_overrides_runpath
=yes
13604 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13605 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13606 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13609 # MinGW DLLs use traditional 'lib' prefix
13610 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13611 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13612 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13613 # It is most probably a Windows format PATH printed by
13614 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13615 # path with ; separators, and with drive letters. We can handle the
13616 # drive letters (cygwin fileutils understands them), so leave them,
13617 # especially as we might pass files found there to a mingw objdump,
13618 # which wouldn't understand a cygwinified path. Ahh.
13619 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13621 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13625 # pw32 DLLs use 'pw' prefix rather than 'lib'
13626 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13632 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13635 dynamic_linker
='Win32 ld.exe'
13636 # FIXME: first we should search . and the directory the executable is in
13640 darwin
* | rhapsody
*)
13641 dynamic_linker
="$host_os dyld"
13642 version_type
=darwin
13645 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13646 soname_spec
='${libname}${release}${major}$shared_ext'
13647 shlibpath_overrides_runpath
=yes
13648 shlibpath_var
=DYLD_LIBRARY_PATH
13649 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13651 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13659 soname_spec
='${libname}${release}${shared_ext}$major'
13660 shlibpath_var
=LD_LIBRARY_PATH
13667 freebsd
* | dragonfly
*)
13668 # DragonFly does not have aout. When/if they implement a new
13669 # versioning mechanism, adjust this.
13670 if test -x /usr
/bin
/objformat
; then
13671 objformat
=`/usr/bin/objformat`
13674 freebsd
[123]*) objformat
=aout
;;
13675 *) objformat
=elf
;;
13678 version_type
=freebsd
-$objformat
13679 case $version_type in
13681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13686 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13690 shlibpath_var
=LD_LIBRARY_PATH
13693 shlibpath_overrides_runpath
=yes
13695 freebsd3.
[01]* | freebsdelf3.
[01]*)
13696 shlibpath_overrides_runpath
=yes
13697 hardcode_into_libs
=yes
13699 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13700 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13701 shlibpath_overrides_runpath
=no
13702 hardcode_into_libs
=yes
13704 *) # from 4.6 on, and DragonFly
13705 shlibpath_overrides_runpath
=yes
13706 hardcode_into_libs
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
13718 hardcode_into_libs
=yes
13721 hpux9
* | hpux10
* | hpux11
*)
13722 # Give a soname corresponding to the major version so that dld.sl refuses to
13723 # link against other versions.
13730 hardcode_into_libs
=yes
13731 dynamic_linker
="$host_os dld.so"
13732 shlibpath_var
=LD_LIBRARY_PATH
13733 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13735 soname_spec
='${libname}${release}${shared_ext}$major'
13736 if test "X$HPUX_IA64_MODE" = X32
; then
13737 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13739 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13741 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13745 hardcode_into_libs
=yes
13746 dynamic_linker
="$host_os dld.sl"
13747 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13748 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13750 soname_spec
='${libname}${release}${shared_ext}$major'
13751 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13752 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13756 dynamic_linker
="$host_os dld.sl"
13757 shlibpath_var
=SHLIB_PATH
13758 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13760 soname_spec
='${libname}${release}${shared_ext}$major'
13763 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13764 postinstall_cmds
='chmod 555 $lib'
13771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13772 soname_spec
='${libname}${release}${shared_ext}$major'
13773 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13774 shlibpath_var
=LD_LIBRARY_PATH
13775 shlibpath_overrides_runpath
=no
13776 hardcode_into_libs
=yes
13779 irix5
* | irix6
* | nonstopux
*)
13781 nonstopux
*) version_type
=nonstopux
;;
13783 if test "$lt_cv_prog_gnu_ld" = yes; then
13791 soname_spec
='${libname}${release}${shared_ext}$major'
13792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13794 irix5
* | nonstopux
*)
13795 libsuff
= shlibsuff
=
13798 case $LD in # libtool.m4 will add one of these switches to LD
13799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13800 libsuff
= shlibsuff
= libmagic
=32-bit;;
13801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13802 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13804 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13805 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13809 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13810 shlibpath_overrides_runpath
=no
13811 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13812 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13813 hardcode_into_libs
=yes
13816 # No shared lib support for Linux oldld, aout, or coff.
13817 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13821 # This must be Linux ELF.
13822 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827 soname_spec
='${libname}${release}${shared_ext}$major'
13828 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13829 shlibpath_var
=LD_LIBRARY_PATH
13830 shlibpath_overrides_runpath
=no
13831 # Some binutils ld are patched to set DT_RUNPATH
13832 save_LDFLAGS
=$LDFLAGS
13833 save_libdir
=$libdir
13834 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13835 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13847 if ac_fn_cxx_try_link
"$LINENO"; then :
13848 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13849 shlibpath_overrides_runpath
=yes
13852 rm -f core conftest.err conftest.
$ac_objext \
13853 conftest
$ac_exeext conftest.
$ac_ext
13854 LDFLAGS
=$save_LDFLAGS
13855 libdir
=$save_libdir
13857 # This implies no fast_install, which is unacceptable.
13858 # Some rework will be needed to allow for fast_install
13859 # before this can be enabled.
13860 hardcode_into_libs
=yes
13862 # Append ld.so.conf contents to the search path
13863 if test -f /etc
/ld.so.conf
; then
13864 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' ' '`
13865 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13868 # We used to test for /lib/ld.so.1 and disable shared libraries on
13869 # powerpc, because MkLinux only supported shared libraries with the
13870 # GNU dynamic linker. Since this was broken with cross compilers,
13871 # most powerpc-linux boxes support dynamic linking these days and
13872 # people can always --disable-shared, the test was removed, and we
13873 # assume the GNU/Linux dynamic linker is in use.
13874 dynamic_linker
='GNU/Linux ld.so'
13881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13882 soname_spec
='${libname}${release}${shared_ext}$major'
13883 shlibpath_var
=LD_LIBRARY_PATH
13884 shlibpath_overrides_runpath
=no
13885 hardcode_into_libs
=yes
13886 dynamic_linker
='NetBSD ld.elf_so'
13893 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13894 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13895 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13896 dynamic_linker
='NetBSD (a.out) ld.so'
13898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13899 soname_spec
='${libname}${release}${shared_ext}$major'
13900 dynamic_linker
='NetBSD ld.elf_so'
13902 shlibpath_var
=LD_LIBRARY_PATH
13903 shlibpath_overrides_runpath
=yes
13904 hardcode_into_libs
=yes
13909 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13910 shlibpath_var
=LD_LIBRARY_PATH
13911 shlibpath_overrides_runpath
=yes
13918 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13919 soname_spec
='${libname}${release}${shared_ext}$major'
13920 shlibpath_var
=LD_LIBRARY_PATH
13921 shlibpath_overrides_runpath
=no
13922 hardcode_into_libs
=yes
13923 dynamic_linker
='ldqnx.so'
13928 sys_lib_dlsearch_path_spec
="/usr/lib"
13930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13932 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13933 *) need_version
=no
;;
13935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13937 shlibpath_var
=LD_LIBRARY_PATH
13938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13940 openbsd2.
[89] | openbsd2.
[89].
*)
13941 shlibpath_overrides_runpath
=no
13944 shlibpath_overrides_runpath
=yes
13948 shlibpath_overrides_runpath
=yes
13953 libname_spec
='$name'
13956 library_names_spec
='$libname${shared_ext} $libname.a'
13957 dynamic_linker
='OS/2 ld.exe'
13958 shlibpath_var
=LIBPATH
13961 osf3
* | osf4
* | osf5
*)
13965 soname_spec
='${libname}${release}${shared_ext}$major'
13966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13967 shlibpath_var
=LD_LIBRARY_PATH
13968 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13969 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13981 soname_spec
='${libname}${release}${shared_ext}$major'
13982 shlibpath_var
=LD_LIBRARY_PATH
13983 shlibpath_overrides_runpath
=yes
13984 hardcode_into_libs
=yes
13985 # ldd complains unless libraries are executable
13986 postinstall_cmds
='chmod +x $lib'
13991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13992 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13993 shlibpath_var
=LD_LIBRARY_PATH
13994 shlibpath_overrides_runpath
=yes
13995 if test "$with_gnu_ld" = yes; then
14003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14004 soname_spec
='${libname}${release}${shared_ext}$major'
14005 shlibpath_var
=LD_LIBRARY_PATH
14006 case $host_vendor in
14008 shlibpath_overrides_runpath
=no
14010 runpath_var
=LD_RUN_PATH
14018 shlibpath_overrides_runpath
=no
14019 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14025 if test -d /usr
/nec
;then
14027 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14028 soname_spec
='$libname${shared_ext}.$major'
14029 shlibpath_var
=LD_LIBRARY_PATH
14033 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14034 version_type
=freebsd
-elf
14037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14038 soname_spec
='${libname}${release}${shared_ext}$major'
14039 shlibpath_var
=LD_LIBRARY_PATH
14040 shlibpath_overrides_runpath
=yes
14041 hardcode_into_libs
=yes
14042 if test "$with_gnu_ld" = yes; then
14043 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14045 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14048 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14052 sys_lib_dlsearch_path_spec
='/usr/lib'
14056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14061 shlibpath_var
=LD_LIBRARY_PATH
14062 shlibpath_overrides_runpath
=no
14063 hardcode_into_libs
=yes
14068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14069 soname_spec
='${libname}${release}${shared_ext}$major'
14070 shlibpath_var
=LD_LIBRARY_PATH
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14078 $as_echo "$dynamic_linker" >&6; }
14079 test "$dynamic_linker" = no
&& can_build_shared
=no
14081 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14082 if test "$GCC" = yes; then
14083 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14087 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14090 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14129 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14130 hardcode_action_CXX
=
14131 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14132 test -n "$runpath_var_CXX" ||
14133 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14135 # We can hardcode non-existent directories.
14136 if test "$hardcode_direct_CXX" != no
&&
14137 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14138 # have to relink, otherwise we might link with an installed library
14139 # when we should be linking with a yet-to-be-installed one
14140 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14141 test "$hardcode_minus_L_CXX" != no
; then
14142 # Linking always hardcodes the temporary library directory.
14143 hardcode_action_CXX
=relink
14145 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14146 hardcode_action_CXX
=immediate
14149 # We cannot hardcode anything, or else we can only hardcode existing
14151 hardcode_action_CXX
=unsupported
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14154 $as_echo "$hardcode_action_CXX" >&6; }
14156 if test "$hardcode_action_CXX" = relink
||
14157 test "$inherit_rpath_CXX" = yes; then
14158 # Fast installation is not supported
14159 enable_fast_install
=no
14160 elif test "$shlibpath_overrides_runpath" = yes ||
14161 test "$enable_shared" = no
; then
14162 # Fast installation is not necessary
14163 enable_fast_install
=needless
14172 fi # test -n "$compiler"
14178 with_gnu_ld
=$lt_save_with_gnu_ld
14179 lt_cv_path_LDCXX
=$lt_cv_path_LD
14180 lt_cv_path_LD
=$lt_save_path_LD
14181 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14182 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14183 fi # test "$_lt_caught_CXX_error" != yes
14186 ac_cpp
='$CPP $CPPFLAGS'
14187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14193 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14194 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14197 if test -n "$ac_tool_prefix"; then
14198 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14201 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14203 $as_echo_n "checking for $ac_word... " >&6; }
14204 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
14205 $as_echo_n "(cached) " >&6
14207 if test -n "$OBJCXX"; then
14208 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14211 for as_dir
in $PATH
14214 test -z "$as_dir" && as_dir
=.
14215 for ac_exec_ext
in '' $ac_executable_extensions; do
14216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14217 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14227 OBJCXX
=$ac_cv_prog_OBJCXX
14228 if test -n "$OBJCXX"; then
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14230 $as_echo "$OBJCXX" >&6; }
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14233 $as_echo "no" >&6; }
14237 test -n "$OBJCXX" && break
14240 if test -z "$OBJCXX"; then
14241 ac_ct_OBJCXX
=$OBJCXX
14242 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14244 # Extract the first word of "$ac_prog", so it can be a program name with args.
14245 set dummy
$ac_prog; ac_word
=$2
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14247 $as_echo_n "checking for $ac_word... " >&6; }
14248 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
14249 $as_echo_n "(cached) " >&6
14251 if test -n "$ac_ct_OBJCXX"; then
14252 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
14254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14255 for as_dir
in $PATH
14258 test -z "$as_dir" && as_dir
=.
14259 for ac_exec_ext
in '' $ac_executable_extensions; do
14260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14261 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
14262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14271 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
14272 if test -n "$ac_ct_OBJCXX"; then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
14274 $as_echo "$ac_ct_OBJCXX" >&6; }
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14277 $as_echo "no" >&6; }
14281 test -n "$ac_ct_OBJCXX" && break
14284 if test "x$ac_ct_OBJCXX" = x
; then
14287 case $cross_compiling:$ac_tool_warned in
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14291 ac_tool_warned
=yes ;;
14293 OBJCXX
=$ac_ct_OBJCXX
14297 # Provide some information about the compiler.
14298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
14301 for ac_option
in --version -v -V -qversion; do
14302 { { ac_try
="$ac_compiler $ac_option >&5"
14303 case "(($ac_try" in
14304 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14305 *) ac_try_echo=$ac_try;;
14307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14308 $as_echo "$ac_try_echo"; } >&5
14309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14311 if test -s conftest.err; then
14313 ... rest of stderr output deleted ...
14314 10q' conftest.err >conftest.er1
14315 cat conftest.er1 >&5
14317 rm -f conftest.er1 conftest.err
14318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14319 test $ac_status = 0; }
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
14323 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
14324 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
14325 $as_echo_n "(cached) " >&6
14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14328 /* end confdefs.h. */
14341 if ac_fn_objcxx_try_compile "$LINENO"; then :
14342 ac_compiler_gnu=yes
14346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14347 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
14351 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
14352 if test $ac_compiler_gnu = yes; then
14357 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
14358 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
14360 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
14361 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
14362 $as_echo_n "(cached) " >&6
14364 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
14365 ac_objcxx_werror_flag=yes
14366 ac_cv_prog_objcxx_g=no
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14379 if ac_fn_objcxx_try_compile "$LINENO"; then :
14380 ac_cv_prog_objcxx_g=yes
14383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14384 /* end confdefs.h. */
14394 if ac_fn_objcxx_try_compile "$LINENO"; then :
14397 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
14399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14410 if ac_fn_objcxx_try_compile "$LINENO"; then :
14411 ac_cv_prog_objcxx_g=yes
14413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14418 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
14421 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
14422 if test "$ac_test_OBJCXXFLAGS" = set; then
14423 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
14424 elif test $ac_cv_prog_objcxx_g = yes; then
14425 if test "$GOBJCXX" = yes; then
14426 OBJCXXFLAGS="-g -O2"
14431 if test "$GOBJCXX" = yes; then
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14444 # Check whether --enable-universal-binary was given.
14445 if test "${enable_universal_binary+set}" = set; then :
14446 enableval=$enable_universal_binary;
14447 case $enableval in #(
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14453 $as_echo_n "checking for universal binary support... " >&6; }
14454 case $host_vendor in #(
14457 case $host_cpu in #(
14460 for cy_arch in i386 x86_64; do
14461 cy_save_CXXFLAGS=$CXXFLAGS
14463 for element in "-arch $cy_arch"; do
14465 for x in $CXXFLAGS; do
14467 acl_save_prefix="$prefix"
14468 prefix="$acl_final_prefix"
14469 acl_save_exec_prefix="$exec_prefix"
14470 exec_prefix="$acl_final_exec_prefix"
14472 exec_prefix="$acl_save_exec_prefix"
14473 prefix="$acl_save_prefix"
14475 if test "X$x" = "X$element"; then
14480 if test -z "$haveit"; then
14481 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14496 if ac_fn_c_try_link "$LINENO"; then :
14499 for element in $cy_arch; do
14501 for x in $cy_arches; do
14503 acl_save_prefix="$prefix"
14504 prefix="$acl_final_prefix"
14505 acl_save_exec_prefix="$exec_prefix"
14506 exec_prefix="$acl_final_exec_prefix"
14508 exec_prefix="$acl_save_exec_prefix"
14509 prefix="$acl_save_prefix"
14511 if test "X$x" = "X$element"; then
14516 if test -z "$haveit"; then
14517 cy_arches="${cy_arches}${cy_arches:+ }$element"
14522 for element in "-arch $cy_arch"; do
14524 for x in $CFLAGS; do
14526 acl_save_prefix="$prefix"
14527 prefix="$acl_final_prefix"
14528 acl_save_exec_prefix="$exec_prefix"
14529 exec_prefix="$acl_final_exec_prefix"
14531 exec_prefix="$acl_save_exec_prefix"
14532 prefix="$acl_save_prefix"
14534 if test "X$x" = "X$element"; then
14539 if test -z "$haveit"; then
14540 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14545 for element in "-arch $cy_arch"; do
14547 for x in $LDFLAGS; do
14549 acl_save_prefix="$prefix"
14550 prefix="$acl_final_prefix"
14551 acl_save_exec_prefix="$exec_prefix"
14552 exec_prefix="$acl_final_exec_prefix"
14554 exec_prefix="$acl_save_exec_prefix"
14555 prefix="$acl_save_prefix"
14557 if test "X$x" = "X$element"; then
14562 if test -z "$haveit"; then
14563 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14568 for element in "-arch $cy_arch"; do
14570 for x in $OBJCXXFLAGS; do
14572 acl_save_prefix="$prefix"
14573 prefix="$acl_final_prefix"
14574 acl_save_exec_prefix="$exec_prefix"
14575 exec_prefix="$acl_final_exec_prefix"
14577 exec_prefix="$acl_save_exec_prefix"
14578 prefix="$acl_save_prefix"
14580 if test "X$x" = "X$element"; then
14585 if test -z "$haveit"; then
14586 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14593 CXXFLAGS=$cy_save_CXXFLAGS
14596 rm -f core conftest.err conftest.$ac_objext \
14597 conftest$ac_exeext conftest.$ac_ext
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14608 $as_echo "${cy_arches-no}" >&6; }
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14615 $as_echo_n "checking for universal binary support... " >&6; }
14616 case $host_vendor in #(
14619 case $host_cpu in #(
14622 for cy_arch in i386 x86_64; do
14623 cy_save_CXXFLAGS=$CXXFLAGS
14625 for element in "-arch $cy_arch"; do
14627 for x in $CXXFLAGS; do
14629 acl_save_prefix="$prefix"
14630 prefix="$acl_final_prefix"
14631 acl_save_exec_prefix="$exec_prefix"
14632 exec_prefix="$acl_final_exec_prefix"
14634 exec_prefix="$acl_save_exec_prefix"
14635 prefix="$acl_save_prefix"
14637 if test "X$x" = "X$element"; then
14642 if test -z "$haveit"; then
14643 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14658 if ac_fn_c_try_link "$LINENO"; then :
14661 for element in $cy_arch; do
14663 for x in $cy_arches; do
14665 acl_save_prefix="$prefix"
14666 prefix="$acl_final_prefix"
14667 acl_save_exec_prefix="$exec_prefix"
14668 exec_prefix="$acl_final_exec_prefix"
14670 exec_prefix="$acl_save_exec_prefix"
14671 prefix="$acl_save_prefix"
14673 if test "X$x" = "X$element"; then
14678 if test -z "$haveit"; then
14679 cy_arches="${cy_arches}${cy_arches:+ }$element"
14684 for element in "-arch $cy_arch"; do
14686 for x in $CFLAGS; do
14688 acl_save_prefix="$prefix"
14689 prefix="$acl_final_prefix"
14690 acl_save_exec_prefix="$exec_prefix"
14691 exec_prefix="$acl_final_exec_prefix"
14693 exec_prefix="$acl_save_exec_prefix"
14694 prefix="$acl_save_prefix"
14696 if test "X$x" = "X$element"; then
14701 if test -z "$haveit"; then
14702 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14707 for element in "-arch $cy_arch"; do
14709 for x in $LDFLAGS; do
14711 acl_save_prefix="$prefix"
14712 prefix="$acl_final_prefix"
14713 acl_save_exec_prefix="$exec_prefix"
14714 exec_prefix="$acl_final_exec_prefix"
14716 exec_prefix="$acl_save_exec_prefix"
14717 prefix="$acl_save_prefix"
14719 if test "X$x" = "X$element"; then
14724 if test -z "$haveit"; then
14725 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14730 for element in "-arch $cy_arch"; do
14732 for x in $OBJCXXFLAGS; do
14734 acl_save_prefix="$prefix"
14735 prefix="$acl_final_prefix"
14736 acl_save_exec_prefix="$exec_prefix"
14737 exec_prefix="$acl_final_exec_prefix"
14739 exec_prefix="$acl_save_exec_prefix"
14740 prefix="$acl_save_prefix"
14742 if test "X$x" = "X$element"; then
14747 if test -z "$haveit"; then
14748 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14755 CXXFLAGS=$cy_save_CXXFLAGS
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14770 $as_echo "${cy_arches-no}" >&6; }
14775 # Check whether --with-frameworks was given.
14776 if test "${with_frameworks+set}" = set; then :
14777 withval=$with_frameworks;
14778 for cy_framework in $withval; do
14780 for element in -F$cy_framework; do
14782 for x in $CFLAGS; do
14784 acl_save_prefix="$prefix"
14785 prefix="$acl_final_prefix"
14786 acl_save_exec_prefix="$exec_prefix"
14787 exec_prefix="$acl_final_exec_prefix"
14789 exec_prefix="$acl_save_exec_prefix"
14790 prefix="$acl_save_prefix"
14792 if test "X$x" = "X$element"; then
14797 if test -z "$haveit"; then
14798 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14803 for element in -F$cy_framework; do
14805 for x in $CXXFLAGS; do
14807 acl_save_prefix="$prefix"
14808 prefix="$acl_final_prefix"
14809 acl_save_exec_prefix="$exec_prefix"
14810 exec_prefix="$acl_final_exec_prefix"
14812 exec_prefix="$acl_save_exec_prefix"
14813 prefix="$acl_save_prefix"
14815 if test "X$x" = "X$element"; then
14820 if test -z "$haveit"; then
14821 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14826 for element in -F$cy_framework; do
14828 for x in $OBJCCXXFLAGS; do
14830 acl_save_prefix="$prefix"
14831 prefix="$acl_final_prefix"
14832 acl_save_exec_prefix="$exec_prefix"
14833 exec_prefix="$acl_final_exec_prefix"
14835 exec_prefix="$acl_save_exec_prefix"
14836 prefix="$acl_save_prefix"
14838 if test "X$x" = "X$element"; then
14843 if test -z "$haveit"; then
14844 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14853 ac_cpp='$CXXCPP $CPPFLAGS'
14854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14861 if test "$target_os" = "os2-emx"; then
14862 # Scripts don't pass test -x on OS/2
14868 acceptable_majors="1"
14870 apr_temp_acceptable_apr_config=""
14871 for apr_temp_major in $acceptable_majors
14873 case $apr_temp_major in
14875 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14878 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14884 $as_echo_n "checking for APR... " >&6; }
14886 # Check whether --with-apr was given.
14887 if test "${with_apr+set}" = set; then :
14889 if test "$withval" = "no" || test "$withval" = "yes"; then
14890 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14893 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14895 for lookdir in "$withval/bin" "$withval"
14897 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14898 apr_config="$lookdir/$apr_temp_apr_config_file"
14906 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14907 apr_config="$withval"
14911 if test "$apr_found" != "yes"; then
14912 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
14917 if test -n "1" && test "1" = "1"; then
14918 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14920 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14921 apr_config="$apr_temp_apr_config_file"
14926 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14927 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14928 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14937 if test "$apr_found" = "no" && test -d ""; then
14938 apr_temp_abs_srcdir="`cd && pwd`"
14939 apr_found="reconfig"
14940 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14941 case $apr_bundled_major in
14943 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14946 apr_temp_apr_config_file="apr-config"
14949 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14952 if test -n ""; then
14953 apr_config="/$apr_temp_apr_config_file"
14955 apr_config="/$apr_temp_apr_config_file"
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14963 $as_echo "$apr_found" >&6; }
14965 case $apr_found in #(
14969 for element in `$apr_config --includes`; do
14971 for x in $CPPFLAGS; do
14973 acl_save_prefix="$prefix"
14974 prefix="$acl_final_prefix"
14975 acl_save_exec_prefix="$exec_prefix"
14976 exec_prefix="$acl_final_exec_prefix"
14978 exec_prefix="$acl_save_exec_prefix"
14979 prefix="$acl_save_prefix"
14981 if test "X$x" = "X$element"; then
14986 if test -z "$haveit"; then
14987 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14991 LTLIBAPR=`$apr_config --link-libtool`
14995 as_fn_error "You need apr" "$LINENO" 5 ;;
14999 # Check whether --enable-javascript was given.
15000 if test "${enable_javascript+set}" = set; then :
15001 enableval=$enable_javascript;
15002 case $enableval in #(
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15009 $as_echo_n "checking for WEBKIT... " >&6; }
15011 if test -n "$PKG_CONFIG"; then
15012 if test -n "$WEBKIT_CFLAGS"; then
15013 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15015 if test -n "$PKG_CONFIG" && \
15016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15017 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15020 test $ac_status = 0; }; then
15021 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15029 if test -n "$PKG_CONFIG"; then
15030 if test -n "$WEBKIT_LIBS"; then
15031 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15033 if test -n "$PKG_CONFIG" && \
15034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15035 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15038 test $ac_status = 0; }; then
15039 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15050 if test $pkg_failed = yes; then
15052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15053 _pkg_short_errors_supported=yes
15055 _pkg_short_errors_supported=no
15057 if test $_pkg_short_errors_supported = yes; then
15058 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15060 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15062 # Put the nasty error message in config.log where it belongs
15063 echo "$WEBKIT_PKG_ERRORS" >&5
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15066 $as_echo "no" >&6; }
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15071 $as_echo_n "checking for WEBKIT... " >&6; }
15073 if test -n "$PKG_CONFIG"; then
15074 if test -n "$WEBKIT_CFLAGS"; then
15075 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15077 if test -n "$PKG_CONFIG" && \
15078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15079 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 test $ac_status = 0; }; then
15083 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15091 if test -n "$PKG_CONFIG"; then
15092 if test -n "$WEBKIT_LIBS"; then
15093 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15095 if test -n "$PKG_CONFIG" && \
15096 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15097 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15100 test $ac_status = 0; }; then
15101 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15112 if test $pkg_failed = yes; then
15114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15115 _pkg_short_errors_supported=yes
15117 _pkg_short_errors_supported=no
15119 if test $_pkg_short_errors_supported = yes; then
15120 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15122 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15124 # Put the nasty error message in config.log where it belongs
15125 echo "$WEBKIT_PKG_ERRORS" >&5
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15128 $as_echo "no" >&6; }
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15132 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15133 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15134 $as_echo_n "(cached) " >&6
15137 ac_check_framework_save_LIBS=$LIBS
15138 LIBS="-framework JavaScriptCore $LIBS"
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15142 #include <JavaScriptCore/JSBase.h>
15147 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15152 if ac_fn_cxx_try_link "$LINENO"; then :
15154 ac_cv_framework_JavaScriptCore=yes
15157 ac_cv_framework_JavaScriptCore=no
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161 LIBS=$ac_check_framework_save_LIBS
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15165 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15166 if test $ac_cv_framework_JavaScriptCore = yes; then :
15169 for element in "-framework JavaScriptCore $LIBS"; do
15173 acl_save_prefix="$prefix"
15174 prefix="$acl_final_prefix"
15175 acl_save_exec_prefix="$exec_prefix"
15176 exec_prefix="$acl_final_exec_prefix"
15178 exec_prefix="$acl_save_exec_prefix"
15179 prefix="$acl_save_prefix"
15181 if test "X$x" = "X$element"; then
15186 if test -z "$haveit"; then
15187 LIBS="${LIBS}${LIBS:+ }$element"
15195 elif test $pkg_failed = untried; then
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15199 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15200 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15201 $as_echo_n "(cached) " >&6
15204 ac_check_framework_save_LIBS=$LIBS
15205 LIBS="-framework JavaScriptCore $LIBS"
15206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 /* end confdefs.h. */
15209 #include <JavaScriptCore/JSBase.h>
15214 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15219 if ac_fn_cxx_try_link "$LINENO"; then :
15221 ac_cv_framework_JavaScriptCore=yes
15224 ac_cv_framework_JavaScriptCore=no
15226 rm -f core conftest.err conftest.$ac_objext \
15227 conftest$ac_exeext conftest.$ac_ext
15228 LIBS=$ac_check_framework_save_LIBS
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15232 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15233 if test $ac_cv_framework_JavaScriptCore = yes; then :
15236 for element in "-framework JavaScriptCore $LIBS"; do
15240 acl_save_prefix="$prefix"
15241 prefix="$acl_final_prefix"
15242 acl_save_exec_prefix="$exec_prefix"
15243 exec_prefix="$acl_final_exec_prefix"
15245 exec_prefix="$acl_save_exec_prefix"
15246 prefix="$acl_save_prefix"
15248 if test "X$x" = "X$element"; then
15253 if test -z "$haveit"; then
15254 LIBS="${LIBS}${LIBS:+ }$element"
15263 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15264 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15266 $as_echo "yes" >&6; }
15270 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15272 for x in $CXXFLAGS; do
15274 acl_save_prefix="$prefix"
15275 prefix="$acl_final_prefix"
15276 acl_save_exec_prefix="$exec_prefix"
15277 exec_prefix="$acl_final_exec_prefix"
15279 exec_prefix="$acl_save_exec_prefix"
15280 prefix="$acl_save_prefix"
15282 if test "X$x" = "X$element"; then
15287 if test -z "$haveit"; then
15288 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15293 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15297 acl_save_prefix="$prefix"
15298 prefix="$acl_final_prefix"
15299 acl_save_exec_prefix="$exec_prefix"
15300 exec_prefix="$acl_final_exec_prefix"
15302 exec_prefix="$acl_save_exec_prefix"
15303 prefix="$acl_save_prefix"
15305 if test "X$x" = "X$element"; then
15310 if test -z "$haveit"; then
15311 LIBS="${LIBS}${LIBS:+ }$element"
15318 elif test $pkg_failed = untried; then
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15323 $as_echo_n "checking for WEBKIT... " >&6; }
15325 if test -n "$PKG_CONFIG"; then
15326 if test -n "$WEBKIT_CFLAGS"; then
15327 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15329 if test -n "$PKG_CONFIG" && \
15330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15331 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15334 test $ac_status = 0; }; then
15335 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15343 if test -n "$PKG_CONFIG"; then
15344 if test -n "$WEBKIT_LIBS"; then
15345 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15347 if test -n "$PKG_CONFIG" && \
15348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15349 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15352 test $ac_status = 0; }; then
15353 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15364 if test $pkg_failed = yes; then
15366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15367 _pkg_short_errors_supported=yes
15369 _pkg_short_errors_supported=no
15371 if test $_pkg_short_errors_supported = yes; then
15372 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15374 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15376 # Put the nasty error message in config.log where it belongs
15377 echo "$WEBKIT_PKG_ERRORS" >&5
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15380 $as_echo "no" >&6; }
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15384 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15385 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15386 $as_echo_n "(cached) " >&6
15389 ac_check_framework_save_LIBS=$LIBS
15390 LIBS="-framework JavaScriptCore $LIBS"
15391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15392 /* end confdefs.h. */
15394 #include <JavaScriptCore/JSBase.h>
15399 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15404 if ac_fn_cxx_try_link "$LINENO"; then :
15406 ac_cv_framework_JavaScriptCore=yes
15409 ac_cv_framework_JavaScriptCore=no
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext conftest.$ac_ext
15413 LIBS=$ac_check_framework_save_LIBS
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15417 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15418 if test $ac_cv_framework_JavaScriptCore = yes; then :
15421 for element in "-framework JavaScriptCore $LIBS"; do
15425 acl_save_prefix="$prefix"
15426 prefix="$acl_final_prefix"
15427 acl_save_exec_prefix="$exec_prefix"
15428 exec_prefix="$acl_final_exec_prefix"
15430 exec_prefix="$acl_save_exec_prefix"
15431 prefix="$acl_save_prefix"
15433 if test "X$x" = "X$element"; then
15438 if test -z "$haveit"; then
15439 LIBS="${LIBS}${LIBS:+ }$element"
15447 elif test $pkg_failed = untried; then
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15451 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15452 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15453 $as_echo_n "(cached) " >&6
15456 ac_check_framework_save_LIBS=$LIBS
15457 LIBS="-framework JavaScriptCore $LIBS"
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 #include <JavaScriptCore/JSBase.h>
15466 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15471 if ac_fn_cxx_try_link "$LINENO"; then :
15473 ac_cv_framework_JavaScriptCore=yes
15476 ac_cv_framework_JavaScriptCore=no
15478 rm -f core conftest.err conftest.$ac_objext \
15479 conftest$ac_exeext conftest.$ac_ext
15480 LIBS=$ac_check_framework_save_LIBS
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15484 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15485 if test $ac_cv_framework_JavaScriptCore = yes; then :
15488 for element in "-framework JavaScriptCore $LIBS"; do
15492 acl_save_prefix="$prefix"
15493 prefix="$acl_final_prefix"
15494 acl_save_exec_prefix="$exec_prefix"
15495 exec_prefix="$acl_final_exec_prefix"
15497 exec_prefix="$acl_save_exec_prefix"
15498 prefix="$acl_save_prefix"
15500 if test "X$x" = "X$element"; then
15505 if test -z "$haveit"; then
15506 LIBS="${LIBS}${LIBS:+ }$element"
15515 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15516 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15518 $as_echo "yes" >&6; }
15522 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15524 for x in $CXXFLAGS; do
15526 acl_save_prefix="$prefix"
15527 prefix="$acl_final_prefix"
15528 acl_save_exec_prefix="$exec_prefix"
15529 exec_prefix="$acl_final_exec_prefix"
15531 exec_prefix="$acl_save_exec_prefix"
15532 prefix="$acl_save_prefix"
15534 if test "X$x" = "X$element"; then
15539 if test -z "$haveit"; then
15540 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15545 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15549 acl_save_prefix="$prefix"
15550 prefix="$acl_final_prefix"
15551 acl_save_exec_prefix="$exec_prefix"
15552 exec_prefix="$acl_final_exec_prefix"
15554 exec_prefix="$acl_save_exec_prefix"
15555 prefix="$acl_save_prefix"
15557 if test "X$x" = "X$element"; then
15562 if test -z "$haveit"; then
15563 LIBS="${LIBS}${LIBS:+ }$element"
15571 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15572 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15574 $as_echo "yes" >&6; }
15578 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15580 for x in $CXXFLAGS; do
15582 acl_save_prefix="$prefix"
15583 prefix="$acl_final_prefix"
15584 acl_save_exec_prefix="$exec_prefix"
15585 exec_prefix="$acl_final_exec_prefix"
15587 exec_prefix="$acl_save_exec_prefix"
15588 prefix="$acl_save_prefix"
15590 if test "X$x" = "X$element"; then
15595 if test -z "$haveit"; then
15596 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15601 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15605 acl_save_prefix="$prefix"
15606 prefix="$acl_final_prefix"
15607 acl_save_exec_prefix="$exec_prefix"
15608 exec_prefix="$acl_final_exec_prefix"
15610 exec_prefix="$acl_save_exec_prefix"
15611 prefix="$acl_save_prefix"
15613 if test "X$x" = "X$element"; then
15618 if test -z "$haveit"; then
15619 LIBS="${LIBS}${LIBS:+ }$element"
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15638 $as_echo_n "checking for WEBKIT... " >&6; }
15640 if test -n "$PKG_CONFIG"; then
15641 if test -n "$WEBKIT_CFLAGS"; then
15642 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15644 if test -n "$PKG_CONFIG" && \
15645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15646 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15649 test $ac_status = 0; }; then
15650 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15658 if test -n "$PKG_CONFIG"; then
15659 if test -n "$WEBKIT_LIBS"; then
15660 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15662 if test -n "$PKG_CONFIG" && \
15663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15664 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15667 test $ac_status = 0; }; then
15668 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15679 if test $pkg_failed = yes; then
15681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15682 _pkg_short_errors_supported=yes
15684 _pkg_short_errors_supported=no
15686 if test $_pkg_short_errors_supported = yes; then
15687 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15689 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15691 # Put the nasty error message in config.log where it belongs
15692 echo "$WEBKIT_PKG_ERRORS" >&5
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15695 $as_echo "no" >&6; }
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15700 $as_echo_n "checking for WEBKIT... " >&6; }
15702 if test -n "$PKG_CONFIG"; then
15703 if test -n "$WEBKIT_CFLAGS"; then
15704 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15706 if test -n "$PKG_CONFIG" && \
15707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15708 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15711 test $ac_status = 0; }; then
15712 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15720 if test -n "$PKG_CONFIG"; then
15721 if test -n "$WEBKIT_LIBS"; then
15722 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15724 if test -n "$PKG_CONFIG" && \
15725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15726 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15729 test $ac_status = 0; }; then
15730 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15741 if test $pkg_failed = yes; then
15743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15744 _pkg_short_errors_supported=yes
15746 _pkg_short_errors_supported=no
15748 if test $_pkg_short_errors_supported = yes; then
15749 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15751 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15753 # Put the nasty error message in config.log where it belongs
15754 echo "$WEBKIT_PKG_ERRORS" >&5
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15757 $as_echo "no" >&6; }
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15761 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15762 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15763 $as_echo_n "(cached) " >&6
15766 ac_check_framework_save_LIBS=$LIBS
15767 LIBS="-framework JavaScriptCore $LIBS"
15768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h. */
15771 #include <JavaScriptCore/JSBase.h>
15776 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15781 if ac_fn_cxx_try_link "$LINENO"; then :
15783 ac_cv_framework_JavaScriptCore=yes
15786 ac_cv_framework_JavaScriptCore=no
15788 rm -f core conftest.err conftest.$ac_objext \
15789 conftest$ac_exeext conftest.$ac_ext
15790 LIBS=$ac_check_framework_save_LIBS
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15794 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15795 if test $ac_cv_framework_JavaScriptCore = yes; then :
15798 for element in "-framework JavaScriptCore $LIBS"; do
15802 acl_save_prefix="$prefix"
15803 prefix="$acl_final_prefix"
15804 acl_save_exec_prefix="$exec_prefix"
15805 exec_prefix="$acl_final_exec_prefix"
15807 exec_prefix="$acl_save_exec_prefix"
15808 prefix="$acl_save_prefix"
15810 if test "X$x" = "X$element"; then
15815 if test -z "$haveit"; then
15816 LIBS="${LIBS}${LIBS:+ }$element"
15824 elif test $pkg_failed = untried; then
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15828 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15829 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15830 $as_echo_n "(cached) " >&6
15833 ac_check_framework_save_LIBS=$LIBS
15834 LIBS="-framework JavaScriptCore $LIBS"
15835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15836 /* end confdefs.h. */
15838 #include <JavaScriptCore/JSBase.h>
15843 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15848 if ac_fn_cxx_try_link "$LINENO"; then :
15850 ac_cv_framework_JavaScriptCore=yes
15853 ac_cv_framework_JavaScriptCore=no
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15857 LIBS=$ac_check_framework_save_LIBS
15860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15861 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15862 if test $ac_cv_framework_JavaScriptCore = yes; then :
15865 for element in "-framework JavaScriptCore $LIBS"; do
15869 acl_save_prefix="$prefix"
15870 prefix="$acl_final_prefix"
15871 acl_save_exec_prefix="$exec_prefix"
15872 exec_prefix="$acl_final_exec_prefix"
15874 exec_prefix="$acl_save_exec_prefix"
15875 prefix="$acl_save_prefix"
15877 if test "X$x" = "X$element"; then
15882 if test -z "$haveit"; then
15883 LIBS="${LIBS}${LIBS:+ }$element"
15892 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15893 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15895 $as_echo "yes" >&6; }
15899 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15901 for x in $CXXFLAGS; do
15903 acl_save_prefix="$prefix"
15904 prefix="$acl_final_prefix"
15905 acl_save_exec_prefix="$exec_prefix"
15906 exec_prefix="$acl_final_exec_prefix"
15908 exec_prefix="$acl_save_exec_prefix"
15909 prefix="$acl_save_prefix"
15911 if test "X$x" = "X$element"; then
15916 if test -z "$haveit"; then
15917 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15922 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15926 acl_save_prefix="$prefix"
15927 prefix="$acl_final_prefix"
15928 acl_save_exec_prefix="$exec_prefix"
15929 exec_prefix="$acl_final_exec_prefix"
15931 exec_prefix="$acl_save_exec_prefix"
15932 prefix="$acl_save_prefix"
15934 if test "X$x" = "X$element"; then
15939 if test -z "$haveit"; then
15940 LIBS="${LIBS}${LIBS:+ }$element"
15947 elif test $pkg_failed = untried; then
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15952 $as_echo_n "checking for WEBKIT... " >&6; }
15954 if test -n "$PKG_CONFIG"; then
15955 if test -n "$WEBKIT_CFLAGS"; then
15956 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15958 if test -n "$PKG_CONFIG" && \
15959 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15960 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15963 test $ac_status = 0; }; then
15964 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15972 if test -n "$PKG_CONFIG"; then
15973 if test -n "$WEBKIT_LIBS"; then
15974 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15976 if test -n "$PKG_CONFIG" && \
15977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15978 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15981 test $ac_status = 0; }; then
15982 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15993 if test $pkg_failed = yes; then
15995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15996 _pkg_short_errors_supported=yes
15998 _pkg_short_errors_supported=no
16000 if test $_pkg_short_errors_supported = yes; then
16001 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16003 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16005 # Put the nasty error message in config.log where it belongs
16006 echo "$WEBKIT_PKG_ERRORS" >&5
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009 $as_echo "no" >&6; }
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16013 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16014 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16015 $as_echo_n "(cached) " >&6
16018 ac_check_framework_save_LIBS=$LIBS
16019 LIBS="-framework JavaScriptCore $LIBS"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 #include <JavaScriptCore/JSBase.h>
16028 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16033 if ac_fn_cxx_try_link "$LINENO"; then :
16035 ac_cv_framework_JavaScriptCore=yes
16038 ac_cv_framework_JavaScriptCore=no
16040 rm -f core conftest.err conftest.$ac_objext \
16041 conftest$ac_exeext conftest.$ac_ext
16042 LIBS=$ac_check_framework_save_LIBS
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16046 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16047 if test $ac_cv_framework_JavaScriptCore = yes; then :
16050 for element in "-framework JavaScriptCore $LIBS"; do
16054 acl_save_prefix="$prefix"
16055 prefix="$acl_final_prefix"
16056 acl_save_exec_prefix="$exec_prefix"
16057 exec_prefix="$acl_final_exec_prefix"
16059 exec_prefix="$acl_save_exec_prefix"
16060 prefix="$acl_save_prefix"
16062 if test "X$x" = "X$element"; then
16067 if test -z "$haveit"; then
16068 LIBS="${LIBS}${LIBS:+ }$element"
16076 elif test $pkg_failed = untried; then
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16080 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16081 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16082 $as_echo_n "(cached) " >&6
16085 ac_check_framework_save_LIBS=$LIBS
16086 LIBS="-framework JavaScriptCore $LIBS"
16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16090 #include <JavaScriptCore/JSBase.h>
16095 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16100 if ac_fn_cxx_try_link "$LINENO"; then :
16102 ac_cv_framework_JavaScriptCore=yes
16105 ac_cv_framework_JavaScriptCore=no
16107 rm -f core conftest.err conftest.$ac_objext \
16108 conftest$ac_exeext conftest.$ac_ext
16109 LIBS=$ac_check_framework_save_LIBS
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16113 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16114 if test $ac_cv_framework_JavaScriptCore = yes; then :
16117 for element in "-framework JavaScriptCore $LIBS"; do
16121 acl_save_prefix="$prefix"
16122 prefix="$acl_final_prefix"
16123 acl_save_exec_prefix="$exec_prefix"
16124 exec_prefix="$acl_final_exec_prefix"
16126 exec_prefix="$acl_save_exec_prefix"
16127 prefix="$acl_save_prefix"
16129 if test "X$x" = "X$element"; then
16134 if test -z "$haveit"; then
16135 LIBS="${LIBS}${LIBS:+ }$element"
16144 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16145 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16147 $as_echo "yes" >&6; }
16151 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16153 for x in $CXXFLAGS; do
16155 acl_save_prefix="$prefix"
16156 prefix="$acl_final_prefix"
16157 acl_save_exec_prefix="$exec_prefix"
16158 exec_prefix="$acl_final_exec_prefix"
16160 exec_prefix="$acl_save_exec_prefix"
16161 prefix="$acl_save_prefix"
16163 if test "X$x" = "X$element"; then
16168 if test -z "$haveit"; then
16169 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16174 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16178 acl_save_prefix="$prefix"
16179 prefix="$acl_final_prefix"
16180 acl_save_exec_prefix="$exec_prefix"
16181 exec_prefix="$acl_final_exec_prefix"
16183 exec_prefix="$acl_save_exec_prefix"
16184 prefix="$acl_save_prefix"
16186 if test "X$x" = "X$element"; then
16191 if test -z "$haveit"; then
16192 LIBS="${LIBS}${LIBS:+ }$element"
16200 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16201 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16203 $as_echo "yes" >&6; }
16207 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16209 for x in $CXXFLAGS; do
16211 acl_save_prefix="$prefix"
16212 prefix="$acl_final_prefix"
16213 acl_save_exec_prefix="$exec_prefix"
16214 exec_prefix="$acl_final_exec_prefix"
16216 exec_prefix="$acl_save_exec_prefix"
16217 prefix="$acl_save_prefix"
16219 if test "X$x" = "X$element"; then
16224 if test -z "$haveit"; then
16225 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16230 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16234 acl_save_prefix="$prefix"
16235 prefix="$acl_final_prefix"
16236 acl_save_exec_prefix="$exec_prefix"
16237 exec_prefix="$acl_final_exec_prefix"
16239 exec_prefix="$acl_save_exec_prefix"
16240 prefix="$acl_save_prefix"
16242 if test "X$x" = "X$element"; then
16247 if test -z "$haveit"; then
16248 LIBS="${LIBS}${LIBS:+ }$element"
16257 as_fn_error "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16266 $as_echo_n "checking for WEBKIT... " >&6; }
16268 if test -n "$PKG_CONFIG"; then
16269 if test -n "$WEBKIT_CFLAGS"; then
16270 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16272 if test -n "$PKG_CONFIG" && \
16273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16274 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16277 test $ac_status = 0; }; then
16278 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16286 if test -n "$PKG_CONFIG"; then
16287 if test -n "$WEBKIT_LIBS"; then
16288 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16290 if test -n "$PKG_CONFIG" && \
16291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16292 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16295 test $ac_status = 0; }; then
16296 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16307 if test $pkg_failed = yes; then
16309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16310 _pkg_short_errors_supported=yes
16312 _pkg_short_errors_supported=no
16314 if test $_pkg_short_errors_supported = yes; then
16315 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16317 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16319 # Put the nasty error message in config.log where it belongs
16320 echo "$WEBKIT_PKG_ERRORS" >&5
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16323 $as_echo "no" >&6; }
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16328 $as_echo_n "checking for WEBKIT... " >&6; }
16330 if test -n "$PKG_CONFIG"; then
16331 if test -n "$WEBKIT_CFLAGS"; then
16332 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16334 if test -n "$PKG_CONFIG" && \
16335 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16336 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16339 test $ac_status = 0; }; then
16340 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16348 if test -n "$PKG_CONFIG"; then
16349 if test -n "$WEBKIT_LIBS"; then
16350 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16352 if test -n "$PKG_CONFIG" && \
16353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16354 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16357 test $ac_status = 0; }; then
16358 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16369 if test $pkg_failed = yes; then
16371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16372 _pkg_short_errors_supported=yes
16374 _pkg_short_errors_supported=no
16376 if test $_pkg_short_errors_supported = yes; then
16377 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16379 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16381 # Put the nasty error message in config.log where it belongs
16382 echo "$WEBKIT_PKG_ERRORS" >&5
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16385 $as_echo "no" >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16389 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16390 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16391 $as_echo_n "(cached) " >&6
16394 ac_check_framework_save_LIBS=$LIBS
16395 LIBS="-framework JavaScriptCore $LIBS"
16396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 /* end confdefs.h. */
16399 #include <JavaScriptCore/JSBase.h>
16404 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16409 if ac_fn_cxx_try_link "$LINENO"; then :
16411 ac_cv_framework_JavaScriptCore=yes
16414 ac_cv_framework_JavaScriptCore=no
16416 rm -f core conftest.err conftest.$ac_objext \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_framework_save_LIBS
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16422 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16423 if test $ac_cv_framework_JavaScriptCore = yes; then :
16426 for element in "-framework JavaScriptCore $LIBS"; do
16430 acl_save_prefix="$prefix"
16431 prefix="$acl_final_prefix"
16432 acl_save_exec_prefix="$exec_prefix"
16433 exec_prefix="$acl_final_exec_prefix"
16435 exec_prefix="$acl_save_exec_prefix"
16436 prefix="$acl_save_prefix"
16438 if test "X$x" = "X$element"; then
16443 if test -z "$haveit"; then
16444 LIBS="${LIBS}${LIBS:+ }$element"
16452 elif test $pkg_failed = untried; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16456 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16457 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16458 $as_echo_n "(cached) " >&6
16461 ac_check_framework_save_LIBS=$LIBS
16462 LIBS="-framework JavaScriptCore $LIBS"
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h. */
16466 #include <JavaScriptCore/JSBase.h>
16471 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16476 if ac_fn_cxx_try_link "$LINENO"; then :
16478 ac_cv_framework_JavaScriptCore=yes
16481 ac_cv_framework_JavaScriptCore=no
16483 rm -f core conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_framework_save_LIBS
16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16489 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16490 if test $ac_cv_framework_JavaScriptCore = yes; then :
16493 for element in "-framework JavaScriptCore $LIBS"; do
16497 acl_save_prefix="$prefix"
16498 prefix="$acl_final_prefix"
16499 acl_save_exec_prefix="$exec_prefix"
16500 exec_prefix="$acl_final_exec_prefix"
16502 exec_prefix="$acl_save_exec_prefix"
16503 prefix="$acl_save_prefix"
16505 if test "X$x" = "X$element"; then
16510 if test -z "$haveit"; then
16511 LIBS="${LIBS}${LIBS:+ }$element"
16520 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16521 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16523 $as_echo "yes" >&6; }
16527 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16529 for x in $CXXFLAGS; do
16531 acl_save_prefix="$prefix"
16532 prefix="$acl_final_prefix"
16533 acl_save_exec_prefix="$exec_prefix"
16534 exec_prefix="$acl_final_exec_prefix"
16536 exec_prefix="$acl_save_exec_prefix"
16537 prefix="$acl_save_prefix"
16539 if test "X$x" = "X$element"; then
16544 if test -z "$haveit"; then
16545 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16550 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16554 acl_save_prefix="$prefix"
16555 prefix="$acl_final_prefix"
16556 acl_save_exec_prefix="$exec_prefix"
16557 exec_prefix="$acl_final_exec_prefix"
16559 exec_prefix="$acl_save_exec_prefix"
16560 prefix="$acl_save_prefix"
16562 if test "X$x" = "X$element"; then
16567 if test -z "$haveit"; then
16568 LIBS="${LIBS}${LIBS:+ }$element"
16575 elif test $pkg_failed = untried; then
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16580 $as_echo_n "checking for WEBKIT... " >&6; }
16582 if test -n "$PKG_CONFIG"; then
16583 if test -n "$WEBKIT_CFLAGS"; then
16584 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16586 if test -n "$PKG_CONFIG" && \
16587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16588 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16591 test $ac_status = 0; }; then
16592 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16600 if test -n "$PKG_CONFIG"; then
16601 if test -n "$WEBKIT_LIBS"; then
16602 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16604 if test -n "$PKG_CONFIG" && \
16605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16606 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16609 test $ac_status = 0; }; then
16610 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16621 if test $pkg_failed = yes; then
16623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16624 _pkg_short_errors_supported=yes
16626 _pkg_short_errors_supported=no
16628 if test $_pkg_short_errors_supported = yes; then
16629 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16631 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16633 # Put the nasty error message in config.log where it belongs
16634 echo "$WEBKIT_PKG_ERRORS" >&5
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16637 $as_echo "no" >&6; }
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16641 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16642 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16643 $as_echo_n "(cached) " >&6
16646 ac_check_framework_save_LIBS=$LIBS
16647 LIBS="-framework JavaScriptCore $LIBS"
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16651 #include <JavaScriptCore/JSBase.h>
16656 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16661 if ac_fn_cxx_try_link "$LINENO"; then :
16663 ac_cv_framework_JavaScriptCore=yes
16666 ac_cv_framework_JavaScriptCore=no
16668 rm -f core conftest.err conftest.$ac_objext \
16669 conftest$ac_exeext conftest.$ac_ext
16670 LIBS=$ac_check_framework_save_LIBS
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16674 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16675 if test $ac_cv_framework_JavaScriptCore = yes; then :
16678 for element in "-framework JavaScriptCore $LIBS"; do
16682 acl_save_prefix="$prefix"
16683 prefix="$acl_final_prefix"
16684 acl_save_exec_prefix="$exec_prefix"
16685 exec_prefix="$acl_final_exec_prefix"
16687 exec_prefix="$acl_save_exec_prefix"
16688 prefix="$acl_save_prefix"
16690 if test "X$x" = "X$element"; then
16695 if test -z "$haveit"; then
16696 LIBS="${LIBS}${LIBS:+ }$element"
16704 elif test $pkg_failed = untried; then
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16708 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16709 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16710 $as_echo_n "(cached) " >&6
16713 ac_check_framework_save_LIBS=$LIBS
16714 LIBS="-framework JavaScriptCore $LIBS"
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16718 #include <JavaScriptCore/JSBase.h>
16723 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16728 if ac_fn_cxx_try_link "$LINENO"; then :
16730 ac_cv_framework_JavaScriptCore=yes
16733 ac_cv_framework_JavaScriptCore=no
16735 rm -f core conftest.err conftest.$ac_objext \
16736 conftest$ac_exeext conftest.$ac_ext
16737 LIBS=$ac_check_framework_save_LIBS
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16741 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16742 if test $ac_cv_framework_JavaScriptCore = yes; then :
16745 for element in "-framework JavaScriptCore $LIBS"; do
16749 acl_save_prefix="$prefix"
16750 prefix="$acl_final_prefix"
16751 acl_save_exec_prefix="$exec_prefix"
16752 exec_prefix="$acl_final_exec_prefix"
16754 exec_prefix="$acl_save_exec_prefix"
16755 prefix="$acl_save_prefix"
16757 if test "X$x" = "X$element"; then
16762 if test -z "$haveit"; then
16763 LIBS="${LIBS}${LIBS:+ }$element"
16772 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16773 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16775 $as_echo "yes" >&6; }
16779 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16781 for x in $CXXFLAGS; do
16783 acl_save_prefix="$prefix"
16784 prefix="$acl_final_prefix"
16785 acl_save_exec_prefix="$exec_prefix"
16786 exec_prefix="$acl_final_exec_prefix"
16788 exec_prefix="$acl_save_exec_prefix"
16789 prefix="$acl_save_prefix"
16791 if test "X$x" = "X$element"; then
16796 if test -z "$haveit"; then
16797 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16802 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16806 acl_save_prefix="$prefix"
16807 prefix="$acl_final_prefix"
16808 acl_save_exec_prefix="$exec_prefix"
16809 exec_prefix="$acl_final_exec_prefix"
16811 exec_prefix="$acl_save_exec_prefix"
16812 prefix="$acl_save_prefix"
16814 if test "X$x" = "X$element"; then
16819 if test -z "$haveit"; then
16820 LIBS="${LIBS}${LIBS:+ }$element"
16828 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16829 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16831 $as_echo "yes" >&6; }
16835 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16837 for x in $CXXFLAGS; do
16839 acl_save_prefix="$prefix"
16840 prefix="$acl_final_prefix"
16841 acl_save_exec_prefix="$exec_prefix"
16842 exec_prefix="$acl_final_exec_prefix"
16844 exec_prefix="$acl_save_exec_prefix"
16845 prefix="$acl_save_prefix"
16847 if test "X$x" = "X$element"; then
16852 if test -z "$haveit"; then
16853 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16858 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16862 acl_save_prefix="$prefix"
16863 prefix="$acl_final_prefix"
16864 acl_save_exec_prefix="$exec_prefix"
16865 exec_prefix="$acl_final_exec_prefix"
16867 exec_prefix="$acl_save_exec_prefix"
16868 prefix="$acl_save_prefix"
16870 if test "X$x" = "X$element"; then
16875 if test -z "$haveit"; then
16876 LIBS="${LIBS}${LIBS:+ }$element"
16889 case $CY_EXECUTE in #(
16893 for ac_header in ffi.h ffi/ffi.h
16895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16896 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16897 eval as_val=\$$as_ac_Header
16898 if test "x$as_val" = x""yes; then :
16899 cat >>confdefs.h <<_ACEOF
16900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16907 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16913 $as_echo_n "checking for LIBFFI... " >&6; }
16915 if test -n "$PKG_CONFIG"; then
16916 if test -n "$LIBFFI_CFLAGS"; then
16917 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
16919 if test -n "$PKG_CONFIG" && \
16920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16921 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16924 test $ac_status = 0; }; then
16925 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
16933 if test -n "$PKG_CONFIG"; then
16934 if test -n "$LIBFFI_LIBS"; then
16935 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
16937 if test -n "$PKG_CONFIG" && \
16938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16939 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16942 test $ac_status = 0; }; then
16943 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
16954 if test $pkg_failed = yes; then
16956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16957 _pkg_short_errors_supported=yes
16959 _pkg_short_errors_supported=no
16961 if test $_pkg_short_errors_supported = yes; then
16962 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16964 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16966 # Put the nasty error message in config.log where it belongs
16967 echo "$LIBFFI_PKG_ERRORS" >&5
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16970 $as_echo "no" >&6; }
16972 as_fn_error "You need libffi" "$LINENO" 5
16974 elif test $pkg_failed = untried; then
16976 as_fn_error "You need libffi" "$LINENO" 5
16979 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16980 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16982 $as_echo "yes" >&6; }
16985 for element in `$PKG_CONFIG --cflags libffi
`; do
16987 for x in $CXXFLAGS; do
16989 acl_save_prefix="$prefix"
16990 prefix="$acl_final_prefix"
16991 acl_save_exec_prefix="$exec_prefix"
16992 exec_prefix="$acl_final_exec_prefix"
16994 exec_prefix="$acl_save_exec_prefix"
16995 prefix="$acl_save_prefix"
16997 if test "X$x" = "X$element"; then
17002 if test -z "$haveit"; then
17003 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17008 for element in `$PKG_CONFIG --libs libffi
`; do
17012 acl_save_prefix="$prefix"
17013 prefix="$acl_final_prefix"
17014 acl_save_exec_prefix="$exec_prefix"
17015 exec_prefix="$acl_final_exec_prefix"
17017 exec_prefix="$acl_save_exec_prefix"
17018 prefix="$acl_save_prefix"
17020 if test "X$x" = "X$element"; then
17025 if test -z "$haveit"; then
17026 LIBS="${LIBS}${LIBS:+ }$element"
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17037 $as_echo_n "checking for library containing ffi_call... " >&6; }
17038 if test "${ac_cv_search_ffi_call+set}" = set; then :
17039 $as_echo_n "(cached) " >&6
17041 ac_func_search_save_LIBS=$LIBS
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17045 /* Override any GCC internal prototype to avoid an error.
17046 Use char because int might match the return type of a GCC
17047 builtin and then its argument prototype would still apply. */
17055 return ffi_call ();
17060 for ac_lib in '' ffi; do
17061 if test -z "$ac_lib"; then
17062 ac_res="none required"
17065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17067 if ac_fn_cxx_try_link "$LINENO"; then :
17068 ac_cv_search_ffi_call=$ac_res
17070 rm -f core conftest.err conftest.$ac_objext \
17072 if test "${ac_cv_search_ffi_call+set}" = set; then :
17076 if test "${ac_cv_search_ffi_call+set}" = set; then :
17079 ac_cv_search_ffi_call=no
17081 rm conftest.$ac_ext
17082 LIBS=$ac_func_search_save_LIBS
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17085 $as_echo "$ac_cv_search_ffi_call" >&6; }
17086 ac_res=$ac_cv_search_ffi_call
17087 if test "$ac_res" != no; then :
17088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17092 case $ac_cv_search_ffi_call in #(
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17098 $as_echo_n "checking for LIBFFI... " >&6; }
17100 if test -n "$PKG_CONFIG"; then
17101 if test -n "$LIBFFI_CFLAGS"; then
17102 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17104 if test -n "$PKG_CONFIG" && \
17105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17106 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17109 test $ac_status = 0; }; then
17110 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17118 if test -n "$PKG_CONFIG"; then
17119 if test -n "$LIBFFI_LIBS"; then
17120 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17122 if test -n "$PKG_CONFIG" && \
17123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17124 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17127 test $ac_status = 0; }; then
17128 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17139 if test $pkg_failed = yes; then
17141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17142 _pkg_short_errors_supported=yes
17144 _pkg_short_errors_supported=no
17146 if test $_pkg_short_errors_supported = yes; then
17147 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17149 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17151 # Put the nasty error message in config.log where it belongs
17152 echo "$LIBFFI_PKG_ERRORS" >&5
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17155 $as_echo "no" >&6; }
17157 as_fn_error "You need libffi" "$LINENO" 5
17159 elif test $pkg_failed = untried; then
17161 as_fn_error "You need libffi" "$LINENO" 5
17164 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17165 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17167 $as_echo "yes" >&6; }
17170 for element in `$PKG_CONFIG --cflags libffi
`; do
17172 for x in $CXXFLAGS; do
17174 acl_save_prefix="$prefix"
17175 prefix="$acl_final_prefix"
17176 acl_save_exec_prefix="$exec_prefix"
17177 exec_prefix="$acl_final_exec_prefix"
17179 exec_prefix="$acl_save_exec_prefix"
17180 prefix="$acl_save_prefix"
17182 if test "X$x" = "X$element"; then
17187 if test -z "$haveit"; then
17188 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17193 for element in `$PKG_CONFIG --libs libffi
`; do
17197 acl_save_prefix="$prefix"
17198 prefix="$acl_final_prefix"
17199 acl_save_exec_prefix="$exec_prefix"
17200 exec_prefix="$acl_final_exec_prefix"
17202 exec_prefix="$acl_save_exec_prefix"
17203 prefix="$acl_save_prefix"
17205 if test "X$x" = "X$element"; then
17210 if test -z "$haveit"; then
17211 LIBS="${LIBS}${LIBS:+ }$element"
17224 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17225 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17226 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17227 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17230 $as_echo_n "checking if we really have Objective C++... " >&6; }
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 // This space intentionally left blank
17237 if ac_fn_objcxx_try_compile "$LINENO"; then :
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17241 $as_echo "yes" >&6; }
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17245 $as_echo "no" >&6; }
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248 if test "x$CY_OBJECTIVEC" = x1; then :
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17252 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17253 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17257 ac_check_framework_save_LIBS=$LIBS
17258 LIBS="-framework CoreFoundation $LIBS"
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17262 #include <CoreFoundation/CFBase.h>
17267 CFAllocatorGetDefault();
17272 if ac_fn_objcxx_try_link "$LINENO"; then :
17274 ac_cv_framework_CoreFoundation=yes
17277 ac_cv_framework_CoreFoundation=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17281 LIBS=$ac_check_framework_save_LIBS
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
17285 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
17286 if test $ac_cv_framework_CoreFoundation = yes; then :
17289 for element in "-framework CoreFoundation $LIBS"; do
17293 acl_save_prefix="$prefix"
17294 prefix="$acl_final_prefix"
17295 acl_save_exec_prefix="$exec_prefix"
17296 exec_prefix="$acl_final_exec_prefix"
17298 exec_prefix="$acl_save_exec_prefix"
17299 prefix="$acl_save_prefix"
17301 if test "X$x" = "X$element"; then
17306 if test -z "$haveit"; then
17307 LIBS="${LIBS}${LIBS:+ }$element"
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
17316 $as_echo_n "checking for framework Foundation... " >&6; }
17317 if test "${ac_cv_framework_Foundation+set}" = set; then :
17318 $as_echo_n "(cached) " >&6
17321 ac_check_framework_save_LIBS=$LIBS
17322 LIBS="-framework Foundation $LIBS"
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17326 #include <Foundation/NSObject.h>
17331 [[NSObject alloc] init];
17336 if ac_fn_objcxx_try_link "$LINENO"; then :
17338 ac_cv_framework_Foundation=yes
17341 ac_cv_framework_Foundation=no
17343 rm -f core conftest.err conftest.$ac_objext \
17344 conftest$ac_exeext conftest.$ac_ext
17345 LIBS=$ac_check_framework_save_LIBS
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
17349 $as_echo "$ac_cv_framework_Foundation" >&6; }
17350 if test $ac_cv_framework_Foundation = yes; then :
17353 for element in "-framework Foundation $LIBS"; do
17357 acl_save_prefix="$prefix"
17358 prefix="$acl_final_prefix"
17359 acl_save_exec_prefix="$exec_prefix"
17360 exec_prefix="$acl_final_exec_prefix"
17362 exec_prefix="$acl_save_exec_prefix"
17363 prefix="$acl_save_prefix"
17365 if test "X$x" = "X$element"; then
17370 if test -z "$haveit"; then
17371 LIBS="${LIBS}${LIBS:+ }$element"
17375 cat >>confdefs.h <<_ACEOF
17376 #define HAVE_FRAMEWORK_FOUNDATION 1
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
17384 $as_echo_n "checking for framework WebKit... " >&6; }
17385 if test "${ac_cv_framework_WebKit+set}" = set; then :
17386 $as_echo_n "(cached) " >&6
17389 ac_check_framework_save_LIBS=$LIBS
17390 LIBS="-framework WebKit $LIBS"
17391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17392 /* end confdefs.h. */
17394 #include <WebKit/WebScriptObject.h>
17399 [[WebScriptObject alloc] init];
17404 if ac_fn_objcxx_try_link "$LINENO"; then :
17406 ac_cv_framework_WebKit=yes
17409 ac_cv_framework_WebKit=no
17411 rm -f core conftest.err conftest.$ac_objext \
17412 conftest$ac_exeext conftest.$ac_ext
17413 LIBS=$ac_check_framework_save_LIBS
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
17417 $as_echo "$ac_cv_framework_WebKit" >&6; }
17418 if test $ac_cv_framework_WebKit = yes; then :
17421 for element in "-framework WebKit $LIBS"; do
17425 acl_save_prefix="$prefix"
17426 prefix="$acl_final_prefix"
17427 acl_save_exec_prefix="$exec_prefix"
17428 exec_prefix="$acl_final_exec_prefix"
17430 exec_prefix="$acl_save_exec_prefix"
17431 prefix="$acl_save_prefix"
17433 if test "X$x" = "X$element"; then
17438 if test -z "$haveit"; then
17439 LIBS="${LIBS}${LIBS:+ }$element"
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_FRAMEWORK_WEBKIT 1
17454 for ac_prog in gnustep-config
17456 # Extract the first word of "$ac_prog", so it can be a program name with args.
17457 set dummy $ac_prog; ac_word=$2
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17459 $as_echo_n "checking for $ac_word... " >&6; }
17460 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
17461 $as_echo_n "(cached) " >&6
17463 if test -n "$GNUSTEP_CONFIG"; then
17464 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
17466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17467 for as_dir in $PATH
17470 test -z "$as_dir" && as_dir=.
17471 for ac_exec_ext in '' $ac_executable_extensions; do
17472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17473 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
17474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17483 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
17484 if test -n "$GNUSTEP_CONFIG"; then
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
17486 $as_echo "$GNUSTEP_CONFIG" >&6; }
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17489 $as_echo "no" >&6; }
17493 test -n "$GNUSTEP_CONFIG" && break
17496 if test "x$GNUSTEP_CONFIG" != x; then :
17500 for element in `$GNUSTEP_CONFIG --objc-flags`; do
17502 for x in $OBJCXXFLAGS; do
17504 acl_save_prefix="$prefix"
17505 prefix="$acl_final_prefix"
17506 acl_save_exec_prefix="$exec_prefix"
17507 exec_prefix="$acl_final_exec_prefix"
17509 exec_prefix="$acl_save_exec_prefix"
17510 prefix="$acl_save_prefix"
17512 if test "X$x" = "X$element"; then
17517 if test -z "$haveit"; then
17518 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17523 for element in `$GNUSTEP_CONFIG --base-libs`; do
17527 acl_save_prefix="$prefix"
17528 prefix="$acl_final_prefix"
17529 acl_save_exec_prefix="$exec_prefix"
17530 exec_prefix="$acl_final_exec_prefix"
17532 exec_prefix="$acl_save_exec_prefix"
17533 prefix="$acl_save_prefix"
17535 if test "X$x" = "X$element"; then
17540 if test -z "$haveit"; then
17541 LIBS="${LIBS}${LIBS:+ }$element"
17555 ac_cpp='$CXXCPP $CPPFLAGS'
17556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
17566 $as_echo_n "checking for a readline compatible library... " >&6; }
17567 if test "${vl_cv_lib_readline+set}" = set; then :
17568 $as_echo_n "(cached) " >&6
17572 for readline_lib in readline edit editline; do
17573 for termcap_lib in "" termcap curses ncurses; do
17574 if test -z "$termcap_lib"; then
17575 TRY_LIB="-l$readline_lib"
17577 TRY_LIB="-l$readline_lib -l$termcap_lib"
17579 LIBS="$ORIG_LIBS $TRY_LIB"
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17583 /* Override any GCC internal prototype to avoid an error.
17584 Use char because int might match the return type of a GCC
17585 builtin and then its argument prototype would still apply. */
17593 return readline ();
17598 if ac_fn_cxx_try_link "$LINENO"; then :
17599 vl_cv_lib_readline="$TRY_LIB"
17601 rm -f core conftest.err conftest.$ac_objext \
17602 conftest$ac_exeext conftest.$ac_ext
17603 if test -n "$vl_cv_lib_readline"; then
17607 if test -n "$vl_cv_lib_readline"; then
17611 if test -z "$vl_cv_lib_readline"; then
17612 vl_cv_lib_readline="no"
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
17618 $as_echo "$vl_cv_lib_readline" >&6; }
17620 if test "$vl_cv_lib_readline" != "no"; then
17622 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
17624 for ac_header in readline.h readline/readline.h
17626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17627 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17628 eval as_val=\$$as_ac_Header
17629 if test "x$as_val" = x""yes; then :
17630 cat >>confdefs.h <<_ACEOF
17631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
17639 $as_echo_n "checking whether readline supports history... " >&6; }
17640 if test "${vl_cv_lib_readline_history+set}" = set; then :
17641 $as_echo_n "(cached) " >&6
17644 vl_cv_lib_readline_history="no"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 /* Override any GCC internal prototype to avoid an error.
17649 Use char because int might match the return type of a GCC
17650 builtin and then its argument prototype would still apply. */
17654 char add_history ();
17658 return add_history ();
17663 if ac_fn_cxx_try_link "$LINENO"; then :
17664 vl_cv_lib_readline_history="yes"
17666 rm -f core conftest.err conftest.$ac_objext \
17667 conftest$ac_exeext conftest.$ac_ext
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
17671 $as_echo "$vl_cv_lib_readline_history" >&6; }
17672 if test "$vl_cv_lib_readline_history" = "yes"; then
17674 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
17676 for ac_header in history.h readline/history.h
17678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17679 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17680 eval as_val=\$$as_ac_Header
17681 if test "x$as_val" = x""yes; then :
17682 cat >>confdefs.h <<_ACEOF
17683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17693 case $vl_cv_lib_readline in #(
17695 as_fn_error "You need readline" "$LINENO" 5 ;; #(
17700 ac_cpp='$CPP $CPPFLAGS'
17701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17706 if test "X$prefix" = "XNONE"; then
17707 acl_final_prefix="$ac_default_prefix"
17709 acl_final_prefix="$prefix"
17711 if test "X$exec_prefix" = "XNONE"; then
17712 acl_final_exec_prefix='${prefix}'
17714 acl_final_exec_prefix="$exec_prefix"
17716 acl_save_prefix="$prefix"
17717 prefix="$acl_final_prefix"
17718 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17719 prefix="$acl_save_prefix"
17722 # Check whether --with-gnu-ld was given.
17723 if test "${with_gnu_ld+set}" = set; then :
17724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17729 # Prepare PATH_SEPARATOR.
17730 # The user is always right.
17731 if test "${PATH_SEPARATOR+set}" != set; then
17732 echo "#! /bin/sh" >conf$$.sh
17733 echo "exit 0" >>conf$$.sh
17735 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17743 if test "$GCC" = yes; then
17744 # Check if gcc -print-prog-name=ld gives a path.
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17746 $as_echo_n "checking for ld used by GCC... " >&6; }
17749 # gcc leaves a trailing carriage return which upsets mingw
17750 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
17752 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17755 # Accept absolute paths.
17756 [\\/]* | [A-Za-z]:[\\/]*)
17757 re_direlt='/[^/][^/]*/\.\./'
17758 # Canonicalize the path of ld
17759 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17760 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17761 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17763 test -z "$LD" && LD="$ac_prog"
17766 # If it fails, then pretend we aren't using GCC.
17770 # If it is relative, then search for the first ld in PATH.
17771 with_gnu_ld=unknown
17774 elif test "$with_gnu_ld" = yes; then
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17776 $as_echo_n "checking for GNU ld... " >&6; }
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17779 $as_echo_n "checking for non-GNU ld... " >&6; }
17781 if test "${acl_cv_path_LD+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17784 if test -z "$LD"; then
17785 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17786 for ac_dir in $PATH; do
17787 test -z "$ac_dir" && ac_dir=.
17788 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17789 acl_cv_path_LD="$ac_dir/$ac_prog"
17790 # Check to see if the program is GNU ld. I'd rather use --version,
17791 # but apparently some GNU ld's only accept -v.
17792 # Break only if it was the GNU/non-GNU ld that we prefer.
17793 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
17794 *GNU* | *'with BFD'*)
17795 test "$with_gnu_ld" != no && break ;;
17797 test "$with_gnu_ld" != yes && break ;;
17803 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17807 LD="$acl_cv_path_LD"
17808 if test -n "$LD"; then
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17810 $as_echo "$LD" >&6; }
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17813 $as_echo "no" >&6; }
17815 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17817 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17818 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17819 $as_echo_n "(cached) " >&6
17821 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17822 case `$LD -v 2>&1 </dev
/null
` in
17823 *GNU* | *'with BFD'*)
17824 acl_cv_prog_gnu_ld=yes ;;
17826 acl_cv_prog_gnu_ld=no ;;
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17830 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17831 with_gnu_ld=$acl_cv_prog_gnu_ld
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17837 $as_echo_n "checking for shared library run path origin... " >&6; }
17838 if test "${acl_cv_rpath+set}" = set; then :
17839 $as_echo_n "(cached) " >&6
17842 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17843 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17845 rm -f ./conftest.sh
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17850 $as_echo "$acl_cv_rpath" >&6; }
17852 acl_libext="$acl_cv_libext"
17853 acl_shlibext="$acl_cv_shlibext"
17854 acl_libname_spec="$acl_cv_libname_spec"
17855 acl_library_names_spec="$acl_cv_library_names_spec"
17856 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17857 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17858 acl_hardcode_direct="$acl_cv_hardcode_direct"
17859 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17860 # Check whether --enable-rpath was given.
17861 if test "${enable_rpath+set}" = set; then :
17862 enableval=$enable_rpath; :
17870 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17871 if test -n "$searchpath"; then
17872 acl_save_IFS="${IFS= }"; IFS=":"
17873 for searchdir in $searchpath; do
17874 if test -d "$searchdir"; then
17875 case "$searchdir" in
17876 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17877 *) searchdir=`cd "$searchdir" && pwd`
17878 case "$searchdir" in
17879 */lib64 ) acl_libdirstem=lib64 ;;
17884 IFS="$acl_save_IFS"
17897 acl_save_prefix="$prefix"
17898 prefix="$acl_final_prefix"
17899 acl_save_exec_prefix="$exec_prefix"
17900 exec_prefix="$acl_final_exec_prefix"
17902 eval additional_includedir=\"$includedir\"
17903 eval additional_libdir=\"$libdir\"
17905 exec_prefix="$acl_save_exec_prefix"
17906 prefix="$acl_save_prefix"
17909 # Check whether --with-libiconv-prefix was given.
17910 if test "${with_libiconv_prefix+set}" = set; then :
17911 withval=$with_libiconv_prefix;
17912 if test "X$withval" = "Xno"; then
17915 if test "X$withval" = "X"; then
17917 acl_save_prefix="$prefix"
17918 prefix="$acl_final_prefix"
17919 acl_save_exec_prefix="$exec_prefix"
17920 exec_prefix="$acl_final_exec_prefix"
17922 eval additional_includedir=\"$includedir\"
17923 eval additional_libdir=\"$libdir\"
17925 exec_prefix="$acl_save_exec_prefix"
17926 prefix="$acl_save_prefix"
17929 additional_includedir="$withval/include"
17930 additional_libdir="$withval/$acl_libdirstem"
17942 names_already_handled=
17943 names_next_round='iconv '
17944 while test -n "$names_next_round"; do
17945 names_this_round="$names_next_round"
17947 for name in $names_this_round; do
17949 for n in $names_already_handled; do
17950 if test "$n" = "$name"; then
17951 already_handled=yes
17955 if test -z "$already_handled"; then
17956 names_already_handled="$names_already_handled $name"
17957 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17958 eval value=\"\$HAVE_LIB$uppername\"
17959 if test -n "$value"; then
17960 if test "$value" = yes; then
17961 eval value=\"\$LIB$uppername\"
17962 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17963 eval value=\"\$LTLIB$uppername\"
17964 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17973 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17974 if test -n "$acl_shlibext"; then
17975 shrext=".$acl_shlibext" # typically: shrext=.so
17979 if test $use_additional = yes; then
17980 dir="$additional_libdir"
17981 if test -n "$acl_shlibext"; then
17982 if test -f "$dir/$libname$shrext"; then
17984 found_so="$dir/$libname$shrext"
17986 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17987 ver=`(cd "$dir" && \
17988 for f
in "$libname$shrext".
*; do echo "$f"; done \
17989 | sed -e "s,^$libname$shrext\\\\.,," \
17990 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17991 | sed 1q
) 2>/dev
/null
`
17992 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17994 found_so="$dir/$libname$shrext.$ver"
17997 eval library_names=\"$acl_library_names_spec\"
17998 for f in $library_names; do
17999 if test -f "$dir/$f"; then
18008 if test "X$found_dir" = "X"; then
18009 if test -f "$dir/$libname.$acl_libext"; then
18011 found_a="$dir/$libname.$acl_libext"
18014 if test "X$found_dir" != "X"; then
18015 if test -f "$dir/$libname.la"; then
18016 found_la="$dir/$libname.la"
18020 if test "X$found_dir" = "X"; then
18021 for x in $LDFLAGS $LTLIBICONV; do
18023 acl_save_prefix="$prefix"
18024 prefix="$acl_final_prefix"
18025 acl_save_exec_prefix="$exec_prefix"
18026 exec_prefix="$acl_final_exec_prefix"
18028 exec_prefix="$acl_save_exec_prefix"
18029 prefix="$acl_save_prefix"
18033 dir=`echo "X$x" | sed -e 's/^X-L//'`
18034 if test -n "$acl_shlibext"; then
18035 if test -f "$dir/$libname$shrext"; then
18037 found_so="$dir/$libname$shrext"
18039 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18040 ver=`(cd "$dir" && \
18041 for f
in "$libname$shrext".
*; do echo "$f"; done \
18042 | sed -e "s,^$libname$shrext\\\\.,," \
18043 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18044 | sed 1q
) 2>/dev
/null
`
18045 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18047 found_so="$dir/$libname$shrext.$ver"
18050 eval library_names=\"$acl_library_names_spec\"
18051 for f in $library_names; do
18052 if test -f "$dir/$f"; then
18061 if test "X$found_dir" = "X"; then
18062 if test -f "$dir/$libname.$acl_libext"; then
18064 found_a="$dir/$libname.$acl_libext"
18067 if test "X$found_dir" != "X"; then
18068 if test -f "$dir/$libname.la"; then
18069 found_la="$dir/$libname.la"
18074 if test "X$found_dir" != "X"; then
18079 if test "X$found_dir" != "X"; then
18080 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18081 if test "X$found_so" != "X"; then
18082 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18083 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18086 for x in $ltrpathdirs; do
18087 if test "X$x" = "X$found_dir"; then
18092 if test -z "$haveit"; then
18093 ltrpathdirs="$ltrpathdirs $found_dir"
18095 if test "$acl_hardcode_direct" = yes; then
18096 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18098 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18099 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18101 for x in $rpathdirs; do
18102 if test "X$x" = "X$found_dir"; then
18107 if test -z "$haveit"; then
18108 rpathdirs="$rpathdirs $found_dir"
18112 for x in $LDFLAGS $LIBICONV; do
18114 acl_save_prefix="$prefix"
18115 prefix="$acl_final_prefix"
18116 acl_save_exec_prefix="$exec_prefix"
18117 exec_prefix="$acl_final_exec_prefix"
18119 exec_prefix="$acl_save_exec_prefix"
18120 prefix="$acl_save_prefix"
18122 if test "X$x" = "X-L$found_dir"; then
18127 if test -z "$haveit"; then
18128 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18130 if test "$acl_hardcode_minus_L" != no; then
18131 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18133 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18139 if test "X$found_a" != "X"; then
18140 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18142 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18145 additional_includedir=
18146 case "$found_dir" in
18147 */$acl_libdirstem | */$acl_libdirstem/)
18148 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18149 LIBICONV_PREFIX="$basedir"
18150 additional_includedir="$basedir/include"
18153 if test "X$additional_includedir" != "X"; then
18154 if test "X$additional_includedir" != "X/usr/include"; then
18156 if test "X$additional_includedir" = "X/usr/local/include"; then
18157 if test -n "$GCC"; then
18159 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18163 if test -z "$haveit"; then
18164 for x in $CPPFLAGS $INCICONV; do
18166 acl_save_prefix="$prefix"
18167 prefix="$acl_final_prefix"
18168 acl_save_exec_prefix="$exec_prefix"
18169 exec_prefix="$acl_final_exec_prefix"
18171 exec_prefix="$acl_save_exec_prefix"
18172 prefix="$acl_save_prefix"
18174 if test "X$x" = "X-I$additional_includedir"; then
18179 if test -z "$haveit"; then
18180 if test -d "$additional_includedir"; then
18181 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18187 if test -n "$found_la"; then
18188 save_libdir="$libdir"
18189 case "$found_la" in
18190 */* | *\\*) . "$found_la" ;;
18191 *) . "./$found_la" ;;
18193 libdir="$save_libdir"
18194 for dep in $dependency_libs; do
18197 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18198 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18200 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18201 if test -n "$GCC"; then
18203 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18207 if test -z "$haveit"; then
18209 for x in $LDFLAGS $LIBICONV; do
18211 acl_save_prefix="$prefix"
18212 prefix="$acl_final_prefix"
18213 acl_save_exec_prefix="$exec_prefix"
18214 exec_prefix="$acl_final_exec_prefix"
18216 exec_prefix="$acl_save_exec_prefix"
18217 prefix="$acl_save_prefix"
18219 if test "X$x" = "X-L$additional_libdir"; then
18224 if test -z "$haveit"; then
18225 if test -d "$additional_libdir"; then
18226 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18230 for x in $LDFLAGS $LTLIBICONV; do
18232 acl_save_prefix="$prefix"
18233 prefix="$acl_final_prefix"
18234 acl_save_exec_prefix="$exec_prefix"
18235 exec_prefix="$acl_final_exec_prefix"
18237 exec_prefix="$acl_save_exec_prefix"
18238 prefix="$acl_save_prefix"
18240 if test "X$x" = "X-L$additional_libdir"; then
18245 if test -z "$haveit"; then
18246 if test -d "$additional_libdir"; then
18247 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18254 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18255 if test "$enable_rpath" != no; then
18257 for x in $rpathdirs; do
18258 if test "X$x" = "X$dir"; then
18263 if test -z "$haveit"; then
18264 rpathdirs="$rpathdirs $dir"
18267 for x in $ltrpathdirs; do
18268 if test "X$x" = "X$dir"; then
18273 if test -z "$haveit"; then
18274 ltrpathdirs="$ltrpathdirs $dir"
18279 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18282 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18285 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18286 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18292 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18293 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18299 if test "X$rpathdirs" != "X"; then
18300 if test -n "$acl_hardcode_libdir_separator"; then
18302 for found_dir in $rpathdirs; do
18303 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18305 acl_save_libdir="$libdir"
18307 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18308 libdir="$acl_save_libdir"
18309 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18311 for found_dir in $rpathdirs; do
18312 acl_save_libdir="$libdir"
18313 libdir="$found_dir"
18314 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18315 libdir="$acl_save_libdir"
18316 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18320 if test "X$ltrpathdirs" != "X"; then
18321 for found_dir in $ltrpathdirs; do
18322 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18332 am_save_CPPFLAGS="$CPPFLAGS"
18334 for element in $INCICONV; do
18336 for x in $CPPFLAGS; do
18338 acl_save_prefix="$prefix"
18339 prefix="$acl_final_prefix"
18340 acl_save_exec_prefix="$exec_prefix"
18341 exec_prefix="$acl_final_exec_prefix"
18343 exec_prefix="$acl_save_exec_prefix"
18344 prefix="$acl_save_prefix"
18346 if test "X$x" = "X$element"; then
18351 if test -z "$haveit"; then
18352 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18358 $as_echo_n "checking for iconv... " >&6; }
18359 if test "${am_cv_func_iconv+set}" = set; then :
18360 $as_echo_n "(cached) " >&6
18363 am_cv_func_iconv="no, consider installing GNU libiconv"
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367 #include <stdlib.h>
18372 iconv_t cd = iconv_open("","");
18373 iconv(cd,NULL,NULL,NULL,NULL);
18379 if ac_fn_c_try_link "$LINENO"; then :
18380 am_cv_func_iconv=yes
18382 rm -f core conftest.err conftest.$ac_objext \
18383 conftest$ac_exeext conftest.$ac_ext
18384 if test "$am_cv_func_iconv" != yes; then
18385 am_save_LIBS="$LIBS"
18386 LIBS="$LIBS $LIBICONV"
18387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18388 /* end confdefs.h. */
18389 #include <stdlib.h>
18394 iconv_t cd = iconv_open("","");
18395 iconv(cd,NULL,NULL,NULL,NULL);
18401 if ac_fn_c_try_link "$LINENO"; then :
18402 am_cv_lib_iconv=yes
18403 am_cv_func_iconv=yes
18405 rm -f core conftest.err conftest.$ac_objext \
18406 conftest$ac_exeext conftest.$ac_ext
18407 LIBS="$am_save_LIBS"
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18412 $as_echo "$am_cv_func_iconv" >&6; }
18413 if test "$am_cv_func_iconv" = yes; then
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18415 $as_echo_n "checking for working iconv... " >&6; }
18416 if test "${am_cv_func_iconv_works+set}" = set; then :
18417 $as_echo_n "(cached) " >&6
18420 am_save_LIBS="$LIBS"
18421 if test $am_cv_lib_iconv = yes; then
18422 LIBS="$LIBS $LIBICONV"
18424 if test "$cross_compiling" = yes; then :
18426 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18427 *) am_cv_func_iconv_works="guessing yes" ;;
18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18431 /* end confdefs.h. */
18434 #include <string.h>
18437 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18440 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18441 if (cd_utf8_to_88591 != (iconv_t)(-1))
18443 static const char input[] = "\342\202\254"; /* EURO SIGN */
18445 const char *inptr = input;
18446 size_t inbytesleft = strlen (input);
18447 char *outptr = buf;
18448 size_t outbytesleft = sizeof (buf);
18449 size_t res = iconv (cd_utf8_to_88591,
18450 (char **) &inptr, &inbytesleft,
18451 &outptr, &outbytesleft);
18456 #if 0 /* This bug could be worked around by the caller. */
18457 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18459 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18460 if (cd_88591_to_utf8 != (iconv_t)(-1))
18462 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18464 const char *inptr = input;
18465 size_t inbytesleft = strlen (input);
18466 char *outptr = buf;
18467 size_t outbytesleft = sizeof (buf);
18468 size_t res = iconv (cd_88591_to_utf8,
18469 (char **) &inptr, &inbytesleft,
18470 &outptr, &outbytesleft);
18476 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18478 if (/* Try standardized names. */
18479 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18480 /* Try IRIX, OSF/1 names. */
18481 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18482 /* Try AIX names. */
18483 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18484 /* Try HP-UX names. */
18485 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18490 if ac_fn_c_try_run "$LINENO"; then :
18491 am_cv_func_iconv_works=yes
18493 am_cv_func_iconv_works=no
18495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18496 conftest.$ac_objext conftest.beam conftest.$ac_ext
18499 LIBS="$am_save_LIBS"
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18503 $as_echo "$am_cv_func_iconv_works" >&6; }
18504 case "$am_cv_func_iconv_works" in
18505 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18506 *) am_func_iconv=yes ;;
18509 am_func_iconv=no am_cv_lib_iconv=no
18511 if test "$am_func_iconv" = yes; then
18513 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18516 if test "$am_cv_lib_iconv" = yes; then
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18518 $as_echo_n "checking how to link with libiconv... " >&6; }
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18520 $as_echo "$LIBICONV" >&6; }
18522 CPPFLAGS="$am_save_CPPFLAGS"
18529 if test "$am_cv_func_iconv" = yes; then
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18531 $as_echo_n "checking for iconv declaration... " >&6; }
18532 if test "${am_cv_proto_iconv+set}" = set; then :
18533 $as_echo_n "(cached) " >&6
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18539 #include <stdlib.h>
18545 #if defined(__STDC__) || defined(__cplusplus)
18546 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18559 if ac_fn_c_try_compile "$LINENO"; then :
18560 am_cv_proto_iconv_arg1=""
18562 am_cv_proto_iconv_arg1="const"
18564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18565 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);"
18568 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18570 }$am_cv_proto_iconv" >&5
18572 }$am_cv_proto_iconv" >&6; }
18574 cat >>confdefs.h <<_ACEOF
18575 #define ICONV_CONST $am_cv_proto_iconv_arg1
18580 case $am_cv_func_iconv in #(
18585 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
18586 case $cy_iconv_prefix_arg in #(
18590 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
18592 for x in $cy_iconv_prefixes; do
18594 acl_save_prefix="$prefix"
18595 prefix="$acl_final_prefix"
18596 acl_save_exec_prefix="$exec_prefix"
18597 exec_prefix="$acl_final_exec_prefix"
18599 exec_prefix="$acl_save_exec_prefix"
18600 prefix="$acl_save_prefix"
18602 if test "X$x" = "X$element"; then
18607 if test -z "$haveit"; then
18608 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18616 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
18618 for x in $cy_iconv_prefixes; do
18620 acl_save_prefix="$prefix"
18621 prefix="$acl_final_prefix"
18622 acl_save_exec_prefix="$exec_prefix"
18623 exec_prefix="$acl_final_exec_prefix"
18625 exec_prefix="$acl_save_exec_prefix"
18626 prefix="$acl_save_prefix"
18628 if test "X$x" = "X$element"; then
18633 if test -z "$haveit"; then
18634 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18643 for with_libiconv_prefix in $cy_iconv_prefixes; do
18644 { am_cv_func_iconv=; unset am_cv_func_iconv;}
18655 acl_save_prefix="$prefix"
18656 prefix="$acl_final_prefix"
18657 acl_save_exec_prefix="$exec_prefix"
18658 exec_prefix="$acl_final_exec_prefix"
18660 eval additional_includedir=\"$includedir\"
18661 eval additional_libdir=\"$libdir\"
18663 exec_prefix="$acl_save_exec_prefix"
18664 prefix="$acl_save_prefix"
18667 # Check whether --with-libiconv-prefix was given.
18668 if test "${with_libiconv_prefix+set}" = set; then :
18669 withval=$with_libiconv_prefix;
18670 if test "X$withval" = "Xno"; then
18673 if test "X$withval" = "X"; then
18675 acl_save_prefix="$prefix"
18676 prefix="$acl_final_prefix"
18677 acl_save_exec_prefix="$exec_prefix"
18678 exec_prefix="$acl_final_exec_prefix"
18680 eval additional_includedir=\"$includedir\"
18681 eval additional_libdir=\"$libdir\"
18683 exec_prefix="$acl_save_exec_prefix"
18684 prefix="$acl_save_prefix"
18687 additional_includedir="$withval/include"
18688 additional_libdir="$withval/$acl_libdirstem"
18700 names_already_handled=
18701 names_next_round='iconv '
18702 while test -n "$names_next_round"; do
18703 names_this_round="$names_next_round"
18705 for name in $names_this_round; do
18707 for n in $names_already_handled; do
18708 if test "$n" = "$name"; then
18709 already_handled=yes
18713 if test -z "$already_handled"; then
18714 names_already_handled="$names_already_handled $name"
18715 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18716 eval value=\"\$HAVE_LIB$uppername\"
18717 if test -n "$value"; then
18718 if test "$value" = yes; then
18719 eval value=\"\$LIB$uppername\"
18720 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18721 eval value=\"\$LTLIB$uppername\"
18722 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18731 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18732 if test -n "$acl_shlibext"; then
18733 shrext=".$acl_shlibext" # typically: shrext=.so
18737 if test $use_additional = yes; then
18738 dir="$additional_libdir"
18739 if test -n "$acl_shlibext"; then
18740 if test -f "$dir/$libname$shrext"; then
18742 found_so="$dir/$libname$shrext"
18744 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18745 ver=`(cd "$dir" && \
18746 for f
in "$libname$shrext".
*; do echo "$f"; done \
18747 | sed -e "s,^$libname$shrext\\\\.,," \
18748 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18749 | sed 1q
) 2>/dev
/null
`
18750 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18752 found_so="$dir/$libname$shrext.$ver"
18755 eval library_names=\"$acl_library_names_spec\"
18756 for f in $library_names; do
18757 if test -f "$dir/$f"; then
18766 if test "X$found_dir" = "X"; then
18767 if test -f "$dir/$libname.$acl_libext"; then
18769 found_a="$dir/$libname.$acl_libext"
18772 if test "X$found_dir" != "X"; then
18773 if test -f "$dir/$libname.la"; then
18774 found_la="$dir/$libname.la"
18778 if test "X$found_dir" = "X"; then
18779 for x in $LDFLAGS $LTLIBICONV; do
18781 acl_save_prefix="$prefix"
18782 prefix="$acl_final_prefix"
18783 acl_save_exec_prefix="$exec_prefix"
18784 exec_prefix="$acl_final_exec_prefix"
18786 exec_prefix="$acl_save_exec_prefix"
18787 prefix="$acl_save_prefix"
18791 dir=`echo "X$x" | sed -e 's/^X-L//'`
18792 if test -n "$acl_shlibext"; then
18793 if test -f "$dir/$libname$shrext"; then
18795 found_so="$dir/$libname$shrext"
18797 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18798 ver=`(cd "$dir" && \
18799 for f
in "$libname$shrext".
*; do echo "$f"; done \
18800 | sed -e "s,^$libname$shrext\\\\.,," \
18801 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18802 | sed 1q
) 2>/dev
/null
`
18803 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18805 found_so="$dir/$libname$shrext.$ver"
18808 eval library_names=\"$acl_library_names_spec\"
18809 for f in $library_names; do
18810 if test -f "$dir/$f"; then
18819 if test "X$found_dir" = "X"; then
18820 if test -f "$dir/$libname.$acl_libext"; then
18822 found_a="$dir/$libname.$acl_libext"
18825 if test "X$found_dir" != "X"; then
18826 if test -f "$dir/$libname.la"; then
18827 found_la="$dir/$libname.la"
18832 if test "X$found_dir" != "X"; then
18837 if test "X$found_dir" != "X"; then
18838 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18839 if test "X$found_so" != "X"; then
18840 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18844 for x in $ltrpathdirs; do
18845 if test "X$x" = "X$found_dir"; then
18850 if test -z "$haveit"; then
18851 ltrpathdirs="$ltrpathdirs $found_dir"
18853 if test "$acl_hardcode_direct" = yes; then
18854 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18856 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18857 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18859 for x in $rpathdirs; do
18860 if test "X$x" = "X$found_dir"; then
18865 if test -z "$haveit"; then
18866 rpathdirs="$rpathdirs $found_dir"
18870 for x in $LDFLAGS $LIBICONV; do
18872 acl_save_prefix="$prefix"
18873 prefix="$acl_final_prefix"
18874 acl_save_exec_prefix="$exec_prefix"
18875 exec_prefix="$acl_final_exec_prefix"
18877 exec_prefix="$acl_save_exec_prefix"
18878 prefix="$acl_save_prefix"
18880 if test "X$x" = "X-L$found_dir"; then
18885 if test -z "$haveit"; then
18886 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18888 if test "$acl_hardcode_minus_L" != no; then
18889 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18891 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18897 if test "X$found_a" != "X"; then
18898 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18900 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18903 additional_includedir=
18904 case "$found_dir" in
18905 */$acl_libdirstem | */$acl_libdirstem/)
18906 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18907 LIBICONV_PREFIX="$basedir"
18908 additional_includedir="$basedir/include"
18911 if test "X$additional_includedir" != "X"; then
18912 if test "X$additional_includedir" != "X/usr/include"; then
18914 if test "X$additional_includedir" = "X/usr/local/include"; then
18915 if test -n "$GCC"; then
18917 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18921 if test -z "$haveit"; then
18922 for x in $CPPFLAGS $INCICONV; do
18924 acl_save_prefix="$prefix"
18925 prefix="$acl_final_prefix"
18926 acl_save_exec_prefix="$exec_prefix"
18927 exec_prefix="$acl_final_exec_prefix"
18929 exec_prefix="$acl_save_exec_prefix"
18930 prefix="$acl_save_prefix"
18932 if test "X$x" = "X-I$additional_includedir"; then
18937 if test -z "$haveit"; then
18938 if test -d "$additional_includedir"; then
18939 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18945 if test -n "$found_la"; then
18946 save_libdir="$libdir"
18947 case "$found_la" in
18948 */* | *\\*) . "$found_la" ;;
18949 *) . "./$found_la" ;;
18951 libdir="$save_libdir"
18952 for dep in $dependency_libs; do
18955 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18956 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18958 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18959 if test -n "$GCC"; then
18961 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18965 if test -z "$haveit"; then
18967 for x in $LDFLAGS $LIBICONV; do
18969 acl_save_prefix="$prefix"
18970 prefix="$acl_final_prefix"
18971 acl_save_exec_prefix="$exec_prefix"
18972 exec_prefix="$acl_final_exec_prefix"
18974 exec_prefix="$acl_save_exec_prefix"
18975 prefix="$acl_save_prefix"
18977 if test "X$x" = "X-L$additional_libdir"; then
18982 if test -z "$haveit"; then
18983 if test -d "$additional_libdir"; then
18984 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18988 for x in $LDFLAGS $LTLIBICONV; do
18990 acl_save_prefix="$prefix"
18991 prefix="$acl_final_prefix"
18992 acl_save_exec_prefix="$exec_prefix"
18993 exec_prefix="$acl_final_exec_prefix"
18995 exec_prefix="$acl_save_exec_prefix"
18996 prefix="$acl_save_prefix"
18998 if test "X$x" = "X-L$additional_libdir"; then
19003 if test -z "$haveit"; then
19004 if test -d "$additional_libdir"; then
19005 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19012 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19013 if test "$enable_rpath" != no; then
19015 for x in $rpathdirs; do
19016 if test "X$x" = "X$dir"; then
19021 if test -z "$haveit"; then
19022 rpathdirs="$rpathdirs $dir"
19025 for x in $ltrpathdirs; do
19026 if test "X$x" = "X$dir"; then
19031 if test -z "$haveit"; then
19032 ltrpathdirs="$ltrpathdirs $dir"
19037 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19040 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19043 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19044 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19050 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19051 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19057 if test "X$rpathdirs" != "X"; then
19058 if test -n "$acl_hardcode_libdir_separator"; then
19060 for found_dir in $rpathdirs; do
19061 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19063 acl_save_libdir="$libdir"
19065 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19066 libdir="$acl_save_libdir"
19067 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19069 for found_dir in $rpathdirs; do
19070 acl_save_libdir="$libdir"
19071 libdir="$found_dir"
19072 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19073 libdir="$acl_save_libdir"
19074 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19078 if test "X$ltrpathdirs" != "X"; then
19079 for found_dir in $ltrpathdirs; do
19080 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19090 am_save_CPPFLAGS="$CPPFLAGS"
19092 for element in $INCICONV; do
19094 for x in $CPPFLAGS; do
19096 acl_save_prefix="$prefix"
19097 prefix="$acl_final_prefix"
19098 acl_save_exec_prefix="$exec_prefix"
19099 exec_prefix="$acl_final_exec_prefix"
19101 exec_prefix="$acl_save_exec_prefix"
19102 prefix="$acl_save_prefix"
19104 if test "X$x" = "X$element"; then
19109 if test -z "$haveit"; then
19110 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19116 $as_echo_n "checking for iconv... " >&6; }
19117 if test "${am_cv_func_iconv+set}" = set; then :
19118 $as_echo_n "(cached) " >&6
19121 am_cv_func_iconv="no, consider installing GNU libiconv"
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19125 #include <stdlib.h>
19130 iconv_t cd = iconv_open("","");
19131 iconv(cd,NULL,NULL,NULL,NULL);
19137 if ac_fn_c_try_link "$LINENO"; then :
19138 am_cv_func_iconv=yes
19140 rm -f core conftest.err conftest.$ac_objext \
19141 conftest$ac_exeext conftest.$ac_ext
19142 if test "$am_cv_func_iconv" != yes; then
19143 am_save_LIBS="$LIBS"
19144 LIBS="$LIBS $LIBICONV"
19145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19147 #include <stdlib.h>
19152 iconv_t cd = iconv_open("","");
19153 iconv(cd,NULL,NULL,NULL,NULL);
19159 if ac_fn_c_try_link "$LINENO"; then :
19160 am_cv_lib_iconv=yes
19161 am_cv_func_iconv=yes
19163 rm -f core conftest.err conftest.$ac_objext \
19164 conftest$ac_exeext conftest.$ac_ext
19165 LIBS="$am_save_LIBS"
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19170 $as_echo "$am_cv_func_iconv" >&6; }
19171 if test "$am_cv_func_iconv" = yes; then
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19173 $as_echo_n "checking for working iconv... " >&6; }
19174 if test "${am_cv_func_iconv_works+set}" = set; then :
19175 $as_echo_n "(cached) " >&6
19178 am_save_LIBS="$LIBS"
19179 if test $am_cv_lib_iconv = yes; then
19180 LIBS="$LIBS $LIBICONV"
19182 if test "$cross_compiling" = yes; then :
19184 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19185 *) am_cv_func_iconv_works="guessing yes" ;;
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19192 #include <string.h>
19195 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19198 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19199 if (cd_utf8_to_88591 != (iconv_t)(-1))
19201 static const char input[] = "\342\202\254"; /* EURO SIGN */
19203 const char *inptr = input;
19204 size_t inbytesleft = strlen (input);
19205 char *outptr = buf;
19206 size_t outbytesleft = sizeof (buf);
19207 size_t res = iconv (cd_utf8_to_88591,
19208 (char **) &inptr, &inbytesleft,
19209 &outptr, &outbytesleft);
19214 #if 0 /* This bug could be worked around by the caller. */
19215 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19217 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19218 if (cd_88591_to_utf8 != (iconv_t)(-1))
19220 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19222 const char *inptr = input;
19223 size_t inbytesleft = strlen (input);
19224 char *outptr = buf;
19225 size_t outbytesleft = sizeof (buf);
19226 size_t res = iconv (cd_88591_to_utf8,
19227 (char **) &inptr, &inbytesleft,
19228 &outptr, &outbytesleft);
19234 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19236 if (/* Try standardized names. */
19237 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19238 /* Try IRIX, OSF/1 names. */
19239 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19240 /* Try AIX names. */
19241 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19242 /* Try HP-UX names. */
19243 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19248 if ac_fn_c_try_run "$LINENO"; then :
19249 am_cv_func_iconv_works=yes
19251 am_cv_func_iconv_works=no
19253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19254 conftest.$ac_objext conftest.beam conftest.$ac_ext
19257 LIBS="$am_save_LIBS"
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19261 $as_echo "$am_cv_func_iconv_works" >&6; }
19262 case "$am_cv_func_iconv_works" in
19263 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19264 *) am_func_iconv=yes ;;
19267 am_func_iconv=no am_cv_lib_iconv=no
19269 if test "$am_func_iconv" = yes; then
19271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19274 if test "$am_cv_lib_iconv" = yes; then
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19276 $as_echo_n "checking how to link with libiconv... " >&6; }
19277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19278 $as_echo "$LIBICONV" >&6; }
19280 CPPFLAGS="$am_save_CPPFLAGS"
19287 if test "$am_cv_func_iconv" = yes; then
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19289 $as_echo_n "checking for iconv declaration... " >&6; }
19290 if test "${am_cv_proto_iconv+set}" = set; then :
19291 $as_echo_n "(cached) " >&6
19294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19295 /* end confdefs.h. */
19297 #include <stdlib.h>
19303 #if defined(__STDC__) || defined(__cplusplus)
19304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19317 if ac_fn_c_try_compile "$LINENO"; then :
19318 am_cv_proto_iconv_arg1=""
19320 am_cv_proto_iconv_arg1="const"
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 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);"
19326 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
19328 }$am_cv_proto_iconv" >&5
19330 }$am_cv_proto_iconv" >&6; }
19332 cat >>confdefs.h <<_ACEOF
19333 #define ICONV_CONST $am_cv_proto_iconv_arg1
19341 case $am_cv_func_iconv in #(
19345 as_fn_error "You need iconv" "$LINENO" 5 ;;
19348 ac_cpp='$CXXCPP $CPPFLAGS'
19349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19353 if test "x$CY_OBJECTIVEC" = x1; then :
19355 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19356 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing otool?" >&5
19361 $as_echo "$as_me: WARNING: Missing otool?" >&2;} ;; #(
19363 CY_OBJECTIVEC_MACH=1
19372 if test "x$GMAKE" != xmake; then :
19374 ac_config_files="$ac_config_files Makefile"
19378 ac_config_files="$ac_config_files GNUmakefile"
19380 cat >confcache <<\_ACEOF
19381 # This file is a shell script that caches the results of configure
19382 # tests run on this system so they can be shared between configure
19383 # scripts and configure runs, see configure's option --config-cache.
19384 # It is not useful on other systems. If it contains results you don't
19385 # want to keep, you may remove or edit it.
19387 # config.status only pays attention to the cache file if you give it
19388 # the --recheck option to rerun configure.
19390 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19392 # following values.
19396 # The following way of writing the cache mishandles newlines in values,
19397 # but we know of no workaround that is simple, portable, and efficient.
19398 # So, we kill variables containing newlines.
19399 # Ultrix sh set writes to stderr and can't be redirected directly,
19400 # and sets the high bit in the cache file unless we assign to the vars.
19402 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19403 eval ac_val
=\$
$ac_var
19407 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19411 _
| IFS
| as_nl
) ;; #(
19412 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19413 *) { eval $ac_var=; unset $ac_var;} ;;
19419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19420 *${as_nl}ac_space
=\
*)
19421 # `set' does not quote correctly, so add quotes: double-quote
19422 # substitution turns \\\\ into \\, and sed turns \\ into \.
19425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19428 # `set' quotes correctly as required by POSIX, so do not add quotes.
19429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19442 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19443 if test -w "$cache_file"; then
19444 test "x$cache_file" != "x/dev/null" &&
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19446 $as_echo "$as_me: updating cache $cache_file" >&6;}
19447 cat confcache
>$cache_file
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19450 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19455 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19456 # Let make expand exec_prefix.
19457 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19459 # Transform confdefs.h into DEFS.
19460 # Protect against shell expansion while executing Makefile rules.
19461 # Protect against Makefile macro expansion.
19463 # If the first sed substitution is executed (which looks for macros that
19464 # take arguments), then branch to the quote section. Otherwise,
19465 # look for a macro that doesn't take arguments.
19475 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19477 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19481 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19494 DEFS
=`sed -n "$ac_script" confdefs.h`
19499 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19500 # 1. Remove the extension, and $U if already installed.
19501 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19502 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19504 # will be set to the directory where LIBOBJS objects are built.
19505 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19506 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19508 LIBOBJS
=$ac_libobjs
19510 LTLIBOBJS
=$ac_ltlibobjs
19514 : ${CONFIG_STATUS=./config.status}
19516 ac_clean_files_save
=$ac_clean_files
19517 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19519 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19521 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19523 # Generated by $as_me.
19524 # Run this file to recreate the current configuration.
19525 # Compiler output produced by configure, useful for debugging
19526 # configure, is in config.log if it exists.
19529 ac_cs_recheck=false
19532 SHELL=\${CONFIG_SHELL-$SHELL}
19535 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19536 ## -------------------- ##
19537 ## M4sh Initialization. ##
19538 ## -------------------- ##
19540 # Be more Bourne compatible
19541 DUALCASE
=1; export DUALCASE
# for MKS sh
19542 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19545 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19546 # is contrary to our usage. Disable this feature.
19547 alias -g '${1+"$@"}'='"$@"'
19548 setopt NO_GLOB_SUBST
19550 case `(set -o) 2>/dev/null` in #(
19562 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19563 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19564 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19566 # Prefer a ksh shell builtin over an external printf program on Solaris,
19567 # but without wasting forks for bash or zsh.
19568 if test -z "$BASH_VERSION$ZSH_VERSION" \
19569 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19570 as_echo='print
-r --'
19571 as_echo_n='print
-rn --'
19572 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19573 as_echo='printf %s
\n'
19574 as_echo_n='printf %s
'
19576 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19577 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19578 as_echo_n='/usr
/ucb
/echo -n'
19580 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19581 as_echo_n_body='eval
19585 expr "X$arg" : "X\\(.*\\)$as_nl";
19586 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19588 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19590 export as_echo_n_body
19591 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19593 export as_echo_body
19594 as_echo='sh
-c $as_echo_body as_echo
'
19597 # The user is always right.
19598 if test "${PATH_SEPARATOR+set}" != set; then
19600 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19601 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19608 # We need space, tab and new line, in precisely that order. Quoting is
19609 # there to prevent editors from complaining about space-tab.
19610 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19611 # splitting by setting IFS to empty value.)
19614 # Find who we are. Look in the path if we contain no directory separator.
19616 *[\\/]* ) as_myself=$0 ;;
19617 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19618 for as_dir in $PATH
19621 test -z "$as_dir" && as_dir=.
19622 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19628 # We did not find ourselves, most probably we were run as `sh COMMAND'
19629 # in which case we are not to be found in the path.
19630 if test "x$as_myself" = x
; then
19633 if test ! -f "$as_myself"; then
19634 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19638 # Unset variables that we do not need and which cause bugs (e.g. in
19639 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19640 # suppresses any "Segmentation fault" message there. '((' could
19641 # trigger a bug in pdksh 5.2.14.
19642 for as_var
in BASH_ENV ENV MAIL MAILPATH
19643 do eval test x\
${$as_var+set} = xset \
19644 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19657 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19660 # as_fn_error ERROR [LINENO LOG_FD]
19661 # ---------------------------------
19662 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19663 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19664 # script with status $?, using 1 if that was 0.
19667 as_status
=$?
; test $as_status -eq 0 && as_status
=1
19669 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19670 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19672 $as_echo "$as_me: error: $1" >&2
19673 as_fn_exit
$as_status
19677 # as_fn_set_status STATUS
19678 # -----------------------
19679 # Set $? to STATUS, without forking.
19680 as_fn_set_status
()
19683 } # as_fn_set_status
19685 # as_fn_exit STATUS
19686 # -----------------
19687 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19691 as_fn_set_status
$1
19697 # Portably unset VAR.
19700 { eval $1=; unset $1;}
19702 as_unset
=as_fn_unset
19703 # as_fn_append VAR VALUE
19704 # ----------------------
19705 # Append the text in VALUE to the end of the definition contained in VAR. Take
19706 # advantage of any shell optimizations that allow amortized linear growth over
19707 # repeated appends, instead of the typical quadratic growth present in naive
19709 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
19710 eval 'as_fn_append ()
19721 # as_fn_arith ARG...
19722 # ------------------
19723 # Perform arithmetic evaluation on the ARGs, and store the result in the
19724 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19725 # must be portable across $(()) and expr.
19726 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
19727 eval 'as_fn_arith ()
19734 as_val
=`expr "$@" || test $? -eq 1`
19739 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
19740 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
19746 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19747 as_basename
=basename
19752 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
19758 as_me
=`$as_basename -- "$0" ||
19759 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19760 X"$0" : 'X\(//\)$' \| \
19761 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19763 sed '/^.*\/\([^/][^/]*\)\/*$/{
19777 # Avoid depending upon Character Ranges.
19778 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19779 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19780 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19781 as_cr_digits
='0123456789'
19782 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19784 ECHO_C
= ECHO_N
= ECHO_T
=
19785 case `echo -n x` in #(((((
19787 case `echo 'xy\c'` in
19788 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
19790 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
19797 rm -f conf$$ conf$$.exe conf$$.
file
19798 if test -d conf$$.dir
; then
19799 rm -f conf$$.dir
/conf$$.
file
19802 mkdir conf$$.dir
2>/dev
/null
19804 if (echo >conf$$.
file) 2>/dev
/null
; then
19805 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19807 # ... but there are two gotchas:
19808 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19809 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19810 # In both cases, we have to default to `cp -p'.
19811 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
19813 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19821 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
19822 rmdir conf$$.dir
2>/dev
/null
19827 # Create "$as_dir" as a directory, including parents if necessary.
19832 -*) as_dir
=.
/$as_dir;;
19834 test -d "$as_dir" || eval $as_mkdir_p || {
19838 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19839 *) as_qdir
=$as_dir;;
19841 as_dirs
="'$as_qdir' $as_dirs"
19842 as_dir
=`$as_dirname -- "$as_dir" ||
19843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19844 X"$as_dir" : 'X\(//\)[^/]' \| \
19845 X"$as_dir" : 'X\(//\)$' \| \
19846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19847 $as_echo X"$as_dir" |
19848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19852 /^X\(\/\/\)[^/].*/{
19865 test -d "$as_dir" && break
19867 test -z "$as_dirs" || eval "mkdir $as_dirs"
19868 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
19872 if mkdir -p .
2>/dev
/null
; then
19873 as_mkdir_p
='mkdir -p "$as_dir"'
19875 test -d .
/-p && rmdir .
/-p
19879 if test -x / >/dev
/null
2>&1; then
19880 as_test_x
='test -x'
19882 if ls -dL / >/dev
/null
2>&1; then
19889 if test -d "$1"; then
19895 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19896 ???[sx]*):;;*)false;;esac;fi
19900 as_executable_p
=$as_test_x
19902 # Sed expression to map a string onto a valid CPP name.
19903 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19905 # Sed expression to map a string onto a valid variable name.
19906 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19910 ## ----------------------------------- ##
19911 ## Main body of $CONFIG_STATUS script. ##
19912 ## ----------------------------------- ##
19914 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
19916 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19917 # Save the log message, to keep $0 and so on meaningful, and to
19918 # report actual input values of CONFIG_FILES etc. instead of their
19919 # values after options handling.
19921 This file was extended by Cycript $as_me 0.9, which was
19922 generated by GNU Autoconf 2.65. Invocation command line was
19924 CONFIG_FILES = $CONFIG_FILES
19925 CONFIG_HEADERS = $CONFIG_HEADERS
19926 CONFIG_LINKS = $CONFIG_LINKS
19927 CONFIG_COMMANDS = $CONFIG_COMMANDS
19930 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19935 case $ac_config_files in *"
19936 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
19941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19942 # Files that config.status was made for.
19943 config_files="$ac_config_files"
19944 config_commands="$ac_config_commands"
19948 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19950 \`$as_me' instantiates files and other configuration actions
19951 from templates according to the current configuration. Unless the files
19952 and actions are specified as TAGs, all are instantiated by default.
19954 Usage: $0 [OPTION]... [TAG]...
19956 -h, --help print this help, then exit
19957 -V, --version print version number and configuration settings, then exit
19958 --config print configuration, then exit
19959 -q, --quiet, --silent
19960 do not print progress messages
19961 -d, --debug don't remove temporary files
19962 --recheck update $as_me by reconfiguring in the same conditions
19963 --file=FILE[:TEMPLATE]
19964 instantiate the configuration file FILE
19966 Configuration files:
19969 Configuration commands:
19972 Report bugs to <saurik@saurik.com>.
19973 Cycript home page: <http://www.cycript.org/>."
19976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19977 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19979 Cycript config.status 0.9
19980 configured by $0, generated by GNU Autoconf 2.65,
19981 with options \\"\$ac_cs_config\\"
19983 Copyright (C) 2009 Free Software Foundation, Inc.
19984 This config.status script is free software; the Free Software Foundation
19985 gives unlimited permission to copy, distribute and modify it."
19990 test -n "\$AWK" || AWK=awk
19993 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
19994 # The default lists apply if the user does not specify any file.
20000 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20001 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20012 # Handling of the options.
20013 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20015 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20016 $as_echo "$ac_cs_version"; exit ;;
20017 --config | --confi | --conf | --con | --co | --c )
20018 $as_echo "$ac_cs_config"; exit ;;
20019 --debug | --debu | --deb | --de | --d | -d )
20021 --file | --fil | --fi | --f )
20024 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20026 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20027 ac_need_defaults
=false
;;
20028 --he | --h | --help | --hel | -h )
20029 $as_echo "$ac_cs_usage"; exit ;;
20030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20031 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20034 # This is an error.
20035 -*) as_fn_error
"unrecognized option: \`$1'
20036 Try \`$0 --help' for more information." ;;
20038 *) as_fn_append ac_config_targets
" $1"
20039 ac_need_defaults
=false
;;
20045 ac_configure_extra_args
=
20047 if $ac_cs_silent; then
20049 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20054 if \$ac_cs_recheck; then
20055 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20057 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20058 CONFIG_SHELL='$SHELL'
20059 export CONFIG_SHELL
20064 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20068 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20069 ## Running $as_me. ##
20075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20081 # The HP-UX ksh and POSIX shell print the target directory to stdout
20082 # if CDPATH is set.
20083 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20085 sed_quote_subst='$sed_quote_subst'
20086 double_quote_subst='$double_quote_subst'
20087 delay_variable_subst='$delay_variable_subst'
20088 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20089 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20090 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20091 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20092 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20093 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20094 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20095 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20096 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20097 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20098 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20099 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20100 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20101 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20102 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20103 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20104 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20105 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20106 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20107 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20108 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20109 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20110 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20111 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20112 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20113 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20114 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20115 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20116 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20117 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20118 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20119 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20120 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20121 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20122 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20123 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20124 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20125 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20126 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20127 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20128 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20129 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20130 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20131 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20132 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"`'
20133 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"`'
20134 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20135 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20136 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20137 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20138 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20139 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20140 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20141 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20142 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20143 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20144 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20145 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20146 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20147 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20148 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20149 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20150 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20151 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20152 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20153 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20154 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20155 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20156 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20157 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20158 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20159 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20160 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20161 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20162 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20163 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20164 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20165 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20166 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20167 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20168 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20169 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20170 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20171 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20172 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20173 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20174 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20175 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20176 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20177 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20178 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20179 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20180 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20181 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20182 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20183 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20184 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20185 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20186 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20187 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20188 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20189 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20190 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20191 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20192 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20193 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20194 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20195 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20196 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20197 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20198 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20199 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20200 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20201 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20202 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20203 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20204 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20205 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20206 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20207 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20208 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20209 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20210 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20211 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20212 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20213 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20214 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20215 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20216 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20217 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20218 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20219 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20220 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20221 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20222 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20223 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20224 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20225 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20226 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20227 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20228 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20229 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20230 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20231 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20232 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20233 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20234 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20235 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20236 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20237 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20238 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20239 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20240 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20241 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20242 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20243 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20244 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20245 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20246 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20247 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20248 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20249 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20250 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20251 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20252 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20253 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20254 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20255 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20256 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20257 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20258 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20261 LTCFLAGS='$LTCFLAGS'
20262 compiler='$compiler_DEFAULT'
20264 # Quote evaled strings.
20276 deplibs_check_method \
20285 lt_cv_sys_global_symbol_pipe \
20286 lt_cv_sys_global_symbol_to_cdecl \
20287 lt_cv_sys_global_symbol_to_c_name_address \
20288 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20291 lt_prog_compiler_no_builtin_flag \
20292 lt_prog_compiler_wl \
20293 lt_prog_compiler_pic \
20294 lt_prog_compiler_static \
20295 lt_cv_prog_compiler_c_o \
20303 export_dynamic_flag_spec \
20304 whole_archive_flag_spec \
20305 compiler_needs_object \
20307 allow_undefined_flag \
20308 no_undefined_flag \
20309 hardcode_libdir_flag_spec \
20310 hardcode_libdir_flag_spec_ld \
20311 hardcode_libdir_separator \
20316 variables_saved_for_relink \
20318 library_names_spec \
20323 compiler_lib_search_dirs \
20328 compiler_lib_search_path \
20331 lt_prog_compiler_no_builtin_flag_CXX \
20332 lt_prog_compiler_wl_CXX \
20333 lt_prog_compiler_pic_CXX \
20334 lt_prog_compiler_static_CXX \
20335 lt_cv_prog_compiler_c_o_CXX \
20336 export_dynamic_flag_spec_CXX \
20337 whole_archive_flag_spec_CXX \
20338 compiler_needs_object_CXX \
20340 allow_undefined_flag_CXX \
20341 no_undefined_flag_CXX \
20342 hardcode_libdir_flag_spec_CXX \
20343 hardcode_libdir_flag_spec_ld_CXX \
20344 hardcode_libdir_separator_CXX \
20345 fix_srcfile_path_CXX \
20346 exclude_expsyms_CXX \
20347 include_expsyms_CXX \
20348 file_list_spec_CXX \
20349 compiler_lib_search_dirs_CXX \
20350 predep_objects_CXX \
20351 postdep_objects_CXX \
20354 compiler_lib_search_path_CXX; do
20355 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20356 *[\\\\\\\`\\"\\\$]*)
20357 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20360 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20365 # Double-quote double-evaled strings.
20366 for var in reload_cmds \
20367 old_postinstall_cmds \
20368 old_postuninstall_cmds \
20370 extract_expsyms_cmds \
20371 old_archive_from_new_cmds \
20372 old_archive_from_expsyms_cmds \
20374 archive_expsym_cmds \
20376 module_expsym_cmds \
20377 export_symbols_cmds \
20380 postuninstall_cmds \
20382 sys_lib_search_path_spec \
20383 sys_lib_dlsearch_path_spec \
20384 old_archive_cmds_CXX \
20385 old_archive_from_new_cmds_CXX \
20386 old_archive_from_expsyms_cmds_CXX \
20388 archive_expsym_cmds_CXX \
20390 module_expsym_cmds_CXX \
20391 export_symbols_cmds_CXX \
20392 prelink_cmds_CXX; do
20393 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20394 *[\\\\\\\`\\"\\\$]*)
20395 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20398 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20403 # Fix-up fallback echo if it was mangled by the above quoting rules.
20405 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20409 ac_aux_dir='$ac_aux_dir'
20410 xsi_shell='$xsi_shell'
20411 lt_shell_append='$lt_shell_append'
20413 # See if we are running on zsh, and set the options which allow our
20414 # commands through without removal of \ escapes INIT.
20415 if test -n "\${ZSH_VERSION+set}" ; then
20416 setopt NO_GLOB_SUBST
20422 TIMESTAMP='$TIMESTAMP'
20433 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20435 # Handling of arguments.
20436 for ac_config_target
in $ac_config_targets
20438 case $ac_config_target in
20439 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20440 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20441 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
20443 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20448 # If the user did not use the arguments to specify the items to instantiate,
20449 # then the envvar interface is used. Set only those that are not.
20450 # We use the long form for the default assignment because of an extremely
20451 # bizarre bug on SunOS 4.1.3.
20452 if $ac_need_defaults; then
20453 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20454 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20457 # Have a temporary directory for convenience. Make it in the build tree
20458 # simply because there is no reason against having it here, and in addition,
20459 # creating and moving files from /tmp can sometimes cause problems.
20460 # Hook for its removal unless debugging.
20461 # Note that there is a small window in which the directory will not be cleaned:
20462 # after its creation but before its name has been assigned to `$tmp'.
20466 trap 'exit_status=$?
20467 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20469 trap 'as_fn_exit 1' 1 2 13 15
20471 # Create a (secure) tmp directory for tmp files.
20474 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20475 test -n "$tmp" && test -d "$tmp"
20478 tmp
=.
/conf$$
-$RANDOM
20479 (umask 077 && mkdir "$tmp")
20480 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
20482 # Set up the scripts for CONFIG_FILES section.
20483 # No need to generate them if there are no CONFIG_FILES.
20484 # This happens for instance with `./config.status config.h'.
20485 if test -n "$CONFIG_FILES"; then
20488 ac_cr
=`echo X | tr X '\015'`
20489 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20490 # But we know of no other shell where ac_cr would be empty at this
20491 # point, so we can use a bashism as a fallback.
20492 if test "x$ac_cr" = x
; then
20493 eval ac_cr
=\$
\'\\r
\'
20495 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20496 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20499 ac_cs_awk_cr
=$ac_cr
20502 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20507 echo "cat >conf$$subs.awk <<_ACEOF" &&
20508 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20510 } >conf$$subs.sh ||
20511 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20512 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20514 for ac_last_try in false false false false false :; do
20515 . ./conf$$subs.sh ||
20516 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20518 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20519 if test $ac_delim_n = $ac_delim_num; then
20521 elif $ac_last_try; then
20522 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20524 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20527 rm -f conf$$subs.sh
20529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20530 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20534 s/^/S["/; s
/!.
*/"]=/
20544 s/\(.\{148\}\)..*/\1/
20546 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20551 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20558 s/\(.\{148\}\)..*/\1/
20560 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20564 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20569 ' <conf$$subs.awk | sed '
20574 ' >>$CONFIG_STATUS || ac_write_fail=1
20575 rm -f conf$$subs.awk
20576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20578 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20579 for (key in S) S_is_set[key] = 1
20585 nfields = split(line, field, "@
")
20587 len = length(field[1])
20588 for (i = 2; i < nfields; i++) {
20590 keylen = length(key)
20591 if (S_is_set[key]) {
20593 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20594 len += length(value) + length(field[++i])
20605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20606 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20607 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20610 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20611 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
20614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20616 # trailing colons and then remove the whole line if VPATH becomes empty
20617 # (actually we leave an empty line to preserve line numbers).
20618 if test "x
$srcdir" = x.; then
20619 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20620 s/:*\$(srcdir):*/:/
20621 s/:*\${srcdir}:*/:/
20623 s/^\([^=]*=[ ]*\):*/\1/
20629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20630 fi # test -n "$CONFIG_FILES"
20633 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
20638 :[FHLC]) ac_mode=$ac_tag; continue;;
20640 case $ac_mode$ac_tag in
20642 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
20643 :[FH]-) ac_tag=-:-;;
20644 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20661 -) ac_f="$tmp/stdin";;
20662 *) # Look for the file first in the build tree, then in the source tree
20663 # (if the path is not absolute). The absolute path cannot be DOS-style,
20664 # because $ac_f cannot contain `:'.
20668 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20670 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20672 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
20673 as_fn_append ac_file_inputs " '$ac_f'"
20676 # Let's still pretend it is `configure' which instantiates (i.e., don't
20677 # use $as_me), people would be surprised to read:
20678 # /* config.h. Generated by config.status. */
20679 configure_input='Generated from '`
20680 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20682 if test x"$ac_file" != x-; then
20683 configure_input="$ac_file.
$configure_input"
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
20685 $as_echo "$as_me: creating
$ac_file" >&6;}
20687 # Neutralize special characters interpreted by sed in replacement strings.
20688 case $configure_input in #(
20689 *\&* | *\|* | *\\* )
20690 ac_sed_conf_input=`$as_echo "$configure_input" |
20691 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20692 *) ac_sed_conf_input=$configure_input;;
20696 *:-:* | *:-) cat >"$tmp/stdin
" \
20697 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
20702 ac_dir=`$as_dirname -- "$ac_file" ||
20703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20704 X"$ac_file" : 'X\(//\)[^/]' \| \
20705 X"$ac_file" : 'X\(//\)$' \| \
20706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20707 $as_echo X"$ac_file" |
20708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20712 /^X\(\/\/\)[^/].*/{
20725 as_dir="$ac_dir"; as_fn_mkdir_p
20729 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20731 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20732 # A "..
" for each directory in $ac_dir_suffix.
20733 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20734 case $ac_top_builddir_sub in
20735 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20736 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20739 ac_abs_top_builddir=$ac_pwd
20740 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20741 # for backward compatibility:
20742 ac_top_builddir=$ac_top_build_prefix
20745 .) # We are building in place.
20747 ac_top_srcdir=$ac_top_builddir_sub
20748 ac_abs_top_srcdir=$ac_pwd ;;
20749 [\\/]* | ?:[\\/]* ) # Absolute name.
20750 ac_srcdir=$srcdir$ac_dir_suffix;
20751 ac_top_srcdir=$srcdir
20752 ac_abs_top_srcdir=$srcdir ;;
20753 *) # Relative name.
20754 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20755 ac_top_srcdir=$ac_top_build_prefix$srcdir
20756 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20758 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20768 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20769 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20774 # If the template does not know about datarootdir, expand it.
20775 # FIXME: This hack should be removed a few years after 2.60.
20776 ac_datarootdir_hack=; ac_datarootdir_seen=
20787 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
20788 *datarootdir*) ac_datarootdir_seen=yes;;
20789 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
20791 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
20793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20794 ac_datarootdir_hack='
20795 s&@datadir@&$datadir&g
20796 s&@docdir@&$docdir&g
20797 s&@infodir@&$infodir&g
20798 s&@localedir@&$localedir&g
20799 s&@mandir@&$mandir&g
20800 s&\\\${datarootdir}&$datarootdir&g' ;;
20804 # Neutralize VPATH when `$srcdir' = `.'.
20805 # Shell code in configure.ac might set extrasub.
20806 # FIXME: do we really want to maintain this feature?
20807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20808 ac_sed_extra="$ac_vpsub
20811 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20813 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
20814 s
|@configure_input@
|$ac_sed_conf_input|;t t
20815 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
20816 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
20817 s
&@srcdir@
&$ac_srcdir&;t t
20818 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
20819 s
&@top_srcdir@
&$ac_top_srcdir&;t t
20820 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
20821 s
&@builddir@
&$ac_builddir&;t t
20822 s
&@abs_builddir@
&$ac_abs_builddir&;t t
20823 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
20824 s
&@INSTALL@
&$ac_INSTALL&;t t
20825 $ac_datarootdir_hack
20827 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
20828 || as_fn_error "could not create
$ac_file" "$LINENO" 5
20830 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20831 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
20832 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
20834 which seems to be undefined. Please make sure it is defined." >&5
20835 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
20836 which seems to be undefined. Please make sure it is defined." >&2;}
20840 -) cat "$tmp/out" && rm -f "$tmp/out";;
20841 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
20843 || as_fn_error "could not create $ac_file" "$LINENO" 5
20847 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20848 $as_echo "$as_me: executing $ac_file commands" >&6;}
20853 case $ac_file$ac_mode in
20856 # See if we are running on zsh, and set the options which allow our
20857 # commands through without removal of \ escapes.
20858 if test -n "${ZSH_VERSION+set}" ; then
20859 setopt NO_GLOB_SUBST
20862 cfgfile="${ofile}T"
20863 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20866 cat <<_LT_EOF >> "$cfgfile"
20869 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
20870 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20872 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
20874 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20875 # 2006, 2007, 2008 Free Software Foundation, Inc.
20876 # Written by Gordon Matzigkeit, 1996
20878 # This file is part of GNU Libtool.
20880 # GNU Libtool is free software; you can redistribute it and/or
20881 # modify it under the terms of the GNU General Public License as
20882 # published by the Free Software Foundation; either version 2 of
20883 # the License, or (at your option) any later version.
20885 # As a special exception to the GNU General Public License,
20886 # if you distribute this file as part of a program or library that
20887 # is built using GNU Libtool, you may include this file under the
20888 # same distribution terms that you use for the rest of that program.
20890 # GNU Libtool is distributed in the hope that it will be useful,
20891 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20893 # GNU General Public License for more details.
20895 # You should have received a copy of the GNU General Public License
20896 # along with GNU Libtool; see the file COPYING. If not, a copy
20897 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20898 # obtained by writing to the Free Software Foundation, Inc.,
20899 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20902 # The names of the tagged configurations supported by this script.
20903 available_tags="CXX "
20905 # ### BEGIN LIBTOOL CONFIG
20907 # Which release of libtool.m4 was used?
20908 macro_version=$macro_version
20909 macro_revision=$macro_revision
20911 # Whether or not to build static libraries.
20912 build_old_libs=$enable_static
20914 # Whether or not to build shared libraries.
20915 build_libtool_libs=$enable_shared
20917 # What type of objects to build.
20920 # Whether or not to optimize for fast installation.
20921 fast_install=$enable_fast_install
20924 host_alias=$host_alias
20928 # The build system.
20929 build_alias=$build_alias
20933 # A sed program that does not truncate output.
20936 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
20937 Xsed="\$SED -e 1s/^X//"
20939 # A grep program that handles long lines.
20945 # A literal string matcher.
20948 # A BSD- or MS-compatible name lister.
20951 # Whether we need soft or hard links.
20954 # What is the maximum length of a command?
20955 max_cmd_len=$max_cmd_len
20957 # Object file suffix (normally "o").
20960 # Executable file suffix (normally "").
20963 # whether the shell understands "unset".
20966 # turn spaces into newlines.
20969 # turn newlines into spaces.
20972 # How to create reloadable object files.
20973 reload_flag=$lt_reload_flag
20974 reload_cmds=$lt_reload_cmds
20976 # An object symbol dumper.
20977 OBJDUMP=$lt_OBJDUMP
20979 # Method to check whether dependent libraries are shared objects.
20980 deplibs_check_method=$lt_deplibs_check_method
20982 # Command to use when deplibs_check_method == "file_magic".
20983 file_magic_cmd=$lt_file_magic_cmd
20987 AR_FLAGS=$lt_AR_FLAGS
20989 # A symbol stripping program.
20992 # Commands used to install an old-style archive.
20994 old_postinstall_cmds=$lt_old_postinstall_cmds
20995 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21000 # LTCC compiler flags.
21001 LTCFLAGS=$lt_CFLAGS
21003 # Take the output of nm and produce a listing of raw symbols and C names.
21004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21006 # Transform the output of nm in a proper C declaration.
21007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21009 # Transform the output of nm in a C name address pair.
21010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21012 # Transform the output of nm in a C name address pair when lib prefix is needed.
21013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21015 # The name of the directory that contains temporary libtool files.
21018 # Shell to use when invoking shell scripts.
21021 # An echo program that does not interpret backslashes.
21024 # Used to examine libraries when file_magic_cmd begins with "file".
21025 MAGIC_CMD=$MAGIC_CMD
21027 # Must we lock files when doing compilation?
21028 need_locks=$lt_need_locks
21030 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21031 DSYMUTIL=$lt_DSYMUTIL
21033 # Tool to change global to local symbols on Mac OS X.
21036 # Tool to manipulate fat objects and archives on Mac OS X.
21039 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21042 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21043 OTOOL64=$lt_OTOOL64
21045 # Old archive suffix (normally "a").
21048 # Shared library suffix (normally ".so").
21049 shrext_cmds=$lt_shrext_cmds
21051 # The commands to extract the exported symbol list from a shared archive.
21052 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21054 # Variables whose values should be saved in libtool wrapper scripts and
21055 # restored at link time.
21056 variables_saved_for_relink=$lt_variables_saved_for_relink
21058 # Do we need the "lib" prefix for modules?
21059 need_lib_prefix=$need_lib_prefix
21061 # Do we need a version for libraries?
21062 need_version=$need_version
21064 # Library versioning type.
21065 version_type=$version_type
21067 # Shared library runtime path variable.
21068 runpath_var=$runpath_var
21070 # Shared library path variable.
21071 shlibpath_var=$shlibpath_var
21073 # Is shlibpath searched before the hard-coded library search path?
21074 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21076 # Format of library name prefix.
21077 libname_spec=$lt_libname_spec
21079 # List of archive names. First name is the real one, the rest are links.
21080 # The last name is the one that the linker finds with -lNAME
21081 library_names_spec=$lt_library_names_spec
21083 # The coded name of the library, if different from the real name.
21084 soname_spec=$lt_soname_spec
21086 # Command to use after installation of a shared archive.
21087 postinstall_cmds=$lt_postinstall_cmds
21089 # Command to use after uninstallation of a shared archive.
21090 postuninstall_cmds=$lt_postuninstall_cmds
21092 # Commands used to finish a libtool library installation in a directory.
21093 finish_cmds=$lt_finish_cmds
21095 # As "finish_cmds", except a single script fragment to be evaled but
21097 finish_eval=$lt_finish_eval
21099 # Whether we should hardcode library paths into libraries.
21100 hardcode_into_libs=$hardcode_into_libs
21102 # Compile-time system search path for libraries.
21103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21105 # Run-time system search path for libraries.
21106 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21108 # Whether dlopen is supported.
21109 dlopen_support=$enable_dlopen
21111 # Whether dlopen of programs is supported.
21112 dlopen_self=$enable_dlopen_self
21114 # Whether dlopen of statically linked programs is supported.
21115 dlopen_self_static=$enable_dlopen_self_static
21117 # Commands to strip libraries.
21118 old_striplib=$lt_old_striplib
21119 striplib=$lt_striplib
21122 # The linker used to build libraries.
21125 # Commands used to build an old-style archive.
21126 old_archive_cmds=$lt_old_archive_cmds
21128 # A language specific compiler.
21131 # Is the compiler the GNU compiler?
21134 # Compiler flag to turn off builtin functions.
21135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21137 # How to pass a linker flag through the compiler.
21138 wl=$lt_lt_prog_compiler_wl
21140 # Additional compiler flags for building library objects.
21141 pic_flag=$lt_lt_prog_compiler_pic
21143 # Compiler flag to prevent dynamic linking.
21144 link_static_flag=$lt_lt_prog_compiler_static
21146 # Does compiler simultaneously support -c and -o options?
21147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21149 # Whether or not to add -lc for building shared libraries.
21150 build_libtool_need_lc=$archive_cmds_need_lc
21152 # Whether or not to disallow shared libs when runtime libs are static.
21153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21155 # Compiler flag to allow reflexive dlopens.
21156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21158 # Compiler flag to generate shared objects directly from archives.
21159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21161 # Whether the compiler copes with passing no objects directly.
21162 compiler_needs_object=$lt_compiler_needs_object
21164 # Create an old-style archive from a shared archive.
21165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21167 # Create a temporary old-style archive to link instead of a shared archive.
21168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21170 # Commands used to build a shared archive.
21171 archive_cmds=$lt_archive_cmds
21172 archive_expsym_cmds=$lt_archive_expsym_cmds
21174 # Commands used to build a loadable module if different from building
21175 # a shared archive.
21176 module_cmds=$lt_module_cmds
21177 module_expsym_cmds=$lt_module_expsym_cmds
21179 # Whether we are building with GNU ld or not.
21180 with_gnu_ld=$lt_with_gnu_ld
21182 # Flag that allows shared libraries with undefined symbols to be built.
21183 allow_undefined_flag=$lt_allow_undefined_flag
21185 # Flag that enforces no undefined symbols.
21186 no_undefined_flag=$lt_no_undefined_flag
21188 # Flag to hardcode \$libdir into a binary during linking.
21189 # This must work even if \$libdir does not exist
21190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21192 # If ld is used when linking, flag to hardcode \$libdir into a binary
21193 # during linking. This must work even if \$libdir does not exist.
21194 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21196 # Whether we need a single "-rpath" flag with a separated argument.
21197 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21200 # DIR into the resulting binary.
21201 hardcode_direct=$hardcode_direct
21203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21204 # DIR into the resulting binary and the resulting library dependency is
21205 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21206 # library is relocated.
21207 hardcode_direct_absolute=$hardcode_direct_absolute
21209 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21210 # into the resulting binary.
21211 hardcode_minus_L=$hardcode_minus_L
21213 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21214 # into the resulting binary.
21215 hardcode_shlibpath_var=$hardcode_shlibpath_var
21217 # Set to "yes" if building a shared library automatically hardcodes DIR
21218 # into the library and all subsequent libraries and executables linked
21220 hardcode_automatic=$hardcode_automatic
21222 # Set to yes if linker adds runtime paths of dependent libraries
21223 # to runtime path list.
21224 inherit_rpath=$inherit_rpath
21226 # Whether libtool must link a program against all its dependency libraries.
21227 link_all_deplibs=$link_all_deplibs
21229 # Fix the shell variable \$srcfile for the compiler.
21230 fix_srcfile_path=$lt_fix_srcfile_path
21232 # Set to "yes" if exported symbols are required.
21233 always_export_symbols=$always_export_symbols
21235 # The commands to list exported symbols.
21236 export_symbols_cmds=$lt_export_symbols_cmds
21238 # Symbols that should not be listed in the preloaded symbols.
21239 exclude_expsyms=$lt_exclude_expsyms
21241 # Symbols that must always be exported.
21242 include_expsyms=$lt_include_expsyms
21244 # Commands necessary for linking programs (against libraries) with templates.
21245 prelink_cmds=$lt_prelink_cmds
21247 # Specify filename containing input files.
21248 file_list_spec=$lt_file_list_spec
21250 # How to hardcode a shared library path into an executable.
21251 hardcode_action=$hardcode_action
21253 # The directories searched by this compiler when creating a shared library.
21254 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21256 # Dependencies to place before and after the objects being linked to
21257 # create a shared library.
21258 predep_objects=$lt_predep_objects
21259 postdep_objects=$lt_postdep_objects
21260 predeps=$lt_predeps
21261 postdeps=$lt_postdeps
21263 # The library search path used internally by the compiler when linking
21264 # a shared library.
21265 compiler_lib_search_path=$lt_compiler_lib_search_path
21267 # ### END LIBTOOL CONFIG
21273 cat <<\_LT_EOF >> "$cfgfile"
21274 # AIX sometimes has problems with the GCC collect2 program. For some
21275 # reason, if we set the COLLECT_NAMES environment variable, the problems
21276 # vanish in a puff of smoke.
21277 if test "X${COLLECT_NAMES+set}" != Xset; then
21279 export COLLECT_NAMES
21286 ltmain="$ac_aux_dir/ltmain.sh"
21289 # We use sed instead of cat because bash on DJGPP gets confused if
21290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21291 # text mode, it properly converts lines to CR/LF. This bash problem
21292 # is reportedly fixed, but why not run on old versions too?
21293 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21294 || (rm -f "$cfgfile"; exit 1)
21298 cat << \_LT_EOF
>> "$cfgfile"
21300 # func_dirname file append nondir_replacement
21301 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21302 # otherwise set result to NONDIR_REPLACEMENT.
21306 */*) func_dirname_result
="${1%/*}${2}" ;;
21307 * ) func_dirname_result
="${3}" ;;
21311 # func_basename file
21314 func_basename_result
="${1##*/}"
21317 # func_dirname_and_basename file append nondir_replacement
21318 # perform func_basename and func_dirname in a single function
21320 # dirname: Compute the dirname of FILE. If nonempty,
21321 # add APPEND to the result, otherwise set result
21322 # to NONDIR_REPLACEMENT.
21323 # value returned in "$func_dirname_result"
21324 # basename: Compute filename of FILE.
21325 # value retuned in "$func_basename_result"
21326 # Implementation must be kept synchronized with func_dirname
21327 # and func_basename. For efficiency, we do not delegate to
21328 # those functions but instead duplicate the functionality here.
21329 func_dirname_and_basename
()
21332 */*) func_dirname_result
="${1%/*}${2}" ;;
21333 * ) func_dirname_result
="${3}" ;;
21335 func_basename_result
="${1##*/}"
21338 # func_stripname prefix suffix name
21339 # strip PREFIX and SUFFIX off of NAME.
21340 # PREFIX and SUFFIX must not contain globbing or regex special
21341 # characters, hashes, percent signs, but SUFFIX may contain a leading
21342 # dot (in which case that matches only a dot).
21345 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21346 # positional parameters, so assign one to ordinary parameter first.
21347 func_stripname_result
=${3}
21348 func_stripname_result
=${func_stripname_result#"${1}"}
21349 func_stripname_result
=${func_stripname_result%"${2}"}
21355 func_opt_split_opt
=${1%%=*}
21356 func_opt_split_arg
=${1#*=}
21363 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21364 *) func_lo2o_result
=${1} ;;
21368 # func_xform libobj-or-source
21371 func_xform_result
=${1%.*}.lo
21374 # func_arith arithmetic-term...
21377 func_arith_result
=$(( $* ))
21381 # STRING may not start with a hyphen.
21384 func_len_result
=${#1}
21389 *) # Bourne compatible functions.
21390 cat << \_LT_EOF
>> "$cfgfile"
21392 # func_dirname file append nondir_replacement
21393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21394 # otherwise set result to NONDIR_REPLACEMENT.
21397 # Extract subdirectory from the argument.
21398 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21399 if test "X$func_dirname_result" = "X${1}"; then
21400 func_dirname_result
="${3}"
21402 func_dirname_result
="$func_dirname_result${2}"
21406 # func_basename file
21409 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21413 # func_stripname prefix suffix name
21414 # strip PREFIX and SUFFIX off of NAME.
21415 # PREFIX and SUFFIX must not contain globbing or regex special
21416 # characters, hashes, percent signs, but SUFFIX may contain a leading
21417 # dot (in which case that matches only a dot).
21418 # func_strip_suffix prefix name
21422 .
*) func_stripname_result
=`$ECHO "X${3}" \
21423 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21424 *) func_stripname_result
=`$ECHO "X${3}" \
21425 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21430 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21431 my_sed_long_arg
='1s/^-[^=]*=//'
21436 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21437 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21443 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21446 # func_xform libobj-or-source
21449 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21452 # func_arith arithmetic-term...
21455 func_arith_result
=`expr "$@"`
21459 # STRING may not start with a hyphen.
21462 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21468 case $lt_shell_append in
21470 cat << \_LT_EOF
>> "$cfgfile"
21472 # func_append var value
21473 # Append VALUE to the end of shell variable VAR.
21481 cat << \_LT_EOF
>> "$cfgfile"
21483 # func_append var value
21484 # Append VALUE to the end of shell variable VAR.
21495 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21496 || (rm -f "$cfgfile"; exit 1)
21498 mv -f "$cfgfile" "$ofile" ||
21499 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21503 cat <<_LT_EOF >> "$ofile"
21505 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21507 # The linker used to build libraries.
21510 # Commands used to build an old-style archive.
21511 old_archive_cmds=$lt_old_archive_cmds_CXX
21513 # A language specific compiler.
21514 CC=$lt_compiler_CXX
21516 # Is the compiler the GNU compiler?
21519 # Compiler flag to turn off builtin functions.
21520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21522 # How to pass a linker flag through the compiler.
21523 wl=$lt_lt_prog_compiler_wl_CXX
21525 # Additional compiler flags for building library objects.
21526 pic_flag=$lt_lt_prog_compiler_pic_CXX
21528 # Compiler flag to prevent dynamic linking.
21529 link_static_flag=$lt_lt_prog_compiler_static_CXX
21531 # Does compiler simultaneously support -c and -o options?
21532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21534 # Whether or not to add -lc for building shared libraries.
21535 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21537 # Whether or not to disallow shared libs when runtime libs are static.
21538 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21540 # Compiler flag to allow reflexive dlopens.
21541 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21543 # Compiler flag to generate shared objects directly from archives.
21544 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21546 # Whether the compiler copes with passing no objects directly.
21547 compiler_needs_object=$lt_compiler_needs_object_CXX
21549 # Create an old-style archive from a shared archive.
21550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21552 # Create a temporary old-style archive to link instead of a shared archive.
21553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21555 # Commands used to build a shared archive.
21556 archive_cmds=$lt_archive_cmds_CXX
21557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21559 # Commands used to build a loadable module if different from building
21560 # a shared archive.
21561 module_cmds=$lt_module_cmds_CXX
21562 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21564 # Whether we are building with GNU ld or not.
21565 with_gnu_ld=$lt_with_gnu_ld_CXX
21567 # Flag that allows shared libraries with undefined symbols to be built.
21568 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21570 # Flag that enforces no undefined symbols.
21571 no_undefined_flag=$lt_no_undefined_flag_CXX
21573 # Flag to hardcode \$libdir into a binary during linking.
21574 # This must work even if \$libdir does not exist
21575 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21577 # If ld is used when linking, flag to hardcode \$libdir into a binary
21578 # during linking. This must work even if \$libdir does not exist.
21579 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21581 # Whether we need a single "-rpath" flag with a separated argument.
21582 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21585 # DIR into the resulting binary.
21586 hardcode_direct=$hardcode_direct_CXX
21588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21589 # DIR into the resulting binary and the resulting library dependency is
21590 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21591 # library is relocated.
21592 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21594 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21595 # into the resulting binary.
21596 hardcode_minus_L=$hardcode_minus_L_CXX
21598 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21599 # into the resulting binary.
21600 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21602 # Set to "yes" if building a shared library automatically hardcodes DIR
21603 # into the library and all subsequent libraries and executables linked
21605 hardcode_automatic=$hardcode_automatic_CXX
21607 # Set to yes if linker adds runtime paths of dependent libraries
21608 # to runtime path list.
21609 inherit_rpath=$inherit_rpath_CXX
21611 # Whether libtool must link a program against all its dependency libraries.
21612 link_all_deplibs=$link_all_deplibs_CXX
21614 # Fix the shell variable \$srcfile for the compiler.
21615 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21617 # Set to "yes" if exported symbols are required.
21618 always_export_symbols=$always_export_symbols_CXX
21620 # The commands to list exported symbols.
21621 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21623 # Symbols that should not be listed in the preloaded symbols.
21624 exclude_expsyms=$lt_exclude_expsyms_CXX
21626 # Symbols that must always be exported.
21627 include_expsyms=$lt_include_expsyms_CXX
21629 # Commands necessary for linking programs (against libraries) with templates.
21630 prelink_cmds=$lt_prelink_cmds_CXX
21632 # Specify filename containing input files.
21633 file_list_spec=$lt_file_list_spec_CXX
21635 # How to hardcode a shared library path into an executable.
21636 hardcode_action=$hardcode_action_CXX
21638 # The directories searched by this compiler when creating a shared library.
21639 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21641 # Dependencies to place before and after the objects being linked to
21642 # create a shared library.
21643 predep_objects=$lt_predep_objects_CXX
21644 postdep_objects=$lt_postdep_objects_CXX
21645 predeps=$lt_predeps_CXX
21646 postdeps=$lt_postdeps_CXX
21648 # The library search path used internally by the compiler when linking
21649 # a shared library.
21650 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21652 # ### END LIBTOOL TAG CONFIG: CXX
21663 ac_clean_files
=$ac_clean_files_save
21665 test $ac_write_fail = 0 ||
21666 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21669 # configure is writing to config.log, and then calls config.status.
21670 # config.status does its own redirection, appending to config.log.
21671 # Unfortunately, on DOS this fails, as config.log is still kept open
21672 # by configure, so config.status won't be able to write to it; its
21673 # output is simply discarded. So we exec the FD to /dev/null,
21674 # effectively closing config.log, so it can be properly (re)opened and
21675 # appended to by config.status. When coming back to configure, we
21676 # need to make the FD available again.
21677 if test "$no_create" != yes; then
21679 ac_config_status_args
=
21680 test "$silent" = yes &&
21681 ac_config_status_args
="$ac_config_status_args --quiet"
21683 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21685 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21686 # would make configure fail if this is the last instruction.
21687 $ac_cs_success || as_fn_exit $?
21689 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21691 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}