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
851 program_transform_name
864 enable_option_checking
871 enable_universal_binary
878 ac_precious_vars
='build_alias
904 # Initialize some variables set by options.
906 ac_init_version
=false
907 ac_unrecognized_opts
=
909 # The variables have the same names as the options, with
910 # dashes changed to underlines.
918 program_transform_name
=s
,x
,x
,
926 # Installation directory options.
927 # These are left unexpanded so users can "make install exec_prefix=/foo"
928 # and all the variables that are supposed to be based on exec_prefix
929 # by default will actually change.
930 # Use braces instead of parens because sh, perl, etc. also accept them.
931 # (The list follows the same order as the GNU Coding Standards.)
932 bindir
='${exec_prefix}/bin'
933 sbindir
='${exec_prefix}/sbin'
934 libexecdir
='${exec_prefix}/libexec'
935 datarootdir
='${prefix}/share'
936 datadir
='${datarootdir}'
937 sysconfdir
='${prefix}/etc'
938 sharedstatedir
='${prefix}/com'
939 localstatedir
='${prefix}/var'
940 includedir
='${prefix}/include'
941 oldincludedir
='/usr/include'
942 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
943 infodir
='${datarootdir}/info'
948 libdir
='${exec_prefix}/lib'
949 localedir
='${datarootdir}/locale'
950 mandir
='${datarootdir}/man'
956 # If the previous option needs an argument, assign it.
957 if test -n "$ac_prev"; then
958 eval $ac_prev=\
$ac_option
964 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
968 # Accept the important Cygnus configure options, so we can diagnose typos.
970 case $ac_dashdash$ac_option in
974 -bindir | --bindir | --bindi | --bind | --bin | --bi)
976 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 -build | --build | --buil | --bui | --bu)
980 ac_prev
=build_alias
;;
981 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
982 build_alias
=$ac_optarg ;;
984 -cache-file | --cache-file | --cache-fil | --cache-fi \
985 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
986 ac_prev
=cache_file
;;
987 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
988 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
989 cache_file
=$ac_optarg ;;
992 cache_file
=config.cache
;;
994 -datadir | --datadir | --datadi | --datad)
996 -datadir=* | --datadir=* | --datadi=* | --datad=*)
997 datadir
=$ac_optarg ;;
999 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1000 | --dataroo | --dataro | --datar)
1001 ac_prev
=datarootdir
;;
1002 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1003 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1004 datarootdir
=$ac_optarg ;;
1006 -disable-* | --disable-*)
1007 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1010 as_fn_error
"invalid feature name: $ac_useropt"
1011 ac_useropt_orig
=$ac_useropt
1012 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1015 "enable_
$ac_useropt"
1017 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1018 ac_unrecognized_sep
=', ';;
1020 eval enable_
$ac_useropt=no
;;
1022 -docdir | --docdir | --docdi | --doc | --do)
1024 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1025 docdir
=$ac_optarg ;;
1027 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1029 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1030 dvidir
=$ac_optarg ;;
1032 -enable-* | --enable-*)
1033 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1036 as_fn_error
"invalid feature name: $ac_useropt"
1037 ac_useropt_orig
=$ac_useropt
1038 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_
$ac_useropt"
1043 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1044 ac_unrecognized_sep
=', ';;
1046 eval enable_
$ac_useropt=\
$ac_optarg ;;
1048 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1049 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1050 | --exec | --exe | --ex)
1051 ac_prev
=exec_prefix
;;
1052 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1053 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1054 | --exec=* | --exe=* | --ex=*)
1055 exec_prefix
=$ac_optarg ;;
1057 -gas | --gas | --ga | --g)
1058 # Obsolete; use --with-gas.
1061 -help | --help | --hel | --he | -h)
1062 ac_init_help
=long
;;
1063 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1064 ac_init_help
=recursive
;;
1065 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1066 ac_init_help
=short
;;
1068 -host | --host | --hos | --ho)
1069 ac_prev
=host_alias
;;
1070 -host=* | --host=* | --hos=* | --ho=*)
1071 host_alias
=$ac_optarg ;;
1073 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1075 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1077 htmldir
=$ac_optarg ;;
1079 -includedir | --includedir | --includedi | --included | --include \
1080 | --includ | --inclu | --incl | --inc)
1081 ac_prev
=includedir
;;
1082 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1083 | --includ=* | --inclu=* | --incl=* | --inc=*)
1084 includedir
=$ac_optarg ;;
1086 -infodir | --infodir | --infodi | --infod | --info | --inf)
1088 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1089 infodir
=$ac_optarg ;;
1091 -libdir | --libdir | --libdi | --libd)
1093 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1094 libdir
=$ac_optarg ;;
1096 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1097 | --libexe | --libex | --libe)
1098 ac_prev
=libexecdir
;;
1099 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1100 | --libexe=* | --libex=* | --libe=*)
1101 libexecdir
=$ac_optarg ;;
1103 -localedir | --localedir | --localedi | --localed | --locale)
1104 ac_prev
=localedir
;;
1105 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1106 localedir
=$ac_optarg ;;
1108 -localstatedir | --localstatedir | --localstatedi | --localstated \
1109 | --localstate | --localstat | --localsta | --localst | --locals)
1110 ac_prev
=localstatedir
;;
1111 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1112 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1113 localstatedir
=$ac_optarg ;;
1115 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1117 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1118 mandir
=$ac_optarg ;;
1120 -nfp | --nfp | --nf)
1121 # Obsolete; use --without-fp.
1124 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1125 | --no-cr | --no-c | -n)
1128 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1129 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1133 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1134 | --oldin | --oldi | --old | --ol | --o)
1135 ac_prev
=oldincludedir
;;
1136 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1137 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1138 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1139 oldincludedir
=$ac_optarg ;;
1141 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1143 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1144 prefix
=$ac_optarg ;;
1146 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1147 | --program-pre | --program-pr | --program-p)
1148 ac_prev
=program_prefix
;;
1149 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1150 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1151 program_prefix
=$ac_optarg ;;
1153 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1154 | --program-suf | --program-su | --program-s)
1155 ac_prev
=program_suffix
;;
1156 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1157 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1158 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1168 -program-transform-name=* | --program-transform-name=* \
1169 | --program-transform-nam=* | --program-transform-na=* \
1170 | --program-transform-n=* | --program-transform-=* \
1171 | --program-transform=* | --program-transfor=* \
1172 | --program-transfo=* | --program-transf=* \
1173 | --program-trans=* | --program-tran=* \
1174 | --progr-tra=* | --program-tr=* | --program-t=*)
1175 program_transform_name
=$ac_optarg ;;
1177 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1179 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1180 pdfdir
=$ac_optarg ;;
1182 -psdir | --psdir | --psdi | --psd | --ps)
1184 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1188 | -silent | --silent | --silen | --sile | --sil)
1191 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1193 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1195 sbindir
=$ac_optarg ;;
1197 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1198 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1199 | --sharedst | --shareds | --shared | --share | --shar \
1201 ac_prev
=sharedstatedir
;;
1202 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1203 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1204 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1206 sharedstatedir
=$ac_optarg ;;
1208 -site | --site | --sit)
1210 -site=* | --site=* | --sit=*)
1213 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1215 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1216 srcdir
=$ac_optarg ;;
1218 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1219 | --syscon | --sysco | --sysc | --sys | --sy)
1220 ac_prev
=sysconfdir
;;
1221 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1222 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1223 sysconfdir
=$ac_optarg ;;
1225 -target | --target | --targe | --targ | --tar | --ta | --t)
1226 ac_prev
=target_alias
;;
1227 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1228 target_alias
=$ac_optarg ;;
1230 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 -version | --version | --versio | --versi | --vers | -V)
1234 ac_init_version
=: ;;
1237 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=\
$ac_optarg ;;
1252 -without-* | --without-*)
1253 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1254 # Reject names that are not valid shell variable names.
1255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1256 as_fn_error
"invalid package name: $ac_useropt"
1257 ac_useropt_orig
=$ac_useropt
1258 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259 case $ac_user_opts in
1263 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1264 ac_unrecognized_sep
=', ';;
1266 eval with_
$ac_useropt=no
;;
1269 # Obsolete; use --with-x.
1272 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1273 | --x-incl | --x-inc | --x-in | --x-i)
1274 ac_prev
=x_includes
;;
1275 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1276 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1277 x_includes
=$ac_optarg ;;
1279 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1280 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1281 ac_prev
=x_libraries
;;
1282 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1283 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1284 x_libraries
=$ac_optarg ;;
1286 -*) as_fn_error
"unrecognized option: \`$ac_option'
1287 Try \`$0 --help' for more information."
1291 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1292 # Reject names that are not valid shell variable names.
1293 case $ac_envvar in #(
1294 '' | [0-9]* | *[!_$as_cr_alnum]* )
1295 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1297 eval $ac_envvar=\
$ac_optarg
1298 export $ac_envvar ;;
1301 # FIXME: should be removed in autoconf 3.0.
1302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1305 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1311 if test -n "$ac_prev"; then
1312 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1313 as_fn_error
"missing argument to $ac_option"
1316 if test -n "$ac_unrecognized_opts"; then
1317 case $enable_option_checking in
1319 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1324 # Check all directory arguments for consistency.
1325 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1326 datadir sysconfdir sharedstatedir localstatedir includedir \
1327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1328 libdir localedir mandir
1330 eval ac_val
=\$
$ac_var
1331 # Remove trailing slashes.
1334 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1335 eval $ac_var=\
$ac_val;;
1337 # Be sure to have absolute directory names.
1339 [\\/$
]* | ?
:[\\/]* ) continue;;
1340 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1342 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1345 # There might be people who depend on the old broken behavior: `$host'
1346 # used to hold the argument of --host etc.
1347 # FIXME: To remove some day.
1350 target
=$target_alias
1352 # FIXME: To remove some day.
1353 if test "x$host_alias" != x
; then
1354 if test "x$build_alias" = x
; then
1355 cross_compiling
=maybe
1356 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1357 If a cross compiler is detected then cross compile mode will be used." >&2
1358 elif test "x$build_alias" != "x$host_alias"; then
1364 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1366 test "$silent" = yes && exec 6>/dev
/null
1369 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1370 ac_ls_di
=`ls -di .` &&
1371 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1372 as_fn_error
"working directory cannot be determined"
1373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1374 as_fn_error
"pwd does not report name of working directory"
1377 # Find the source files, if location was not specified.
1378 if test -z "$srcdir"; then
1379 ac_srcdir_defaulted
=yes
1380 # Try the directory containing this script, then the parent directory.
1381 ac_confdir
=`$as_dirname -- "$as_myself" ||
1382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1383 X"$as_myself" : 'X\(//\)[^/]' \| \
1384 X"$as_myself" : 'X\(//\)$' \| \
1385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1386 $as_echo X"$as_myself" |
1387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1409 ac_srcdir_defaulted
=no
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1413 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1415 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1419 # When building in place, set srcdir=.
1420 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 # Remove unnecessary trailing slashes from srcdir.
1424 # Double slashes in file names in object file debugging info
1425 # mess up M-x gdb in Emacs.
1427 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1429 for ac_var
in $ac_precious_vars; do
1430 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1431 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1432 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1433 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1437 # Report the --help message.
1439 if test "$ac_init_help" = "long"; then
1440 # Omit some internal or obsolete options to make the list less imposing.
1441 # This message is too long to be a string in the A/UX 3.1 sh.
1443 \`configure' configures Cycript 0.9 to adapt to many kinds of systems.
1445 Usage: $0 [OPTION]... [VAR=VALUE]...
1447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1448 VAR=VALUE. See below for descriptions of some of the useful variables.
1450 Defaults for the options are specified in brackets.
1453 -h, --help display this help and exit
1454 --help=short display options specific to this package
1455 --help=recursive display the short help of all the included packages
1456 -V, --version display version information and exit
1457 -q, --quiet, --silent do not print \`checking...' messages
1458 --cache-file=FILE cache test results in FILE [disabled]
1459 -C, --config-cache alias for \`--cache-file=config.cache'
1460 -n, --no-create do not create output files
1461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1463 Installation directories:
1464 --prefix=PREFIX install architecture-independent files in PREFIX
1465 [$ac_default_prefix]
1466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 By default, \`make install' will install all the files in
1470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1472 for instance \`--prefix=\$HOME'.
1474 For better control, use the options below.
1476 Fine tuning of the installation directories:
1477 --bindir=DIR user executables [EPREFIX/bin]
1478 --sbindir=DIR system admin executables [EPREFIX/sbin]
1479 --libexecdir=DIR program executables [EPREFIX/libexec]
1480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1483 --libdir=DIR object code libraries [EPREFIX/lib]
1484 --includedir=DIR C header files [PREFIX/include]
1485 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1486 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1487 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1488 --infodir=DIR info documentation [DATAROOTDIR/info]
1489 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1490 --mandir=DIR man documentation [DATAROOTDIR/man]
1491 --docdir=DIR documentation root [DATAROOTDIR/doc/cycript]
1492 --htmldir=DIR html documentation [DOCDIR]
1493 --dvidir=DIR dvi documentation [DOCDIR]
1494 --pdfdir=DIR pdf documentation [DOCDIR]
1495 --psdir=DIR ps documentation [DOCDIR]
1501 --build=BUILD configure
for building on BUILD
[guessed
]
1502 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short
| recursive
) echo "Configuration of Cycript 0.9:";;
1513 --disable-option-checking ignore unrecognized
--enable/--with options
1514 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1515 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1516 --enable-static[=PKGS
] build static libraries
[default
=no
]
1517 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1518 --enable-fast-install[=PKGS
]
1519 optimize
for fast installation
[default
=yes]
1520 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1521 --disable-universal-binary
1522 do not build with universal binary support on Darwin
1523 --enable-javascript[=ENGINE
]
1524 use a JavaScript runtime
(currently the only
1525 available option
for ENGINE is JavaScriptCore
)
1527 --disable-rpath do not hardcode runtime library paths
1530 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1531 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1532 --with-pic try to use only PIC
/non
-PIC objects
[default
=use
1534 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1535 --with-frameworks=DIRS add to DIRS
(space separated
) to the Darwin include
1536 path
for frameworks with
-F
1537 --with-apr=PATH prefix
for installed APR or the full path to
1539 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1540 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1541 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1543 Some influential environment variables:
1544 CC C compiler command
1545 CFLAGS C compiler flags
1546 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1547 nonstandard directory <lib dir>
1548 LIBS libraries to pass to the linker, e.g. -l<library>
1549 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1550 you have headers in a nonstandard directory <include dir>
1552 PKG_CONFIG path to pkg-config utility
1553 BISON GNU Project parser generator (yacc replacement)
1554 FLEX the fast lexical analyser generator
1555 GPERF perfect hash function generator
1556 CXX C++ compiler command
1557 CXXFLAGS C++ compiler flags
1558 CXXCPP C++ preprocessor
1559 OBJCXX Objective C++ compiler command
1560 OBJCXXFLAGS Objective C++ compiler flags
1562 C compiler flags for WEBKIT, overriding pkg-config
1563 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1565 C compiler flags for LIBFFI, overriding pkg-config
1566 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1568 prints information about the current gnustep installation
1570 Use these variables to override the choices made by `configure' or to
help
1571 it to
find libraries and programs with nonstandard names
/locations.
1573 Report bugs to
<saurik@saurik.com
>.
1574 Cycript home page
: <http
://www.cycript.org
/>.
1579 if test "$ac_init_help" = "recursive"; then
1580 # If there are subdirs, report their specific --help.
1581 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1582 test -d "$ac_dir" ||
1583 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1588 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1590 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591 # A ".." for each directory in $ac_dir_suffix.
1592 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593 case $ac_top_builddir_sub in
1594 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1595 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1598 ac_abs_top_builddir
=$ac_pwd
1599 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1600 # for backward compatibility:
1601 ac_top_builddir
=$ac_top_build_prefix
1604 .
) # We are building in place.
1606 ac_top_srcdir
=$ac_top_builddir_sub
1607 ac_abs_top_srcdir
=$ac_pwd ;;
1608 [\\/]* | ?
:[\\/]* ) # Absolute name.
1609 ac_srcdir
=$srcdir$ac_dir_suffix;
1610 ac_top_srcdir
=$srcdir
1611 ac_abs_top_srcdir
=$srcdir ;;
1613 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1615 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1617 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1619 cd "$ac_dir" || { ac_status
=$?
; continue; }
1620 # Check for guested configure.
1621 if test -f "$ac_srcdir/configure.gnu"; then
1623 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624 elif test -f "$ac_srcdir/configure"; then
1626 $SHELL "$ac_srcdir/configure" --help=recursive
1628 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1630 cd "$ac_pwd" || { ac_status
=$?
; break; }
1634 test -n "$ac_init_help" && exit $ac_status
1635 if $ac_init_version; then
1637 Cycript configure
0.9
1638 generated by GNU Autoconf
2.65
1640 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1641 This configure
script is free software
; the Free Software Foundation
1642 gives unlimited permission to copy
, distribute and modify it.
1647 ## ------------------------ ##
1648 ## Autoconf initialization. ##
1649 ## ------------------------ ##
1651 # ac_fn_c_try_compile LINENO
1652 # --------------------------
1653 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_compile
()
1656 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1657 rm -f conftest.
$ac_objext
1658 if { { ac_try
="$ac_compile"
1660 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1661 *) ac_try_echo=$ac_try;;
1663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664 $as_echo "$ac_try_echo"; } >&5
1665 (eval "$ac_compile") 2>conftest.err
1667 if test -s conftest.err; then
1668 grep -v '^ *+' conftest.err >conftest.er1
1669 cat conftest.er1 >&5
1670 mv -f conftest.er1 conftest.err
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && {
1674 test -z "$ac_c_werror_flag" ||
1675 test ! -s conftest.err
1676 } && test -s conftest.$ac_objext; then :
1679 $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1684 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685 as_fn_set_status $ac_retval
1687 } # ac_fn_c_try_compile
1689 # ac_fn_c_try_link LINENO
1690 # -----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded.
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext conftest$ac_exeext
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>conftest.err
1705 if test -s conftest.err
; then
1706 grep -v '^ *+' conftest.err
>conftest.er1
1707 cat conftest.er1
>&5
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && {
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest
$ac_exeext && {
1715 test "$cross_compiling" = yes ||
1716 $as_test_x conftest
$ac_exeext
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.
$ac_ext >&5
1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727 # interfere with the next link command; also delete a directory that is
1728 # left behind by Apple's compiler. We do this before executing the actions.
1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1731 as_fn_set_status
$ac_retval
1733 } # ac_fn_c_try_link
1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1736 # -------------------------------------------------------
1737 # Tests whether HEADER exists and can be compiled using the include files in
1738 # INCLUDES, setting the cache variable VAR accordingly.
1739 ac_fn_c_check_header_compile
()
1741 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 $as_echo_n "(cached) " >&6
1747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1748 /* end confdefs.h. */
1752 if ac_fn_c_try_compile
"$LINENO"; then :
1757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1764 } # ac_fn_c_check_header_compile
1766 # ac_fn_c_try_cpp LINENO
1767 # ----------------------
1768 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1772 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1775 *) ac_try_echo=$ac_try;;
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 if test -s conftest.err; then
1782 grep -v '^ *+' conftest.err >conftest.er1
1783 cat conftest.er1 >&5
1784 mv -f conftest.er1 conftest.err
1786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test $ac_status = 0; } >/dev/null && {
1788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1789 test ! -s conftest.err
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1798 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799 as_fn_set_status $ac_retval
1803 # ac_fn_c_try_run LINENO
1804 # ----------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1806 # that executables *can* be run.
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 if { { ac_try="$ac_link"
1812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1813 *) ac_try_echo
=$ac_try;;
1815 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_link") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1821 { { case "(($ac_try" in
1822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_try") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; }; }; then :
1833 $as_echo "$as_me: program exited with status $ac_status" >&5
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837 ac_retval=$ac_status
1839 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1840 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1841 as_fn_set_status $ac_retval
1845 # ac_fn_c_check_func LINENO FUNC VAR
1846 # ----------------------------------
1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1848 ac_fn_c_check_func ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1854 $as_echo_n "(cached) " >&6
1856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1857 /* end confdefs.h. */
1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1860 #define $2 innocuous_$2
1862 /* System header to define __stub macros and hopefully few prototypes,
1863 which can conflict with char $2 (); below.
1864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1865 <limits.h> exists even on freestanding compilers. */
1868 # include <limits.h>
1870 # include <assert.h>
1875 /* Override any GCC internal prototype to avoid an error.
1876 Use char because int might match the return type of a GCC
1877 builtin and then its argument prototype would still apply. */
1882 /* The GNU C library defines this for functions which it implements
1883 to always fail with ENOSYS. Some functions are actually named
1884 something starting with __ and the normal name is an alias. */
1885 #if defined __stub_$2 || defined __stub___$2
1897 if ac_fn_c_try_link "$LINENO"; then :
1902 rm -f core conftest.err conftest.$ac_objext \
1903 conftest$ac_exeext conftest.$ac_ext
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1907 $as_echo "$ac_res" >&6; }
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910 } # ac_fn_c_check_func
1912 # ac_fn_cxx_try_compile LINENO
1913 # ----------------------------
1914 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1915 ac_fn_cxx_try_compile ()
1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1918 rm -f conftest.$ac_objext
1919 if { { ac_try="$ac_compile"
1921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1922 *) ac_try_echo
=$ac_try;;
1924 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_compile") 2>conftest.err
1928 if test -s conftest.err
; then
1929 grep -v '^ *+' conftest.err
>conftest.er1
1930 cat conftest.er1
>&5
1931 mv -f conftest.er1 conftest.err
1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1934 test $ac_status = 0; } && {
1935 test -z "$ac_cxx_werror_flag" ||
1936 test ! -s conftest.err
1937 } && test -s conftest.
$ac_objext; then :
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.
$ac_ext >&5
1945 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1946 as_fn_set_status
$ac_retval
1948 } # ac_fn_cxx_try_compile
1950 # ac_fn_cxx_try_cpp LINENO
1951 # ------------------------
1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1953 ac_fn_cxx_try_cpp
()
1955 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1956 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1959 *) ac_try_echo=$ac_try;;
1961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 $as_echo "$ac_try_echo"; } >&5
1963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965 if test -s conftest.err; then
1966 grep -v '^ *+' conftest.err >conftest.er1
1967 cat conftest.er1 >&5
1968 mv -f conftest.er1 conftest.err
1970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1971 test $ac_status = 0; } >/dev/null && {
1972 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1973 test ! -s conftest.err
1977 $as_echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.$ac_ext >&5
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983 as_fn_set_status $ac_retval
1985 } # ac_fn_cxx_try_cpp
1987 # ac_fn_cxx_try_link LINENO
1988 # -------------------------
1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
1990 ac_fn_cxx_try_link ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 rm -f conftest.$ac_objext conftest$ac_exeext
1994 if { { ac_try="$ac_link"
1996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1997 *) ac_try_echo
=$ac_try;;
1999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_link") 2>conftest.err
2003 if test -s conftest.err
; then
2004 grep -v '^ *+' conftest.err
>conftest.er1
2005 cat conftest.er1
>&5
2006 mv -f conftest.er1 conftest.err
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; } && {
2010 test -z "$ac_cxx_werror_flag" ||
2011 test ! -s conftest.err
2012 } && test -s conftest
$ac_exeext && {
2013 test "$cross_compiling" = yes ||
2014 $as_test_x conftest
$ac_exeext
2018 $as_echo "$as_me: failed program was:" >&5
2019 sed 's/^/| /' conftest.
$ac_ext >&5
2023 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2024 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2025 # interfere with the next link command; also delete a directory that is
2026 # left behind by Apple's compiler. We do this before executing the actions.
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2029 as_fn_set_status
$ac_retval
2031 } # ac_fn_cxx_try_link
2033 # ac_fn_objcxx_try_compile LINENO
2034 # -------------------------------
2035 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2036 ac_fn_objcxx_try_compile
()
2038 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2039 rm -f conftest.
$ac_objext
2040 if { { ac_try
="$ac_compile"
2042 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2043 *) ac_try_echo=$ac_try;;
2045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2046 $as_echo "$ac_try_echo"; } >&5
2047 (eval "$ac_compile") 2>conftest.err
2049 if test -s conftest.err; then
2050 grep -v '^ *+' conftest.err >conftest.er1
2051 cat conftest.er1 >&5
2052 mv -f conftest.er1 conftest.err
2054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2055 test $ac_status = 0; } && {
2056 test -z "$ac_objcxx_werror_flag" ||
2057 test ! -s conftest.err
2058 } && test -s conftest.$ac_objext; then :
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2066 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2067 as_fn_set_status $ac_retval
2069 } # ac_fn_objcxx_try_compile
2071 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2072 # ---------------------------------------------------------
2073 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2074 # the include files in INCLUDES and setting the cache variable VAR
2076 ac_fn_cxx_check_header_mongrel ()
2078 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2079 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081 $as_echo_n "checking for $2... " >&6; }
2082 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2083 $as_echo_n "(cached) " >&6
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2089 # Is the header compilable?
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2091 $as_echo_n "checking $2 usability... " >&6; }
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2097 if ac_fn_cxx_try_compile "$LINENO"; then :
2098 ac_header_compiler=yes
2100 ac_header_compiler=no
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2104 $as_echo "$ac_header_compiler" >&6; }
2106 # Is the header present?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2108 $as_echo_n "checking $2 presence... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2113 if ac_fn_cxx_try_cpp "$LINENO"; then :
2114 ac_header_preproc=yes
2116 ac_header_preproc=no
2118 rm -f conftest.err conftest.$ac_ext
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2120 $as_echo "$ac_header_preproc" >&6; }
2122 # So? What about this header?
2123 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2126 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2132 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2134 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2136 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2138 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 ## -------------------------------- ##
2143 ## Report this to saurik@saurik.com ##
2144 ## -------------------------------- ##
2146 ) | sed "s/^/$as_me: WARNING: /" >&2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2152 $as_echo_n "(cached) " >&6
2154 eval "$3=\$ac_header_compiler"
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2160 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2162 } # ac_fn_cxx_check_header_mongrel
2164 # ac_fn_objcxx_try_link LINENO
2165 # ----------------------------
2166 # Try to link conftest.$ac_ext, and return whether this succeeded.
2167 ac_fn_objcxx_try_link ()
2169 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2170 rm -f conftest.$ac_objext conftest$ac_exeext
2171 if { { ac_try="$ac_link"
2173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2174 *) ac_try_echo
=$ac_try;;
2176 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2177 $as_echo "$ac_try_echo"; } >&5
2178 (eval "$ac_link") 2>conftest.err
2180 if test -s conftest.err
; then
2181 grep -v '^ *+' conftest.err
>conftest.er1
2182 cat conftest.er1
>&5
2183 mv -f conftest.er1 conftest.err
2185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2186 test $ac_status = 0; } && {
2187 test -z "$ac_objcxx_werror_flag" ||
2188 test ! -s conftest.err
2189 } && test -s conftest
$ac_exeext && {
2190 test "$cross_compiling" = yes ||
2191 $as_test_x conftest
$ac_exeext
2195 $as_echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.
$ac_ext >&5
2200 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2201 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2202 # interfere with the next link command; also delete a directory that is
2203 # left behind by Apple's compiler. We do this before executing the actions.
2204 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2205 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2206 as_fn_set_status
$ac_retval
2208 } # ac_fn_objcxx_try_link
2209 cat >config.log
<<_ACEOF
2210 This file contains any messages produced by compilers while
2211 running configure, to aid debugging if configure makes a mistake.
2213 It was created by Cycript $as_me 0.9, which was
2214 generated by GNU Autoconf 2.65. Invocation command line was
2226 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2227 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2228 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2229 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2230 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2232 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2233 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2235 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2236 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2237 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2238 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2239 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2240 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2241 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir
=.
2250 $as_echo "PATH: $as_dir"
2266 # Keep a trace of the command line.
2267 # Strip out --no-create and --no-recursion so they do not pile up.
2268 # Strip out --silent because we don't want to record it for future runs.
2269 # Also quote any args containing shell meta-characters.
2270 # Make two passes to allow for proper duplicate-argument suppression.
2274 ac_must_keep_next
=false
2280 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2281 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2282 | -silent | --silent | --silen | --sile | --sil)
2285 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2288 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2290 as_fn_append ac_configure_args1
" '$ac_arg'"
2291 if test $ac_must_keep_next = true
; then
2292 ac_must_keep_next
=false
# Got value, back to normal.
2295 *=* | --config-cache | -C | -disable-* | --disable-* \
2296 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2297 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2298 | -with-* | --with-* | -without-* | --without-* | --x)
2299 case "$ac_configure_args0 " in
2300 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2303 -* ) ac_must_keep_next
=true
;;
2306 as_fn_append ac_configure_args
" '$ac_arg'"
2311 { ac_configure_args0
=; unset ac_configure_args0
;}
2312 { ac_configure_args1
=; unset ac_configure_args1
;}
2314 # When interrupted or exit'd, cleanup temporary files, and complete
2315 # config.log. We remove comments because anyway the quotes in there
2316 # would cause problems or look ugly.
2317 # WARNING: Use '\'' to represent an apostrophe within the trap.
2318 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2319 trap 'exit_status=$?
2320 # Save into config.log some information that might help in debugging.
2325 ## ---------------- ##
2326 ## Cache variables. ##
2327 ## ---------------- ##
2330 # The following way of writing the cache mishandles newlines in values,
2332 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2333 eval ac_val=\$$ac_var
2337 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2341 _ | IFS | as_nl) ;; #(
2342 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2343 *) { eval $ac_var=; unset $ac_var;} ;;
2348 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2349 *${as_nl}ac_space=\ *)
2351 "s/'\''/'\''\\\\'\'''\''/g;
2352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2355 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2363 ## ----------------- ##
2364 ## Output variables. ##
2365 ## ----------------- ##
2368 for ac_var in $ac_subst_vars
2370 eval ac_val=\$$ac_var
2372 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2374 $as_echo "$ac_var='\''$ac_val'\''"
2378 if test -n "$ac_subst_files"; then
2380 ## ------------------- ##
2381 ## File substitutions. ##
2382 ## ------------------- ##
2385 for ac_var
in $ac_subst_files
2387 eval ac_val
=\$
$ac_var
2389 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2391 $as_echo "$ac_var='\''$ac_val'\''"
2396 if test -s confdefs.h; then
2406 test "$ac_signal" != 0 &&
2407 $as_echo "$as_me: caught signal $ac_signal"
2408 $as_echo "$as_me: exit $exit_status"
2410 rm -f core *.core core.conftest.* &&
2411 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2414 for ac_signal
in 1 2 13 15; do
2415 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2419 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2420 rm -f -r conftest
* confdefs.h
2422 $as_echo "/* confdefs.h */" > confdefs.h
2424 # Predefined preprocessor variables.
2426 cat >>confdefs.h
<<_ACEOF
2427 #define PACKAGE_NAME "$PACKAGE_NAME"
2430 cat >>confdefs.h
<<_ACEOF
2431 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2434 cat >>confdefs.h
<<_ACEOF
2435 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2438 cat >>confdefs.h
<<_ACEOF
2439 #define PACKAGE_STRING "$PACKAGE_STRING"
2442 cat >>confdefs.h
<<_ACEOF
2443 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2446 cat >>confdefs.h
<<_ACEOF
2447 #define PACKAGE_URL "$PACKAGE_URL"
2451 # Let the site file select an alternate cache file if it wants to.
2452 # Prefer an explicitly selected file to automatically selected ones.
2455 if test -n "$CONFIG_SITE"; then
2456 ac_site_file1
=$CONFIG_SITE
2457 elif test "x$prefix" != xNONE
; then
2458 ac_site_file1
=$prefix/share
/config.site
2459 ac_site_file2
=$prefix/etc
/config.site
2461 ac_site_file1
=$ac_default_prefix/share
/config.site
2462 ac_site_file2
=$ac_default_prefix/etc
/config.site
2464 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2466 test "x$ac_site_file" = xNONE
&& continue
2467 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2469 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2470 sed 's/^/| /' "$ac_site_file" >&5
2475 if test -r "$cache_file"; then
2476 # Some versions of bash will fail to source /dev/null (special files
2477 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2478 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2480 $as_echo "$as_me: loading cache $cache_file" >&6;}
2482 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2483 *) .
"./$cache_file";;
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2488 $as_echo "$as_me: creating cache $cache_file" >&6;}
2492 # Check that the precious variables saved in the cache have kept the same
2494 ac_cache_corrupted
=false
2495 for ac_var
in $ac_precious_vars; do
2496 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2497 eval ac_new_set
=\
$ac_env_${ac_var}_set
2498 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2499 eval ac_new_val
=\
$ac_env_${ac_var}_value
2500 case $ac_old_set,$ac_new_set in
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2503 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2504 ac_cache_corrupted
=: ;;
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2507 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2508 ac_cache_corrupted
=: ;;
2511 if test "x$ac_old_val" != "x$ac_new_val"; then
2512 # differences in whitespace do not lead to failure.
2513 ac_old_val_w
=`echo x $ac_old_val`
2514 ac_new_val_w
=`echo x $ac_new_val`
2515 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2517 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2518 ac_cache_corrupted
=:
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2521 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2522 eval $ac_var=\
$ac_old_val
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2525 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2527 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2530 # Pass precious variables to config.status.
2531 if test "$ac_new_set" = set; then
2533 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2534 *) ac_arg
=$ac_var=$ac_new_val ;;
2536 case " $ac_configure_args " in
2537 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2538 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2542 if $ac_cache_corrupted; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2546 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2547 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2549 ## -------------------- ##
2550 ## Main body of script. ##
2551 ## -------------------- ##
2554 ac_cpp
='$CPP $CPPFLAGS'
2555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2562 for ac_dir
in .
"$srcdir"/.
; do
2563 for ac_t
in install-sh install.sh shtool
; do
2564 if test -f "$ac_dir/$ac_t"; then
2566 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2571 if test -z "$ac_aux_dir"; then
2572 as_fn_error
"cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
2575 # These three variables are undocumented and unsupported,
2576 # and are intended to be withdrawn in a future Autoconf release.
2577 # They can cause serious problems if a builder's source tree is in a directory
2578 # whose full name contains unusual characters.
2579 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2580 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2581 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2587 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2592 macro_version
='2.2.6b'
2593 macro_revision
='1.3017'
2607 ltmain
="$ac_aux_dir/ltmain.sh"
2609 # Make sure we can run config.sub.
2610 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2611 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2614 $as_echo_n "checking build system type... " >&6; }
2615 if test "${ac_cv_build+set}" = set; then :
2616 $as_echo_n "(cached) " >&6
2618 ac_build_alias
=$build_alias
2619 test "x$ac_build_alias" = x
&&
2620 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2621 test "x$ac_build_alias" = x
&&
2622 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2623 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2624 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2628 $as_echo "$ac_cv_build" >&6; }
2629 case $ac_cv_build in
2631 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2634 ac_save_IFS
=$IFS; IFS
='-'
2640 # Remember, the first character of IFS is used to create $*,
2641 # except with old shells:
2644 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2648 $as_echo_n "checking host system type... " >&6; }
2649 if test "${ac_cv_host+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 if test "x$host_alias" = x
; then
2653 ac_cv_host
=$ac_cv_build
2655 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2656 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2661 $as_echo "$ac_cv_host" >&6; }
2664 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2667 ac_save_IFS
=$IFS; IFS
='-'
2673 # Remember, the first character of IFS is used to create $*,
2674 # except with old shells:
2677 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2687 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_prog_CC+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$CC"; then
2694 ac_cv_prog_CC
="$CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 if test -n "$CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2716 $as_echo "$CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_CC"; then
2726 # Extract the first word of "gcc", so it can be a program name with args.
2727 set dummy gcc
; ac_word
=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_CC"; then
2734 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_exec_ext
in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_ac_ct_CC
="gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2754 if test -n "$ac_ct_CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2756 $as_echo "$ac_ct_CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_CC" = x
; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned
=yes ;;
2777 if test -z "$CC"; then
2778 if test -n "$ac_tool_prefix"; then
2779 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2780 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if test "${ac_cv_prog_CC+set}" = set; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC
="$CC" # Let the user override the test.
2789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2793 test -z "$as_dir" && as_dir
=.
2794 for ac_exec_ext
in '' $ac_executable_extensions; do
2795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2809 $as_echo "$CC" >&6; }
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2812 $as_echo "no" >&6; }
2818 if test -z "$CC"; then
2819 # Extract the first word of "cc", so it can be a program name with args.
2820 set dummy cc
; ac_word
=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if test "${ac_cv_prog_CC+set}" = set; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC
="$CC" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 for ac_exec_ext
in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2838 ac_prog_rejected
=yes
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 if test $ac_prog_rejected = yes; then
2850 # We found a bogon in the path, so make sure we never use it.
2851 set dummy
$ac_cv_prog_CC
2853 if test $# != 0; then
2854 # We chose a different compiler from the bogus one.
2855 # However, it has the same basename, so the bogon will be chosen
2856 # first if we set CC to just the basename; use the full file name.
2858 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2864 if test -n "$CC"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2866 $as_echo "$CC" >&6; }
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869 $as_echo "no" >&6; }
2874 if test -z "$CC"; then
2875 if test -n "$ac_tool_prefix"; then
2876 for ac_prog
in cl.exe
2878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2879 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if test "${ac_cv_prog_CC+set}" = set; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC
="$CC" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2915 test -n "$CC" && break
2918 if test -z "$CC"; then
2920 for ac_prog
in cl.exe
2922 # Extract the first word of "$ac_prog", so it can be a program name with args.
2923 set dummy
$ac_prog; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$ac_ct_CC"; then
2930 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_ac_ct_CC
="$ac_prog"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2950 if test -n "$ac_ct_CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2952 $as_echo "$ac_ct_CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2959 test -n "$ac_ct_CC" && break
2962 if test "x$ac_ct_CC" = x
; then
2965 case $cross_compiling:$ac_tool_warned in
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2969 ac_tool_warned
=yes ;;
2978 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 as_fn_error
"no acceptable C compiler found in \$PATH
2981 See \`config.log' for more details." "$LINENO" 5; }
2983 # Provide some information about the compiler.
2984 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2987 for ac_option
in --version -v -V -qversion; do
2988 { { ac_try
="$ac_compiler $ac_option >&5"
2990 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2994 $as_echo "$ac_try_echo"; } >&5
2995 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2997 if test -s conftest.err; then
2999 ... rest of stderr output deleted ...
3000 10q' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3003 rm -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009 /* end confdefs.h. */
3019 ac_clean_files_save=$ac_clean_files
3020 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3021 # Try to create an executable without -o first, disregard a.out.
3022 # It will help us diagnose broken compilers, and finding out an intuition
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3025 $as_echo_n "checking whether the C compiler works... " >&6; }
3026 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3028 # The possible output files:
3029 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3032 for ac_file in $ac_files
3035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3036 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3041 if { { ac_try="$ac_link_default"
3043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3044 *) ac_try_echo
=$ac_try;;
3046 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link_default") 2>&5
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; then :
3052 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3053 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3054 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3055 # so that the user can short-circuit this test for compilers unknown to
3057 for ac_file
in $ac_files ''
3059 test -f "$ac_file" || continue
3061 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3064 # We found the default executable, but exeext='' is most
3068 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3070 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3072 # We set ac_cv_exeext here because the later test for it is not
3073 # safe: cross compilers may not add the suffix if given an `-o'
3074 # argument, so we may need to know it at that point already.
3075 # Even if this section looks crufty: it has the advantage of
3082 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3087 if test -z "$ac_file"; then :
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 $as_echo "no" >&6; }
3090 $as_echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095 { as_fn_set_status
77
3096 as_fn_error
"C compiler cannot create executables
3097 See \`config.log' for more details." "$LINENO" 5; }; }
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3100 $as_echo "yes" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3103 $as_echo_n "checking for C compiler default output file name... " >&6; }
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3105 $as_echo "$ac_file" >&6; }
3106 ac_exeext
=$ac_cv_exeext
3108 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3109 ac_clean_files
=$ac_clean_files_save
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3111 $as_echo_n "checking for suffix of executables... " >&6; }
3112 if { { ac_try
="$ac_link"
3114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }; then :
3123 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3124 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3125 # work properly (i.e., refer to `conftest.exe'), while it won't with
3127 for ac_file
in conftest.exe conftest conftest.
*; do
3128 test -f "$ac_file" || continue
3130 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3131 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3139 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3140 See \`config.log' for more details." "$LINENO" 5; }
3142 rm -f conftest conftest
$ac_cv_exeext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3144 $as_echo "$ac_cv_exeext" >&6; }
3146 rm -f conftest.
$ac_ext
3147 EXEEXT
=$ac_cv_exeext
3149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3155 FILE *f = fopen ("conftest.out", "w");
3156 return ferror (f) || fclose (f) != 0;
3162 ac_clean_files
="$ac_clean_files conftest.out"
3163 # Check that the compiler produces executables we can run. If not, either
3164 # the compiler is broken, or we cross compile.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3166 $as_echo_n "checking whether we are cross compiling... " >&6; }
3167 if test "$cross_compiling" != yes; then
3168 { { ac_try
="$ac_link"
3170 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3174 $as_echo "$ac_try_echo"; } >&5
3175 (eval "$ac_link") 2>&5
3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3178 test $ac_status = 0; }
3179 if { ac_try='./conftest$ac_cv_exeext'
3180 { { case "(($ac_try" in
3181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3182 *) ac_try_echo
=$ac_try;;
3184 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185 $as_echo "$ac_try_echo"; } >&5
3186 (eval "$ac_try") 2>&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189 test $ac_status = 0; }; }; then
3192 if test "$cross_compiling" = maybe
; then
3195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error
"cannot run C compiled programs.
3198 If you meant to cross compile, use \`--host'.
3199 See \`config.log' for more details." "$LINENO" 5; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3204 $as_echo "$cross_compiling" >&6; }
3206 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3207 ac_clean_files
=$ac_clean_files_save
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3209 $as_echo_n "checking for suffix of object files... " >&6; }
3210 if test "${ac_cv_objext+set}" = set; then :
3211 $as_echo_n "(cached) " >&6
3213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3224 rm -f conftest.o conftest.obj
3225 if { { ac_try
="$ac_compile"
3227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3228 *) ac_try_echo=$ac_try;;
3230 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3231 $as_echo "$ac_try_echo"; } >&5
3232 (eval "$ac_compile") 2>&5
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; }; then :
3236 for ac_file in conftest.o conftest.obj conftest.*; do
3237 test -f "$ac_file" || continue;
3239 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3240 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3245 $as_echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3250 as_fn_error "cannot compute suffix of object files
: cannot compile
3251 See \
`config.log' for more details." "$LINENO" 5; }
3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3256 $as_echo "$ac_cv_objext" >&6; }
3257 OBJEXT=$ac_cv_objext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3260 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3261 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3278 if ac_fn_c_try_compile "$LINENO"; then :
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3288 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3289 if test $ac_compiler_gnu = yes; then
3294 ac_test_CFLAGS=${CFLAGS+set}
3295 ac_save_CFLAGS=$CFLAGS
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3297 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3298 if test "${ac_cv_prog_cc_g+set}" = set; then :
3299 $as_echo_n "(cached) " >&6
3301 ac_save_c_werror_flag=$ac_c_werror_flag
3302 ac_c_werror_flag=yes
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3316 if ac_fn_c_try_compile "$LINENO"; then :
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3334 ac_c_werror_flag=$ac_save_c_werror_flag
3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337 /* end confdefs.h. */
3347 if ac_fn_c_try_compile "$LINENO"; then :
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 ac_c_werror_flag=$ac_save_c_werror_flag
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3358 $as_echo "$ac_cv_prog_cc_g" >&6; }
3359 if test "$ac_test_CFLAGS" = set; then
3360 CFLAGS=$ac_save_CFLAGS
3361 elif test $ac_cv_prog_cc_g = yes; then
3362 if test "$GCC" = yes; then
3368 if test "$GCC" = yes; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3375 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3376 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3377 $as_echo_n "(cached) " >&6
3379 ac_cv_prog_cc_c89=no
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3385 #include <sys/types.h>
3386 #include <sys/stat.h>
3387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3388 struct buf { int x; };
3389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3390 static char *e (p, i)
3396 static char *f (char * (*g) (char **, int), char **p, ...)
3401 s = g (p, va_arg (v,int));
3406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3407 function prototypes and stuff, but not '\xHH' hex character constants.
3408 These don't provoke an error unfortunately, instead are silently treated
3409 as 'x'. The following induces an error, until -std is added to get
3410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3411 array size at least. It's necessary to write '\x00'==0 to get something
3412 that's true only with -std. */
3413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3416 inside strings and character constants. */
3418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3420 int test (int i, double x);
3421 struct s1 {int (*f) (int a);};
3422 struct s2 {int (*f) (double a);};
3423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3435 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3437 CC="$ac_save_CC $ac_arg"
3438 if ac_fn_c_try_compile "$LINENO"; then :
3439 ac_cv_prog_cc_c89=$ac_arg
3441 rm -f core conftest.err conftest.$ac_objext
3442 test "x$ac_cv_prog_cc_c89" != "xno" && break
3444 rm -f conftest.$ac_ext
3449 case "x$ac_cv_prog_cc_c89" in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3452 $as_echo "none needed" >&6; } ;;
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3455 $as_echo "unsupported" >&6; } ;;
3457 CC="$CC $ac_cv_prog_cc_c89"
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3461 if test "x$ac_cv_prog_cc_c89" != xno; then :
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3472 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3473 if test "${ac_cv_path_SED+set}" = set; then :
3474 $as_echo_n "(cached) " >&6
3476 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3477 for ac_i in 1 2 3 4 5 6 7; do
3478 ac_script="$ac_script$as_nl$ac_script"
3480 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3481 { ac_script=; unset ac_script;}
3482 if test -z "$SED"; then
3483 ac_path_SED_found=false
3484 # Loop through the user's path and test for each of PROGNAME-LIST
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 test -z "$as_dir" && as_dir=.
3490 for ac_prog in sed gsed; do
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3493 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3494 # Check for GNU ac_path_SED and select it if it is found.
3495 # Check for GNU $ac_path_SED
3496 case `"$ac_path_SED" --version 2>&1` in
3498 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3501 $as_echo_n 0123456789 >"conftest.in"
3504 cat "conftest.in" "conftest.in" >"conftest.tmp"
3505 mv "conftest.tmp" "conftest.in"
3506 cp "conftest.in" "conftest.nl"
3507 $as_echo '' >> "conftest.nl"
3508 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3509 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3510 as_fn_arith $ac_count + 1 && ac_count=$as_val
3511 if test $ac_count -gt ${ac_path_SED_max-0}; then
3512 # Best one so far, save it but keep looking for a better one
3513 ac_cv_path_SED="$ac_path_SED"
3514 ac_path_SED_max=$ac_count
3516 # 10*(2^10) chars as input seems more than enough
3517 test $ac_count -gt 10 && break
3519 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3522 $ac_path_SED_found && break 3
3527 if test -z "$ac_cv_path_SED"; then
3528 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3536 $as_echo "$ac_cv_path_SED" >&6; }
3537 SED="$ac_cv_path_SED"
3540 test -z "$SED" && SED=sed
3541 Xsed="$SED -e 1s/^X//"
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3554 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3555 if test "${ac_cv_path_GREP+set}" = set; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -z "$GREP"; then
3559 ac_path_GREP_found=false
3560 # Loop through the user's path and test for each of PROGNAME-LIST
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3565 test -z "$as_dir" && as_dir=.
3566 for ac_prog in grep ggrep; do
3567 for ac_exec_ext in '' $ac_executable_extensions; do
3568 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3569 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3570 # Check for GNU ac_path_GREP and select it if it is found.
3571 # Check for GNU $ac_path_GREP
3572 case `"$ac_path_GREP" --version 2>&1` in
3574 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3577 $as_echo_n 0123456789 >"conftest.in"
3580 cat "conftest.in" "conftest.in" >"conftest.tmp"
3581 mv "conftest.tmp" "conftest.in"
3582 cp "conftest.in" "conftest.nl"
3583 $as_echo 'GREP' >> "conftest.nl"
3584 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3586 as_fn_arith $ac_count + 1 && ac_count=$as_val
3587 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3588 # Best one so far, save it but keep looking for a better one
3589 ac_cv_path_GREP="$ac_path_GREP"
3590 ac_path_GREP_max=$ac_count
3592 # 10*(2^10) chars as input seems more than enough
3593 test $ac_count -gt 10 && break
3595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3598 $ac_path_GREP_found && break 3
3603 if test -z "$ac_cv_path_GREP"; then
3604 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3607 ac_cv_path_GREP=$GREP
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3612 $as_echo "$ac_cv_path_GREP" >&6; }
3613 GREP="$ac_cv_path_GREP"
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3617 $as_echo_n "checking for egrep... " >&6; }
3618 if test "${ac_cv_path_EGREP+set}" = set; then :
3619 $as_echo_n "(cached) " >&6
3621 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3622 then ac_cv_path_EGREP="$GREP -E"
3624 if test -z "$EGREP"; then
3625 ac_path_EGREP_found=false
3626 # Loop through the user's path and test for each of PROGNAME-LIST
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3628 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3631 test -z "$as_dir" && as_dir=.
3632 for ac_prog in egrep; do
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3635 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3636 # Check for GNU ac_path_EGREP and select it if it is found.
3637 # Check for GNU $ac_path_EGREP
3638 case `"$ac_path_EGREP" --version 2>&1` in
3640 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3643 $as_echo_n 0123456789 >"conftest.in"
3646 cat "conftest.in" "conftest.in" >"conftest.tmp"
3647 mv "conftest.tmp" "conftest.in"
3648 cp "conftest.in" "conftest.nl"
3649 $as_echo 'EGREP' >> "conftest.nl"
3650 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3651 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3652 as_fn_arith $ac_count + 1 && ac_count=$as_val
3653 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3654 # Best one so far, save it but keep looking for a better one
3655 ac_cv_path_EGREP="$ac_path_EGREP"
3656 ac_path_EGREP_max=$ac_count
3658 # 10*(2^10) chars as input seems more than enough
3659 test $ac_count -gt 10 && break
3661 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3664 $ac_path_EGREP_found && break 3
3669 if test -z "$ac_cv_path_EGREP"; then
3670 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3673 ac_cv_path_EGREP=$EGREP
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3679 $as_echo "$ac_cv_path_EGREP" >&6; }
3680 EGREP="$ac_cv_path_EGREP"
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3684 $as_echo_n "checking for fgrep... " >&6; }
3685 if test "${ac_cv_path_FGREP+set}" = set; then :
3686 $as_echo_n "(cached) " >&6
3688 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3689 then ac_cv_path_FGREP="$GREP -F"
3691 if test -z "$FGREP"; then
3692 ac_path_FGREP_found=false
3693 # Loop through the user's path and test for each of PROGNAME-LIST
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3698 test -z "$as_dir" && as_dir=.
3699 for ac_prog in fgrep; do
3700 for ac_exec_ext in '' $ac_executable_extensions; do
3701 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3702 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3703 # Check for GNU ac_path_FGREP and select it if it is found.
3704 # Check for GNU $ac_path_FGREP
3705 case `"$ac_path_FGREP" --version 2>&1` in
3707 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3710 $as_echo_n 0123456789 >"conftest.in"
3713 cat "conftest.in" "conftest.in" >"conftest.tmp"
3714 mv "conftest.tmp" "conftest.in"
3715 cp "conftest.in" "conftest.nl"
3716 $as_echo 'FGREP' >> "conftest.nl"
3717 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3718 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3719 as_fn_arith $ac_count + 1 && ac_count=$as_val
3720 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3721 # Best one so far, save it but keep looking for a better one
3722 ac_cv_path_FGREP="$ac_path_FGREP"
3723 ac_path_FGREP_max=$ac_count
3725 # 10*(2^10) chars as input seems more than enough
3726 test $ac_count -gt 10 && break
3728 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3731 $ac_path_FGREP_found && break 3
3736 if test -z "$ac_cv_path_FGREP"; then
3737 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3740 ac_cv_path_FGREP=$FGREP
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3746 $as_echo "$ac_cv_path_FGREP" >&6; }
3747 FGREP="$ac_cv_path_FGREP"
3750 test -z "$GREP" && GREP=grep
3770 # Check whether --with-gnu-ld was given.
3771 if test "${with_gnu_ld+set}" = set; then :
3772 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3778 if test "$GCC" = yes; then
3779 # Check if gcc -print-prog-name=ld gives a path.
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3781 $as_echo_n "checking for ld used by $CC... " >&6; }
3784 # gcc leaves a trailing carriage return which upsets mingw
3785 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
3787 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
3790 # Accept absolute paths.
3792 re_direlt='/[^/][^/]*/\.\./'
3793 # Canonicalize the pathname of ld
3794 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3795 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3796 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3798 test -z "$LD" && LD="$ac_prog"
3801 # If it fails, then pretend we aren't using GCC.
3805 # If it is relative, then search for the first ld in PATH.
3809 elif test "$with_gnu_ld" = yes; then
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3811 $as_echo_n "checking for GNU ld... " >&6; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3814 $as_echo_n "checking for non-GNU ld... " >&6; }
3816 if test "${lt_cv_path_LD+set}" = set; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -z "$LD"; then
3820 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3821 for ac_dir in $PATH; do
3823 test -z "$ac_dir" && ac_dir=.
3824 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3825 lt_cv_path_LD="$ac_dir/$ac_prog"
3826 # Check to see if the program is GNU ld. I'd rather use --version,
3827 # but apparently some variants of GNU ld only accept -v.
3828 # Break only if it was the GNU/non-GNU ld that we prefer.
3829 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
3830 *GNU* | *'with BFD'*)
3831 test "$with_gnu_ld" != no && break
3834 test "$with_gnu_ld" != yes && break
3841 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3846 if test -n "$LD"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3848 $as_echo "$LD" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3853 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3855 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3856 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
3857 $as_echo_n "(cached) " >&6
3859 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3860 case `$LD -v 2>&1 </dev
/null
` in
3861 *GNU* | *'with BFD'*)
3862 lt_cv_prog_gnu_ld=yes
3865 lt_cv_prog_gnu_ld=no
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3870 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
3871 with_gnu_ld=$lt_cv_prog_gnu_ld
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3882 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3883 if test "${lt_cv_path_NM+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -n "$NM"; then
3887 # Let the user override the test.
3890 lt_nm_to_check="${ac_tool_prefix}nm"
3891 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3892 lt_nm_to_check="$lt_nm_to_check nm"
3894 for lt_tmp_nm in $lt_nm_to_check; do
3895 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3896 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3898 test -z "$ac_dir" && ac_dir=.
3899 tmp_nm="$ac_dir/$lt_tmp_nm"
3900 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3901 # Check to see if the nm accepts a BSD-compat flag.
3902 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
3903 # nm: unknown option "B" ignored
3904 # Tru64's nm complains that
/dev
/null is an invalid object
file
3905 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3906 */dev
/null
* | *'Invalid file or object type'*)
3907 lt_cv_path_NM
="$tmp_nm -B"
3911 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3913 lt_cv_path_NM
="$tmp_nm -p"
3917 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3918 continue # so that we can try to find one that supports BSD flags
3927 : ${lt_cv_path_NM=no}
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3931 $as_echo "$lt_cv_path_NM" >&6; }
3932 if test "$lt_cv_path_NM" != "no"; then
3935 # Didn't find any BSD compatible name lister, look for dumpbin.
3936 if test -n "$ac_tool_prefix"; then
3937 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3940 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
3944 $as_echo_n "(cached) " >&6
3946 if test -n "$DUMPBIN"; then
3947 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
3949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3953 test -z "$as_dir" && as_dir
=.
3954 for ac_exec_ext
in '' $ac_executable_extensions; do
3955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3956 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 DUMPBIN
=$ac_cv_prog_DUMPBIN
3967 if test -n "$DUMPBIN"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
3969 $as_echo "$DUMPBIN" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3976 test -n "$DUMPBIN" && break
3979 if test -z "$DUMPBIN"; then
3980 ac_ct_DUMPBIN
=$DUMPBIN
3981 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
3983 # Extract the first word of "$ac_prog", so it can be a program name with args.
3984 set dummy
$ac_prog; ac_word
=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$ac_ct_DUMPBIN"; then
3991 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4011 if test -n "$ac_ct_DUMPBIN"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4013 $as_echo "$ac_ct_DUMPBIN" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4020 test -n "$ac_ct_DUMPBIN" && break
4023 if test "x$ac_ct_DUMPBIN" = x
; then
4026 case $cross_compiling:$ac_tool_warned in
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned
=yes ;;
4032 DUMPBIN
=$ac_ct_DUMPBIN
4037 if test "$DUMPBIN" != ":"; then
4041 test -z "$NM" && NM
=nm
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4049 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4050 if test "${lt_cv_nm_interface+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 lt_cv_nm_interface
="BSD nm"
4054 echo "int some_variable = 0;" > conftest.
$ac_ext
4055 (eval echo "\"\$as_me:4055: $ac_compile\"" >&5)
4056 (eval "$ac_compile" 2>conftest.err
)
4057 cat conftest.err
>&5
4058 (eval echo "\"\$as_me:4058: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4059 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4060 cat conftest.err
>&5
4061 (eval echo "\"\$as_me:4061: output\"" >&5)
4062 cat conftest.out
>&5
4063 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4064 lt_cv_nm_interface
="MS dumpbin"
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4069 $as_echo "$lt_cv_nm_interface" >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4072 $as_echo_n "checking whether ln -s works... " >&6; }
4074 if test "$LN_S" = "ln -s"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4076 $as_echo "yes" >&6; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4079 $as_echo "no, using $LN_S" >&6; }
4082 # find the maximum length of command line arguments
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4084 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4085 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4093 # On DJGPP, this test can blow up pretty badly due to problems in libc
4094 # (any single argument exceeding 2000 bytes causes a buffer overrun
4095 # during glob expansion). Even if it were fixed, the result of this
4096 # check would be larger than it should be.
4097 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4101 # Under GNU Hurd, this test is not required because there is
4102 # no limit to the length of command line arguments.
4103 # Libtool will interpret -1 as no limit whatsoever
4104 lt_cv_sys_max_cmd_len
=-1;
4107 cygwin
* | mingw
* | cegcc
*)
4108 # On Win9x/ME, this test blows up -- it succeeds, but takes
4109 # about 5 minutes as the teststring grows exponentially.
4110 # Worse, since 9x/ME are not pre-emptively multitasking,
4111 # you end up with a "frozen" computer, even though with patience
4112 # the test eventually succeeds (with a max line length of 256k).
4113 # Instead, let's just punt: use the minimum linelength reported by
4114 # all of the supported platforms: 8192 (on NT/2K/XP).
4115 lt_cv_sys_max_cmd_len
=8192;
4119 # On AmigaOS with pdksh, this test takes hours, literally.
4120 # So we just punt and use a minimum line length of 8192.
4121 lt_cv_sys_max_cmd_len
=8192;
4124 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4125 # This has been around since 386BSD, at least. Likely further.
4126 if test -x /sbin
/sysctl
; then
4127 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4128 elif test -x /usr
/sbin
/sysctl
; then
4129 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4131 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4133 # And add a safety zone
4134 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4135 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4139 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4140 lt_cv_sys_max_cmd_len
=196608
4144 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4145 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4146 # nice to cause kernel panics so lets avoid the loop below.
4147 # First set a reasonable default.
4148 lt_cv_sys_max_cmd_len
=16384
4150 if test -x /sbin
/sysconfig
; then
4151 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4152 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4157 lt_cv_sys_max_cmd_len
=102400
4159 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4160 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4161 if test -n "$kargmax"; then
4162 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4164 lt_cv_sys_max_cmd_len
=32768
4168 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4169 if test -n "$lt_cv_sys_max_cmd_len"; then
4170 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4171 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4173 # Make teststring a little bigger before we do anything with it.
4174 # a 1K string should be a reasonable start.
4175 for i
in 1 2 3 4 5 6 7 8 ; do
4176 teststring
=$teststring$teststring
4178 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4179 # If test is not a shell built-in, we'll probably end up computing a
4180 # maximum length that is only half of the actual maximum length, but
4182 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4183 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4184 test $i != 17 # 1/2 MB should be enough
4187 teststring
=$teststring$teststring
4189 # Only check the string length outside the loop.
4190 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4192 # Add a significant safety factor because C++ compilers can tack on
4193 # massive amounts of additional arguments before passing them to the
4194 # linker. It appears as though 1/2 is a usable value.
4195 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4202 if test -n $lt_cv_sys_max_cmd_len ; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4204 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4207 $as_echo "none" >&6; }
4209 max_cmd_len
=$lt_cv_sys_max_cmd_len
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4221 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4222 # Try some XSI features
4225 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4227 && eval 'test $(( 1 + 1 )) -eq 2 \
4228 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4231 $as_echo "$xsi_shell" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4235 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4237 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4239 && lt_shell_append
=yes
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4241 $as_echo "$lt_shell_append" >&6; }
4244 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
4254 # test EBCDIC or ASCII
4255 case `echo X|tr X '\101'` in
4256 A
) # ASCII based system
4257 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4258 lt_SP2NL
='tr \040 \012'
4259 lt_NL2SP
='tr \015\012 \040\040'
4261 *) # EBCDIC based system
4262 lt_SP2NL
='tr \100 \n'
4263 lt_NL2SP
='tr \r\n \100\100'
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4276 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4277 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 lt_cv_ld_reload_flag
='-r'
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4283 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4284 reload_flag
=$lt_cv_ld_reload_flag
4285 case $reload_flag in
4287 *) reload_flag
=" $reload_flag" ;;
4289 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4292 if test "$GCC" = yes; then
4293 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4295 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4308 if test -n "$ac_tool_prefix"; then
4309 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4310 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -n "$OBJDUMP"; then
4317 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir
=.
4324 for ac_exec_ext
in '' $ac_executable_extensions; do
4325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4326 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 OBJDUMP
=$ac_cv_prog_OBJDUMP
4337 if test -n "$OBJDUMP"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4339 $as_echo "$OBJDUMP" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4347 if test -z "$ac_cv_prog_OBJDUMP"; then
4348 ac_ct_OBJDUMP
=$OBJDUMP
4349 # Extract the first word of "objdump", so it can be a program name with args.
4350 set dummy objdump
; ac_word
=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_OBJDUMP"; then
4357 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
4377 if test -n "$ac_ct_OBJDUMP"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4379 $as_echo "$ac_ct_OBJDUMP" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4385 if test "x$ac_ct_OBJDUMP" = x
; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned
=yes ;;
4394 OBJDUMP
=$ac_ct_OBJDUMP
4397 OBJDUMP
="$ac_cv_prog_OBJDUMP"
4400 test -z "$OBJDUMP" && OBJDUMP
=objdump
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4411 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4412 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4415 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4416 lt_cv_file_magic_test_file
=
4417 lt_cv_deplibs_check_method
='unknown'
4418 # Need to set the preceding variable on all platforms that support
4419 # interlibrary dependencies.
4420 # 'none' -- dependencies not supported.
4421 # `unknown' -- same as none, but documents that we really don't know.
4422 # 'pass_all' -- all dependencies passed with no checks.
4423 # 'test_compile' -- check by making test program.
4424 # 'file_magic [[regex]]' -- check by looking for files in library path
4425 # which responds to the $file_magic_cmd with a given extended regex.
4426 # If you have `file' or equivalent on your system and you're not sure
4427 # whether `pass_all' will *always* work, you probably want this one.
4431 lt_cv_deplibs_check_method
=pass_all
4435 lt_cv_deplibs_check_method
=pass_all
4439 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4440 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4441 lt_cv_file_magic_test_file
=/shlib
/libc.so
4445 # func_win32_libid is a shell function defined in ltmain.sh
4446 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4447 lt_cv_file_magic_cmd
='func_win32_libid'
4451 # Base MSYS/MinGW do not provide the 'file' command needed by
4452 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4453 # unless we find 'file', for example because we are cross-compiling.
4454 if ( file / ) >/dev
/null
2>&1; then
4455 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4456 lt_cv_file_magic_cmd
='func_win32_libid'
4458 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4459 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4464 # use the weaker test based on 'objdump'. See mingw*.
4465 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4466 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4469 darwin
* | rhapsody
*)
4470 lt_cv_deplibs_check_method
=pass_all
4473 freebsd
* | dragonfly
*)
4474 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4477 # Not sure whether the presence of OpenBSD here was a mistake.
4478 # Let's accept both of them until this is cleared up.
4479 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4480 lt_cv_file_magic_cmd
=/usr
/bin
/file
4481 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4485 lt_cv_deplibs_check_method
=pass_all
4490 lt_cv_deplibs_check_method
=pass_all
4493 hpux10.20
* | hpux11
*)
4494 lt_cv_file_magic_cmd
=/usr
/bin
/file
4497 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4498 lt_cv_file_magic_test_file
=/usr
/lib
/hpux
32/libc.so
4501 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]'
4502 lt_cv_file_magic_test_file
=/usr
/lib
/pa
20_
64/libc.sl
4505 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4506 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4512 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4513 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4516 irix5
* | irix6
* | nonstopux
*)
4518 *-32|*"-32 ") libmagic
=32-bit;;
4519 *-n32|*"-n32 ") libmagic
=N32
;;
4520 *-64|*"-64 ") libmagic
=64-bit;;
4521 *) libmagic
=never
-match;;
4523 lt_cv_deplibs_check_method
=pass_all
4526 # This must be Linux ELF.
4527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
4528 lt_cv_deplibs_check_method
=pass_all
4531 netbsd
* | netbsdelf
*-gnu)
4532 if echo __ELF__
| $CC -E - | $GREP __ELF__
> /dev
/null
; then
4533 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4535 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4540 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4541 lt_cv_file_magic_cmd
=/usr
/bin
/file
4542 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4546 lt_cv_deplibs_check_method
=pass_all
4550 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4551 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4553 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4557 osf3
* | osf4
* | osf5
*)
4558 lt_cv_deplibs_check_method
=pass_all
4562 lt_cv_deplibs_check_method
=pass_all
4566 lt_cv_deplibs_check_method
=pass_all
4569 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4570 lt_cv_deplibs_check_method
=pass_all
4574 case $host_vendor in
4576 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]'
4577 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4580 lt_cv_deplibs_check_method
=pass_all
4583 lt_cv_file_magic_cmd
='/bin/file'
4584 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4587 lt_cv_file_magic_cmd
='/bin/file'
4588 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4589 lt_cv_file_magic_test_file
=/lib
/libc.so
4592 lt_cv_deplibs_check_method
=pass_all
4595 lt_cv_deplibs_check_method
=pass_all
4601 lt_cv_deplibs_check_method
=pass_all
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4607 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4608 file_magic_cmd
=$lt_cv_file_magic_cmd
4609 deplibs_check_method
=$lt_cv_deplibs_check_method
4610 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4623 if test -n "$ac_tool_prefix"; then
4624 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4625 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_AR+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$AR"; then
4632 ac_cv_prog_AR
="$AR" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$AR"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4654 $as_echo "$AR" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4662 if test -z "$ac_cv_prog_AR"; then
4664 # Extract the first word of "ar", so it can be a program name with args.
4665 set dummy
ar; ac_word
=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$ac_ct_AR"; then
4672 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_ac_ct_AR
="ar"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4692 if test -n "$ac_ct_AR"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4694 $as_echo "$ac_ct_AR" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4700 if test "x$ac_ct_AR" = x
; then
4703 case $cross_compiling:$ac_tool_warned in
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned
=yes ;;
4715 test -z "$AR" && AR
=ar
4716 test -z "$AR_FLAGS" && AR_FLAGS
=cru
4728 if test -n "$ac_tool_prefix"; then
4729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4730 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if test "${ac_cv_prog_STRIP+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$STRIP"; then
4737 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4746 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 STRIP
=$ac_cv_prog_STRIP
4757 if test -n "$STRIP"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4759 $as_echo "$STRIP" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4767 if test -z "$ac_cv_prog_STRIP"; then
4769 # Extract the first word of "strip", so it can be a program name with args.
4770 set dummy strip
; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$ac_ct_STRIP"; then
4777 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_ac_ct_STRIP
="strip"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4797 if test -n "$ac_ct_STRIP"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4799 $as_echo "$ac_ct_STRIP" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4805 if test "x$ac_ct_STRIP" = x
; then
4808 case $cross_compiling:$ac_tool_warned in
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4812 ac_tool_warned
=yes ;;
4817 STRIP
="$ac_cv_prog_STRIP"
4820 test -z "$STRIP" && STRIP
=:
4827 if test -n "$ac_tool_prefix"; then
4828 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4829 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$RANLIB"; then
4836 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 RANLIB
=$ac_cv_prog_RANLIB
4856 if test -n "$RANLIB"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4858 $as_echo "$RANLIB" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4866 if test -z "$ac_cv_prog_RANLIB"; then
4867 ac_ct_RANLIB
=$RANLIB
4868 # Extract the first word of "ranlib", so it can be a program name with args.
4869 set dummy ranlib
; ac_word
=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4873 $as_echo_n "(cached) " >&6
4875 if test -n "$ac_ct_RANLIB"; then
4876 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4896 if test -n "$ac_ct_RANLIB"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4898 $as_echo "$ac_ct_RANLIB" >&6; }
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4904 if test "x$ac_ct_RANLIB" = x
; then
4907 case $cross_compiling:$ac_tool_warned in
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4911 ac_tool_warned
=yes ;;
4913 RANLIB
=$ac_ct_RANLIB
4916 RANLIB
="$ac_cv_prog_RANLIB"
4919 test -z "$RANLIB" && RANLIB
=:
4926 # Determine commands to create old-style static archives.
4927 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
4928 old_postinstall_cmds
='chmod 644 $oldlib'
4929 old_postuninstall_cmds
=
4931 if test -n "$RANLIB"; then
4934 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4937 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
4940 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
4976 # If no C compiler was specified, use CC.
4979 # If no C compiler flags were specified, use CFLAGS.
4980 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4982 # Allow CC to be a program name with arguments.
4986 # Check for command to grab the raw symbol name followed by C symbol from nm.
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
4988 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4989 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4993 # These are sane defaults that work on at least a few old systems.
4994 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4996 # Character class describing NM global symbol codes.
4997 symcode
='[BCDEGRST]'
4999 # Regexp to match symbols that can be accessed directly from C.
5000 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5002 # Define system-specific variables.
5007 cygwin
* | mingw
* | pw32
* | cegcc
*)
5008 symcode
='[ABCDGISTW]'
5011 if test "$host_cpu" = ia64
; then
5012 symcode
='[ABCDEGRST]'
5016 symcode
='[BCDEGRST]'
5019 symcode
='[BCDEGQRST]'
5030 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5038 # If we're using GNU nm, then use its standard symbol codes.
5039 case `$NM -V 2>&1` in
5040 *GNU
* | *'with BFD'*)
5041 symcode
='[ABCDGIRSTW]' ;;
5044 # Transform an extracted symbol line into a proper C declaration.
5045 # Some systems (esp. on ia64) link data and code symbols differently,
5046 # so use this general approach.
5047 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5049 # Transform an extracted symbol line into symbol name and symbol address
5050 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5051 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'"
5053 # Handle CRLF in mingw tool chain
5057 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5061 # Try without a prefix underscore, then with it.
5062 for ac_symprfx
in "" "_"; do
5064 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5065 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5067 # Write the raw and C identifiers.
5068 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5069 # Fake it for dumpbin and say T for any non-static function
5070 # and D for any global variable.
5071 # Also find C++ and __fastcall symbols from MSVC++,
5072 # which start with @ or ?.
5073 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5074 " {last_section=section; section=\$ 3};"\
5075 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5076 " \$ 0!~/External *\|/{next};"\
5077 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5078 " {if(hide[section]) next};"\
5079 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5080 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5081 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5082 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5083 " ' prfx=^$ac_symprfx"
5085 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5088 # Check to see that the pipe works correctly.
5092 cat > conftest.
$ac_ext <<_LT_EOF
5097 void nm_test_func(void);
5098 void nm_test_func(void){}
5102 int main(){nm_test_var='a';nm_test_func();return(0);}
5105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5106 (eval $ac_compile) 2>&5
5108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5109 test $ac_status = 0; }; then
5110 # Now try to grab the symbols.
5112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5113 (eval $NM conftest.
$ac_objext \
| $lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
5115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5116 test $ac_status = 0; } && test -s "$nlist"; then
5117 # Try sorting and uniquifying the output.
5118 if sort "$nlist" | uniq > "$nlist"T
; then
5119 mv -f "$nlist"T
"$nlist"
5124 # Make sure that we snagged all the symbols we need.
5125 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
5126 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
5127 cat <<_LT_EOF > conftest.$ac_ext
5133 # Now generate the symbol file.
5134 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5136 cat <<_LT_EOF >> conftest.$ac_ext
5138 /* The mapping between symbol names and symbols. */
5143 lt__PROGRAM__LTX_preloaded_symbols[] =
5145 { "@PROGRAM@", (void *) 0 },
5147 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main
>> conftest.
$ac_ext
5148 cat <<\_LT_EOF
>> conftest.
$ac_ext
5152 /* This works around a problem
in FreeBSD linker
*/
5153 #ifdef FREEBSD_WORKAROUND
5154 static const void
*lt_preloaded_setup
() {
5155 return lt__PROGRAM__LTX_preloaded_symbols
;
5163 # Now try linking the two files.
5164 mv conftest.
$ac_objext conftstm.
$ac_objext
5165 lt_save_LIBS
="$LIBS"
5166 lt_save_CFLAGS
="$CFLAGS"
5167 LIBS
="conftstm.$ac_objext"
5168 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5170 (eval $ac_link) 2>&5
5172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5173 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
5176 LIBS
="$lt_save_LIBS"
5177 CFLAGS
="$lt_save_CFLAGS"
5179 echo "cannot find nm_test_func in $nlist" >&5
5182 echo "cannot find nm_test_var in $nlist" >&5
5185 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5188 echo "$progname: failed program was:" >&5
5189 cat conftest.
$ac_ext >&5
5191 rm -rf conftest
* conftst
*
5193 # Do not use the global_symbol_pipe unless it works.
5194 if test "$pipe_works" = yes; then
5197 lt_cv_sys_global_symbol_pipe
=
5203 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5204 lt_cv_sys_global_symbol_to_cdecl
=
5206 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5208 $as_echo "failed" >&6; }
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5211 $as_echo "ok" >&6; }
5236 # Check whether --enable-libtool-lock was given.
5237 if test "${enable_libtool_lock+set}" = set; then :
5238 enableval
=$enable_libtool_lock;
5241 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5243 # Some flags need to be propagated to the compiler or linker for good
5247 # Find out which ABI we are using.
5248 echo 'int i;' > conftest.
$ac_ext
5249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5250 (eval $ac_compile) 2>&5
5252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5253 test $ac_status = 0; }; then
5254 case `/usr/bin/file conftest.$ac_objext` in
5266 # Find out which ABI we are using.
5267 echo '#line 5267 "configure"' > conftest.
$ac_ext
5268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5269 (eval $ac_compile) 2>&5
5271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272 test $ac_status = 0; }; then
5273 if test "$lt_cv_prog_gnu_ld" = yes; then
5274 case `/usr/bin/file conftest.$ac_objext` in
5276 LD
="${LD-ld} -melf32bsmip"
5279 LD
="${LD-ld} -melf32bmipn32"
5282 LD
="${LD-ld} -melf64bmip"
5286 case `/usr/bin/file conftest.$ac_objext` in
5302 x86_64
-*kfreebsd
*-gnu|x86_64
-*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
5303 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
5304 # Find out which ABI we are using.
5305 echo 'int i;' > conftest.
$ac_ext
5306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5307 (eval $ac_compile) 2>&5
5309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5310 test $ac_status = 0; }; then
5311 case `/usr/bin/file conftest.o` in
5314 x86_64
-*kfreebsd
*-gnu)
5315 LD
="${LD-ld} -m elf_i386_fbsd"
5318 LD
="${LD-ld} -m elf_i386"
5320 ppc64
-*linux
*|powerpc64
-*linux
*)
5321 LD
="${LD-ld} -m elf32ppclinux"
5324 LD
="${LD-ld} -m elf_s390"
5327 LD
="${LD-ld} -m elf32_sparc"
5333 x86_64
-*kfreebsd
*-gnu)
5334 LD
="${LD-ld} -m elf_x86_64_fbsd"
5337 LD
="${LD-ld} -m elf_x86_64"
5339 ppc
*-*linux
*|powerpc
*-*linux
*)
5340 LD
="${LD-ld} -m elf64ppc"
5342 s390
*-*linux
*|s390
*-*tpf
*)
5343 LD
="${LD-ld} -m elf64_s390"
5346 LD
="${LD-ld} -m elf64_sparc"
5356 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5357 SAVE_CFLAGS
="$CFLAGS"
5358 CFLAGS
="$CFLAGS -belf"
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5360 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5361 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5365 ac_cpp
='$CPP $CPPFLAGS'
5366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5371 /* end confdefs.h. */
5381 if ac_fn_c_try_link
"$LINENO"; then :
5382 lt_cv_cc_needs_belf
=yes
5384 lt_cv_cc_needs_belf
=no
5386 rm -f core conftest.err conftest.
$ac_objext \
5387 conftest
$ac_exeext conftest.
$ac_ext
5389 ac_cpp
='$CPP $CPPFLAGS'
5390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5396 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5397 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5398 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5399 CFLAGS
="$SAVE_CFLAGS"
5403 # Find out which ABI we are using.
5404 echo 'int i;' > conftest.
$ac_ext
5405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5406 (eval $ac_compile) 2>&5
5408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5409 test $ac_status = 0; }; then
5410 case `/usr/bin/file conftest.o` in
5412 case $lt_cv_prog_gnu_ld in
5413 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
5415 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
5427 need_locks
="$enable_libtool_lock"
5431 rhapsody
* | darwin
*)
5432 if test -n "$ac_tool_prefix"; then
5433 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5434 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$DSYMUTIL"; then
5441 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
5461 if test -n "$DSYMUTIL"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5463 $as_echo "$DSYMUTIL" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5471 if test -z "$ac_cv_prog_DSYMUTIL"; then
5472 ac_ct_DSYMUTIL
=$DSYMUTIL
5473 # Extract the first word of "dsymutil", so it can be a program name with args.
5474 set dummy dsymutil
; ac_word
=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5478 $as_echo_n "(cached) " >&6
5480 if test -n "$ac_ct_DSYMUTIL"; then
5481 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
5483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5487 test -z "$as_dir" && as_dir
=.
5488 for ac_exec_ext
in '' $ac_executable_extensions; do
5489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
5501 if test -n "$ac_ct_DSYMUTIL"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5503 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5509 if test "x$ac_ct_DSYMUTIL" = x
; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned
=yes ;;
5518 DSYMUTIL
=$ac_ct_DSYMUTIL
5521 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
5524 if test -n "$ac_tool_prefix"; then
5525 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5526 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5528 $as_echo_n "checking for $ac_word... " >&6; }
5529 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5532 if test -n "$NMEDIT"; then
5533 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5542 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 NMEDIT
=$ac_cv_prog_NMEDIT
5553 if test -n "$NMEDIT"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5555 $as_echo "$NMEDIT" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5558 $as_echo "no" >&6; }
5563 if test -z "$ac_cv_prog_NMEDIT"; then
5564 ac_ct_NMEDIT
=$NMEDIT
5565 # Extract the first word of "nmedit", so it can be a program name with args.
5566 set dummy nmedit
; ac_word
=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5570 $as_echo_n "(cached) " >&6
5572 if test -n "$ac_ct_NMEDIT"; then
5573 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
5575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5579 test -z "$as_dir" && as_dir
=.
5580 for ac_exec_ext
in '' $ac_executable_extensions; do
5581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5582 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
5593 if test -n "$ac_ct_NMEDIT"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
5595 $as_echo "$ac_ct_NMEDIT" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5601 if test "x$ac_ct_NMEDIT" = x
; then
5604 case $cross_compiling:$ac_tool_warned in
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5608 ac_tool_warned
=yes ;;
5610 NMEDIT
=$ac_ct_NMEDIT
5613 NMEDIT
="$ac_cv_prog_NMEDIT"
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5618 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620 $as_echo_n "checking for $ac_word... " >&6; }
5621 if test "${ac_cv_prog_LIPO+set}" = set; then :
5622 $as_echo_n "(cached) " >&6
5624 if test -n "$LIPO"; then
5625 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for ac_exec_ext
in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 LIPO
=$ac_cv_prog_LIPO
5645 if test -n "$LIPO"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
5647 $as_echo "$LIPO" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }
5655 if test -z "$ac_cv_prog_LIPO"; then
5657 # Extract the first word of "lipo", so it can be a program name with args.
5658 set dummy lipo
; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$ac_ct_LIPO"; then
5665 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5674 ac_cv_prog_ac_ct_LIPO
="lipo"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
5685 if test -n "$ac_ct_LIPO"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
5687 $as_echo "$ac_ct_LIPO" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5693 if test "x$ac_ct_LIPO" = x
; then
5696 case $cross_compiling:$ac_tool_warned in
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned
=yes ;;
5705 LIPO
="$ac_cv_prog_LIPO"
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5710 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if test "${ac_cv_prog_OTOOL+set}" = set; then :
5714 $as_echo_n "(cached) " >&6
5716 if test -n "$OTOOL"; then
5717 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_exec_ext
in '' $ac_executable_extensions; do
5725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 OTOOL
=$ac_cv_prog_OTOOL
5737 if test -n "$OTOOL"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
5739 $as_echo "$OTOOL" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5747 if test -z "$ac_cv_prog_OTOOL"; then
5749 # Extract the first word of "otool", so it can be a program name with args.
5750 set dummy otool
; ac_word
=$2
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752 $as_echo_n "checking for $ac_word... " >&6; }
5753 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
5754 $as_echo_n "(cached) " >&6
5756 if test -n "$ac_ct_OTOOL"; then
5757 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
5759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5763 test -z "$as_dir" && as_dir
=.
5764 for ac_exec_ext
in '' $ac_executable_extensions; do
5765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5766 ac_cv_prog_ac_ct_OTOOL
="otool"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5776 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
5777 if test -n "$ac_ct_OTOOL"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
5779 $as_echo "$ac_ct_OTOOL" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782 $as_echo "no" >&6; }
5785 if test "x$ac_ct_OTOOL" = x
; then
5788 case $cross_compiling:$ac_tool_warned in
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5792 ac_tool_warned
=yes ;;
5797 OTOOL
="$ac_cv_prog_OTOOL"
5800 if test -n "$ac_tool_prefix"; then
5801 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5802 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -n "$OTOOL64"; then
5809 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 OTOOL64
=$ac_cv_prog_OTOOL64
5829 if test -n "$OTOOL64"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
5831 $as_echo "$OTOOL64" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5839 if test -z "$ac_cv_prog_OTOOL64"; then
5840 ac_ct_OTOOL64
=$OTOOL64
5841 # Extract the first word of "otool64", so it can be a program name with args.
5842 set dummy otool64
; ac_word
=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
5846 $as_echo_n "(cached) " >&6
5848 if test -n "$ac_ct_OTOOL64"; then
5849 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
5851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir
=.
5856 for ac_exec_ext
in '' $ac_executable_extensions; do
5857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5858 ac_cv_prog_ac_ct_OTOOL64
="otool64"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5868 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
5869 if test -n "$ac_ct_OTOOL64"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
5871 $as_echo "$ac_ct_OTOOL64" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5877 if test "x$ac_ct_OTOOL64" = x
; then
5880 case $cross_compiling:$ac_tool_warned in
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5884 ac_tool_warned
=yes ;;
5886 OTOOL64
=$ac_ct_OTOOL64
5889 OTOOL64
="$ac_cv_prog_OTOOL64"
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
5919 $as_echo_n "checking for -single_module linker flag... " >&6; }
5920 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5923 lt_cv_apple_cc_single_mod
=no
5924 if test -z "${LT_MULTI_MODULE}"; then
5925 # By default we will add the -single_module flag. You can override
5926 # by either setting the environment variable LT_MULTI_MODULE
5927 # non-empty at configure time, or by adding -multi_module to the
5929 rm -rf libconftest.dylib
*
5930 echo "int foo(void){return 1;}" > conftest.c
5931 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5932 -dynamiclib -Wl,-single_module conftest.c" >&5
5933 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5934 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
5936 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
5937 lt_cv_apple_cc_single_mod
=yes
5939 cat conftest.err
>&5
5941 rm -rf libconftest.dylib
*
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
5946 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
5948 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5949 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
5950 $as_echo_n "(cached) " >&6
5952 lt_cv_ld_exported_symbols_list
=no
5953 save_LDFLAGS
=$LDFLAGS
5954 echo "_main" > conftest.sym
5955 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5957 /* end confdefs.h. */
5967 if ac_fn_c_try_link
"$LINENO"; then :
5968 lt_cv_ld_exported_symbols_list
=yes
5970 lt_cv_ld_exported_symbols_list
=no
5972 rm -f core conftest.err conftest.
$ac_objext \
5973 conftest
$ac_exeext conftest.
$ac_ext
5974 LDFLAGS
="$save_LDFLAGS"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
5978 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5980 rhapsody
* | darwin1.
[012])
5981 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
5983 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5984 darwin
*) # darwin 5.x on
5985 # if running on 10.5 or later, the deployment target defaults
5986 # to the OS version, if on x86, and 10.4, the deployment
5987 # target defaults to 10.4. Don't you love it?
5988 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5989 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5990 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5992 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5994 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
5998 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5999 _lt_dar_single_mod
='$single_module'
6001 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6002 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6004 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6006 if test "$DSYMUTIL" != ":"; then
6007 _lt_dsymutil
='~$DSYMUTIL $lib || :'
6015 ac_cpp
='$CPP $CPPFLAGS'
6016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6020 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6021 # On Suns, sometimes $CPP names a directory.
6022 if test -n "$CPP" && test -d "$CPP"; then
6025 if test -z "$CPP"; then
6026 if test "${ac_cv_prog_CPP+set}" = set; then :
6027 $as_echo_n "(cached) " >&6
6029 # Double quotes because CPP needs to be expanded
6030 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6033 for ac_c_preproc_warn_flag
in '' yes
6035 # Use a header file that comes with gcc, so configuring glibc
6036 # with a fresh cross-compiler works.
6037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6038 # <limits.h> exists even on freestanding compilers.
6039 # On the NeXT, cc -E runs the code through the compiler's parser,
6040 # not just through cpp. "Syntax error" is here to catch this case.
6041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6044 # include <limits.h>
6046 # include <assert.h>
6050 if ac_fn_c_try_cpp
"$LINENO"; then :
6053 # Broken: fails on valid input.
6056 rm -f conftest.err conftest.
$ac_ext
6058 # OK, works on sane cases. Now check whether nonexistent headers
6059 # can be detected and how.
6060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6062 #include <ac_nonexistent.h>
6064 if ac_fn_c_try_cpp
"$LINENO"; then :
6065 # Broken: success on invalid input.
6068 # Passes both tests.
6072 rm -f conftest.err conftest.
$ac_ext
6075 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6076 rm -f conftest.err conftest.
$ac_ext
6077 if $ac_preproc_ok; then :
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6090 $as_echo "$CPP" >&6; }
6092 for ac_c_preproc_warn_flag
in '' yes
6094 # Use a header file that comes with gcc, so configuring glibc
6095 # with a fresh cross-compiler works.
6096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6097 # <limits.h> exists even on freestanding compilers.
6098 # On the NeXT, cc -E runs the code through the compiler's parser,
6099 # not just through cpp. "Syntax error" is here to catch this case.
6100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6101 /* end confdefs.h. */
6103 # include <limits.h>
6105 # include <assert.h>
6109 if ac_fn_c_try_cpp
"$LINENO"; then :
6112 # Broken: fails on valid input.
6115 rm -f conftest.err conftest.
$ac_ext
6117 # OK, works on sane cases. Now check whether nonexistent headers
6118 # can be detected and how.
6119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6120 /* end confdefs.h. */
6121 #include <ac_nonexistent.h>
6123 if ac_fn_c_try_cpp
"$LINENO"; then :
6124 # Broken: success on invalid input.
6127 # Passes both tests.
6131 rm -f conftest.err conftest.
$ac_ext
6134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6135 rm -f conftest.err conftest.
$ac_ext
6136 if $ac_preproc_ok; then :
6139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6141 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
6142 See \`config.log' for more details." "$LINENO" 5; }
6146 ac_cpp
='$CPP $CPPFLAGS'
6147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6153 $as_echo_n "checking for ANSI C header files... " >&6; }
6154 if test "${ac_cv_header_stdc+set}" = set; then :
6155 $as_echo_n "(cached) " >&6
6157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6158 /* end confdefs.h. */
6172 if ac_fn_c_try_compile
"$LINENO"; then :
6173 ac_cv_header_stdc
=yes
6175 ac_cv_header_stdc
=no
6177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6179 if test $ac_cv_header_stdc = yes; then
6180 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6187 $EGREP "memchr" >/dev
/null
2>&1; then :
6190 ac_cv_header_stdc
=no
6196 if test $ac_cv_header_stdc = yes; then
6197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h. */
6203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6204 $EGREP "free" >/dev
/null
2>&1; then :
6207 ac_cv_header_stdc
=no
6213 if test $ac_cv_header_stdc = yes; then
6214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6215 if test "$cross_compiling" = yes; then :
6218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h. */
6222 #if ((' ' & 0x0FF) == 0x020)
6223 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6224 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6226 # define ISLOWER(c) \
6227 (('a' <= (c) && (c) <= 'i') \
6228 || ('j' <= (c) && (c) <= 'r') \
6229 || ('s' <= (c) && (c) <= 'z'))
6230 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6233 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6238 for (i = 0; i < 256; i++)
6239 if (XOR (islower (i), ISLOWER (i))
6240 || toupper (i) != TOUPPER (i))
6245 if ac_fn_c_try_run
"$LINENO"; then :
6248 ac_cv_header_stdc
=no
6250 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6251 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6257 $as_echo "$ac_cv_header_stdc" >&6; }
6258 if test $ac_cv_header_stdc = yes; then
6260 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6264 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6265 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6266 inttypes.h stdint.h unistd.h
6268 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6269 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6271 eval as_val
=\$
$as_ac_Header
6272 if test "x$as_val" = x
""yes; then :
6273 cat >>confdefs.h
<<_ACEOF
6274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6282 for ac_header
in dlfcn.h
6284 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6286 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6287 cat >>confdefs.h
<<_ACEOF
6288 #define HAVE_DLFCN_H 1
6298 # Check whether --enable-static was given.
6299 if test "${enable_static+set}" = set; then :
6300 enableval
=$enable_static; p
=${PACKAGE-default}
6302 yes) enable_static
=yes ;;
6303 no
) enable_static
=no
;;
6306 # Look at the argument we got. We use all the common list separators.
6307 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6308 for pkg
in $enableval; do
6310 if test "X$pkg" = "X$p"; then
6336 # Check whether --enable-shared was given.
6337 if test "${enable_shared+set}" = set; then :
6338 enableval
=$enable_shared; p
=${PACKAGE-default}
6340 yes) enable_shared
=yes ;;
6341 no
) enable_shared
=no
;;
6344 # Look at the argument we got. We use all the common list separators.
6345 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6346 for pkg
in $enableval; do
6348 if test "X$pkg" = "X$p"; then
6369 # Check whether --with-pic was given.
6370 if test "${with_pic+set}" = set; then :
6371 withval
=$with_pic; pic_mode
="$withval"
6377 test -z "$pic_mode" && pic_mode
=default
6385 # Check whether --enable-fast-install was given.
6386 if test "${enable_fast_install+set}" = set; then :
6387 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6389 yes) enable_fast_install
=yes ;;
6390 no
) enable_fast_install
=no
;;
6392 enable_fast_install
=no
6393 # Look at the argument we got. We use all the common list separators.
6394 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6395 for pkg
in $enableval; do
6397 if test "X$pkg" = "X$p"; then
6398 enable_fast_install
=yes
6405 enable_fast_install
=yes
6418 # This can be used to rebuild libtool when needed
6419 LIBTOOL_DEPS
="$ltmain"
6421 # Always use our own libtool.
6422 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
6448 test -z "$LN_S" && LN_S
="ln -s"
6463 if test -n "${ZSH_VERSION+set}" ; then
6464 setopt NO_GLOB_SUBST
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6468 $as_echo_n "checking for objdir... " >&6; }
6469 if test "${lt_cv_objdir+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6472 rm -f .libs
2>/dev
/null
6473 mkdir .libs
2>/dev
/null
6474 if test -d .libs
; then
6477 # MS-DOS does not allow filenames that begin with a dot.
6480 rmdir .libs
2>/dev
/null
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6483 $as_echo "$lt_cv_objdir" >&6; }
6484 objdir
=$lt_cv_objdir
6490 cat >>confdefs.h
<<_ACEOF
6491 #define LT_OBJDIR "$lt_cv_objdir/"
6512 # AIX sometimes has problems with the GCC collect2 program. For some
6513 # reason, if we set the COLLECT_NAMES environment variable, the problems
6514 # vanish in a puff of smoke.
6515 if test "X${COLLECT_NAMES+set}" != Xset
; then
6517 export COLLECT_NAMES
6522 # Sed substitution that helps us do robust quoting. It backslashifies
6523 # metacharacters that are still active within double-quoted strings.
6524 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6526 # Same as above, but do not quote variable references.
6527 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6529 # Sed substitution to delay expansion of an escaped shell variable in a
6530 # double_quote_subst'ed string.
6531 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6533 # Sed substitution to delay expansion of an escaped single quote.
6534 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6536 # Sed substitution to avoid accidental globbing in evaled expressions
6537 no_glob_subst
='s/\*/\\\*/g'
6541 can_build_shared
=yes
6543 # All known linkers require a `.a' archive for static linking (except MSVC,
6544 # which needs '.lib').
6547 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6550 old_CFLAGS
="$CFLAGS"
6552 # Set sane defaults for various variables
6553 test -z "$CC" && CC
=cc
6554 test -z "$LTCC" && LTCC
=$CC
6555 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
6556 test -z "$LD" && LD
=ld
6557 test -z "$ac_objext" && ac_objext
=o
6559 for cc_temp
in $compiler""; do
6561 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
6562 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
6567 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6570 # Only perform the check for file, if the check method requires it
6571 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
6572 case $deplibs_check_method in
6574 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6576 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6577 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6578 $as_echo_n "(cached) " >&6
6582 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6585 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6586 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6587 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6588 for ac_dir
in $ac_dummy; do
6590 test -z "$ac_dir" && ac_dir
=.
6591 if test -f $ac_dir/${ac_tool_prefix}file; then
6592 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
6593 if test -n "$file_magic_test_file"; then
6594 case $deplibs_check_method in
6596 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6597 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6598 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6599 $EGREP "$file_magic_regex" > /dev
/null
; then
6604 *** Warning: the command libtool uses to detect shared libraries,
6605 *** $file_magic_cmd, produces output that libtool cannot recognize.
6606 *** The result is that libtool may fail to recognize shared libraries
6607 *** as such. This will affect the creation of libtool libraries that
6608 *** depend on shared libraries, but programs linked with such libtool
6609 *** libraries will work regardless of this problem. Nevertheless, you
6610 *** may want to report the problem to your system manager and/or to
6611 *** bug-libtool@gnu.org
6621 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6626 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6627 if test -n "$MAGIC_CMD"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6629 $as_echo "$MAGIC_CMD" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6639 if test -z "$lt_cv_path_MAGIC_CMD"; then
6640 if test -n "$ac_tool_prefix"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
6642 $as_echo_n "checking for file... " >&6; }
6643 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6644 $as_echo_n "(cached) " >&6
6648 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
6651 lt_save_MAGIC_CMD
="$MAGIC_CMD"
6652 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6653 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
6654 for ac_dir
in $ac_dummy; do
6656 test -z "$ac_dir" && ac_dir
=.
6657 if test -f $ac_dir/file; then
6658 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
6659 if test -n "$file_magic_test_file"; then
6660 case $deplibs_check_method in
6662 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6663 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6664 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
6665 $EGREP "$file_magic_regex" > /dev
/null
; then
6670 *** Warning: the command libtool uses to detect shared libraries,
6671 *** $file_magic_cmd, produces output that libtool cannot recognize.
6672 *** The result is that libtool may fail to recognize shared libraries
6673 *** as such. This will affect the creation of libtool libraries that
6674 *** depend on shared libraries, but programs linked with such libtool
6675 *** libraries will work regardless of this problem. Nevertheless, you
6676 *** may want to report the problem to your system manager and/or to
6677 *** bug-libtool@gnu.org
6687 MAGIC_CMD
="$lt_save_MAGIC_CMD"
6692 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
6693 if test -n "$MAGIC_CMD"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
6695 $as_echo "$MAGIC_CMD" >&6; }
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6711 # Use C for the default configuration in the libtool script
6715 ac_cpp
='$CPP $CPPFLAGS'
6716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6721 # Source file extension for C test sources.
6724 # Object file extension for compiled C test sources.
6728 # Code to be used in simple compile tests
6729 lt_simple_compile_test_code
="int some_variable = 0;"
6731 # Code to be used in simple link tests
6732 lt_simple_link_test_code
='int main(){return(0);}'
6740 # If no C compiler was specified, use CC.
6743 # If no C compiler flags were specified, use CFLAGS.
6744 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6746 # Allow CC to be a program name with arguments.
6749 # Save the default compiler, since it gets overwritten when the other
6750 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6751 compiler_DEFAULT
=$CC
6753 # save warnings/boilerplate of simple test code
6754 ac_outfile
=conftest.
$ac_objext
6755 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
6756 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6757 _lt_compiler_boilerplate
=`cat conftest.err`
6760 ac_outfile
=conftest.
$ac_objext
6761 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
6762 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
6763 _lt_linker_boilerplate
=`cat conftest.err`
6767 if test -n "$compiler"; then
6769 lt_prog_compiler_no_builtin_flag
=
6771 if test "$GCC" = yes; then
6772 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6775 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6776 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
6777 $as_echo_n "(cached) " >&6
6779 lt_cv_prog_compiler_rtti_exceptions
=no
6780 ac_outfile
=conftest.
$ac_objext
6781 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6782 lt_compiler_flag
="-fno-rtti -fno-exceptions"
6783 # Insert the option either (1) after the last *FLAGS variable, or
6784 # (2) before a word containing "conftest.", or (3) at the end.
6785 # Note that $ac_compile itself does not contain backslashes and begins
6786 # with a dollar sign (not a hyphen), so the echo should work correctly.
6787 # The option is referenced via a variable to avoid confusing sed.
6788 lt_compile
=`echo "$ac_compile" | $SED \
6789 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6791 -e 's:$: $lt_compiler_flag:'`
6792 (eval echo "\"\$as_me:6792: $lt_compile\"" >&5)
6793 (eval "$lt_compile" 2>conftest.err
)
6795 cat conftest.err
>&5
6796 echo "$as_me:6796: \$? = $ac_status" >&5
6797 if (exit $ac_status) && test -s "$ac_outfile"; then
6798 # The compiler can only warn and ignore the option if not recognized
6799 # So say no if there are warnings other than the usual output.
6800 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6801 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6802 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
6803 lt_cv_prog_compiler_rtti_exceptions
=yes
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6810 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6812 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
6813 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6825 lt_prog_compiler_wl
=
6826 lt_prog_compiler_pic
=
6827 lt_prog_compiler_static
=
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
6830 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6832 if test "$GCC" = yes; then
6833 lt_prog_compiler_wl
='-Wl,'
6834 lt_prog_compiler_static
='-static'
6838 # All AIX code is PIC.
6839 if test "$host_cpu" = ia64
; then
6840 # AIX 5 now supports IA64 processor
6841 lt_prog_compiler_static
='-Bstatic'
6848 # see comment about AmigaOS4 .so support
6849 lt_prog_compiler_pic
='-fPIC'
6852 # FIXME: we need at least 68020 code to build shared libraries, but
6853 # adding the `-m68020' flag to GCC prevents building anything better,
6855 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6860 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6861 # PIC is the default for these OSes.
6864 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6865 # This hack is so that the source file can tell whether it is being
6866 # built for inclusion in a dll (and should export symbols for example).
6867 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6868 # (--disable-auto-import) libraries
6869 lt_prog_compiler_pic
='-DDLL_EXPORT'
6872 darwin
* | rhapsody
*)
6873 # PIC is the default on this platform
6874 # Common symbols not allowed in MH_DYLIB files
6875 lt_prog_compiler_pic
='-fno-common'
6879 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6880 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
6881 # sets the default TLS model and affects inlining.
6887 lt_prog_compiler_pic
='-fPIC'
6893 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6894 # Instead, we relocate shared libraries at runtime.
6898 # Just because we use GCC doesn't mean we suddenly get shared libraries
6899 # on systems that don't support them.
6900 lt_prog_compiler_can_build_shared
=no
6905 # QNX uses GNU C++, but need to define -shared option too, otherwise
6907 lt_prog_compiler_pic
='-fPIC -shared'
6911 if test -d /usr
/nec
; then
6912 lt_prog_compiler_pic
=-Kconform_pic
6917 lt_prog_compiler_pic
='-fPIC'
6921 # PORTME Check for flag to pass linker flags through the system compiler.
6924 lt_prog_compiler_wl
='-Wl,'
6925 if test "$host_cpu" = ia64
; then
6926 # AIX 5 now supports IA64 processor
6927 lt_prog_compiler_static
='-Bstatic'
6929 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6933 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
6934 # This hack is so that the source file can tell whether it is being
6935 # built for inclusion in a dll (and should export symbols for example).
6936 lt_prog_compiler_pic
='-DDLL_EXPORT'
6939 hpux9
* | hpux10
* | hpux11
*)
6940 lt_prog_compiler_wl
='-Wl,'
6941 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6948 lt_prog_compiler_pic
='+Z'
6951 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6952 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6955 irix5
* | irix6
* | nonstopux
*)
6956 lt_prog_compiler_wl
='-Wl,'
6957 # PIC (with -KPIC) is the default.
6958 lt_prog_compiler_static
='-non_shared'
6961 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6962 case $cc_basename in
6963 # old Intel for x86_64 which still supported -KPIC.
6965 lt_prog_compiler_wl
='-Wl,'
6966 lt_prog_compiler_pic
='-KPIC'
6967 lt_prog_compiler_static
='-static'
6969 # icc used to be incompatible with GCC.
6970 # ICC 10 doesn't accept -KPIC any more.
6972 lt_prog_compiler_wl
='-Wl,'
6973 lt_prog_compiler_pic
='-fPIC'
6974 lt_prog_compiler_static
='-static'
6976 # Lahey Fortran 8.1.
6978 lt_prog_compiler_wl
='-Wl,'
6979 lt_prog_compiler_pic
='--shared'
6980 lt_prog_compiler_static
='--static'
6982 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6983 # Portland Group compilers (*not* the Pentium gcc compiler,
6984 # which looks to be a dead project)
6985 lt_prog_compiler_wl
='-Wl,'
6986 lt_prog_compiler_pic
='-fpic'
6987 lt_prog_compiler_static
='-Bstatic'
6990 lt_prog_compiler_wl
='-Wl,'
6991 # All Alpha code is PIC.
6992 lt_prog_compiler_static
='-non_shared'
6995 # IBM XL C 8.0/Fortran 10.1 on PPC
6996 lt_prog_compiler_wl
='-Wl,'
6997 lt_prog_compiler_pic
='-qpic'
6998 lt_prog_compiler_static
='-qstaticlink'
7001 case `$CC -V 2>&1 | sed 5q` in
7004 lt_prog_compiler_pic
='-KPIC'
7005 lt_prog_compiler_static
='-Bstatic'
7006 lt_prog_compiler_wl
='-Wl,'
7009 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7010 lt_prog_compiler_pic
='-KPIC'
7011 lt_prog_compiler_static
='-Bstatic'
7012 lt_prog_compiler_wl
=''
7020 lt_prog_compiler_pic
='-KPIC'
7021 lt_prog_compiler_static
='-Bstatic'
7025 # QNX uses GNU C++, but need to define -shared option too, otherwise
7027 lt_prog_compiler_pic
='-fPIC -shared'
7030 osf3
* | osf4
* | osf5
*)
7031 lt_prog_compiler_wl
='-Wl,'
7032 # All OSF/1 code is PIC.
7033 lt_prog_compiler_static
='-non_shared'
7037 lt_prog_compiler_static
='-non_shared'
7041 lt_prog_compiler_pic
='-KPIC'
7042 lt_prog_compiler_static
='-Bstatic'
7043 case $cc_basename in
7045 lt_prog_compiler_wl
='-Qoption ld ';;
7047 lt_prog_compiler_wl
='-Wl,';;
7052 lt_prog_compiler_wl
='-Qoption ld '
7053 lt_prog_compiler_pic
='-PIC'
7054 lt_prog_compiler_static
='-Bstatic'
7057 sysv4
| sysv4.2uw2
* | sysv4.3
*)
7058 lt_prog_compiler_wl
='-Wl,'
7059 lt_prog_compiler_pic
='-KPIC'
7060 lt_prog_compiler_static
='-Bstatic'
7064 if test -d /usr
/nec
;then
7065 lt_prog_compiler_pic
='-Kconform_pic'
7066 lt_prog_compiler_static
='-Bstatic'
7070 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7071 lt_prog_compiler_wl
='-Wl,'
7072 lt_prog_compiler_pic
='-KPIC'
7073 lt_prog_compiler_static
='-Bstatic'
7077 lt_prog_compiler_wl
='-Wl,'
7078 lt_prog_compiler_can_build_shared
=no
7082 lt_prog_compiler_pic
='-pic'
7083 lt_prog_compiler_static
='-Bstatic'
7087 lt_prog_compiler_can_build_shared
=no
7093 # For platforms which do not support PIC, -DPIC is meaningless:
7095 lt_prog_compiler_pic
=
7098 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7102 $as_echo "$lt_prog_compiler_pic" >&6; }
7110 # Check to make sure the PIC flag actually works.
7112 if test -n "$lt_prog_compiler_pic"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7114 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7115 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7116 $as_echo_n "(cached) " >&6
7118 lt_cv_prog_compiler_pic_works
=no
7119 ac_outfile
=conftest.
$ac_objext
7120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7121 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7122 # Insert the option either (1) after the last *FLAGS variable, or
7123 # (2) before a word containing "conftest.", or (3) at the end.
7124 # Note that $ac_compile itself does not contain backslashes and begins
7125 # with a dollar sign (not a hyphen), so the echo should work correctly.
7126 # The option is referenced via a variable to avoid confusing sed.
7127 lt_compile
=`echo "$ac_compile" | $SED \
7128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7130 -e 's:$: $lt_compiler_flag:'`
7131 (eval echo "\"\$as_me:7131: $lt_compile\"" >&5)
7132 (eval "$lt_compile" 2>conftest.err
)
7134 cat conftest.err
>&5
7135 echo "$as_me:7135: \$? = $ac_status" >&5
7136 if (exit $ac_status) && test -s "$ac_outfile"; then
7137 # The compiler can only warn and ignore the option if not recognized
7138 # So say no if there are warnings other than the usual output.
7139 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7140 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7141 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
7142 lt_cv_prog_compiler_pic_works
=yes
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7149 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7151 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7152 case $lt_prog_compiler_pic in
7154 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7157 lt_prog_compiler_pic
=
7158 lt_prog_compiler_can_build_shared
=no
7169 # Check to make sure the static flag actually works.
7171 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7173 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7174 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7175 $as_echo_n "(cached) " >&6
7177 lt_cv_prog_compiler_static_works
=no
7178 save_LDFLAGS
="$LDFLAGS"
7179 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7180 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7181 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7182 # The linker can only warn and ignore the option if not recognized
7183 # So say no if there are warnings
7184 if test -s conftest.err
; then
7185 # Append any errors to the config.log.
7186 cat conftest.err
1>&5
7187 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7188 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7189 if diff conftest.exp conftest.er2
>/dev
/null
; then
7190 lt_cv_prog_compiler_static_works
=yes
7193 lt_cv_prog_compiler_static_works
=yes
7197 LDFLAGS
="$save_LDFLAGS"
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7201 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7203 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7206 lt_prog_compiler_static
=
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7216 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7217 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7218 $as_echo_n "(cached) " >&6
7220 lt_cv_prog_compiler_c_o
=no
7221 $RM -r conftest
2>/dev
/null
7225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7227 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7228 # Insert the option either (1) after the last *FLAGS variable, or
7229 # (2) before a word containing "conftest.", or (3) at the end.
7230 # Note that $ac_compile itself does not contain backslashes and begins
7231 # with a dollar sign (not a hyphen), so the echo should work correctly.
7232 lt_compile
=`echo "$ac_compile" | $SED \
7233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7235 -e 's:$: $lt_compiler_flag:'`
7236 (eval echo "\"\$as_me:7236: $lt_compile\"" >&5)
7237 (eval "$lt_compile" 2>out
/conftest.err
)
7239 cat out
/conftest.err
>&5
7240 echo "$as_me:7240: \$? = $ac_status" >&5
7241 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7243 # The compiler can only warn and ignore the option if not recognized
7244 # So say no if there are warnings
7245 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7246 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7247 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7248 lt_cv_prog_compiler_c_o
=yes
7253 # SGI C++ compiler will create directory out/ii_files/ for
7254 # template instantiation
7255 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7256 $RM out
/* && rmdir out
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7263 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7271 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7272 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7275 lt_cv_prog_compiler_c_o
=no
7276 $RM -r conftest
2>/dev
/null
7280 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7282 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7283 # Insert the option either (1) after the last *FLAGS variable, or
7284 # (2) before a word containing "conftest.", or (3) at the end.
7285 # Note that $ac_compile itself does not contain backslashes and begins
7286 # with a dollar sign (not a hyphen), so the echo should work correctly.
7287 lt_compile
=`echo "$ac_compile" | $SED \
7288 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7289 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7290 -e 's:$: $lt_compiler_flag:'`
7291 (eval echo "\"\$as_me:7291: $lt_compile\"" >&5)
7292 (eval "$lt_compile" 2>out
/conftest.err
)
7294 cat out
/conftest.err
>&5
7295 echo "$as_me:7295: \$? = $ac_status" >&5
7296 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7298 # The compiler can only warn and ignore the option if not recognized
7299 # So say no if there are warnings
7300 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
7301 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7302 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7303 lt_cv_prog_compiler_c_o
=yes
7308 # SGI C++ compiler will create directory out/ii_files/ for
7309 # template instantiation
7310 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7311 $RM out
/* && rmdir out
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7318 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7323 hard_links
="nottested"
7324 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7325 # do not overwrite the value of need_locks provided by the user
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7327 $as_echo_n "checking if we can lock with hard links... " >&6; }
7330 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7332 ln conftest.a conftest.b
2>&5 || hard_links
=no
7333 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7335 $as_echo "$hard_links" >&6; }
7336 if test "$hard_links" = no
; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7338 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7351 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7354 allow_undefined_flag
=
7355 always_export_symbols
=no
7357 archive_expsym_cmds
=
7358 compiler_needs_object
=no
7359 enable_shared_with_static_runtimes
=no
7360 export_dynamic_flag_spec
=
7361 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7362 hardcode_automatic
=no
7364 hardcode_direct_absolute
=no
7365 hardcode_libdir_flag_spec
=
7366 hardcode_libdir_flag_spec_ld
=
7367 hardcode_libdir_separator
=
7369 hardcode_shlibpath_var
=unsupported
7371 link_all_deplibs
=unknown
7374 old_archive_from_new_cmds
=
7375 old_archive_from_expsyms_cmds
=
7376 thread_safe_flag_spec
=
7377 whole_archive_flag_spec
=
7378 # include_expsyms should be a list of space-separated symbols to be *always*
7379 # included in the symbol list
7381 # exclude_expsyms can be an extended regexp of symbols to exclude
7382 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7383 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7384 # as well as any symbol that contains `d'.
7385 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7386 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7387 # platforms (ab)use it in PIC code, but their linkers get confused if
7388 # the symbol is explicitly referenced. Since portable code cannot
7389 # rely on this symbol name, it's probably fine to never include it in
7390 # preloaded symbol tables.
7391 # Exclude shared library initialization/finalization symbols.
7392 extract_expsyms_cmds
=
7395 cygwin
* | mingw
* | pw32
* | cegcc
*)
7396 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7397 # When not using gcc, we currently assume that we are using
7398 # Microsoft Visual C++.
7399 if test "$GCC" != yes; then
7404 # we just hope/assume this is gcc and not c89 (= MSVC++)
7410 linux
* | k
*bsd
*-gnu)
7416 if test "$with_gnu_ld" = yes; then
7417 # If archive_cmds runs LD, not CC, wlarc should be empty
7420 # Set some defaults for GNU ld with shared library support. These
7421 # are reset later if shared libraries are not supported. Putting them
7422 # here allows them to be overridden if necessary.
7423 runpath_var
=LD_RUN_PATH
7424 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7425 export_dynamic_flag_spec
='${wl}--export-dynamic'
7426 # ancient GNU ld didn't support --whole-archive et. al.
7427 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
7428 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7430 whole_archive_flag_spec
=
7432 supports_anon_versioning
=no
7433 case `$LD -v 2>&1` in
7434 *GNU\ gold
*) supports_anon_versioning
=yes ;;
7435 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
7436 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7437 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7438 *\
2.11.
*) ;; # other 2.11 versions
7439 *) supports_anon_versioning
=yes ;;
7442 # See if GNU ld supports shared libraries.
7445 # On AIX/PPC, the GNU linker is very broken
7446 if test "$host_cpu" != ia64
; then
7450 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7451 *** to be unable to reliably create shared libraries on AIX.
7452 *** Therefore, libtool is disabling shared libraries support. If you
7453 *** really care for shared libraries, you may want to modify your PATH
7454 *** so that a non-GNU linker is found, and then restart.
7463 # see comment about AmigaOS4 .so support
7464 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7465 archive_expsym_cmds
=''
7468 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)'
7469 hardcode_libdir_flag_spec
='-L$libdir'
7470 hardcode_minus_L
=yes
7476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7477 allow_undefined_flag
=unsupported
7478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7479 # support --undefined. This deserves some investigation. FIXME
7480 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7486 cygwin
* | mingw
* | pw32
* | cegcc
*)
7487 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7488 # as there is no search path for DLLs.
7489 hardcode_libdir_flag_spec
='-L$libdir'
7490 allow_undefined_flag
=unsupported
7491 always_export_symbols
=no
7492 enable_shared_with_static_runtimes
=yes
7493 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7495 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
7496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7497 # If the export-symbols file already is a .def file (1st line
7498 # is EXPORTS), use it as is; otherwise, prepend...
7499 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7500 cp $export_symbols $output_objdir/$soname.def;
7502 echo EXPORTS > $output_objdir/$soname.def;
7503 cat $export_symbols >> $output_objdir/$soname.def;
7505 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7513 hardcode_shlibpath_var
=no
7514 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7515 export_dynamic_flag_spec
='${wl}-E'
7516 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7517 # Instead, shared libraries are loaded at an image base (0x10000000 by
7518 # default) and relocated if they conflict, which is a slow very memory
7519 # consuming and fragmenting process. To avoid this, we pick a random,
7520 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7521 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7522 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7523 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'
7526 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7528 if test "$host_os" = linux
-dietlibc; then
7529 case $cc_basename in
7530 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7533 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
7534 && test "$tmp_diet" = no
7537 tmp_sharedflag
='-shared'
7538 case $cc_basename,$host_cpu in
7539 pgcc
*) # Portland Group C compiler
7540 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'
7541 tmp_addflag
=' $pic_flag'
7543 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7544 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'
7545 tmp_addflag
=' $pic_flag -Mnomain' ;;
7546 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7547 tmp_addflag
=' -i_dynamic' ;;
7548 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7549 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7550 ifc
* | ifort
*) # Intel Fortran compiler
7551 tmp_addflag
=' -nofor_main' ;;
7552 lf95
*) # Lahey Fortran 8.1
7553 whole_archive_flag_spec
=
7554 tmp_sharedflag
='--shared' ;;
7555 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
7556 tmp_sharedflag
='-qmkshrobj'
7559 case `$CC -V 2>&1 | sed 5q` in
7560 *Sun\ C
*) # Sun C 5.9
7561 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'
7562 compiler_needs_object
=yes
7563 tmp_sharedflag
='-G' ;;
7564 *Sun\ F
*) # Sun Fortran 8.3
7565 tmp_sharedflag
='-G' ;;
7567 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7569 if test "x$supports_anon_versioning" = xyes
; then
7570 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7571 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7572 echo "local: *; };" >> $output_objdir/$libname.ver~
7573 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7576 case $cc_basename in
7578 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7579 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
7580 hardcode_libdir_flag_spec
=
7581 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
7582 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7583 if test "x$supports_anon_versioning" = xyes
; then
7584 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7585 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7586 echo "local: *; };" >> $output_objdir/$libname.ver~
7587 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7596 netbsd
* | netbsdelf
*-gnu)
7597 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
7598 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7601 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7602 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7607 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
7611 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7612 *** create shared libraries on Solaris systems. Therefore, libtool
7613 *** is disabling shared libraries support. We urge you to upgrade GNU
7614 *** binutils to release 2.9.1 or newer. Another option is to modify
7615 *** your PATH or compiler configuration so that the native linker is
7616 *** used, and then restart.
7619 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7620 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7621 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7627 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7628 case `$LD -v 2>&1` in
7629 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
7633 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7634 *** reliably create shared libraries on SCO systems. Therefore, libtool
7635 *** is disabling shared libraries support. We urge you to upgrade GNU
7636 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7637 *** your PATH or compiler configuration so that the native linker is
7638 *** used, and then restart.
7643 # For security reasons, it is highly recommended that you always
7644 # use absolute paths for naming shared libraries, and exclude the
7645 # DT_RUNPATH tag from executables and libraries. But doing so
7646 # requires that you compile everything twice, which is a pain.
7647 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7648 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7649 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7650 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7659 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7662 hardcode_shlibpath_var
=no
7666 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
7667 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7668 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7675 if test "$ld_shlibs" = no
; then
7677 hardcode_libdir_flag_spec
=
7678 export_dynamic_flag_spec
=
7679 whole_archive_flag_spec
=
7682 # PORTME fill in a description of your system's linker (not GNU ld)
7685 allow_undefined_flag
=unsupported
7686 always_export_symbols
=yes
7687 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'
7688 # Note: this linker hardcodes the directories in LIBPATH if there
7689 # are no directories specified by -L.
7690 hardcode_minus_L
=yes
7691 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7692 # Neither direct hardcoding nor static linking is supported with a
7694 hardcode_direct
=unsupported
7699 if test "$host_cpu" = ia64
; then
7700 # On IA64, the linker does run time linking by default, so we don't
7701 # have to do anything special.
7702 aix_use_runtimelinking
=no
7703 exp_sym_flag
='-Bexport'
7706 # If we're using GNU nm, then we don't want the "-C" option.
7707 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7708 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
7709 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'
7711 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'
7713 aix_use_runtimelinking
=no
7715 # Test if we are trying to use run time linking or normal
7716 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7717 # need to do runtime linking.
7718 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7719 for ld_flag
in $LDFLAGS; do
7720 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7721 aix_use_runtimelinking
=yes
7728 exp_sym_flag
='-bexport'
7729 no_entry_flag
='-bnoentry'
7732 # When large executables or shared objects are built, AIX ld can
7733 # have problems creating the table of contents. If linking a library
7734 # or program results in "error TOC overflow" add -mminimal-toc to
7735 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7736 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7740 hardcode_direct_absolute
=yes
7741 hardcode_libdir_separator
=':'
7742 link_all_deplibs
=yes
7743 file_list_spec
='${wl}-f,'
7745 if test "$GCC" = yes; then
7746 case $host_os in aix4.
[012]|aix4.
[012].
*)
7747 # We only want to do this on AIX 4.2 and lower, the check
7748 # below for broken collect2 doesn't work under 4.3+
7749 collect2name
=`${CC} -print-prog-name=collect2`
7750 if test -f "$collect2name" &&
7751 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
7753 # We have reworked collect2
7756 # We have old collect2
7757 hardcode_direct
=unsupported
7758 # It fails to find uninstalled libraries when the uninstalled
7759 # path is not listed in the libpath. Setting hardcode_minus_L
7760 # to unsupported forces relinking
7761 hardcode_minus_L
=yes
7762 hardcode_libdir_flag_spec
='-L$libdir'
7763 hardcode_libdir_separator
=
7767 shared_flag
='-shared'
7768 if test "$aix_use_runtimelinking" = yes; then
7769 shared_flag
="$shared_flag "'${wl}-G'
7774 if test "$host_cpu" = ia64
; then
7775 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7776 # chokes on -Wl,-G. The following line is correct:
7779 if test "$aix_use_runtimelinking" = yes; then
7780 shared_flag
='${wl}-G'
7782 shared_flag
='${wl}-bM:SRE'
7787 export_dynamic_flag_spec
='${wl}-bexpall'
7788 # It seems that -bexpall does not export symbols beginning with
7789 # underscore (_), so it is better to generate a list of symbols to export.
7790 always_export_symbols
=yes
7791 if test "$aix_use_runtimelinking" = yes; then
7792 # Warning - without using the other runtime loading flags (-brtl),
7793 # -berok will link without error, but may produce a broken library.
7794 allow_undefined_flag
='-berok'
7795 # Determine the default libpath from the value encoded in an
7797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7798 /* end confdefs.h. */
7808 if ac_fn_c_try_link
"$LINENO"; then :
7810 lt_aix_libpath_sed
='
7811 /Import File Strings/,/^$/ {
7817 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7818 # Check for a 64-bit object if we didn't find anything.
7819 if test -z "$aix_libpath"; then
7820 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7823 rm -f core conftest.err conftest.
$ac_objext \
7824 conftest
$ac_exeext conftest.
$ac_ext
7825 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7827 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7828 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"
7830 if test "$host_cpu" = ia64
; then
7831 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7832 allow_undefined_flag
="-z nodefs"
7833 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"
7835 # Determine the default libpath from the value encoded in an
7837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7848 if ac_fn_c_try_link
"$LINENO"; then :
7850 lt_aix_libpath_sed
='
7851 /Import File Strings/,/^$/ {
7857 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7858 # Check for a 64-bit object if we didn't find anything.
7859 if test -z "$aix_libpath"; then
7860 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7863 rm -f core conftest.err conftest.
$ac_objext \
7864 conftest
$ac_exeext conftest.
$ac_ext
7865 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7867 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7868 # Warning - without using the other run time loading flags,
7869 # -berok will link without error, but may produce a broken library.
7870 no_undefined_flag
=' ${wl}-bernotok'
7871 allow_undefined_flag
=' ${wl}-berok'
7872 # Exported symbols can be pulled into shared objects from archives
7873 whole_archive_flag_spec
='$convenience'
7874 archive_cmds_need_lc
=yes
7875 # This is similar to how AIX traditionally builds its shared libraries.
7876 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'
7884 # see comment about AmigaOS4 .so support
7885 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7886 archive_expsym_cmds
=''
7889 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)'
7890 hardcode_libdir_flag_spec
='-L$libdir'
7891 hardcode_minus_L
=yes
7897 export_dynamic_flag_spec
=-rdynamic
7900 cygwin
* | mingw
* | pw32
* | cegcc
*)
7901 # When not using gcc, we currently assume that we are using
7902 # Microsoft Visual C++.
7903 # hardcode_libdir_flag_spec is actually meaningless, as there is
7904 # no search path for DLLs.
7905 hardcode_libdir_flag_spec
=' '
7906 allow_undefined_flag
=unsupported
7907 # Tell ltmain to make .lib files, not .a files.
7909 # Tell ltmain to make .dll files, not .so files.
7911 # FIXME: Setting linknames here is a bad hack.
7912 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7913 # The linker will automatically build a .lib file if we build a DLL.
7914 old_archive_from_new_cmds
='true'
7915 # FIXME: Should let the user specify the lib program.
7916 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7917 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7918 enable_shared_with_static_runtimes
=yes
7921 darwin
* | rhapsody
*)
7924 archive_cmds_need_lc
=no
7926 hardcode_automatic
=yes
7927 hardcode_shlibpath_var
=unsupported
7928 whole_archive_flag_spec
=''
7929 link_all_deplibs
=yes
7930 allow_undefined_flag
="$_lt_dar_allow_undefined"
7931 case $cc_basename in
7932 ifort
*) _lt_dar_can_shared
=yes ;;
7933 *) _lt_dar_can_shared
=$GCC ;;
7935 if test "$_lt_dar_can_shared" = "yes"; then
7936 output_verbose_link_cmd
=echo
7937 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7938 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7939 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}"
7940 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}"
7949 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7950 hardcode_libdir_flag_spec
='-L$libdir'
7951 hardcode_shlibpath_var
=no
7958 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7959 # support. Future versions do this automatically, but an explicit c++rt0.o
7960 # does not break anything, and helps significantly (at the cost of a little
7963 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7964 hardcode_libdir_flag_spec
='-R$libdir'
7966 hardcode_shlibpath_var
=no
7969 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7971 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7973 hardcode_minus_L
=yes
7974 hardcode_shlibpath_var
=no
7977 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7978 freebsd
* | dragonfly
*)
7979 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7980 hardcode_libdir_flag_spec
='-R$libdir'
7982 hardcode_shlibpath_var
=no
7986 if test "$GCC" = yes; then
7987 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'
7989 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'
7991 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7992 hardcode_libdir_separator
=:
7995 # hardcode_minus_L: Not really in the search PATH,
7996 # but as the default location of the library.
7997 hardcode_minus_L
=yes
7998 export_dynamic_flag_spec
='${wl}-E'
8002 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8003 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8005 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8007 if test "$with_gnu_ld" = no
; then
8008 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8009 hardcode_libdir_flag_spec_ld
='+b $libdir'
8010 hardcode_libdir_separator
=:
8012 hardcode_direct_absolute
=yes
8013 export_dynamic_flag_spec
='${wl}-E'
8014 # hardcode_minus_L: Not really in the search PATH,
8015 # but as the default location of the library.
8016 hardcode_minus_L
=yes
8021 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8024 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8027 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8030 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8036 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8039 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8042 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8046 if test "$with_gnu_ld" = no
; then
8047 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8048 hardcode_libdir_separator
=:
8053 hardcode_shlibpath_var
=no
8057 hardcode_direct_absolute
=yes
8058 export_dynamic_flag_spec
='${wl}-E'
8060 # hardcode_minus_L: Not really in the search PATH,
8061 # but as the default location of the library.
8062 hardcode_minus_L
=yes
8068 irix5
* | irix6
* | nonstopux
*)
8069 if test "$GCC" = yes; then
8070 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'
8071 # Try to use the -exported_symbol ld option, if it does not
8072 # work, assume that -exports_file does not work either and
8073 # implicitly export all symbols.
8074 save_LDFLAGS
="$LDFLAGS"
8075 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8077 /* end confdefs.h. */
8080 if ac_fn_c_try_link
"$LINENO"; then :
8081 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'
8084 rm -f core conftest.err conftest.
$ac_objext \
8085 conftest
$ac_exeext conftest.
$ac_ext
8086 LDFLAGS
="$save_LDFLAGS"
8088 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'
8089 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'
8091 archive_cmds_need_lc
='no'
8092 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8093 hardcode_libdir_separator
=:
8095 link_all_deplibs
=yes
8098 netbsd
* | netbsdelf
*-gnu)
8099 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
8100 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8102 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8104 hardcode_libdir_flag_spec
='-R$libdir'
8106 hardcode_shlibpath_var
=no
8110 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8112 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8113 hardcode_libdir_separator
=:
8114 hardcode_shlibpath_var
=no
8121 if test -f /usr
/libexec
/ld.so
; then
8123 hardcode_shlibpath_var
=no
8124 hardcode_direct_absolute
=yes
8125 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8126 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8127 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8128 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8129 export_dynamic_flag_spec
='${wl}-E'
8132 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8133 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8134 hardcode_libdir_flag_spec
='-R$libdir'
8137 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8138 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8148 hardcode_libdir_flag_spec
='-L$libdir'
8149 hardcode_minus_L
=yes
8150 allow_undefined_flag
=unsupported
8151 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'
8152 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8156 if test "$GCC" = yes; then
8157 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8158 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'
8160 allow_undefined_flag
=' -expect_unresolved \*'
8161 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'
8163 archive_cmds_need_lc
='no'
8164 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8165 hardcode_libdir_separator
=:
8168 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8169 if test "$GCC" = yes; then
8170 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8171 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
8172 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8174 allow_undefined_flag
=' -expect_unresolved \*'
8175 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'
8176 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~
8177 $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'
8179 # Both c and cxx compiler support -rpath directly
8180 hardcode_libdir_flag_spec
='-rpath $libdir'
8182 archive_cmds_need_lc
='no'
8183 hardcode_libdir_separator
=:
8187 no_undefined_flag
=' -z defs'
8188 if test "$GCC" = yes; then
8190 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8191 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8192 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8194 case `$CC -V 2>&1` in
8197 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8198 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8199 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8203 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8204 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8205 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8209 hardcode_libdir_flag_spec
='-R$libdir'
8210 hardcode_shlibpath_var
=no
8212 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8214 # The compiler driver will combine and reorder linker options,
8215 # but understands `-z linker_flag'. GCC discards it without `$wl',
8216 # but is careful enough not to reorder.
8217 # Supported since Solaris 2.6 (maybe 2.5.1?)
8218 if test "$GCC" = yes; then
8219 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8221 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8225 link_all_deplibs
=yes
8229 if test "x$host_vendor" = xsequent
; then
8230 # Use $CC to link under sequent, because it throws in some extra .o
8231 # files that make .init and .fini sections work.
8232 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8234 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8236 hardcode_libdir_flag_spec
='-L$libdir'
8238 hardcode_minus_L
=yes
8239 hardcode_shlibpath_var
=no
8243 case $host_vendor in
8245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8246 hardcode_direct
=yes # is this really true???
8249 ## LD is ld it makes a PLAMLIB
8250 ## CC just makes a GrossModule.
8251 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8252 reload_cmds
='$CC -r -o $output$reload_objs'
8256 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8257 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8260 runpath_var
='LD_RUN_PATH'
8261 hardcode_shlibpath_var
=no
8265 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8266 hardcode_shlibpath_var
=no
8267 export_dynamic_flag_spec
='-Bexport'
8271 if test -d /usr
/nec
; then
8272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8273 hardcode_shlibpath_var
=no
8274 runpath_var
=LD_RUN_PATH
8275 hardcode_runpath_var
=yes
8280 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8281 no_undefined_flag
='${wl}-z,text'
8282 archive_cmds_need_lc
=no
8283 hardcode_shlibpath_var
=no
8284 runpath_var
='LD_RUN_PATH'
8286 if test "$GCC" = yes; then
8287 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8288 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8290 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8291 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8295 sysv5
* | sco3.2v5
* | sco5v6
*)
8296 # Note: We can NOT use -z defs as we might desire, because we do not
8297 # link with -lc, and that would cause any symbols used from libc to
8298 # always be unresolved, which means just about no library would
8299 # ever link correctly. If we're not using GNU ld we use -z text
8300 # though, which does catch some bad symbols but isn't as heavy-handed
8302 no_undefined_flag
='${wl}-z,text'
8303 allow_undefined_flag
='${wl}-z,nodefs'
8304 archive_cmds_need_lc
=no
8305 hardcode_shlibpath_var
=no
8306 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8307 hardcode_libdir_separator
=':'
8308 link_all_deplibs
=yes
8309 export_dynamic_flag_spec
='${wl}-Bexport'
8310 runpath_var
='LD_RUN_PATH'
8312 if test "$GCC" = yes; then
8313 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8314 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8316 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8317 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8322 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8323 hardcode_libdir_flag_spec
='-L$libdir'
8324 hardcode_shlibpath_var
=no
8332 if test x
$host_vendor = xsni
; then
8334 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8335 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8342 $as_echo "$ld_shlibs" >&6; }
8343 test "$ld_shlibs" = no
&& can_build_shared
=no
8345 with_gnu_ld
=$with_gnu_ld
8362 # Do we need to explicitly link libc?
8364 case "x$archive_cmds_need_lc" in
8366 # Assume -lc should be added
8367 archive_cmds_need_lc
=yes
8369 if test "$enable_shared" = yes && test "$GCC" = yes; then
8370 case $archive_cmds in
8372 # FIXME: we may have to deal with multi-command sequences.
8375 # Test whether the compiler implicitly links with -lc since on some
8376 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8377 # to ld, don't add -lc before -lgcc.
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8379 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8381 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8384 (eval $ac_compile) 2>&5
8386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387 test $ac_status = 0; } 2>conftest.err
; then
8390 libobjs
=conftest.
$ac_objext
8392 wl
=$lt_prog_compiler_wl
8393 pic_flag
=$lt_prog_compiler_pic
8399 lt_save_allow_undefined_flag
=$allow_undefined_flag
8400 allow_undefined_flag
=
8401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8402 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8405 test $ac_status = 0; }
8407 archive_cmds_need_lc
=no
8409 archive_cmds_need_lc
=yes
8411 allow_undefined_flag
=$lt_save_allow_undefined_flag
8413 cat conftest.err
1>&5
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8417 $as_echo "$archive_cmds_need_lc" >&6; }
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
8581 $as_echo_n "checking dynamic linker characteristics... " >&6; }
8583 if test "$GCC" = yes; then
8585 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8586 *) lt_awk_arg
="/^libraries:/" ;;
8588 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8589 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev
/null
; then
8590 # if the path contains ";" then we assume it to be the separator
8591 # otherwise default to the standard path separator (i.e. ":") - it is
8592 # assumed that no part of a normal pathname contains ";" but that should
8593 # okay in the real world where ";" in dirpaths is itself problematic.
8594 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8596 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8598 # Ok, now we have the path, separated by spaces, we can step through it
8599 # and add multilib dir if necessary.
8600 lt_tmp_lt_search_path_spec
=
8601 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8602 for lt_sys_path
in $lt_search_path_spec; do
8603 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8604 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8606 test -d "$lt_sys_path" && \
8607 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8610 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8611 BEGIN {RS=" "; FS="/|\n";} {
8614 for (lt_i = NF; lt_i > 0; lt_i--) {
8615 if ($lt_i != "" && $lt_i != ".") {
8616 if ($lt_i == "..") {
8619 if (lt_count == 0) {
8620 lt_foo="/" $lt_i lt_foo;
8627 if (lt_foo != "") { lt_freq[lt_foo]++; }
8628 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8630 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8632 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8635 libname_spec
='lib$name'
8643 shlibpath_overrides_runpath
=unknown
8645 dynamic_linker
="$host_os ld.so"
8646 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8647 need_lib_prefix
=unknown
8648 hardcode_into_libs
=no
8650 # when you set need_version to no, make sure it does not cause -set_version
8651 # flags to be left without arguments
8652 need_version
=unknown
8657 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8658 shlibpath_var
=LIBPATH
8660 # AIX 3 has no versioning support, so we append a major version to the name.
8661 soname_spec
='${libname}${release}${shared_ext}$major'
8668 hardcode_into_libs
=yes
8669 if test "$host_cpu" = ia64
; then
8670 # AIX 5 supports IA64
8671 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8672 shlibpath_var
=LD_LIBRARY_PATH
8674 # With GCC up to 2.95.x, collect2 would create an import file
8675 # for dependence libraries. The import file would start with
8676 # the line `#! .'. This would cause the generated library to
8677 # depend on `.', always an invalid library. This was fixed in
8678 # development snapshots of GCC prior to 3.0.
8680 aix4
| aix4.
[01] | aix4.
[01].
*)
8681 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8683 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
8690 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8691 # soname into executable. Probably we can add versioning support to
8692 # collect2, so additional links can be useful in future.
8693 if test "$aix_use_runtimelinking" = yes; then
8694 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8695 # instead of lib<name>.a to let people know that these are not
8696 # typical AIX shared libraries.
8697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8699 # We preserve .a as extension for shared libraries through AIX4.2
8700 # and later when we are not doing run time linking.
8701 library_names_spec
='${libname}${release}.a $libname.a'
8702 soname_spec
='${libname}${release}${shared_ext}$major'
8704 shlibpath_var
=LIBPATH
8711 # Since July 2007 AmigaOS4 officially supports .so libraries.
8712 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8716 library_names_spec
='$libname.ixlibrary $libname.a'
8717 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8718 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'
8724 library_names_spec
='${libname}${shared_ext}'
8725 dynamic_linker
="$host_os ld.so"
8726 shlibpath_var
=LIBRARY_PATH
8732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8733 soname_spec
='${libname}${release}${shared_ext}$major'
8734 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8735 shlibpath_var
=LD_LIBRARY_PATH
8736 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8737 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8738 # the default ld.so.conf also contains /usr/contrib/lib and
8739 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8740 # libtool to hard-code these into programs
8743 cygwin
* | mingw
* | pw32
* | cegcc
*)
8744 version_type
=windows
8749 case $GCC,$host_os in
8750 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
8751 library_names_spec
='$libname.dll.a'
8752 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8753 postinstall_cmds
='base_file=`basename \${file}`~
8754 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8755 dldir=$destdir/`dirname \$dlpath`~
8756 test -d \$dldir || mkdir -p \$dldir~
8757 $install_prog $dir/$dlname \$dldir/$dlname~
8758 chmod a+x \$dldir/$dlname~
8759 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8760 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8762 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8763 dlpath=$dir/\$dldll~
8765 shlibpath_overrides_runpath
=yes
8769 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8770 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8771 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8774 # MinGW DLLs use traditional 'lib' prefix
8775 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8776 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8777 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
8778 # It is most probably a Windows format PATH printed by
8779 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8780 # path with ; separators, and with drive letters. We can handle the
8781 # drive letters (cygwin fileutils understands them), so leave them,
8782 # especially as we might pass files found there to a mingw objdump,
8783 # which wouldn't understand a cygwinified path. Ahh.
8784 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8786 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8790 # pw32 DLLs use 'pw' prefix rather than 'lib'
8791 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
8797 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
8800 dynamic_linker
='Win32 ld.exe'
8801 # FIXME: first we should search . and the directory the executable is in
8805 darwin
* | rhapsody
*)
8806 dynamic_linker
="$host_os dyld"
8810 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8811 soname_spec
='${libname}${release}${major}$shared_ext'
8812 shlibpath_overrides_runpath
=yes
8813 shlibpath_var
=DYLD_LIBRARY_PATH
8814 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8816 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8817 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8825 soname_spec
='${libname}${release}${shared_ext}$major'
8826 shlibpath_var
=LD_LIBRARY_PATH
8833 freebsd
* | dragonfly
*)
8834 # DragonFly does not have aout. When/if they implement a new
8835 # versioning mechanism, adjust this.
8836 if test -x /usr
/bin
/objformat
; then
8837 objformat
=`/usr/bin/objformat`
8840 freebsd
[123]*) objformat
=aout
;;
8844 version_type
=freebsd
-$objformat
8845 case $version_type in
8847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8852 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8856 shlibpath_var
=LD_LIBRARY_PATH
8859 shlibpath_overrides_runpath
=yes
8861 freebsd3.
[01]* | freebsdelf3.
[01]*)
8862 shlibpath_overrides_runpath
=yes
8863 hardcode_into_libs
=yes
8865 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8866 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8867 shlibpath_overrides_runpath
=no
8868 hardcode_into_libs
=yes
8870 *) # from 4.6 on, and DragonFly
8871 shlibpath_overrides_runpath
=yes
8872 hardcode_into_libs
=yes
8881 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8882 soname_spec
='${libname}${release}${shared_ext}$major'
8883 shlibpath_var
=LD_LIBRARY_PATH
8884 hardcode_into_libs
=yes
8887 hpux9
* | hpux10
* | hpux11
*)
8888 # Give a soname corresponding to the major version so that dld.sl refuses to
8889 # link against other versions.
8896 hardcode_into_libs
=yes
8897 dynamic_linker
="$host_os dld.so"
8898 shlibpath_var
=LD_LIBRARY_PATH
8899 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8901 soname_spec
='${libname}${release}${shared_ext}$major'
8902 if test "X$HPUX_IA64_MODE" = X32
; then
8903 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8905 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8911 hardcode_into_libs
=yes
8912 dynamic_linker
="$host_os dld.sl"
8913 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8914 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8916 soname_spec
='${libname}${release}${shared_ext}$major'
8917 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8918 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8922 dynamic_linker
="$host_os dld.sl"
8923 shlibpath_var
=SHLIB_PATH
8924 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8926 soname_spec
='${libname}${release}${shared_ext}$major'
8929 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8930 postinstall_cmds
='chmod 555 $lib'
8937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8938 soname_spec
='${libname}${release}${shared_ext}$major'
8939 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8940 shlibpath_var
=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath
=no
8942 hardcode_into_libs
=yes
8945 irix5
* | irix6
* | nonstopux
*)
8947 nonstopux
*) version_type
=nonstopux
;;
8949 if test "$lt_cv_prog_gnu_ld" = yes; then
8957 soname_spec
='${libname}${release}${shared_ext}$major'
8958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8960 irix5
* | nonstopux
*)
8964 case $LD in # libtool.m4 will add one of these switches to LD
8965 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8966 libsuff
= shlibsuff
= libmagic
=32-bit;;
8967 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8968 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8969 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8970 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8971 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
8975 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8976 shlibpath_overrides_runpath
=no
8977 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8978 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8979 hardcode_into_libs
=yes
8982 # No shared lib support for Linux oldld, aout, or coff.
8983 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8987 # This must be Linux ELF.
8988 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8993 soname_spec
='${libname}${release}${shared_ext}$major'
8994 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8995 shlibpath_var
=LD_LIBRARY_PATH
8996 shlibpath_overrides_runpath
=no
8997 # Some binutils ld are patched to set DT_RUNPATH
8998 save_LDFLAGS
=$LDFLAGS
9000 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9001 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9013 if ac_fn_c_try_link
"$LINENO"; then :
9014 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
9015 shlibpath_overrides_runpath
=yes
9018 rm -f core conftest.err conftest.
$ac_objext \
9019 conftest
$ac_exeext conftest.
$ac_ext
9020 LDFLAGS
=$save_LDFLAGS
9023 # This implies no fast_install, which is unacceptable.
9024 # Some rework will be needed to allow for fast_install
9025 # before this can be enabled.
9026 hardcode_into_libs
=yes
9028 # Append ld.so.conf contents to the search path
9029 if test -f /etc
/ld.so.conf
; then
9030 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' ' '`
9031 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9034 # We used to test for /lib/ld.so.1 and disable shared libraries on
9035 # powerpc, because MkLinux only supported shared libraries with the
9036 # GNU dynamic linker. Since this was broken with cross compilers,
9037 # most powerpc-linux boxes support dynamic linking these days and
9038 # people can always --disable-shared, the test was removed, and we
9039 # assume the GNU/Linux dynamic linker is in use.
9040 dynamic_linker
='GNU/Linux ld.so'
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9048 soname_spec
='${libname}${release}${shared_ext}$major'
9049 shlibpath_var
=LD_LIBRARY_PATH
9050 shlibpath_overrides_runpath
=no
9051 hardcode_into_libs
=yes
9052 dynamic_linker
='NetBSD ld.elf_so'
9059 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9061 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9062 dynamic_linker
='NetBSD (a.out) ld.so'
9064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9065 soname_spec
='${libname}${release}${shared_ext}$major'
9066 dynamic_linker
='NetBSD ld.elf_so'
9068 shlibpath_var
=LD_LIBRARY_PATH
9069 shlibpath_overrides_runpath
=yes
9070 hardcode_into_libs
=yes
9075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 shlibpath_var
=LD_LIBRARY_PATH
9077 shlibpath_overrides_runpath
=yes
9084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9085 soname_spec
='${libname}${release}${shared_ext}$major'
9086 shlibpath_var
=LD_LIBRARY_PATH
9087 shlibpath_overrides_runpath
=no
9088 hardcode_into_libs
=yes
9089 dynamic_linker
='ldqnx.so'
9094 sys_lib_dlsearch_path_spec
="/usr/lib"
9096 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9098 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
9099 *) need_version
=no
;;
9101 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9102 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9103 shlibpath_var
=LD_LIBRARY_PATH
9104 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9106 openbsd2.
[89] | openbsd2.
[89].
*)
9107 shlibpath_overrides_runpath
=no
9110 shlibpath_overrides_runpath
=yes
9114 shlibpath_overrides_runpath
=yes
9119 libname_spec
='$name'
9122 library_names_spec
='$libname${shared_ext} $libname.a'
9123 dynamic_linker
='OS/2 ld.exe'
9124 shlibpath_var
=LIBPATH
9127 osf3
* | osf4
* | osf5
*)
9131 soname_spec
='${libname}${release}${shared_ext}$major'
9132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9133 shlibpath_var
=LD_LIBRARY_PATH
9134 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9135 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9146 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9147 soname_spec
='${libname}${release}${shared_ext}$major'
9148 shlibpath_var
=LD_LIBRARY_PATH
9149 shlibpath_overrides_runpath
=yes
9150 hardcode_into_libs
=yes
9151 # ldd complains unless libraries are executable
9152 postinstall_cmds
='chmod +x $lib'
9157 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9158 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9159 shlibpath_var
=LD_LIBRARY_PATH
9160 shlibpath_overrides_runpath
=yes
9161 if test "$with_gnu_ld" = yes; then
9169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9170 soname_spec
='${libname}${release}${shared_ext}$major'
9171 shlibpath_var
=LD_LIBRARY_PATH
9172 case $host_vendor in
9174 shlibpath_overrides_runpath
=no
9176 runpath_var
=LD_RUN_PATH
9184 shlibpath_overrides_runpath
=no
9185 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9191 if test -d /usr
/nec
;then
9193 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9194 soname_spec
='$libname${shared_ext}.$major'
9195 shlibpath_var
=LD_LIBRARY_PATH
9199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9200 version_type
=freebsd
-elf
9203 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9204 soname_spec
='${libname}${release}${shared_ext}$major'
9205 shlibpath_var
=LD_LIBRARY_PATH
9206 shlibpath_overrides_runpath
=yes
9207 hardcode_into_libs
=yes
9208 if test "$with_gnu_ld" = yes; then
9209 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9211 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9214 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9218 sys_lib_dlsearch_path_spec
='/usr/lib'
9222 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9227 shlibpath_var
=LD_LIBRARY_PATH
9228 shlibpath_overrides_runpath
=no
9229 hardcode_into_libs
=yes
9234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9235 soname_spec
='${libname}${release}${shared_ext}$major'
9236 shlibpath_var
=LD_LIBRARY_PATH
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9244 $as_echo "$dynamic_linker" >&6; }
9245 test "$dynamic_linker" = no
&& can_build_shared
=no
9247 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9248 if test "$GCC" = yes; then
9249 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9252 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9253 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9255 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9256 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9346 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9348 if test -n "$hardcode_libdir_flag_spec" ||
9349 test -n "$runpath_var" ||
9350 test "X$hardcode_automatic" = "Xyes" ; then
9352 # We can hardcode non-existent directories.
9353 if test "$hardcode_direct" != no
&&
9354 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9355 # have to relink, otherwise we might link with an installed library
9356 # when we should be linking with a yet-to-be-installed one
9357 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9358 test "$hardcode_minus_L" != no
; then
9359 # Linking always hardcodes the temporary library directory.
9360 hardcode_action
=relink
9362 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9363 hardcode_action
=immediate
9366 # We cannot hardcode anything, or else we can only hardcode existing
9368 hardcode_action
=unsupported
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9371 $as_echo "$hardcode_action" >&6; }
9373 if test "$hardcode_action" = relink
||
9374 test "$inherit_rpath" = yes; then
9375 # Fast installation is not supported
9376 enable_fast_install
=no
9377 elif test "$shlibpath_overrides_runpath" = yes ||
9378 test "$enable_shared" = no
; then
9379 # Fast installation is not necessary
9380 enable_fast_install
=needless
9388 if test "x$enable_dlopen" != xyes
; then
9389 enable_dlopen
=unknown
9390 enable_dlopen_self
=unknown
9391 enable_dlopen_self_static
=unknown
9398 lt_cv_dlopen
="load_add_on"
9400 lt_cv_dlopen_self
=yes
9403 mingw
* | pw32
* | cegcc
*)
9404 lt_cv_dlopen
="LoadLibrary"
9409 lt_cv_dlopen
="dlopen"
9414 # if libdl is installed we need to link against it
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9416 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9417 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9418 $as_echo_n "(cached) " >&6
9420 ac_check_lib_save_LIBS
=$LIBS
9422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9440 if ac_fn_c_try_link
"$LINENO"; then :
9441 ac_cv_lib_dl_dlopen
=yes
9443 ac_cv_lib_dl_dlopen
=no
9445 rm -f core conftest.err conftest.
$ac_objext \
9446 conftest
$ac_exeext conftest.
$ac_ext
9447 LIBS
=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9450 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9451 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9452 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9457 lt_cv_dlopen_self
=yes
9464 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
9465 if test "x$ac_cv_func_shl_load" = x
""yes; then :
9466 lt_cv_dlopen
="shl_load"
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9469 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9470 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9471 $as_echo_n "(cached) " >&6
9473 ac_check_lib_save_LIBS
=$LIBS
9475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9478 /* Override any GCC internal prototype to avoid an error.
9479 Use char because int might match the return type of a GCC
9480 builtin and then its argument prototype would still apply. */
9493 if ac_fn_c_try_link
"$LINENO"; then :
9494 ac_cv_lib_dld_shl_load
=yes
9496 ac_cv_lib_dld_shl_load
=no
9498 rm -f core conftest.err conftest.
$ac_objext \
9499 conftest
$ac_exeext conftest.
$ac_ext
9500 LIBS
=$ac_check_lib_save_LIBS
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9503 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9504 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
9505 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
9507 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9508 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9509 lt_cv_dlopen
="dlopen"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9512 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9513 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9514 $as_echo_n "(cached) " >&6
9516 ac_check_lib_save_LIBS
=$LIBS
9518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9536 if ac_fn_c_try_link
"$LINENO"; then :
9537 ac_cv_lib_dl_dlopen
=yes
9539 ac_cv_lib_dl_dlopen
=no
9541 rm -f core conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 LIBS
=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9546 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9547 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9548 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
9551 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
9552 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
9553 $as_echo_n "(cached) " >&6
9555 ac_check_lib_save_LIBS
=$LIBS
9557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9575 if ac_fn_c_try_link
"$LINENO"; then :
9576 ac_cv_lib_svld_dlopen
=yes
9578 ac_cv_lib_svld_dlopen
=no
9580 rm -f core conftest.err conftest.
$ac_objext \
9581 conftest
$ac_exeext conftest.
$ac_ext
9582 LIBS
=$ac_check_lib_save_LIBS
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
9585 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9586 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
9587 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
9590 $as_echo_n "checking for dld_link in -ldld... " >&6; }
9591 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
9592 $as_echo_n "(cached) " >&6
9594 ac_check_lib_save_LIBS
=$LIBS
9596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9614 if ac_fn_c_try_link
"$LINENO"; then :
9615 ac_cv_lib_dld_dld_link
=yes
9617 ac_cv_lib_dld_dld_link
=no
9619 rm -f core conftest.err conftest.
$ac_objext \
9620 conftest
$ac_exeext conftest.
$ac_ext
9621 LIBS
=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
9624 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
9625 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
9626 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
9647 if test "x$lt_cv_dlopen" != xno
; then
9653 case $lt_cv_dlopen in
9655 save_CPPFLAGS
="$CPPFLAGS"
9656 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9658 save_LDFLAGS
="$LDFLAGS"
9659 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9662 LIBS
="$lt_cv_dlopen_libs $LIBS"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
9665 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
9666 if test "${lt_cv_dlopen_self+set}" = set; then :
9667 $as_echo_n "(cached) " >&6
9669 if test "$cross_compiling" = yes; then :
9670 lt_cv_dlopen_self
=cross
9672 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9673 lt_status
=$lt_dlunknown
9674 cat > conftest.
$ac_ext <<_LT_EOF
9675 #line 9675 "configure"
9676 #include "confdefs.h"
9685 # define LT_DLGLOBAL RTLD_GLOBAL
9688 # define LT_DLGLOBAL DL_GLOBAL
9690 # define LT_DLGLOBAL 0
9694 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9695 find out it does not work in some platform. */
9696 #ifndef LT_DLLAZY_OR_NOW
9698 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9701 # define LT_DLLAZY_OR_NOW DL_LAZY
9704 # define LT_DLLAZY_OR_NOW RTLD_NOW
9707 # define LT_DLLAZY_OR_NOW DL_NOW
9709 # define LT_DLLAZY_OR_NOW 0
9716 void fnord() { int i=42;}
9719 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9720 int status = $lt_dlunknown;
9724 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9725 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9726 /* dlclose (self); */
9734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9735 (eval $ac_link) 2>&5
9737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9738 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9739 (.
/conftest
; exit; ) >&5 2>/dev
/null
9742 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
9743 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
9744 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
9747 # compilation failed
9748 lt_cv_dlopen_self
=no
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
9756 $as_echo "$lt_cv_dlopen_self" >&6; }
9758 if test "x$lt_cv_dlopen_self" = xyes
; then
9759 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
9761 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
9762 if test "${lt_cv_dlopen_self_static+set}" = set; then :
9763 $as_echo_n "(cached) " >&6
9765 if test "$cross_compiling" = yes; then :
9766 lt_cv_dlopen_self_static
=cross
9768 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9769 lt_status
=$lt_dlunknown
9770 cat > conftest.
$ac_ext <<_LT_EOF
9771 #line 9771 "configure"
9772 #include "confdefs.h"
9781 # define LT_DLGLOBAL RTLD_GLOBAL
9784 # define LT_DLGLOBAL DL_GLOBAL
9786 # define LT_DLGLOBAL 0
9790 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9791 find out it does not work in some platform. */
9792 #ifndef LT_DLLAZY_OR_NOW
9794 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9797 # define LT_DLLAZY_OR_NOW DL_LAZY
9800 # define LT_DLLAZY_OR_NOW RTLD_NOW
9803 # define LT_DLLAZY_OR_NOW DL_NOW
9805 # define LT_DLLAZY_OR_NOW 0
9812 void fnord() { int i=42;}
9815 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9816 int status = $lt_dlunknown;
9820 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9821 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9822 /* dlclose (self); */
9830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9831 (eval $ac_link) 2>&5
9833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9834 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
9835 (.
/conftest
; exit; ) >&5 2>/dev
/null
9838 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
9839 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
9840 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
9843 # compilation failed
9844 lt_cv_dlopen_self_static
=no
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
9852 $as_echo "$lt_cv_dlopen_self_static" >&6; }
9855 CPPFLAGS
="$save_CPPFLAGS"
9856 LDFLAGS
="$save_LDFLAGS"
9861 case $lt_cv_dlopen_self in
9862 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
9863 *) enable_dlopen_self
=unknown
;;
9866 case $lt_cv_dlopen_self_static in
9867 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
9868 *) enable_dlopen_self_static
=unknown
;;
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
9891 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9892 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
9893 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9894 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9896 $as_echo "yes" >&6; }
9898 # FIXME - insert some real tests, host_os isn't really good enough
9901 if test -n "$STRIP" ; then
9902 striplib
="$STRIP -x"
9903 old_striplib
="$STRIP -S"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9905 $as_echo "yes" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9908 $as_echo "no" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9913 $as_echo "no" >&6; }
9929 # Report which library types will actually be built
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
9931 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
9933 $as_echo "$can_build_shared" >&6; }
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
9936 $as_echo_n "checking whether to build shared libraries... " >&6; }
9937 test "$can_build_shared" = "no" && enable_shared
=no
9939 # On AIX, shared libraries and static libraries use the same namespace, and
9940 # are all built from PIC.
9943 test "$enable_shared" = yes && enable_static
=no
9944 if test -n "$RANLIB"; then
9945 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
9946 postinstall_cmds
='$RANLIB $lib'
9951 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
9952 test "$enable_shared" = yes && enable_static
=no
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
9957 $as_echo "$enable_shared" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
9960 $as_echo_n "checking whether to build static libraries... " >&6; }
9961 # Make sure either enable_shared or enable_static is yes.
9962 test "$enable_shared" = yes || enable_static
=yes
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
9964 $as_echo "$enable_static" >&6; }
9971 ac_cpp
='$CPP $CPPFLAGS'
9972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9990 ac_config_commands
="$ac_config_commands libtool"
10000 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10001 if test -n "$ac_tool_prefix"; then
10002 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10003 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10005 $as_echo_n "checking for $ac_word... " >&6; }
10006 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
10007 $as_echo_n "(cached) " >&6
10009 case $PKG_CONFIG in
10011 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
10014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10015 for as_dir
in $PATH
10018 test -z "$as_dir" && as_dir
=.
10019 for ac_exec_ext
in '' $ac_executable_extensions; do
10020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10021 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10032 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
10033 if test -n "$PKG_CONFIG"; then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10035 $as_echo "$PKG_CONFIG" >&6; }
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10038 $as_echo "no" >&6; }
10043 if test -z "$ac_cv_path_PKG_CONFIG"; then
10044 ac_pt_PKG_CONFIG
=$PKG_CONFIG
10045 # Extract the first word of "pkg-config", so it can be a program name with args.
10046 set dummy pkg
-config; ac_word
=$2
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10048 $as_echo_n "checking for $ac_word... " >&6; }
10049 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
10050 $as_echo_n "(cached) " >&6
10052 case $ac_pt_PKG_CONFIG in
10054 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10058 for as_dir
in $PATH
10061 test -z "$as_dir" && as_dir
=.
10062 for ac_exec_ext
in '' $ac_executable_extensions; do
10063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10064 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10075 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
10076 if test -n "$ac_pt_PKG_CONFIG"; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10078 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10081 $as_echo "no" >&6; }
10084 if test "x$ac_pt_PKG_CONFIG" = x
; then
10087 case $cross_compiling:$ac_tool_warned in
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10091 ac_tool_warned
=yes ;;
10093 PKG_CONFIG
=$ac_pt_PKG_CONFIG
10096 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
10100 if test -n "$PKG_CONFIG"; then
10101 _pkg_min_version
=0.22
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10103 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10104 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10106 $as_echo "yes" >&6; }
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10109 $as_echo "no" >&6; }
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
10115 $as_echo_n "checking for GNU make... " >&6; }
10116 if test "${_cv_gnu_make_command+set}" = set; then :
10117 $as_echo_n "(cached) " >&6
10119 _cv_gnu_make_command
='' ;
10120 for a
in "$MAKE" make gmake gnumake
; do
10121 if test -z "$a" ; then continue ; fi ;
10122 if ( sh
-c "$a --version" 2> /dev
/null
| grep GNU
2>&1 > /dev
/null
) ; then
10123 _cv_gnu_make_command
=$a ;
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
10130 $as_echo "$_cv_gnu_make_command" >&6; } ;
10131 if test "x$_cv_gnu_make_command" != "x" ; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
10136 $as_echo "\"Not found\"" >&6; };
10140 GMAKE
=$_cv_gnu_make_command
10142 if test "x$GMAKE" = x
; then :
10143 as_fn_error
"You need GNU make" "$LINENO" 5
10145 for ac_prog
in bash
10147 # Extract the first word of "$ac_prog", so it can be a program name with args.
10148 set dummy
$ac_prog; ac_word
=$2
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10150 $as_echo_n "checking for $ac_word... " >&6; }
10151 if test "${ac_cv_path__BASH+set}" = set; then :
10152 $as_echo_n "(cached) " >&6
10156 ac_cv_path__BASH
="$_BASH" # Let the user override the test with a path.
10159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10160 for as_dir
in $PATH
10163 test -z "$as_dir" && as_dir
=.
10164 for ac_exec_ext
in '' $ac_executable_extensions; do
10165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10166 ac_cv_path__BASH
="$as_dir/$ac_word$ac_exec_ext"
10167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10177 _BASH
=$ac_cv_path__BASH
10178 if test -n "$_BASH"; then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_BASH" >&5
10180 $as_echo "$_BASH" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10183 $as_echo "no" >&6; }
10187 test -n "$_BASH" && break
10190 if test "x$_BASH" = x
; then :
10191 as_fn_error
"You need GNU bash" "$LINENO" 5
10193 for ac_prog
in time
10195 # Extract the first word of "$ac_prog", so it can be a program name with args.
10196 set dummy
$ac_prog; ac_word
=$2
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10198 $as_echo_n "checking for $ac_word... " >&6; }
10199 if test "${ac_cv_path_TIME+set}" = set; then :
10200 $as_echo_n "(cached) " >&6
10204 ac_cv_path_TIME
="$TIME" # Let the user override the test with a path.
10207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10208 for as_dir
in $PATH
10211 test -z "$as_dir" && as_dir
=.
10212 for ac_exec_ext
in '' $ac_executable_extensions; do
10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10214 ac_cv_path_TIME
="$as_dir/$ac_word$ac_exec_ext"
10215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10225 TIME
=$ac_cv_path_TIME
10226 if test -n "$TIME"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TIME" >&5
10228 $as_echo "$TIME" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10231 $as_echo "no" >&6; }
10235 test -n "$TIME" && break
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison >= 2.3" >&5
10242 $as_echo_n "checking for bison >= 2.3... " >&6; }
10243 if test -z "$BISON"; then
10244 ac_path_BISON_found
=false
10245 # Loop through the user's path and test for each of PROGNAME-LIST
10246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10247 for as_dir
in $PATH
10250 test -z "$as_dir" && as_dir
=.
10251 for ac_prog
in bison
; do
10252 for ac_exec_ext
in '' $ac_executable_extensions; do
10253 ac_path_BISON
="$as_dir/$ac_prog$ac_exec_ext"
10254 { test -f "$ac_path_BISON" && $as_test_x "$ac_path_BISON"; } || continue
10255 as_awk_strverscmp
='
10256 # Use only awk features that work with 7th edition Unix awk (1978).
10257 # My, what an old awk you have, Mr. Solaris!
10259 while (length(v1) && length(v2)) {
10260 # Set d1 to be the next thing to compare from v1, and likewise for d2.
10261 # Normally this is a single character, but if v1 and v2 contain digits,
10262 # compare them as integers and fractions as strverscmp does.
10263 if (v1 ~ /^0-9/ && v2 ~ /^0-9/) {
10264 # Split v1 and v2 into their leading digit string components d1 and d2,
10265 # and advance v1 and v2 past the leading digit strings.
10266 for (len1 = 1; substr(v1, len1 + 1) ~ /^0-9/; len1++) continue
10267 for (len2 = 1; substr(v2, len2 + 1) ~ /^0-9/; len2++) continue
10268 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
10269 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
10272 # Compare two fractions.
10273 while (d1 ~ /^0/ && d2 ~ /^0/) {
10274 d1 = substr(d1, 2); len1--
10275 d2 = substr(d2, 2); len2--
10277 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
10278 # The two components differ in length, and the common prefix
10279 # contains only leading zeros. Consider the longer to be less.
10283 # Otherwise, compare as strings.
10288 # A fraction is less than an integer.
10293 # An integer is greater than a fraction.
10296 # Compare two integers.
10302 # The normal case, without worrying about digits.
10303 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
10304 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
10306 if (d1 < d2) exit 1
10307 if (d1 > d2) exit 2
10309 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
10310 # which mishandles some comparisons of empty strings to integers.
10311 if (length(v2)) exit 1
10312 if (length(v1)) exit 2
10315 as_arg_v1
=`$ac_path_BISON -V | $SED -e '1 s/^bison (GNU Bison) \(.*\)$/\1/p;d'`
10317 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10322 ac_cv_path_BISON
=$ac_path_BISON
10325 ac_cv_path_BISON
=$ac_path_BISON
10331 $ac_path_BISON_found && break 3
10336 if test -z "$ac_cv_path_BISON"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10338 $as_echo "no" >&6; }
10339 as_fn_error
"You need bison 2.3 or greater" "$LINENO" 5
10343 ac_cv_path_BISON
=$BISON
10346 BISON
=$ac_cv_path_BISON
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
10349 $as_echo "$BISON" >&6; }
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flex >= 2.5.33" >&5
10354 $as_echo_n "checking for flex >= 2.5.33... " >&6; }
10355 if test -z "$FLEX"; then
10356 ac_path_FLEX_found
=false
10357 # Loop through the user's path and test for each of PROGNAME-LIST
10358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10359 for as_dir
in $PATH
10362 test -z "$as_dir" && as_dir
=.
10363 for ac_prog
in flex
; do
10364 for ac_exec_ext
in '' $ac_executable_extensions; do
10365 ac_path_FLEX
="$as_dir/$ac_prog$ac_exec_ext"
10366 { test -f "$ac_path_FLEX" && $as_test_x "$ac_path_FLEX"; } || continue
10367 as_arg_v1
=`$ac_path_FLEX --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10369 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10374 ac_cv_path_FLEX
=$ac_path_FLEX
10377 ac_cv_path_FLEX
=$ac_path_FLEX
10383 $ac_path_FLEX_found && break 3
10388 if test -z "$ac_cv_path_FLEX"; then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10390 $as_echo "no" >&6; }
10391 as_fn_error
"You need flex 2.5.33 or greater" "$LINENO" 5
10395 ac_cv_path_FLEX
=$FLEX
10398 FLEX
=$ac_cv_path_FLEX
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
10401 $as_echo "$FLEX" >&6; }
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gperf >= 3.0.3" >&5
10406 $as_echo_n "checking for gperf >= 3.0.3... " >&6; }
10407 if test -z "$GPERF"; then
10408 ac_path_GPERF_found
=false
10409 # Loop through the user's path and test for each of PROGNAME-LIST
10410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10411 for as_dir
in $PATH
10414 test -z "$as_dir" && as_dir
=.
10415 for ac_prog
in gperf
; do
10416 for ac_exec_ext
in '' $ac_executable_extensions; do
10417 ac_path_GPERF
="$as_dir/$ac_prog$ac_exec_ext"
10418 { test -f "$ac_path_GPERF" && $as_test_x "$ac_path_GPERF"; } || continue
10419 as_arg_v1
=`$ac_path_GPERF --version | $SED -e '1 s/^.* \([0-9.]*\)$/\1/p;d'`
10421 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10426 ac_cv_path_GPERF
=$ac_path_GPERF
10429 ac_cv_path_GPERF
=$ac_path_GPERF
10435 $ac_path_GPERF_found && break 3
10440 if test -z "$ac_cv_path_GPERF"; then
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 $as_echo "no" >&6; }
10443 as_fn_error
"You need gperf 3.0.3 or greater" "$LINENO" 5
10447 ac_cv_path_GPERF
=$GPERF
10450 GPERF
=$ac_cv_path_GPERF
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
10453 $as_echo "$GPERF" >&6; }
10455 # Find a good install program. We prefer a C program (faster),
10456 # so one script is as good as another. But avoid the broken or
10457 # incompatible versions:
10458 # SysV /etc/install, /usr/sbin/install
10459 # SunOS /usr/etc/install
10460 # IRIX /sbin/install
10462 # AmigaOS /C/install, which installs bootblocks on floppy discs
10463 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10464 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10466 # OS/2's system install, which has a completely different semantic
10467 # ./install, which can be erroneously created by make from ./install.sh.
10468 # Reject install programs that cannot install multiple files.
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10470 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10471 if test -z "$INSTALL"; then
10472 if test "${ac_cv_path_install+set}" = set; then :
10473 $as_echo_n "(cached) " >&6
10475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10476 for as_dir
in $PATH
10479 test -z "$as_dir" && as_dir
=.
10480 # Account for people who put trailing slashes in PATH elements.
10481 case $as_dir/ in #((
10482 .
/ | .
// | /[cC
]/* | \
10483 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
10484 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
10487 # OSF1 and SCO ODT 3.0 have their own names for install.
10488 # Don't use installbsd from OSF since it installs stuff as root
10490 for ac_prog
in ginstall scoinst
install; do
10491 for ac_exec_ext
in '' $ac_executable_extensions; do
10492 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10493 if test $ac_prog = install &&
10494 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10495 # AIX install. It has an incompatible calling convention.
10497 elif test $ac_prog = install &&
10498 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10499 # program-specific install script used by HP pwplus--don't use.
10502 rm -rf conftest.one conftest.two conftest.dir
10503 echo one
> conftest.one
10504 echo two
> conftest.two
10506 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
10507 test -s conftest.one
&& test -s conftest.two
&&
10508 test -s conftest.dir
/conftest.one
&&
10509 test -s conftest.dir
/conftest.two
10511 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10524 rm -rf conftest.one conftest.two conftest.dir
10527 if test "${ac_cv_path_install+set}" = set; then
10528 INSTALL
=$ac_cv_path_install
10530 # As a last resort, use the slow shell script. Don't cache a
10531 # value for INSTALL within a source directory, because that will
10532 # break other packages using the cache if that directory is
10533 # removed, or if the value is a relative name.
10534 INSTALL
=$ac_install_sh
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
10538 $as_echo "$INSTALL" >&6; }
10540 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10541 # It thinks the first close brace ends the variable substitution.
10542 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10544 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10546 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU tar >=1.19" >&5
10549 $as_echo_n "checking for GNU tar >=1.19... " >&6; }
10550 if test -z "$GNUTAR"; then
10551 ac_path_GNUTAR_found
=false
10552 # Loop through the user's path and test for each of PROGNAME-LIST
10553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10554 for as_dir
in $PATH
10557 test -z "$as_dir" && as_dir
=.
10558 for ac_prog
in tar gtar gnutar
; do
10559 for ac_exec_ext
in '' $ac_executable_extensions; do
10560 ac_path_GNUTAR
="$as_dir/$ac_prog$ac_exec_ext"
10561 { test -f "$ac_path_GNUTAR" && $as_test_x "$ac_path_GNUTAR"; } || continue
10563 if test "x`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar)/&/p;d'`" != x
; then :
10565 as_arg_v1
=`$ac_path_GNUTAR --version | $SED -e '1 s/^tar (GNU tar) \(.*\)$/\1/p;d'`
10567 awk "$as_awk_strverscmp" v1
="$as_arg_v1" v2
="$as_arg_v2" /dev
/null
10573 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10577 ac_cv_path_GNUTAR
=$ac_path_GNUTAR
10585 $ac_path_GNUTAR_found && break 3
10590 if test -z "$ac_cv_path_GNUTAR"; then
10594 ac_cv_path_GNUTAR
=$GNUTAR
10597 if test "x$ac_cv_path_GNUTAR" != x
; then :
10599 GNUTAR
=$ac_cv_path_GNUTAR
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUTAR" >&5
10602 $as_echo "$GNUTAR" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10609 $as_echo "no" >&6; }
10614 # Extract the first word of "$ac_prog", so it can be a program name with args.
10615 set dummy
$ac_prog; ac_word
=$2
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10617 $as_echo_n "checking for $ac_word... " >&6; }
10618 if test "${ac_cv_prog_SVN+set}" = set; then :
10619 $as_echo_n "(cached) " >&6
10621 if test -n "$SVN"; then
10622 ac_cv_prog_SVN
="$SVN" # Let the user override the test.
10624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10625 for as_dir
in $PATH
10628 test -z "$as_dir" && as_dir
=.
10629 for ac_exec_ext
in '' $ac_executable_extensions; do
10630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10631 ac_cv_prog_SVN
="$ac_prog"
10632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10641 SVN
=$ac_cv_prog_SVN
10642 if test -n "$SVN"; then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVN" >&5
10644 $as_echo "$SVN" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10647 $as_echo "no" >&6; }
10651 test -n "$SVN" && break
10654 for ac_prog
in svnversion
10656 # Extract the first word of "$ac_prog", so it can be a program name with args.
10657 set dummy
$ac_prog; ac_word
=$2
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10659 $as_echo_n "checking for $ac_word... " >&6; }
10660 if test "${ac_cv_prog_SVNVERSION+set}" = set; then :
10661 $as_echo_n "(cached) " >&6
10663 if test -n "$SVNVERSION"; then
10664 ac_cv_prog_SVNVERSION
="$SVNVERSION" # Let the user override the test.
10666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10667 for as_dir
in $PATH
10670 test -z "$as_dir" && as_dir
=.
10671 for ac_exec_ext
in '' $ac_executable_extensions; do
10672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10673 ac_cv_prog_SVNVERSION
="$ac_prog"
10674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10683 SVNVERSION
=$ac_cv_prog_SVNVERSION
10684 if test -n "$SVNVERSION"; then
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5
10686 $as_echo "$SVNVERSION" >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10689 $as_echo "no" >&6; }
10693 test -n "$SVNVERSION" && break
10697 ac_cpp
='$CXXCPP $CPPFLAGS'
10698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10701 if test -z "$CXX"; then
10702 if test -n "$CCC"; then
10705 if test -n "$ac_tool_prefix"; then
10706 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10709 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10711 $as_echo_n "checking for $ac_word... " >&6; }
10712 if test "${ac_cv_prog_CXX+set}" = set; then :
10713 $as_echo_n "(cached) " >&6
10715 if test -n "$CXX"; then
10716 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10719 for as_dir
in $PATH
10722 test -z "$as_dir" && as_dir
=.
10723 for ac_exec_ext
in '' $ac_executable_extensions; do
10724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10725 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10735 CXX
=$ac_cv_prog_CXX
10736 if test -n "$CXX"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10738 $as_echo "$CXX" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10741 $as_echo "no" >&6; }
10745 test -n "$CXX" && break
10748 if test -z "$CXX"; then
10750 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
10752 # Extract the first word of "$ac_prog", so it can be a program name with args.
10753 set dummy
$ac_prog; ac_word
=$2
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10755 $as_echo_n "checking for $ac_word... " >&6; }
10756 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
10757 $as_echo_n "(cached) " >&6
10759 if test -n "$ac_ct_CXX"; then
10760 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10763 for as_dir
in $PATH
10766 test -z "$as_dir" && as_dir
=.
10767 for ac_exec_ext
in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10779 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10780 if test -n "$ac_ct_CXX"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
10782 $as_echo "$ac_ct_CXX" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10785 $as_echo "no" >&6; }
10789 test -n "$ac_ct_CXX" && break
10792 if test "x$ac_ct_CXX" = x
; then
10795 case $cross_compiling:$ac_tool_warned in
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10799 ac_tool_warned
=yes ;;
10807 # Provide some information about the compiler.
10808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
10811 for ac_option
in --version -v -V -qversion; do
10812 { { ac_try
="$ac_compiler $ac_option >&5"
10813 case "(($ac_try" in
10814 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
10815 *) ac_try_echo=$ac_try;;
10817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10818 $as_echo "$ac_try_echo"; } >&5
10819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10821 if test -s conftest.err; then
10823 ... rest of stderr output deleted ...
10824 10q' conftest.err >conftest.er1
10825 cat conftest.er1 >&5
10827 rm -f conftest.er1 conftest.err
10828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10829 test $ac_status = 0; }
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
10833 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
10834 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
10835 $as_echo_n "(cached) " >&6
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10851 if ac_fn_cxx_try_compile "$LINENO"; then :
10852 ac_compiler_gnu=yes
10856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10857 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
10861 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
10862 if test $ac_compiler_gnu = yes; then
10867 ac_test_CXXFLAGS=${CXXFLAGS+set}
10868 ac_save_CXXFLAGS=$CXXFLAGS
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10870 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
10871 if test "${ac_cv_prog_cxx_g+set}" = set; then :
10872 $as_echo_n "(cached) " >&6
10874 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10875 ac_cxx_werror_flag=yes
10876 ac_cv_prog_cxx_g=no
10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10889 if ac_fn_cxx_try_compile "$LINENO"; then :
10890 ac_cv_prog_cxx_g=yes
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10904 if ac_fn_cxx_try_compile "$LINENO"; then :
10907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10910 /* end confdefs.h. */
10920 if ac_fn_cxx_try_compile "$LINENO"; then :
10921 ac_cv_prog_cxx_g=yes
10923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10928 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10931 $as_echo "$ac_cv_prog_cxx_g" >&6; }
10932 if test "$ac_test_CXXFLAGS" = set; then
10933 CXXFLAGS=$ac_save_CXXFLAGS
10934 elif test $ac_cv_prog_cxx_g = yes; then
10935 if test "$GXX" = yes; then
10941 if test "$GXX" = yes; then
10948 ac_cpp='$CPP $CPPFLAGS'
10949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10955 ac_cpp='$CXXCPP $CPPFLAGS'
10956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10959 if test -z "$CXX"; then
10960 if test -n "$CCC"; then
10963 if test -n "$ac_tool_prefix"; then
10964 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10969 $as_echo_n "checking for $ac_word... " >&6; }
10970 if test "${ac_cv_prog_CXX+set}" = set; then :
10971 $as_echo_n "(cached) " >&6
10973 if test -n "$CXX"; then
10974 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10977 for as_dir in $PATH
10980 test -z "$as_dir" && as_dir=.
10981 for ac_exec_ext in '' $ac_executable_extensions; do
10982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10983 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 CXX=$ac_cv_prog_CXX
10994 if test -n "$CXX"; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
10996 $as_echo "$CXX" >&6; }
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10999 $as_echo "no" >&6; }
11003 test -n "$CXX" && break
11006 if test -z "$CXX"; then
11008 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11010 # Extract the first word of "$ac_prog", so it can be a program name with args.
11011 set dummy $ac_prog; ac_word=$2
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11013 $as_echo_n "checking for $ac_word... " >&6; }
11014 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11015 $as_echo_n "(cached) " >&6
11017 if test -n "$ac_ct_CXX"; then
11018 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11021 for as_dir in $PATH
11024 test -z "$as_dir" && as_dir=.
11025 for ac_exec_ext in '' $ac_executable_extensions; do
11026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11027 ac_cv_prog_ac_ct_CXX="$ac_prog"
11028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11037 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11038 if test -n "$ac_ct_CXX"; then
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11040 $as_echo "$ac_ct_CXX" >&6; }
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11043 $as_echo "no" >&6; }
11047 test -n "$ac_ct_CXX" && break
11050 if test "x$ac_ct_CXX" = x; then
11053 case $cross_compiling:$ac_tool_warned in
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11057 ac_tool_warned=yes ;;
11065 # Provide some information about the compiler.
11066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11069 for ac_option in --version -v -V -qversion; do
11070 { { ac_try="$ac_compiler $ac_option >&5"
11071 case "(($ac_try" in
11072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
11073 *) ac_try_echo
=$ac_try;;
11075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11076 $as_echo "$ac_try_echo"; } >&5
11077 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11079 if test -s conftest.err
; then
11081 ... rest of stderr output deleted ...
11082 10q' conftest.err
>conftest.er1
11083 cat conftest.er1
>&5
11085 rm -f conftest.er1 conftest.err
11086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11087 test $ac_status = 0; }
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11091 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11093 $as_echo_n "(cached) " >&6
11095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11109 if ac_fn_cxx_try_compile
"$LINENO"; then :
11110 ac_compiler_gnu
=yes
11114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11115 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11119 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11120 if test $ac_compiler_gnu = yes; then
11125 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11126 ac_save_CXXFLAGS
=$CXXFLAGS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11128 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
11129 if test "${ac_cv_prog_cxx_g+set}" = set; then :
11130 $as_echo_n "(cached) " >&6
11132 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
11133 ac_cxx_werror_flag
=yes
11134 ac_cv_prog_cxx_g
=no
11136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11147 if ac_fn_cxx_try_compile
"$LINENO"; then :
11148 ac_cv_prog_cxx_g
=yes
11151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11162 if ac_fn_cxx_try_compile
"$LINENO"; then :
11165 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11178 if ac_fn_cxx_try_compile
"$LINENO"; then :
11179 ac_cv_prog_cxx_g
=yes
11181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11186 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11189 $as_echo "$ac_cv_prog_cxx_g" >&6; }
11190 if test "$ac_test_CXXFLAGS" = set; then
11191 CXXFLAGS
=$ac_save_CXXFLAGS
11192 elif test $ac_cv_prog_cxx_g = yes; then
11193 if test "$GXX" = yes; then
11199 if test "$GXX" = yes; then
11206 ac_cpp
='$CPP $CPPFLAGS'
11207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11211 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11212 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11213 (test "X$CXX" != "Xg++"))) ; then
11215 ac_cpp
='$CXXCPP $CPPFLAGS'
11216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11220 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11221 if test -z "$CXXCPP"; then
11222 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11223 $as_echo_n "(cached) " >&6
11225 # Double quotes because CXXCPP needs to be expanded
11226 for CXXCPP
in "$CXX -E" "/lib/cpp"
11228 ac_preproc_ok
=false
11229 for ac_cxx_preproc_warn_flag
in '' yes
11231 # Use a header file that comes with gcc, so configuring glibc
11232 # with a fresh cross-compiler works.
11233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11234 # <limits.h> exists even on freestanding compilers.
11235 # On the NeXT, cc -E runs the code through the compiler's parser,
11236 # not just through cpp. "Syntax error" is here to catch this case.
11237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 # include <limits.h>
11242 # include <assert.h>
11246 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11249 # Broken: fails on valid input.
11252 rm -f conftest.err conftest.
$ac_ext
11254 # OK, works on sane cases. Now check whether nonexistent headers
11255 # can be detected and how.
11256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 #include <ac_nonexistent.h>
11260 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11261 # Broken: success on invalid input.
11264 # Passes both tests.
11268 rm -f conftest.err conftest.
$ac_ext
11271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11272 rm -f conftest.err conftest.
$ac_ext
11273 if $ac_preproc_ok; then :
11278 ac_cv_prog_CXXCPP
=$CXXCPP
11281 CXXCPP
=$ac_cv_prog_CXXCPP
11283 ac_cv_prog_CXXCPP
=$CXXCPP
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11286 $as_echo "$CXXCPP" >&6; }
11287 ac_preproc_ok
=false
11288 for ac_cxx_preproc_warn_flag
in '' yes
11290 # Use a header file that comes with gcc, so configuring glibc
11291 # with a fresh cross-compiler works.
11292 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11293 # <limits.h> exists even on freestanding compilers.
11294 # On the NeXT, cc -E runs the code through the compiler's parser,
11295 # not just through cpp. "Syntax error" is here to catch this case.
11296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 # include <limits.h>
11301 # include <assert.h>
11305 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11308 # Broken: fails on valid input.
11311 rm -f conftest.err conftest.
$ac_ext
11313 # OK, works on sane cases. Now check whether nonexistent headers
11314 # can be detected and how.
11315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11317 #include <ac_nonexistent.h>
11319 if ac_fn_cxx_try_cpp
"$LINENO"; then :
11320 # Broken: success on invalid input.
11323 # Passes both tests.
11327 rm -f conftest.err conftest.
$ac_ext
11330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11331 rm -f conftest.err conftest.
$ac_ext
11332 if $ac_preproc_ok; then :
11335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11337 _lt_caught_CXX_error
=yes; }
11341 ac_cpp
='$CPP $CPPFLAGS'
11342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11347 _lt_caught_CXX_error
=yes
11354 ac_cpp
='$CXXCPP $CPPFLAGS'
11355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11359 archive_cmds_need_lc_CXX
=no
11360 allow_undefined_flag_CXX
=
11361 always_export_symbols_CXX
=no
11362 archive_expsym_cmds_CXX
=
11363 compiler_needs_object_CXX
=no
11364 export_dynamic_flag_spec_CXX
=
11365 hardcode_direct_CXX
=no
11366 hardcode_direct_absolute_CXX
=no
11367 hardcode_libdir_flag_spec_CXX
=
11368 hardcode_libdir_flag_spec_ld_CXX
=
11369 hardcode_libdir_separator_CXX
=
11370 hardcode_minus_L_CXX
=no
11371 hardcode_shlibpath_var_CXX
=unsupported
11372 hardcode_automatic_CXX
=no
11373 inherit_rpath_CXX
=no
11375 module_expsym_cmds_CXX
=
11376 link_all_deplibs_CXX
=unknown
11377 old_archive_cmds_CXX
=$old_archive_cmds
11378 no_undefined_flag_CXX
=
11379 whole_archive_flag_spec_CXX
=
11380 enable_shared_with_static_runtimes_CXX
=no
11382 # Source file extension for C++ test sources.
11385 # Object file extension for compiled C++ test sources.
11389 # No sense in running all these tests if we already determined that
11390 # the CXX compiler isn't working. Some variables (like enable_shared)
11391 # are currently assumed to apply to all compilers on this platform,
11392 # and will be corrupted by setting them based on a non-working compiler.
11393 if test "$_lt_caught_CXX_error" != yes; then
11394 # Code to be used in simple compile tests
11395 lt_simple_compile_test_code
="int some_variable = 0;"
11397 # Code to be used in simple link tests
11398 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
11400 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11407 # If no C compiler was specified, use CC.
11410 # If no C compiler flags were specified, use CFLAGS.
11411 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11413 # Allow CC to be a program name with arguments.
11417 # save warnings/boilerplate of simple test code
11418 ac_outfile
=conftest.
$ac_objext
11419 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11420 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11421 _lt_compiler_boilerplate
=`cat conftest.err`
11424 ac_outfile
=conftest.
$ac_objext
11425 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11426 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
11427 _lt_linker_boilerplate
=`cat conftest.err`
11431 # Allow CC to be a program name with arguments.
11436 lt_save_with_gnu_ld
=$with_gnu_ld
11437 lt_save_path_LD
=$lt_cv_path_LD
11438 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11439 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11441 $as_unset lt_cv_prog_gnu_ld
11443 if test -n "${lt_cv_path_LDCXX+set}"; then
11444 lt_cv_path_LD
=$lt_cv_path_LDCXX
11446 $as_unset lt_cv_path_LD
11448 test -z "${LDCXX+set}" || LD
=$LDCXX
11452 for cc_temp
in $compiler""; do
11454 compile
| *[\\/]compile
| ccache
| *[\\/]ccache
) ;;
11455 distcc
| *[\\/]distcc
| purify
| *[\\/]purify
) ;;
11460 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11463 if test -n "$compiler"; then
11464 # We don't want -fno-exception when compiling C++ code, so set the
11465 # no_builtin_flag separately
11466 if test "$GXX" = yes; then
11467 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11469 lt_prog_compiler_no_builtin_flag_CXX
=
11472 if test "$GXX" = yes; then
11473 # Set up default GNU C++ configuration
11477 # Check whether --with-gnu-ld was given.
11478 if test "${with_gnu_ld+set}" = set; then :
11479 withval
=$with_gnu_ld; test "$withval" = no
|| with_gnu_ld
=yes
11485 if test "$GCC" = yes; then
11486 # Check if gcc -print-prog-name=ld gives a path.
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11488 $as_echo_n "checking for ld used by $CC... " >&6; }
11491 # gcc leaves a trailing carriage return which upsets mingw
11492 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11494 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11497 # Accept absolute paths.
11499 re_direlt
='/[^/][^/]*/\.\./'
11500 # Canonicalize the pathname of ld
11501 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11502 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev
/null
2>&1; do
11503 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11505 test -z "$LD" && LD
="$ac_prog"
11508 # If it fails, then pretend we aren't using GCC.
11512 # If it is relative, then search for the first ld in PATH.
11513 with_gnu_ld
=unknown
11516 elif test "$with_gnu_ld" = yes; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11518 $as_echo_n "checking for GNU ld... " >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11521 $as_echo_n "checking for non-GNU ld... " >&6; }
11523 if test "${lt_cv_path_LD+set}" = set; then :
11524 $as_echo_n "(cached) " >&6
11526 if test -z "$LD"; then
11527 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11528 for ac_dir
in $PATH; do
11530 test -z "$ac_dir" && ac_dir
=.
11531 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11532 lt_cv_path_LD
="$ac_dir/$ac_prog"
11533 # Check to see if the program is GNU ld. I'd rather use --version,
11534 # but apparently some variants of GNU ld only accept -v.
11535 # Break only if it was the GNU/non-GNU ld that we prefer.
11536 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11537 *GNU
* | *'with BFD'*)
11538 test "$with_gnu_ld" != no
&& break
11541 test "$with_gnu_ld" != yes && break
11548 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11552 LD
="$lt_cv_path_LD"
11553 if test -n "$LD"; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11555 $as_echo "$LD" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11560 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11562 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11563 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11564 $as_echo_n "(cached) " >&6
11566 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11567 case `$LD -v 2>&1 </dev/null` in
11568 *GNU
* | *'with BFD'*)
11569 lt_cv_prog_gnu_ld
=yes
11572 lt_cv_prog_gnu_ld
=no
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11577 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11578 with_gnu_ld
=$lt_cv_prog_gnu_ld
11586 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11587 # archiving commands below assume that GNU ld is being used.
11588 if test "$with_gnu_ld" = yes; then
11589 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11590 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'
11592 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11593 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11595 # If archive_cmds runs LD, not CC, wlarc should be empty
11596 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11597 # investigate it a little bit more. (MM)
11600 # ancient GNU ld didn't support --whole-archive et. al.
11601 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11602 $GREP 'no-whole-archive' > /dev
/null
; then
11603 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11605 whole_archive_flag_spec_CXX
=
11611 # A generic and very simple default shared library creation
11612 # command for GNU C++ for the case where it uses the native
11613 # linker, instead of GNU ld. If possible, this setting should
11614 # overridden to take advantage of the native linker features on
11615 # the platform it is being used on.
11616 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11619 # Commands to make compiler produce verbose output that lists
11620 # what "hidden" libraries, object files and flags are used when
11621 # linking a shared library.
11622 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11630 # PORTME: fill in a description of your system's C++ link characteristics
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11632 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11636 # FIXME: insert proper C++ library support
11640 if test "$host_cpu" = ia64
; then
11641 # On IA64, the linker does run time linking by default, so we don't
11642 # have to do anything special.
11643 aix_use_runtimelinking
=no
11644 exp_sym_flag
='-Bexport'
11647 aix_use_runtimelinking
=no
11649 # Test if we are trying to use run time linking or normal
11650 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11651 # need to do runtime linking.
11652 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11653 for ld_flag
in $LDFLAGS; do
11656 aix_use_runtimelinking
=yes
11664 exp_sym_flag
='-bexport'
11665 no_entry_flag
='-bnoentry'
11668 # When large executables or shared objects are built, AIX ld can
11669 # have problems creating the table of contents. If linking a library
11670 # or program results in "error TOC overflow" add -mminimal-toc to
11671 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11672 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11674 archive_cmds_CXX
=''
11675 hardcode_direct_CXX
=yes
11676 hardcode_direct_absolute_CXX
=yes
11677 hardcode_libdir_separator_CXX
=':'
11678 link_all_deplibs_CXX
=yes
11679 file_list_spec_CXX
='${wl}-f,'
11681 if test "$GXX" = yes; then
11682 case $host_os in aix4.
[012]|aix4.
[012].
*)
11683 # We only want to do this on AIX 4.2 and lower, the check
11684 # below for broken collect2 doesn't work under 4.3+
11685 collect2name
=`${CC} -print-prog-name=collect2`
11686 if test -f "$collect2name" &&
11687 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
11689 # We have reworked collect2
11692 # We have old collect2
11693 hardcode_direct_CXX
=unsupported
11694 # It fails to find uninstalled libraries when the uninstalled
11695 # path is not listed in the libpath. Setting hardcode_minus_L
11696 # to unsupported forces relinking
11697 hardcode_minus_L_CXX
=yes
11698 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11699 hardcode_libdir_separator_CXX
=
11702 shared_flag
='-shared'
11703 if test "$aix_use_runtimelinking" = yes; then
11704 shared_flag
="$shared_flag "'${wl}-G'
11708 if test "$host_cpu" = ia64
; then
11709 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11710 # chokes on -Wl,-G. The following line is correct:
11713 if test "$aix_use_runtimelinking" = yes; then
11714 shared_flag
='${wl}-G'
11716 shared_flag
='${wl}-bM:SRE'
11721 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
11722 # It seems that -bexpall does not export symbols beginning with
11723 # underscore (_), so it is better to generate a list of symbols to
11725 always_export_symbols_CXX
=yes
11726 if test "$aix_use_runtimelinking" = yes; then
11727 # Warning - without using the other runtime loading flags (-brtl),
11728 # -berok will link without error, but may produce a broken library.
11729 allow_undefined_flag_CXX
='-berok'
11730 # Determine the default libpath from the value encoded in an empty
11732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11733 /* end confdefs.h. */
11743 if ac_fn_cxx_try_link
"$LINENO"; then :
11745 lt_aix_libpath_sed
='
11746 /Import File Strings/,/^$/ {
11752 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11753 # Check for a 64-bit object if we didn't find anything.
11754 if test -z "$aix_libpath"; then
11755 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11758 rm -f core conftest.err conftest.
$ac_objext \
11759 conftest
$ac_exeext conftest.
$ac_ext
11760 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11762 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11764 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"
11766 if test "$host_cpu" = ia64
; then
11767 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11768 allow_undefined_flag_CXX
="-z nodefs"
11769 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"
11771 # Determine the default libpath from the value encoded in an
11772 # empty executable.
11773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11784 if ac_fn_cxx_try_link
"$LINENO"; then :
11786 lt_aix_libpath_sed
='
11787 /Import File Strings/,/^$/ {
11793 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11794 # Check for a 64-bit object if we didn't find anything.
11795 if test -z "$aix_libpath"; then
11796 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11799 rm -f core conftest.err conftest.
$ac_objext \
11800 conftest
$ac_exeext conftest.
$ac_ext
11801 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11803 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11804 # Warning - without using the other run time loading flags,
11805 # -berok will link without error, but may produce a broken library.
11806 no_undefined_flag_CXX
=' ${wl}-bernotok'
11807 allow_undefined_flag_CXX
=' ${wl}-berok'
11808 # Exported symbols can be pulled into shared objects from archives
11809 whole_archive_flag_spec_CXX
='$convenience'
11810 archive_cmds_need_lc_CXX
=yes
11811 # This is similar to how AIX traditionally builds its shared
11813 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'
11819 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
11820 allow_undefined_flag_CXX
=unsupported
11821 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11822 # support --undefined. This deserves some investigation. FIXME
11823 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11830 case $cc_basename in
11832 # FIXME: insert proper C++ library support
11838 cygwin
* | mingw
* | pw32
* | cegcc
*)
11839 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11840 # as there is no search path for DLLs.
11841 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11842 allow_undefined_flag_CXX
=unsupported
11843 always_export_symbols_CXX
=no
11844 enable_shared_with_static_runtimes_CXX
=yes
11846 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
11847 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'
11848 # If the export-symbols file already is a .def file (1st line
11849 # is EXPORTS), use it as is; otherwise, prepend...
11850 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11851 cp $export_symbols $output_objdir/$soname.def;
11853 echo EXPORTS > $output_objdir/$soname.def;
11854 cat $export_symbols >> $output_objdir/$soname.def;
11856 $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'
11861 darwin
* | rhapsody
*)
11864 archive_cmds_need_lc_CXX
=no
11865 hardcode_direct_CXX
=no
11866 hardcode_automatic_CXX
=yes
11867 hardcode_shlibpath_var_CXX
=unsupported
11868 whole_archive_flag_spec_CXX
=''
11869 link_all_deplibs_CXX
=yes
11870 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
11871 case $cc_basename in
11872 ifort
*) _lt_dar_can_shared
=yes ;;
11873 *) _lt_dar_can_shared
=$GCC ;;
11875 if test "$_lt_dar_can_shared" = "yes"; then
11876 output_verbose_link_cmd
=echo
11877 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}"
11878 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11879 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}"
11880 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}"
11881 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11882 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}"
11883 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}"
11893 case $cc_basename in
11895 # FIXME: insert proper C++ library support
11899 # Green Hills C++ Compiler
11900 # FIXME: insert proper C++ library support
11904 # FIXME: insert proper C++ library support
11911 # C++ shared libraries reported to be fairly broken before
11917 archive_cmds_need_lc_CXX
=no
11920 freebsd
* | dragonfly
*)
11921 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11930 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11931 hardcode_libdir_separator_CXX
=:
11932 export_dynamic_flag_spec_CXX
='${wl}-E'
11933 hardcode_direct_CXX
=yes
11934 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11935 # but as the default
11936 # location of the library.
11938 case $cc_basename in
11940 # FIXME: insert proper C++ library support
11944 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'
11945 # Commands to make compiler produce verbose output that lists
11946 # what "hidden" libraries, object files and flags are used when
11947 # linking a shared library.
11949 # There doesn't appear to be a way to prevent this compiler from
11950 # explicitly linking system object files so we need to strip them
11951 # from the output so that they don't get included in the library
11953 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'
11956 if test "$GXX" = yes; then
11957 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'
11959 # FIXME: insert proper C++ library support
11967 if test $with_gnu_ld = no
; then
11968 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11969 hardcode_libdir_separator_CXX
=:
11975 export_dynamic_flag_spec_CXX
='${wl}-E'
11981 hardcode_direct_CXX
=no
11982 hardcode_shlibpath_var_CXX
=no
11985 hardcode_direct_CXX
=yes
11986 hardcode_direct_absolute_CXX
=yes
11987 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11988 # but as the default
11989 # location of the library.
11993 case $cc_basename in
11995 # FIXME: insert proper C++ library support
12001 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12004 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12007 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12010 # Commands to make compiler produce verbose output that lists
12011 # what "hidden" libraries, object files and flags are used when
12012 # linking a shared library.
12014 # There doesn't appear to be a way to prevent this compiler from
12015 # explicitly linking system object files so we need to strip them
12016 # from the output so that they don't get included in the library
12018 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'
12021 if test "$GXX" = yes; then
12022 if test $with_gnu_ld = no
; then
12025 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12028 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12031 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'
12036 # FIXME: insert proper C++ library support
12044 hardcode_direct_CXX
=no
12045 hardcode_shlibpath_var_CXX
=no
12046 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12047 export_dynamic_flag_spec_CXX
='${wl}-E'
12048 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12049 # Instead, shared libraries are loaded at an image base (0x10000000 by
12050 # default) and relocated if they conflict, which is a slow very memory
12051 # consuming and fragmenting process. To avoid this, we pick a random,
12052 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12053 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12054 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'
12055 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'
12058 case $cc_basename in
12061 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'
12063 # Archives containing C++ object files must be created using
12064 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12065 # necessary to make sure instantiated templates are included
12067 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
12070 if test "$GXX" = yes; then
12071 if test "$with_gnu_ld" = no
; then
12072 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'
12074 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'
12077 link_all_deplibs_CXX
=yes
12080 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12081 hardcode_libdir_separator_CXX
=:
12082 inherit_rpath_CXX
=yes
12085 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12086 case $cc_basename in
12088 # Kuck and Associates, Inc. (KAI) C++ Compiler
12090 # KCC will only create a shared library if the output file
12091 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12092 # to its proper name (with version) after linking.
12093 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'
12094 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'
12095 # Commands to make compiler produce verbose output that lists
12096 # what "hidden" libraries, object files and flags are used when
12097 # linking a shared library.
12099 # There doesn't appear to be a way to prevent this compiler from
12100 # explicitly linking system object files so we need to strip them
12101 # from the output so that they don't get included in the library
12103 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'
12105 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12106 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12108 # Archives containing C++ object files must be created using
12109 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12110 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12115 # version 8.0 and above of icpc choke on multiply defined symbols
12116 # if we add $predep_objects and $postdep_objects, however 7.1 and
12117 # earlier do not add the objects themselves.
12118 case `$CC -V 2>&1` in
12120 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12121 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'
12123 *) # Version 8.0 or newer
12126 ia64
*) tmp_idyn
=' -i_dynamic';;
12128 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12129 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'
12132 archive_cmds_need_lc_CXX
=no
12133 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12134 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12135 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12138 # Portland Group C++ compiler
12140 *pgCC\
[1-5]* | *pgcpp\
[1-5]*)
12141 prelink_cmds_CXX
='tpldir=Template.dir~
12143 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12144 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12145 old_archive_cmds_CXX
='tpldir=Template.dir~
12147 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12148 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12150 archive_cmds_CXX
='tpldir=Template.dir~
12152 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12153 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12154 archive_expsym_cmds_CXX
='tpldir=Template.dir~
12156 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12157 $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'
12159 *) # Version 6 will use weak symbols
12160 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12161 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'
12165 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12166 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12167 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'
12171 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12172 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'
12174 runpath_var
=LD_RUN_PATH
12175 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12176 hardcode_libdir_separator_CXX
=:
12178 # Commands to make compiler produce verbose output that lists
12179 # what "hidden" libraries, object files and flags are used when
12180 # linking a shared library.
12182 # There doesn't appear to be a way to prevent this compiler from
12183 # explicitly linking system object files so we need to strip them
12184 # from the output so that they don't get included in the library
12186 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'
12189 # IBM XL 8.0 on PPC, with GNU ld
12190 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12191 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12192 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 if test "x$supports_anon_versioning" = xyes
; then
12194 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
12195 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12196 echo "local: *; };" >> $output_objdir/$libname.ver~
12197 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12201 case `$CC -V 2>&1 | sed 5q` in
12204 no_undefined_flag_CXX
=' -zdefs'
12205 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12206 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'
12207 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12208 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'
12209 compiler_needs_object_CXX
=yes
12211 # Not sure whether something based on
12212 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12214 output_verbose_link_cmd
='echo'
12216 # Archives containing C++ object files must be created using
12217 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12218 # necessary to make sure instantiated templates are included
12220 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12228 # FIXME: insert proper C++ library support
12233 # FIXME: insert proper C++ library support
12238 case $cc_basename in
12240 # FIXME: insert proper C++ library support
12244 # FIXME: insert proper C++ library support
12251 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
12252 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12254 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12255 hardcode_direct_CXX
=yes
12256 hardcode_shlibpath_var_CXX
=no
12258 # Workaround some broken pre-1.5 toolchains
12259 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12267 # C++ shared libraries are fairly broken
12272 if test -f /usr
/libexec
/ld.so
; then
12273 hardcode_direct_CXX
=yes
12274 hardcode_shlibpath_var_CXX
=no
12275 hardcode_direct_absolute_CXX
=yes
12276 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12277 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12278 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12279 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12280 export_dynamic_flag_spec_CXX
='${wl}-E'
12281 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12283 output_verbose_link_cmd
=echo
12289 osf3
* | osf4
* | osf5
*)
12290 case $cc_basename in
12292 # Kuck and Associates, Inc. (KAI) C++ Compiler
12294 # KCC will only create a shared library if the output file
12295 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12296 # to its proper name (with version) after linking.
12297 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'
12299 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12300 hardcode_libdir_separator_CXX
=:
12302 # Archives containing C++ object files must be created using
12303 # the KAI C++ compiler.
12305 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
12306 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
12310 # Rational C++ 2.4.1
12311 # FIXME: insert proper C++ library support
12317 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12318 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'
12319 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12322 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12323 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'
12324 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12325 echo "-hidden">> $lib.exp~
12326 $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~
12328 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12332 hardcode_libdir_separator_CXX
=:
12334 # Commands to make compiler produce verbose output that lists
12335 # what "hidden" libraries, object files and flags are used when
12336 # linking a shared library.
12338 # There doesn't appear to be a way to prevent this compiler from
12339 # explicitly linking system object files so we need to strip them
12340 # from the output so that they don't get included in the library
12342 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'
12345 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12346 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12349 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'
12352 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'
12356 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12357 hardcode_libdir_separator_CXX
=:
12359 # Commands to make compiler produce verbose output that lists
12360 # what "hidden" libraries, object files and flags are used when
12361 # linking a shared library.
12362 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12365 # FIXME: insert proper C++ library support
12373 # FIXME: insert proper C++ library support
12378 case $cc_basename in
12381 # FIXME: insert proper C++ library support
12386 # FIXME: insert proper C++ library support
12390 # FIXME: insert proper C++ library support
12397 case $cc_basename in
12399 # Sun C++ 4.2, 5.x and Centerline C++
12400 archive_cmds_need_lc_CXX
=yes
12401 no_undefined_flag_CXX
=' -zdefs'
12402 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12403 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12404 $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'
12406 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12407 hardcode_shlibpath_var_CXX
=no
12409 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12411 # The compiler driver will combine and reorder linker options,
12412 # but understands `-z linker_flag'.
12413 # Supported since Solaris 2.6 (maybe 2.5.1?)
12414 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12417 link_all_deplibs_CXX
=yes
12419 output_verbose_link_cmd
='echo'
12421 # Archives containing C++ object files must be created using
12422 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12423 # necessary to make sure instantiated templates are included
12425 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12428 # Green Hills C++ Compiler
12429 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12431 # The C++ compiler must be used to create the archive.
12432 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12435 # GNU C++ compiler with Solaris linker
12436 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12437 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12438 if $CC --version | $GREP -v '^2\.7' > /dev
/null
; then
12439 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12440 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12441 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12443 # Commands to make compiler produce verbose output that lists
12444 # what "hidden" libraries, object files and flags are used when
12445 # linking a shared library.
12446 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12448 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12450 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12451 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12452 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12454 # Commands to make compiler produce verbose output that lists
12455 # what "hidden" libraries, object files and flags are used when
12456 # linking a shared library.
12457 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12460 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12462 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12464 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12472 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12473 no_undefined_flag_CXX
='${wl}-z,text'
12474 archive_cmds_need_lc_CXX
=no
12475 hardcode_shlibpath_var_CXX
=no
12476 runpath_var
='LD_RUN_PATH'
12478 case $cc_basename in
12480 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12481 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12484 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12485 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12490 sysv5
* | sco3.2v5
* | sco5v6
*)
12491 # Note: We can NOT use -z defs as we might desire, because we do not
12492 # link with -lc, and that would cause any symbols used from libc to
12493 # always be unresolved, which means just about no library would
12494 # ever link correctly. If we're not using GNU ld we use -z text
12495 # though, which does catch some bad symbols but isn't as heavy-handed
12497 no_undefined_flag_CXX
='${wl}-z,text'
12498 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12499 archive_cmds_need_lc_CXX
=no
12500 hardcode_shlibpath_var_CXX
=no
12501 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
12502 hardcode_libdir_separator_CXX
=':'
12503 link_all_deplibs_CXX
=yes
12504 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12505 runpath_var
='LD_RUN_PATH'
12507 case $cc_basename in
12509 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12510 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12513 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12514 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12520 case $cc_basename in
12522 # NonStop-UX NCC 3.20
12523 # FIXME: insert proper C++ library support
12527 # FIXME: insert proper C++ library support
12534 # FIXME: insert proper C++ library support
12539 # FIXME: insert proper C++ library support
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12545 $as_echo "$ld_shlibs_CXX" >&6; }
12546 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12552 ## There is no encapsulation within the following macros, do not change
12553 ## the running order or otherwise move them around unless you know exactly
12554 ## what you are doing...
12555 # Dependencies to place before and after the object being linked:
12556 predep_objects_CXX
=
12557 postdep_objects_CXX
=
12560 compiler_lib_search_path_CXX
=
12562 cat > conftest.
$ac_ext <<_LT_EOF
12566 Foo (void) { a = 0; }
12572 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12573 (eval $ac_compile) 2>&5
12575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12576 test $ac_status = 0; }; then
12577 # Parse the compiler output and extract the necessary
12578 # objects, libraries and library flags.
12580 # Sentinel used to keep track of whether or not we are before
12581 # the conftest object file.
12582 pre_test_object_deps_done
=no
12584 for p
in `eval "$output_verbose_link_cmd"`; do
12588 # Some compilers place space between "-{L,R}" and the path.
12589 # Remove the space.
12590 if test $p = "-L" ||
12591 test $p = "-R"; then
12598 if test "$pre_test_object_deps_done" = no
; then
12601 # Internal compiler library paths should come after those
12602 # provided the user. The postdeps already come after the
12603 # user supplied libs so there is no need to process them.
12604 if test -z "$compiler_lib_search_path_CXX"; then
12605 compiler_lib_search_path_CXX
="${prev}${p}"
12607 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12610 # The "-l" case would never come before the object being
12611 # linked, so don't bother handling this case.
12614 if test -z "$postdeps_CXX"; then
12615 postdeps_CXX
="${prev}${p}"
12617 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12623 # This assumes that the test object file only shows up
12624 # once in the compiler output.
12625 if test "$p" = "conftest.$objext"; then
12626 pre_test_object_deps_done
=yes
12630 if test "$pre_test_object_deps_done" = no
; then
12631 if test -z "$predep_objects_CXX"; then
12632 predep_objects_CXX
="$p"
12634 predep_objects_CXX
="$predep_objects_CXX $p"
12637 if test -z "$postdep_objects_CXX"; then
12638 postdep_objects_CXX
="$p"
12640 postdep_objects_CXX
="$postdep_objects_CXX $p"
12645 *) ;; # Ignore the rest.
12653 echo "libtool.m4: error: problem compiling CXX test program"
12656 $RM -f confest.
$objext
12658 # PORTME: override above test on systems where it is broken
12661 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12662 # hack all around it, let's just trust "g++" to DTRT.
12663 predep_objects_CXX
=
12664 postdep_objects_CXX
=
12669 case `$CC -V 2>&1 | sed 5q` in
12673 # The more standards-conforming stlport4 library is
12674 # incompatible with the Cstd library. Avoid specifying
12675 # it if it's in CXXFLAGS. Ignore libCrun as
12676 # -library=stlport4 depends on it.
12677 case " $CXX $CXXFLAGS " in
12678 *" -library=stlport4 "*)
12679 solaris_use_stlport4
=yes
12683 if test "$solaris_use_stlport4" != yes; then
12684 postdeps_CXX
='-library=Cstd -library=Crun'
12691 case $cc_basename in
12693 # The more standards-conforming stlport4 library is
12694 # incompatible with the Cstd library. Avoid specifying
12695 # it if it's in CXXFLAGS. Ignore libCrun as
12696 # -library=stlport4 depends on it.
12697 case " $CXX $CXXFLAGS " in
12698 *" -library=stlport4 "*)
12699 solaris_use_stlport4
=yes
12703 # Adding this requires a known-good setup of shared libraries for
12704 # Sun compiler versions before 5.6, else PIC objects from an old
12705 # archive will be linked into the output, leading to subtle bugs.
12706 if test "$solaris_use_stlport4" != yes; then
12707 postdeps_CXX
='-library=Cstd -library=Crun'
12715 case " $postdeps_CXX " in
12716 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12718 compiler_lib_search_dirs_CXX
=
12719 if test -n "${compiler_lib_search_path_CXX}"; then
12720 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12753 lt_prog_compiler_wl_CXX
=
12754 lt_prog_compiler_pic_CXX
=
12755 lt_prog_compiler_static_CXX
=
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12758 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12760 # C++ specific cases for pic, static, wl, etc.
12761 if test "$GXX" = yes; then
12762 lt_prog_compiler_wl_CXX
='-Wl,'
12763 lt_prog_compiler_static_CXX
='-static'
12767 # All AIX code is PIC.
12768 if test "$host_cpu" = ia64
; then
12769 # AIX 5 now supports IA64 processor
12770 lt_prog_compiler_static_CXX
='-Bstatic'
12777 # see comment about AmigaOS4 .so support
12778 lt_prog_compiler_pic_CXX
='-fPIC'
12781 # FIXME: we need at least 68020 code to build shared libraries, but
12782 # adding the `-m68020' flag to GCC prevents building anything better,
12784 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12789 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12790 # PIC is the default for these OSes.
12792 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
12793 # This hack is so that the source file can tell whether it is being
12794 # built for inclusion in a dll (and should export symbols for example).
12795 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12796 # (--disable-auto-import) libraries
12797 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12799 darwin
* | rhapsody
*)
12800 # PIC is the default on this platform
12801 # Common symbols not allowed in MH_DYLIB files
12802 lt_prog_compiler_pic_CXX
='-fno-common'
12805 # DJGPP does not support shared libraries at all
12806 lt_prog_compiler_pic_CXX
=
12809 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12810 # Instead, we relocate shared libraries at runtime.
12813 if test -d /usr
/nec
; then
12814 lt_prog_compiler_pic_CXX
=-Kconform_pic
12818 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12819 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12820 # sets the default TLS model and affects inlining.
12825 lt_prog_compiler_pic_CXX
='-fPIC'
12830 # QNX uses GNU C++, but need to define -shared option too, otherwise
12831 # it will coredump.
12832 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12835 lt_prog_compiler_pic_CXX
='-fPIC'
12841 # All AIX code is PIC.
12842 if test "$host_cpu" = ia64
; then
12843 # AIX 5 now supports IA64 processor
12844 lt_prog_compiler_static_CXX
='-Bstatic'
12846 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12850 case $cc_basename in
12852 # Green Hills C++ Compiler
12853 # _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"
12858 case $cc_basename in
12860 lt_prog_compiler_pic_CXX
='-KPIC'
12863 # Green Hills C++ Compiler
12864 lt_prog_compiler_pic_CXX
='-pic'
12870 freebsd
* | dragonfly
*)
12871 # FreeBSD uses GNU C++
12873 hpux9
* | hpux10
* | hpux11
*)
12874 case $cc_basename in
12876 lt_prog_compiler_wl_CXX
='-Wl,'
12877 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12878 if test "$host_cpu" != ia64
; then
12879 lt_prog_compiler_pic_CXX
='+Z'
12883 lt_prog_compiler_wl_CXX
='-Wl,'
12884 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12890 lt_prog_compiler_pic_CXX
='+Z'
12899 # This is c89, which is MS Visual C++ (no shared libs)
12900 # Anyone wants to do a port?
12902 irix5
* | irix6
* | nonstopux
*)
12903 case $cc_basename in
12905 lt_prog_compiler_wl_CXX
='-Wl,'
12906 lt_prog_compiler_static_CXX
='-non_shared'
12907 # CC pic flag -KPIC is the default.
12913 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12914 case $cc_basename in
12917 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12918 lt_prog_compiler_pic_CXX
='-fPIC'
12921 # old Intel C++ for x86_64 which still supported -KPIC.
12922 lt_prog_compiler_wl_CXX
='-Wl,'
12923 lt_prog_compiler_pic_CXX
='-KPIC'
12924 lt_prog_compiler_static_CXX
='-static'
12927 # Intel C++, used to be incompatible with GCC.
12928 # ICC 10 doesn't accept -KPIC any more.
12929 lt_prog_compiler_wl_CXX
='-Wl,'
12930 lt_prog_compiler_pic_CXX
='-fPIC'
12931 lt_prog_compiler_static_CXX
='-static'
12934 # Portland Group C++ compiler
12935 lt_prog_compiler_wl_CXX
='-Wl,'
12936 lt_prog_compiler_pic_CXX
='-fpic'
12937 lt_prog_compiler_static_CXX
='-Bstatic'
12941 # Make sure the PIC flag is empty. It appears that all Alpha
12942 # Linux and Compaq Tru64 Unix objects are PIC.
12943 lt_prog_compiler_pic_CXX
=
12944 lt_prog_compiler_static_CXX
='-non_shared'
12947 # IBM XL 8.0 on PPC
12948 lt_prog_compiler_wl_CXX
='-Wl,'
12949 lt_prog_compiler_pic_CXX
='-qpic'
12950 lt_prog_compiler_static_CXX
='-qstaticlink'
12953 case `$CC -V 2>&1 | sed 5q` in
12956 lt_prog_compiler_pic_CXX
='-KPIC'
12957 lt_prog_compiler_static_CXX
='-Bstatic'
12958 lt_prog_compiler_wl_CXX
='-Qoption ld '
12969 case $cc_basename in
12971 lt_prog_compiler_pic_CXX
='-W c,exportall'
12977 netbsd
* | netbsdelf
*-gnu)
12980 # QNX uses GNU C++, but need to define -shared option too, otherwise
12981 # it will coredump.
12982 lt_prog_compiler_pic_CXX
='-fPIC -shared'
12984 osf3
* | osf4
* | osf5
*)
12985 case $cc_basename in
12987 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12990 # Rational C++ 2.4.1
12991 lt_prog_compiler_pic_CXX
='-pic'
12994 # Digital/Compaq C++
12995 lt_prog_compiler_wl_CXX
='-Wl,'
12996 # Make sure the PIC flag is empty. It appears that all Alpha
12997 # Linux and Compaq Tru64 Unix objects are PIC.
12998 lt_prog_compiler_pic_CXX
=
12999 lt_prog_compiler_static_CXX
='-non_shared'
13008 case $cc_basename in
13010 # Sun C++ 4.2, 5.x and Centerline C++
13011 lt_prog_compiler_pic_CXX
='-KPIC'
13012 lt_prog_compiler_static_CXX
='-Bstatic'
13013 lt_prog_compiler_wl_CXX
='-Qoption ld '
13016 # Green Hills C++ Compiler
13017 lt_prog_compiler_pic_CXX
='-PIC'
13024 case $cc_basename in
13027 lt_prog_compiler_pic_CXX
='-pic'
13028 lt_prog_compiler_static_CXX
='-Bstatic'
13032 lt_prog_compiler_pic_CXX
='-pic'
13038 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13039 case $cc_basename in
13041 lt_prog_compiler_wl_CXX
='-Wl,'
13042 lt_prog_compiler_pic_CXX
='-KPIC'
13043 lt_prog_compiler_static_CXX
='-Bstatic'
13048 case $cc_basename in
13050 # NonStop-UX NCC 3.20
13051 lt_prog_compiler_pic_CXX
='-KPIC'
13060 lt_prog_compiler_can_build_shared_CXX
=no
13066 # For platforms which do not support PIC, -DPIC is meaningless:
13068 lt_prog_compiler_pic_CXX
=
13071 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13075 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13080 # Check to make sure the PIC flag actually works.
13082 if test -n "$lt_prog_compiler_pic_CXX"; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13084 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13085 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13086 $as_echo_n "(cached) " >&6
13088 lt_cv_prog_compiler_pic_works_CXX
=no
13089 ac_outfile
=conftest.
$ac_objext
13090 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13091 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
13092 # Insert the option either (1) after the last *FLAGS variable, or
13093 # (2) before a word containing "conftest.", or (3) at the end.
13094 # Note that $ac_compile itself does not contain backslashes and begins
13095 # with a dollar sign (not a hyphen), so the echo should work correctly.
13096 # The option is referenced via a variable to avoid confusing sed.
13097 lt_compile
=`echo "$ac_compile" | $SED \
13098 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13099 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13100 -e 's:$: $lt_compiler_flag:'`
13101 (eval echo "\"\$as_me:13101: $lt_compile\"" >&5)
13102 (eval "$lt_compile" 2>conftest.err
)
13104 cat conftest.err
>&5
13105 echo "$as_me:13105: \$? = $ac_status" >&5
13106 if (exit $ac_status) && test -s "$ac_outfile"; then
13107 # The compiler can only warn and ignore the option if not recognized
13108 # So say no if there are warnings other than the usual output.
13109 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13110 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13111 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
13112 lt_cv_prog_compiler_pic_works_CXX
=yes
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13119 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13121 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
13122 case $lt_prog_compiler_pic_CXX in
13124 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
13127 lt_prog_compiler_pic_CXX
=
13128 lt_prog_compiler_can_build_shared_CXX
=no
13136 # Check to make sure the static flag actually works.
13138 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13140 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13141 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13142 $as_echo_n "(cached) " >&6
13144 lt_cv_prog_compiler_static_works_CXX
=no
13145 save_LDFLAGS
="$LDFLAGS"
13146 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13147 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13148 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13149 # The linker can only warn and ignore the option if not recognized
13150 # So say no if there are warnings
13151 if test -s conftest.err
; then
13152 # Append any errors to the config.log.
13153 cat conftest.err
1>&5
13154 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13155 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13156 if diff conftest.exp conftest.er2
>/dev
/null
; then
13157 lt_cv_prog_compiler_static_works_CXX
=yes
13160 lt_cv_prog_compiler_static_works_CXX
=yes
13164 LDFLAGS
="$save_LDFLAGS"
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13168 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13170 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13173 lt_prog_compiler_static_CXX
=
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13180 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13181 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13182 $as_echo_n "(cached) " >&6
13184 lt_cv_prog_compiler_c_o_CXX
=no
13185 $RM -r conftest
2>/dev
/null
13189 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13191 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13192 # Insert the option either (1) after the last *FLAGS variable, or
13193 # (2) before a word containing "conftest.", or (3) at the end.
13194 # Note that $ac_compile itself does not contain backslashes and begins
13195 # with a dollar sign (not a hyphen), so the echo should work correctly.
13196 lt_compile
=`echo "$ac_compile" | $SED \
13197 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13198 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13199 -e 's:$: $lt_compiler_flag:'`
13200 (eval echo "\"\$as_me:13200: $lt_compile\"" >&5)
13201 (eval "$lt_compile" 2>out
/conftest.err
)
13203 cat out
/conftest.err
>&5
13204 echo "$as_me:13204: \$? = $ac_status" >&5
13205 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13207 # The compiler can only warn and ignore the option if not recognized
13208 # So say no if there are warnings
13209 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13210 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13211 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13212 lt_cv_prog_compiler_c_o_CXX
=yes
13217 # SGI C++ compiler will create directory out/ii_files/ for
13218 # template instantiation
13219 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13220 $RM out
/* && rmdir out
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13227 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13232 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13233 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13234 $as_echo_n "(cached) " >&6
13236 lt_cv_prog_compiler_c_o_CXX
=no
13237 $RM -r conftest
2>/dev
/null
13241 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13243 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13244 # Insert the option either (1) after the last *FLAGS variable, or
13245 # (2) before a word containing "conftest.", or (3) at the end.
13246 # Note that $ac_compile itself does not contain backslashes and begins
13247 # with a dollar sign (not a hyphen), so the echo should work correctly.
13248 lt_compile
=`echo "$ac_compile" | $SED \
13249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13251 -e 's:$: $lt_compiler_flag:'`
13252 (eval echo "\"\$as_me:13252: $lt_compile\"" >&5)
13253 (eval "$lt_compile" 2>out
/conftest.err
)
13255 cat out
/conftest.err
>&5
13256 echo "$as_me:13256: \$? = $ac_status" >&5
13257 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13259 # The compiler can only warn and ignore the option if not recognized
13260 # So say no if there are warnings
13261 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out
/conftest.exp
13262 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13263 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13264 lt_cv_prog_compiler_c_o_CXX
=yes
13269 # SGI C++ compiler will create directory out/ii_files/ for
13270 # template instantiation
13271 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13272 $RM out
/* && rmdir out
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13279 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13284 hard_links
="nottested"
13285 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13286 # do not overwrite the value of need_locks provided by the user
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13288 $as_echo_n "checking if we can lock with hard links... " >&6; }
13291 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13293 ln conftest.a conftest.b
2>&5 || hard_links
=no
13294 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13296 $as_echo "$hard_links" >&6; }
13297 if test "$hard_links" = no
; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13299 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13309 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13311 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13314 # If we're using GNU nm, then we don't want the "-C" option.
13315 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13316 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
13317 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'
13319 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'
13323 export_symbols_cmds_CXX
="$ltdll_cmds"
13325 cygwin
* | mingw
* | cegcc
*)
13326 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'
13328 linux
* | k
*bsd
*-gnu)
13329 link_all_deplibs_CXX
=no
13332 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13335 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13338 $as_echo "$ld_shlibs_CXX" >&6; }
13339 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13341 with_gnu_ld_CXX
=$with_gnu_ld
13349 # Do we need to explicitly link libc?
13351 case "x$archive_cmds_need_lc_CXX" in
13353 # Assume -lc should be added
13354 archive_cmds_need_lc_CXX
=yes
13356 if test "$enable_shared" = yes && test "$GCC" = yes; then
13357 case $archive_cmds_CXX in
13359 # FIXME: we may have to deal with multi-command sequences.
13362 # Test whether the compiler implicitly links with -lc since on some
13363 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13364 # to ld, don't add -lc before -lgcc.
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13366 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13368 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13371 (eval $ac_compile) 2>&5
13373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13374 test $ac_status = 0; } 2>conftest.err
; then
13377 libobjs
=conftest.
$ac_objext
13379 wl
=$lt_prog_compiler_wl_CXX
13380 pic_flag
=$lt_prog_compiler_pic_CXX
13386 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13387 allow_undefined_flag_CXX
=
13388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13389 (eval $archive_cmds_CXX 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392 test $ac_status = 0; }
13394 archive_cmds_need_lc_CXX
=no
13396 archive_cmds_need_lc_CXX
=yes
13398 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13400 cat conftest.err
1>&5
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13404 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13475 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13477 library_names_spec
=
13478 libname_spec
='lib$name'
13482 postuninstall_cmds
=
13486 shlibpath_overrides_runpath
=unknown
13488 dynamic_linker
="$host_os ld.so"
13489 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13490 need_lib_prefix
=unknown
13491 hardcode_into_libs
=no
13493 # when you set need_version to no, make sure it does not cause -set_version
13494 # flags to be left without arguments
13495 need_version
=unknown
13500 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13501 shlibpath_var
=LIBPATH
13503 # AIX 3 has no versioning support, so we append a major version to the name.
13504 soname_spec
='${libname}${release}${shared_ext}$major'
13511 hardcode_into_libs
=yes
13512 if test "$host_cpu" = ia64
; then
13513 # AIX 5 supports IA64
13514 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13515 shlibpath_var
=LD_LIBRARY_PATH
13517 # With GCC up to 2.95.x, collect2 would create an import file
13518 # for dependence libraries. The import file would start with
13519 # the line `#! .'. This would cause the generated library to
13520 # depend on `.', always an invalid library. This was fixed in
13521 # development snapshots of GCC prior to 3.0.
13523 aix4
| aix4.
[01] | aix4.
[01].
*)
13524 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13526 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev
/null
; then
13529 can_build_shared
=no
13533 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13534 # soname into executable. Probably we can add versioning support to
13535 # collect2, so additional links can be useful in future.
13536 if test "$aix_use_runtimelinking" = yes; then
13537 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13538 # instead of lib<name>.a to let people know that these are not
13539 # typical AIX shared libraries.
13540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13542 # We preserve .a as extension for shared libraries through AIX4.2
13543 # and later when we are not doing run time linking.
13544 library_names_spec
='${libname}${release}.a $libname.a'
13545 soname_spec
='${libname}${release}${shared_ext}$major'
13547 shlibpath_var
=LIBPATH
13554 # Since July 2007 AmigaOS4 officially supports .so libraries.
13555 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13559 library_names_spec
='$libname.ixlibrary $libname.a'
13560 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13561 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'
13567 library_names_spec
='${libname}${shared_ext}'
13568 dynamic_linker
="$host_os ld.so"
13569 shlibpath_var
=LIBRARY_PATH
13575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13576 soname_spec
='${libname}${release}${shared_ext}$major'
13577 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13578 shlibpath_var
=LD_LIBRARY_PATH
13579 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13580 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13581 # the default ld.so.conf also contains /usr/contrib/lib and
13582 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13583 # libtool to hard-code these into programs
13586 cygwin
* | mingw
* | pw32
* | cegcc
*)
13587 version_type
=windows
13592 case $GCC,$host_os in
13593 yes,cygwin
* | yes,mingw
* | yes,pw32
* | yes,cegcc
*)
13594 library_names_spec
='$libname.dll.a'
13595 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13596 postinstall_cmds
='base_file=`basename \${file}`~
13597 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13598 dldir=$destdir/`dirname \$dlpath`~
13599 test -d \$dldir || mkdir -p \$dldir~
13600 $install_prog $dir/$dlname \$dldir/$dlname~
13601 chmod a+x \$dldir/$dlname~
13602 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13603 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13605 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13606 dlpath=$dir/\$dldll~
13608 shlibpath_overrides_runpath
=yes
13612 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13613 soname_spec
='`echo ${libname} | sed -e 's
/^lib
/cyg
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13614 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13617 # MinGW DLLs use traditional 'lib' prefix
13618 soname_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13619 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13620 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
13621 # It is most probably a Windows format PATH printed by
13622 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13623 # path with ; separators, and with drive letters. We can handle the
13624 # drive letters (cygwin fileutils understands them), so leave them,
13625 # especially as we might pass files found there to a mingw objdump,
13626 # which wouldn't understand a cygwinified path. Ahh.
13627 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13629 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13633 # pw32 DLLs use 'pw' prefix rather than 'lib'
13634 library_names_spec
='`echo ${libname} | sed -e 's
/^lib
/pw
/'``echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext}'
13640 library_names_spec
='${libname}`echo ${release} | $SED -e 's
/[.
]/-/g
'`${versuffix}${shared_ext} $libname.lib'
13643 dynamic_linker
='Win32 ld.exe'
13644 # FIXME: first we should search . and the directory the executable is in
13648 darwin
* | rhapsody
*)
13649 dynamic_linker
="$host_os dyld"
13650 version_type
=darwin
13653 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13654 soname_spec
='${libname}${release}${major}$shared_ext'
13655 shlibpath_overrides_runpath
=yes
13656 shlibpath_var
=DYLD_LIBRARY_PATH
13657 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13659 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13667 soname_spec
='${libname}${release}${shared_ext}$major'
13668 shlibpath_var
=LD_LIBRARY_PATH
13675 freebsd
* | dragonfly
*)
13676 # DragonFly does not have aout. When/if they implement a new
13677 # versioning mechanism, adjust this.
13678 if test -x /usr
/bin
/objformat
; then
13679 objformat
=`/usr/bin/objformat`
13682 freebsd
[123]*) objformat
=aout
;;
13683 *) objformat
=elf
;;
13686 version_type
=freebsd
-$objformat
13687 case $version_type in
13689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13694 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13698 shlibpath_var
=LD_LIBRARY_PATH
13701 shlibpath_overrides_runpath
=yes
13703 freebsd3.
[01]* | freebsdelf3.
[01]*)
13704 shlibpath_overrides_runpath
=yes
13705 hardcode_into_libs
=yes
13707 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13708 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13709 shlibpath_overrides_runpath
=no
13710 hardcode_into_libs
=yes
13712 *) # from 4.6 on, and DragonFly
13713 shlibpath_overrides_runpath
=yes
13714 hardcode_into_libs
=yes
13723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13724 soname_spec
='${libname}${release}${shared_ext}$major'
13725 shlibpath_var
=LD_LIBRARY_PATH
13726 hardcode_into_libs
=yes
13729 hpux9
* | hpux10
* | hpux11
*)
13730 # Give a soname corresponding to the major version so that dld.sl refuses to
13731 # link against other versions.
13738 hardcode_into_libs
=yes
13739 dynamic_linker
="$host_os dld.so"
13740 shlibpath_var
=LD_LIBRARY_PATH
13741 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13743 soname_spec
='${libname}${release}${shared_ext}$major'
13744 if test "X$HPUX_IA64_MODE" = X32
; then
13745 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13747 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13749 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13753 hardcode_into_libs
=yes
13754 dynamic_linker
="$host_os dld.sl"
13755 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13756 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13758 soname_spec
='${libname}${release}${shared_ext}$major'
13759 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13760 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13764 dynamic_linker
="$host_os dld.sl"
13765 shlibpath_var
=SHLIB_PATH
13766 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13767 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13768 soname_spec
='${libname}${release}${shared_ext}$major'
13771 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13772 postinstall_cmds
='chmod 555 $lib'
13779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13780 soname_spec
='${libname}${release}${shared_ext}$major'
13781 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13782 shlibpath_var
=LD_LIBRARY_PATH
13783 shlibpath_overrides_runpath
=no
13784 hardcode_into_libs
=yes
13787 irix5
* | irix6
* | nonstopux
*)
13789 nonstopux
*) version_type
=nonstopux
;;
13791 if test "$lt_cv_prog_gnu_ld" = yes; then
13799 soname_spec
='${libname}${release}${shared_ext}$major'
13800 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13802 irix5
* | nonstopux
*)
13803 libsuff
= shlibsuff
=
13806 case $LD in # libtool.m4 will add one of these switches to LD
13807 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13808 libsuff
= shlibsuff
= libmagic
=32-bit;;
13809 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13810 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13811 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13812 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13813 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
13817 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13818 shlibpath_overrides_runpath
=no
13819 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13820 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13821 hardcode_into_libs
=yes
13824 # No shared lib support for Linux oldld, aout, or coff.
13825 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13829 # This must be Linux ELF.
13830 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13835 soname_spec
='${libname}${release}${shared_ext}$major'
13836 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13837 shlibpath_var
=LD_LIBRARY_PATH
13838 shlibpath_overrides_runpath
=no
13839 # Some binutils ld are patched to set DT_RUNPATH
13840 save_LDFLAGS
=$LDFLAGS
13841 save_libdir
=$libdir
13842 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13843 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13855 if ac_fn_cxx_try_link
"$LINENO"; then :
13856 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
; then :
13857 shlibpath_overrides_runpath
=yes
13860 rm -f core conftest.err conftest.
$ac_objext \
13861 conftest
$ac_exeext conftest.
$ac_ext
13862 LDFLAGS
=$save_LDFLAGS
13863 libdir
=$save_libdir
13865 # This implies no fast_install, which is unacceptable.
13866 # Some rework will be needed to allow for fast_install
13867 # before this can be enabled.
13868 hardcode_into_libs
=yes
13870 # Append ld.so.conf contents to the search path
13871 if test -f /etc
/ld.so.conf
; then
13872 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' ' '`
13873 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13876 # We used to test for /lib/ld.so.1 and disable shared libraries on
13877 # powerpc, because MkLinux only supported shared libraries with the
13878 # GNU dynamic linker. Since this was broken with cross compilers,
13879 # most powerpc-linux boxes support dynamic linking these days and
13880 # people can always --disable-shared, the test was removed, and we
13881 # assume the GNU/Linux dynamic linker is in use.
13882 dynamic_linker
='GNU/Linux ld.so'
13889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13890 soname_spec
='${libname}${release}${shared_ext}$major'
13891 shlibpath_var
=LD_LIBRARY_PATH
13892 shlibpath_overrides_runpath
=no
13893 hardcode_into_libs
=yes
13894 dynamic_linker
='NetBSD ld.elf_so'
13901 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
13902 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13903 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13904 dynamic_linker
='NetBSD (a.out) ld.so'
13906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13907 soname_spec
='${libname}${release}${shared_ext}$major'
13908 dynamic_linker
='NetBSD ld.elf_so'
13910 shlibpath_var
=LD_LIBRARY_PATH
13911 shlibpath_overrides_runpath
=yes
13912 hardcode_into_libs
=yes
13917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13918 shlibpath_var
=LD_LIBRARY_PATH
13919 shlibpath_overrides_runpath
=yes
13926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13927 soname_spec
='${libname}${release}${shared_ext}$major'
13928 shlibpath_var
=LD_LIBRARY_PATH
13929 shlibpath_overrides_runpath
=no
13930 hardcode_into_libs
=yes
13931 dynamic_linker
='ldqnx.so'
13936 sys_lib_dlsearch_path_spec
="/usr/lib"
13938 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13940 openbsd3.3
| openbsd3.3.
*) need_version
=yes ;;
13941 *) need_version
=no
;;
13943 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13944 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13945 shlibpath_var
=LD_LIBRARY_PATH
13946 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13948 openbsd2.
[89] | openbsd2.
[89].
*)
13949 shlibpath_overrides_runpath
=no
13952 shlibpath_overrides_runpath
=yes
13956 shlibpath_overrides_runpath
=yes
13961 libname_spec
='$name'
13964 library_names_spec
='$libname${shared_ext} $libname.a'
13965 dynamic_linker
='OS/2 ld.exe'
13966 shlibpath_var
=LIBPATH
13969 osf3
* | osf4
* | osf5
*)
13973 soname_spec
='${libname}${release}${shared_ext}$major'
13974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13975 shlibpath_var
=LD_LIBRARY_PATH
13976 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13977 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13989 soname_spec
='${libname}${release}${shared_ext}$major'
13990 shlibpath_var
=LD_LIBRARY_PATH
13991 shlibpath_overrides_runpath
=yes
13992 hardcode_into_libs
=yes
13993 # ldd complains unless libraries are executable
13994 postinstall_cmds
='chmod +x $lib'
13999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14000 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14001 shlibpath_var
=LD_LIBRARY_PATH
14002 shlibpath_overrides_runpath
=yes
14003 if test "$with_gnu_ld" = yes; then
14011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 soname_spec
='${libname}${release}${shared_ext}$major'
14013 shlibpath_var
=LD_LIBRARY_PATH
14014 case $host_vendor in
14016 shlibpath_overrides_runpath
=no
14018 runpath_var
=LD_RUN_PATH
14026 shlibpath_overrides_runpath
=no
14027 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
14033 if test -d /usr
/nec
;then
14035 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14036 soname_spec
='$libname${shared_ext}.$major'
14037 shlibpath_var
=LD_LIBRARY_PATH
14041 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
14042 version_type
=freebsd
-elf
14045 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14046 soname_spec
='${libname}${release}${shared_ext}$major'
14047 shlibpath_var
=LD_LIBRARY_PATH
14048 shlibpath_overrides_runpath
=yes
14049 hardcode_into_libs
=yes
14050 if test "$with_gnu_ld" = yes; then
14051 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14053 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
14056 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
14060 sys_lib_dlsearch_path_spec
='/usr/lib'
14064 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14069 shlibpath_var
=LD_LIBRARY_PATH
14070 shlibpath_overrides_runpath
=no
14071 hardcode_into_libs
=yes
14076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14077 soname_spec
='${libname}${release}${shared_ext}$major'
14078 shlibpath_var
=LD_LIBRARY_PATH
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14086 $as_echo "$dynamic_linker" >&6; }
14087 test "$dynamic_linker" = no
&& can_build_shared
=no
14089 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14090 if test "$GCC" = yes; then
14091 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14094 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14095 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14097 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14098 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14137 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14138 hardcode_action_CXX
=
14139 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14140 test -n "$runpath_var_CXX" ||
14141 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14143 # We can hardcode non-existent directories.
14144 if test "$hardcode_direct_CXX" != no
&&
14145 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14146 # have to relink, otherwise we might link with an installed library
14147 # when we should be linking with a yet-to-be-installed one
14148 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14149 test "$hardcode_minus_L_CXX" != no
; then
14150 # Linking always hardcodes the temporary library directory.
14151 hardcode_action_CXX
=relink
14153 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14154 hardcode_action_CXX
=immediate
14157 # We cannot hardcode anything, or else we can only hardcode existing
14159 hardcode_action_CXX
=unsupported
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14162 $as_echo "$hardcode_action_CXX" >&6; }
14164 if test "$hardcode_action_CXX" = relink
||
14165 test "$inherit_rpath_CXX" = yes; then
14166 # Fast installation is not supported
14167 enable_fast_install
=no
14168 elif test "$shlibpath_overrides_runpath" = yes ||
14169 test "$enable_shared" = no
; then
14170 # Fast installation is not necessary
14171 enable_fast_install
=needless
14180 fi # test -n "$compiler"
14186 with_gnu_ld
=$lt_save_with_gnu_ld
14187 lt_cv_path_LDCXX
=$lt_cv_path_LD
14188 lt_cv_path_LD
=$lt_save_path_LD
14189 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14190 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14191 fi # test "$_lt_caught_CXX_error" != yes
14194 ac_cpp
='$CPP $CPPFLAGS'
14195 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14196 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14201 ac_cpp
='$OBJCXXCPP $CPPFLAGS'
14202 ac_compile
='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14203 ac_link
='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14204 ac_compiler_gnu
=$ac_cv_objcxx_compiler_gnu
14205 if test -n "$ac_tool_prefix"; then
14206 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14209 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14211 $as_echo_n "checking for $ac_word... " >&6; }
14212 if test "${ac_cv_prog_OBJCXX+set}" = set; then :
14213 $as_echo_n "(cached) " >&6
14215 if test -n "$OBJCXX"; then
14216 ac_cv_prog_OBJCXX
="$OBJCXX" # Let the user override the test.
14218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14219 for as_dir
in $PATH
14222 test -z "$as_dir" && as_dir
=.
14223 for ac_exec_ext
in '' $ac_executable_extensions; do
14224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14225 ac_cv_prog_OBJCXX
="$ac_tool_prefix$ac_prog"
14226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 OBJCXX
=$ac_cv_prog_OBJCXX
14236 if test -n "$OBJCXX"; then
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCXX" >&5
14238 $as_echo "$OBJCXX" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14241 $as_echo "no" >&6; }
14245 test -n "$OBJCXX" && break
14248 if test -z "$OBJCXX"; then
14249 ac_ct_OBJCXX
=$OBJCXX
14250 for ac_prog
in g
++ objc
++ objcxx c
++ CXX
14252 # Extract the first word of "$ac_prog", so it can be a program name with args.
14253 set dummy
$ac_prog; ac_word
=$2
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14255 $as_echo_n "checking for $ac_word... " >&6; }
14256 if test "${ac_cv_prog_ac_ct_OBJCXX+set}" = set; then :
14257 $as_echo_n "(cached) " >&6
14259 if test -n "$ac_ct_OBJCXX"; then
14260 ac_cv_prog_ac_ct_OBJCXX
="$ac_ct_OBJCXX" # Let the user override the test.
14262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14263 for as_dir
in $PATH
14266 test -z "$as_dir" && as_dir
=.
14267 for ac_exec_ext
in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14269 ac_cv_prog_ac_ct_OBJCXX
="$ac_prog"
14270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14279 ac_ct_OBJCXX
=$ac_cv_prog_ac_ct_OBJCXX
14280 if test -n "$ac_ct_OBJCXX"; then
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCXX" >&5
14282 $as_echo "$ac_ct_OBJCXX" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14285 $as_echo "no" >&6; }
14289 test -n "$ac_ct_OBJCXX" && break
14292 if test "x$ac_ct_OBJCXX" = x
; then
14295 case $cross_compiling:$ac_tool_warned in
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14299 ac_tool_warned
=yes ;;
14301 OBJCXX
=$ac_ct_OBJCXX
14305 # Provide some information about the compiler.
14306 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C++ compiler version" >&5
14309 for ac_option
in --version -v -V -qversion; do
14310 { { ac_try
="$ac_compiler $ac_option >&5"
14311 case "(($ac_try" in
14312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14316 $as_echo "$ac_try_echo"; } >&5
14317 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14319 if test -s conftest.err; then
14321 ... rest of stderr output deleted ...
14322 10q' conftest.err >conftest.er1
14323 cat conftest.er1 >&5
14325 rm -f conftest.er1 conftest.err
14326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14327 test $ac_status = 0; }
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C++ compiler" >&5
14331 $as_echo_n "checking whether we are using the GNU Objective C++ compiler... " >&6; }
14332 if test "${ac_cv_objcxx_compiler_gnu+set}" = set; then :
14333 $as_echo_n "(cached) " >&6
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14349 if ac_fn_objcxx_try_compile "$LINENO"; then :
14350 ac_compiler_gnu=yes
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355 ac_cv_objcxx_compiler_gnu=$ac_compiler_gnu
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objcxx_compiler_gnu" >&5
14359 $as_echo "$ac_cv_objcxx_compiler_gnu" >&6; }
14360 if test $ac_compiler_gnu = yes; then
14365 ac_test_OBJCXXFLAGS=${OBJCXXFLAGS+set}
14366 ac_save_OBJCXXFLAGS=$OBJCXXFLAGS
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJCXX accepts -g" >&5
14368 $as_echo_n "checking whether $OBJCXX accepts -g... " >&6; }
14369 if test "${ac_cv_prog_objcxx_g+set}" = set; then :
14370 $as_echo_n "(cached) " >&6
14372 ac_save_objcxx_werror_flag=$ac_objcxx_werror_flag
14373 ac_objcxx_werror_flag=yes
14374 ac_cv_prog_objcxx_g=no
14376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14377 /* end confdefs.h. */
14387 if ac_fn_objcxx_try_compile "$LINENO"; then :
14388 ac_cv_prog_objcxx_g=yes
14391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14392 /* end confdefs.h. */
14402 if ac_fn_objcxx_try_compile "$LINENO"; then :
14405 ac_objcxx_werror_flag=$ac_save_objcxx_werror_flag
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14418 if ac_fn_objcxx_try_compile "$LINENO"; then :
14419 ac_cv_prog_objcxx_g=yes
14421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 ac_objcxx_werror_flag=$ac_save_objcx_werror_flag
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objcxx_g" >&5
14429 $as_echo "$ac_cv_prog_objcxx_g" >&6; }
14430 if test "$ac_test_OBJCXXFLAGS" = set; then
14431 OBJCXXFLAGS=$ac_save_OBJCXXFLAGS
14432 elif test $ac_cv_prog_objcxx_g = yes; then
14433 if test "$GOBJCXX" = yes; then
14434 OBJCXXFLAGS="-g -O2"
14439 if test "$GOBJCXX" = yes; then
14446 ac_cpp='$CPP $CPPFLAGS'
14447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14452 # Check whether --enable-universal-binary was given.
14453 if test "${enable_universal_binary+set}" = set; then :
14454 enableval=$enable_universal_binary;
14455 case $enableval in #(
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14461 $as_echo_n "checking for universal binary support... " >&6; }
14462 case $host_vendor in #(
14465 case $host_cpu in #(
14468 for cy_arch in i386 x86_64; do
14469 cy_save_CXXFLAGS=$CXXFLAGS
14471 for element in "-arch $cy_arch"; do
14473 for x in $CXXFLAGS; do
14475 acl_save_prefix="$prefix"
14476 prefix="$acl_final_prefix"
14477 acl_save_exec_prefix="$exec_prefix"
14478 exec_prefix="$acl_final_exec_prefix"
14480 exec_prefix="$acl_save_exec_prefix"
14481 prefix="$acl_save_prefix"
14483 if test "X$x" = "X$element"; then
14488 if test -z "$haveit"; then
14489 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14494 /* end confdefs.h. */
14504 if ac_fn_c_try_link "$LINENO"; then :
14507 for element in $cy_arch; do
14509 for x in $cy_arches; do
14511 acl_save_prefix="$prefix"
14512 prefix="$acl_final_prefix"
14513 acl_save_exec_prefix="$exec_prefix"
14514 exec_prefix="$acl_final_exec_prefix"
14516 exec_prefix="$acl_save_exec_prefix"
14517 prefix="$acl_save_prefix"
14519 if test "X$x" = "X$element"; then
14524 if test -z "$haveit"; then
14525 cy_arches="${cy_arches}${cy_arches:+ }$element"
14530 for element in "-arch $cy_arch"; do
14532 for x in $CFLAGS; do
14534 acl_save_prefix="$prefix"
14535 prefix="$acl_final_prefix"
14536 acl_save_exec_prefix="$exec_prefix"
14537 exec_prefix="$acl_final_exec_prefix"
14539 exec_prefix="$acl_save_exec_prefix"
14540 prefix="$acl_save_prefix"
14542 if test "X$x" = "X$element"; then
14547 if test -z "$haveit"; then
14548 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14553 for element in "-arch $cy_arch"; do
14555 for x in $LDFLAGS; do
14557 acl_save_prefix="$prefix"
14558 prefix="$acl_final_prefix"
14559 acl_save_exec_prefix="$exec_prefix"
14560 exec_prefix="$acl_final_exec_prefix"
14562 exec_prefix="$acl_save_exec_prefix"
14563 prefix="$acl_save_prefix"
14565 if test "X$x" = "X$element"; then
14570 if test -z "$haveit"; then
14571 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14576 for element in "-arch $cy_arch"; do
14578 for x in $OBJCXXFLAGS; do
14580 acl_save_prefix="$prefix"
14581 prefix="$acl_final_prefix"
14582 acl_save_exec_prefix="$exec_prefix"
14583 exec_prefix="$acl_final_exec_prefix"
14585 exec_prefix="$acl_save_exec_prefix"
14586 prefix="$acl_save_prefix"
14588 if test "X$x" = "X$element"; then
14593 if test -z "$haveit"; then
14594 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14601 CXXFLAGS=$cy_save_CXXFLAGS
14604 rm -f core conftest.err conftest.$ac_objext \
14605 conftest$ac_exeext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14616 $as_echo "${cy_arches-no}" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for universal binary support" >&5
14623 $as_echo_n "checking for universal binary support... " >&6; }
14624 case $host_vendor in #(
14627 case $host_cpu in #(
14630 for cy_arch in i386 x86_64; do
14631 cy_save_CXXFLAGS=$CXXFLAGS
14633 for element in "-arch $cy_arch"; do
14635 for x in $CXXFLAGS; do
14637 acl_save_prefix="$prefix"
14638 prefix="$acl_final_prefix"
14639 acl_save_exec_prefix="$exec_prefix"
14640 exec_prefix="$acl_final_exec_prefix"
14642 exec_prefix="$acl_save_exec_prefix"
14643 prefix="$acl_save_prefix"
14645 if test "X$x" = "X$element"; then
14650 if test -z "$haveit"; then
14651 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14666 if ac_fn_c_try_link "$LINENO"; then :
14669 for element in $cy_arch; do
14671 for x in $cy_arches; do
14673 acl_save_prefix="$prefix"
14674 prefix="$acl_final_prefix"
14675 acl_save_exec_prefix="$exec_prefix"
14676 exec_prefix="$acl_final_exec_prefix"
14678 exec_prefix="$acl_save_exec_prefix"
14679 prefix="$acl_save_prefix"
14681 if test "X$x" = "X$element"; then
14686 if test -z "$haveit"; then
14687 cy_arches="${cy_arches}${cy_arches:+ }$element"
14692 for element in "-arch $cy_arch"; do
14694 for x in $CFLAGS; do
14696 acl_save_prefix="$prefix"
14697 prefix="$acl_final_prefix"
14698 acl_save_exec_prefix="$exec_prefix"
14699 exec_prefix="$acl_final_exec_prefix"
14701 exec_prefix="$acl_save_exec_prefix"
14702 prefix="$acl_save_prefix"
14704 if test "X$x" = "X$element"; then
14709 if test -z "$haveit"; then
14710 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14715 for element in "-arch $cy_arch"; do
14717 for x in $LDFLAGS; do
14719 acl_save_prefix="$prefix"
14720 prefix="$acl_final_prefix"
14721 acl_save_exec_prefix="$exec_prefix"
14722 exec_prefix="$acl_final_exec_prefix"
14724 exec_prefix="$acl_save_exec_prefix"
14725 prefix="$acl_save_prefix"
14727 if test "X$x" = "X$element"; then
14732 if test -z "$haveit"; then
14733 LDFLAGS="${LDFLAGS}${LDFLAGS:+ }$element"
14738 for element in "-arch $cy_arch"; do
14740 for x in $OBJCXXFLAGS; do
14742 acl_save_prefix="$prefix"
14743 prefix="$acl_final_prefix"
14744 acl_save_exec_prefix="$exec_prefix"
14745 exec_prefix="$acl_final_exec_prefix"
14747 exec_prefix="$acl_save_exec_prefix"
14748 prefix="$acl_save_prefix"
14750 if test "X$x" = "X$element"; then
14755 if test -z "$haveit"; then
14756 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
14763 CXXFLAGS=$cy_save_CXXFLAGS
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${cy_arches-no}" >&5
14778 $as_echo "${cy_arches-no}" >&6; }
14783 # Check whether --with-frameworks was given.
14784 if test "${with_frameworks+set}" = set; then :
14785 withval=$with_frameworks;
14786 for cy_framework in $withval; do
14788 for element in -F$cy_framework; do
14790 for x in $CFLAGS; do
14792 acl_save_prefix="$prefix"
14793 prefix="$acl_final_prefix"
14794 acl_save_exec_prefix="$exec_prefix"
14795 exec_prefix="$acl_final_exec_prefix"
14797 exec_prefix="$acl_save_exec_prefix"
14798 prefix="$acl_save_prefix"
14800 if test "X$x" = "X$element"; then
14805 if test -z "$haveit"; then
14806 CFLAGS="${CFLAGS}${CFLAGS:+ }$element"
14811 for element in -F$cy_framework; do
14813 for x in $CXXFLAGS; do
14815 acl_save_prefix="$prefix"
14816 prefix="$acl_final_prefix"
14817 acl_save_exec_prefix="$exec_prefix"
14818 exec_prefix="$acl_final_exec_prefix"
14820 exec_prefix="$acl_save_exec_prefix"
14821 prefix="$acl_save_prefix"
14823 if test "X$x" = "X$element"; then
14828 if test -z "$haveit"; then
14829 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
14834 for element in -F$cy_framework; do
14836 for x in $OBJCCXXFLAGS; do
14838 acl_save_prefix="$prefix"
14839 prefix="$acl_final_prefix"
14840 acl_save_exec_prefix="$exec_prefix"
14841 exec_prefix="$acl_final_exec_prefix"
14843 exec_prefix="$acl_save_exec_prefix"
14844 prefix="$acl_save_prefix"
14846 if test "X$x" = "X$element"; then
14851 if test -z "$haveit"; then
14852 OBJCCXXFLAGS="${OBJCCXXFLAGS}${OBJCCXXFLAGS:+ }$element"
14861 ac_cpp='$CXXCPP $CPPFLAGS'
14862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14869 if test "$target_os" = "os2-emx"; then
14870 # Scripts don't pass test -x on OS/2
14876 acceptable_majors="1"
14878 apr_temp_acceptable_apr_config=""
14879 for apr_temp_major in $acceptable_majors
14881 case $apr_temp_major in
14883 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
14886 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
14892 $as_echo_n "checking for APR... " >&6; }
14894 # Check whether --with-apr was given.
14895 if test "${with_apr+set}" = set; then :
14897 if test "$withval" = "no" || test "$withval" = "yes"; then
14898 as_fn_error "--with-apr requires a directory or file to be provided" "$LINENO" 5
14901 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14903 for lookdir in "$withval/bin" "$withval"
14905 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
14906 apr_config="$lookdir/$apr_temp_apr_config_file"
14914 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
14915 apr_config="$withval"
14919 if test "$apr_found" != "yes"; then
14920 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
14925 if test -n "1" && test "1" = "1"; then
14926 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
14928 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
14929 apr_config="$apr_temp_apr_config_file"
14934 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
14935 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
14936 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
14945 if test "$apr_found" = "no" && test -d ""; then
14946 apr_temp_abs_srcdir="`cd && pwd`"
14947 apr_found="reconfig"
14948 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"/include
/apr_version.h
\"`"
14949 case $apr_bundled_major in
14951 as_fn_error "failed to find major version of bundled APR" "$LINENO" 5
14954 apr_temp_apr_config_file="apr-config"
14957 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
14960 if test -n ""; then
14961 apr_config="/$apr_temp_apr_config_file"
14963 apr_config="/$apr_temp_apr_config_file"
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
14971 $as_echo "$apr_found" >&6; }
14973 case $apr_found in #(
14977 for element in `$apr_config --includes`; do
14979 for x in $CPPFLAGS; do
14981 acl_save_prefix="$prefix"
14982 prefix="$acl_final_prefix"
14983 acl_save_exec_prefix="$exec_prefix"
14984 exec_prefix="$acl_final_exec_prefix"
14986 exec_prefix="$acl_save_exec_prefix"
14987 prefix="$acl_save_prefix"
14989 if test "X$x" = "X$element"; then
14994 if test -z "$haveit"; then
14995 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14999 LTLIBAPR=`$apr_config --link-libtool`
15003 as_fn_error "You need apr" "$LINENO" 5 ;;
15007 # Check whether --enable-javascript was given.
15008 if test "${enable_javascript+set}" = set; then :
15009 enableval=$enable_javascript;
15010 case $enableval in #(
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15017 $as_echo_n "checking for WEBKIT... " >&6; }
15019 if test -n "$PKG_CONFIG"; then
15020 if test -n "$WEBKIT_CFLAGS"; then
15021 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15023 if test -n "$PKG_CONFIG" && \
15024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15025 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15028 test $ac_status = 0; }; then
15029 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15037 if test -n "$PKG_CONFIG"; then
15038 if test -n "$WEBKIT_LIBS"; then
15039 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15041 if test -n "$PKG_CONFIG" && \
15042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15043 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15046 test $ac_status = 0; }; then
15047 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15058 if test $pkg_failed = yes; then
15060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15061 _pkg_short_errors_supported=yes
15063 _pkg_short_errors_supported=no
15065 if test $_pkg_short_errors_supported = yes; then
15066 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15068 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15070 # Put the nasty error message in config.log where it belongs
15071 echo "$WEBKIT_PKG_ERRORS" >&5
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15074 $as_echo "no" >&6; }
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15079 $as_echo_n "checking for WEBKIT... " >&6; }
15081 if test -n "$PKG_CONFIG"; then
15082 if test -n "$WEBKIT_CFLAGS"; then
15083 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15085 if test -n "$PKG_CONFIG" && \
15086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15087 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15090 test $ac_status = 0; }; then
15091 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15099 if test -n "$PKG_CONFIG"; then
15100 if test -n "$WEBKIT_LIBS"; then
15101 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15103 if test -n "$PKG_CONFIG" && \
15104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15105 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15108 test $ac_status = 0; }; then
15109 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15120 if test $pkg_failed = yes; then
15122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15123 _pkg_short_errors_supported=yes
15125 _pkg_short_errors_supported=no
15127 if test $_pkg_short_errors_supported = yes; then
15128 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15130 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15132 # Put the nasty error message in config.log where it belongs
15133 echo "$WEBKIT_PKG_ERRORS" >&5
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15136 $as_echo "no" >&6; }
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15140 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15141 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15142 $as_echo_n "(cached) " >&6
15145 ac_check_framework_save_LIBS=$LIBS
15146 LIBS="-framework JavaScriptCore $LIBS"
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15150 #include <JavaScriptCore/JSBase.h>
15155 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15160 if ac_fn_cxx_try_link "$LINENO"; then :
15162 ac_cv_framework_JavaScriptCore=yes
15165 ac_cv_framework_JavaScriptCore=no
15167 rm -f core conftest.err conftest.$ac_objext \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_framework_save_LIBS
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15173 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15174 if test $ac_cv_framework_JavaScriptCore = yes; then :
15177 for element in "-framework JavaScriptCore $LIBS"; do
15181 acl_save_prefix="$prefix"
15182 prefix="$acl_final_prefix"
15183 acl_save_exec_prefix="$exec_prefix"
15184 exec_prefix="$acl_final_exec_prefix"
15186 exec_prefix="$acl_save_exec_prefix"
15187 prefix="$acl_save_prefix"
15189 if test "X$x" = "X$element"; then
15194 if test -z "$haveit"; then
15195 LIBS="${LIBS}${LIBS:+ }$element"
15203 elif test $pkg_failed = untried; then
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15207 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15208 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15209 $as_echo_n "(cached) " >&6
15212 ac_check_framework_save_LIBS=$LIBS
15213 LIBS="-framework JavaScriptCore $LIBS"
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15217 #include <JavaScriptCore/JSBase.h>
15222 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15227 if ac_fn_cxx_try_link "$LINENO"; then :
15229 ac_cv_framework_JavaScriptCore=yes
15232 ac_cv_framework_JavaScriptCore=no
15234 rm -f core conftest.err conftest.$ac_objext \
15235 conftest$ac_exeext conftest.$ac_ext
15236 LIBS=$ac_check_framework_save_LIBS
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15240 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15241 if test $ac_cv_framework_JavaScriptCore = yes; then :
15244 for element in "-framework JavaScriptCore $LIBS"; do
15248 acl_save_prefix="$prefix"
15249 prefix="$acl_final_prefix"
15250 acl_save_exec_prefix="$exec_prefix"
15251 exec_prefix="$acl_final_exec_prefix"
15253 exec_prefix="$acl_save_exec_prefix"
15254 prefix="$acl_save_prefix"
15256 if test "X$x" = "X$element"; then
15261 if test -z "$haveit"; then
15262 LIBS="${LIBS}${LIBS:+ }$element"
15271 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15272 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15274 $as_echo "yes" >&6; }
15278 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15280 for x in $CXXFLAGS; do
15282 acl_save_prefix="$prefix"
15283 prefix="$acl_final_prefix"
15284 acl_save_exec_prefix="$exec_prefix"
15285 exec_prefix="$acl_final_exec_prefix"
15287 exec_prefix="$acl_save_exec_prefix"
15288 prefix="$acl_save_prefix"
15290 if test "X$x" = "X$element"; then
15295 if test -z "$haveit"; then
15296 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15301 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15305 acl_save_prefix="$prefix"
15306 prefix="$acl_final_prefix"
15307 acl_save_exec_prefix="$exec_prefix"
15308 exec_prefix="$acl_final_exec_prefix"
15310 exec_prefix="$acl_save_exec_prefix"
15311 prefix="$acl_save_prefix"
15313 if test "X$x" = "X$element"; then
15318 if test -z "$haveit"; then
15319 LIBS="${LIBS}${LIBS:+ }$element"
15326 elif test $pkg_failed = untried; then
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15331 $as_echo_n "checking for WEBKIT... " >&6; }
15333 if test -n "$PKG_CONFIG"; then
15334 if test -n "$WEBKIT_CFLAGS"; then
15335 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15337 if test -n "$PKG_CONFIG" && \
15338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15339 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15351 if test -n "$PKG_CONFIG"; then
15352 if test -n "$WEBKIT_LIBS"; then
15353 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15355 if test -n "$PKG_CONFIG" && \
15356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15357 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15360 test $ac_status = 0; }; then
15361 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15372 if test $pkg_failed = yes; then
15374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15375 _pkg_short_errors_supported=yes
15377 _pkg_short_errors_supported=no
15379 if test $_pkg_short_errors_supported = yes; then
15380 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15382 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15384 # Put the nasty error message in config.log where it belongs
15385 echo "$WEBKIT_PKG_ERRORS" >&5
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15388 $as_echo "no" >&6; }
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15392 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15393 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15394 $as_echo_n "(cached) " >&6
15397 ac_check_framework_save_LIBS=$LIBS
15398 LIBS="-framework JavaScriptCore $LIBS"
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 #include <JavaScriptCore/JSBase.h>
15407 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15412 if ac_fn_cxx_try_link "$LINENO"; then :
15414 ac_cv_framework_JavaScriptCore=yes
15417 ac_cv_framework_JavaScriptCore=no
15419 rm -f core conftest.err conftest.$ac_objext \
15420 conftest$ac_exeext conftest.$ac_ext
15421 LIBS=$ac_check_framework_save_LIBS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15425 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15426 if test $ac_cv_framework_JavaScriptCore = yes; then :
15429 for element in "-framework JavaScriptCore $LIBS"; do
15433 acl_save_prefix="$prefix"
15434 prefix="$acl_final_prefix"
15435 acl_save_exec_prefix="$exec_prefix"
15436 exec_prefix="$acl_final_exec_prefix"
15438 exec_prefix="$acl_save_exec_prefix"
15439 prefix="$acl_save_prefix"
15441 if test "X$x" = "X$element"; then
15446 if test -z "$haveit"; then
15447 LIBS="${LIBS}${LIBS:+ }$element"
15455 elif test $pkg_failed = untried; then
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15459 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15460 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15461 $as_echo_n "(cached) " >&6
15464 ac_check_framework_save_LIBS=$LIBS
15465 LIBS="-framework JavaScriptCore $LIBS"
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 /* end confdefs.h. */
15469 #include <JavaScriptCore/JSBase.h>
15474 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15479 if ac_fn_cxx_try_link "$LINENO"; then :
15481 ac_cv_framework_JavaScriptCore=yes
15484 ac_cv_framework_JavaScriptCore=no
15486 rm -f core conftest.err conftest.$ac_objext \
15487 conftest$ac_exeext conftest.$ac_ext
15488 LIBS=$ac_check_framework_save_LIBS
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15492 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15493 if test $ac_cv_framework_JavaScriptCore = yes; then :
15496 for element in "-framework JavaScriptCore $LIBS"; do
15500 acl_save_prefix="$prefix"
15501 prefix="$acl_final_prefix"
15502 acl_save_exec_prefix="$exec_prefix"
15503 exec_prefix="$acl_final_exec_prefix"
15505 exec_prefix="$acl_save_exec_prefix"
15506 prefix="$acl_save_prefix"
15508 if test "X$x" = "X$element"; then
15513 if test -z "$haveit"; then
15514 LIBS="${LIBS}${LIBS:+ }$element"
15523 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15524 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15526 $as_echo "yes" >&6; }
15530 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15532 for x in $CXXFLAGS; do
15534 acl_save_prefix="$prefix"
15535 prefix="$acl_final_prefix"
15536 acl_save_exec_prefix="$exec_prefix"
15537 exec_prefix="$acl_final_exec_prefix"
15539 exec_prefix="$acl_save_exec_prefix"
15540 prefix="$acl_save_prefix"
15542 if test "X$x" = "X$element"; then
15547 if test -z "$haveit"; then
15548 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15553 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15557 acl_save_prefix="$prefix"
15558 prefix="$acl_final_prefix"
15559 acl_save_exec_prefix="$exec_prefix"
15560 exec_prefix="$acl_final_exec_prefix"
15562 exec_prefix="$acl_save_exec_prefix"
15563 prefix="$acl_save_prefix"
15565 if test "X$x" = "X$element"; then
15570 if test -z "$haveit"; then
15571 LIBS="${LIBS}${LIBS:+ }$element"
15579 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15580 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15582 $as_echo "yes" >&6; }
15586 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
15588 for x in $CXXFLAGS; do
15590 acl_save_prefix="$prefix"
15591 prefix="$acl_final_prefix"
15592 acl_save_exec_prefix="$exec_prefix"
15593 exec_prefix="$acl_final_exec_prefix"
15595 exec_prefix="$acl_save_exec_prefix"
15596 prefix="$acl_save_prefix"
15598 if test "X$x" = "X$element"; then
15603 if test -z "$haveit"; then
15604 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15609 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
15613 acl_save_prefix="$prefix"
15614 prefix="$acl_final_prefix"
15615 acl_save_exec_prefix="$exec_prefix"
15616 exec_prefix="$acl_final_exec_prefix"
15618 exec_prefix="$acl_save_exec_prefix"
15619 prefix="$acl_save_prefix"
15621 if test "X$x" = "X$element"; then
15626 if test -z "$haveit"; then
15627 LIBS="${LIBS}${LIBS:+ }$element"
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15646 $as_echo_n "checking for WEBKIT... " >&6; }
15648 if test -n "$PKG_CONFIG"; then
15649 if test -n "$WEBKIT_CFLAGS"; then
15650 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15652 if test -n "$PKG_CONFIG" && \
15653 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15654 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15657 test $ac_status = 0; }; then
15658 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
15666 if test -n "$PKG_CONFIG"; then
15667 if test -n "$WEBKIT_LIBS"; then
15668 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15670 if test -n "$PKG_CONFIG" && \
15671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
15672 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
15674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675 test $ac_status = 0; }; then
15676 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
15687 if test $pkg_failed = yes; then
15689 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15690 _pkg_short_errors_supported=yes
15692 _pkg_short_errors_supported=no
15694 if test $_pkg_short_errors_supported = yes; then
15695 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
15697 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
15699 # Put the nasty error message in config.log where it belongs
15700 echo "$WEBKIT_PKG_ERRORS" >&5
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15703 $as_echo "no" >&6; }
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15708 $as_echo_n "checking for WEBKIT... " >&6; }
15710 if test -n "$PKG_CONFIG"; then
15711 if test -n "$WEBKIT_CFLAGS"; then
15712 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15714 if test -n "$PKG_CONFIG" && \
15715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15716 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15719 test $ac_status = 0; }; then
15720 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15728 if test -n "$PKG_CONFIG"; then
15729 if test -n "$WEBKIT_LIBS"; then
15730 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15732 if test -n "$PKG_CONFIG" && \
15733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15734 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15737 test $ac_status = 0; }; then
15738 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
15749 if test $pkg_failed = yes; then
15751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15752 _pkg_short_errors_supported=yes
15754 _pkg_short_errors_supported=no
15756 if test $_pkg_short_errors_supported = yes; then
15757 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
15759 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
15761 # Put the nasty error message in config.log where it belongs
15762 echo "$WEBKIT_PKG_ERRORS" >&5
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15765 $as_echo "no" >&6; }
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15769 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15770 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15771 $as_echo_n "(cached) " >&6
15774 ac_check_framework_save_LIBS=$LIBS
15775 LIBS="-framework JavaScriptCore $LIBS"
15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15777 /* end confdefs.h. */
15779 #include <JavaScriptCore/JSBase.h>
15784 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15789 if ac_fn_cxx_try_link "$LINENO"; then :
15791 ac_cv_framework_JavaScriptCore=yes
15794 ac_cv_framework_JavaScriptCore=no
15796 rm -f core conftest.err conftest.$ac_objext \
15797 conftest$ac_exeext conftest.$ac_ext
15798 LIBS=$ac_check_framework_save_LIBS
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15802 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15803 if test $ac_cv_framework_JavaScriptCore = yes; then :
15806 for element in "-framework JavaScriptCore $LIBS"; do
15810 acl_save_prefix="$prefix"
15811 prefix="$acl_final_prefix"
15812 acl_save_exec_prefix="$exec_prefix"
15813 exec_prefix="$acl_final_exec_prefix"
15815 exec_prefix="$acl_save_exec_prefix"
15816 prefix="$acl_save_prefix"
15818 if test "X$x" = "X$element"; then
15823 if test -z "$haveit"; then
15824 LIBS="${LIBS}${LIBS:+ }$element"
15832 elif test $pkg_failed = untried; then
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
15836 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
15837 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
15838 $as_echo_n "(cached) " >&6
15841 ac_check_framework_save_LIBS=$LIBS
15842 LIBS="-framework JavaScriptCore $LIBS"
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15846 #include <JavaScriptCore/JSBase.h>
15851 JSEvaluateScript(0, 0, 0, 0, 0, 0);
15856 if ac_fn_cxx_try_link "$LINENO"; then :
15858 ac_cv_framework_JavaScriptCore=yes
15861 ac_cv_framework_JavaScriptCore=no
15863 rm -f core conftest.err conftest.$ac_objext \
15864 conftest$ac_exeext conftest.$ac_ext
15865 LIBS=$ac_check_framework_save_LIBS
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
15869 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
15870 if test $ac_cv_framework_JavaScriptCore = yes; then :
15873 for element in "-framework JavaScriptCore $LIBS"; do
15877 acl_save_prefix="$prefix"
15878 prefix="$acl_final_prefix"
15879 acl_save_exec_prefix="$exec_prefix"
15880 exec_prefix="$acl_final_exec_prefix"
15882 exec_prefix="$acl_save_exec_prefix"
15883 prefix="$acl_save_prefix"
15885 if test "X$x" = "X$element"; then
15890 if test -z "$haveit"; then
15891 LIBS="${LIBS}${LIBS:+ }$element"
15900 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
15901 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15903 $as_echo "yes" >&6; }
15907 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
15909 for x in $CXXFLAGS; do
15911 acl_save_prefix="$prefix"
15912 prefix="$acl_final_prefix"
15913 acl_save_exec_prefix="$exec_prefix"
15914 exec_prefix="$acl_final_exec_prefix"
15916 exec_prefix="$acl_save_exec_prefix"
15917 prefix="$acl_save_prefix"
15919 if test "X$x" = "X$element"; then
15924 if test -z "$haveit"; then
15925 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
15930 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
15934 acl_save_prefix="$prefix"
15935 prefix="$acl_final_prefix"
15936 acl_save_exec_prefix="$exec_prefix"
15937 exec_prefix="$acl_final_exec_prefix"
15939 exec_prefix="$acl_save_exec_prefix"
15940 prefix="$acl_save_prefix"
15942 if test "X$x" = "X$element"; then
15947 if test -z "$haveit"; then
15948 LIBS="${LIBS}${LIBS:+ }$element"
15955 elif test $pkg_failed = untried; then
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
15960 $as_echo_n "checking for WEBKIT... " >&6; }
15962 if test -n "$PKG_CONFIG"; then
15963 if test -n "$WEBKIT_CFLAGS"; then
15964 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
15966 if test -n "$PKG_CONFIG" && \
15967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15968 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15971 test $ac_status = 0; }; then
15972 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
15980 if test -n "$PKG_CONFIG"; then
15981 if test -n "$WEBKIT_LIBS"; then
15982 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
15984 if test -n "$PKG_CONFIG" && \
15985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
15986 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
15988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15989 test $ac_status = 0; }; then
15990 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16001 if test $pkg_failed = yes; then
16003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16004 _pkg_short_errors_supported=yes
16006 _pkg_short_errors_supported=no
16008 if test $_pkg_short_errors_supported = yes; then
16009 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16011 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16013 # Put the nasty error message in config.log where it belongs
16014 echo "$WEBKIT_PKG_ERRORS" >&5
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16017 $as_echo "no" >&6; }
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16021 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16022 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16026 ac_check_framework_save_LIBS=$LIBS
16027 LIBS="-framework JavaScriptCore $LIBS"
16028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 /* end confdefs.h. */
16031 #include <JavaScriptCore/JSBase.h>
16036 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16041 if ac_fn_cxx_try_link "$LINENO"; then :
16043 ac_cv_framework_JavaScriptCore=yes
16046 ac_cv_framework_JavaScriptCore=no
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16050 LIBS=$ac_check_framework_save_LIBS
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16054 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16055 if test $ac_cv_framework_JavaScriptCore = yes; then :
16058 for element in "-framework JavaScriptCore $LIBS"; do
16062 acl_save_prefix="$prefix"
16063 prefix="$acl_final_prefix"
16064 acl_save_exec_prefix="$exec_prefix"
16065 exec_prefix="$acl_final_exec_prefix"
16067 exec_prefix="$acl_save_exec_prefix"
16068 prefix="$acl_save_prefix"
16070 if test "X$x" = "X$element"; then
16075 if test -z "$haveit"; then
16076 LIBS="${LIBS}${LIBS:+ }$element"
16084 elif test $pkg_failed = untried; then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16088 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16089 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16090 $as_echo_n "(cached) " >&6
16093 ac_check_framework_save_LIBS=$LIBS
16094 LIBS="-framework JavaScriptCore $LIBS"
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16098 #include <JavaScriptCore/JSBase.h>
16103 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16108 if ac_fn_cxx_try_link "$LINENO"; then :
16110 ac_cv_framework_JavaScriptCore=yes
16113 ac_cv_framework_JavaScriptCore=no
16115 rm -f core conftest.err conftest.$ac_objext \
16116 conftest$ac_exeext conftest.$ac_ext
16117 LIBS=$ac_check_framework_save_LIBS
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16121 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16122 if test $ac_cv_framework_JavaScriptCore = yes; then :
16125 for element in "-framework JavaScriptCore $LIBS"; do
16129 acl_save_prefix="$prefix"
16130 prefix="$acl_final_prefix"
16131 acl_save_exec_prefix="$exec_prefix"
16132 exec_prefix="$acl_final_exec_prefix"
16134 exec_prefix="$acl_save_exec_prefix"
16135 prefix="$acl_save_prefix"
16137 if test "X$x" = "X$element"; then
16142 if test -z "$haveit"; then
16143 LIBS="${LIBS}${LIBS:+ }$element"
16152 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16153 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16155 $as_echo "yes" >&6; }
16159 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16161 for x in $CXXFLAGS; do
16163 acl_save_prefix="$prefix"
16164 prefix="$acl_final_prefix"
16165 acl_save_exec_prefix="$exec_prefix"
16166 exec_prefix="$acl_final_exec_prefix"
16168 exec_prefix="$acl_save_exec_prefix"
16169 prefix="$acl_save_prefix"
16171 if test "X$x" = "X$element"; then
16176 if test -z "$haveit"; then
16177 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16182 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16186 acl_save_prefix="$prefix"
16187 prefix="$acl_final_prefix"
16188 acl_save_exec_prefix="$exec_prefix"
16189 exec_prefix="$acl_final_exec_prefix"
16191 exec_prefix="$acl_save_exec_prefix"
16192 prefix="$acl_save_prefix"
16194 if test "X$x" = "X$element"; then
16199 if test -z "$haveit"; then
16200 LIBS="${LIBS}${LIBS:+ }$element"
16208 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16209 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16211 $as_echo "yes" >&6; }
16215 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16217 for x in $CXXFLAGS; do
16219 acl_save_prefix="$prefix"
16220 prefix="$acl_final_prefix"
16221 acl_save_exec_prefix="$exec_prefix"
16222 exec_prefix="$acl_final_exec_prefix"
16224 exec_prefix="$acl_save_exec_prefix"
16225 prefix="$acl_save_prefix"
16227 if test "X$x" = "X$element"; then
16232 if test -z "$haveit"; then
16233 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16238 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16242 acl_save_prefix="$prefix"
16243 prefix="$acl_final_prefix"
16244 acl_save_exec_prefix="$exec_prefix"
16245 exec_prefix="$acl_final_exec_prefix"
16247 exec_prefix="$acl_save_exec_prefix"
16248 prefix="$acl_save_prefix"
16250 if test "X$x" = "X$element"; then
16255 if test -z "$haveit"; then
16256 LIBS="${LIBS}${LIBS:+ }$element"
16265 as_fn_error "Unknown JavaScript engine: $enableval" "$LINENO" 5 ;;
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16274 $as_echo_n "checking for WEBKIT... " >&6; }
16276 if test -n "$PKG_CONFIG"; then
16277 if test -n "$WEBKIT_CFLAGS"; then
16278 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16280 if test -n "$PKG_CONFIG" && \
16281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16282 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16285 test $ac_status = 0; }; then
16286 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0" 2>/dev
/null
`
16294 if test -n "$PKG_CONFIG"; then
16295 if test -n "$WEBKIT_LIBS"; then
16296 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16298 if test -n "$PKG_CONFIG" && \
16299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0\""; } >&5
16300 ($PKG_CONFIG --exists --print-errors "webkit-1.0") 2>&5
16302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16303 test $ac_status = 0; }; then
16304 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0" 2>/dev
/null
`
16315 if test $pkg_failed = yes; then
16317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16318 _pkg_short_errors_supported=yes
16320 _pkg_short_errors_supported=no
16322 if test $_pkg_short_errors_supported = yes; then
16323 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0"`
16325 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0"`
16327 # Put the nasty error message in config.log where it belongs
16328 echo "$WEBKIT_PKG_ERRORS" >&5
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16331 $as_echo "no" >&6; }
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16336 $as_echo_n "checking for WEBKIT... " >&6; }
16338 if test -n "$PKG_CONFIG"; then
16339 if test -n "$WEBKIT_CFLAGS"; then
16340 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16342 if test -n "$PKG_CONFIG" && \
16343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16344 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16347 test $ac_status = 0; }; then
16348 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16356 if test -n "$PKG_CONFIG"; then
16357 if test -n "$WEBKIT_LIBS"; then
16358 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16360 if test -n "$PKG_CONFIG" && \
16361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16362 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16365 test $ac_status = 0; }; then
16366 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16377 if test $pkg_failed = yes; then
16379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16380 _pkg_short_errors_supported=yes
16382 _pkg_short_errors_supported=no
16384 if test $_pkg_short_errors_supported = yes; then
16385 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16387 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16389 # Put the nasty error message in config.log where it belongs
16390 echo "$WEBKIT_PKG_ERRORS" >&5
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16393 $as_echo "no" >&6; }
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16397 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16398 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16399 $as_echo_n "(cached) " >&6
16402 ac_check_framework_save_LIBS=$LIBS
16403 LIBS="-framework JavaScriptCore $LIBS"
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16407 #include <JavaScriptCore/JSBase.h>
16412 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16417 if ac_fn_cxx_try_link "$LINENO"; then :
16419 ac_cv_framework_JavaScriptCore=yes
16422 ac_cv_framework_JavaScriptCore=no
16424 rm -f core conftest.err conftest.$ac_objext \
16425 conftest$ac_exeext conftest.$ac_ext
16426 LIBS=$ac_check_framework_save_LIBS
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16430 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16431 if test $ac_cv_framework_JavaScriptCore = yes; then :
16434 for element in "-framework JavaScriptCore $LIBS"; do
16438 acl_save_prefix="$prefix"
16439 prefix="$acl_final_prefix"
16440 acl_save_exec_prefix="$exec_prefix"
16441 exec_prefix="$acl_final_exec_prefix"
16443 exec_prefix="$acl_save_exec_prefix"
16444 prefix="$acl_save_prefix"
16446 if test "X$x" = "X$element"; then
16451 if test -z "$haveit"; then
16452 LIBS="${LIBS}${LIBS:+ }$element"
16460 elif test $pkg_failed = untried; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16464 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16465 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16466 $as_echo_n "(cached) " >&6
16469 ac_check_framework_save_LIBS=$LIBS
16470 LIBS="-framework JavaScriptCore $LIBS"
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16474 #include <JavaScriptCore/JSBase.h>
16479 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16484 if ac_fn_cxx_try_link "$LINENO"; then :
16486 ac_cv_framework_JavaScriptCore=yes
16489 ac_cv_framework_JavaScriptCore=no
16491 rm -f core conftest.err conftest.$ac_objext \
16492 conftest$ac_exeext conftest.$ac_ext
16493 LIBS=$ac_check_framework_save_LIBS
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16497 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16498 if test $ac_cv_framework_JavaScriptCore = yes; then :
16501 for element in "-framework JavaScriptCore $LIBS"; do
16505 acl_save_prefix="$prefix"
16506 prefix="$acl_final_prefix"
16507 acl_save_exec_prefix="$exec_prefix"
16508 exec_prefix="$acl_final_exec_prefix"
16510 exec_prefix="$acl_save_exec_prefix"
16511 prefix="$acl_save_prefix"
16513 if test "X$x" = "X$element"; then
16518 if test -z "$haveit"; then
16519 LIBS="${LIBS}${LIBS:+ }$element"
16528 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16529 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16531 $as_echo "yes" >&6; }
16535 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16537 for x in $CXXFLAGS; do
16539 acl_save_prefix="$prefix"
16540 prefix="$acl_final_prefix"
16541 acl_save_exec_prefix="$exec_prefix"
16542 exec_prefix="$acl_final_exec_prefix"
16544 exec_prefix="$acl_save_exec_prefix"
16545 prefix="$acl_save_prefix"
16547 if test "X$x" = "X$element"; then
16552 if test -z "$haveit"; then
16553 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16558 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16562 acl_save_prefix="$prefix"
16563 prefix="$acl_final_prefix"
16564 acl_save_exec_prefix="$exec_prefix"
16565 exec_prefix="$acl_final_exec_prefix"
16567 exec_prefix="$acl_save_exec_prefix"
16568 prefix="$acl_save_prefix"
16570 if test "X$x" = "X$element"; then
16575 if test -z "$haveit"; then
16576 LIBS="${LIBS}${LIBS:+ }$element"
16583 elif test $pkg_failed = untried; then
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
16588 $as_echo_n "checking for WEBKIT... " >&6; }
16590 if test -n "$PKG_CONFIG"; then
16591 if test -n "$WEBKIT_CFLAGS"; then
16592 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
16594 if test -n "$PKG_CONFIG" && \
16595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16596 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16599 test $ac_status = 0; }; then
16600 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "WebKitGtk" 2>/dev
/null
`
16608 if test -n "$PKG_CONFIG"; then
16609 if test -n "$WEBKIT_LIBS"; then
16610 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
16612 if test -n "$PKG_CONFIG" && \
16613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"WebKitGtk\""; } >&5
16614 ($PKG_CONFIG --exists --print-errors "WebKitGtk") 2>&5
16616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16617 test $ac_status = 0; }; then
16618 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "WebKitGtk" 2>/dev
/null
`
16629 if test $pkg_failed = yes; then
16631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16632 _pkg_short_errors_supported=yes
16634 _pkg_short_errors_supported=no
16636 if test $_pkg_short_errors_supported = yes; then
16637 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "WebKitGtk"`
16639 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "WebKitGtk"`
16641 # Put the nasty error message in config.log where it belongs
16642 echo "$WEBKIT_PKG_ERRORS" >&5
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16645 $as_echo "no" >&6; }
16648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16649 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16650 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16651 $as_echo_n "(cached) " >&6
16654 ac_check_framework_save_LIBS=$LIBS
16655 LIBS="-framework JavaScriptCore $LIBS"
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 #include <JavaScriptCore/JSBase.h>
16664 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16669 if ac_fn_cxx_try_link "$LINENO"; then :
16671 ac_cv_framework_JavaScriptCore=yes
16674 ac_cv_framework_JavaScriptCore=no
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_framework_save_LIBS
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16682 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16683 if test $ac_cv_framework_JavaScriptCore = yes; then :
16686 for element in "-framework JavaScriptCore $LIBS"; do
16690 acl_save_prefix="$prefix"
16691 prefix="$acl_final_prefix"
16692 acl_save_exec_prefix="$exec_prefix"
16693 exec_prefix="$acl_final_exec_prefix"
16695 exec_prefix="$acl_save_exec_prefix"
16696 prefix="$acl_save_prefix"
16698 if test "X$x" = "X$element"; then
16703 if test -z "$haveit"; then
16704 LIBS="${LIBS}${LIBS:+ }$element"
16712 elif test $pkg_failed = untried; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework JavaScriptCore" >&5
16716 $as_echo_n "checking for framework JavaScriptCore... " >&6; }
16717 if test "${ac_cv_framework_JavaScriptCore+set}" = set; then :
16718 $as_echo_n "(cached) " >&6
16721 ac_check_framework_save_LIBS=$LIBS
16722 LIBS="-framework JavaScriptCore $LIBS"
16723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16726 #include <JavaScriptCore/JSBase.h>
16731 JSEvaluateScript(0, 0, 0, 0, 0, 0);
16736 if ac_fn_cxx_try_link "$LINENO"; then :
16738 ac_cv_framework_JavaScriptCore=yes
16741 ac_cv_framework_JavaScriptCore=no
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16745 LIBS=$ac_check_framework_save_LIBS
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_JavaScriptCore" >&5
16749 $as_echo "$ac_cv_framework_JavaScriptCore" >&6; }
16750 if test $ac_cv_framework_JavaScriptCore = yes; then :
16753 for element in "-framework JavaScriptCore $LIBS"; do
16757 acl_save_prefix="$prefix"
16758 prefix="$acl_final_prefix"
16759 acl_save_exec_prefix="$exec_prefix"
16760 exec_prefix="$acl_final_exec_prefix"
16762 exec_prefix="$acl_save_exec_prefix"
16763 prefix="$acl_save_prefix"
16765 if test "X$x" = "X$element"; then
16770 if test -z "$haveit"; then
16771 LIBS="${LIBS}${LIBS:+ }$element"
16780 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16781 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16783 $as_echo "yes" >&6; }
16787 for element in `$PKG_CONFIG --cflags WebKitGtk
`; do
16789 for x in $CXXFLAGS; do
16791 acl_save_prefix="$prefix"
16792 prefix="$acl_final_prefix"
16793 acl_save_exec_prefix="$exec_prefix"
16794 exec_prefix="$acl_final_exec_prefix"
16796 exec_prefix="$acl_save_exec_prefix"
16797 prefix="$acl_save_prefix"
16799 if test "X$x" = "X$element"; then
16804 if test -z "$haveit"; then
16805 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16810 for element in `$PKG_CONFIG --libs WebKitGtk
`; do
16814 acl_save_prefix="$prefix"
16815 prefix="$acl_final_prefix"
16816 acl_save_exec_prefix="$exec_prefix"
16817 exec_prefix="$acl_final_exec_prefix"
16819 exec_prefix="$acl_save_exec_prefix"
16820 prefix="$acl_save_prefix"
16822 if test "X$x" = "X$element"; then
16827 if test -z "$haveit"; then
16828 LIBS="${LIBS}${LIBS:+ }$element"
16836 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
16837 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16839 $as_echo "yes" >&6; }
16843 for element in `$PKG_CONFIG --cflags webkit
-1.0
`; do
16845 for x in $CXXFLAGS; do
16847 acl_save_prefix="$prefix"
16848 prefix="$acl_final_prefix"
16849 acl_save_exec_prefix="$exec_prefix"
16850 exec_prefix="$acl_final_exec_prefix"
16852 exec_prefix="$acl_save_exec_prefix"
16853 prefix="$acl_save_prefix"
16855 if test "X$x" = "X$element"; then
16860 if test -z "$haveit"; then
16861 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
16866 for element in `$PKG_CONFIG --libs webkit
-1.0
`; do
16870 acl_save_prefix="$prefix"
16871 prefix="$acl_final_prefix"
16872 acl_save_exec_prefix="$exec_prefix"
16873 exec_prefix="$acl_final_exec_prefix"
16875 exec_prefix="$acl_save_exec_prefix"
16876 prefix="$acl_save_prefix"
16878 if test "X$x" = "X$element"; then
16883 if test -z "$haveit"; then
16884 LIBS="${LIBS}${LIBS:+ }$element"
16897 case $CY_EXECUTE in #(
16901 for ac_header in ffi.h ffi/ffi.h
16903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16904 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16905 eval as_val=\$$as_ac_Header
16906 if test "x$as_val" = x""yes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16915 if test "x$ac_cv_header_ffi_h" = xno && test "x$ac_cv_header_ffi_ffi_h" = xno; then :
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
16921 $as_echo_n "checking for LIBFFI... " >&6; }
16923 if test -n "$PKG_CONFIG"; then
16924 if test -n "$LIBFFI_CFLAGS"; then
16925 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
16927 if test -n "$PKG_CONFIG" && \
16928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16929 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16932 test $ac_status = 0; }; then
16933 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
16941 if test -n "$PKG_CONFIG"; then
16942 if test -n "$LIBFFI_LIBS"; then
16943 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
16945 if test -n "$PKG_CONFIG" && \
16946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
16947 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
16949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16950 test $ac_status = 0; }; then
16951 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
16962 if test $pkg_failed = yes; then
16964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16965 _pkg_short_errors_supported=yes
16967 _pkg_short_errors_supported=no
16969 if test $_pkg_short_errors_supported = yes; then
16970 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
16972 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
16974 # Put the nasty error message in config.log where it belongs
16975 echo "$LIBFFI_PKG_ERRORS" >&5
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16978 $as_echo "no" >&6; }
16980 as_fn_error "You need libffi" "$LINENO" 5
16982 elif test $pkg_failed = untried; then
16984 as_fn_error "You need libffi" "$LINENO" 5
16987 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
16988 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16990 $as_echo "yes" >&6; }
16993 for element in `$PKG_CONFIG --cflags libffi
`; do
16995 for x in $CXXFLAGS; do
16997 acl_save_prefix="$prefix"
16998 prefix="$acl_final_prefix"
16999 acl_save_exec_prefix="$exec_prefix"
17000 exec_prefix="$acl_final_exec_prefix"
17002 exec_prefix="$acl_save_exec_prefix"
17003 prefix="$acl_save_prefix"
17005 if test "X$x" = "X$element"; then
17010 if test -z "$haveit"; then
17011 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17016 for element in `$PKG_CONFIG --libs libffi
`; do
17020 acl_save_prefix="$prefix"
17021 prefix="$acl_final_prefix"
17022 acl_save_exec_prefix="$exec_prefix"
17023 exec_prefix="$acl_final_exec_prefix"
17025 exec_prefix="$acl_save_exec_prefix"
17026 prefix="$acl_save_prefix"
17028 if test "X$x" = "X$element"; then
17033 if test -z "$haveit"; then
17034 LIBS="${LIBS}${LIBS:+ }$element"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ffi_call" >&5
17045 $as_echo_n "checking for library containing ffi_call... " >&6; }
17046 if test "${ac_cv_search_ffi_call+set}" = set; then :
17047 $as_echo_n "(cached) " >&6
17049 ac_func_search_save_LIBS=$LIBS
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17053 /* Override any GCC internal prototype to avoid an error.
17054 Use char because int might match the return type of a GCC
17055 builtin and then its argument prototype would still apply. */
17063 return ffi_call ();
17068 for ac_lib in '' ffi; do
17069 if test -z "$ac_lib"; then
17070 ac_res="none required"
17073 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17075 if ac_fn_cxx_try_link "$LINENO"; then :
17076 ac_cv_search_ffi_call=$ac_res
17078 rm -f core conftest.err conftest.$ac_objext \
17080 if test "${ac_cv_search_ffi_call+set}" = set; then :
17084 if test "${ac_cv_search_ffi_call+set}" = set; then :
17087 ac_cv_search_ffi_call=no
17089 rm conftest.$ac_ext
17090 LIBS=$ac_func_search_save_LIBS
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ffi_call" >&5
17093 $as_echo "$ac_cv_search_ffi_call" >&6; }
17094 ac_res=$ac_cv_search_ffi_call
17095 if test "$ac_res" != no; then :
17096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17100 case $ac_cv_search_ffi_call in #(
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFFI" >&5
17106 $as_echo_n "checking for LIBFFI... " >&6; }
17108 if test -n "$PKG_CONFIG"; then
17109 if test -n "$LIBFFI_CFLAGS"; then
17110 pkg_cv_LIBFFI_CFLAGS="$LIBFFI_CFLAGS"
17112 if test -n "$PKG_CONFIG" && \
17113 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17114 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17117 test $ac_status = 0; }; then
17118 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev
/null
`
17126 if test -n "$PKG_CONFIG"; then
17127 if test -n "$LIBFFI_LIBS"; then
17128 pkg_cv_LIBFFI_LIBS="$LIBFFI_LIBS"
17130 if test -n "$PKG_CONFIG" && \
17131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
17132 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
17134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17135 test $ac_status = 0; }; then
17136 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev
/null
`
17147 if test $pkg_failed = yes; then
17149 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17150 _pkg_short_errors_supported=yes
17152 _pkg_short_errors_supported=no
17154 if test $_pkg_short_errors_supported = yes; then
17155 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libffi"`
17157 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libffi"`
17159 # Put the nasty error message in config.log where it belongs
17160 echo "$LIBFFI_PKG_ERRORS" >&5
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17163 $as_echo "no" >&6; }
17165 as_fn_error "You need libffi" "$LINENO" 5
17167 elif test $pkg_failed = untried; then
17169 as_fn_error "You need libffi" "$LINENO" 5
17172 LIBFFI_CFLAGS=$pkg_cv_LIBFFI_CFLAGS
17173 LIBFFI_LIBS=$pkg_cv_LIBFFI_LIBS
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17175 $as_echo "yes" >&6; }
17178 for element in `$PKG_CONFIG --cflags libffi
`; do
17180 for x in $CXXFLAGS; do
17182 acl_save_prefix="$prefix"
17183 prefix="$acl_final_prefix"
17184 acl_save_exec_prefix="$exec_prefix"
17185 exec_prefix="$acl_final_exec_prefix"
17187 exec_prefix="$acl_save_exec_prefix"
17188 prefix="$acl_save_prefix"
17190 if test "X$x" = "X$element"; then
17195 if test -z "$haveit"; then
17196 CXXFLAGS="${CXXFLAGS}${CXXFLAGS:+ }$element"
17201 for element in `$PKG_CONFIG --libs libffi
`; do
17205 acl_save_prefix="$prefix"
17206 prefix="$acl_final_prefix"
17207 acl_save_exec_prefix="$exec_prefix"
17208 exec_prefix="$acl_final_exec_prefix"
17210 exec_prefix="$acl_save_exec_prefix"
17211 prefix="$acl_save_prefix"
17213 if test "X$x" = "X$element"; then
17218 if test -z "$haveit"; then
17219 LIBS="${LIBS}${LIBS:+ }$element"
17232 ac_cpp='$OBJCXXCPP $CPPFLAGS'
17233 ac_compile='$OBJCXX -c $OBJCXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17234 ac_link='$OBJCXX -o conftest$ac_exeext $OBJCXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17235 ac_compiler_gnu=$ac_cv_objcxx_compiler_gnu
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we really have Objective C++" >&5
17238 $as_echo_n "checking if we really have Objective C++... " >&6; }
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17242 // This space intentionally left blank
17245 if ac_fn_objcxx_try_compile "$LINENO"; then :
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17249 $as_echo "yes" >&6; }
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17253 $as_echo "no" >&6; }
17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 if test "x$CY_OBJECTIVEC" = x1; then :
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework CoreFoundation" >&5
17260 $as_echo_n "checking for framework CoreFoundation... " >&6; }
17261 if test "${ac_cv_framework_CoreFoundation+set}" = set; then :
17262 $as_echo_n "(cached) " >&6
17265 ac_check_framework_save_LIBS=$LIBS
17266 LIBS="-framework CoreFoundation $LIBS"
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17270 #include <CoreFoundation/CFBase.h>
17275 CFAllocatorGetDefault();
17280 if ac_fn_objcxx_try_link "$LINENO"; then :
17282 ac_cv_framework_CoreFoundation=yes
17285 ac_cv_framework_CoreFoundation=no
17287 rm -f core conftest.err conftest.$ac_objext \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_framework_save_LIBS
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_CoreFoundation" >&5
17293 $as_echo "$ac_cv_framework_CoreFoundation" >&6; }
17294 if test $ac_cv_framework_CoreFoundation = yes; then :
17297 for element in "-framework CoreFoundation $LIBS"; do
17301 acl_save_prefix="$prefix"
17302 prefix="$acl_final_prefix"
17303 acl_save_exec_prefix="$exec_prefix"
17304 exec_prefix="$acl_final_exec_prefix"
17306 exec_prefix="$acl_save_exec_prefix"
17307 prefix="$acl_save_prefix"
17309 if test "X$x" = "X$element"; then
17314 if test -z "$haveit"; then
17315 LIBS="${LIBS}${LIBS:+ }$element"
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework Foundation" >&5
17324 $as_echo_n "checking for framework Foundation... " >&6; }
17325 if test "${ac_cv_framework_Foundation+set}" = set; then :
17326 $as_echo_n "(cached) " >&6
17329 ac_check_framework_save_LIBS=$LIBS
17330 LIBS="-framework Foundation $LIBS"
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17334 #include <Foundation/NSObject.h>
17339 [[NSObject alloc] init];
17344 if ac_fn_objcxx_try_link "$LINENO"; then :
17346 ac_cv_framework_Foundation=yes
17349 ac_cv_framework_Foundation=no
17351 rm -f core conftest.err conftest.$ac_objext \
17352 conftest$ac_exeext conftest.$ac_ext
17353 LIBS=$ac_check_framework_save_LIBS
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_Foundation" >&5
17357 $as_echo "$ac_cv_framework_Foundation" >&6; }
17358 if test $ac_cv_framework_Foundation = yes; then :
17361 for element in "-framework Foundation $LIBS"; do
17365 acl_save_prefix="$prefix"
17366 prefix="$acl_final_prefix"
17367 acl_save_exec_prefix="$exec_prefix"
17368 exec_prefix="$acl_final_exec_prefix"
17370 exec_prefix="$acl_save_exec_prefix"
17371 prefix="$acl_save_prefix"
17373 if test "X$x" = "X$element"; then
17378 if test -z "$haveit"; then
17379 LIBS="${LIBS}${LIBS:+ }$element"
17383 cat >>confdefs.h <<_ACEOF
17384 #define HAVE_FRAMEWORK_FOUNDATION 1
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for framework WebKit" >&5
17392 $as_echo_n "checking for framework WebKit... " >&6; }
17393 if test "${ac_cv_framework_WebKit+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17397 ac_check_framework_save_LIBS=$LIBS
17398 LIBS="-framework WebKit $LIBS"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17402 #include <WebKit/WebScriptObject.h>
17407 [[WebScriptObject alloc] init];
17412 if ac_fn_objcxx_try_link "$LINENO"; then :
17414 ac_cv_framework_WebKit=yes
17417 ac_cv_framework_WebKit=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 LIBS=$ac_check_framework_save_LIBS
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_framework_WebKit" >&5
17425 $as_echo "$ac_cv_framework_WebKit" >&6; }
17426 if test $ac_cv_framework_WebKit = yes; then :
17429 for element in "-framework WebKit $LIBS"; do
17433 acl_save_prefix="$prefix"
17434 prefix="$acl_final_prefix"
17435 acl_save_exec_prefix="$exec_prefix"
17436 exec_prefix="$acl_final_exec_prefix"
17438 exec_prefix="$acl_save_exec_prefix"
17439 prefix="$acl_save_prefix"
17441 if test "X$x" = "X$element"; then
17446 if test -z "$haveit"; then
17447 LIBS="${LIBS}${LIBS:+ }$element"
17451 cat >>confdefs.h <<_ACEOF
17452 #define HAVE_FRAMEWORK_WEBKIT 1
17462 for ac_prog in gnustep-config
17464 # Extract the first word of "$ac_prog", so it can be a program name with args.
17465 set dummy $ac_prog; ac_word=$2
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17467 $as_echo_n "checking for $ac_word... " >&6; }
17468 if test "${ac_cv_prog_GNUSTEP_CONFIG+set}" = set; then :
17469 $as_echo_n "(cached) " >&6
17471 if test -n "$GNUSTEP_CONFIG"; then
17472 ac_cv_prog_GNUSTEP_CONFIG="$GNUSTEP_CONFIG" # Let the user override the test.
17474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17475 for as_dir in $PATH
17478 test -z "$as_dir" && as_dir=.
17479 for ac_exec_ext in '' $ac_executable_extensions; do
17480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17481 ac_cv_prog_GNUSTEP_CONFIG="$ac_prog"
17482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17491 GNUSTEP_CONFIG=$ac_cv_prog_GNUSTEP_CONFIG
17492 if test -n "$GNUSTEP_CONFIG"; then
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNUSTEP_CONFIG" >&5
17494 $as_echo "$GNUSTEP_CONFIG" >&6; }
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17497 $as_echo "no" >&6; }
17501 test -n "$GNUSTEP_CONFIG" && break
17504 if test "x$GNUSTEP_CONFIG" != x; then :
17508 for element in `$GNUSTEP_CONFIG --objc-flags`; do
17510 for x in $OBJCXXFLAGS; do
17512 acl_save_prefix="$prefix"
17513 prefix="$acl_final_prefix"
17514 acl_save_exec_prefix="$exec_prefix"
17515 exec_prefix="$acl_final_exec_prefix"
17517 exec_prefix="$acl_save_exec_prefix"
17518 prefix="$acl_save_prefix"
17520 if test "X$x" = "X$element"; then
17525 if test -z "$haveit"; then
17526 OBJCXXFLAGS="${OBJCXXFLAGS}${OBJCXXFLAGS:+ }$element"
17531 for element in `$GNUSTEP_CONFIG --base-libs`; do
17535 acl_save_prefix="$prefix"
17536 prefix="$acl_final_prefix"
17537 acl_save_exec_prefix="$exec_prefix"
17538 exec_prefix="$acl_final_exec_prefix"
17540 exec_prefix="$acl_save_exec_prefix"
17541 prefix="$acl_save_prefix"
17543 if test "X$x" = "X$element"; then
17548 if test -z "$haveit"; then
17549 LIBS="${LIBS}${LIBS:+ }$element"
17563 ac_cpp='$CXXCPP $CPPFLAGS'
17564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
17574 $as_echo_n "checking for a readline compatible library... " >&6; }
17575 if test "${vl_cv_lib_readline+set}" = set; then :
17576 $as_echo_n "(cached) " >&6
17580 for readline_lib in readline edit editline; do
17581 for termcap_lib in "" termcap curses ncurses; do
17582 if test -z "$termcap_lib"; then
17583 TRY_LIB="-l$readline_lib"
17585 TRY_LIB="-l$readline_lib -l$termcap_lib"
17587 LIBS="$ORIG_LIBS $TRY_LIB"
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17591 /* Override any GCC internal prototype to avoid an error.
17592 Use char because int might match the return type of a GCC
17593 builtin and then its argument prototype would still apply. */
17601 return readline ();
17606 if ac_fn_cxx_try_link "$LINENO"; then :
17607 vl_cv_lib_readline="$TRY_LIB"
17609 rm -f core conftest.err conftest.$ac_objext \
17610 conftest$ac_exeext conftest.$ac_ext
17611 if test -n "$vl_cv_lib_readline"; then
17615 if test -n "$vl_cv_lib_readline"; then
17619 if test -z "$vl_cv_lib_readline"; then
17620 vl_cv_lib_readline="no"
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
17626 $as_echo "$vl_cv_lib_readline" >&6; }
17628 if test "$vl_cv_lib_readline" != "no"; then
17630 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
17632 for ac_header in readline.h readline/readline.h
17634 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17635 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17636 eval as_val=\$$as_ac_Header
17637 if test "x$as_val" = x""yes; then :
17638 cat >>confdefs.h <<_ACEOF
17639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
17647 $as_echo_n "checking whether readline supports history... " >&6; }
17648 if test "${vl_cv_lib_readline_history+set}" = set; then :
17649 $as_echo_n "(cached) " >&6
17652 vl_cv_lib_readline_history="no"
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17656 /* Override any GCC internal prototype to avoid an error.
17657 Use char because int might match the return type of a GCC
17658 builtin and then its argument prototype would still apply. */
17662 char add_history ();
17666 return add_history ();
17671 if ac_fn_cxx_try_link "$LINENO"; then :
17672 vl_cv_lib_readline_history="yes"
17674 rm -f core conftest.err conftest.$ac_objext \
17675 conftest$ac_exeext conftest.$ac_ext
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
17679 $as_echo "$vl_cv_lib_readline_history" >&6; }
17680 if test "$vl_cv_lib_readline_history" = "yes"; then
17682 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
17684 for ac_header in history.h readline/history.h
17686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17687 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17688 eval as_val=\$$as_ac_Header
17689 if test "x$as_val" = x""yes; then :
17690 cat >>confdefs.h <<_ACEOF
17691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17701 case $vl_cv_lib_readline in #(
17703 as_fn_error "You need readline" "$LINENO" 5 ;; #(
17708 ac_cpp='$CPP $CPPFLAGS'
17709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17714 if test "X$prefix" = "XNONE"; then
17715 acl_final_prefix="$ac_default_prefix"
17717 acl_final_prefix="$prefix"
17719 if test "X$exec_prefix" = "XNONE"; then
17720 acl_final_exec_prefix='${prefix}'
17722 acl_final_exec_prefix="$exec_prefix"
17724 acl_save_prefix="$prefix"
17725 prefix="$acl_final_prefix"
17726 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17727 prefix="$acl_save_prefix"
17730 # Check whether --with-gnu-ld was given.
17731 if test "${with_gnu_ld+set}" = set; then :
17732 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17737 # Prepare PATH_SEPARATOR.
17738 # The user is always right.
17739 if test "${PATH_SEPARATOR+set}" != set; then
17740 echo "#! /bin/sh" >conf$$.sh
17741 echo "exit 0" >>conf$$.sh
17743 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17751 if test "$GCC" = yes; then
17752 # Check if gcc -print-prog-name=ld gives a path.
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17754 $as_echo_n "checking for ld used by GCC... " >&6; }
17757 # gcc leaves a trailing carriage return which upsets mingw
17758 ac_prog=`($CC -print-prog-name=ld
) 2>&5 | tr -d '\015'` ;;
17760 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
17763 # Accept absolute paths.
17764 [\\/]* | [A-Za-z]:[\\/]*)
17765 re_direlt='/[^/][^/]*/\.\./'
17766 # Canonicalize the path of ld
17767 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17768 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17769 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17771 test -z "$LD" && LD="$ac_prog"
17774 # If it fails, then pretend we aren't using GCC.
17778 # If it is relative, then search for the first ld in PATH.
17779 with_gnu_ld=unknown
17782 elif test "$with_gnu_ld" = yes; then
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17784 $as_echo_n "checking for GNU ld... " >&6; }
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17787 $as_echo_n "checking for non-GNU ld... " >&6; }
17789 if test "${acl_cv_path_LD+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17792 if test -z "$LD"; then
17793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17794 for ac_dir in $PATH; do
17795 test -z "$ac_dir" && ac_dir=.
17796 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17797 acl_cv_path_LD="$ac_dir/$ac_prog"
17798 # Check to see if the program is GNU ld. I'd rather use --version,
17799 # but apparently some GNU ld's only accept -v.
17800 # Break only if it was the GNU/non-GNU ld that we prefer.
17801 case `"$acl_cv_path_LD" -v 2>&1 < /dev
/null
` in
17802 *GNU* | *'with BFD'*)
17803 test "$with_gnu_ld" != no && break ;;
17805 test "$with_gnu_ld" != yes && break ;;
17811 acl_cv_path_LD="$LD" # Let the user override the test with a path.
17815 LD="$acl_cv_path_LD"
17816 if test -n "$LD"; then
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17818 $as_echo "$LD" >&6; }
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17821 $as_echo "no" >&6; }
17823 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17825 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17826 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
17827 $as_echo_n "(cached) " >&6
17829 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17830 case `$LD -v 2>&1 </dev
/null
` in
17831 *GNU* | *'with BFD'*)
17832 acl_cv_prog_gnu_ld=yes ;;
17834 acl_cv_prog_gnu_ld=no ;;
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17838 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17839 with_gnu_ld=$acl_cv_prog_gnu_ld
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17845 $as_echo_n "checking for shared library run path origin... " >&6; }
17846 if test "${acl_cv_rpath+set}" = set; then :
17847 $as_echo_n "(cached) " >&6
17850 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17851 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17853 rm -f ./conftest.sh
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17858 $as_echo "$acl_cv_rpath" >&6; }
17860 acl_libext="$acl_cv_libext"
17861 acl_shlibext="$acl_cv_shlibext"
17862 acl_libname_spec="$acl_cv_libname_spec"
17863 acl_library_names_spec="$acl_cv_library_names_spec"
17864 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17865 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17866 acl_hardcode_direct="$acl_cv_hardcode_direct"
17867 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17868 # Check whether --enable-rpath was given.
17869 if test "${enable_rpath+set}" = set; then :
17870 enableval=$enable_rpath; :
17878 searchpath=`(LC_ALL
=C
$CC -print-search-dirs) 2>/dev
/null
| sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17879 if test -n "$searchpath"; then
17880 acl_save_IFS="${IFS= }"; IFS=":"
17881 for searchdir in $searchpath; do
17882 if test -d "$searchdir"; then
17883 case "$searchdir" in
17884 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17885 *) searchdir=`cd "$searchdir" && pwd`
17886 case "$searchdir" in
17887 */lib64 ) acl_libdirstem=lib64 ;;
17892 IFS="$acl_save_IFS"
17905 acl_save_prefix="$prefix"
17906 prefix="$acl_final_prefix"
17907 acl_save_exec_prefix="$exec_prefix"
17908 exec_prefix="$acl_final_exec_prefix"
17910 eval additional_includedir=\"$includedir\"
17911 eval additional_libdir=\"$libdir\"
17913 exec_prefix="$acl_save_exec_prefix"
17914 prefix="$acl_save_prefix"
17917 # Check whether --with-libiconv-prefix was given.
17918 if test "${with_libiconv_prefix+set}" = set; then :
17919 withval=$with_libiconv_prefix;
17920 if test "X$withval" = "Xno"; then
17923 if test "X$withval" = "X"; then
17925 acl_save_prefix="$prefix"
17926 prefix="$acl_final_prefix"
17927 acl_save_exec_prefix="$exec_prefix"
17928 exec_prefix="$acl_final_exec_prefix"
17930 eval additional_includedir=\"$includedir\"
17931 eval additional_libdir=\"$libdir\"
17933 exec_prefix="$acl_save_exec_prefix"
17934 prefix="$acl_save_prefix"
17937 additional_includedir="$withval/include"
17938 additional_libdir="$withval/$acl_libdirstem"
17950 names_already_handled=
17951 names_next_round='iconv '
17952 while test -n "$names_next_round"; do
17953 names_this_round="$names_next_round"
17955 for name in $names_this_round; do
17957 for n in $names_already_handled; do
17958 if test "$n" = "$name"; then
17959 already_handled=yes
17963 if test -z "$already_handled"; then
17964 names_already_handled="$names_already_handled $name"
17965 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17966 eval value=\"\$HAVE_LIB$uppername\"
17967 if test -n "$value"; then
17968 if test "$value" = yes; then
17969 eval value=\"\$LIB$uppername\"
17970 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17971 eval value=\"\$LTLIB$uppername\"
17972 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17981 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
17982 if test -n "$acl_shlibext"; then
17983 shrext=".$acl_shlibext" # typically: shrext=.so
17987 if test $use_additional = yes; then
17988 dir="$additional_libdir"
17989 if test -n "$acl_shlibext"; then
17990 if test -f "$dir/$libname$shrext"; then
17992 found_so="$dir/$libname$shrext"
17994 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17995 ver=`(cd "$dir" && \
17996 for f
in "$libname$shrext".
*; do echo "$f"; done \
17997 | sed -e "s,^$libname$shrext\\\\.,," \
17998 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17999 | sed 1q
) 2>/dev
/null
`
18000 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18002 found_so="$dir/$libname$shrext.$ver"
18005 eval library_names=\"$acl_library_names_spec\"
18006 for f in $library_names; do
18007 if test -f "$dir/$f"; then
18016 if test "X$found_dir" = "X"; then
18017 if test -f "$dir/$libname.$acl_libext"; then
18019 found_a="$dir/$libname.$acl_libext"
18022 if test "X$found_dir" != "X"; then
18023 if test -f "$dir/$libname.la"; then
18024 found_la="$dir/$libname.la"
18028 if test "X$found_dir" = "X"; then
18029 for x in $LDFLAGS $LTLIBICONV; do
18031 acl_save_prefix="$prefix"
18032 prefix="$acl_final_prefix"
18033 acl_save_exec_prefix="$exec_prefix"
18034 exec_prefix="$acl_final_exec_prefix"
18036 exec_prefix="$acl_save_exec_prefix"
18037 prefix="$acl_save_prefix"
18041 dir=`echo "X$x" | sed -e 's/^X-L//'`
18042 if test -n "$acl_shlibext"; then
18043 if test -f "$dir/$libname$shrext"; then
18045 found_so="$dir/$libname$shrext"
18047 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18048 ver=`(cd "$dir" && \
18049 for f
in "$libname$shrext".
*; do echo "$f"; done \
18050 | sed -e "s,^$libname$shrext\\\\.,," \
18051 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18052 | sed 1q
) 2>/dev
/null
`
18053 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18055 found_so="$dir/$libname$shrext.$ver"
18058 eval library_names=\"$acl_library_names_spec\"
18059 for f in $library_names; do
18060 if test -f "$dir/$f"; then
18069 if test "X$found_dir" = "X"; then
18070 if test -f "$dir/$libname.$acl_libext"; then
18072 found_a="$dir/$libname.$acl_libext"
18075 if test "X$found_dir" != "X"; then
18076 if test -f "$dir/$libname.la"; then
18077 found_la="$dir/$libname.la"
18082 if test "X$found_dir" != "X"; then
18087 if test "X$found_dir" != "X"; then
18088 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18089 if test "X$found_so" != "X"; then
18090 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18091 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18094 for x in $ltrpathdirs; do
18095 if test "X$x" = "X$found_dir"; then
18100 if test -z "$haveit"; then
18101 ltrpathdirs="$ltrpathdirs $found_dir"
18103 if test "$acl_hardcode_direct" = yes; then
18104 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18106 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18107 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18109 for x in $rpathdirs; do
18110 if test "X$x" = "X$found_dir"; then
18115 if test -z "$haveit"; then
18116 rpathdirs="$rpathdirs $found_dir"
18120 for x in $LDFLAGS $LIBICONV; do
18122 acl_save_prefix="$prefix"
18123 prefix="$acl_final_prefix"
18124 acl_save_exec_prefix="$exec_prefix"
18125 exec_prefix="$acl_final_exec_prefix"
18127 exec_prefix="$acl_save_exec_prefix"
18128 prefix="$acl_save_prefix"
18130 if test "X$x" = "X-L$found_dir"; then
18135 if test -z "$haveit"; then
18136 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18138 if test "$acl_hardcode_minus_L" != no; then
18139 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18141 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18147 if test "X$found_a" != "X"; then
18148 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18150 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18153 additional_includedir=
18154 case "$found_dir" in
18155 */$acl_libdirstem | */$acl_libdirstem/)
18156 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18157 LIBICONV_PREFIX="$basedir"
18158 additional_includedir="$basedir/include"
18161 if test "X$additional_includedir" != "X"; then
18162 if test "X$additional_includedir" != "X/usr/include"; then
18164 if test "X$additional_includedir" = "X/usr/local/include"; then
18165 if test -n "$GCC"; then
18167 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18171 if test -z "$haveit"; then
18172 for x in $CPPFLAGS $INCICONV; do
18174 acl_save_prefix="$prefix"
18175 prefix="$acl_final_prefix"
18176 acl_save_exec_prefix="$exec_prefix"
18177 exec_prefix="$acl_final_exec_prefix"
18179 exec_prefix="$acl_save_exec_prefix"
18180 prefix="$acl_save_prefix"
18182 if test "X$x" = "X-I$additional_includedir"; then
18187 if test -z "$haveit"; then
18188 if test -d "$additional_includedir"; then
18189 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18195 if test -n "$found_la"; then
18196 save_libdir="$libdir"
18197 case "$found_la" in
18198 */* | *\\*) . "$found_la" ;;
18199 *) . "./$found_la" ;;
18201 libdir="$save_libdir"
18202 for dep in $dependency_libs; do
18205 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18206 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18208 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18209 if test -n "$GCC"; then
18211 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18215 if test -z "$haveit"; then
18217 for x in $LDFLAGS $LIBICONV; do
18219 acl_save_prefix="$prefix"
18220 prefix="$acl_final_prefix"
18221 acl_save_exec_prefix="$exec_prefix"
18222 exec_prefix="$acl_final_exec_prefix"
18224 exec_prefix="$acl_save_exec_prefix"
18225 prefix="$acl_save_prefix"
18227 if test "X$x" = "X-L$additional_libdir"; then
18232 if test -z "$haveit"; then
18233 if test -d "$additional_libdir"; then
18234 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18238 for x in $LDFLAGS $LTLIBICONV; do
18240 acl_save_prefix="$prefix"
18241 prefix="$acl_final_prefix"
18242 acl_save_exec_prefix="$exec_prefix"
18243 exec_prefix="$acl_final_exec_prefix"
18245 exec_prefix="$acl_save_exec_prefix"
18246 prefix="$acl_save_prefix"
18248 if test "X$x" = "X-L$additional_libdir"; then
18253 if test -z "$haveit"; then
18254 if test -d "$additional_libdir"; then
18255 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18262 dir=`echo "X$dep" | sed -e 's/^X-R//'`
18263 if test "$enable_rpath" != no; then
18265 for x in $rpathdirs; do
18266 if test "X$x" = "X$dir"; then
18271 if test -z "$haveit"; then
18272 rpathdirs="$rpathdirs $dir"
18275 for x in $ltrpathdirs; do
18276 if test "X$x" = "X$dir"; then
18281 if test -z "$haveit"; then
18282 ltrpathdirs="$ltrpathdirs $dir"
18287 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18290 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18293 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18294 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18300 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18301 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18307 if test "X$rpathdirs" != "X"; then
18308 if test -n "$acl_hardcode_libdir_separator"; then
18310 for found_dir in $rpathdirs; do
18311 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18313 acl_save_libdir="$libdir"
18315 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18316 libdir="$acl_save_libdir"
18317 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18319 for found_dir in $rpathdirs; do
18320 acl_save_libdir="$libdir"
18321 libdir="$found_dir"
18322 eval flag=\"$acl_hardcode_libdir_flag_spec\"
18323 libdir="$acl_save_libdir"
18324 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18328 if test "X$ltrpathdirs" != "X"; then
18329 for found_dir in $ltrpathdirs; do
18330 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18340 am_save_CPPFLAGS="$CPPFLAGS"
18342 for element in $INCICONV; do
18344 for x in $CPPFLAGS; do
18346 acl_save_prefix="$prefix"
18347 prefix="$acl_final_prefix"
18348 acl_save_exec_prefix="$exec_prefix"
18349 exec_prefix="$acl_final_exec_prefix"
18351 exec_prefix="$acl_save_exec_prefix"
18352 prefix="$acl_save_prefix"
18354 if test "X$x" = "X$element"; then
18359 if test -z "$haveit"; then
18360 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18366 $as_echo_n "checking for iconv... " >&6; }
18367 if test "${am_cv_func_iconv+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18371 am_cv_func_iconv="no, consider installing GNU libiconv"
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <stdlib.h>
18380 iconv_t cd = iconv_open("","");
18381 iconv(cd,NULL,NULL,NULL,NULL);
18387 if ac_fn_c_try_link "$LINENO"; then :
18388 am_cv_func_iconv=yes
18390 rm -f core conftest.err conftest.$ac_objext \
18391 conftest$ac_exeext conftest.$ac_ext
18392 if test "$am_cv_func_iconv" != yes; then
18393 am_save_LIBS="$LIBS"
18394 LIBS="$LIBS $LIBICONV"
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <stdlib.h>
18402 iconv_t cd = iconv_open("","");
18403 iconv(cd,NULL,NULL,NULL,NULL);
18409 if ac_fn_c_try_link "$LINENO"; then :
18410 am_cv_lib_iconv=yes
18411 am_cv_func_iconv=yes
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18415 LIBS="$am_save_LIBS"
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18420 $as_echo "$am_cv_func_iconv" >&6; }
18421 if test "$am_cv_func_iconv" = yes; then
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18423 $as_echo_n "checking for working iconv... " >&6; }
18424 if test "${am_cv_func_iconv_works+set}" = set; then :
18425 $as_echo_n "(cached) " >&6
18428 am_save_LIBS="$LIBS"
18429 if test $am_cv_lib_iconv = yes; then
18430 LIBS="$LIBS $LIBICONV"
18432 if test "$cross_compiling" = yes; then :
18434 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18435 *) am_cv_func_iconv_works="guessing yes" ;;
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18442 #include <string.h>
18445 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18448 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18449 if (cd_utf8_to_88591 != (iconv_t)(-1))
18451 static const char input[] = "\342\202\254"; /* EURO SIGN */
18453 const char *inptr = input;
18454 size_t inbytesleft = strlen (input);
18455 char *outptr = buf;
18456 size_t outbytesleft = sizeof (buf);
18457 size_t res = iconv (cd_utf8_to_88591,
18458 (char **) &inptr, &inbytesleft,
18459 &outptr, &outbytesleft);
18464 #if 0 /* This bug could be worked around by the caller. */
18465 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
18467 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18468 if (cd_88591_to_utf8 != (iconv_t)(-1))
18470 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18472 const char *inptr = input;
18473 size_t inbytesleft = strlen (input);
18474 char *outptr = buf;
18475 size_t outbytesleft = sizeof (buf);
18476 size_t res = iconv (cd_88591_to_utf8,
18477 (char **) &inptr, &inbytesleft,
18478 &outptr, &outbytesleft);
18484 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18486 if (/* Try standardized names. */
18487 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18488 /* Try IRIX, OSF/1 names. */
18489 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18490 /* Try AIX names. */
18491 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18492 /* Try HP-UX names. */
18493 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18498 if ac_fn_c_try_run "$LINENO"; then :
18499 am_cv_func_iconv_works=yes
18501 am_cv_func_iconv_works=no
18503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18504 conftest.$ac_objext conftest.beam conftest.$ac_ext
18507 LIBS="$am_save_LIBS"
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18511 $as_echo "$am_cv_func_iconv_works" >&6; }
18512 case "$am_cv_func_iconv_works" in
18513 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18514 *) am_func_iconv=yes ;;
18517 am_func_iconv=no am_cv_lib_iconv=no
18519 if test "$am_func_iconv" = yes; then
18521 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18524 if test "$am_cv_lib_iconv" = yes; then
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18526 $as_echo_n "checking how to link with libiconv... " >&6; }
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18528 $as_echo "$LIBICONV" >&6; }
18530 CPPFLAGS="$am_save_CPPFLAGS"
18537 if test "$am_cv_func_iconv" = yes; then
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
18539 $as_echo_n "checking for iconv declaration... " >&6; }
18540 if test "${am_cv_proto_iconv+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h. */
18547 #include <stdlib.h>
18553 #if defined(__STDC__) || defined(__cplusplus)
18554 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
18567 if ac_fn_c_try_compile "$LINENO"; then :
18568 am_cv_proto_iconv_arg1=""
18570 am_cv_proto_iconv_arg1="const"
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573 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);"
18576 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
18578 }$am_cv_proto_iconv" >&5
18580 }$am_cv_proto_iconv" >&6; }
18582 cat >>confdefs.h <<_ACEOF
18583 #define ICONV_CONST $am_cv_proto_iconv_arg1
18588 case $am_cv_func_iconv in #(
18593 for cy_iconv_prefix_arg in $CFLAGS $CXXFLAGS $OBJCXXFLAGS $LDFLAGS $LIBS; do
18594 case $cy_iconv_prefix_arg in #(
18598 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-I//;s|/include$||'`; do
18600 for x in $cy_iconv_prefixes; do
18602 acl_save_prefix="$prefix"
18603 prefix="$acl_final_prefix"
18604 acl_save_exec_prefix="$exec_prefix"
18605 exec_prefix="$acl_final_exec_prefix"
18607 exec_prefix="$acl_save_exec_prefix"
18608 prefix="$acl_save_prefix"
18610 if test "X$x" = "X$element"; then
18615 if test -z "$haveit"; then
18616 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18624 for element in `echo $cy_iconv_prefix_arg | sed -e 's/^-L//;s|/lib$||'`; do
18626 for x in $cy_iconv_prefixes; do
18628 acl_save_prefix="$prefix"
18629 prefix="$acl_final_prefix"
18630 acl_save_exec_prefix="$exec_prefix"
18631 exec_prefix="$acl_final_exec_prefix"
18633 exec_prefix="$acl_save_exec_prefix"
18634 prefix="$acl_save_prefix"
18636 if test "X$x" = "X$element"; then
18641 if test -z "$haveit"; then
18642 cy_iconv_prefixes="${cy_iconv_prefixes}${cy_iconv_prefixes:+ }$element"
18651 for with_libiconv_prefix in $cy_iconv_prefixes; do
18652 { am_cv_func_iconv=; unset am_cv_func_iconv;}
18663 acl_save_prefix="$prefix"
18664 prefix="$acl_final_prefix"
18665 acl_save_exec_prefix="$exec_prefix"
18666 exec_prefix="$acl_final_exec_prefix"
18668 eval additional_includedir=\"$includedir\"
18669 eval additional_libdir=\"$libdir\"
18671 exec_prefix="$acl_save_exec_prefix"
18672 prefix="$acl_save_prefix"
18675 # Check whether --with-libiconv-prefix was given.
18676 if test "${with_libiconv_prefix+set}" = set; then :
18677 withval=$with_libiconv_prefix;
18678 if test "X$withval" = "Xno"; then
18681 if test "X$withval" = "X"; then
18683 acl_save_prefix="$prefix"
18684 prefix="$acl_final_prefix"
18685 acl_save_exec_prefix="$exec_prefix"
18686 exec_prefix="$acl_final_exec_prefix"
18688 eval additional_includedir=\"$includedir\"
18689 eval additional_libdir=\"$libdir\"
18691 exec_prefix="$acl_save_exec_prefix"
18692 prefix="$acl_save_prefix"
18695 additional_includedir="$withval/include"
18696 additional_libdir="$withval/$acl_libdirstem"
18708 names_already_handled=
18709 names_next_round='iconv '
18710 while test -n "$names_next_round"; do
18711 names_this_round="$names_next_round"
18713 for name in $names_this_round; do
18715 for n in $names_already_handled; do
18716 if test "$n" = "$name"; then
18717 already_handled=yes
18721 if test -z "$already_handled"; then
18722 names_already_handled="$names_already_handled $name"
18723 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18724 eval value=\"\$HAVE_LIB$uppername\"
18725 if test -n "$value"; then
18726 if test "$value" = yes; then
18727 eval value=\"\$LIB$uppername\"
18728 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18729 eval value=\"\$LTLIB$uppername\"
18730 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18739 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18740 if test -n "$acl_shlibext"; then
18741 shrext=".$acl_shlibext" # typically: shrext=.so
18745 if test $use_additional = yes; then
18746 dir="$additional_libdir"
18747 if test -n "$acl_shlibext"; then
18748 if test -f "$dir/$libname$shrext"; then
18750 found_so="$dir/$libname$shrext"
18752 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18753 ver=`(cd "$dir" && \
18754 for f
in "$libname$shrext".
*; do echo "$f"; done \
18755 | sed -e "s,^$libname$shrext\\\\.,," \
18756 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18757 | sed 1q
) 2>/dev
/null
`
18758 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18760 found_so="$dir/$libname$shrext.$ver"
18763 eval library_names=\"$acl_library_names_spec\"
18764 for f in $library_names; do
18765 if test -f "$dir/$f"; then
18774 if test "X$found_dir" = "X"; then
18775 if test -f "$dir/$libname.$acl_libext"; then
18777 found_a="$dir/$libname.$acl_libext"
18780 if test "X$found_dir" != "X"; then
18781 if test -f "$dir/$libname.la"; then
18782 found_la="$dir/$libname.la"
18786 if test "X$found_dir" = "X"; then
18787 for x in $LDFLAGS $LTLIBICONV; do
18789 acl_save_prefix="$prefix"
18790 prefix="$acl_final_prefix"
18791 acl_save_exec_prefix="$exec_prefix"
18792 exec_prefix="$acl_final_exec_prefix"
18794 exec_prefix="$acl_save_exec_prefix"
18795 prefix="$acl_save_prefix"
18799 dir=`echo "X$x" | sed -e 's/^X-L//'`
18800 if test -n "$acl_shlibext"; then
18801 if test -f "$dir/$libname$shrext"; then
18803 found_so="$dir/$libname$shrext"
18805 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18806 ver=`(cd "$dir" && \
18807 for f
in "$libname$shrext".
*; do echo "$f"; done \
18808 | sed -e "s,^$libname$shrext\\\\.,," \
18809 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18810 | sed 1q
) 2>/dev
/null
`
18811 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18813 found_so="$dir/$libname$shrext.$ver"
18816 eval library_names=\"$acl_library_names_spec\"
18817 for f in $library_names; do
18818 if test -f "$dir/$f"; then
18827 if test "X$found_dir" = "X"; then
18828 if test -f "$dir/$libname.$acl_libext"; then
18830 found_a="$dir/$libname.$acl_libext"
18833 if test "X$found_dir" != "X"; then
18834 if test -f "$dir/$libname.la"; then
18835 found_la="$dir/$libname.la"
18840 if test "X$found_dir" != "X"; then
18845 if test "X$found_dir" != "X"; then
18846 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18847 if test "X$found_so" != "X"; then
18848 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18849 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18852 for x in $ltrpathdirs; do
18853 if test "X$x" = "X$found_dir"; then
18858 if test -z "$haveit"; then
18859 ltrpathdirs="$ltrpathdirs $found_dir"
18861 if test "$acl_hardcode_direct" = yes; then
18862 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18864 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18865 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18867 for x in $rpathdirs; do
18868 if test "X$x" = "X$found_dir"; then
18873 if test -z "$haveit"; then
18874 rpathdirs="$rpathdirs $found_dir"
18878 for x in $LDFLAGS $LIBICONV; do
18880 acl_save_prefix="$prefix"
18881 prefix="$acl_final_prefix"
18882 acl_save_exec_prefix="$exec_prefix"
18883 exec_prefix="$acl_final_exec_prefix"
18885 exec_prefix="$acl_save_exec_prefix"
18886 prefix="$acl_save_prefix"
18888 if test "X$x" = "X-L$found_dir"; then
18893 if test -z "$haveit"; then
18894 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18896 if test "$acl_hardcode_minus_L" != no; then
18897 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18899 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18905 if test "X$found_a" != "X"; then
18906 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18908 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18911 additional_includedir=
18912 case "$found_dir" in
18913 */$acl_libdirstem | */$acl_libdirstem/)
18914 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18915 LIBICONV_PREFIX="$basedir"
18916 additional_includedir="$basedir/include"
18919 if test "X$additional_includedir" != "X"; then
18920 if test "X$additional_includedir" != "X/usr/include"; then
18922 if test "X$additional_includedir" = "X/usr/local/include"; then
18923 if test -n "$GCC"; then
18925 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18929 if test -z "$haveit"; then
18930 for x in $CPPFLAGS $INCICONV; do
18932 acl_save_prefix="$prefix"
18933 prefix="$acl_final_prefix"
18934 acl_save_exec_prefix="$exec_prefix"
18935 exec_prefix="$acl_final_exec_prefix"
18937 exec_prefix="$acl_save_exec_prefix"
18938 prefix="$acl_save_prefix"
18940 if test "X$x" = "X-I$additional_includedir"; then
18945 if test -z "$haveit"; then
18946 if test -d "$additional_includedir"; then
18947 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18953 if test -n "$found_la"; then
18954 save_libdir="$libdir"
18955 case "$found_la" in
18956 */* | *\\*) . "$found_la" ;;
18957 *) . "./$found_la" ;;
18959 libdir="$save_libdir"
18960 for dep in $dependency_libs; do
18963 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18964 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18966 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18967 if test -n "$GCC"; then
18969 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18973 if test -z "$haveit"; then
18975 for x in $LDFLAGS $LIBICONV; do
18977 acl_save_prefix="$prefix"
18978 prefix="$acl_final_prefix"
18979 acl_save_exec_prefix="$exec_prefix"
18980 exec_prefix="$acl_final_exec_prefix"
18982 exec_prefix="$acl_save_exec_prefix"
18983 prefix="$acl_save_prefix"
18985 if test "X$x" = "X-L$additional_libdir"; then
18990 if test -z "$haveit"; then
18991 if test -d "$additional_libdir"; then
18992 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18996 for x in $LDFLAGS $LTLIBICONV; do
18998 acl_save_prefix="$prefix"
18999 prefix="$acl_final_prefix"
19000 acl_save_exec_prefix="$exec_prefix"
19001 exec_prefix="$acl_final_exec_prefix"
19003 exec_prefix="$acl_save_exec_prefix"
19004 prefix="$acl_save_prefix"
19006 if test "X$x" = "X-L$additional_libdir"; then
19011 if test -z "$haveit"; then
19012 if test -d "$additional_libdir"; then
19013 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
19020 dir=`echo "X$dep" | sed -e 's/^X-R//'`
19021 if test "$enable_rpath" != no; then
19023 for x in $rpathdirs; do
19024 if test "X$x" = "X$dir"; then
19029 if test -z "$haveit"; then
19030 rpathdirs="$rpathdirs $dir"
19033 for x in $ltrpathdirs; do
19034 if test "X$x" = "X$dir"; then
19039 if test -z "$haveit"; then
19040 ltrpathdirs="$ltrpathdirs $dir"
19045 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19048 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19051 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
19052 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
19058 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
19059 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
19065 if test "X$rpathdirs" != "X"; then
19066 if test -n "$acl_hardcode_libdir_separator"; then
19068 for found_dir in $rpathdirs; do
19069 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19071 acl_save_libdir="$libdir"
19073 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19074 libdir="$acl_save_libdir"
19075 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19077 for found_dir in $rpathdirs; do
19078 acl_save_libdir="$libdir"
19079 libdir="$found_dir"
19080 eval flag=\"$acl_hardcode_libdir_flag_spec\"
19081 libdir="$acl_save_libdir"
19082 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
19086 if test "X$ltrpathdirs" != "X"; then
19087 for found_dir in $ltrpathdirs; do
19088 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19098 am_save_CPPFLAGS="$CPPFLAGS"
19100 for element in $INCICONV; do
19102 for x in $CPPFLAGS; do
19104 acl_save_prefix="$prefix"
19105 prefix="$acl_final_prefix"
19106 acl_save_exec_prefix="$exec_prefix"
19107 exec_prefix="$acl_final_exec_prefix"
19109 exec_prefix="$acl_save_exec_prefix"
19110 prefix="$acl_save_prefix"
19112 if test "X$x" = "X$element"; then
19117 if test -z "$haveit"; then
19118 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19124 $as_echo_n "checking for iconv... " >&6; }
19125 if test "${am_cv_func_iconv+set}" = set; then :
19126 $as_echo_n "(cached) " >&6
19129 am_cv_func_iconv="no, consider installing GNU libiconv"
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 #include <stdlib.h>
19138 iconv_t cd = iconv_open("","");
19139 iconv(cd,NULL,NULL,NULL,NULL);
19145 if ac_fn_c_try_link "$LINENO"; then :
19146 am_cv_func_iconv=yes
19148 rm -f core conftest.err conftest.$ac_objext \
19149 conftest$ac_exeext conftest.$ac_ext
19150 if test "$am_cv_func_iconv" != yes; then
19151 am_save_LIBS="$LIBS"
19152 LIBS="$LIBS $LIBICONV"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 #include <stdlib.h>
19160 iconv_t cd = iconv_open("","");
19161 iconv(cd,NULL,NULL,NULL,NULL);
19167 if ac_fn_c_try_link "$LINENO"; then :
19168 am_cv_lib_iconv=yes
19169 am_cv_func_iconv=yes
19171 rm -f core conftest.err conftest.$ac_objext \
19172 conftest$ac_exeext conftest.$ac_ext
19173 LIBS="$am_save_LIBS"
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19178 $as_echo "$am_cv_func_iconv" >&6; }
19179 if test "$am_cv_func_iconv" = yes; then
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19181 $as_echo_n "checking for working iconv... " >&6; }
19182 if test "${am_cv_func_iconv_works+set}" = set; then :
19183 $as_echo_n "(cached) " >&6
19186 am_save_LIBS="$LIBS"
19187 if test $am_cv_lib_iconv = yes; then
19188 LIBS="$LIBS $LIBICONV"
19190 if test "$cross_compiling" = yes; then :
19192 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19193 *) am_cv_func_iconv_works="guessing yes" ;;
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19200 #include <string.h>
19203 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19206 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19207 if (cd_utf8_to_88591 != (iconv_t)(-1))
19209 static const char input[] = "\342\202\254"; /* EURO SIGN */
19211 const char *inptr = input;
19212 size_t inbytesleft = strlen (input);
19213 char *outptr = buf;
19214 size_t outbytesleft = sizeof (buf);
19215 size_t res = iconv (cd_utf8_to_88591,
19216 (char **) &inptr, &inbytesleft,
19217 &outptr, &outbytesleft);
19222 #if 0 /* This bug could be worked around by the caller. */
19223 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19225 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19226 if (cd_88591_to_utf8 != (iconv_t)(-1))
19228 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19230 const char *inptr = input;
19231 size_t inbytesleft = strlen (input);
19232 char *outptr = buf;
19233 size_t outbytesleft = sizeof (buf);
19234 size_t res = iconv (cd_88591_to_utf8,
19235 (char **) &inptr, &inbytesleft,
19236 &outptr, &outbytesleft);
19242 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19244 if (/* Try standardized names. */
19245 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19246 /* Try IRIX, OSF/1 names. */
19247 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19248 /* Try AIX names. */
19249 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19250 /* Try HP-UX names. */
19251 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19256 if ac_fn_c_try_run "$LINENO"; then :
19257 am_cv_func_iconv_works=yes
19259 am_cv_func_iconv_works=no
19261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19262 conftest.$ac_objext conftest.beam conftest.$ac_ext
19265 LIBS="$am_save_LIBS"
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19269 $as_echo "$am_cv_func_iconv_works" >&6; }
19270 case "$am_cv_func_iconv_works" in
19271 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
19272 *) am_func_iconv=yes ;;
19275 am_func_iconv=no am_cv_lib_iconv=no
19277 if test "$am_func_iconv" = yes; then
19279 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
19282 if test "$am_cv_lib_iconv" = yes; then
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19284 $as_echo_n "checking how to link with libiconv... " >&6; }
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19286 $as_echo "$LIBICONV" >&6; }
19288 CPPFLAGS="$am_save_CPPFLAGS"
19295 if test "$am_cv_func_iconv" = yes; then
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
19297 $as_echo_n "checking for iconv declaration... " >&6; }
19298 if test "${am_cv_proto_iconv+set}" = set; then :
19299 $as_echo_n "(cached) " >&6
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19305 #include <stdlib.h>
19311 #if defined(__STDC__) || defined(__cplusplus)
19312 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
19325 if ac_fn_c_try_compile "$LINENO"; then :
19326 am_cv_proto_iconv_arg1=""
19328 am_cv_proto_iconv_arg1="const"
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 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);"
19334 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
19336 }$am_cv_proto_iconv" >&5
19338 }$am_cv_proto_iconv" >&6; }
19340 cat >>confdefs.h <<_ACEOF
19341 #define ICONV_CONST $am_cv_proto_iconv_arg1
19349 case $am_cv_func_iconv in #(
19353 as_fn_error "You need iconv" "$LINENO" 5 ;;
19356 ac_cpp='$CXXCPP $CPPFLAGS'
19357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19361 if test "x$CY_OBJECTIVEC" = x1; then :
19363 ac_fn_cxx_check_header_mongrel "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
19364 if test "x$ac_cv_header_mach_mach_h" = x""yes; then :
19366 if test -n "$ac_tool_prefix"; then
19367 for ac_prog in otool
19369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19372 $as_echo_n "checking for $ac_word... " >&6; }
19373 if test "${ac_cv_prog__OTOOL+set}" = set; then :
19374 $as_echo_n "(cached) " >&6
19376 if test -n "$_OTOOL"; then
19377 ac_cv_prog__OTOOL="$_OTOOL" # Let the user override the test.
19379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19380 for as_dir in $PATH
19383 test -z "$as_dir" && as_dir=.
19384 for ac_exec_ext in '' $ac_executable_extensions; do
19385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19386 ac_cv_prog__OTOOL="$ac_tool_prefix$ac_prog"
19387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19396 _OTOOL=$ac_cv_prog__OTOOL
19397 if test -n "$_OTOOL"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_OTOOL" >&5
19399 $as_echo "$_OTOOL" >&6; }
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19402 $as_echo "no" >&6; }
19406 test -n "$_OTOOL" && break
19409 if test -z "$_OTOOL"; then
19410 ac_ct__OTOOL=$_OTOOL
19411 for ac_prog in otool
19413 # Extract the first word of "$ac_prog", so it can be a program name with args.
19414 set dummy $ac_prog; ac_word=$2
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19416 $as_echo_n "checking for $ac_word... " >&6; }
19417 if test "${ac_cv_prog_ac_ct__OTOOL+set}" = set; then :
19418 $as_echo_n "(cached) " >&6
19420 if test -n "$ac_ct__OTOOL"; then
19421 ac_cv_prog_ac_ct__OTOOL="$ac_ct__OTOOL" # Let the user override the test.
19423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19424 for as_dir in $PATH
19427 test -z "$as_dir" && as_dir=.
19428 for ac_exec_ext in '' $ac_executable_extensions; do
19429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19430 ac_cv_prog_ac_ct__OTOOL="$ac_prog"
19431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19440 ac_ct__OTOOL=$ac_cv_prog_ac_ct__OTOOL
19441 if test -n "$ac_ct__OTOOL"; then
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__OTOOL" >&5
19443 $as_echo "$ac_ct__OTOOL" >&6; }
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19446 $as_echo "no" >&6; }
19450 test -n "$ac_ct__OTOOL" && break
19453 if test "x$ac_ct__OTOOL" = x; then
19456 case $cross_compiling:$ac_tool_warned in
19458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19460 ac_tool_warned=yes ;;
19462 _OTOOL=$ac_ct__OTOOL
19466 if test "x$_OTOOL" = x; then :
19467 as_fn_error "You need otool" "$LINENO" 5
19469 if test -n "$ac_tool_prefix"; then
19470 for ac_prog in lipo
19472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19475 $as_echo_n "checking for $ac_word... " >&6; }
19476 if test "${ac_cv_prog__LIPO+set}" = set; then :
19477 $as_echo_n "(cached) " >&6
19479 if test -n "$_LIPO"; then
19480 ac_cv_prog__LIPO="$_LIPO" # Let the user override the test.
19482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19483 for as_dir in $PATH
19486 test -z "$as_dir" && as_dir=.
19487 for ac_exec_ext in '' $ac_executable_extensions; do
19488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19489 ac_cv_prog__LIPO="$ac_tool_prefix$ac_prog"
19490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19499 _LIPO=$ac_cv_prog__LIPO
19500 if test -n "$_LIPO"; then
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_LIPO" >&5
19502 $as_echo "$_LIPO" >&6; }
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19505 $as_echo "no" >&6; }
19509 test -n "$_LIPO" && break
19512 if test -z "$_LIPO"; then
19514 for ac_prog in lipo
19516 # Extract the first word of "$ac_prog", so it can be a program name with args.
19517 set dummy $ac_prog; ac_word=$2
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19519 $as_echo_n "checking for $ac_word... " >&6; }
19520 if test "${ac_cv_prog_ac_ct__LIPO+set}" = set; then :
19521 $as_echo_n "(cached) " >&6
19523 if test -n "$ac_ct__LIPO"; then
19524 ac_cv_prog_ac_ct__LIPO="$ac_ct__LIPO" # Let the user override the test.
19526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19527 for as_dir in $PATH
19530 test -z "$as_dir" && as_dir=.
19531 for ac_exec_ext in '' $ac_executable_extensions; do
19532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19533 ac_cv_prog_ac_ct__LIPO="$ac_prog"
19534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19543 ac_ct__LIPO=$ac_cv_prog_ac_ct__LIPO
19544 if test -n "$ac_ct__LIPO"; then
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__LIPO" >&5
19546 $as_echo "$ac_ct__LIPO" >&6; }
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549 $as_echo "no" >&6; }
19553 test -n "$ac_ct__LIPO" && break
19556 if test "x$ac_ct__LIPO" = x; then
19559 case $cross_compiling:$ac_tool_warned in
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19563 ac_tool_warned=yes ;;
19569 if test "x$_LIPO" = x; then :
19570 as_fn_error "You need lipo" "$LINENO" 5
19572 if test -n "$ac_tool_prefix"; then
19575 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19576 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19578 $as_echo_n "checking for $ac_word... " >&6; }
19579 if test "${ac_cv_prog__NM+set}" = set; then :
19580 $as_echo_n "(cached) " >&6
19582 if test -n "$_NM"; then
19583 ac_cv_prog__NM="$_NM" # Let the user override the test.
19585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19586 for as_dir in $PATH
19589 test -z "$as_dir" && as_dir=.
19590 for ac_exec_ext in '' $ac_executable_extensions; do
19591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19592 ac_cv_prog__NM="$ac_tool_prefix$ac_prog"
19593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19602 _NM=$ac_cv_prog__NM
19603 if test -n "$_NM"; then
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_NM" >&5
19605 $as_echo "$_NM" >&6; }
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19608 $as_echo "no" >&6; }
19612 test -n "$_NM" && break
19615 if test -z "$_NM"; then
19619 # Extract the first word of "$ac_prog", so it can be a program name with args.
19620 set dummy $ac_prog; ac_word=$2
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19622 $as_echo_n "checking for $ac_word... " >&6; }
19623 if test "${ac_cv_prog_ac_ct__NM+set}" = set; then :
19624 $as_echo_n "(cached) " >&6
19626 if test -n "$ac_ct__NM"; then
19627 ac_cv_prog_ac_ct__NM="$ac_ct__NM" # Let the user override the test.
19629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19630 for as_dir in $PATH
19633 test -z "$as_dir" && as_dir=.
19634 for ac_exec_ext in '' $ac_executable_extensions; do
19635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19636 ac_cv_prog_ac_ct__NM="$ac_prog"
19637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19646 ac_ct__NM=$ac_cv_prog_ac_ct__NM
19647 if test -n "$ac_ct__NM"; then
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct__NM" >&5
19649 $as_echo "$ac_ct__NM" >&6; }
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19652 $as_echo "no" >&6; }
19656 test -n "$ac_ct__NM" && break
19659 if test "x$ac_ct__NM" = x; then
19662 case $cross_compiling:$ac_tool_warned in
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19666 ac_tool_warned=yes ;;
19672 if test "x$_NM" = x; then :
19673 as_fn_error "You need nm" "$LINENO" 5
19677 CY_OBJECTIVEC_MACH=1
19679 CY_ATTACH_GROUP=procmod
19687 if test "x$GMAKE" != xmake; then :
19689 ac_config_files="$ac_config_files Makefile"
19693 ac_config_files="$ac_config_files GNUmakefile"
19695 cat >confcache <<\_ACEOF
19696 # This file is a shell script that caches the results of configure
19697 # tests run on this system so they can be shared between configure
19698 # scripts and configure runs, see configure's option --config-cache.
19699 # It is not useful on other systems. If it contains results you don't
19700 # want to keep, you may remove or edit it.
19702 # config.status only pays attention to the cache file if you give it
19703 # the --recheck option to rerun configure.
19705 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
19706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19707 # following values.
19711 # The following way of writing the cache mishandles newlines in values,
19712 # but we know of no workaround that is simple, portable, and efficient.
19713 # So, we kill variables containing newlines.
19714 # Ultrix sh set writes to stderr and can't be redirected directly,
19715 # and sets the high bit in the cache file unless we assign to the vars.
19717 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19718 eval ac_val
=\$
$ac_var
19722 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19723 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19726 _
| IFS
| as_nl
) ;; #(
19727 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
19728 *) { eval $ac_var=; unset $ac_var;} ;;
19734 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19735 *${as_nl}ac_space
=\
*)
19736 # `set' does not quote correctly, so add quotes: double-quote
19737 # substitution turns \\\\ into \\, and sed turns \\ into \.
19740 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19743 # `set' quotes correctly as required by POSIX, so do not add quotes.
19744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19753 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19755 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19757 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19758 if test -w "$cache_file"; then
19759 test "x$cache_file" != "x/dev/null" &&
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19761 $as_echo "$as_me: updating cache $cache_file" >&6;}
19762 cat confcache
>$cache_file
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19765 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19770 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19771 # Let make expand exec_prefix.
19772 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19774 # Transform confdefs.h into DEFS.
19775 # Protect against shell expansion while executing Makefile rules.
19776 # Protect against Makefile macro expansion.
19778 # If the first sed substitution is executed (which looks for macros that
19779 # take arguments), then branch to the quote section. Otherwise,
19780 # look for a macro that doesn't take arguments.
19790 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
19792 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
19796 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
19809 DEFS
=`sed -n "$ac_script" confdefs.h`
19814 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19815 # 1. Remove the extension, and $U if already installed.
19816 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19817 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19818 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19819 # will be set to the directory where LIBOBJS objects are built.
19820 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19821 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19823 LIBOBJS
=$ac_libobjs
19825 LTLIBOBJS
=$ac_ltlibobjs
19829 : ${CONFIG_STATUS=./config.status}
19831 ac_clean_files_save
=$ac_clean_files
19832 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19834 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19836 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19838 # Generated by $as_me.
19839 # Run this file to recreate the current configuration.
19840 # Compiler output produced by configure, useful for debugging
19841 # configure, is in config.log if it exists.
19844 ac_cs_recheck=false
19847 SHELL=\${CONFIG_SHELL-$SHELL}
19850 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
19851 ## -------------------- ##
19852 ## M4sh Initialization. ##
19853 ## -------------------- ##
19855 # Be more Bourne compatible
19856 DUALCASE
=1; export DUALCASE
# for MKS sh
19857 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19860 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19861 # is contrary to our usage. Disable this feature.
19862 alias -g '${1+"$@"}'='"$@"'
19863 setopt NO_GLOB_SUBST
19865 case `(set -o) 2>/dev/null` in #(
19877 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19878 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19881 # Prefer a ksh shell builtin over an external printf program on Solaris,
19882 # but without wasting forks for bash or zsh.
19883 if test -z "$BASH_VERSION$ZSH_VERSION" \
19884 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19885 as_echo='print
-r --'
19886 as_echo_n='print
-rn --'
19887 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19888 as_echo='printf %s
\n'
19889 as_echo_n='printf %s
'
19891 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19892 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
19893 as_echo_n='/usr
/ucb
/echo -n'
19895 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19896 as_echo_n_body='eval
19900 expr "X$arg" : "X\\(.*\\)$as_nl";
19901 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19903 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19905 export as_echo_n_body
19906 as_echo_n='sh
-c $as_echo_n_body as_echo
'
19908 export as_echo_body
19909 as_echo='sh
-c $as_echo_body as_echo
'
19912 # The user is always right.
19913 if test "${PATH_SEPARATOR+set}" != set; then
19915 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19916 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19923 # We need space, tab and new line, in precisely that order. Quoting is
19924 # there to prevent editors from complaining about space-tab.
19925 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19926 # splitting by setting IFS to empty value.)
19929 # Find who we are. Look in the path if we contain no directory separator.
19931 *[\\/]* ) as_myself=$0 ;;
19932 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19933 for as_dir in $PATH
19936 test -z "$as_dir" && as_dir=.
19937 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19943 # We did not find ourselves, most probably we were run as `sh COMMAND'
19944 # in which case we are not to be found in the path.
19945 if test "x$as_myself" = x
; then
19948 if test ! -f "$as_myself"; then
19949 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19953 # Unset variables that we do not need and which cause bugs (e.g. in
19954 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19955 # suppresses any "Segmentation fault" message there. '((' could
19956 # trigger a bug in pdksh 5.2.14.
19957 for as_var
in BASH_ENV ENV MAIL MAILPATH
19958 do eval test x\
${$as_var+set} = xset \
19959 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
19972 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
19975 # as_fn_error ERROR [LINENO LOG_FD]
19976 # ---------------------------------
19977 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19978 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19979 # script with status $?, using 1 if that was 0.
19982 as_status
=$?
; test $as_status -eq 0 && as_status
=1
19984 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
19985 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
19987 $as_echo "$as_me: error: $1" >&2
19988 as_fn_exit
$as_status
19992 # as_fn_set_status STATUS
19993 # -----------------------
19994 # Set $? to STATUS, without forking.
19995 as_fn_set_status
()
19998 } # as_fn_set_status
20000 # as_fn_exit STATUS
20001 # -----------------
20002 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20006 as_fn_set_status
$1
20012 # Portably unset VAR.
20015 { eval $1=; unset $1;}
20017 as_unset
=as_fn_unset
20018 # as_fn_append VAR VALUE
20019 # ----------------------
20020 # Append the text in VALUE to the end of the definition contained in VAR. Take
20021 # advantage of any shell optimizations that allow amortized linear growth over
20022 # repeated appends, instead of the typical quadratic growth present in naive
20024 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20025 eval 'as_fn_append ()
20036 # as_fn_arith ARG...
20037 # ------------------
20038 # Perform arithmetic evaluation on the ARGs, and store the result in the
20039 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20040 # must be portable across $(()) and expr.
20041 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20042 eval 'as_fn_arith ()
20049 as_val
=`expr "$@" || test $? -eq 1`
20054 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20055 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20061 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20062 as_basename
=basename
20067 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20073 as_me
=`$as_basename -- "$0" ||
20074 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20075 X"$0" : 'X\(//\)$' \| \
20076 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20078 sed '/^.*\/\([^/][^/]*\)\/*$/{
20092 # Avoid depending upon Character Ranges.
20093 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20094 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20095 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20096 as_cr_digits
='0123456789'
20097 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20099 ECHO_C
= ECHO_N
= ECHO_T
=
20100 case `echo -n x` in #(((((
20102 case `echo 'xy\c'` in
20103 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20105 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20112 rm -f conf$$ conf$$.exe conf$$.
file
20113 if test -d conf$$.dir
; then
20114 rm -f conf$$.dir
/conf$$.
file
20117 mkdir conf$$.dir
2>/dev
/null
20119 if (echo >conf$$.
file) 2>/dev
/null
; then
20120 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20122 # ... but there are two gotchas:
20123 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20124 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20125 # In both cases, we have to default to `cp -p'.
20126 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
20128 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20136 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20137 rmdir conf$$.dir
2>/dev
/null
20142 # Create "$as_dir" as a directory, including parents if necessary.
20147 -*) as_dir
=.
/$as_dir;;
20149 test -d "$as_dir" || eval $as_mkdir_p || {
20153 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20154 *) as_qdir
=$as_dir;;
20156 as_dirs
="'$as_qdir' $as_dirs"
20157 as_dir
=`$as_dirname -- "$as_dir" ||
20158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20159 X"$as_dir" : 'X\(//\)[^/]' \| \
20160 X"$as_dir" : 'X\(//\)$' \| \
20161 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20162 $as_echo X"$as_dir" |
20163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20167 /^X\(\/\/\)[^/].*/{
20180 test -d "$as_dir" && break
20182 test -z "$as_dirs" || eval "mkdir $as_dirs"
20183 } || test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
20187 if mkdir -p .
2>/dev
/null
; then
20188 as_mkdir_p
='mkdir -p "$as_dir"'
20190 test -d .
/-p && rmdir .
/-p
20194 if test -x / >/dev
/null
2>&1; then
20195 as_test_x
='test -x'
20197 if ls -dL / >/dev
/null
2>&1; then
20204 if test -d "$1"; then
20210 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20211 ???[sx]*):;;*)false;;esac;fi
20215 as_executable_p
=$as_test_x
20217 # Sed expression to map a string onto a valid CPP name.
20218 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20220 # Sed expression to map a string onto a valid variable name.
20221 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20225 ## ----------------------------------- ##
20226 ## Main body of $CONFIG_STATUS script. ##
20227 ## ----------------------------------- ##
20229 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20231 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20232 # Save the log message, to keep $0 and so on meaningful, and to
20233 # report actual input values of CONFIG_FILES etc. instead of their
20234 # values after options handling.
20236 This file was extended by Cycript $as_me 0.9, which was
20237 generated by GNU Autoconf 2.65. Invocation command line was
20239 CONFIG_FILES = $CONFIG_FILES
20240 CONFIG_HEADERS = $CONFIG_HEADERS
20241 CONFIG_LINKS = $CONFIG_LINKS
20242 CONFIG_COMMANDS = $CONFIG_COMMANDS
20245 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20250 case $ac_config_files in *"
20251 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20257 # Files that config.status was made for.
20258 config_files="$ac_config_files"
20259 config_commands="$ac_config_commands"
20263 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20265 \`$as_me' instantiates files and other configuration actions
20266 from templates according to the current configuration. Unless the files
20267 and actions are specified as TAGs, all are instantiated by default.
20269 Usage: $0 [OPTION]... [TAG]...
20271 -h, --help print this help, then exit
20272 -V, --version print version number and configuration settings, then exit
20273 --config print configuration, then exit
20274 -q, --quiet, --silent
20275 do not print progress messages
20276 -d, --debug don't remove temporary files
20277 --recheck update $as_me by reconfiguring in the same conditions
20278 --file=FILE[:TEMPLATE]
20279 instantiate the configuration file FILE
20281 Configuration files:
20284 Configuration commands:
20287 Report bugs to <saurik@saurik.com>.
20288 Cycript home page: <http://www.cycript.org/>."
20291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20292 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20294 Cycript config.status 0.9
20295 configured by $0, generated by GNU Autoconf 2.65,
20296 with options \\"\$ac_cs_config\\"
20298 Copyright (C) 2009 Free Software Foundation, Inc.
20299 This config.status script is free software; the Free Software Foundation
20300 gives unlimited permission to copy, distribute and modify it."
20305 test -n "\$AWK" || AWK=awk
20308 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20309 # The default lists apply if the user does not specify any file.
20315 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20316 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20327 # Handling of the options.
20328 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20330 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20331 $as_echo "$ac_cs_version"; exit ;;
20332 --config | --confi | --conf | --con | --co | --c )
20333 $as_echo "$ac_cs_config"; exit ;;
20334 --debug | --debu | --deb | --de | --d | -d )
20336 --file | --fil | --fi | --f )
20339 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20341 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20342 ac_need_defaults
=false
;;
20343 --he | --h | --help | --hel | -h )
20344 $as_echo "$ac_cs_usage"; exit ;;
20345 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20346 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20349 # This is an error.
20350 -*) as_fn_error
"unrecognized option: \`$1'
20351 Try \`$0 --help' for more information." ;;
20353 *) as_fn_append ac_config_targets
" $1"
20354 ac_need_defaults
=false
;;
20360 ac_configure_extra_args
=
20362 if $ac_cs_silent; then
20364 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20369 if \$ac_cs_recheck; then
20370 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20372 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20373 CONFIG_SHELL='$SHELL'
20374 export CONFIG_SHELL
20379 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20383 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20384 ## Running $as_me. ##
20390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20396 # The HP-UX ksh and POSIX shell print the target directory to stdout
20397 # if CDPATH is set.
20398 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20400 sed_quote_subst='$sed_quote_subst'
20401 double_quote_subst='$double_quote_subst'
20402 delay_variable_subst='$delay_variable_subst'
20403 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20404 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20405 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20406 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20407 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20408 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20409 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20410 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20411 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20412 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20413 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20414 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20415 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20416 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20417 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20418 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20419 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20420 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20421 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20422 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20423 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20424 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20425 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20426 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20427 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20428 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20429 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20430 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20431 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20432 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20433 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20434 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20435 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20436 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20437 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20438 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20439 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20440 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20441 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20442 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20443 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20444 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20445 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20446 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20447 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"`'
20448 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"`'
20449 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20450 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20451 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20452 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20453 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20454 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20455 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20456 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20457 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20458 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20459 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20460 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20461 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20462 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20463 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20464 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20465 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20466 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20467 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20468 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20469 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20470 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20471 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20472 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20473 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20474 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20475 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20476 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20477 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20478 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20479 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20480 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20481 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20482 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20483 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20484 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20485 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20486 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20487 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20488 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20489 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20490 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20491 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20492 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20493 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20494 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20495 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20496 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20497 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20498 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20499 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20500 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20501 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20502 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20503 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20504 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20505 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20506 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20507 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20508 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20509 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20510 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20511 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20512 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20513 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20514 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20515 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20516 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20517 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20518 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20519 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20520 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20521 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
20522 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20523 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
20524 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
20525 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
20526 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
20527 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20528 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20529 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20530 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20531 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20532 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20533 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20534 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20535 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20536 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20537 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20538 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20539 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20540 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20541 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20542 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20543 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20544 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20545 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20546 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20547 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20548 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20549 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20550 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20551 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20552 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20553 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20554 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20555 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20556 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20557 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20558 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20559 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20560 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20561 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20562 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20563 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20564 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20565 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20566 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20567 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20568 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20569 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20570 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20571 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20572 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20573 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
20576 LTCFLAGS='$LTCFLAGS'
20577 compiler='$compiler_DEFAULT'
20579 # Quote evaled strings.
20591 deplibs_check_method \
20600 lt_cv_sys_global_symbol_pipe \
20601 lt_cv_sys_global_symbol_to_cdecl \
20602 lt_cv_sys_global_symbol_to_c_name_address \
20603 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20606 lt_prog_compiler_no_builtin_flag \
20607 lt_prog_compiler_wl \
20608 lt_prog_compiler_pic \
20609 lt_prog_compiler_static \
20610 lt_cv_prog_compiler_c_o \
20618 export_dynamic_flag_spec \
20619 whole_archive_flag_spec \
20620 compiler_needs_object \
20622 allow_undefined_flag \
20623 no_undefined_flag \
20624 hardcode_libdir_flag_spec \
20625 hardcode_libdir_flag_spec_ld \
20626 hardcode_libdir_separator \
20631 variables_saved_for_relink \
20633 library_names_spec \
20638 compiler_lib_search_dirs \
20643 compiler_lib_search_path \
20646 lt_prog_compiler_no_builtin_flag_CXX \
20647 lt_prog_compiler_wl_CXX \
20648 lt_prog_compiler_pic_CXX \
20649 lt_prog_compiler_static_CXX \
20650 lt_cv_prog_compiler_c_o_CXX \
20651 export_dynamic_flag_spec_CXX \
20652 whole_archive_flag_spec_CXX \
20653 compiler_needs_object_CXX \
20655 allow_undefined_flag_CXX \
20656 no_undefined_flag_CXX \
20657 hardcode_libdir_flag_spec_CXX \
20658 hardcode_libdir_flag_spec_ld_CXX \
20659 hardcode_libdir_separator_CXX \
20660 fix_srcfile_path_CXX \
20661 exclude_expsyms_CXX \
20662 include_expsyms_CXX \
20663 file_list_spec_CXX \
20664 compiler_lib_search_dirs_CXX \
20665 predep_objects_CXX \
20666 postdep_objects_CXX \
20669 compiler_lib_search_path_CXX; do
20670 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20671 *[\\\\\\\`\\"\\\$]*)
20672 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20675 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20680 # Double-quote double-evaled strings.
20681 for var in reload_cmds \
20682 old_postinstall_cmds \
20683 old_postuninstall_cmds \
20685 extract_expsyms_cmds \
20686 old_archive_from_new_cmds \
20687 old_archive_from_expsyms_cmds \
20689 archive_expsym_cmds \
20691 module_expsym_cmds \
20692 export_symbols_cmds \
20695 postuninstall_cmds \
20697 sys_lib_search_path_spec \
20698 sys_lib_dlsearch_path_spec \
20699 old_archive_cmds_CXX \
20700 old_archive_from_new_cmds_CXX \
20701 old_archive_from_expsyms_cmds_CXX \
20703 archive_expsym_cmds_CXX \
20705 module_expsym_cmds_CXX \
20706 export_symbols_cmds_CXX \
20707 prelink_cmds_CXX; do
20708 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20709 *[\\\\\\\`\\"\\\$]*)
20710 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20713 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20718 # Fix-up fallback echo if it was mangled by the above quoting rules.
20720 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20724 ac_aux_dir='$ac_aux_dir'
20725 xsi_shell='$xsi_shell'
20726 lt_shell_append='$lt_shell_append'
20728 # See if we are running on zsh, and set the options which allow our
20729 # commands through without removal of \ escapes INIT.
20730 if test -n "\${ZSH_VERSION+set}" ; then
20731 setopt NO_GLOB_SUBST
20737 TIMESTAMP='$TIMESTAMP'
20748 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
20750 # Handling of arguments.
20751 for ac_config_target
in $ac_config_targets
20753 case $ac_config_target in
20754 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20755 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20756 "GNUmakefile") CONFIG_FILES
="$CONFIG_FILES GNUmakefile" ;;
20758 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20763 # If the user did not use the arguments to specify the items to instantiate,
20764 # then the envvar interface is used. Set only those that are not.
20765 # We use the long form for the default assignment because of an extremely
20766 # bizarre bug on SunOS 4.1.3.
20767 if $ac_need_defaults; then
20768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20769 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20772 # Have a temporary directory for convenience. Make it in the build tree
20773 # simply because there is no reason against having it here, and in addition,
20774 # creating and moving files from /tmp can sometimes cause problems.
20775 # Hook for its removal unless debugging.
20776 # Note that there is a small window in which the directory will not be cleaned:
20777 # after its creation but before its name has been assigned to `$tmp'.
20781 trap 'exit_status=$?
20782 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20784 trap 'as_fn_exit 1' 1 2 13 15
20786 # Create a (secure) tmp directory for tmp files.
20789 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20790 test -n "$tmp" && test -d "$tmp"
20793 tmp
=.
/conf$$
-$RANDOM
20794 (umask 077 && mkdir "$tmp")
20795 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
20797 # Set up the scripts for CONFIG_FILES section.
20798 # No need to generate them if there are no CONFIG_FILES.
20799 # This happens for instance with `./config.status config.h'.
20800 if test -n "$CONFIG_FILES"; then
20803 ac_cr
=`echo X | tr X '\015'`
20804 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20805 # But we know of no other shell where ac_cr would be empty at this
20806 # point, so we can use a bashism as a fallback.
20807 if test "x$ac_cr" = x
; then
20808 eval ac_cr
=\$
\'\\r
\'
20810 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20811 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20814 ac_cs_awk_cr
=$ac_cr
20817 echo 'BEGIN {' >"$tmp/subs1.awk" &&
20822 echo "cat >conf$$subs.awk <<_ACEOF" &&
20823 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20825 } >conf$$subs.sh ||
20826 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20827 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
20829 for ac_last_try in false false false false false :; do
20830 . ./conf$$subs.sh ||
20831 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20833 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20834 if test $ac_delim_n = $ac_delim_num; then
20836 elif $ac_last_try; then
20837 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
20839 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20842 rm -f conf$$subs.sh
20844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20845 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
20849 s/^/S["/; s
/!.
*/"]=/
20859 s/\(.\{148\}\)..*/\1/
20861 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20866 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20873 s/\(.\{148\}\)..*/\1/
20875 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20879 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20884 ' <conf$$subs.awk | sed '
20889 ' >>$CONFIG_STATUS || ac_write_fail=1
20890 rm -f conf$$subs.awk
20891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20893 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
20894 for (key in S) S_is_set[key] = 1
20900 nfields = split(line, field, "@
")
20902 len = length(field[1])
20903 for (i = 2; i < nfields; i++) {
20905 keylen = length(key)
20906 if (S_is_set[key]) {
20908 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20909 len += length(value) + length(field[++i])
20920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20921 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20922 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
20925 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
20926 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
20929 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20930 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
20931 # trailing colons and then remove the whole line if VPATH becomes empty
20932 # (actually we leave an empty line to preserve line numbers).
20933 if test "x
$srcdir" = x.; then
20934 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20935 s/:*\$(srcdir):*/:/
20936 s/:*\${srcdir}:*/:/
20938 s/^\([^=]*=[ ]*\):*/\1/
20944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20945 fi # test -n "$CONFIG_FILES"
20948 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
20953 :[FHLC]) ac_mode=$ac_tag; continue;;
20955 case $ac_mode$ac_tag in
20957 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
20958 :[FH]-) ac_tag=-:-;;
20959 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20976 -) ac_f="$tmp/stdin";;
20977 *) # Look for the file first in the build tree, then in the source tree
20978 # (if the path is not absolute). The absolute path cannot be DOS-style,
20979 # because $ac_f cannot contain `:'.
20983 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20985 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20987 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
20988 as_fn_append ac_file_inputs " '$ac_f'"
20991 # Let's still pretend it is `configure' which instantiates (i.e., don't
20992 # use $as_me), people would be surprised to read:
20993 # /* config.h. Generated by config.status. */
20994 configure_input='Generated from '`
20995 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20997 if test x"$ac_file" != x-; then
20998 configure_input="$ac_file.
$configure_input"
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
21000 $as_echo "$as_me: creating
$ac_file" >&6;}
21002 # Neutralize special characters interpreted by sed in replacement strings.
21003 case $configure_input in #(
21004 *\&* | *\|* | *\\* )
21005 ac_sed_conf_input=`$as_echo "$configure_input" |
21006 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21007 *) ac_sed_conf_input=$configure_input;;
21011 *:-:* | *:-) cat >"$tmp/stdin
" \
21012 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
21017 ac_dir=`$as_dirname -- "$ac_file" ||
21018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21019 X"$ac_file" : 'X\(//\)[^/]' \| \
21020 X"$ac_file" : 'X\(//\)$' \| \
21021 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21022 $as_echo X"$ac_file" |
21023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21027 /^X\(\/\/\)[^/].*/{
21040 as_dir="$ac_dir"; as_fn_mkdir_p
21044 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21046 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21047 # A "..
" for each directory in $ac_dir_suffix.
21048 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21049 case $ac_top_builddir_sub in
21050 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21051 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21054 ac_abs_top_builddir=$ac_pwd
21055 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21056 # for backward compatibility:
21057 ac_top_builddir=$ac_top_build_prefix
21060 .) # We are building in place.
21062 ac_top_srcdir=$ac_top_builddir_sub
21063 ac_abs_top_srcdir=$ac_pwd ;;
21064 [\\/]* | ?:[\\/]* ) # Absolute name.
21065 ac_srcdir=$srcdir$ac_dir_suffix;
21066 ac_top_srcdir=$srcdir
21067 ac_abs_top_srcdir=$srcdir ;;
21068 *) # Relative name.
21069 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21070 ac_top_srcdir=$ac_top_build_prefix$srcdir
21071 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21073 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21083 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21084 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21089 # If the template does not know about datarootdir, expand it.
21090 # FIXME: This hack should be removed a few years after 2.60.
21091 ac_datarootdir_hack=; ac_datarootdir_seen=
21102 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
21103 *datarootdir*) ac_datarootdir_seen=yes;;
21104 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
21106 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
21108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21109 ac_datarootdir_hack='
21110 s&@datadir@&$datadir&g
21111 s&@docdir@&$docdir&g
21112 s&@infodir@&$infodir&g
21113 s&@localedir@&$localedir&g
21114 s&@mandir@&$mandir&g
21115 s&\\\${datarootdir}&$datarootdir&g' ;;
21119 # Neutralize VPATH when `$srcdir' = `.'.
21120 # Shell code in configure.ac might set extrasub.
21121 # FIXME: do we really want to maintain this feature?
21122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21123 ac_sed_extra="$ac_vpsub
21126 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
21128 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
21129 s
|@configure_input@
|$ac_sed_conf_input|;t t
21130 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21131 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21132 s
&@srcdir@
&$ac_srcdir&;t t
21133 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21134 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21135 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21136 s
&@builddir@
&$ac_builddir&;t t
21137 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21138 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21139 s
&@INSTALL@
&$ac_INSTALL&;t t
21140 $ac_datarootdir_hack
21142 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
21143 || as_fn_error "could not create
$ac_file" "$LINENO" 5
21145 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21146 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
21147 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21149 which seems to be undefined. Please make sure it is defined." >&5
21150 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21151 which seems to be undefined. Please make sure it is defined." >&2;}
21155 -) cat "$tmp/out" && rm -f "$tmp/out";;
21156 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21158 || as_fn_error "could not create $ac_file" "$LINENO" 5
21162 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21163 $as_echo "$as_me: executing $ac_file commands" >&6;}
21168 case $ac_file$ac_mode in
21171 # See if we are running on zsh, and set the options which allow our
21172 # commands through without removal of \ escapes.
21173 if test -n "${ZSH_VERSION+set}" ; then
21174 setopt NO_GLOB_SUBST
21177 cfgfile="${ofile}T"
21178 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21181 cat <<_LT_EOF >> "$cfgfile"
21184 # `$ECHO "$ofile" | sed 's
%^.
*/%%'` - Provide generalized library-building support services.
21185 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21186 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21187 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21189 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21190 # 2006, 2007, 2008 Free Software Foundation, Inc.
21191 # Written by Gordon Matzigkeit, 1996
21193 # This file is part of GNU Libtool.
21195 # GNU Libtool is free software; you can redistribute it and/or
21196 # modify it under the terms of the GNU General Public License as
21197 # published by the Free Software Foundation; either version 2 of
21198 # the License, or (at your option) any later version.
21200 # As a special exception to the GNU General Public License,
21201 # if you distribute this file as part of a program or library that
21202 # is built using GNU Libtool, you may include this file under the
21203 # same distribution terms that you use for the rest of that program.
21205 # GNU Libtool is distributed in the hope that it will be useful,
21206 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21207 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21208 # GNU General Public License for more details.
21210 # You should have received a copy of the GNU General Public License
21211 # along with GNU Libtool; see the file COPYING. If not, a copy
21212 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21213 # obtained by writing to the Free Software Foundation, Inc.,
21214 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21217 # The names of the tagged configurations supported by this script.
21218 available_tags="CXX "
21220 # ### BEGIN LIBTOOL CONFIG
21222 # Which release of libtool.m4 was used?
21223 macro_version=$macro_version
21224 macro_revision=$macro_revision
21226 # Whether or not to build static libraries.
21227 build_old_libs=$enable_static
21229 # Whether or not to build shared libraries.
21230 build_libtool_libs=$enable_shared
21232 # What type of objects to build.
21235 # Whether or not to optimize for fast installation.
21236 fast_install=$enable_fast_install
21239 host_alias=$host_alias
21243 # The build system.
21244 build_alias=$build_alias
21248 # A sed program that does not truncate output.
21251 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21252 Xsed="\$SED -e 1s/^X//"
21254 # A grep program that handles long lines.
21260 # A literal string matcher.
21263 # A BSD- or MS-compatible name lister.
21266 # Whether we need soft or hard links.
21269 # What is the maximum length of a command?
21270 max_cmd_len=$max_cmd_len
21272 # Object file suffix (normally "o").
21275 # Executable file suffix (normally "").
21278 # whether the shell understands "unset".
21281 # turn spaces into newlines.
21284 # turn newlines into spaces.
21287 # How to create reloadable object files.
21288 reload_flag=$lt_reload_flag
21289 reload_cmds=$lt_reload_cmds
21291 # An object symbol dumper.
21292 OBJDUMP=$lt_OBJDUMP
21294 # Method to check whether dependent libraries are shared objects.
21295 deplibs_check_method=$lt_deplibs_check_method
21297 # Command to use when deplibs_check_method == "file_magic".
21298 file_magic_cmd=$lt_file_magic_cmd
21302 AR_FLAGS=$lt_AR_FLAGS
21304 # A symbol stripping program.
21307 # Commands used to install an old-style archive.
21309 old_postinstall_cmds=$lt_old_postinstall_cmds
21310 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21315 # LTCC compiler flags.
21316 LTCFLAGS=$lt_CFLAGS
21318 # Take the output of nm and produce a listing of raw symbols and C names.
21319 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21321 # Transform the output of nm in a proper C declaration.
21322 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21324 # Transform the output of nm in a C name address pair.
21325 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21327 # Transform the output of nm in a C name address pair when lib prefix is needed.
21328 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21330 # The name of the directory that contains temporary libtool files.
21333 # Shell to use when invoking shell scripts.
21336 # An echo program that does not interpret backslashes.
21339 # Used to examine libraries when file_magic_cmd begins with "file".
21340 MAGIC_CMD=$MAGIC_CMD
21342 # Must we lock files when doing compilation?
21343 need_locks=$lt_need_locks
21345 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21346 DSYMUTIL=$lt_DSYMUTIL
21348 # Tool to change global to local symbols on Mac OS X.
21351 # Tool to manipulate fat objects and archives on Mac OS X.
21354 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21357 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21358 OTOOL64=$lt_OTOOL64
21360 # Old archive suffix (normally "a").
21363 # Shared library suffix (normally ".so").
21364 shrext_cmds=$lt_shrext_cmds
21366 # The commands to extract the exported symbol list from a shared archive.
21367 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21369 # Variables whose values should be saved in libtool wrapper scripts and
21370 # restored at link time.
21371 variables_saved_for_relink=$lt_variables_saved_for_relink
21373 # Do we need the "lib" prefix for modules?
21374 need_lib_prefix=$need_lib_prefix
21376 # Do we need a version for libraries?
21377 need_version=$need_version
21379 # Library versioning type.
21380 version_type=$version_type
21382 # Shared library runtime path variable.
21383 runpath_var=$runpath_var
21385 # Shared library path variable.
21386 shlibpath_var=$shlibpath_var
21388 # Is shlibpath searched before the hard-coded library search path?
21389 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21391 # Format of library name prefix.
21392 libname_spec=$lt_libname_spec
21394 # List of archive names. First name is the real one, the rest are links.
21395 # The last name is the one that the linker finds with -lNAME
21396 library_names_spec=$lt_library_names_spec
21398 # The coded name of the library, if different from the real name.
21399 soname_spec=$lt_soname_spec
21401 # Command to use after installation of a shared archive.
21402 postinstall_cmds=$lt_postinstall_cmds
21404 # Command to use after uninstallation of a shared archive.
21405 postuninstall_cmds=$lt_postuninstall_cmds
21407 # Commands used to finish a libtool library installation in a directory.
21408 finish_cmds=$lt_finish_cmds
21410 # As "finish_cmds", except a single script fragment to be evaled but
21412 finish_eval=$lt_finish_eval
21414 # Whether we should hardcode library paths into libraries.
21415 hardcode_into_libs=$hardcode_into_libs
21417 # Compile-time system search path for libraries.
21418 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21420 # Run-time system search path for libraries.
21421 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21423 # Whether dlopen is supported.
21424 dlopen_support=$enable_dlopen
21426 # Whether dlopen of programs is supported.
21427 dlopen_self=$enable_dlopen_self
21429 # Whether dlopen of statically linked programs is supported.
21430 dlopen_self_static=$enable_dlopen_self_static
21432 # Commands to strip libraries.
21433 old_striplib=$lt_old_striplib
21434 striplib=$lt_striplib
21437 # The linker used to build libraries.
21440 # Commands used to build an old-style archive.
21441 old_archive_cmds=$lt_old_archive_cmds
21443 # A language specific compiler.
21446 # Is the compiler the GNU compiler?
21449 # Compiler flag to turn off builtin functions.
21450 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21452 # How to pass a linker flag through the compiler.
21453 wl=$lt_lt_prog_compiler_wl
21455 # Additional compiler flags for building library objects.
21456 pic_flag=$lt_lt_prog_compiler_pic
21458 # Compiler flag to prevent dynamic linking.
21459 link_static_flag=$lt_lt_prog_compiler_static
21461 # Does compiler simultaneously support -c and -o options?
21462 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21464 # Whether or not to add -lc for building shared libraries.
21465 build_libtool_need_lc=$archive_cmds_need_lc
21467 # Whether or not to disallow shared libs when runtime libs are static.
21468 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21470 # Compiler flag to allow reflexive dlopens.
21471 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21473 # Compiler flag to generate shared objects directly from archives.
21474 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21476 # Whether the compiler copes with passing no objects directly.
21477 compiler_needs_object=$lt_compiler_needs_object
21479 # Create an old-style archive from a shared archive.
21480 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21482 # Create a temporary old-style archive to link instead of a shared archive.
21483 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21485 # Commands used to build a shared archive.
21486 archive_cmds=$lt_archive_cmds
21487 archive_expsym_cmds=$lt_archive_expsym_cmds
21489 # Commands used to build a loadable module if different from building
21490 # a shared archive.
21491 module_cmds=$lt_module_cmds
21492 module_expsym_cmds=$lt_module_expsym_cmds
21494 # Whether we are building with GNU ld or not.
21495 with_gnu_ld=$lt_with_gnu_ld
21497 # Flag that allows shared libraries with undefined symbols to be built.
21498 allow_undefined_flag=$lt_allow_undefined_flag
21500 # Flag that enforces no undefined symbols.
21501 no_undefined_flag=$lt_no_undefined_flag
21503 # Flag to hardcode \$libdir into a binary during linking.
21504 # This must work even if \$libdir does not exist
21505 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21507 # If ld is used when linking, flag to hardcode \$libdir into a binary
21508 # during linking. This must work even if \$libdir does not exist.
21509 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21511 # Whether we need a single "-rpath" flag with a separated argument.
21512 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21514 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21515 # DIR into the resulting binary.
21516 hardcode_direct=$hardcode_direct
21518 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21519 # DIR into the resulting binary and the resulting library dependency is
21520 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21521 # library is relocated.
21522 hardcode_direct_absolute=$hardcode_direct_absolute
21524 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21525 # into the resulting binary.
21526 hardcode_minus_L=$hardcode_minus_L
21528 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21529 # into the resulting binary.
21530 hardcode_shlibpath_var=$hardcode_shlibpath_var
21532 # Set to "yes" if building a shared library automatically hardcodes DIR
21533 # into the library and all subsequent libraries and executables linked
21535 hardcode_automatic=$hardcode_automatic
21537 # Set to yes if linker adds runtime paths of dependent libraries
21538 # to runtime path list.
21539 inherit_rpath=$inherit_rpath
21541 # Whether libtool must link a program against all its dependency libraries.
21542 link_all_deplibs=$link_all_deplibs
21544 # Fix the shell variable \$srcfile for the compiler.
21545 fix_srcfile_path=$lt_fix_srcfile_path
21547 # Set to "yes" if exported symbols are required.
21548 always_export_symbols=$always_export_symbols
21550 # The commands to list exported symbols.
21551 export_symbols_cmds=$lt_export_symbols_cmds
21553 # Symbols that should not be listed in the preloaded symbols.
21554 exclude_expsyms=$lt_exclude_expsyms
21556 # Symbols that must always be exported.
21557 include_expsyms=$lt_include_expsyms
21559 # Commands necessary for linking programs (against libraries) with templates.
21560 prelink_cmds=$lt_prelink_cmds
21562 # Specify filename containing input files.
21563 file_list_spec=$lt_file_list_spec
21565 # How to hardcode a shared library path into an executable.
21566 hardcode_action=$hardcode_action
21568 # The directories searched by this compiler when creating a shared library.
21569 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21571 # Dependencies to place before and after the objects being linked to
21572 # create a shared library.
21573 predep_objects=$lt_predep_objects
21574 postdep_objects=$lt_postdep_objects
21575 predeps=$lt_predeps
21576 postdeps=$lt_postdeps
21578 # The library search path used internally by the compiler when linking
21579 # a shared library.
21580 compiler_lib_search_path=$lt_compiler_lib_search_path
21582 # ### END LIBTOOL CONFIG
21588 cat <<\_LT_EOF >> "$cfgfile"
21589 # AIX sometimes has problems with the GCC collect2 program. For some
21590 # reason, if we set the COLLECT_NAMES environment variable, the problems
21591 # vanish in a puff of smoke.
21592 if test "X${COLLECT_NAMES+set}" != Xset; then
21594 export COLLECT_NAMES
21601 ltmain="$ac_aux_dir/ltmain.sh"
21604 # We use sed instead of cat because bash on DJGPP gets confused if
21605 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21606 # text mode, it properly converts lines to CR/LF. This bash problem
21607 # is reportedly fixed, but why not run on old versions too?
21608 sed '/^
# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21609 || (rm -f "$cfgfile"; exit 1)
21613 cat << \_LT_EOF
>> "$cfgfile"
21615 # func_dirname file append nondir_replacement
21616 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21617 # otherwise set result to NONDIR_REPLACEMENT.
21621 */*) func_dirname_result
="${1%/*}${2}" ;;
21622 * ) func_dirname_result
="${3}" ;;
21626 # func_basename file
21629 func_basename_result
="${1##*/}"
21632 # func_dirname_and_basename file append nondir_replacement
21633 # perform func_basename and func_dirname in a single function
21635 # dirname: Compute the dirname of FILE. If nonempty,
21636 # add APPEND to the result, otherwise set result
21637 # to NONDIR_REPLACEMENT.
21638 # value returned in "$func_dirname_result"
21639 # basename: Compute filename of FILE.
21640 # value retuned in "$func_basename_result"
21641 # Implementation must be kept synchronized with func_dirname
21642 # and func_basename. For efficiency, we do not delegate to
21643 # those functions but instead duplicate the functionality here.
21644 func_dirname_and_basename
()
21647 */*) func_dirname_result
="${1%/*}${2}" ;;
21648 * ) func_dirname_result
="${3}" ;;
21650 func_basename_result
="${1##*/}"
21653 # func_stripname prefix suffix name
21654 # strip PREFIX and SUFFIX off of NAME.
21655 # PREFIX and SUFFIX must not contain globbing or regex special
21656 # characters, hashes, percent signs, but SUFFIX may contain a leading
21657 # dot (in which case that matches only a dot).
21660 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21661 # positional parameters, so assign one to ordinary parameter first.
21662 func_stripname_result
=${3}
21663 func_stripname_result
=${func_stripname_result#"${1}"}
21664 func_stripname_result
=${func_stripname_result%"${2}"}
21670 func_opt_split_opt
=${1%%=*}
21671 func_opt_split_arg
=${1#*=}
21678 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
21679 *) func_lo2o_result
=${1} ;;
21683 # func_xform libobj-or-source
21686 func_xform_result
=${1%.*}.lo
21689 # func_arith arithmetic-term...
21692 func_arith_result
=$(( $* ))
21696 # STRING may not start with a hyphen.
21699 func_len_result
=${#1}
21704 *) # Bourne compatible functions.
21705 cat << \_LT_EOF
>> "$cfgfile"
21707 # func_dirname file append nondir_replacement
21708 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21709 # otherwise set result to NONDIR_REPLACEMENT.
21712 # Extract subdirectory from the argument.
21713 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21714 if test "X$func_dirname_result" = "X${1}"; then
21715 func_dirname_result
="${3}"
21717 func_dirname_result
="$func_dirname_result${2}"
21721 # func_basename file
21724 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
21728 # func_stripname prefix suffix name
21729 # strip PREFIX and SUFFIX off of NAME.
21730 # PREFIX and SUFFIX must not contain globbing or regex special
21731 # characters, hashes, percent signs, but SUFFIX may contain a leading
21732 # dot (in which case that matches only a dot).
21733 # func_strip_suffix prefix name
21737 .
*) func_stripname_result
=`$ECHO "X${3}" \
21738 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21739 *) func_stripname_result
=`$ECHO "X${3}" \
21740 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21745 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
21746 my_sed_long_arg
='1s/^-[^=]*=//'
21751 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21752 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21758 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21761 # func_xform libobj-or-source
21764 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21767 # func_arith arithmetic-term...
21770 func_arith_result
=`expr "$@"`
21774 # STRING may not start with a hyphen.
21777 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21783 case $lt_shell_append in
21785 cat << \_LT_EOF
>> "$cfgfile"
21787 # func_append var value
21788 # Append VALUE to the end of shell variable VAR.
21796 cat << \_LT_EOF
>> "$cfgfile"
21798 # func_append var value
21799 # Append VALUE to the end of shell variable VAR.
21810 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21811 || (rm -f "$cfgfile"; exit 1)
21813 mv -f "$cfgfile" "$ofile" ||
21814 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21818 cat <<_LT_EOF >> "$ofile"
21820 # ### BEGIN LIBTOOL TAG CONFIG: CXX
21822 # The linker used to build libraries.
21825 # Commands used to build an old-style archive.
21826 old_archive_cmds=$lt_old_archive_cmds_CXX
21828 # A language specific compiler.
21829 CC=$lt_compiler_CXX
21831 # Is the compiler the GNU compiler?
21834 # Compiler flag to turn off builtin functions.
21835 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21837 # How to pass a linker flag through the compiler.
21838 wl=$lt_lt_prog_compiler_wl_CXX
21840 # Additional compiler flags for building library objects.
21841 pic_flag=$lt_lt_prog_compiler_pic_CXX
21843 # Compiler flag to prevent dynamic linking.
21844 link_static_flag=$lt_lt_prog_compiler_static_CXX
21846 # Does compiler simultaneously support -c and -o options?
21847 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21849 # Whether or not to add -lc for building shared libraries.
21850 build_libtool_need_lc=$archive_cmds_need_lc_CXX
21852 # Whether or not to disallow shared libs when runtime libs are static.
21853 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21855 # Compiler flag to allow reflexive dlopens.
21856 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21858 # Compiler flag to generate shared objects directly from archives.
21859 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21861 # Whether the compiler copes with passing no objects directly.
21862 compiler_needs_object=$lt_compiler_needs_object_CXX
21864 # Create an old-style archive from a shared archive.
21865 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21867 # Create a temporary old-style archive to link instead of a shared archive.
21868 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21870 # Commands used to build a shared archive.
21871 archive_cmds=$lt_archive_cmds_CXX
21872 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21874 # Commands used to build a loadable module if different from building
21875 # a shared archive.
21876 module_cmds=$lt_module_cmds_CXX
21877 module_expsym_cmds=$lt_module_expsym_cmds_CXX
21879 # Whether we are building with GNU ld or not.
21880 with_gnu_ld=$lt_with_gnu_ld_CXX
21882 # Flag that allows shared libraries with undefined symbols to be built.
21883 allow_undefined_flag=$lt_allow_undefined_flag_CXX
21885 # Flag that enforces no undefined symbols.
21886 no_undefined_flag=$lt_no_undefined_flag_CXX
21888 # Flag to hardcode \$libdir into a binary during linking.
21889 # This must work even if \$libdir does not exist
21890 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21892 # If ld is used when linking, flag to hardcode \$libdir into a binary
21893 # during linking. This must work even if \$libdir does not exist.
21894 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21896 # Whether we need a single "-rpath" flag with a separated argument.
21897 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21899 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21900 # DIR into the resulting binary.
21901 hardcode_direct=$hardcode_direct_CXX
21903 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21904 # DIR into the resulting binary and the resulting library dependency is
21905 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21906 # library is relocated.
21907 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21909 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21910 # into the resulting binary.
21911 hardcode_minus_L=$hardcode_minus_L_CXX
21913 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21914 # into the resulting binary.
21915 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21917 # Set to "yes" if building a shared library automatically hardcodes DIR
21918 # into the library and all subsequent libraries and executables linked
21920 hardcode_automatic=$hardcode_automatic_CXX
21922 # Set to yes if linker adds runtime paths of dependent libraries
21923 # to runtime path list.
21924 inherit_rpath=$inherit_rpath_CXX
21926 # Whether libtool must link a program against all its dependency libraries.
21927 link_all_deplibs=$link_all_deplibs_CXX
21929 # Fix the shell variable \$srcfile for the compiler.
21930 fix_srcfile_path=$lt_fix_srcfile_path_CXX
21932 # Set to "yes" if exported symbols are required.
21933 always_export_symbols=$always_export_symbols_CXX
21935 # The commands to list exported symbols.
21936 export_symbols_cmds=$lt_export_symbols_cmds_CXX
21938 # Symbols that should not be listed in the preloaded symbols.
21939 exclude_expsyms=$lt_exclude_expsyms_CXX
21941 # Symbols that must always be exported.
21942 include_expsyms=$lt_include_expsyms_CXX
21944 # Commands necessary for linking programs (against libraries) with templates.
21945 prelink_cmds=$lt_prelink_cmds_CXX
21947 # Specify filename containing input files.
21948 file_list_spec=$lt_file_list_spec_CXX
21950 # How to hardcode a shared library path into an executable.
21951 hardcode_action=$hardcode_action_CXX
21953 # The directories searched by this compiler when creating a shared library.
21954 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21956 # Dependencies to place before and after the objects being linked to
21957 # create a shared library.
21958 predep_objects=$lt_predep_objects_CXX
21959 postdep_objects=$lt_postdep_objects_CXX
21960 predeps=$lt_predeps_CXX
21961 postdeps=$lt_postdeps_CXX
21963 # The library search path used internally by the compiler when linking
21964 # a shared library.
21965 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21967 # ### END LIBTOOL TAG CONFIG: CXX
21978 ac_clean_files
=$ac_clean_files_save
21980 test $ac_write_fail = 0 ||
21981 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
21984 # configure is writing to config.log, and then calls config.status.
21985 # config.status does its own redirection, appending to config.log.
21986 # Unfortunately, on DOS this fails, as config.log is still kept open
21987 # by configure, so config.status won't be able to write to it; its
21988 # output is simply discarded. So we exec the FD to /dev/null,
21989 # effectively closing config.log, so it can be properly (re)opened and
21990 # appended to by config.status. When coming back to configure, we
21991 # need to make the FD available again.
21992 if test "$no_create" != yes; then
21994 ac_config_status_args
=
21995 test "$silent" = yes &&
21996 ac_config_status_args
="$ac_config_status_args --quiet"
21998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22001 # would make configure fail if this is the last instruction.
22002 $ac_cs_success || as_fn_exit $?
22004 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22006 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}